refactor(framework): thin-core prompt diet — cut injected contract ~53% #529

Merged
jason.woltje merged 2 commits from feat/contract-thin-core into main 2026-06-11 18:10:43 +00:00

2 Commits

Author SHA1 Message Date
Jason Woltje
1e9da0d27a style(framework): prettier-format thinned markdown
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
format:check (prettier on **/*.md) flagged the hand-written tables/wrapping in the
thinned contract files. No content change — formatting only.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 16:55:42 -05:00
Jason Woltje
52aa5d7982 refactor(framework): thin-core prompt diet — cut injected contract ~53%
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
Thin defaults/AGENTS.md + defaults/TOOLS.md + runtime/claude/RUNTIME.md to a core
that references guides on demand; preserve the full tool catalog in new
guides/TOOLS-REFERENCE.md. All 12 hard gates verbatim; validated via a deterministic
gate-checklist + a 9-probe headless A/B (thin 7/9 vs monolith 5/9). Composed
AGENTS+TOOLS+RUNTIME 8,827->4,122 tok. Diet-only against repo content; no behavioral
change, nothing imported from drifted deployments.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 16:39:56 -05:00