Conversation
The per-scope applies_to tables listed 20 of the engine's 43 tokens. Every value belonging to the six newer packs was absent, so CLAUDE.md — which the file itself presents as the authoritative rule-authoring contract — gave an author no way to write a LangChain, CrewAI, AutoGen, Pydantic AI, Vercel AI, or Claude-skill rule without reading the engine's loader.go. Adds the missing tool-scope kinds (langchain_tool, crewai_tool, pydantic_ai_tool, vercel_ai_tool, autogen_tool, unknown), the eleven missing agent classes, the five missing repo tokens, and a scope: skill section, which was missing entirely along with the skill_* predicate family the CSKILL-* rules are built on. Also refreshes two notes that had gone stale: the subagent paragraph claimed one shipped rule where there are now three (CSDK-110/111/112), and the applies_to vs repo_has_sdk_in_code namespace note now says which tokens agree across the two namespaces rather than leaving Claude's mismatch to look like the general case. Verified mechanically rather than by eye — a script parses appliesToByScope out of the engine's loader.go and diffs it against the tables, and separately asserts that every applies_to value used by a shipped rule in this repo appears in them.
|
Thanks @bradAGI, this is a real gap and you have most of it right. I walked every token against Two things I want fixed first. Second, the Two smaller ones, take or leave: Happy to take this once those two are corrected. |
The per-scope
applies_totables listed 20 of the engine's 43 tokens. Every value belonging to the six newer packs was absent — so CLAUDE.md, which the file itself presents as the authoritative rule-authoring contract, gave an author no way to write a LangChain, CrewAI, AutoGen, Pydantic AI, Vercel AI, or Claude-skill rule without going and reading the engine'sloader.go. I hit this writing the rule PRs in this series, which is what prompted the fix.What's added:
langchain_tool,crewai_tool,pydantic_ai_tool,vercel_ai_tool,autogen_tool,unknowncrewai_agent,pydantic_ai_agent,vercel_ai_agent, AutoGen's five)langchain,crewai,pydantic_ai,vercel_ai,autogenscope: skill— missing entirely, along with theskill_*predicate family the CSKILL-* rules are built on. The section notes skills carry nolanguage:field, same as subagents.Two stale notes refreshed while in there: the subagent paragraph claimed one shipped rule where there are now three (CSDK-110/111/112), and the
applies_tovsrepo_has_sdk_in_codenamespace warning now says which tokens agree across the two namespaces, so Claude's mismatch doesn't read as the general case.Verification. Not checked by eye — a script parses
appliesToByScopeout of the engine'sloader.goand diffs it against the tables scope by scope, then separately asserts everyapplies_tovalue used by a shipped rule in this repo appears in them:Same offer as on #75: happy to contribute this as a CI check so the tables can't drift from the loader again.
Docs only — no rule changes, so it doesn't conflict with the rule PRs I have open.