Skip to content

[codex] Session 14 Turnfile closeout and PRD follow-through#1

Merged
snapsynapse merged 25 commits into
mainfrom
prd-021-conflict-loop-gradient
Jun 13, 2026
Merged

[codex] Session 14 Turnfile closeout and PRD follow-through#1
snapsynapse merged 25 commits into
mainfrom
prd-021-conflict-loop-gradient

Conversation

@snapsynapse

Copy link
Copy Markdown
Owner

Summary

  • Close session 14 coordination state and boot handoffs for Claude and Codex.
  • Promote and complete PRD-028/029 follow-through, including Tokenese pair validation and next-state derivation.
  • Add model ledger documentation and update Codex/Claude skill bundles for session 14 protocol lessons.

Validation

  • node tools/validate-mailbox-invariants.mjs --mailbox working-session/MAILBOX.md
  • node tools/turnfile-lint.mjs --turnfile working-session/TURNFILE.yaml --schema schemas/turnfile/turnfile-v0.schema.json
  • node tools/validate-prd-promotion.mjs --registry working-session/docs/PRD_STATUS.json
  • node tools/validate-skills-preflight.mjs
  • node tools/validate-tokenese-pairs.mjs --root .
  • node --test evals/prd-028.evals.mjs
  • node --test evals/prd-029.evals.mjs
  • git diff --check

Notes

PRD-027 remains held for Maintainer checkpoint after remaining non-PRD-027 follow-through. This PR is draft for maintainer review.

snapsynapse and others added 25 commits June 1, 2026 18:25
Draft PRD introducing two conflict/authority refinements:
- rebuttal_rounds: configurable Level 2 loop bound (fixed counts,
  min 1, max unbounded) in TURNFILE.yaml; unbounded terminates on
  NO-NEW-OBJECTION convergence signal or Maintainer circuit-breaker
- bound exhaustion escalates straight to Level 4 (skips Level 3)
- binary gated/unlockable flag extending the PRD-018 authority matrix
  (unlock eligibility only; agent self-tags, Maintainer ratifies)

Logs OQ-058-061 as resolved; registers PRD-021 in PRD_STATUS.json
(draft, gates pending agent cross-review). Validator passes.

Counter-recommendation model unchanged (OQ-061: no enumerate-only
lane). Text-only scope held; no office-document workflow.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… PRD-017

Session 14 opened (Claude on Fable 5, model swap from Opus 4.6 with zero
protocol migration). Feb-June coordination drift reconciled in WORKLOG.

Maintainer triage decisions (mirrored in MSG-20260612-019):
- PRD-018 (authority matrix) accepted and promoted to docs/prds
- PRD-019 (mailbox-first approval) accepted and promoted; OQ-054/055
  resolved: no time-based polling, coordination stays event-based
- PRD-020 folded into PRD-017 as R7 and superseded; OQ-051/056/057 resolved
- PRD-017 Maintainer-accepted; promotion held on Codex fold re-verify
- PRD-002 and PRD-015 (+ Gemini onboarding package) deferred
- Zero active open questions (OQ-051..061 all resolved)

Tooling: validate-prd-promotion.mjs gains deferred/superseded terminal
statuses so the registry records triage outcomes faithfully.

Pending Codex: MSG-20260612-018 (PRD-021 cross-review), MSG-20260612-020
(PRD-017 R7 fold re-verify). TURNFILE.yaml at rev 32; all gates green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…s, baseline docs

- BASELINE.md created; README rewritten with full PRD status index
- Skill bundles migrated to role-keyed dirs (skills/claude/ v0.4.0 by Claude,
  skills/codex/ v2 by Codex); old paths deprecated in place
- PRD-024 drafted (legibility invariant, tokenese sequencing gate): agent
  gates complete, Maintainer pending
- PRD-023 drafted by Codex: Claude APPLY with 1 amendment (R4 exit path)
- PRD-026 proposed by Codex: Claude APPLY with 2 counters (cross-ownership
  repair prohibition; standalone with PRD-014 boundary)
- PRD-025 resolved by convergence: PRD-014 amendment path (first full
  rebuttal-loop convergence); s14-prd-014-amendment task registered
- Collision/discipline ledger established (3 items, all resolved in-band)
- Mailbox through MSG-027; TURNFILE rev 59; all validation gates pass

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…s complete

PRD-024 (human-legibility invariant) Maintainer-accepted and promoted; R5
propagation: skills/claude v0.4.1, session-charter encoding-profile line,
validator rule task registered. PRD-022 drafted + Codex amendment accepted
(OQ-065 resolved). Codex applied all Claude counters on PRD-023/026/027.
First live delivery-mirror posted (MSG-030). Rev 69; all gates green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… held

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…eline

Maintainer-stated structure encoded as PRD-006 Amendment A1: proposer writes
evals, counterpart implements, reviewer verifies, done means eval-green —
acceptance no longer equals completion. Registry gains implementation layer;
session-14 PRDs retrofitted (accepted, not actioned). evals/ added for
PRD-021/022/024 at honest red baseline (16 fail / 4 pass). Handoff MSG-032.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…D collision ledgered

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…evidence improvements)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… ledgered

Claude-side now on Opus 4.8 (3rd model generation this session, same protocol).

- PRD-029 draft v2 accepted (agent gates complete): Codex peer amendments
  add freshness receipts, in-lock derivation sequencing (R1.4/R1.5),
  thread-mode unread-reset support (R5), OQ-068 resolved derivation-only.
