Skip to content

Project Status — Prima Materia

Canonical living status doc. State summary (top) is rewritten in place each session; Session log (bottom) is appended newest-first. Dated Status-*.md snapshots, if any, are frozen history.


State summary

▶ Now: the testing plan and the first batch of slice defects are merged; CI is blocked by the Actions budget (2026-10-31)

All 38 rulings from the 2026-10-02 audit (AUDIT-2026-10-02.md) are made, recorded in their canonical design docs, and merged (#107 to #151). One line per ruling is in the rulings log.

  • Merged since 2026-10-08: #157 (CI runners pinned to ubuntu-24.04; both test runners fail a method that hits a SCRIPT ERROR), #158 (the older lists folded into ROADMAP.md), #159 (the testing plan, L0 backfill, and the HexGrid / SkillAffordability / TargetResolver extractions) and #160 (ten slice defects). No pull request is open.
  • CI has verified none of it. Every workflow run on main since #157 merged was not started, because an Actions budget blocks further use until 2026-11-01. The ubuntu-24.04 pin has never run.
  • Suites, as each PR reported against main before it merged: #159 logic 1133 methods / 2948 checks / 0 failures, scene 200 / 606 / 0; #160 logic 1034 / 2346 / 0, scene 211 / 637 / 0, 0 SCRIPT ERROR. Neither suite has been run on main with both merged. Since #157 a method that hits a SCRIPT ERROR fails in both runners, so "ok" no longer hides a test that stopped part-way.
  • docs/testing/PLAN.md exists (#159): GAP-001 to GAP-063, ranked. Seven items wait on the owner under "Needs ratification". It records seven suspected defects, not fixed, the worst being that taunt never redirects (GAP-043).
  • #160 left five questions for the owner (Crimson Vessel and Bleed already held, Thunderfist's stat cut under the new Disrupted, Skyline timing against R2, the telegraph line's length, log lines that still print the raw amount). They are in the PR.
  • Nothing built since the audit has been looked at in a window. Hex picking, pillar attacks, the greyed-out skill rows, the Test Lab's boss entries and Momentum pickers, the new keys, the debug-only test button and now the boss telegraph on the turn preview are covered by headless tests only. The list is under Verification debt.
  • Balance has moved under every number and nothing is re-tuned. The party has 120 to 180 more HP each, enemies spend all their AP and hit the whole party with area skills, and ranges, durations, Break and gauges all changed. The list is under Balance.
  • ROADMAP.md is the one place for what comes next, and the older lists are now folded into it (#158). Every entry carries a horizon; the horizons on individual entries are proposals the owner has not confirmed. Entries done by #157, #159 and #160 are not yet marked done (among them the Ubuntu 26 check, "Run the testing-plan skill", the Test coverage and refactors entries, Crimson Vessel's Bleed immunity, the boss telegraph, Skyline, the Harmony heal event and the scene-runner line under Verification debt).

To pick this up, start from the handoff and the four PR descriptions above.

Next, in order:

  1. After 2026-11-01, confirm the three workflows run green on main on ubuntu-24.04.
  2. Mark the ROADMAP entries done by #157, #159 and #160; ratify PLAN.md's seven items and answer #160's questions.
  3. Look at the game in a window, against the verification-debt list.
  4. Re-tune.
  5. Design Vaughn's missing kit (he has no skill that Marks, hits several enemies or grants), and write the legibility UI spec. Both are slice.

Decided and not built: attrition between fights is the target (R25) and waits on a design for rest, revival, items, charges and saving.

Parked: - The turn-timeline UI spec on feat/turn-timeline-ui, critiqued ×3, awaiting owner review. Turn order has had no randomness since R5, so that timeline can be exact. - The per-character technique review, paused at Cyrus, on the pushed branch docs/technique-review-pickup (no PR). That branch also carries the 2026-10-18 and 2026-10-26/27 session entries for this file and their handoffs, none of which is on main. Its State summary edits will conflict with this one when it is merged.

The lore extraction is done and merged, and the wiki is live again. docs/worldbuilding/ is a git submodule on adbarc92/prima-lore (private, history preserved). Issue #98 is closed. The published wiki at disruption.alexanderdbarclay.com is serving correctly for the first time since at least 2026-07-25.

⚠️ A plain git clone leaves docs/worldbuilding/ empty. Run git submodule update --init --recursive. Editing lore is a two-repo operation — push inside the submodule first, then commit the pointer here.

GitHub Actions: blocked again by the Actions budget

The billing block that stopped every run from 2026-08-10 lifted by 2026-10-02, and all three workflows passed on main on 2026-10-08. Since at least 2026-10-27 every run fails without starting ("an Actions budget is preventing further use"), until 2026-11-01. #157 to #160 merged unverified by CI. Separately, ubuntu-latest moved to Ubuntu 26 on 2026-10-19; #157 pins all three workflows to ubuntu-24.04 until a green run on Ubuntu 26.

The wiki: built and published by Actions

Three separate faults kept it dark, all now fixed:

Fault Cause Fix
Build failed since ~2026-07-25 Pages dashboard build command omitted mkdocs-git-revision-date-localized-plugin, which mkdocs.yml requires Build moved into Actions, deps from wiki/pyproject.toml (#102)
Build would fail after the split Cloudflare cannot clone a private submodule — fails closed at checkout PAT-authenticated checkout in Actions (#102)
Site shipped with no CSS/JS, and 10 pages 404'd exclude_docs: assets/ also matched the Material theme's output; and Characters.md vs characters/ collided on case Scoped to assets/ui/ (#103); overview renamed to Characters_Overview.md (#104, prima-lore#2)

The Actions build works as of 2026-10-08 (#151). Two faults had kept Deploy Wiki red on every run since the lore split: LORE_PAT did not exist, and the workflow passed that prima-lore-only token to the main checkout as well, which fails with a 403. The secret is now set, and the workflow clones this repo with the default token and checks out prima-lore separately with LORE_PAT. mkdocs build --strict runs on every pull request that touches docs/ or wiki/.

Actions publishes it as of 2026-10-08. The owner added CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID; the first automated deploy ran when #155 merged (dde278f) and the live site served that day's content. A push to main that touches docs/ or wiki/ now deploys; pull requests build and never publish. The hand deploy of 2026-08-23 is retired.

To know about the published site: - ROADMAP.md, STATUS.md and canon/ are public. wiki/mkdocs.yml does not list them under exclude_docs, so they are built into the site. Not ruled either way. - The Pages git integration no longer builds pull requests. #155 carried a failing "Cloudflare Pages" check; #156, opened after the owner changed the setting on 2026-10-08, carries none. If that check comes back on a pull request, the setting has been undone.

The Pages project is named disruption and still points at the pre-rename URL github.com/adbarc92/Disruption, working only via GitHub's rename redirect. The directory rename itself has landed (#97); the Pages project's repo URL was not part of it and is still to fix.

Merged 2026-08-22/23

PR What
#99 The extraction + submodule mount (closes #98)
#100 Two pre-existing broken links
#101 Class-composition ruling, game side
#102 Wiki build → GitHub Actions + Wrangler, --strict on
#103 Theme assets no longer excluded from the build
#104 Follow the Characters_Overview rename
prima-lore#1 portable/Class_Composition.md
prima-lore#2 Characters.md → Characters_Overview.md

Rulings taken:

Decision Ruling
Extraction scope Full corpus — all 35 files
History mechanism git subtree split — 41 commits carried over
Outbound links (lore → game) Absolute GitHub URLs
Design_Charter.md Travels with the lore
docs/portable/ kit Moved to the lore repo, duplicates retired
worldbuild skill Stays out of both repos — belongs in ClaudeKit
Class composition Form-gated composites

Done: the Disruption → PrimaMateria directory rename (handoff, path updates in #97). Left over from it: the Cloudflare project's stale repo URL (above).

Open / not done: - The Pages project's stale repo URL (see "The wiki" above). - ⚠️ Reconcile class composition with the paradigm-expansion thread. That thread has a settled model and a proposed roster awaiting sign-off (handoff) and was not visible when the Form-gated model was ruled. Check them against each other before either is written to canon. - No role carries a Form tag. Blocks the class-composition instantiation entirely — none of the 23 legacy hybrids can be validated. Tracked in Design_TODO.md. - prima-tactica (the sibling game — a live project, not empty as first assumed) has not had the submodule mounted. - Submodule pinning policy is the git default — a fixed commit, bumped by hand. - docs/story/ never moved, though #98 listed its world-facing parts as belonging in the lore repo. All 24 files are still here. Needs a ruling either way.

The load-bearing idea in both charters is the quarantine: the Disruption zone is one deranged configuration of the world, not the world. Design_Charter.md Part 4 (systems) and World_Charter.md Part 6 (fiction) are the same boundary seen twice and must be kept in sync. Both live in the lore repo.

⚠️ Unexplained file loss (2026-08-22, unresolved). docs/portable/ was created, verified intact, then found completely deleted minutes later with no command having removed it. Cause unknown — possibly an external sync/AV process on the D: drive. Commit early; verify after long unattended stretches. No recurrence since.

Combat / code state

TL;DR: The drift-reconciliation stack is merged: PRs #92–#95 landed 2026-07-25 (docs stack, Lane 1, Lane 5, Lane 2 + per-tile movement + canon amendments), putting 16 of the 24 drift findings closed on main @ 0a2c756. All five register conflicts are resolved. Two findings of code work remain — Lane 3a (AP-REQ-035, BD-REQ-004); five findings are deferred as unreachable (an authoring pass that lands code + data together); three are out of scope.

Reconciliation progress (design: docs/superpowers/specs/2026-07-24-canon-drift-reconciliation-design.md):

Lane Findings Status
1 — stat substrate + save gates TRC-REQ-001/-002/-004/-005, SE-REQ-002, SE-REQ-022 DONE c89c54a
5 — data authoring + Eruption guard CM-REQ-060/AP-REQ-027, AP-REQ-031, MECH-3, MO-REQ-007 DONE 07104ba
2 — equipment charges (+ SE-REQ-040 ordering) CM-REQ-024/EQ-REQ-029, CM-REQ-071, SE-REQ-040 DONE 313108b
4a — per-tile movement (live, risky) CM-REQ-017 DONE 7f97aa0
4b — canon-only amendments CM-REQ-012, SE-REQ-030 DONE 96a34d2
3a — reachable wiring AP-REQ-035, BD-REQ-004 the only code work left
🚧 authoring pass — unreachable WB-REQ-045, CM-REQ-037, SE-REQ-040 applier, CM-REQ-070, MO-REQ-015 deferred → Design_TODO

All DONE lanes merged 2026-07-25: docs stack #92, Lane 1 #93, Lane 5 #94, Lane 2 + 4a/4b #95.

Suite: L1 762/1885/0 → 799/2127/0; L2/L3 scene 31/83/0 → 43/109/0, with 0 did-not-execute. The scene runner now also fails a test that records no assertion at all — three movement tests were found passing vacuously after a runtime error aborted them mid-method, the same class of failure this repo hit once before with vacuous L1 tests.

⚠️ Two findings about the drift report itself, now recorded in its header: 1. All four of its "Suggested reconciliation" lines are wrong (two no-ops, one structurally impossible, one that would have made its bug worse), plus two more suggestions embedded in finding bodies. Only 4 of 24 findings carry a suggestion at all. It is a reliable detection artifact and an unreliable prescription one — verify every fix against code before acting. 2. Five findings are UNREACHABLE, not divergent — a built engine with nothing to trigger it (Hardening: no data sets chip_close_behaviour; shield resist maps: no skill grants shields; Quickened: no applier; Lione Inscribe: no skill sets inscribable; Paidi Sync: no emitter). Fixing their code changes nothing observable, so they are grouped into a single authoring pass that lands code and data together.

Earlier context. The 2026-07-23 session was housekeeping + documentation, not features: the repo gained a routable codebase map at docs/canon/ and, for the first time, a systematic canon-vs-code drift report — 24 confirmed divergences, several load-bearing.

Readiness: all 9 characters playable in the Test Lab; Phase 1 + Phase 2 combat wiring is merged and behaviorally live-validated. But the drift audit shows the design-doc parity picture was narrower than believed — parity had only ever been checked against Status_Effects.md, not against the whole canonical set.

The drift picture (new — read docs/canon/requirements/drift-report.md): - ~~Critical — the numeric substrate.~~ RESOLVED (Lane 1). A sixth score resilience was added (not a resonance remap); accuracy/evasion/resistance are amended to tabletop-only; and the absence of a hit/miss roll is now recorded as a deliberate design call, not a gap — whiff-misses punish spending AP to open Break axes. - ~~Systemic — save gates.~~ FIXED (Lane 1). The "one fix closes all six" framing was the trap: centralising the gate in StatusEffectManager.apply_status is structurally impossible and would have broken four working features. The gate lives in presentation, allowlisted to seven seams. - Exploit — equipment charges. 7 of 13 gear-granted skills spend no charge (all 5 Shifting Blade skills, in Cyrus's default loadout). Separately, role/gear skill overlap makes Phaidros's and Vaughn's "gear" skills permanent and free once unequipped. - Dead-on-arrival mechanics. Quickened can never fire (expired before its own nudge check, and nothing applies it). Paidi's default Momentum has no emitter. Lione's Inscribe is unreachable and has no persistence path. Five statuses have complete consumers but no applier. - Presentation. No resistance-chart UI exists anywhere — Absorb heals the enemy and the player cannot see it coming. Recipe/Conduit/Heat/Win-Lose boss state has no persistent UI.

Spec conflicts: - ~~C1~~ RESOLVED (Lane 1/D1) — the d20 rendering governs the CRPG; the percentile family is tabletop-only. C5 (Staggered: turn-loss vs N-slot delay) was newly filed and resolved to turn-loss; its Status_Effects.md text amendment lands with Lane 4. - C4 — charge-mode naming. stoic/warrior/victor/opportunist (data) vs Berserker/Guardian/Tactician/Opportunist (doc Open Questions). Root CLAUDE.md has been corrected to the shipped set.

Known gaps (intentional / deferred): Transcendent & Unraveling (Adam-signature, no applier — the accepted deferral); Break Hardening/Obstinate engine present but no enemy data sets close_behaviour; 4 deferred Momentum triggers; the entire Trial boss archetype built and inert; zone gating / Consumption meter unbuilt; no controller input bound anywhere; combat HP/MP does not persist between fights.

Next steps (the short now list; everything else is in the roadmap): (00) Merge the open ruling PRs (#111–#123) from the bottom up, then continue the rulings at R15 — handoff. (0) Send the Prima Tactica reconciliation prompt. The shared rules layer now exists at prima-rules (private), founded on the Shared Universe Law. design/portable-mechanics-extraction is merged (#106, 2026-08-29), so the prompt's §14.1 links to main resolve. The 08-28 onboarding brief is superseded (it assumed prima-tactica was empty; it is a live project). (superseded next-step, retained for context) — brief. The highest-value follow-on is tagging the 32 primitive roles Form-bound(X)/Form-neutral — until it lands, Class_Composition.md is authoritative law that cannot validate a build in either project. (1) Combat-backbone: the character-kit seam (absorbs Lane 3a) — design spec critiqued through the 3-round adversarial gate (28 findings incorporated) and committed on feat/character-kit-seam (da4e0fa); awaiting user spec review, then a slice-1 implementation plan. AP-REQ-035 and BD-REQ-004 land through its slices — see the spec and handoff. (2) The unreachable-findings authoring pass (code + data landing together: Hardening close_behaviour data, shield-granting skills, a Quickened applier, Lione Inscribe, Paidi Sync emitter) — filed in Design_TODO. (3) The two standing work briefs remain open and are now corroborated by the map: testing-gaps audit and UI critique. (4) The legacy salvage promote-to-canon review (~44-item ledger, Sections A–G) is landed and open for its collaborative decision pass. (5) Design-side: the paradigm-expansion thread has a settled model and a full proposed roster awaiting user sign-off before any canon write — see handoff.


Session log

2026-10-31 — The testing plan and slice-defect batch 1 merged

Merged #159: the first docs/testing/PLAN.md, seven L0 characterisation files (76 methods) for the gaps it ranks highest, and three behaviour-preserving extractions (hex_grid.gd, skill_affordability.gd, target_resolver.gd), each with its own test. Merged #160: ten defects whose fix canon already settled, each its own commit (Disrupted lasts until the next Skill cast, apply_status and thrown items chip Break, boss starting terrain, dead speed_per_agility removed, Wide Cleave's telegraph, the telegraph on the turn preview, damage numbers after mitigation, Crimson Vessel blocks new Bleed, Take Flight raises Skyline, the Harmony heal raises heal_resolved). Also merged on 2026-10-29 with no entry here: #157 (CI pinned to ubuntu-24.04; runners fail on SCRIPT ERROR) and #158 (older lists folded into ROADMAP.md). The status write-up was missed at merge time and was written later from the PRs. State delta: no PR open; nothing verified by CI (Actions budget); suites not re-run on main with both merged; seven suspected defects recorded in PLAN.md and five owner questions on #160; ROADMAP entries done by #157, #159 and #160 still unmarked.

2026-10-08 (later) — Wiki CI fixed; the ruling stack merged

Deploy Wiki had failed on every run since 2026-08-23. Three causes, found one behind the other: LORE_PAT was never created (owner added it); the workflow gave that prima-lore-only token to the main checkout too, a 403 (now two checkouts, one token each); and three links added to design/combat/archetypes/ by R20 and R37 were written relative to the file, where snippet links resolve from the page that includes them, so --strict aborted. All fixed in #151. The owner then merged the whole stack (#111–#151); it reached main as one push (f819a95), not one per pull request. Merged branches deleted, local and remote. The owner then added the two Cloudflare secrets, and merging #155 ran the first automated wiki deploy. State delta: all three workflows green on main for the first time; the wiki is built and published by Actions; nothing in flight.

2026-10-08 — Handoff written

Wrote the handoff for whoever picks this up after the stack is merged: the merge procedure, the window checklist, the questions waiting on the owner, and the calls made beyond what was ruled. State delta: none in code; 41 PRs open (#111–#151).

2026-10-05 to 10-08 — Rulings R15–R38: the queue is finished

Worked the remaining 24 rulings one question at a time, each tested first where it had code, each its own stacked PR (#125–#150). Mechanics, R15–R30: the Apotheosis forms and signature kits (R15–R21), Momentum caps (R22), hex targeting, line skills and attackable walls (R23, two PRs), HP sources and gear HP (R24), between-fight carry (R25), the boss (R26, two PRs), soaked hits and front-row scope (R27), Disrupted and Restrained (R28), enemy AI with a new canon doc Enemy_AI.md (R29), keys and the test button (R30). Horizon stamps, R31–R38: the slice / roadmap / cut vocabulary and the Test Lab baseline (R31), then the campaign layer, reactions, legibility UI, player-choice surfaces, unbuilt kit promises, missing sources, and roles and progression. Three answers were the owner's own words, not a listed option: terrain and traps can chip (R12), attrition is the target but must be planned first (R25), and Vaughn's first Momentum is attacking a Marked opponent (R37). Found along the way and recorded, not fixed: the scene runner passes a test that errors part-way; Disrupted lasts one turn where canon says until the next cast; a boss encounter's starting terrain is never placed. State delta: suites 922/2221 → 1021/2339 (logic) and 130/389 → 200/606 (scene) at the top of the stack; 40 ruling PRs open (#111–#150) plus this status update; 0 rulings left; nothing seen in a window; nothing re-tuned.

2026-10-02 to 10-05 — Rulings R8–R14: the core rules are complete

Continued the rulings one question at a time, each tested first and opened as its own stacked PR: R8 #117 (stat changes are immediate; Agility reaches turn order at the next re-queue), R9 #118 (a re-applied status takes the newer effect and the longer time), R10 #119 (Disease spread is saved and both-sided; Burning does not jump), R11 #120 (a tick is flat, stacked and credited to its applier), R12 #121 (what touches the Break track), R13 #122 (an area skill is one action), R14 #123 (Staggered is Break only). The owner added to one recommendation: terrain and traps can chip a Vulnerable axis (R12). Seeded ROADMAP.md, the single roadmap file the repo was missing, with the follow-ups the rulings turned up; the older lists are not folded in yet. State delta: suites 886/2197 → 922/2221 (logic) and 102/334 → 130/389 (scene) at the top of the open stack; 13 PRs open (#111–#123); 24 rulings left.

2026-10-02 — Work audit, housekeeping, rulings R1–R7

Audited the previous session's work (both suites re-run green; the 920-line source diff read, no blocker), then committed it as a stack on the owner's instruction: docs #107, fixes #108. Looked at the scrolling skill list in a real window (it works; 5 of 21 rows show at a time). Then worked the rulings one question at a time, each recorded in its design doc, tested first, and opened as its own stacked PR: R1 #109, R2 #110, R3 #111, R4 #112 (docs only), R5 #113, R6 #114, R7 #115. The owner departed from the recommendation twice: riders still land on a killed target (R1), and ranged was folded into distant instead of kept as an alias (R3). Three rules were added while implementing and are flagged in their PRs: Defend needs 1 unspent AP (R6); an ownerless tile effect counts the first living party member's turns, and Quickened is consumed when it nudges (R7). Housekeeping: handoff index gained six missing rows, three stale STATUS statements corrected, the lore submodule bumped to 11372c5, merged branches deleted locally and on the remote, issue #6 closed. State delta:

107–#110 merged; suites 850/2161 → 886/2197 (logic) and 82/281 → 102/334 (scene) at the top of the

open stack; 31 rulings left. Found and not fixed: speed_per_agility in the config is not read by the turn queue (noted for R8); project.godot says 0.1.0 while the latest tag is v0.2.0.

2026-10-01/02 — Turn-timeline spec; behavioural audit; pre-ruling fixes

Started as a turn-order UI design: spec written and critiqued ×3, committed on feat/turn-timeline-ui (37fbd6f), awaiting review. Its code reading turned up bugs, which led to a ten-lane read-only audit aimed at what the requirements-vs-code audit cannot see: 77 distinct defects, 7 reproduced in the booted scene, plus tests that could not fail. Everything not waiting on a ruling was then fixed test-first: 20 of the numbered defects in whole or part and four smaller ones, a data-contract ratchet test, a vacuous-pass guard for the logic runner, a fix for the runner hanging on an unloadable test file, and every tautological assertion under godot/tests replaced. State delta: suites 799/2127 → 850/2161 (logic) and 43/109 → 82/281 (scene), all green, uncommitted on fix/combat-action-and-spawn-bugs; 38 rulings queued. Artifacts: audit, rulings handoff.

2026-08-29 — The Shared Universe Law; prima-rules founded; Tactica prompt rewritten

The creative philosophy got articulated and codified. The model: the world is a superset; each game is a window into it. Six laws — independence is the default; cutting is windowing not deletion; shared canon is the intersection not the union; propagation triggers on contact not existence; gameplay leads and diegesis is a debt always paid (one world-fact, plural expressions); reuse is an offer never an obligation. Early-Cosmere: shared substrate, standalone ventures.

prima-rules created (private), deliberately thin per L3: Shared_Universe_Law.md, Project_Artifacts.md (window manifest / local canon / diegesis ledger), Changelog.md, README. §14.1 was NOT promoted into it — under L3/L4 the catalog is this project's offer until a sibling takes from it; promoting it on founding would have broken the repo's own first law.

Reversals locked in. D9's "thick base class" is dead — thickness pushes one project's inventions onto its siblings, which L1/L6 forbid. The "abstract base class" metaphor goes with it: the corpus is a library a project shops from, and preconditions describe fit, never duty. §14.1's language was corrected accordingly, and OPEN now means "do not silently resolve this in a way that binds the others" — not "do not proceed."

A false alarm, corrected. Prima Tactica authored a sixth Form (Courage/Agency) on 2026-08-25, and lore/ says five. This was first read as a canon fork needing repair. It is not. Under L4 there is no contact — Prima Materia never references a sixth Form — so it stays local to Tactica and lore correctly keeps five. It is the worked example in the Law. Tactica's own note saying it "must be logged in lore/Changelog.md" is wrong and the new prompt instructs correcting it.

Discovered: prima-tactica is not the empty repo STATUS has been claiming. It is live — sim/presentation split with CI purity checks, three-curve resource model, save/load, ~260 tests, lore/ already mounted, and content/roles.json shipping a working binding/form tagging schema. That last is a promotion candidate: this project's 32 primitive roles are untagged, which blocks its class-composition instantiation entirely, and Tactica has a proven schema.

The 08-28 onboarding brief is superseded by a reconciliation prompt that does the job that actually exists: mount prima-rules, adopt the laws, correct the propagation errors, and reconcile existing mechanics against lore — with the preference order stated explicitly: write new lore → inform existing lore → cut the mechanic only if genuinely unavoidable.

2026-08-28 — Portable mechanics extraction: Stage A shipped; Prima Tactica handoff written

Goal: do for mechanics what #98 did for lore — a shared canon three games build on rather than fork (this CRPG, the co-shipping tabletop game, the pre-production Fire-Emblem-like prima-tactica).

Design + three adversarial critique rounds — spec, Revision 4. The rounds materially changed the answer, twice. Round 1 killed an abstraction rule that computed the intersection of three implementations and emptied the corpus. Round 2 found docs/canon/ had never been opened (six contradictions), that a Round-1 "fix" had made things strictly worse, and that a far cheaper path existed — forcing a two-stage restructure. Round 3 caught that the warrant for that restructure rested on a misquotation, and that one planned step would have done permanent harm in a shared repo. All applied.

Stage A shipped (in place — no new repo): - Combat_Mechanics.md §14.1 — a mechanics-keyed portable catalog: 17 members, a 9-tag precondition vocabulary, observer cost, authority tier. Keyed to mechanics, not sections, because single §14 rows (Status, Battlefield) split into members with different requirements. - Portability map: gained its 9 §9 Break rows (owed since Break was promoted) and had 11 of 34 rows renumbered off pre-Break numbering — they were off by one, and the merge keys on them. - Ownership written into both docs so they cannot fork: the map owns portability verdicts + transformation recipes (43 element rows); §14.1 owns preconditions + authority (17 mechanic rows). - Routing repaired: 11 canon module docs gained a Portability back-pointer. index.json routes code globs only and never reached the design layer. - Canon corrections: the damage-taxonomy code/doc mismatch is closed — shipped DAMAGE_TAXONOMY is exactly the design's 4 families × 15 subtypes; the stale FLAME/RAIN/STONE warning is deleted and canon/modules/data-layer.md's "13-subtype" count (wrong twice) is fixed. - mkdocs build --strict green locally. CI still cannot verify anything (billing). (Later lifted: Actions was running again by 2026-10-02; see "GitHub Actions runs again" above.)

Stage B (a prima-rules submodule) deliberately NOT built. Gate: a real second implementation exercising a precondition. Deriving the partition with one implementation over-fits it — the critique rounds caught four wrong partition calls across three revisions, which is the evidence for waiting.

Handoff written: prima-tactica brief — pasteable whole into a fresh session there. Covers submodule setup, reading order with authority levels, how to consume the catalog (declare shape → inherit), the hard constraints, the known blockers, and the reconciliation back-channel (what flows to prima-lore vs. here, and how).

Known state to carry forward: §14.1 is combat-only — progression is a single OPEN row, and Class_Composition.md remains inert because no role carries a Form tag. A Tactica agent can design combat today and cannot validate a class system. Tagging the 32 primitive roles is the cheapest work with the largest effect on the stated goal.

2026-08-23 — Wiki resurrected: three faults fixed, deployed by hand

Picked up from the extraction merges. The wiki had never built successfully; diagnosing it turned up three independent faults, two of which would have shipped broken through CI as well.

  1. Missing plugin in the Pages build command — the dashboard ran pip install mkdocs mkdocs-material, omitting mkdocs-git-revision-date-localized-plugin that mkdocs.yml declares. Every build aborted. The documented command always had it; the dashboard had drifted, invisibly, because a build command in a dashboard is not reviewable.
  2. The theme's own assets were excluded (#103). exclude_docs carried a bare assets/, intended for one source image, which also matched assets/stylesheets and assets/javascripts. 61 files built instead of 103 and every page linked CSS that 404s. It emits no warning and --strict stays green, so nothing caught it for two months.
  3. A filename case collision (#104, prima-lore#2). Characters.md and characters/ differ only by case, so a Windows build merged them and emitted the character pages under Characters/ while the nav linked lowercase characters/. All ten 404'd on the case-sensitive host, and Windows hid it completely — mkdocs serve resolves either case. Renamed the overview to Characters_Overview.md to remove the collision at its source.

Deployed manually with wrangler pages deploy, which Cloudflare accepts even for a Git-connected project. Production now serves all 56 pages, styled, with every character page reachable. This is a stopgap: the Actions workflow is the intended path and is blocked on billing. (Later lifted: Actions was running again by 2026-10-02, and from 2026-10-08 it built and published the wiki; see "GitHub Actions runs again" and "The wiki" above.)

Also merged: #103, #104, prima-lore#2, plus the #99/#100/#101/#102 stack and prima-lore#1 from the preceding session. Issue #98 closed.

State delta: wiki live for the first time in a month; no open PRs; CI still blocked on billing so none of it is verified by automation. Zero godot/ files touched. (The billing block later lifted, by 2026-10-02; see "GitHub Actions runs again" above.)

2026-08-22 (later still) — Class composition ruled; four PRs opened

Class composition. Ran the worldbuild skill in Develop mode over the unresolved hybrid-role-vs-paradigm question (pending/Progression_System.md open problem #2). The Recall pass found that Design_Charter §3.6 already forbids free multiclassing across Forms — which the legacy hybrid model (any two parents combine, flat "Hybrid Role Tax") violates outright. Neither design doc had noticed, so this was never a preference call; one model was already illegal.

Ruled: three layers — Form (inherited, five, never chosen) gates, Role is a chosen ability tag, Composite is a set of roles held in depth, legal iff every constituent Form is in lineage ∪ Primal (by disposition) ∪ soulshard-granted. Roles committing no Will are Form-neutral and unrestricted, so mundane breadth stays free. Unlicensed cross-Form composites are unbuildable, not taxed. Composites are flat sets of primitives. Face (§3.7) is orthogonal. Paradigms are not a rival model — they are the curated subset of composites a lineage already licenses. Portable law shipped as portable/Class_Composition.md (prima-lore#1); game-side ruling and backlog in #101.

Audited the legacy hybrid table and found four structural defects independent of vocabulary: 5 phantom parents (Soulreaver, Graviton, Beastcaller, Runescribe, Bloodpact), alias collisions (Marksman/Controller/Assassin vs. canonical Farshot/Zonemaster/Shadowfang), composite-of-composite recursion in Metamorphunt, and an undefined Final Roles tier.

Two defects caught in my own extraction work:

  1. A "fix" to 6 links in design/combat/archetypes/* broke the wiki — pymdownx.snippets transcludes those files into worldbuilding/characters/*.md, so their relative links resolve from the including page's directory. The originals were correct as published. Reverted; #100 keeps only the 2 fixes in wiki-excluded trees.
  2. The submodule put portable/ inside the mkdocs tree, so the wiki began publishing PROMPT.md with its unfilled slots and its "FILL THE SLOTS BEFORE SENDING" block. Excluded in e80af0e; 3 pages live before, 0 after.

Measured the deploy impact of a private submodule on the Cloudflare Pages wiki — see the merge blocker in the state summary. This is the one thing gating #99.

State delta: four PRs open across two repos, none merged. Zero godot/ files touched.

2026-08-22 (later) — Lore repo extracted; docs/worldbuilding/ is now a submodule

Executed the split that the earlier session queued. Took all six open rulings from the user up front, then measured before cutting — the handoff's link inventory was out of date and incomplete.

Corrections to the handoff's measurements, found by re-measuring: - Inbound was 104 links across 19 files, not 103/18. - Outbound was 39, not 38 — Changelog.md linked ../index.md, which the handoff's regex missed. - 3 links were already broken before any of this: two index.md refs in Worldbuilding_TODO.md, and Ingest_Workflow.md's pointer to .claude/skills/worldbuild/SKILL.md — that skill is not in this repo at all (only run-combat is). Fixed all three.

What was done, in order: 1. Moved Design_Charter.md into the corpus and rewrote all 39 outbound links to absolute GitHub URLs, before splitting, so the corrected links land in the extracted history and both repos agree from their first commit (bf2114d). 2. git subtree split -P docs/worldbuilding → 41 commits, 35 files. Slow on Windows (~4 min for 462 commits) but clean. 3. Created adbarc92/prima-lore (private), added a root README covering the read order, the quarantine, and the submodule contract. 4. Retired docs/portable/'s duplicate copies of both charters and Metaphysics_Summary.md — all three were byte-identical to their sources bar a banner. The kit is now a thin onboarding path; the metaphysics filtering warning survives as a pointer. 5. Mounted the submodule and verified all 103 inbound relative links resolve across the boundary. 6. Caught a defect the split created: 12 absolute URLs inside the corpus pointed at PrimaMateria/blob/main/docs/worldbuilding/…, which is now a submodule pointer on GitHub rather than a file. Relativised them (5df599b).

State delta: lore is now single-source across projects; docs/design/Design_Charter.md and docs/portable/ no longer exist here; CLAUDE.md's stale session-pickup block is replaced by submodule operating instructions. Zero godot/ files touched.

2026-08-22 — Portable charters + shippable kit; lore-repo split queued

Documentation/portability session on docs/lore-repo-split; no godot/ files touched. Prompted by the world being reused for a second game in a different genre and region. Filed #98 with a first-cut boundary and an open-decision checklist, and added a Phase 0 — Infrastructure entry to Lore_Roadmap.md (1871f58). Extracted two portable charters (69aec7b): docs/design/Design_Charter.md (the two arbiters, the six pillars audited for genre-portability — two needed generalizing off tactical combat — and the global metaphysics stated as licenses/forbids) and docs/worldbuilding/World_Charter.md (cosmogony, gods, magic in narrative register, the peoples, six knowledge tiers, locked reveals, open slots, and a procedure for building a new region). Built docs/portable/ as a self-contained kit that ships wholesale — both charters with links flattened, a handoff PROMPT.md with six owner-filled slots, a manifest, and the unfiltered metaphysics brief quarantined under reference/ behind a warning banner. Wrote the extraction handoff (654a931), which surfaces the thing absent from the issue checklist: 141 cross-boundary links (103 inbound across 18 files, 38 outbound from lore into game design docs, 17 of them to Exousia_Economy.md alone) that are the real work of the split.

Design_Principles.md was left untouched per explicit instruction — the new charter sits above it.

State delta: the second project can be unblocked today via the kit; the submodule split remains queued and needs two user rulings (scope, mechanism) before it starts. Incident: docs/portable/ was verified intact then found deleted with no command responsible; rebuilt and committed.

2026-08-03 — Dir-rename audit + handoff written

Audited the Disruption → PrimaMateria folder rename (GitHub repo already renamed; target path free; no linked worktrees; clean tree). Found: Claude project-state folder keyed to the old path (memory would orphan), 3 live docs hard-coding that key (CLAUDE.md, run-combat skill, CODEBASE-DIGEST.md), one stale unregistered worktree dir in .claude/worktrees/, one empty Disruption-worktrees/ sibling. Historical docs and inert allowlist entries deliberately left alone. Full executable plan handed off: handoffs/2026-08-03-dir-rename-primamateria.md (9a3478e).

2026-07-28 (later) — Combat-backbone thread opened: character-kit seam designed, critiqued ×3, spec committed

Same session as the housekeeping entry below, after it. Ran a full coupling survey of how character-specific logic wires into combat: the pure engines are clean, but ~450 lines of character-shaped orchestration live in combat_manager.gd (singleton signature managers capped at one instance per mechanic, inlined resolution bodies, a growing intent vocabulary, 24 hand-authored Momentum emission sites, a game_manager tuning-block whitelist, and an AI cast path that bypasses every signature seam). User set scope: option (b) — add/remove a character = data + one kit file, mechanics multi-instance — via strangler extraction as a parallel change (9 behavior-neutral slices, rules work interleaved: Lane 3a's AP-REQ-035/BD-REQ-004, the dead hooks, and the AI cost hole land through the new seams). Design passed the repo's 3-round adversarial critique gate (28 findings — among them: the AI veto must happen at planning time in CombatAI._get_usable_skills; manager instances must be aliased during the parallel change or L3 state splits; legacy saves re-inject the empty tuning blocks that break key-presence kit detection; _vanarism_start_hp would go silently dead between slices 1 and 6 without a bridge). Spec + full critique log: 2026-07-28-character-kit-seam-design.md, committed da4e0fa on feat/character-kit-seam (pushed, no PR). State delta: thread parked at the spec-review gate; nothing implemented. Brief: 2026-07-28-character-kit-seam-handoff.md.

2026-07-28 — Housekeeping: post-merge sync, git cleanup, paradigm handoff landed

Work-audit + cleanup session; no application code changed. Reconciled repo state after the 2026-07-25 merges: synced local main 973c2ca → 0a2c756 (PRs #92–#95 had merged remotely but were never pulled), deleted the five merged local branches, the feat/combat-drift-lane1 worktree, and the pre-rebase backup branch, and pruned four merged remote-tracking refs. The long-merged integ/combat-alignment-wave1 remote branch (PR #88, merged 2026-07-06) is flagged for deletion — the delete was permission-blocked this session. Landed the 2026-07-26 paradigm-expansion handoff (previously untracked) plus its session-log entry below (previously stranded as an uncommitted diff on the testing-plan validation scratch branch, which that skill's session tore down after run 5). Rewrote the State summary against post-merge reality. State delta: git state is clean — main current, no open PRs, no stray branches or worktrees; the only unmerged remotes are feat/worldbuilding-revision, fix/cloudflare-deploy-account, and test/l2-scene-runner (disposition unreviewed). Next thread: combat-backbone polish — Lane 3a plus a swappable character-kit architecture pass.

2026-07-26 — Design session: paradigm model settled, full cast roster proposed (no writes)

Pure design conversation on the worldbuild skill's spine; zero files changed outside docs/handoffs/ and this doc. Opened the deferred Paradigm expansion across cast thread and found its premise stale: the TODO claimed most characters have only one secondary paradigm, but 8 of 9 already carry three paradigm-tagged Momentum options in godot/data/characters/*.json — only Cyrus (Tune went gear-conditional, orphaning Toolmaker) and Chiranjeevi are genuinely short one. The gap was naming, not invention.

Model settled with the user: paradigms are design-desk words only, never player-facing (Slay the Spire model — skills fit archetypes implicitly); they are peers, not primary/secondary, three per character, symmetric across the cast; Momentum is generally "a mechanism for gaining extra AP" and is not restricted to the owner's turn (which validates the shipped off-turn triggers); each paradigm carries ≥1 Momentum; the player equips one; the Tie rule is moot and gets deleted; and the paradigm field leaves the JSON. Roles, skills, and the primitive/hybrid taxonomy were explicitly postponed to a separate discussion — roles are to become finer composable modifiers with classes arriving by composition.

Proposed (NOT signed off): a nine-character roster with three new Momentum — Cyrus Assist (ally attacks an enemy he displaced), Chiranjeevi Abandon (resolve a Brute ability, completing the walk/break/balance triangle the kit already sets up), Adam Decree (spell applies a control status, finally giving the prose-canonical Tyrant paradigm a trigger) — one retirement (Adam's Approval, generic and duplicative of Euphen's Cleanup), several renames fixing paradigms that were just archetype names repeated, and trained attention as the diegetic ground for equipping only one Momentum.

State delta: no canon written; the thread is parked at the worldbuild sign-off gate with eight open decisions. Recall findings are transcribed into the brief so the successor need not re-derive them, including three doc↔data drifts to fix during the write pass and a warning to grep GDScript for paradigm-field readers before stripping it. Brief: docs/handoffs/2026-07-26-paradigm-expansion-handoff.md.

2026-07-25 (later) — Verified every suggested fix; Lane 2 + SE-REQ-040 landed

Audited the drift report's prescriptions against code instead of trusting them, then implemented the findings that survived.

Lane 2 — equipment charges (313108b). Armed the charge gate on the 7 item-granted skills that shipped free, including all five Shifting Blade skills — Cyrus's default loadout, so the exploit shipped in the starting party. No enforcement code was needed: skill_panel already gates charge-cost skills on a granting item that holds charges, so the cost data alone armed it and closed CM-REQ-071 for free. It is 8 of 13, not the report's 7 — the eighth, resonant_pulse, has no definition at all. razor_edge was diagnosed wrongly twice: it is a dead button, not a free skill, and the real cause is that the Rhea's Tears Vial its description names was never authored.

SE-REQ-040 Quickened. The report's fix would have made it worse. The nudge is already after the CTB re-seed; the real bug is that quickened has default_duration: 1, so tick_turn_end removed it before the nudge could read it. Fixed by capturing the flag before the tick.

Re-scoped the remainder. Five findings are unreachable, not divergent — the engine exists and nothing can trigger it. They are deferred to a single authoring pass in Design_TODO.md that lands code and data together, because fixing their code alone changes nothing observable and produces another untestable seam. Lane 2 was promoted ahead of Lanes 4/3 for the same reason: it was the only remaining lane that is entirely live behaviour.

Suite: L1 788/2064/0 → 793/2118/0; L2/L3 scene 39/100/0 → 40/103/0, 0 did-not-execute.

Next: per-tile voluntary movement (CM-REQ-017) as its own commit + playtest; the two canon-only amendments (CM-REQ-012, SE-REQ-030); then the reachable half of Lane 3 (AP-REQ-035 Crimson Vessel, BD-REQ-004 conduit spawn).

2026-07-25 — Drift reconciliation: Lanes 1 and 5 landed

Worked in a worktree off feat/canon-drift-reconciliation on branch feat/combat-drift-lane1 (unpushed, no PR). Executed the first two lanes of the reconciliation design, TDD throughout — every change had a test watched failing first, and both tiers were re-run after each.

Lane 1 — six-score stat substrate + status save gates (c89c54a). Added resilience as a sixth base stat rather than remapping resonance (D5): 21 base_stats blocks across 11 files, a resilience arm in damage_calculator._get_stat_value's exhaustive match, a pure save-load backfill (scripts/data/save_migration.gd), and an L0 schema net. Extracted combat_manager._resolve_status_save() with a seedable _d20_source and gated seven application seams — filtered to the 9 statuses that actually carry a catalog save, bracing only on skill-sourced saves. Disease now reduces stats (needed both a catalog default and extending _merge_catalog_defaults, which copied six keys and not that one). Canon amended in the same commit; resolves conflict C1, files new conflict C5.

Lane 5 — data authoring + Eruption guard (07104ba). Euphen/Vaughn/Phaidros Apotheosis bonuses duplicated into their data blocks; Pressure uncapped at the code default; Paidi's Harmony spend fixed at source in HarmonyManager.resolve_spend, plus wiring the strike bucket into the actual attack; Eruption's AP bank gated on the Tremor selection.

The most useful finding: the drift report's suggested fixes are unreliable. Three of Lane 5's four would have been wrong — deleting pressure_cap: 200 is a no-op (200 is a hardcoded code default), routing Eruption's AP through MomentumManager.resolve() would have deleted the AP (grant_ap raises current_ap, which start_turn then overwrites), and Paidi's defect was worse than described (all three spending skills burned 20 Harmony and produced nothing — even the Legato refund branch was broken). Lane 1 likewise found the report's initiative claim cites combat_unit.gd, a confirmed orphan. Every correction is recorded inline in the drift report.

Suite: L1 762/1885/0 → 788/2064/0; L2/L3 scene 31/83/0 → 39/100/0, 0 did-not-execute.

Next: Lanes 4 → 3 → 2, in that order (design §7). Lane 4 is the two balance changes (per-tile voluntary movement — do NOT price Frightened flight, it would kill cornered units; Hardening degrading one tier on the damage axis only, which also moves raw HP damage). Lane 3 is largest and contains the only genuine new feature (mid-combat conduit spawn, nine registration steps).

2026-07-23 — Housekeeping + a codebase map, and the first canon-vs-code drift audit

No application code changed. Three phases on chore/docs-housekeeping.

1. Housekeeping. Found the repo's two LIVE work briefs (UI critique, testing-gaps audit) had been indexed as live for two weeks while the files themselves were untracked — committed them first. Fast-forwarded main to 973c2ca (PR #91 had merged 2026-07-12 and been left unpulled). Landed the stalled feat/legacy-docs-salvage-reorg work: rebased its 152-file 00_Legacy reorg onto main, resolved one real semantic conflict (Cosmology.md's deprecated-cosmogony link — kept main's absolute-URL style with the salvage branch's new path), committed the master digest + [0a][0b][0c] gating decisions, the agent digests, a root README, and two orphaned wave handoffs, then repaired 4 inbound links the reorg had orphaned. Git hygiene: 24 → 18 branches, 12 → 1 worktrees, stash cleared, and 3 stale lock files removed — including a maintenance.lock that had been blocking git's background maintenance since 2026-07-06. Recovered a real correction from the stash (a handoff still describing merged work as IN-FLIGHT) rather than dropping it.

2. Deprecation + consolidation. Deprecated code/ in place with a pointed README (no build, test, or CI job references it). Triaged its 19 orphaned design docs: 10 byte-identical duplicates left in place, 7 salvaged into the ledger as new Section G, and 2 dropped as zero-information copies of live docs/design/ docs — a correction to my own first pass, which had mis-classified them as legacy. Indexed docs/development/'s 17 files by verifying each guide's workflow against the code: 8 current, 4 reference, 4 genuinely superseded. Corrected root CLAUDE.md, which described a TypeScript codebase, "two opposing 3×3 grids", and the stale charge-mode names.

3. The map + the audit. Ran the codebase-canon skill: 6 requirement extractors over the 11 canonical design docs (533 requirements), a deliberate conflict scan, then 13 module explorers, then adversarial verifiers over every load-bearing finding. Output is docs/canon/ — index.json routes any of 306 files to exactly one of 13 module docs (verified: 0 glob overlaps, 0 unmapped, every doc within its length cap).

Two methodology calls worth recording. Combat_Behavior_Spec.md was reclassified as descriptive, not canon — it narrates as-built behavior and was realigned to match the R1 code fix, so code cannot meaningfully drift from it; treating it as canon would have masked drift. And the verification pass refuted 3 candidate findings, including a "critical" one: critRate DEX*0.05 vs canon DEX×0.5 is a units artifact, not a divergence — canon's own §4 says "DEX 10 → 50%". Both are recorded so they aren't re-flagged.

State delta: the repo now knows what it is. 24 confirmed drift findings, 4 canon-vs-canon conflicts (C1 needs a design-owner call), and a critical finding that the game's entire numeric contest substrate — accuracy, evasion, resistance, hit/miss — was never ported from the deprecated TypeScript prototype into Godot. Next session's work is triage, not discovery.

2026-07-07 — Merged spec-conformance (#89) + Paidi Mercy gate (#90); pivot to design parity

Session-open audit of the 2026-07-06 handoff against live state, then landed both ready PRs. PR #89 (spec-conformance suite + §3 save-modifier fix) and PR #90 (Paidi Mercy = clutch-save gate: heal-out-of-critical grants Momentum, MercyGate.is_clutch_save pure L0 + mercy_critical_threshold 0.2 config knob) both merged to main via merge commits; feature branches auto-deleted. main @ 3cda2c1, no open PRs, tree clean. State delta: every in-flight combat PR is now merged; the last open design call (Mercy heal-gate semantics) is decided and shipped. Focus pivots to design-doc parity — baselining off Spec_Conformance_Report_2026-07-06.md. Untracked session artifact docs/handoffs/2026-07-06-session-handoff.md remains (pointer doc; not committed).

Then ran a fresh code audit of the 2026-07-05 alignment audit's remaining in-scope gaps: 8 of them (Regenerating, Invisible, counter-pairs, catalog saves, LOS, equipment scaling, Break tags + Poise HUD) are already CLOSED — only Energized, Disrupted, Transcendent, Unraveling remained, and Transcendent/Unraveling have no live applier (zero in-play divergence). Built the two live holes on feat/status-consumers-energized-disrupted (TDD, red→green): pure consume_energized/get_disrupted_surcharge/consume_disrupted in status_effect_manager (+ catalog ap_bonus:1/ap_surcharge:1, 12 L0 tests), wired into combat_manager at the turn-start seam (Energized +1 AP) and both the player and AI Skill-cast paths (Disrupted +1 AP, consumed on commit not on cancel) with 2 booted-L3 tests. Also resolved audit ruling R1: discovered the coded Shields→Armor→Health→Overhealth order made Overhealth a dead layer (_commit_hp downs the unit when core HP hits 0, but Overhealth drained after Health — so a unit died with Overhealth still on it). Fixed the code to Shields→Armor→Overhealth→Health; realigned Combat_Mechanics §5, Combat_Behavior_Spec §4, CLAUDE.md, the manual test plan, the audit R1 row, and the conformance report; re-tagged the CONTRADICTION-PENDING assertion + test_damage_substrate and added L0+L3 coverage proving Overhealth now saves the unit. Final suites green: L0 762/1885/0, booted L3 31/83/0/0-DNE. State delta: Status_Effects.md parity is now down to the two deferred Adam-signature statuses; R1 closed; the branch is unmerged and needs review/PR.

2026-07-06 — Spec-conformance test suite + save-modifier fix (PR #89)

Adapted the combat test plans into a spec-conformance suite (tests assert design-doc expected values, not the code) to surface drift. Design 3-round adversarially critiqued (docs/superpowers/specs/2026-07-06-...), plan (docs/superpowers/plans/2026-07-06-...), executed inline on feat/combat-spec-conformance-tests. Prereqs: added a mark_unreached coverage bucket + did-not-execute 4th summary field to both runners (exposed ~20 L3 tests that were silently green under --script), and extracted a shared test-free l3_base.gd. 23 new assertions (6 L0 files in godot/tests/spec/ + test_spec_behavior_l3.gd). Found + fixed one real bug: status_save.gd computed d20+stat where TTRPG_Resolution_Core.md §3 mandates d20+⌈stat/2⌉ — save-gated statuses resisted too often; fixed + existing logic test reconciled (balance nudge: statuses now land more often — playtest). Report: docs/design/combat/Spec_Conformance_Report_2026-07-06.md. Final: L0 742/1860/0/23-DNE, L2/L3 28/74/0/0. State delta: conformance harness now exists; one health-layer doc contradiction remains flagged CONTRADICTION-PENDING (design-owner decision). Handoff: docs/handoffs/2026-07-06-phase2-live-validation-merge-handoff.md.

2026-07-06 — Phase 2 live-validated + merged to main (PR #88)

Ran the widened run-combat QA as the merge gate, then shipped. Added 8 L3 assertions (test_signature_mechanics_l3.gd, commit 3ddacec) that drive the Phase-2 behaviors the handoff flagged as LIVE-VALIDATION-PENDING through a really-booted combat scene (smoke_main.tscn) and read them back via the get_log_lines() sink: control statuses (Frozen shatter-on-physical / vulnerable-on-elemental, Charmed turns-on-ally with a forced roll — Cyrus crit Phaidros live, Frightened turn seizure) and Momentum + deep Apotheosis hooks (Momentum fire end-to-end via Paidi Cadence switch_mien, Paidi Polyphonic split, Chiranjeevi Crimson Vessel costless-tempo refund confirmed +1 AP 4→5, Sophia Maelstrom dive places water + stays Aerial, Euphen Shadow Lord re-cloak form-side arm). Suite L1 712/1837/0 → 720/1845/0, L2 17/51/0 → 25/71/0. Discovery: the Phase-2 commits (e282c17…48271e4) were local-only/unpushed — #88's remote head was still 509c190 (Phase-1 era), which reconciles the prior "#88 = Phase-1, rebase Phase-2 later" wording. The push moved Phase-2 to the remote, so #88 then carried Phase-1+Phase-2+validation; Combat-suite CI green (1m21s), merged as 6bc3355. State delta: behavioral parity now confirmed and on main; no open combat PR; remaining work is the Mercy threshold + P1 inert-status consumers. Only sync-driver-limited items left are the pre-existing strike/hit-driven Apotheosis lines. Handoff: docs/handoffs/2026-07-06-phase2-live-validation-merge-handoff.md.

2026-07-05 — Phase 2 full-cast combat wiring (complete)

Implemented and committed the entire Phase-2 roadmap (audit items 1–6) across four verified checkpoints on integ/combat-alignment-wave1: e282c17 (APO-DATA + MOMENTUM-CAST 13/17 + APO-HOOKS), 63519be (AI invisible filter), 7b64057 (CAST-KIT: Adam weakness-sense, Aerial non-targetable), 45dce4f (STATUS-CONTROL: R6 slow-cleanup, Frozen shatter, Charmed/Frightened AI). Each held L1+L2 green (final L1 712/1837/0, L2 17/51/0). Recorded Charmed/Frightened design decisions + deferrals in Design_TODO.md; wrote a deferred-triggers build-out handoff. State delta: Phase-2 code-parity achieved; behavioral parity + P1 inert-status consumers + Mercy threshold remain. Full handoff: docs/handoffs/2026-07-05-phase2-session-wrap-handoff.md.