Commit Graph

107 Commits

Author SHA1 Message Date
Christopher Williams f188708009 phase11: ledger — the ceiling breaks three times, the content-free frame lever, sf3_merge fail-fast fixes
494 bodies / 503 regions. Three bodies above the old 244 B ceiling from two workers
(248/248/264 B). Cookbook 59 extended with the unreferenced-array-local mechanism
(cc1 gives unreferenced scalars no home but does allocate for unreferenced arrays),
the amended three-direction rule, the per-band cost table, the sf3_merge fail-fast
fixes, and the rank-instability broadcast.
2026-09-24 09:01:06 -04:00
Christopher Williams eea8b670d4 phase11: ledger — D's census falsifies the phase premise, division_check class, post-pass authorized
Records: the "244-byte ceiling" is a DISPATCH ARTEFACT not a measured wall (5 of 427
rows ever attempted, 1.2%; three in an excluded class; both non-excluded attempts
near-matched; 84% unclassified ordinary code), so worker C is re-assigned above the
ceiling onto a 619-row dispatch file with 258 known-callee rows.

The new division_check exclusion class (break and div always co-occur; 0 of 493
registered regions contains either; worklist 1193 -> 1118).

Worker B's localisation of the maspsx/GNU-as mutual exclusion (ASPSX does both the
move->addu conversion and the fill; maspsx the first only, as the second only, and they
cannot be combined) with a 42-row/14% census in its partition, and the developer's
authorization of a tracked post-pass modelled on ASPSX's behaviour via oracle
characterisation -- ASPSX itself is a diagnostic oracle only, never a build stage,
because it is proprietary and git-ignored and a build depending on it could not be
reproduced.
2026-09-24 08:53:48 -04:00
Christopher Williams ae94c383c1 phase11: P11-T1 complete — baseline green, 4-worker herdr roster probed, partitions and charters
Baseline revalidated at the Phase 10 close state: tracked maspsx patch applied,
make check exit 0, extents regions=493 AGREEE, gate differing_bytes=0 MATCH, 237
tests OK, 484 bodies / 493 regions, worklist 1193 with excluded_already_registered=493.

Roster spawned by the orchestrator via herdr (tab w1:t4, 2x2 at ~115x31); all four
probed clean and all four confirmed context_info + compact_context, which is the
basis for the compaction-first policy. Worker D is assigned GOAL B (the 244-byte
ceiling) with a bounded four-step investigation and a running GOALB.md deliverable;
A, B and C are on Goal A with 12-claim cycle targets.

Partitions: 4-way rank-interleaved, 299/298/298/298, disjoint, union == worklist,
near-identical tier/size mixes. Lever files rank size-band-first (cookbook 41):
P2 (<=200B, no lever) at 359 rows is the main target across the four partitions.

Charters carry the Phase 10 process rules as hard requirements: md5 per claim,
verify the staged path, cleanup audit before reporting, read ranges from the worklist
row, one attempt on a named lever then classify, fold region options into the claim row.
2026-09-24 08:41:08 -04:00
Christopher Williams fce0feaaba phase11: P11-T1 — plan APPROVED, control records, herdr roster spawned
Plan approved by the developer with all four recommended decisions: milestone 600
(stretch 700), Goal B (the bounded 244-byte-ceiling investigation) in scope, a
4-worker roster spawned by the orchestrator with discretion to scale or retire, and
a compaction-first context policy.

Roster spawned by the orchestrator via herdr in a verified 2x2 grid (tab w1:t4,
~115x31 per pane):
  w1:p5 worker-a 01a0d36a-be1f
  w1:p6 worker-b 01a0d36b-1dc6
  w1:p7 worker-c 01a0d36b-f346
  w1:p8 worker-d 01a0d36c-02f4
All four probed; worker A confirmed context_info works (1.4% at spawn) and that
compact_context is available, which is the mechanical basis for the compaction-first
policy.

phase-ends/CURRENT_PHASE.md rewritten for Phase 11 with the planning finding (the
matched corpus median is 52 B, p90 108 B, max 244 B, and nothing larger has ever
matched), the roster table with herdr pane and intercom ids, the context policy, and
the carried machinery.
2026-09-24 08:38:49 -04:00
Christopher Williams 1aeb78dfb5 phase11: plan — Breaking the 244-Byte Ceiling (DRAFT, requires approval)
Prepared immediately after Phase 10 closure (484 bodies / 493 regions).

THE PLANNING FINDING THAT DEFINES THE PHASE: the matched corpus is n=493 with a
median of 52 bytes, p90 108 bytes and MAX 244 bytes -- NOT ONE BODY LARGER THAN 244
BYTES HAS EVER MATCHED. Against a remaining worklist of 1193 rows:

  <=120 B     115 rows   proven-matchable band
  121-200 B   284 rows   proven-matchable band
  201-400 B   367 rows   partially proven (up to 244 B)
  401-800 B   245 rows   UNPROVEN -- nothing has ever matched here
  >800 B      182 rows   UNPROVEN

So the ~400-450 rows at <=244 B are the finite proven band, and +116 bodies means
matching a quarter to a third of it. The 244-byte ceiling is therefore the real
subject, and the plan states TWO goals: A consume the proven band (the milestone
path), B break the 244-byte ceiling (a bounded investigation with a measured
deliverable, where a result that adds zero bodies is still a met goal).

Structural change: the orchestrator spawns and retires its own workers via herdr
(4 agent panes per tab, 2x2 verified at 115x31 each); the developer spawns only the
orchestrator. Context management changes too: pi-context-tools is installed
globally, so every session has context_info and compact_context -- measurement is
exact and self-service, and COMPACTION replaces rotation as the first response to a
full context, with rotation second. That is only safe because the state lives in
files, so keeping the ledger current becomes a hard requirement.

Four decisions requested: the milestone number; whether Goal B is in scope this
phase; the 4-worker default with orchestrator discretion to add a fifth; and
confirmation of the compaction-first policy.
2026-09-24 08:35:24 -04:00
Christopher Williams 4a731de2d5 phase10: CLOSE — PhaseEnd, digest, verification record, cookbook 41-57
MILESTONE MET AND EXCEEDED: 484 distinct matched bodies / 493 registered regions
(target 475, from the 400 baseline) — +84 bodies. Developer confirmation of the
milestone was requested and given before any close record was written.

Closing checklist all green from clean:
  make clean && make all   exit 0
  cmp                      exit 0
  SHA-1 both files         e173426c157384ebf1b6caf8c6fea18a85a14af9
  make test                237 tests, OK
  make extents-verify      regions=493 disagreements=0 AGREE
  make gate                c_regions=493 differing_bytes=0 MATCH
  registry audit           493 rows, 0 overlaps, 0 unsorted, 0 bad extents,
                           0 missing sources, 484 distinct sources
  worklist                 listed=1193, excluded_already_registered=493
  negatives index          194 rows, address-ordered, 0 registered
  git status --short src/  empty (0 untracked files)
  firewall                 0 prohibited-root paths (591 tracked files)

New records:
  phase-ends/PhaseEnd_Phase10.md      the phase record
  docs/PHASE10_VERIFICATION.md        the verification record
  docs/MATCHING_COOKBOOK.md           findings 41-57 (57 total)
  phase-ends/CURRENT_PHASE.md         CLOSED, with the checklist itemised
  phase-ends/DIGEST.md                the Phase 10 digest entry

The headline finding is methodological (finding 41, THE SIZE-BAND LAW): the matched
corpus median is 48 bytes with 454/459 at <=200 B while the remaining levered rows
had a median of 456 B, and two independent measurements — one controlled — put the
small band at 1-2 attempts per row against 1-in-12 for 200-800 B.

The phase's character: five of the coordinator's own generalisations were bounded by
workers (rare-epilogue class, register-field diagnostic, polarity lever, goto
trigger, load-delay consumer form). The rules that survived are the ones that were
bounded.

Five incidents recorded rather than smoothed over; the candidate gate rejected three
batches and the tracked registry was never corrupted. Scope held: the blocked classes
stay excluded, no scheduler-changing flag was granted, and inline asm was extended
only to shapes C provably cannot express.