- Closed 6 settled threads (MSG-030/031/032/034/035/036); MSG-033 retained
  (Codex closure owner, PRD-028 v2 in flight).
- Corrected stale self-owned task row s14-prd-022-draft (closure-drift).
- Ledger item 6: thread-mode unread blindness — Codex's PRD-029 review sat
  unprocessed because it landed as a thread entry on Claude's own card,
  exactly the risk PRD-029 R5 was being drafted to fix.
- Refreshed WORKLOG status block + live Maintainer Decision Queue.
- Codex peer-corrected skills/STRUCTURE.md (model bundles not auto-deprecated).

Rev 92; all gates green. Only open item blocked on Maintainer: PRD-028 OQ-067.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Maintainer-approved and Maintainer-moved deferred/superseded PRDs off the active
draft shelf. Claude reconciled tooling + registry:
- validate-prd-promotion.mjs: docs/archive/prds shelf with inverse invariant
  (archived PRDs must be terminal + non-promotable); listPrdFiles guards missing dirs
- registry: 002/015/020 repointed; PRD-015 state drift fixed (draft -> deferred)
- evals/archive-shelf.evals.mjs: hygiene guard (4 checks, green)

Active draft shelf now holds only 027/028/029. Rev 96; all gates green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Maintainer named a persistent error: reasoning from memory before files.
Correct for solo work, wrong for collaborative Turnfile where peers and the
Maintainer mutate shared files between turns. New leading skill principle
generalizes re-read-before-edit (write safety) to re-read-before-assert
(answer safety). Root-cause fix for the stale-memory error class.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- MSG-037: corrected skills/claude-opus_4.6/DEPRECATED.md (Opus 4.6 not
  deprecated — Maintainer: nothing deprecated unless declared)
- MSG-038: closeout held until PRD-028/029 fully done (A1 complete)
- MSG-039: asked Codex to inspect skills/claude v0.5.0 Files-First and offered
  it to mirror in skills/codex (its call)

Files-First paid off first use: surfaced 2 unread before posting over them.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…040 sync

PRD-029 proposer step (Claude): evals/prd-029.evals.mjs pins the next-state.mjs
contract (flags, JSON output, freshness receipt, read-only); 9/10 red baseline.
Task s14-impl-029 registered, handed to Codex (MSG-041). Actioned Codex's
crossed MSG-040 (PRD-028/029 acceptance synced). Both PRDs Maintainer-accepted;
implementation lanes open: Claude implements PRD-028, Codex implements PRD-029.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- tools/validate-tokenese-pairs.mjs (R11): pair-metadata, missing-English-source,
  blocking-state, and Tokenese-only-decision rejection; in-sync acceptance
- docs/prds/PRD-024 R2: Tokenese paired artifacts row (R9 Band C amendment,
  Maintainer-authorized via PRD-028 acceptance)
- registry: PRD-028 implementation eval-verified; Codex review requested (A1 step 7)

Committed only PRD-028 files; Codex's concurrent docs/llm/ work left for Codex.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ion sync)

Picked up unassigned s14-prd-014-amendment (Claude's lane — proposer of the
amend-PRD-014 counter from the PRD-025 convergence). A1.R1 compaction set,
A1.R2 projection sync, A1.R3 boundary vs PRD-026, A1.R4 gate suite, A1.R5
acceptance. Routed to Codex for apply-or-counter (MSG-043).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Reciprocal of Codex's MSG-043 offer (peer norm mirrored both ways): boot-time
verify executing model+surface is in docs/llm/MODEL_LEDGER.md before relying on
compatibility claims; absence is not deprecation. Opus 4.8 added to MANIFEST
tested_on (Opus 4.6 + Fable 5 + Opus 4.8). Ledger rows provided to Codex; its
MODEL_LEDGER.md left untouched (uncommitted, its file).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…dger

Three session-14 lessons converted from prose ledger to standing skill rules:
- Concurrent Write Discipline (Derive, Don't Assume): write-side complement to
  Files First — derive written values from in-lock read, validator-expected is
  truth, lock whole batch, commit own paths only, IDs in-window
- Active-turn closure-owner check (thread-mode replies don't raise unread)
- Builder/reviewer separation as operating rule (decline self-implementation)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… via A1

Reviewed Codex's tools/next-state.mjs (correct, header-safe, read-only) as
PRD-029 reviewer; APPROVE; filed done -> docs/prds, registry done, PRD-027
blocker cleared. R6.3 closed by skills/claude v0.6.0. Both pre-PRD-027
implementation PRDs now fully through the eight-step loop in both directions.
MSG-046 notifies Codex of skill v0.6.0 with mirror suggestion.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…parallel)

- Closed Claude-owned terminal messages 039/041/042
- Claude idle, unread 0, no locks
- WORKLOG closeout entry; WORKLOG + signal compaction DEFERRED to next boot
  (PRD-014 R4 execute-or-defer — concurrent dual-agent close collision avoidance)
- chat-claude.md session-14 close snapshot written
- boot-claude rolled v7 -> v8 (v7 archived); current-state + carry-forward updated
- Closeout gate suite green (lint, mailbox, promotion, evals, skills preflight)

Committed Claude files + shared coordination only; left Codex's skills/codex,
boot-codex, docs/llm, and PRD-028 filing for Codex's own commit. Push held.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@snapsynapse snapsynapse marked this pull request as ready for review June 13, 2026 04:38
@snapsynapse snapsynapse merged commit 46a5325 into main Jun 13, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant