Skip to content

Token load: measure all four organs, one-clause organism map, trim Mind AGENTS.md - #544

Merged
Jammy2211 merged 4 commits into
mainfrom
ccr-c113837c-0ulthv
Nov 6, 2026
Merged

Jammy2211 merged 4 commits into
mainfrom
ccr-c113837c-0ulthv

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Three slices of draft/maintenance/organs/reduce_session_token_load.md, plus ledger updates. Merge this first: the Brain and Cortex PRs carry the map block this PR generates.

What changed

  • scripts/token_load.py (token-load-measure-four-organs): now reports the AGENTS.md total for all four organs (Brain, Mind, Cortex, Memory) and the newest month's median completion-record length. Before, it counted only Brain, Mind and the laptop-only workspace file, so a cloud session printed AGENTS total: unknown. Both new numbers are report-only unless --organ-agents-budget or --record-median-budget is passed, so Mind-only CI still passes check. REFERENCE.md is updated to match.
  • repos.yaml + repos_sync.system_map() (organism-map-compact): each organ row gains a one-line map_role (at most 100 characters), and the map preamble is shorter. The map block goes from about 4.4 kB to 2.0 kB in every organ copy.
  • AGENTS.md (mind-agents-trim): 7.2 kB → 6.6 kB of hand-written prose. No rule is removed; the hard rules and generated blocks are unchanged.
  • Ledger:
    • claims for the four slices (active.md, active/)
    • a progress table on the parent prompt
    • the eyes-survey bug retired as stale (complete/2026/11/eyes-survey-next-action-stale.md): the *_visualization repos still ship gallery/gallery_run.sh
    • weekend cloud task 1 marked do-not-run
    • dashboard regenerated

Evidence

  • All four organs' AGENTS.md: ~11,950 → ~8,690 tokens (target ≤ 6,000)
  • Completion-record median for 2026/11: 55 lines, already under the 60 target
  • python3 -m pytest -q -n auto: 732 passed, 1 skipped
  • lifecycle.py check: OK
  • repos_sync.py --check: no drift on the checked-out organs

Not checked

  • The other organ repos (Heart, Hands, Nerves, Gut, Eyes, Ears, Pulse, Insight, DNA, Broca) weren't in this session. Their map blocks go stale on merge until a laptop python3 scripts/repos_sync.py --write regenerates them.

Related: PyAutoLabs/PyAutoBrain and PyAutoLabs/PyAutoCortex PRs on branch ccr-c113837c-0ulthv.


Generated by Claude Code

…anism map; trim Mind AGENTS

- scripts/token_load.py reports the four organs' AGENTS.md total and the
  newest month's completion-record median (report-only unless a budget flag
  is passed); tests pin both
- repos.yaml organ rows gain map_role; system_map() renders it with a
  shorter preamble (map block ~4.4 kB -> ~2.0 kB in each organ copy)
- Mind AGENTS.md prose trim (7.2 kB -> 6.6 kB), no rule removed
- ledger: claim the four token-load slices (active.md + active/), progress
  table on the parent prompt; eyes-survey bug verified stale (instances still
  ship gallery_run.sh) and weekend cloud task 1 marked do-not-run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nhQ8MapiJKa7vatHsEsZH
…l ship gallery_run.sh; human ruling 2026-11-06)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nhQ8MapiJKa7vatHsEsZH
… as excluding them

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nhQ8MapiJKa7vatHsEsZH
@Jammy2211
Jammy2211 merged commit 1b09a5e into main Nov 6, 2026
5 checks passed
@Jammy2211
Jammy2211 deleted the ccr-c113837c-0ulthv branch November 6, 2026 14:35
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