Skip to content

Lead agent guidance with one bounded context query (refs #344) - #353

Merged
jimhoyd merged 1 commit into
mainfrom
docs/bounded-context-first-344
Sep 21, 2026
Merged

jimhoyd merged 1 commit into
mainfrom
docs/bounded-context-first-344

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #344 (does not close it: the acceptance evidence is a follow-up).

What

Generated AGENTS.md (src/agents-guide.ts + regenerated starter), the packaged skills (skills/urlcode, .claude authoring skill + regenerated plugin copy) and the opening of docs/AI-AUTHORING.md now agree: (1) MCP get_context else urlcode context --project DIR (--budget N); (2) then only what the task needs: capabilities NAME/get_capability, get_schema, recipes search/search_recipes, explain, get_extensions when operator-provided. Complete catalogs, llms.txt and llms-full.txt stay as deliberate fallback/reference. Trust-model prose, gap rules and handler table untouched; capability limits are not hidden.

Numbers (chars/4, before)

llms.txt ~3,030; llms-full.txt ~57,300; AGENTS.md ~1,130; authoring skill ~2,460; skills/urlcode ~2,210; context cookbook ~2,430; context starter ~975. Generated AGENTS.md: 4,519 -> 4,512 bytes (not longer). llms-full.txt +~1.1 KB. The "few hundred tokens" claim in AI-AUTHORING was corrected.

Tests

New test/bounded-context-first.test.ts pins the order across surfaces; cli.test.ts assertion updated. npm run check:docs and npm run verify pass locally.

Follow-up

No real-model benchmarks were run (cost). Token-footprint evidence for a representative task is left to #310/#173. Core package 440-entry cap: no packaged files added.


Measured before the edit (estimated tokens = characters / 4): llms.txt about 3,030; llms-full.txt about 57,300; generated AGENTS.md about 1,130; authoring skill about 2,460; skills/urlcode skill about 2,210; urlcode context for the cookbook about 2,430 and for a starter about 975. AGENTS.md is 4,512 bytes after against 4,519 before, so it is not longer; llms-full.txt grew about 1.1 KB from the new AI-AUTHORING section and skill text.

Not done: the acceptance evidence (token footprint of a real authoring task) is left as a follow-up for the benchmark work in #310 and #173; no real-model runs were made. The issue stays open for that.

🤖 Generated with Claude Code

@jimhoyd
jimhoyd force-pushed the docs/bounded-context-first-344 branch from b90f991 to 1c82309 Compare September 21, 2026 00:36
@jimhoyd
jimhoyd merged commit d78d780 into main Sep 21, 2026
20 checks passed
@jimhoyd
jimhoyd deleted the docs/bounded-context-first-344 branch September 21, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant