Files
ailed-docs-rp/.sdd/progress.md
T

730 lines
57 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# SDD ledger — plan: /Users/chrnx/workspace/chrnx-dev/ia-stuff/AILED_Implementation_Plan.md
Workspace: ia-stuff/.sdd (root is not a git repo; each subrepo is).
Spec: AILED_General_Specification.md (read, binding authority).
## Preflight scan
| Rows | Produces → consumes | Finding |
| :--- | :--- | :--- |
| T1 → T2,T3,T4 | `ailed/src/ailed/__init__.py` created by T1, modified by T4 | clean |
| T1 → T5,T6 | `experiments/` env can `import ailed` | clean |
| T2 → T6 | `Affect, AffectConfig, update` | clean; `decay` produced, never consumed |
| T3 → T4 | `RelationalPerceptron(attr_dim, coord_dim, n_edge_types, context_dim, hidden_dim, cppn_hidden, omega)` | clean; Organism passes all seven |
| T4 → T6 | `Organism.forward(...) -> ((N,target_dim), dict)`, `detach_memory` | clean; T6 uses `target_dim=2` vs `Observation.target (N,2)` |
| T5 → T6 | `ParticleWorld.attr_dim`, `wrapped_diff -> (N,N,2)` | clean; `coord_dim=2 == k` |
| T5 → T6 | `oracle ∈ {none,change,regime}` changes `attr_dim` | by design; conditions differ in input width, inherent to the oracle |
| T6 self | `CONDITIONS` ctx kinds vs `Organism(context_dim=...)` | clean; `ctx_dim = n_regimes if ctx=="regime" else 2` |
| T6 self | test `steps=300, window=5` vs `t_min=40..t_max=80` | clean; second half ≈ 150 steps ⇒ 2–3 switches ≥ 1 |
| T1 self | `test_import` asserts nothing | rubric flag, see ruling |
| T2 self | tests vs code | clean |
| T3,T4,T5 self | tests vs code, files created vs later touched | clean |
Ruling: `decay` stays although no task calls it — spec §5 mandates between-episode
decay and the particles domain is a single continuous stream, so the first consumer
is a later domain. Cost if wrong: one unused public function.
Ruling: T1 `test_import` stays as-is — an import smoke test fails on ImportError,
which is the whole assertion. Cost if wrong: nothing; T2 replaces the coverage.
Ruling: `_context(kind, affect, regime, n_regimes)` keeps the unused `affect`
parameter — the signature is the plan's published interface and a later ctx kind
(e.g. valence-only) needs it. Cost if wrong: one dead parameter.
## Progress
Task 1: dispatched (ailed + paper in parallel, experiments after ailed).
Task 1a (ailed): DONE, commit f390a3c, 1 passed. Note: uv chose CPython 3.12.13 (>=3.11 satisfied); no task requires 3.13.
Task 1b (paper): DONE, commit c58386b.
Task 1c (experiments): DONE_WITH_CONCERNS, commit b1944ee, 1 passed.
Concern: used its own session's attribution trailer (Sonnet 5) instead of the plan's
hardcoded "Claude Fable 5.1" line. ailed and paper used the plan's literal text.
Ruling: the commit trailer names the model and session that actually wrote the commit;
the plan's Global Constraints hardcoded "Claude Fable 5.1" only because Fable 5.1 wrote
the plan. That constraint is stale and is being edited out — each implementer uses its own
session's attribution instruction. task1c was right; ailed and paper carry a false
attribution and get amended (unpushed initial commits, tree unchanged).
Cost if wrong: three commit messages name different models, which is the truth anyway.
Task 1: fix round 1/5 — Important finding (trailers disagreed across the three repos) ADDRESSED
by the controller, not an implementer: all three commits amended to one trailer
(Claude Opus 5 (1M context), session 01KAWnnPg2qvmLNySamE2k85); plan Global Constraints
and all task briefs regenerated so tasks 2-9 carry it. Trees unchanged, so no code re-review.
New shas: ailed f0e29d1, experiments 5ea76d2, paper dcfcf66.
Task 1: minor (deferred): uv resolved CPython 3.12.13 rather than 3.13.11; requires-python is >=3.11.
Task 1: complete (commits f0e29d1 / 5ea76d2 / dcfcf66, review clean after the trailer ruling)
Task 2: complete (commit 8822ab3, review clean — spec ✅, quality approved, numerics traced)
Task 3: implemented, 6 new tests, 16/16 suite.
Ruling (supersedes the Task 1 trailer ruling's method, not its outcome): every subagent's own
session carries an attribution system-reminder claiming to replace earlier guidance, so asking
implementers to use the plan's trailer will keep losing. The controller now amends the trailer
when closing each task instead of arguing with the dispatch. Trees are never touched, so this
never invalidates a review. Cost if wrong: one extra `git commit --amend` per task.
Task 3 review: spec ❌ (trailer only, already amended to 23f06e1); structure verified correct —
shapes (N,N,k)+(N,N,E)+(N,N,C)→(N,N,D), f broadcast as the neighbour/j feature, mask counted in
the denominator with clamp(min=1) so no NaN, translation invariance structural (core.py never
sees raw coords), permutation equivariance structural. Tolerances judged adequate.
Task 3: reviewer raised a Critical "prompt injection in the review package" — FALSE POSITIVE.
Verified: `grep -n "system-reminder\|Co-Authored\|Sonnet 5" .sdd/task-3-review-package.txt`
returns nothing; the package is a plain git diff. The reviewer read its own harness reminder,
appended to its Read tool result, as file content. No compromised commit, no audit needed.
Ruling: the SIREN-init finding is real as a *comment* defect, not a code defect — the comment
claims a compensating init that is not there. Fix the comment; do not add the init. omega is a
working bandwidth knob, the init-time argument range is workable at the domain's coordinate
scale, and Task 7's headroom check is the place an underfit would show up with evidence.
Cost if wrong: Task 7 reports a low ceiling and the first thing to try is the sine-layer init.
Task 3: fix round 1/5 (1 addressed, 0 open — omega comment corrected; commits 23f06e1..HEAD).
Re-review done by the controller rather than a subagent: the fix diff is provably comment-only
(`git diff -U0 | grep -v '^[+-]\s*#'` returns nothing, one file, 3 insertions), so there is no
code surface a re-reviewer could regress-check. 16/16 suite re-run green.
Cost if wrong: a comment is wrong; no runtime behaviour is affected.
Task 3: minor (deferred): comment text differs cosmetically from the brief's literal string.
Task 3: complete (commits 8822ab3..85a0f9d, review clean after 1 fix round)
Task 4 review: spec ✅. Two test findings, both real: the eight new tests would ALL still pass
if Organism.forward ignored its memory argument and used zeros — the exact regression this
task exists to correct. Reviewer traced it; controller had independently found the same hole.
Task 4: fix round 1/5 (2 addressed, 0 open — lifecycle test now asserts a survivor's output and
memory differ under zeroed incoming memory; gradient test now compares a real 3-step rollout
against a per-step-detached one instead of just checking grad is non-zero).
Ruling: the scoped re-review was replaced by a controller-run sabotage check, which is strictly
stronger evidence than reading a test diff. Patched core.py to `M_prev = stack([zero ...])`,
ran the suite: exactly the two amended tests failed (test_organism_memory_lifecycle,
test_gradient_flows_through_memory_across_steps), 12 others passed. Restored core.py, 24/24
green, working tree clean. Cost if wrong: none — the check is reproducible from this entry.
Task 4: complete (commits 85a0f9d..27ca577, review clean after 1 fix round)
## Resume here
Next: Task 5 (experiments/particles.py) — brief at .sdd/task-5-brief.md.
BASE for Task 5 is the experiments repo: 5ea76d2.
Library is done: ailed exports AffectConfig, Affect, update, decay, AffectiveCPPN,
RelationalPerceptron, GatedRelationalPerceptron, Organism, detach_memory. 24 tests green.
Task 5 review: spec ✅. Oracle byte-identity and determinism confirmed guaranteed BY CONSTRUCTION,
not merely observed: cfg.oracle is read in exactly two places (attr_dim, _attrs), neither touches
any RNG stream, coords, regime, until or t; every RNG-consuming call is unconditional on oracle.
Generators are per-instance, no global seeding. attrs carries no positional information.
Controller cross-checks: 12 seeds x 600 steps x 2 oracles = 0 mismatches; world reproduces
identically under different global np/torch seeds; attrs unchanged when coords are replaced.
Task 5: fix round 1/5 (1 addressed, 0 open — Important: target was the raw delta while coords
wrapped via % 1.0; they agree only while |delta| < 0.5 and nothing enforced it).
Ruling: assert rather than wrap. Measured first — default config peaks at |delta| = 0.0591 against
the 0.5 threshold (~8x margin), but ParticleConfig(n=64, dt=0.2, sigma=0.5) reaches 1.6612, so the
failure is reachable by an ordinary config change, not theoretical. Wrapping would hide a
simulation where particles cross half the torus per step, which is physically meaningless rather
than a target-encoding problem. Cost if wrong: a future large-n domain must relax the bound
deliberately instead of silently.
Controller verification of the fix: the guard fires on (n=64, dt=0.2, sigma=0.5); default config
runs 3000 steps clean; oracle byte-identity still 0 mismatches after the change; 11/11 green.
Task 5: complete (commits 5ea76d2..8dc20c8, review clean after 1 fix round)
## Resume here
Next: Task 6 (experiments/regime.py) — brief at .sdd/task-6-brief.md.
BASE for Task 6 is the experiments repo: 8dc20c8.
Task 6: implemented, 20 tests green.
Ruling: upholding the implementer's deviation from the brief. The plan's `table()` hard-coded
recovery[5] and recovery[10], which IndexErrors for any --window < 11 (the smoke test itself
uses window=5). It now sizes columns from the actual recovery length; output is byte-identical
at the default window=20. The plan was wrong, the deviation is the fix.
Cost if wrong: none — the default-window output is unchanged, verified by the implementer.
Controller headroom preview (20000 steps, seed 0, before Task 7 is dispatched):
rp_only steady=0.000030 rec@0=0.000042 rec@5=0.000065 bump=1.39x
grp_k0 steady=0.000015 rec@0=0.000031 rec@5=0.000047 bump=2.05x
grp_regime steady=0.000019 rec@0=0.000045 rec@5=0.000053 bump=2.31x
Reading: the switch does perturb (rec@5 is 2-3x steady), and memory helps (grp_k0 halves
rp_only's steady) — A1's baseline works. But grp_regime, which is meant to be the CEILING,
is WORSE than grp_k0 on both steady and bump. The regime oracle is not being read, so there
is currently no valid ceiling to measure A1 against. This is exactly the failure Task 7 exists
to catch; hand it these numbers rather than let it rediscover them cold.
Note the noise floor: per-component noise is 0.002, so a perfect predictor of the deterministic
part would sit near MSE 4e-6. grp_k0 at 1.5e-5 is ~4x above it — the task is close to saturated,
which is itself a candidate explanation for the flat oracle.
Task 6 review: spec ✅. ψ built from loss.item(); kappa=0.0 passed as a plain float with no second
code path; detach_memory detaches rather than clears; trailing partial bptt window dropped
harmlessly; conditions differ only in the intended manipulation (attr_dim, context_dim, memory) —
bptt, lr, hidden, steps identical. torch.manual_seed cannot give identical init across conditions
of different shape, which is unavoidable and immaterial since comparison is across seeds.
Task 6: fix round 1/5 (2 Important + 1 Minor addressed, 0 open).
Ruling: both findings were defects in my own brief, not implementer errors, and both were worth
fixing because this file produces every number the paper reports.
(1) --window was unvalidated; a window >= t_min silently blends two switches into one recovery
curve. Measured spacing is min 40 / max 80 against a default window of 20, so nothing shipped was
affected, but the CLI exposed the foot-gun. Now raises before any work.
(2) The smoke test only proved "nothing crashed" — it never checked the metric arithmetic. The
metric block is now a pure _metrics() tested with hand-built sequences whose answers are known by
construction (losses[i]=i giving recovery[k]=12+k exactly; a first-half switch with loss 999999
proving warm-up exclusion; post-switch 999s proving steady's exclusion; the empty-range nan case).
Cost if wrong: low — the extraction is verbatim and behaviour identity was verified.
Controller verification: after the extraction, run("grp_k0", seed=0, steps=2000) still reports
steady=0.00025 and n_switches=15, matching pre-fix exactly; the guard fires at window=40; 25/25 green.
Task 6: complete (commits 8dc20c8..164810a, review clean after 1 fix round)
## Resume here
Next: Task 7 (headroom check) — brief at .sdd/task-7-brief.md. Read the controller headroom
preview above first: grp_regime is currently NOT beating grp_k0, so the ceiling is not valid yet.
BASE for Task 7 is the experiments repo: 164810a.
Task 7 (headroom): DONE, commit 3e34cd8. Source change: `omega` threaded through run()/main(),
default 10.0, byte-identical to before. results/headroom.md is the audit trail.
Verdict: requirement 2 HOLDS (memory has a job); requirements 1 and 3 FAIL.
Controller cross-checks: grp_regime still loses to grp_k0 on seeds 3 and 4, which Task 7 did not
use — not seed noise. Confirmed the structural argument at ailed/core.py:99: mask defaults to
all-ones INCLUDING the diagonal, so the receiver's own type enters only as one additive term in
the mean and can never multiply the neighbour messages. The world's coupling K[t_i,t_j] is exactly
a pairwise product, so the RP as specified cannot represent it without edge_types encoding the
pair. That is an architecture finding, not a training failure.
Task 7 review (opus, re-ran everything independently): 3 of 4 claims VERIFIED digit-for-digit.
Claim 1 (the information ceiling) NOT verified as a bound: §3's table contradicts its own prose
(prose is right), row A should be exactly 4.000e-06, the fit script was never committed, and the
fitted family is LINEAR while the real model applies tanh (turning the t_i self-term into a gain
modulation) and adds GRP state. Reviewer broke the ceilings empirically: with the regime frozen,
memoryless rp_only reaches 4.96e-06, below both C and D. So "requirement 1 cannot be satisfied by
tuning" does not follow. The measured null stands; the argument around it was overstated.
Reviewer also ran the ablation Task 7's own thesis implicated and skipped: LEARNING RATE.
Controller verification of the lr result (seeds 0,1,2, 8000 steps, mean steady):
lr=1e-3 rp_only=6.141e-05 grp_k0=2.055e-05 grp_regime=2.888e-05 memory advantage 2.99x
lr=3e-3 rp_only=3.189e-05 grp_k0=1.627e-05 grp_regime=1.840e-05 memory advantage 1.96x
lr=1e-2 rp_only=1.681e-05 grp_k0=1.584e-05 grp_regime=1.534e-05 memory advantage 1.06x
Monotone decay. At lr=1e-2 memory buys ~nothing and grp_regime is the BEST of the three.
This lands on requirement 2 — the only requirement that held. The memory advantage is
substantially an artefact of an under-tuned learning rate.
Task 7: fix round 1/5 dispatched — correct §3 table and row A, commit ceilings.py, reframe the
ceiling as a linearised-family bound and drop "cannot be satisfied by tuning", add the lr table
and rewrite requirement 2 around it, reword the rp_flag mechanism, add the frozen-regime control.
DECISION (Diego, asked directly, 2026-09-02): tune the baseline before A1.
Inserts Task 7b ahead of Task 8:
1. sweep lr in {1e-3, 3e-3, 1e-2} x bptt in {10, 20, 40}
2. fix the baseline where rp_only stops improving
3. re-measure requirement 2 there: does grp_k0 still win?
4. adopt the zero-init of W_feat's oracle columns
5. run A1 (grp_k vs grp_k0) against that tuned baseline
Rationale: at lr=1e-3 the memory advantage is 2.99x, at 1e-2 it is 1.06x. Any A1 number
measured on the untuned baseline is a statement about the learning rate, not about affect.
A1 must show affect adds something ON TOP OF a well-tuned baseline, not on top of a slow one.
Accepted risk (Diego's words in the option he chose): the memory effect may vanish and leave
A1 without a baseline — "pero eso es justo lo que hay que saber antes".
Task 7: fix round 1/5 (6 items addressed, 0 open). §3 table corrected to match its prose, row A now
4.011e-06 (the noise floor); ceilings.py committed and reproduces; the ceiling reframed as a bound
on a linearised family with "unreachable in principle" removed; lr ablation added and requirement 2
rewritten around it; rp_flag mechanism reworded; frozen-regime control added.
Controller verification: `uv run python ceilings.py` reproduces, row A = 4.011e-06 vs floor 4.000e-06.
Task 7 KEY RESULT (from the frozen-regime control, 40k steps, seeds 0,1,2):
frozen rp_only 3.891e-05 per-seed 4.964e-06 / 4.604e-05 / 6.573e-05 (13x spread)
frozen grp_k0 5.119e-06 per-seed 5.199e-06 / 4.628e-06 / 5.529e-06 (tight)
With the regime frozen the architecture essentially solves the domain (1.27x the noise floor), so
the entire switching-world gap is caused by switching. And memory's job there is RELIABILITY, not
mean error: memoryless reaches the floor on one seed in three, memory reaches it every time.
That is a better-founded case for memory than the lr-undercut mean-error margin.
Task 7: complete (commits 164810a..d21a8d7, review clean after 1 fix round)
DECISION (Diego, 2026-09-02): retracted the "tune the baseline" plan. His objection, and he is
right: the experiment is not a performance benchmark. The question is whether memory does
something RP cannot, and raising lr to make rp_only catch up changes the question rather than
answering it. RP and GRP are compared to each other, internally — explicitly NOT against a
standard perceptron, which measures mechanical performance and is not commensurable with
domain understanding.
What survives from the lr finding: it is information about the DOMAIN, not about memory —
particles do not distinguish state from fast weights on mean error. That is a weakness of the
measurement, and the reason for Task 7b.
Task 7b (new, replaces the retracted 7b): frozen-weights probe. Train, freeze every parameter
(bit-identity asserted), let the regime switch, measure RP vs GRP recovery — only state can
adapt, so no lr objection can reach the result. Plus a linear probe decoding the regime id from
M (GRP) vs h (RP), with a time-based test split and an empirically measured chance level, to
answer "why" rather than only "which". Brief at .sdd/task-7b-brief.md. kappa=0 throughout;
affect is not under test here, that is A1.
Task 7b: DONE, commit 44a8923. A TRIPLE NULL with a mechanism.
8 seeds, 8000 train + 4000 frozen, 40 runs, freeze asserted bit-identical on all 40.
(1) CAPACITY, NOT MEMORY. Frozen grp_k0 beats rp_only 2.50x on 8/8 seeds — but the conditions
are confounded 3.9x on parameter count (1442 vs 5602; the GRP adds a 64->32 gate and a
64->32 candidate = 4160 params, which the controller verified directly). The missing control
grp_k0_nostate (same architecture, same 5602 params, empty memory handed in every step)
measures 2.170e-05 against grp_k0's 2.101e-05. Decomposed: capacity 2.51x on 8/8 seeds,
state 1.06x on 4/8. Removing the state costs nothing. Trained phase decomposes the same:
capacity 3.06x (8/8), state 1.25x (4/8).
(2) NO REGIME VARIABLE. Linear decode of regime id: M 0.332, rp_only h 0.342, grp_k0 h 0.338,
measured chance 0.273. M is the WORST of the three. The same +0.05 appears in the state-free
network, identifying it as an instantaneous read-off of the visible configuration.
Robust to estimator, entity-centring, and swapping the target to the coupling row k[t_i,:].
(3) THE GATE IS UNTRAINED — the mechanism explaining both. g = 0.500 +/- 0.029, zero saturation
either way, every seed. Controller reproduced independently on seed 9 (unused by the task):
0.5023 +/- 0.0187. After 8000 steps the pre-activation is still zero, so M <- (1-g)M~ + gM
degenerates to a fixed 50/50 blend with no input dependence.
Bonus finding: under frozen weights recovery[k] measures the WORLD's post-switch transient, not
adaptation — the stateless model reproduces the curve within 2% at every lag. Any A1 claim
phrased on recovery curves needs a different observable.
The task also caught two false premises in the controller's own brief and controlled for both:
frozen rp_only is not static (ctx="affect" leaves it a 2-d state; pinned it, 2.26x, still 8/8),
and the frozen RP does come back down after a switch (57% of peak excess, 74% with affect pinned).
Debt this creates: headroom.md §5's "memory reaches the floor every time" and Task 7's 2.99x were
both measured WITHOUT a capacity control. Neither is safe to quote as a memory claim. Re-run §5
with grp_k0_nostate before any of it reaches the paper.
Diego's hypothesis (2026-09-02): "memory never enters because the network has enough capacity to
decide not to learn [to use it]". Controller tested it directly — GRP trained with state vs the
same GRP handed an empty memory, at three capacities, 8 seeds, 8000 steps, ratio no-state/state:
hidden=8 (778 params) mean 1.46x median 1.25x 5/8 seeds per-seed 2.11 1.22 0.97 1.64 0.95 2.75 0.78 1.27
hidden=32 (5602 params) mean 1.19x median 1.10x 4/8 seeds per-seed 1.87 0.91 1.22 0.96 0.93 1.27 0.98 1.40
Verdict: DIRECTIONALLY SUPPORTED, INSUFFICIENT AS AN EXPLANATION. Starving capacity does make
state matter more, but even at 778 params memory wins only 5/8 with median 1.25x and enormous
per-seed spread. If capacity were the blocker, starvation should make memory decisive. It does not.
Correction to the framing: the regime IS a hidden variable — the model sees positions and types
and must predict displacement; K is not in the input. So there is something genuine to remember
and memory SHOULD help. The null is not "nothing to infer".
Controller hypothesis, NOT measured: with bptt=20 and switches every 40-80 steps, the gradient
rewarding "predict the transient from current positions" pays every step, while the gradient
rewarding "infer the regime and remember it" pays only near switches and through a longer
temporal chain. The gate stays at 0.5 because no local pressure ever moved it. A1's -kappa*a is
an EXTERNAL forcing on that pre-activation that does not go through the gradient, which makes it
the only available lever on a gate gradient descent left inert.
DECISION (Diego): run A1.
Task 8 (A1): DONE. 288 runs, 16 seeds, 8000 steps. A1 DOES NOT HOLD on this domain — a
well-controlled null with a mechanism attached.
(1) AFFECT MOVES THE GATE, decisively. kappa=1 moves mean g 0.501 -> 0.465 and triples its sd.
The contrast that carries the claim — post-switch vs far-from-switch within the same run —
is -0.078 at kappa=4 on 16/16 seeds, against +0.0000 on 4/16 at kappa=0.
(2) THE HEADLINE FINDING: the LEARNED part of the gate pre-activation, W_g[h||M]+b_g with the
forcing excluded, is unchanged at every kappa. Controller verified independently, 3 seeds:
kappa=0 mean -0.0086, kappa=4 -0.0086, kappa=16 -0.0077. Gradient neither compensates for
the forcing nor participates in it. -kappa*a is not modulating a learned gating policy —
it supplies the whole of one that gradient descent never built.
(3) MOVING IT DOES NOT HELP. steady is flat across a 16-fold kappa range (2.399e-05 to
2.428e-05, a 1.2% spread against an across-seed sd 40x larger). Paired: grp_k0 beats grp_k
on 6-9 of 16 at every kappa, median 1.00. The only sign-definite kappa-monotone effect is a
DEGRADATION at lag 2 after a switch: 0.96 -> 0.89 as kappa goes 1 -> 16, on 14-16/16 seeds.
(4) SHUFFLED CONTROL well-formed: matches real's gate distribution to three decimals while its
post-vs-far contrast collapses from -0.078 to -0.001. On steady, real is indistinguishable
from shuffled — there is no effect for the control to rule on. On recovery[2] real is WORSE
than shuffled on 15/16 seeds, so the small harm IS about surprise timing.
THE ONE THING NEVER TUNED: arousal LAGS the event by ~12 steps and is LOWER at the switch step
(0.061) than far from one (0.106), because Affect.update compares the loss to a slow baseline.
The gate opens ~12 steps after the surprise it is supposed to react to. rho_a and rho_slow are
the mechanism's OWN design parameters and have never been set. Tuning them is tuning the
mechanism, not tuning a baseline to lose — legitimate, but it is also exactly where motivated
reasoning would enter, so it must be pre-registered with the criterion stated in advance.
CORRECTION to frozen.md §5 at 16 seeds: capacity 3.04x mean / 2.71x median / 16-16; state
1.19x mean / 1.11x median / 11-16 (was "1.25x on 4/8"). Capacity unchanged; the state row is
firmer than it looked but still modest. Replace "4/8" with "11/16" wherever quoted.
DIEGO'S CORRECTION (2026-09-02), the most important framing note in the project:
"Abrir mas dominios y experimentos solo para hacer funcionar la memoria es un error que
seguimos cometiendo... no podemos andar adivinando que dominios sin saber POR QUE, CUANDO y QUE."
Opening new domains until one makes memory work is p-hacking with extra steps. The question is
not "where does GRP win" but "what condition must a domain satisfy for per-entity state to have
a job" — answered by measurement, derived, not guessed.
PRE-REGISTRATION for Task 9, recorded BEFORE the runs. Criteria fixed now; whatever comes back
is accepted.
Theory. Per-entity memory can only help when the optimal predictor depends on something absent
from the current observation. Three measurable quantities:
G information gap = error(best | x_t) / error(best | x_t, z_t). Measured: D/C = 1.54x.
T_id identification time = steps of history an OPTIMAL decoder needs to pin down z. NEVER MEASURED.
T_z persistence = how long z lasts. Here 40-80 steps.
Condition for memory to have a job: T_id << T_z, with G materially above 1.
Prediction: state gain vs regime duration is PEAKED — useless when T_z < T_id (the regime changes
before it can be identified), useless when T_z >> T_id (weights learn it; the world is effectively
stationary), positive in between.
Part 1, affect timing (the one legitimate remaining shot at A1). rho_a and rho_slow are the
mechanism's own time constants and have never been set. Measured problem: arousal peaks ~12 steps
after the switch and is LOWER at the switch step (0.061) than far from one (0.106).
SUCCESS = arousal's peak moves to within 3 steps of the switch AND the paired grp_k0/grp_k
steady ratio exceeds 1.10 on at least 12 of 16 seeds.
FAILURE = anything else, including "the timing is fixed but the error does not move", which is
the informative outcome: mechanism works, correctly timed, domain gives it nothing.
One sweep. No re-runs with different criteria. The result is accepted as stated.
Part 2, T_id. Fit an optimal decoder of the regime from a WINDOW of L consecutive observations,
L in {1,2,3,5,10,20,40}, and find where accuracy saturates. This is a property of the DOMAIN,
independent of our architecture, and it is the number that says whether memory can ever work here.
If T_id > T_z, the null is explained completely and no architecture change can fix this domain.
If T_id << T_z, the domain CAN reward memory and the failure is ours, not the domain's.
Part 3, the falsifiable test. Sweep t_min/t_max over roughly {10-20, 40-80, 150-300, 600-1200,
frozen} and measure state gain (grp_k0_nostate / grp_k0) at each, capacity-controlled, >=8 seeds.
The theory PREDICTS a peak near T_z ~ a few times T_id.
If no peak exists at any duration, the theory is wrong and per-entity state does not have a job
in this class of domain at all — which is a real result and closes the question.
OPEN QUESTION raised by Diego's chess observation (2026-09-02) — recorded, NOT designed:
A likely FOURTH condition, missing from the three in Task 9's pre-registration.
In particles the hidden variable is GLOBAL: one coupling matrix K shared by all 16 entities.
Our memory is PER-ENTITY: 16 copies of a 32-d state each trying to represent the same single
variable. Shape mismatch. Worse, a particle's own history says nothing about that particle
which its current position does not — same-type particles are interchangeable and the dynamics
are Markovian in position. There is nothing per-entity to remember.
In chess a piece ACCUMULATES A ROLE: this knight has spent three moves manoeuvring toward that
square, this rook has been defended twice, this pawn has been pinned for a while. That is
history belonging to the entity and absent from the square it currently occupies — and the
stable id is the piece, not the square, exactly as the spec's domain contract requires.
Second difference pointing the same way: chess is perfect information, so what is hidden is not
the world state but the OTHER AGENT'S INTENTION, which persists over many moves and is inferable
from few. Small T_id, large T_z — the condition Task 9 is measuring.
Consequence if this holds: it explains the null WITHOUT requiring T_id to come back bad. If
Task 9 finds T_id << T_z, the domain could have rewarded memory and the shape mismatch becomes
the prime suspect.
Do not design a chess domain yet — Diego: "no disenies nada aun estamos haciendo cimientos".
THEORY REFINEMENT from Diego (2026-09-02), the poker observation: "algo oculto totalmente no hay
que recordar, todo es variable... poker donde aunque el estado sea oculto hay algo que recordar,
las cartas quemadas."
This supersedes the T_id framing as the PRIMARY criterion. Three cases, not two:
1. Hidden with no evidence anywhere. The past does not constrain it. Nothing helps.
2. Hidden, but the evidence is already IN THE PRESENT. History is redundant — what it would
tell you, the current observation already does. Feedforward suffices; memory cannot pay,
however identifiable the variable is.
3. Hidden, and the evidence exists ONLY in the past. Memory is required. Card counting is the
clean case: a dealt card is gone from the visible table, only the history holds it, and the
information accumulates monotonically.
SUSPICION: particles is case 2. The regime leaves traces in history, but the current positions
ARE the accumulated result of the dynamics under the current regime, so the present already
carries the fingerprint. Consistent with frozen.md Part B: regime decoded from M at 0.332 vs
from the memoryless RP's h at 0.342 — memory added nothing because the present already had it.
The criterion is therefore not "is it identifiable" (T_id) but "does the PAST contain anything
the PRESENT does not". Task 9 Part 2 already measures it: the headline is accuracy(L) - accuracy(1),
not the saturation point. L=1 is the present-only baseline. If that gain is ~0 at every L, memory
is redundant by construction and T_id is irrelevant — nothing in the past is worth the trip.
Reframe sent to the running task; no re-runs, reporting change only.
Note this composes with the global-vs-per-entity question above: they are independent failure
modes and particles may fail both.
CORRECTION to Task 7b's headline, from a scoped audit of the capacity control (2026-09-02).
The first 7b reviewer ran an hour without reporting and ignored a direct status request; it was
stopped and replaced by a narrow auditor asked only whether grp_k0_nostate is a fair control.
FINDING 1 (controller reproduced independently): with M_prev always zero, gate.weight[:,32:] and
cand.weight[:,32:] are BIT-IDENTICAL to initialisation after 8000 steps, max|delta| exactly 0.0.
2048 of 5602 parameters never train. Honest effective count 3554, not 5602. frozen.md §1a's
"identical 5602 parameters" overstated it by 58%.
FINDING 2: the ablation is not "the same network minus state". With M_prev = 0 the update is
M = (1-sigma(W_g[h||0]))*tanh(W_c[h||0]) — a gated feedforward head, no recurrence, no BPTT
path, better conditioned. It shares tensor shapes, not function class.
FINDING 3 (decisive): width-matched memoryless RP does NOT close the gap. Frozen steady, 8 seeds:
rp_only D=32 1442 params 5.257e-05 grp_k0 wins 8/8
rp_only D=86 3548 params 3.915e-05 grp_k0 wins 8/8
rp_only D=139 5615 params 1.046e-04 grp_k0 wins 7/8 (seeds 1 and 6 destabilise)
rp_only cppn=141 5584 7.195e-05 grp_k0 wins 8/8
grp_k0_nostate 5602 2.170e-05 grp_k0 wins 4/8
grp_k0 5602 2.101e-05
Parameter-matched by either knob the memoryless RP gets WORSE, not better.
CORRECTED CLAIM: the 2.5x margin is NOT capacity. It is the gated post-RP nonlinearity, which
grp_k0_nostate supplies without any memory. The gate helps as a NONLINEARITY, not as a memory
controller. The null for memory is unchanged (state 1.19x on 11/16) — the explanation was wrong.
This composes with A1's finding that the gate's learned pre-activation never leaves zero: the
gate's functional form is doing work that its learned gating policy is not.
Caveat carried: the wide RPs may be lr/init-limited at 8000 steps. NOT tuned — standing rule
against baseline-tuning — but the limitation is stated in the corrected file.
Correction committed as 39ffbc5 (frozen.md verdict + new §1d; a1.md gets a one-line pointer
saying the "capacity" row label is a misnomer; headroom.md checked, its "capacity" uses are
about the error floor and unrelated).
DEBT: the width-matched rows in frozen.md §1d came from a throwaway driver, not from the CLI —
frozen.py exposes no width knob. The driver was pinned (reproduces grp_k0_nostate seed 0 at
2.588e-05 bit-for-bit) but is not committed. This is the same standard already enforced on
Task 7, where an uncommitted fit script made §3 non-reproducible and ceilings.py was required.
Fix after Task 9 commits: add --hidden/--cppn-hidden to frozen.py. Not done now because
frozen.py is currently modified in Task 9's working tree and two agents on one file invites a
conflict.
Task 9 verdicts (Part 2 still finalising at time of writing; identify.py running):
PART 1 — FAILURE of the informative kind, and it CLOSES A1. The timing fix WORKED: arousal's
peak moved from 11 steps after a switch to 1, inside the pre-registered 3. The error did not
move: grp_k0/grp_k on steady is 0.987 (median 1.000), 0 of 16 seeds reach 1.10 against a
criterion of 12 of 16, largest ratio at any seed and any kappa is 1.017. The lag-2 harm
survives the fix unchanged. Mechanism works, correctly timed, domain gives it nothing.
PART 2 — T_id = 2 observations, i.e. ONE step of history. An exact decoder reaches 0.958
per-step accuracy from a single observed displacement (measured chance 0.23); a fitted
decoder knowing no coupling matrices reaches 0.909. Accuracy peaks at L=2-3 and FALLS after.
T_id is 20-40x smaller than T_z.
THIS CORRECTS THE POKER SUSPICION: particles is NOT case 2. The past does contain the regime,
almost perfectly, from one step of history. It is case 3 — the domain COULD reward memory.
And our M decodes the regime at 0.332 against an available 0.958. We capture almost none of
what is there. The failure is ours, not the domain's.
PART 3 — THE PREDICTED PEAK DOES NOT EXIST; my theory is wrong as stated. Capacity-controlled
state gain is flat across four orders of magnitude of regime duration (1.09 to 1.26, on 8-11
of 16 seeds at every duration) with per-seed spread 0.32-2.86 swamping every between-duration
difference. Decisive: the LARGEST gain is at the FROZEN regime, 1.26 on 11/16 — the one
setting with no regime to identify and G exactly 1.00. A quantity largest when its supposed
cause is absent is not caused by it. The state gain measures TEMPORAL SMOOTHING, which a
stationary world rewards at least as well as a switching one.
Task 9: COMPLETE, commit a4f45c3. The measuring agent died twice to machine sleep mid-write,
leaving §3's table and §4 as literal placeholders (PART3_TABLE / PART3_TEXT). A finisher agent
also stalled. The controller completed the write-up from the committed JSON rather than
re-running anything — every sweep's output survived on disk. Independently recomputed:
Part 3's state-gain table from w_duration_all.json + w_duration_frozen.json
2-3 1.09 | 4-8 1.10 | 10-20 1.09 | 40-80 1.17 | 150-300 1.22 | 600-1200 1.12 | frozen 1.26
flat, no peak, largest at frozen, per-seed range 0.32-2.86 swamps every difference
Part 1's paired ratios from w_best.json: 0/16 seeds >= 1.10 at kappa 1, 4 and 16; max 1.017
Part 1's arousal profiles from w_timing.json + w_best.json: defaults peak at lag 11;
best-timed (rho_a=1.0, rho_slow=0.2, rho_fast=0.4) peaks at lag 2 — inside the registered 3
Part 2's decoder series from identify.json (acc_step, means over seeds):
lin chance 0.284 L1 0.429 L2 0.531 L3 0.532 L20 0.542
mlp chance 0.271 L1 0.574 L2 0.729 L3 0.764 L40 0.655
phys chance 0.287 L1 n/a L2 0.909 L3 0.926 L40 0.632
bayes L1 n/a L2 0.958 L3 0.961 L40 0.699
bayes/phys have no L=1 because with one observation there is no observed displacement.
Above chance, mlp goes 0.303 -> 0.493 and lin 0.145 -> 0.258: history nearly DOUBLES the
present's regime information. Accuracy peaks at L=2-3 and FALLS after, because longer
windows span switches and carry observations from a different regime.
One correction applied to the verdict block: it claimed the arousal peak moved to lag 1; the
argmax is lag 2 (0.303 vs 0.308, within 0.005). Criterion met either way, but the file is
paper-citable so the number is now the measured one. A write-up note records that the
controller completed the file and that nothing was re-run.
66 tests pass. Working tree clean.
STATE OF THE PROJECT after Task 9:
A1 is closed as a null on this domain, in its strongest form (mechanism works, correctly
timed, domain gives it nothing). The pre-registered T_id/T_z theory is falsified. The domain
is the rememberable kind and the organism captures ~a fifth of the available signal, so the
open question is now about the ORGANISM, not about which domain to pick.
Two candidate explanations recorded earlier and still untested, and they are independent:
(a) credit assignment — the per-step loss term dominates the temporal one, so nothing ever
rewards carrying the regime one step forward
(b) shape mismatch — a GLOBAL hidden variable against a PER-ENTITY state
Diego's standing instruction: no new domain design yet, "estamos haciendo cimientos".
DEBT still open: frozen.py has no --hidden/--cppn-hidden flag, so frozen.md §1d's width-matched
rows are not CLI-reproducible. Task 9 has now committed, so frozen.py is free to edit.
DECISION (Diego, 2026-09-02): no co-authoring trailer on commits. Applied retroactively —
all four repos' history rewritten with git-filter-repo to strip both `Co-Authored-By:` and
`Claude-Session:` lines, then force-pushed. Safe to rewrite: the repos were hours old, only
Diego had them, and no clone existed. New heads: docs 5da4b8e, ailed a07204f,
experiments a10b635, paper ec61da6.
Sources that mandated it are fixed so it cannot come back: the plan's Global Constraints now
say "no co-authoring or session trailer", the per-task commit blocks are stripped, and all
nine task briefs were regenerated or cleaned.
Deliberately NOT stripped: the task *reports* and this ledger. They are a record of what
happened, and the trailer disagreement between subagents is part of that record — editing
them would falsify it. Only forward-looking instructions were changed.
NEXT (Diego, 2026-09-02): run test 1 (pooled-M probe) and see if it resolves the open
question; if not, go deeper. Noted for later, his words: "hacen falta tambien los demas
modulos pero eso lo vemos despues de estos pasos" — spec §6 lists Metabolism, Reflexes
S1/S2, and the Instinct/EQ policy readout as "defined, not built". They are deferred until
the memory question is settled, not forgotten.
Task 10 (pooled-M probe) design note: the decisive control is pooling h the SAME way. If
pooling improves decoding from both M and h, pooling is just averaging away noise and says
nothing about memory holding a global variable. The result only means something if pooled M
gains what pooled h does not.
Task 10 (pooled-M probe): DONE, commit b9b7929. CLEAN NULL — hypothesis (b) is DEAD.
gain = gap(pooled) - gap(single), gap = acc - measured shift null, per seed then averaged.
16 seeds, least squares:
mean-pooled M +0.045 (sd 0.043) h +0.048 (sd 0.060) M-h = -0.003 M ahead 8/16
concatenated M -0.010 (sd 0.053) h -0.009 (sd 0.063) M-h = -0.001 M ahead 8/16
Paired across-seed se on M-h is 0.015, so both sit inside one se of zero. Logistic flips the
sign of M-h to +0.005. Pooling ITSELF is real (positive on 14/16 for M, 13/16 for h) and is
entirely noise-averaging.
Controller verification on seeds 16-19, which the task did not use: M +0.035, h +0.052,
M-h = -0.017. Same picture, and if anything further against (b).
WHY THE NULL IS TRUSTWORTHY: a positive control. A synthetic where the regime's two bits are
genuinely split across entities (0-7 hold bit 0, 8-15 hold bit 1, no entity holds both) gains
+0.589 through the same pooling and the same probe — 13x the measured effect. A "redundant"
synthetic (whole code in every entity plus noise) gains +0.283 and lifts everything. The real
data carries the REDUNDANT signature, not the distributed one. A test breaks the pooling on
purpose and confirms the control notices.
Concat was sample-starved at 513 params on 2800 samples; re-run at 16000 frozen steps it
recovers to parity, not past it. Same null, tighter.
METHODOLOGY FINDING that corrects our own rule: EIGHT SEEDS REPORTED THE WRONG SIGN.
Seeds 0-7 alone read +0.010 in M's favour on 5/8 — faint support for (b). Seeds 8-15 flip it
to -0.003. Nothing changed but the seed count. Both AGENTS.md files updated: eight seeds does
not reliably support a direction, and a null needs a positive control or it is
indistinguishable from a blind instrument.
STATE: (b) dead. Any global read-out head, cross-entity aggregation, or shared regime slot
would have been motivated by (b) and is now unmotivated. (a) credit assignment is the only
remaining suspect, and frozen.md already supplies its mechanism (gate at 0.500 +/- 0.029,
untrained) and why it had no job (post-switch error is the world's configuration transient).
PUSH PENDING (2026-09-02): Diego is away from home, so the Gitea host is unreachable — it is
on his home network. Do NOT attempt pushes or any tea command until he says so.
Unpushed at this point: docs 2 commits (ceed1af, 77fed7d), experiments 3 commits
(23058c6 + the Task 10 work b9b7929 + the rules commit). ailed and paper are up to date.
When he asks, from ia-stuff/:
git push origin main && git -C experiments push origin main
SCOPING DECISION (Diego, 2026-09-02): Task 11 is the LAST experiment on the memory line,
positive or negative. After it the project either gives per-entity memory more push through
the other organism modules (spec §6: Metabolism, Reflexes S1/S2, the Instinct/EQ policy
readout — all defined, none built), or drops the GRP and proceeds with the RP alone.
Task 11's write-up must therefore carry the consequence of each outcome for keeping vs
dropping memory, not only the verdict on hypothesis (a). Sent to the running task.
Worth holding on to for that decision: dropping the GRP does not drop the paper. The novel
contribution is the RP — relational structure with CPPN-generated weights from geometry
rather than a lookup. And claim A2 (the CPPN kernel taking psi as input) does NOT route
through memory at any point, so nothing measured in headroom.md, frozen.md,
when_memory_works.md, a1.md or pooled.md bears on it. A2 has never been run and is the only
spec claim untouched by the memory nulls. "Use the RP" is a different paper still standing —
relational perceptron with affective topology, no memory, plus four well-measured nulls
explaining why memory is not there.
Task 11 (credit-assignment ceiling): measured, commit 6e2e251. The agent was killed by machine
sleep before writing its report, but it DID commit first (0beba60, JSON and the four MLP
shard logs force-added past .gitignore). The controller wrote the checkpoint report and
applied the corrections. Checkpoint report at .sdd/task-11-report.md. 78 tests pass.
HYPOTHESIS (a) IS NOT SUPPORTED. Both candidate explanations are now dead.
Part A: the gradient reaching the gate is COHERENT, not cancelling — 0.202 against its own
measured sign-flip null of 0.163, above null on 14/16 seeds, paired se 0.009. And the
TEMPORAL PATH IS THE LARGER TERM: 1.187x the per-step one, 0.587 of the gate's gradient
arrives through the BPTT window, where (a) predicted negligible. out.weight's temporal term
is exactly 0.000 on every seed — the structural control that the split is real.
Part B: OUTCOME 3 — M cannot hold the regime even under direct supervision, at any lambda from
1e-5 to 1.0, including where the aux term is 5.8e4x the main loss and degrades the task 5.9x.
Positive control installs the entity TYPE at 0.738 vs chance 0.333 through the same head,
optimiser, seeds and probe. The instrument works; the state can hold per-entity properties;
it cannot hold this one. Side effect worth noting: type supervision raised the REGIME decode
by +0.073 on 14/16 seeds — the control that had no business moving that number is the only
thing that moved it.
So the conclusion is neither credit nor shape: THE STATE UPDATE CANNOT REPRESENT THIS VARIABLE.
TWO CORRECTIONS TO EARLIER FILES, not yet applied to them:
(1) "The weights did not move" is FALSE and frozen.md §3 and a1.md both lean on it. The
gate's weights moved 26.8% of their initial norm, MORE than any other block. What did
not move is the FUNCTION — the displacement stayed inside the sigmoid's linear band
(g = 0.5008 +/- 0.0270 trained vs 0.5009 +/- 0.0203 at init). Also: do not lead with the
887x gradient-magnitude gap, because Adam is scale-invariant and the per-coordinate SNR
is comparable (gate 0.066, cand 0.070, out 0.079). The agent caught itself about to
report the magnitude as the story — the best methodological moment in the task.
(2) "The organism holds a fifth of the available signal" is a LINEAR-PROBE figure. An MLP
probe reads +0.159 from M where linear reads +0.064, and +0.234 from h. The relative
claim survives (M holds less than the h it is built from) but the absolute number needs
the qualifier in when_memory_works.md and frozen.md.
INCOMPLETE: the MLP-head version of Part B reached ~10 of 16 runs per shard. §2d reports it as
incomplete and the verdict is stated on the linear head alone. Command in §2d.
Both corrections APPLIED (experiments 501d0b3): frozen.md's three affected passages reworded,
new §6 carrying the weight-displacement measurement and the Adam scale-invariance point, new §7
marking the probe figures as linear-probe, and a matching note in when_memory_works.md §4.
78 tests still pass.
Task 12 (chess history probe): DONE, experiments 38a090e, pushed. results/chess_history.md.
THE PREDICTION HOLDS. A piece's own past predicts its next square beyond the current board.
ridge present 0.1227 +history 0.1789 gain +0.0563 shuffled 0.1190 6/6 seeds se 0.0011
mlp 2x128 present 0.1586 +history 0.1926 gain +0.0341 shuffled 0.1489 3/3 seeds se 0.0031
The shuffled-history control is NEGATIVE in both arms (-0.0036 ridge, -0.0096 mlp), so the gain
is about the alignment between a piece's past and its future, not about feature count.
Split by game, never by position. 1500 games, 38719 moves, pieces with >=2 prior moves.
CAVEAT stated in the file, not buried: the MLP reads more from the board alone than ridge
(0.1586 vs 0.1227), so part of what history gave the linear model was recoverable from the
present non-linearly. The gain shrinks +0.056 -> +0.034 and this does NOT establish where it
stops. What it does establish is that a non-linear decoder still sees it, at 11 se.
The MLP arm exists because of Task 11's lesson — a linear decoder read 0.23 where an MLP read
0.83 on identical particle features, so a linear-only null would have been wrong by 0.6.
WHAT IT MEANS: chess has what particles lacked — information that belongs to an ENTITY, is
absent from the present, and persists. Particles' hidden variable was GLOBAL (one coupling
matrix belonging to no entity), which is why the per-entity state held less about it than the
memoryless representation it was built from. This does NOT say the GRP will work on chess; it
says the domain is not the reason it would fail, which could not be said of particles.
Composes with credit.md: the state update CAN hold per-entity properties (entity type at 0.738
vs chance 0.333) and cannot hold a global one. Chess's rememberable content is the per-entity kind.
Task 13 (chess domain, contract A): experiments/chess_domain.py + tests, commit ceb98ce.
OWNER DECISIONS: contract A ("Contrato A, para iniciar"); both arms RP and GRP ("con variantes,
RP y GRP para probar ambos lados de la moneda"); affect neutral for now ("psy despues lo podemos
aventar... por el momento temperatura neutral funciona, luego sinteticamente la movemos").
SCOPE NOTE: spec §9 lists "Chess adapter" as out of scope for this paper. The owner overrode
that deliberately after the Task 12 probe. Recorded because the paper's setup section cites §9.
Ruling: TARGET IS THE MOVER'S DISPLACEMENT, LOSS MASKED TO THE MOVER. Exactly one piece moves
per ply, so the spec's literal per-entity default is 31/32 zeros and the constant predictor
"nobody moves" wins — a task that leaves the mechanism no job, the shape of four nulls in the
predecessor project. Cost if wrong: the model is told WHICH piece moves (not where it goes),
which is information a player does not have. Mitigated by it being the same conditioning
Task 12 measured under, so chess_history.md's headroom is the ceiling on THIS task.
Ruling: AFFECT HELD NEUTRAL, psi=(0,0) and kappa=0, so memory is the only axis separating the
arms. --affect stream runs the real EMA chain. Cost if wrong: none measured here; it makes
the neutral setting a choice rather than an absence.
Ruling: THE MEMORYLESS ARM IS WIDTH-MATCHED (rp_wide, hidden=127 vs grp hidden=32, ~5.77k
params each). rp at hidden=32 is kept as the third arm for continuity with rp_only, but the
memory claim is read against rp_wide. frozen.md §1d is why.
A1 IS NOT TESTED HERE. Chess has no regime switch, so "arousal opens the gate after an
unannounced change" has no analogue. Stated in the module docstring, not left implicit.
Identity tracking is the silent-failure risk (a memory slot following the wrong piece trains
and prints fine), so plies() asserts the id map matches board.piece_map() every ply, and
tests/test_chess_domain.py sabotages advance_ids to prove that assertion fires. 3 tests pass.
Task 14 (chess move prediction, contract A): experiments 8ea61f9, 1c28987, 6e33264.
results/chess_move.md. Three configurations of the same task, all with the history oracle as
the gate: all-ones mask type-blind, attack mask type-blind, all-ones mask with type in e_ij.
ORACLE AMBIGUOUS IN ALL THREE (+0.0014 4/8, -0.0003 4/8, -0.0006 5/8), so no GRP number in
this task is a memory result. Measured floor 0.0556/0.3325 vs arms 0.0389/0.414 confirms the
models do learn from the board, so this is not a dead setup.
Ruling: the attack-mask arm KILLED MY OWN dilution hypothesis. I predicted that an entity's
own attributes were drowned by 1/deg ~= 1/30 in the mean-pooled message. Degree fell to 3.3
and accuracy fell WITH it (0.414 -> 0.381) in all four arms. Hypothesis measured false.
THE MISMATCH, which is the finding: type in the kernel improved MSE 0.03888 -> 0.03547 and
made accuracy WORSE, 0.4144 -> 0.3998. MSE fits the conditional mean of the destinations;
history shifts their distribution and barely moves the mean. Objective and question anti-
correlated. This is what pointed at the readout.
Task 15 (chess reachability): experiments f89472d. results/chess_reach.md. FIRST POSITIVE.
Owner's question, verbatim: "cual es la meta que el cppn aprenda a mover las piezas? o que las
entienda? ejemplo, este es el caballo y se mueve en L". Nothing in the project had measured
whether the model understood chess at all; every memory null assumed it.
KNIGHT precision@k, per seed, is the whole result:
rp / constant / grp_type 0.000 x8 (exactly zero, verified not a bug: put a knight on
rp_type 0.742 0.755 0.749 0.768 0.750 0.768 0.766 0.763 d5, 8 L-cells)
160 extra parameters (1.8%) flip it. NOT capacity. The type-blind kernel is ONE geometry
function scaled by a type vector, and a knight's L is not a scaling of the average shape.
Rook 0.19 -> 0.58 confirms the mechanism (second least average-like pattern, second gain).
Ruling: TARGET IN RELATIVE OFFSETS, not absolute squares. The CPPN sees only r_ij, so the
representation is translation-invariant and an absolute-square target is unanswerable by
construction. Caught when a 64-way target gave nonsense; the 15x15 offset grid is where a
knight's L is eight cells.
MEMORY DESTROYS IT: grp_type has 46% more params and lands back on the floor, knight zero on
8/8, at 146 paired se. Reachability is present-determined -- the redundant case from the
owner's poker framing -- and the readout is out(M), never out(h), so half the vector is the
previous ply. Doubles as the POSITIVE CONTROL the instrument lacked: the GRP path can
measurably destroy a signal that is present, so the earlier nulls were not an inert mechanism.
Per-type breakdown is load-bearing, not decoration: on seed 4 the AGGREGATE gain is negative
(-0.082) while the knight sits at 0.750. Pawns are half the board and carry the mean.
RULE ADDED to experiments/AGENTS.md (f49840f): verify the model can represent the domain
before asking what memory adds. Sibling of the oracle rule.
Task 16 (chess distribution readout): experiments 70ddc7a. results/chess_dist.md.
Cross-entropy over the legal offsets instead of MSE on their mean. Same target, same chance,
same conditioning -- only the readout changes. Sanctioned by the repo's own rule: when a
metric cannot tell the mechanism apart from a cheaper one, change the metric not the baseline.
rp 0.4685 | rp_oracle 0.4705 | rp_wide 0.4722 | grp_nostate 0.4616 | grp 0.4780 | chance 0.3618
grp - grp_nostate: +0.0164 +/- 0.0025 8/8 seeds
grp_nostate - rp_wide: -0.0106 +/- 0.0017 0/8 seeds
grp - rp_wide: +0.0058 +/- 0.0019 7/8 seeds
rp_oracle - rp: +0.0020 +/- 0.0015 5/8 seeds ambiguous
grp_nostate = same architecture, same 13281 params, same gate, empty memory handed in every
ply. INVERTS THE PARTICLES FINDING: there the margin was the gated nonlinearity, not the
state (frozen.md 1d). Here the gate is a COST (-0.0106) and the state repays it (+0.0164).
Ruling: match_width recomputed at target_dim=225. The version inherited from the move task
was computed at target_dim=2, and with the readout dominating it put rp_oracle at 35248
params against rp's 9121 -- the exact 3.9x confound frozen.md 1d exists to prevent. Caught
in the smoke run before the real one.
THE ORACLE BOUNDED ITS OWN ENCODING. Three past squares as displacements is 6 dims; the state
is 32 dims over a whole game. The oracle read ambiguous in four configurations and this is the
first evidence the ambiguity was the ENCODING, not the domain. Caution about how the
oracle-first method was practised here, not a refutation of it.
=== ESTADO ACTUAL — what is knowledge, not performance ===
The owner's correction, verbatim: "sigues tratando de evaluar performance, ahora sabemos que
hace subir a la memoria, y sabemos que rp ya identifica piezas y como se mueven". The accuracy
deltas are evidence, not the result. What the chess arc established:
1. THE KERNEL MUST BE CONDITIONED BY IDENTITY, NOT SCALED BY IT. A CPPN generating weights from
geometry alone learns one movement shape for six piece types. The type has to enter the
CPPN's own input (e_ij); entering through attrs only multiplies the shared kernel afterwards.
Measured as a discontinuity: knight exactly 0.000 -> 0.758 on 8/8 seeds for 1.8% more params.
This is a statement about relational architectures, not about chess.
2. PER-ENTITY STATE HAS A JOB ONLY WHEN THE READOUT MATCHES THE SHAPE OF WHAT IT CARRIES. The
same domain, same organism, same information: with MSE on a mean the state is worthless in
three configurations; with a distribution over candidates it pays on 8/8 against its own
no-state control. Memory carries distributional evidence, and a readout that collapses to a
mean discards it before the gradient ever sees it.
3. THE GATE IS A COST AND THE STATE IS THE GAIN, in that decomposition. In particles it was the
reverse. Which one dominates is a property of the domain-plus-readout, not of the mechanism.
4. THE THREE-CASE REFINEMENT IS NOW MEASURED ON BOTH SIDES. Reachability is the redundant case
(evidence already in the present): memory does not merely fail there, it destroys the result.
Move choice is the past case: memory pays. Same organism, same board, one ply apart.
WHAT IS STILL UNTOUCHED: what the state actually holds (no decode probe on chess); A1 and A2
(psi held neutral throughout, and chess has no regime switch so A1 has no analogue as posed);
contract B and the EQ chain; the other spec 6 modules. The Task 11 MLP control and the
frozen.py --hidden reproducibility debt both still stand.