You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
service-knowledge: search returns a short page after the permission filter instead of refilling #36993
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivespm:queueReady for the PM dispatch looppriority:p2Medium: important, M3
Filing gate: ① product defect. Source: topic #36990.
Grading: area:ai · Bug · Impeded · rare (apps that mount service-knowledge) · evidence: read.
维护者速读
问题:检索先取前 K 条,再按权限过滤,过滤完不补。一个人能看的记录越少,搜到的越接近空。
修法:第一轮多取一些;过滤后不够,再取一轮。
需要你做的:无。
What
knowledge-service.tssearch / applyPermissionFilter: first round asks each source for topK × 5; when fewer than topK survive and the adapter returned as many as asked, a second round asks up to topK × 20. At most two rounds (each embeds the query once).
Counting toward topK dedupes by sourceRecordId; what is returned stays chunk-level hits.
System context: one round of topK, no refill. No context: fail closed as today.
The number of hits removed by the filter goes to logs only, never into the result. search's return type is unchanged.
100 hits, the caller can read 5 → returns those 5 (within the cap); several sources; an adapter that caps topK does not loop; return-type snapshot unchanged.
Container run per AGENTS.md.
Blocked-by: #36839 (same function)
Parent: #36990. Reader: the server lane for service-knowledge.
Dedupe: knowledge search permission filter topK 1 (#36839, claimed by another seat, different mechanism) · applyPermissionFilter 5 (open: #36839 only).
Triage: state pm:blocked. Grade, area and type stay as the maintainer filed them. The card's own Blocked-by: names #36839, which is still open, so it waits as blocked. The unlock scan moves it to pm:queue when that closes. Topic order per the parent's table.
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivespm:queueReady for the PM dispatch looppriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: state
pm:blocked. Grade, area and type stay as the maintainer filed them. The card's ownBlocked-by:names #36839, which is still open, so it waits as blocked. The unlock scan moves it topm:queuewhen that closes. Topic order per the parent's table.objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: unblocked 2026-11-24T16:42Z
pm:blocked→pm:queue. Grade and area unchanged.