Files
ailed-docs-rp/.sdd/task-7-brief.md
T
chrnx 5da4b8efa5 docs: design, plan, and the execution record
The thinking behind the organism, versioned alongside the three code repos rather than
living only on one machine.

- AILED_General_Specification.md, the authoritative design, and the implementation plan
  the code was built from
- AGENTS.md, the project-wide rules, including the two that were learned the hard way:
  this is not a performance benchmark, and a null recorded early beats a claim propped up
  later
- the nine superseded module specs, each carrying a banner naming what replaced it
- .sdd/, the execution ledger and every task brief and report: each ruling taken, what it
  would cost if wrong, every correction, and every number verified independently

The three code repos are siblings, each its own repository, and are git-ignored here so
nothing is nested.
2026-09-02 13:17:39 -05:00

2.6 KiB

Task 7: Verify the oracle is read and the setup has headroom

Global constraints

  • Root ia-stuff/ is not a git repo; ailed/, experiments/, paper/ each are. Commit inside the repo you touched.
  • No hand-written backward passes. Autograd only (spec §1, §11).
  • \psi never carries gradient: it is built from loss.item() (spec §5).
  • Every oracle is opt-in and must leave the non-oracle trajectory byte-identical (spec §7).
  • \kappa = 0 must be a single flag that disables affect on the gate (spec §4).
  • Affect axes are read by name (valence, arousal), never by position, outside Organism.forward (spec §5).
  • Commit messages end with the attribution trailer of the session driving this plan:
    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01KAWnnPg2qvmLNySamE2k85
    
    Implementers use these two lines verbatim, not the attribution of their own subagent session — the commits belong to one plan run.

This is the spec's "measure before chasing" rule (§7, §8). Nothing in A1 means anything until these two numbers are in.

Files:

  • Create: experiments/results/headroom.md

  • Step 1: Run the two ceilings and the two floors, one seed, short

cd experiments && uv run python regime.py --conditions rp_only,grp_k0,grp_regime,rp_flag --seeds 0 --steps 8000 --out results/headroom.json
  • Step 2: Read the table against these three requirements
  1. grp_regime steady error must sit near the noise floor noise² = 4e-6 (within ~3x). If it does not, the regime oracle is not being read: check attr_dim reaches Organism and that omega lets the CPPN represent the kernel (try omega 5 and 20 by editing the Organism call in run; keep the winner and record it).
  2. grp_k0 must beat rp_only on steady and on rec@10. If not, memory has no job in this setup: raise sigma to 0.3 or lower noise, re-run, record.
  3. rp_flag must equal rp_only within seed noise on every column. If it does not, the flag leaks something other than "a change happened"; stop and investigate before A1.
  • Step 3: Write results/headroom.md

Record the table verbatim, which of the three requirements held, and any knob changed with its before/after value. This file is the audit trail for the paper's setup section.

  • Step 4: Commit
cd experiments && git add results/headroom.md && git commit -q -m "exp: headroom check for the regime setup

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KAWnnPg2qvmLNySamE2k85"