refactor(framework): thin-core prompt diet — cut injected contract ~53% #529
Reference in New Issue
Block a user
Delete Branch "feat/contract-thin-core"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #528.
What
Thin the always-injected Mosaic contract back to a "core + on-demand guides" shape:
Result
Composed AGENTS+TOOLS+RUNTIME: 8,827 -> 4,122 tok (minus 53 percent), re-fed every turn. AGENTS/TOOLS are shared across runtimes, so the diet benefits codex/pi/opencode too.
Validation
Scope / caveats
Generated with Claude Code.