STOPPING HERE. Phase 11 does not begin in this session.
2026-09-24 08:24:53 -04:00
Christopher Williams 7971c91abc phase10: ledger — within-worker size-band confirmation, harness-classification model, per-access gp pair
474 distinct bodies / 483 regions, +74 of +75, one from the milestone.
2026-09-24 08:12:04 -04:00
Christopher Williams 475afcd1e7 phase10: ledger — md5 guard's first use, per-site gp double-failure, paired &&/named-boolean rule
471 distinct bodies / 480 regions, +71 of +75, 4 from the milestone.
2026-09-24 08:05:40 -04:00
Christopher Williams 8e1576394e phase10: ledger — shared-namespace collision, the md5 guard, A's stack-switch double proof
Records the 0x800A9C24 collision (coordinator double-assignment: the row was
redistributed to B2 and then chartered to C2), B2's diagnosis that "verify the file
at the path you claim" is necessary but not sufficient because the gap is between
verify and merge, the adopted md5-in-claim-row guard, and worker A's 4 first-attempt
bodies including the second byte-exact stack-switch row that isolates the variable
to an argument move at the call site.
2026-09-24 08:03:08 -04:00
Christopher Williams 39f2091c8a phase10: ledger — A's two levers, B2's limit on the polarity lever, the staging-slip rule, DSE class
Records: worker A's 8 first-attempt bodies and two general levers (two-arm polarity
byte-required; named boolean local forces the branchless compare); worker B2's
limitation of the coordinator's polarity broadcast (both ordinary spellings give the
mirrored branch, so the guard must be a goto); the staging slip the candidate gate
caught (verified finding, wrong file staged) and the standing rule it produces
(verify the file you stage, not a scratch variant); and the dead-store-elimination
class from 0x80016F80.

Third coordinator over-generalisation a worker has caught this phase.
2026-09-24 08:00:52 -04:00
Christopher Williams f61795285c phase10: ledger — size-band experiment, restores_unsaved class, A's falsification of the register-field broadcast, C's self-audit catch 2026-09-24 07:53:37 -04:00
Christopher Williams 06f7ff0268 phase10: ledger — ROM firewall audit for the first push (all 200 commits), developer ruling on instruction headers 2026-09-24 07:46:48 -04:00
Christopher Williams 53365e0df9 phase10: ledger — B's band stop recorded as a yield basis (not the measured criterion), stack-switch asm proven end-to-end 2026-09-24 07:40:22 -04:00
Christopher Williams c6d0ddd831 phase10: ledger — cluster thinning measured, typo failure mode, A's partial retraction, C redirected to named negatives 2026-09-24 07:33:17 -04:00
Christopher Williams e77b744b5f phase10: ledger — merges 8-10, region-option folding rule, false-extent record, leading-indicator ruling 2026-09-24 07:30:21 -04:00
Christopher Williams 3dd4b4537e phase10: cycle-1 merges 1-7 — 432 distinct bodies / 441 regions
32 new bodies from 400, all verified on the candidate whole-binary gate before
promotion. SHA-1 e173426c157384ebf1b6caf8c6fea18a85a14af9 stable.

Registry requests granted (each byte-verified with a failing control):
  cc1=-G8 on 0x800A6BEC; gp=-D_80121B88 on 0x80015D50
  symbols D_80122700, D_80122704, D_80121AD4 (gp)

Harness: per-region maspsx modes wired through sf3_match (maspsx=noreordernop,
maspsx=regread) plus --no-jump-slot-nop/--nop-on-reg-read for range. Both are
opt-in and default-off; make check green at 441 with them off, suite 229 -> 232
tests. Carried as a TRACKED patch (tools/patches/maspsx-phase10-r1r2.patch)
because tools/maspsx/ is git-ignored, so an in-place edit would not survive a
fresh clone; patch verified to reproduce the working tree byte-identically.
R1/R2 are recorded as a MEASURED NEGATIVE: neither closes a region (cookbook
finding 40 has the mechanism and the remaining developer-owned route).

