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
knowledge source: the lint header and the protocol docs still say the validator judges a source that code registers #39380
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:specDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p3
Part of #38858 · review follow-up of PR #39362 (contract review 7382786931, delta 7382971562).
Governing text: the documentBy TSDoc in packages/spec/src/ai/knowledge-source.zod.ts as PR #39362 leaves it. A packaged source is judged by os validate and the publish gate (knowledge-source-document-by-not-parent-link). A code-registered source is in no stack collection and meets neither.
Filing gate: ③ a follow-up the reviewed change owes. Grading: area:ai · domain:spec · Task · p3.
What is owed
Two texts still teach the old, false wording:
The file header of packages/lint/src/validate-knowledge-source.ts (around line 9: "package ships or code registers"). validateKnowledgeSource reads stack.knowledgeSources only, so it never sees a code-registered source.
content/docs/protocol/knowledge.mdx, near line 232, makes the same claim.
Also, the N6 pin row omits the lint rule knowledge-source-affinity-field-not-caller-target.
After PR #39362 merges, make both texts say what the TSDoc says, and add the missing rule to the pin row. Done when no text claims that the validator or the publish gate judges a code-registered source.
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:specDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p3
Activity
documentByTSDoc says a code-registered or package-installed source is not judged by the parent-link rule, but os validate and the publish gate now judge it #38858