Skip to content

process(research): context cost per file and the plan to cut helper start load - #186

Open
MendixMau wants to merge 1 commit into
masterfrom
process/context-cost-research
Open

MendixMau wants to merge 1 commit into
masterfrom
process/context-cost-research

Conversation

@MendixMau

Copy link
Copy Markdown
Owner

What changed and why (one paragraph)

Adds process/context-cost-research-2026-09-30.md, the written record of the 2026-09-30 token-cost research, so the decisions and numbers survive the session. A Stage 5 build helper starts by reading about 109k tokens of skills but needs about 15–20k. The cause: the routing agents column filters only the agent stubs, while the project baseline view and the stage packs filter by stage only. The doc holds the per-file keep/trim/move plan (about 30 files), the preflight and microflow probe results against mxcli v0.24.0, the page-preflight-versus-screenshot-loop question, the order of work, and a four-arm test build that measures the cut before it ships. Docs only; no routing or script change.

Field evidence

  • Sizes measured on master 8abd614 (tokens = chars/4).
  • Probe results: 84 preflight/microflow rows re-run on a scratch app with mxcli check and mx check.
  • Benchmark transcripts: 38 helpers, each re-paying a 145–215k start pack.

Checklist

  • CHANGELOG line in the same commit
  • Leak guard passes; manual name grep clean
  • No routing surfaces touched (nothing to re-render)

🤖 Generated with Claude Code

https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw


Generated by Claude Code

…tart load

Records the 2026-09-30 research: per-file keep/trim/move plan, preflight
and microflow probe results, the page-preflight vs screenshot-loop
question, and a four-arm test build to measure the cut.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw
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.

2 participants