Docs: cookbook finding 40 (rare-epilogue mechanism + why the obvious maspsx fix
fails); SETUP.md maspsx patch provenance and apply step.
Negatives: 0x8010AA28 imported; index sorted by address (140 rows, 0 registered).
Full clean audit green: make clean && make all exit 0, cmp exit 0, both SHA-1
match, registry 441/0 overlaps/0 bad extents/0 missing sources, 0 firewall.
2026-09-24 07:21:56 -04:00
Christopher Williams 26bd9e1f17 phase10: ledger — worker B finding 22 sharpened (commutative + operand order drives local-alloc), claim 1 verified 2026-09-24 06:56:57 -04:00
Christopher Williams dd15442e09 phase10: control-record corrections — symbol count 380 (not 392); record empty-merge pipeline pre-validation 2026-09-24 06:51:50 -04:00
Christopher Williams 5c1212b837 phase10: ledger — P10-T1 close + cycle-1 dispatch (family-set map, 3-way partitions)
- P10-T1: baseline revalidated (make check exit 0, 409 regions AGREE,
  c_regions=409 differing_bytes=0 MATCH, 229 tests OK, SHA-1 stable).
- Probing: all three sessions pass; roster deviation (3 workers) recorded and
  developer-approved.
- Worklist regen: listed=1343, excluded_already_registered=409; byte-identical.
- Negatives index: dropped 6 already-registered rows (145 -> 139, 0 registered);
  exclusion arithmetic now reconciles exactly (0 survivors into the worklist).
- Partitions: a=448 b=448 c=447, disjoint, union == worklist.
- Cycle-1 dispatch aid (ignored .run/p10): family-set map over static jal/j
  targets. 378 worklist rows call an already-registered function (P1 pool).
  Found+fixed a little-endian payload decode bug and a call-site double-count.
- Charters dispatched to all three workers, 12-claim cycle target each.
2026-09-24 06:51:25 -04:00
Christopher Williams 0557281ed4 phase10: P10-T1 — control records, baseline revalidation, negatives reconciliation, partitions
- Phase10_PLAN.md status DRAFT -> APPROVED (Goal A, 475 bodies, 70-80% ctx cap)
- phase-ends/CURRENT_PHASE.md: Phase 10 control record
- config/near_match_negatives.tsv: drop 6 rows that were already registered
  (index header says every row is UNREGISTERED); index 145 -> 139 rows, 0 registered.
  Worklist regenerates byte-identically after the fix.
- Baseline revalidated at 25bf4a3: make check exit 0, regions=409 disagreements=0
  AGREE, c_regions=409 differing_bytes=0 MATCH, 229 tests OK, SHA-1 stable.
- Worklist regen: listed=1343, excluded_already_registered=409 (= registry size).
- 3-way partitions in .run/p10 (448/448/447, pairwise intersection 0, union == worklist).
- Roster deviation recorded and developer-approved: 3 workers, not the plan's 2.
2026-09-24 06:48:00 -04:00
Christopher Williams 25bf4a30ec phase9: CLOSE — PhaseEnd, digest, ledger archive, Phase 10 plan, verification and protocol records
Phase 9 closed at 400 distinct bodies / 409 regions (from 149/158), all
gates green from clean: CMP_OK, SHA-1
e173426c157384ebf1b6caf8c6fea18a85a14af9, 229 tests, make gate
c_regions=409 MATCH, extents-verify AGREE, worklist listed=1343 with
excluded_already_registered=409, firewall 0, src/ 0 untracked.

Milestone partially met (400 of 500): the blocker is recorded with per-class
evidence (tier-1 tie-break domination, class disjointness, measured rate
decay) per the plan's Or branch. PhaseEnd_Phase9.md, digest entry, and the
ledger archive (logs/Phase9.md) written. docs/PHASE9_PROTOCOL.md (scale-run
retrospective: queue fix, tier-2 pivot, family-set lever, rotation
discipline, leading-indicator rule, measured budget), docs/PHASE9_VERIFICATION.md
(all gates, incidents, class exclusions), cookbook findings 29-39,
conventions additions, README updated to 400/409.

Phase10_PLAN.md drafted (Goals A/B/C: tail squeeze vs library-boundary
investigation, developer decisions enumerated) — requires explicit approval
before any Phase 10 task; no Phase 10 work begins in this session.
2026-09-24 06:35:47 -04:00
Christopher Williams 04289b94f6 phase9: ledger — B's encoding-trap synthesis, phase status at ~87% ctx 2026-09-24 02:54:57 -04:00
Christopher Williams 1e2929c128 phase9: ledger — cycle-4 close: 400-body milestone met 2026-09-24 02:54:25 -04:00
Christopher Williams 1f79de4a24 phase9: ledger — milestone-close directive, coordinator 86% endgame 2026-09-24 02:50:33 -04:00
Christopher Williams 8b1d372997 phase9: ledger — re-partition + B's leading-indicator rule 2026-09-24 02:48:45 -04:00
Christopher Williams 89185e88e5 phase9: ledger — cycle-4 392 bodies, yield-thinning action 2026-09-24 02:47:57 -04:00
Christopher Williams 51ced85b08 phase9: ledger — 400-region milestone crossed, 391 bodies 2026-09-24 02:46:13 -04:00
Christopher Williams 4405bb7e68 phase9: ledger — cycle-4 390 bodies, family scan 3rd payoff 2026-09-24 02:45:14 -04:00
Christopher Williams 1d3a307ea8 phase9: ledger — cycle-4 389 bodies, family-as-a-set lever 2026-09-24 02:42:42 -04:00
Christopher Williams 47e56eb2ff phase9: ledger — cycle-4 385 bodies 2026-09-24 02:40:43 -04:00
Christopher Williams 811af05171 phase9: ledger — B's pre-screen correction, name-keyed gp finding 2026-09-24 02:36:46 -04:00
Christopher Williams 4620187199 phase9: ledger — primitive-init family exclusion, B's 0-for-3 numbers 2026-09-24 02:33:59 -04:00
Christopher Williams bad3982984 phase9: ledger — B's tracked-deletion incident, the ls-files rule, independent verification 2026-09-24 02:29:26 -04:00
Christopher Williams 91e008623e phase9: ledger — C rotation closed, B surgical picks corrected 2026-09-24 02:28:19 -04:00
Christopher Williams 000b380bf1 phase9: ledger — worker C rotation (measured, clean handoff) 2026-09-24 02:27:18 -04:00
Christopher Williams c4923e1440 phase9: ledger — cycle-4 380 bodies 2026-09-24 02:24:10 -04:00
Christopher Williams e6bef47d32 phase9: ledger — cycle-4 378 bodies 2026-09-24 02:20:24 -04:00
Christopher Williams 57a9640fd2 phase9: ledger — cycle-4 372 bodies 2026-09-24 02:16:59 -04:00
Christopher Williams b5e53ffe3d phase9: ledger — cycle-4 367 bodies, shape-grouping note 2026-09-24 02:14:35 -04:00
Christopher Williams 71d079cbb6 phase9: ledger — dependent-claim rule, C's gp-arithmetic fix 2026-09-24 02:11:26 -04:00
Christopher Williams da972a6fe2 phase9: ledger — cycle-4 363 bodies, rare-epilogue model confirmed, bad-claim isolation 2026-09-24 02:07:11 -04:00
Christopher Williams c738b97698 phase9: ledger — rare-epilogue consequence corrected (worker B falsified the skip; three-way model) 2026-09-24 02:04:04 -04:00
Christopher Williams 942beee61c phase9: ledger — rare-epilogue class census: 47 tier-2 rows (definitive) 2026-09-24 02:01:42 -04:00
Christopher Williams ce1e2f83fb phase9: ledger — cycle-4 352 bodies, F22/F23 findings 2026-09-24 01:58:05 -04:00
Christopher Williams 8300f855a5 phase9: ledger — cycle-4 349 bodies, gate-incident and F19 recurrences 2026-09-24 01:52:48 -04:00
Christopher Williams a23222dcfb phase9: ledger — hygiene catch (registry sources must be committed) 2026-09-24 01:47:03 -04:00
Christopher Williams 99626648b3 phase9: ledger — context rotation plan, maspsx limitation 2026-09-24 01:46:02 -04:00
Christopher Williams 523b901eb3 phase9: ledger — rare-epilogue census (16 sites, library band) 2026-09-24 01:40:23 -04:00
Christopher Williams e149ad1880 phase9: ledger — cycle-4 337 bodies at the tier-2 pivot 2026-09-24 01:35:10 -04:00
Christopher Williams 0a41a5ded6 phase9: ledger — cycle-4 tier-2 three-way volume 2026-09-24 01:31:38 -04:00