Skip to content

Complete the doxBench memory ruling: memory-gateway conformance + three-layer compression (shake v1, Headroom gated) - #204

Merged
brettheap merged 1 commit into
mainfrom
change/record-doxbench-memory-final-fold
Aug 18, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/record-doxbench-memory-final-fold

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Summary

  • Records Brett's 2026-08-18 second-session-pass ruling on doxbench-editing-model's Q7 memory design — a verification research pass following Claims 13-21 and the original Ruling block — as a marked "Ruling addendum" plus five new Claims (22-26).
  • Claims 22-23: the knowledge service/context assembly are a realization of the ratified neutral memory-gateway capability (bounded context packets, provider profiles, Promotions Are Explicit And Reviewed, rails-before-I/O, gateway-owned usage metering); every compressed artifact conforms to governed-derived-model; any future graph layer stays bounded by xfactory-semantic-kernel. Honestly flags that memory-gateway's realization depth elsewhere is unverified — this may be its first live consumer.
  • Claims 24-25: the three-layer compression stack — selection (governed), semantic compaction (governed, the thread-state header), and mechanical reversible compression at the LLM boundary realized v1 by oh-my-pi's native /shake / artifact:// mechanism, with the exempt-approved-content policy living upstream in the packet assembler rather than in a third-party compressor.
  • Claim 26: Headroom (headroomlabs-ai/headroom) is watch-listed, not adopted — verification found a SECURITY.md credential-storage claim contradicted by an open upstream PR, a real-workload benchmark far below its headline savings, prompt-cache-fidelity regressions, and no caller-metadata hook for the exempt-content policy. Adoption gates and integration path recorded.
  • Extends the VERIFY LIST idea note with three new items and adds an external-doc-reliability idea note (two invented/misattributed terms found in external reviews this session — "SpecLock", and oh-my-pi's /shake/artifact:// misattributed to Headroom).
  • Fixes INDEX.md's stale summary-table counts for this topic (was "7 claims settled" / "6 open questions"; now 26 claims / 7 open questions) and records memory-design-complete status with Phase B proposal drafting launching next.

Validation

  • python3 scripts/doc-health.py --single-repo . pre/post diff: zero new findings (only expected word-count/canon-share drift from added prose).
  • python3 scripts/validate-ideation-routing.py . --strict: 0 errors, 0 warnings.
  • All 7 Recommended answer: literal prefixes confirmed intact (unchanged count before/after).

Test plan

  • doc-health suite (single-repo mode) shows no new findings
  • validate-ideation-routing.py --strict passes clean
  • Human review of the addendum/claims wording (Brett)

Co-Authored-By: Claude Opus 4.8 [email protected]

…ormance + three-layer compression

Brett's 2026-08-18 second-session-pass ruling (a verification research pass
following Claims 13-21 and Q7's Ruling block) settles the remaining memory
design pieces on doxbench-editing-model: the knowledge service/context
assembly realize the ratified memory-gateway capability and conform to
governed-derived-model; compression runs as a three-layer stack (selection,
semantic compaction, mechanical reversible compression via oh-my-pi's
/shake v1); and Headroom is watch-listed, not adopted, per a verification
pass finding credential-storage, benchmark, and prompt-cache-fidelity
issues. Extends Q7's Ruling block with a marked addendum, adds Claims
22-26, extends the VERIFY LIST, and adds an external-doc-reliability idea
note. Fixes INDEX.md's stale claim/open-question counts and records
memory-design-complete status.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 18, 2026 18:13

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap
brettheap merged commit 189bfa9 into main Aug 18, 2026
1 check passed
@brettheap
brettheap deleted the change/record-doxbench-memory-final-fold branch August 18, 2026 18:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents the 2026-08-18 second-session verification pass on doxBench (Q7 memory design), recording a “Ruling addendum” and Claims 22–26 to clarify memory-gateway conformance, the three-layer compression model (selection + semantic compaction + reversible LLM-boundary compression via /shake/artifact://), and Headroom’s evaluated-but-not-adopted status, plus updates the staging index to reflect the new claim/open-question totals.

Changes:

  • Added the ruling addendum and new Claims 22–26 to the doxBench editing model staged doc, including an extended VERIFY LIST and an external-doc reliability note.
  • Updated ideation/staging/INDEX.md to reflect the revised claim/open-question counts and mark the memory design as complete as of 2026-08-18.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
ideation/staging/INDEX.md Updates the staged-topic index row and topic summary to reflect the expanded doxbench memory ruling scope and counts.
ideation/staging/doxbench-editing-model/doxbench-editing-model.md Adds a ruling addendum (Claims 22–26) covering memory-gateway conformance, compression layering, and Headroom evaluation gates.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread ideation/staging/INDEX.md
| [staged-topic-outline-template](#staged-topic-outline-template) | MODIFIED `document-lifecycle` (the primary-fragment template contract: required sections, round-trip-on-demote refresh rule, section provenance, marker usage) and MODIFIED `ideation-dashboard` (the doxBench outline tab renders the template + gains an add-section affordance) | 1 | Registered 2026-08-15 — origin is Brett's direction to make the doxBench outline tab render a distilled TRUE outline (human + AI consumption) instead of a merely conventionally feat-spec-shaped fragment; 7 claims settled (primary fragment recommended as the outline, three required sections, structured open questions, provenance on added sections, round-trip refresh on demote, ratified `xspec:` markers for machine-addressability); carries the full draft template skeleton; 5 open questions (primary-fragment-vs-separate-file, migration of the 30+ existing topics, spec-delta-vs-convention, and the wheel-summary-extraction question hardest), none blocking; SEQUENCED in PARALLEL with `doxbench-editing-model` Phase A (Brett 2026-08-15) as the human decision track, with Q4 upgrading Phase A's chat edits to marker-scoped patches and Q5 riding Phase B |
| [notebook-projection-identity](#notebook-projection-identity) | MODIFIED `lifecycle-notebook-projection` (declared hosting-account field + share-out roster) and MODIFIED `credential-contracts` (two-case account-custody rule: company service account normal case, personal hosting the other legitimate case) | 1 | Registered 2026-08-15 — origin is Brett hitting a live "request access" wall on the personal-Gmail-hosted NotebookLM projection, the same disease as the just-retired openXdox personal PAT; 6 claims settled (company account is the normal case, hosting is a declared install-time intake decision, personal hosting stays legitimate as the other case, company account shares out to users, company-policy Hermes monitors + approves share requests, and this mirrors the ratified openXdox dispatch two-case precedent); first fresh conformer of `staged-topic-outline-template` carrying LIVE `xspec:candidate` markers (verified against the checker: no rejection found, only `record`-status docs are excluded); 5 open questions (contract home, company-account type, share-roster reuse of `add-client-identity-roster`, monitor/approve mechanics with no share API, and opensoft's own migration sequencing), none blocking; SEQUENCED last of today's four topics (Brett 2026-08-15) — behind `doxbench-editing-model` (both phases), the template, and the review-lane topic — since Q3's share-roster reuse waits on the in-flight `add-client-identity-roster` proposal |
| [doxbench-editing-model](#doxbench-editing-model) | MODIFIED `ideation-dashboard` (left-panel dynamic document tabs generalizing the outline/document buffer pair to N document buffers; chat-context binding to the active left-panel selection; docs-wheel tile edit verb + dirty-tile marker; right-panel Editor/Preview tab redesign with Save/Cancel) | 1 | Registered 2026-08-15 — origin is Brett's direction settling the general doxBench interaction model: left panel selects the working document (docs/lens/outline plus dynamic numbered tabs per open edit), center chat binds to whatever is selected, right panel shows the result via Editor/Preview tabs with Save/Cancel (replacing today's split md/preview layout); 7 claims settled; verified live that `BUFFER_KINDS`, the turn-assembly buffer requirement, and the save order are all hard-coded to exactly outline+document today, so the N-buffer generalization is the load-bearing engineering question; 6 open questions (tab overflow, Save/Cancel semantics, dirty-tile storage, chat-binding rule, Editor/Preview default, concurrent-edit safety), none blocking; sibling of `staged-topic-outline-template` Open question 4 (content-contract vs. interaction-model halves of the same AI-edit act); SEQUENCED first, in two phases (Brett 2026-08-15) — Phase A (chat-on-outline + Editor/Preview tabs + Save/Cancel on the existing two-buffer machinery) built before the other three topics, Phase B (N-buffer generalization) following `staged-topic-outline-template`'s ratification |
| [doxbench-editing-model](#doxbench-editing-model) | MODIFIED `ideation-dashboard` (left-panel dynamic document tabs generalizing the outline/document buffer pair to N document buffers; chat-context binding to the active left-panel selection; docs-wheel tile edit verb + dirty-tile marker; right-panel Editor/Preview tab redesign with Save/Cancel) | 1 | Registered 2026-08-15 — origin is Brett's direction settling the general doxBench interaction model: left panel selects the working document (docs/lens/outline plus dynamic numbered tabs per open edit), center chat binds to whatever is selected, right panel shows the result via Editor/Preview tabs with Save/Cancel (replacing today's split md/preview layout); 26 claims settled (includes the ruled two-plane chat memory design, Claims 13-21, and its 2026-08-18 second-pass addendum settling memory-gateway conformance, the three-layer compression stack with shake v1, and Headroom watch-listed not adopted, Claims 22-26); verified live that `BUFFER_KINDS`, the turn-assembly buffer requirement, and the save order are all hard-coded to exactly outline+document today, so the N-buffer generalization is the load-bearing engineering question; 7 open questions (tab overflow, Save/Cancel semantics, dirty-tile storage, chat-binding rule, Editor/Preview default, concurrent-edit safety, and the chat memory system — ruled 2026-08-18), none blocking; sibling of `staged-topic-outline-template` Open question 4 (content-contract vs. interaction-model halves of the same AI-edit act); SEQUENCED first, in two phases (Brett 2026-08-15) — Phase A (chat-on-outline + Editor/Preview tabs + Save/Cancel on the existing two-buffer machinery) built before the other three topics, Phase B (N-buffer generalization) following `staged-topic-outline-template`'s ratification |
brettheap added a commit that referenced this pull request Sep 5, 2026
…anchoring)

Archiving `add-chain-anchoring` promotes
`openspec/specs/chain-anchoring/spec.md`. codexFactory's
`repository_gate_floor` for this repository is an EXACT ENUMERATION of that
surface, so the new spec arrived OFF the floor for the same structural reason
as the three promotions before it on this same day. The fourth advance of the
day, eight hours after the prior note called itself the last of the family —
which was accurate when written, and this is exactly the "whichever future
archive first does" it named.

Five sites move in this one commit, per the runbook and openxFactory PR #569:

  1. contracts/review-lane-pin.yaml            core_commit
  2. .github/workflows/merge-master-approval.yml PINNED_CORE_COMMIT
  3. .github/workflows/merge-master-approval.yml core checkout `ref:`
  4. .github/workflows/pytest-suite.yml          core checkout `ref:`
  5. contracts/review-lane-floor-snapshot.yaml   byte copy at the new commit

`6d35c4fecaa4af7a23134678f9239e409ff5215f` (codexFactory PR #198) ->
`76fa501cd1c846ca9676d901e41e33ae1e730733` (codexFactory PR #204, MERGE
COMMIT, 2026-09-04T23:47:59Z, verified an ancestor of codexFactory
origin/main immediately before this advance). entry_count 66 -> 67;
sha256 b890cf1d... -> c4a386dbbfff3b35c0ef0afd1b36932e181effb551a69434cb02b25332a59e78.

SNAPSHOT BYTE IDENTITY, measured three independent ways: (a) sha256 over
the 12809-byte file matches; (b) `git hash-object` on the vendored copy
equals the blob id codexFactory's own tree carries for that path at
76fa501c (`4dffee49`); (c) the pin suite's freshness comparison ran with the
pinned core checked out beside it: 56 passed, ZERO skipped.

THE FLOOR GREW BY EXACTLY ONE, AND IT IS THE SPEC. Whole diff against
6d35c4fe: one added entry line, the generated block's three regeneration
fields (generated_at / --ref 0ae7408 -> 3afd8a8, entry_count 58 -> 59),
and the document's two "8 + 1" self-descriptions moving 66 -> 67. PR #204
regenerated at openxFactory 3afd8a8 — THIS branch's own pushed head,
EXACTLY, the ledger commit that closes the archive — so the snapshot's
`generated_at` non-member value is the immediate parent of this commit.

NO COLLISION, measured directly: `git merge-base --is-ancestor origin/main
HEAD` holds on this branch (main 9420472 is an ancestor of 3afd8a8), so
no commit main gained after the branch was cut needed reconciling. main
carries 58 tracked paths under openspec/specs, this branch 59; the one
addition is this packet's own promotion. One regeneration at one tree
suffices; the second-lander remedy is not engaged.

HISTORY PRESERVED, LIVE CLAIMS RE-MEASURED: every remaining `6d35c4fe` in
the pin file and the caller header is prose describing the 16:02 advance,
retained as history. Live counts moved with the pin: pinned_members
SIXTY-SIX -> SIXTY-SEVEN and FIFTY-EIGHT -> FIFTY-NINE, "ALL THREE" -> "ALL
FOUR 2026-09-04 ADVANCES", the caller header's sixty-six / fifty-eight, the
snapshot generated_at note 0ae7408 -> 3afd8a8, and a seventh regeneration
appended to the block's provenance list.

LOCKSTEP RE-MEASURED, STILL DIVERGED: both xFactory judging surfaces were
read directly off xFactory main (f0ca0365, 2026-09-04T23:09:53Z) —
merge-master-approval.yml line 146 and council-convening-lane.yml line 302
— and both still name f4702f64 verbatim. Cause unchanged since 2026-09-01
and forced by the feature; the convergence obligation stands undischarged,
now owed against a floor moved SEVEN times, four of them this one day.

Validated on this tree:
  pytest tests/review_lane_pin          55 passed, 1 skipped, 18 subtests
  ... with PINNED_CORE_CHECKOUT present  56 passed, ZERO skipped
  pytest tests/doc-health               1552 passed
  pytest tests/sequenced_after          162 passed
  openspec validate --all --strict      89 passed, 0 failed
  validate-sequenced-after.py --ledger-diff  consistent, 165 rows
  all four YAML files re-parse

Refs #669
Lane: openxfactory-1d

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 5, 2026
…, published at contract-v3.4 — tranche three is canon (#669)

* Archive add-chain-anchoring: ratified (#513), realized (#629 11feff7), published at contract-v3.4 — tranche three is canon

Brett Heap ordered the archive 2026-09-04 in session, verbatim "archive
chain-anchoring", and ordered it as a PAIR: this packet FIRST because its
archive CREATES the capability the amendment's archive writes into. Every leg of
the evidence chain is read off `main` and none is assumed.

- RATIFIED 2026-08-30 by Brett Heap, repository owner, ruling item 2 of six,
  verbatim "2 yes with note". PR #513. Record
  `review/ratification-2026-08-30.md`, archived with the packet.
- REALIZED: PR #629, squash `11feff75` — twelve schemas, the canonical refusing
  reader, and twelve manifest rows registered AT REALIZATION on the owner's
  overruling of task 4.11's own timing ("merge 629, register now").
- COMPLETED BEFORE PUBLICATION: PR #657, squash `e65dcc48`, the amendment's
  realization the owner ordered to land before these schemas shipped in a
  tagged bundle.
- PUBLISHED: `contract-v3.4`, PR #653, squash `807a4f47`, annotated tag object
  `a3309921` — verified here by `git rev-list -n1 contract-v3.4` peeling to
  `807a4f47` rather than by reading the release note.

## Archive method — the recorded escape, disclosed in the packet

`python3 scripts/proposal-support.py . archive add-chain-anchoring` was tried
FIRST and REFUSED: exit 1, "change has incomplete tasks". Its gate is

    tasks.is_file() and re.search(r"^- \[ \]", tasks.read_text(), re.M)
    (scripts/proposal-support.py:1079-1081)

read off those three lines rather than remembered — UNCONDITIONAL on WHICH box.
`OPENSPEC_TELEMETRY=0 openspec archive add-chain-anchoring --yes` was run
instead, following `declare-spent-bundle-state` § 5.1 (PR #611, `7af2725c`) as
most recently applied by `add-subject-establishment` (PR #647, `e4ff4fb3`). It
reported `Task status: 24/40 tasks`,
`Warning: 16 incomplete task(s) found. Continuing due to --yes flag.`, created
the spec (`+ 9 added, ~ 0, - 0`), and moved the packet.

THE SIXTEEN OPEN BOXES ARE DISCLOSED AND CLASSIFIED in the archived tasks.md's
new closing section, because they span four sections rather than one § Open and
a reader should not have to reconstruct which class each falls in:

  (a) OPERATOR INFRASTRUCTURE — 4.5, 4.6, 4.7, 4.9, 4.10. Four carry `[OPERATOR]`
      in their own first words and `proposal.md`'s `code_surface` declares the
      anchoring RUNTIME NOT THIS CHANGE'S SURFACE. Ticked box 4.8 already says
      so in the packet's voice, and `contract-v3.4`'s own contract-index row
      says it in canon: no witness is configured, nothing is on any chain.
  (b) SETTLEMENTS THE RATIFIED REQUIREMENTS DELIBERATELY LEAVE OPEN — 5.1, 5.2,
      5.4, 5.5. Requirement 1 fixes the receipt SHAPE and not the unit;
      requirement 3 requires horizons be DECLARED and names no numbers;
      requirement 8 fixes the shape and the refusals and not the construction.
  (c) DISCHARGED ELSEWHERE, DELIBERATELY NOT TICKED HERE — 3.2 and 4.12. 4.12
      says of itself "The CUTTING SESSION's act ... and not this realization's",
      and the cutting session performed it: `contracts/README.md`'s own row reads
      "PUBLISHED at contract-v3.4, the cut that discharged task 4.12's half".
      An archive act is not the place to close another lane's boxes, and ticking
      them moves this gate not at all — fourteen would remain.
  (d) SUCCESSORS AND DEPENDENCIES — 6.1 … 6.5, under a heading that already
      reads NAMED, NOT DRAFTED.

Not one is undone realization of this change, and ticking any to satisfy the
wrapper would be writing a false completion past a gate that cannot tell "open
by omission" from "open by design" apart.

## The promotion was byte-checked, not trusted

`openspec/specs/chain-anchoring/spec.md` NEW. Both sides extracted from their
first `### Requirement:` line and diffed: IDENTICAL but for one trailing blank
line the archiver emits — 95509 bytes against 95510. NINE requirements / 89
SCENARIOS on both sides, the count `proposal.md` and the README record have
declared since the 2026-08-30 fix round. `git status --porcelain -uall
openspec/specs/` names that one file and nothing else, so no promoted
requirement in any other capability moved a word. The packet-side move is R100
on fourteen of fifteen files; tasks.md is R087 and its whole delta is the
disclosure above.

`openspec validate --all --strict`: 89 passed, 0 failed — and the TOTAL IS
UNCHANGED, measured on both sides rather than assumed: `origin/main` is 31
active + 58 specs, this tree is 30 active + 59 specs. An archive trades an
active change for a promoted capability and the item count does not move.

## Bookkeeping

- README "OpenSpec Records": the active entry (101 lines) removed, an archived
  entry added at the head of `Archived changes:`.
- `docs/domain-neutralization-candidate-register.md`: NO EDIT OWED — verified by
  enumeration, the packet names no DTN candidate and the register names no
  `chain-anchoring` row.
- `ideation/README.md`: NO EDIT OWED — verified, it carries no pointer to this
  packet.
- `ideation/staging/INDEX.md`: three path references to the active packet
  (lines 1996-2025) go stale with this move and are repointed in the follow-on
  commit alongside the ledger row, so this commit is the archive act and
  nothing else.

The corpus-ledger row follows in the next commit, the ledger's `moved_by`
needing this pull request's own number.

Lane: openxfactory-1d

Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Move the one ledger row the archive moves, and follow the four ideation paths to the packet's new home

Both halves are consequences of the move in the previous commit. Neither is a
re-baseline to make a check pass.

## The corpus-ledger row — moved by the tool, never by hand

`python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#669'
--moved-on 2026-09-04` → `wrote tests/sequenced_after/corpus-ledger.yaml (165
rows, 1 moved by #669)`, and the row it names is `add-chain-anchoring`.

    -  add-chain-anchoring: {state: active,   ... moved_by: "#623", ...}
    +  add-chain-anchoring: {state: archived, ... moved_by: "#669", ...}

ONE LINE. `class: sole`, `declares: absent` and `prose: false` are unchanged and
NO PARTNER FLIPPED, so **no MOVEMENT LOG entry is owed** —
`add-per-change-sweep-ledger`'s restated rule reserves an entry for a move the
row diff does NOT state, and this move is entirely stated by the row diff.
`--ledger-diff` had reported the staleness in advance and named its whole
extent: one stale row plus the three derived totals that follow from it (active
31→30, archived 134→135, active_sole 12→11). It now reads `per-change sweep
ledger consistent with the corpus (165 rows)`, exit 0, and
`pytest tests/sequenced_after` is 162 passed where it was 3 failed.

## The four ideation paths, repointed — three stale, one that was ALREADY a declared dead reference

`ideation/staging/INDEX.md` (three sites, the staged topic's Exit-3 record) and
`ideation/brainstorm/medxchain-blockchain-medical-records.md` (one site) named
`openspec/changes/add-chain-anchoring/…`, which the move dissolved. Each now
names the archive path. The brainstorm site is the interesting one: its own
sentence already declared the reference dead — *"That path resolves once #513
lands and is a dead reference before then"* — so this repoint DISCHARGES a
disclosure the source made about itself rather than repairing an oversight, and
the sentence's historical framing is left exactly as written.

The INDEX also carried a claim the archive falsifies: **EXIT 3 IS THEREFORE
RATIFIED AND NOT REALIZED**; the contract family and its validator are a later
commission. That sentence was true when written and is not now. It is KEPT and
answered rather than rewritten — the lifecycle's rule for a superseded
statement — with the closing act named: realized #629 `11feff75`, completed
#657 `e65dcc48`, published `contract-v3.4` `807a4f47` / tag `a3309921`,
archived 2026-09-04.

## The sentinel pin — 70 -> 70, and the equality is why nothing else moved

RE-ENUMERATED WITH `pin_class.verify()` ON BOTH TREES rather than reasoned
about: `origin/main` and this branch each report **70 sites / 24 members**,
verdicts `pass` 53 / `not-applicable` 16 / `lost` 1, with
`lost_awaiting_record` 0, `uncovered` `()` and `clean` true — IDENTICAL. Unlike
PR #647, whose `supporting-docs/manifest.yaml` travelled into the archive and
so moved a pin site under a new path, this packet has NO `supporting-docs/`
directory at all, so no site travelled and no comment in
`tests/doc-health/test_sentinel_vocabulary.py` goes stale. The measurement is
recorded because "nothing moved" is a claim like any other.

## Gates at this head

`openspec validate --all --strict` 89 passed / 0 failed (unchanged from
`origin/main`'s 89 — 31 active + 58 specs becomes 30 active + 59 specs);
`proposal-support.py . verify` ok; `validate-sequenced-after.py . --ledger-diff`
consistent, 165 rows; `pytest tests/sequenced_after` 162 passed;
`pytest tests/doc-health` **1552 passed**; and `doc-health.py --single-repo`
taken at `origin/main` (`9420472e`, a detached worktree) and at this branch's
head gives a finding set that is IDENTICAL LINE FOR LINE once the
directory-derived repo identity is normalized — 6 critical / 4 error / 27
warning / 13 info on both sides, `diff` exit 0. The one headline number that
moves is the canon share, 35.4% → 36.6%, which is the promotion doing exactly
what a promotion does.

EXPECTED AND NOT THIS BRANCH'S DEFECT: `pytest tests/review_lane_pin` is 3
failed / 52 passed / 1 skipped, the three being
`test_floor_snapshot.py`'s `test_every_tracked_openspec_spec_path_is_on_the_floor`
and its two negative controls, each naming exactly one path —
`openspec/specs/chain-anchoring/spec.md`. The remedy is the two-repository act
the runbook fixes the order of, and it lands as a companion codexFactory pull
request before this pin advances onto it.

Lane: openxfactory-1d

Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Re-pin merge-master core 6d35c4fe -> 76fa501c; floor 66 -> 67 (chain-anchoring)

Archiving `add-chain-anchoring` promotes
`openspec/specs/chain-anchoring/spec.md`. codexFactory's
`repository_gate_floor` for this repository is an EXACT ENUMERATION of that
surface, so the new spec arrived OFF the floor for the same structural reason
as the three promotions before it on this same day. The fourth advance of the
day, eight hours after the prior note called itself the last of the family —
which was accurate when written, and this is exactly the "whichever future
archive first does" it named.

Five sites move in this one commit, per the runbook and openxFactory PR #569:

  1. contracts/review-lane-pin.yaml            core_commit
  2. .github/workflows/merge-master-approval.yml PINNED_CORE_COMMIT
  3. .github/workflows/merge-master-approval.yml core checkout `ref:`
  4. .github/workflows/pytest-suite.yml          core checkout `ref:`
  5. contracts/review-lane-floor-snapshot.yaml   byte copy at the new commit

`6d35c4fecaa4af7a23134678f9239e409ff5215f` (codexFactory PR #198) ->
`76fa501cd1c846ca9676d901e41e33ae1e730733` (codexFactory PR #204, MERGE
COMMIT, 2026-09-04T23:47:59Z, verified an ancestor of codexFactory
origin/main immediately before this advance). entry_count 66 -> 67;
sha256 b890cf1d... -> c4a386dbbfff3b35c0ef0afd1b36932e181effb551a69434cb02b25332a59e78.

SNAPSHOT BYTE IDENTITY, measured three independent ways: (a) sha256 over
the 12809-byte file matches; (b) `git hash-object` on the vendored copy
equals the blob id codexFactory's own tree carries for that path at
76fa501c (`4dffee49`); (c) the pin suite's freshness comparison ran with the
pinned core checked out beside it: 56 passed, ZERO skipped.

THE FLOOR GREW BY EXACTLY ONE, AND IT IS THE SPEC. Whole diff against
6d35c4fe: one added entry line, the generated block's three regeneration
fields (generated_at / --ref 0ae7408 -> 3afd8a8, entry_count 58 -> 59),
and the document's two "8 + 1" self-descriptions moving 66 -> 67. PR #204
regenerated at openxFactory 3afd8a8 — THIS branch's own pushed head,
EXACTLY, the ledger commit that closes the archive — so the snapshot's
`generated_at` non-member value is the immediate parent of this commit.

NO COLLISION, measured directly: `git merge-base --is-ancestor origin/main
HEAD` holds on this branch (main 9420472 is an ancestor of 3afd8a8), so
no commit main gained after the branch was cut needed reconciling. main
carries 58 tracked paths under openspec/specs, this branch 59; the one
addition is this packet's own promotion. One regeneration at one tree
suffices; the second-lander remedy is not engaged.

HISTORY PRESERVED, LIVE CLAIMS RE-MEASURED: every remaining `6d35c4fe` in
the pin file and the caller header is prose describing the 16:02 advance,
retained as history. Live counts moved with the pin: pinned_members
SIXTY-SIX -> SIXTY-SEVEN and FIFTY-EIGHT -> FIFTY-NINE, "ALL THREE" -> "ALL
FOUR 2026-09-04 ADVANCES", the caller header's sixty-six / fifty-eight, the
snapshot generated_at note 0ae7408 -> 3afd8a8, and a seventh regeneration
appended to the block's provenance list.

LOCKSTEP RE-MEASURED, STILL DIVERGED: both xFactory judging surfaces were
read directly off xFactory main (f0ca0365, 2026-09-04T23:09:53Z) —
merge-master-approval.yml line 146 and council-convening-lane.yml line 302
— and both still name f4702f64 verbatim. Cause unchanged since 2026-09-01
and forced by the feature; the convergence obligation stands undischarged,
now owed against a floor moved SEVEN times, four of them this one day.

Validated on this tree:
  pytest tests/review_lane_pin          55 passed, 1 skipped, 18 subtests
  ... with PINNED_CORE_CHECKOUT present  56 passed, ZERO skipped
  pytest tests/doc-health               1552 passed
  pytest tests/sequenced_after          162 passed
  openspec validate --all --strict      89 passed, 0 failed
  validate-sequenced-after.py --ledger-diff  consistent, 165 rows
  all four YAML files re-parse

Refs #669
Lane: openxfactory-1d

Co-Authored-By: Claude Fable 5.1 <[email protected]>

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 5, 2026
…r lanes (proposal, draft) (#676)

* Author openxFactory's half of the floor addition grace as a draft proposal

codexFactory's `add-floor-addition-grace` is RATIFIED and REALIZED (issue #203
ruled option (c), "rule c, this lane authors it"; "ratify 205, B1 stands"; PR
#206, merge `712fc8ca`). Its ratified requirement *"The blocking check and the
reporting lane implement one completeness rule"* has a second lane, and the
second lane is this repository's — NAMED there as the companion change
`openxFactory: mirror-floor-addition-grace` and deliberately not authored there
(its tasks 4.1-4.3). This is that companion, as a PROPOSAL ONLY.

## What is refused today, and where it blocks

The `repository_gate_floor` for `opensoft/openxFactory` is an EXACT SET: 59
generated spec paths inside a 67-entry floor. So promoting a capability is an
ADDITION to the set the floor enumerates, and `surface - entries` reports the
new path as uncovered in two places at once — the REQUIRED `pytest-suite`
assertion `test_every_tracked_openspec_spec_path_is_on_the_floor` (org ruleset
21538893) with the two negative controls that fail with it by construction, and
`merge-master-approval.yml` step 8 at stage `floor_incomplete`.

The repair was paid FIVE TIMES IN TWO DAYS (codexFactory PRs #183, #195, #197,
#198, #204 - four on 2026-09-04 alone), each matched here by an advance moving
five pin sites in lockstep. Until this companion lands, the ratified grace is
INERT IN THE ONLY LANE THAT BLOCKS.

## The measured defect this retires, re-measured here rather than quoted

Re-measured on this branch against `origin/main` (`55c95dc1`), 2026-09-05:

    3afd8a8  (THE LIVE PIN)  NOT an ancestor of main
    c236c6b                  NOT an ancestor of main
    8d893a0                  NOT an ancestor of main
    0ae7408                  ancestor
    2a3b29c                  ancestor

THREE OF THE LAST FIVE declared `generated_at` pins are not ancestors of `main`,
the live one among them, because the old order forced regeneration at an
openxFactory PULL-REQUEST HEAD. With the addition graced the regeneration
FOLLOWS the landing and can pin at a landed commit.

## The packet

SEVEN `## ADDED Requirements`, 28 scenarios, in a NEW capability
`review-lane-floor-mirror`. No `MODIFIED` and no `REMOVED` block anywhere in the
delta: `grep -rl "review-lane-pin\|LQ-A7\|floor_snapshot" openspec/specs`
returns NOTHING across all 59 promoted capabilities, so there is no requirement
text to modify and no sibling-delta hazard to walk into.

Decision A, the packet's one real design choice: the REQUIRED lane MIRRORS the
rule and is falsified by replaying the core's 16 exported vectors plus its 5
refused ones; the ADVISORY lane IMPORTS `evaluate_floor_completeness` outright.
The asymmetry is measured, not stylistic - the pinned core checkout is
`continue-on-error: true` in `pytest-suite.yml` on purpose ("a required check
that fails for reasons the candidate cannot fix blocks everything"), so an
IMPORTING blocking assertion could only skip (the blocking check silently
ceasing to block - the CSC-F16 shape inside the guard against CSC-F16) or fail
for a cause no candidate can fix. Step 8 already treats an unreadable core as
fatal and has nothing to protect by keeping a second copy of the rule.

Decision B: a NEW capability rather than `neutral-product-pin`, on that pin
file's OWN written ground - `contracts/review-lane-pin.yaml` declares
`kind: pinned_workflow` and says why, "Reusing `pinned_contract_manifest` would
have claimed a digest discipline this pin does not have and cannot have".

Decision D: `sequenced_after: [codexFactory:add-floor-addition-grace]` - the
FIRST cross-repository entry in this corpus. The grammar accepts
`<repository>:<change-id>` and checks a qualified foreign entry for
well-formedness only, which is exactly the disposition this dependency has.

## Validation

    openspec validate mirror-floor-addition-grace --strict   valid
    openspec validate --all --strict            90 passed, 0 failed (was 89)
    scripts/proposal-support.py . verify        ok
    scripts/validate-sequenced-after.py .       passed (31 active, 2 declaring)
    pytest tests/review_lane_pin -q             55 passed, 1 skipped (unchanged)

`--ledger-diff` is STALE by exactly this change's one missing row and the six
derived totals that follow from it; the row is seeded in the next commit, once
the pull request number this ledger records exists.

RATIFICATION IS OWED AND IS BRETT HEAP'S ACT. His word of 2026-09-05,
"companion", authorized the AUTHORING and not the content; nothing here is
ratified by being authored. No realization code, no pin advance, no
regeneration, no D-3 tolerance value, and no codexFactory file touched.

Refs #675
Lane: openxfactory-2 (openXfactory-2)
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Move the one ledger row this packet's arrival moves

A consequence of the previous commit, not a re-baseline to make a check pass.

## The row — moved by the tool, never by hand

`python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#676'
--moved-on 2026-09-05` -> `wrote tests/sequenced_after/corpus-ledger.yaml (168
rows, 1 moved by #676)`, and the row it names is `mirror-floor-addition-grace`.

    +  mirror-floor-addition-grace: {state: active, class: sole,
    +    declares: [codexFactory:add-floor-addition-grace], depth: 0,
    +    prose: false, moved_by: "#676", moved_on: "2026-09-05"}

ONE LINE, ONE INSERTION, ZERO DELETIONS — `git diff --stat` reads
`1 file changed, 1 insertion(+)`. **NO PARTNER FLIPPED**: the packet's delta
opens a NEW capability (`review-lane-floor-mirror`), so it shares no requirement
key with any change in the corpus and lands `class: sole` without moving anybody
else's class. **No MOVEMENT LOG entry is owed** —
`add-per-change-sweep-ledger`'s restated rule reserves an entry for a move the
row diff does NOT state, and this move is entirely stated by the row diff.

`--ledger-diff` had reported the staleness in advance and named its whole
extent: one missing row plus the six derived totals that follow from it
(change_ids 167->168, active 30->31, sole_modifiers 52->53, active_sole 10->11,
declaring 3->4, and the declaring_ids tuple). It now reads
`per-change sweep ledger consistent with the corpus (168 rows)`, exit 0, and
`pytest tests/sequenced_after` is **162 passed** where it was 4 failed.

## One honest finding about `depth: 0`, recorded rather than smoothed over

This is the corpus's FIRST cross-repository `sequenced_after:` declaration, and
the derived `depth` it produces is **`0`** — because the sweep measures "the
longest RESOLVABLE declared chain from this change", a qualified FOREIGN entry
resolves for no validator by design (*"the neutral validator cannot read another
repository's corpus and MUST NOT pretend to"*), and no hop is therefore
walkable.

The ledger's own header says `0` is the value it wanted to keep away from a
non-declaring row because *"`0` would read as a resolved root"*. Here the row
DOES declare — `declares:` carries the foreign parent verbatim, so the two keys
read together say exactly what is true — but a reader keying on `depth` ALONE
would read this row as a root, which it is not. The value is what the tool
derived and it is not hand-corrected here; the observation is recorded so the
first instance of the shape is on the record rather than rediscovered by
whoever files the second one.

Refs #675
Lane: openxfactory-2 (openXfactory-2)
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Record the depth: 0 reading the first cross-repository declaration produces

The observation was in the ledger commit's message and nowhere a future author
would look. `design.md` gains § 7, so the shape is on the record at its FIRST
instance rather than rediscovered at its second.

`sequenced_after: [codexFactory:add-floor-addition-grace]` is the corpus's first
QUALIFIED FOREIGN entry — measured 2026-09-05, three changes declare the field
and all three declare bare local parents. The sweep derives `depth: 0` for it,
and the value is TRUE: `depth` is "the longest RESOLVABLE declared chain", and a
qualified foreign entry resolves for no validator BY DESIGN
(`validate_resolvable` checks well-formedness only, because "the neutral
validator cannot read another repository's corpus and MUST NOT pretend to").

But the ledger's own header keeps `depth` off a non-declaring row for exactly
this reason — "`0` would read as a resolved root" — and `[]`, the POSITIVE root
claim, is a fact the ledger goes to trouble elsewhere to keep apart from
absence. Read together with `declares:` the row is exact; read on `depth` alone
it is misleading.

Nothing is hand-corrected: hand-editing a derived key is the defect "moved by
the tool, never by hand" exists to prevent. Whether `depth` should distinguish
"no resolvable hop" from "resolved root" is left as a question somebody can take
up deliberately, in its own change, now against a real example.

`openspec validate mirror-floor-addition-grace --strict` still valid; no
requirement, scenario or front-matter field moves.

Refs #675
Lane: openxfactory-2 (openXfactory-2)
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Copilot round 1: the pin-window command is the core's own, argument for argument

FINDING ACCEPTED, AND IT IS A REAL DEFECT rather than a style note. Copilot
found the same fault at two of the three sites that write the command
(`proposal.md` § What Changes, `tasks.md` 2.2); the third (`design.md` § 3) had
`--name-only` but not `--pretty=format:` and carried HALF the same fault, so all
three are corrected in one act rather than only the two that were reported.

WHAT WAS WRONG. The packet wrote the B1 window as

    git log --diff-filter=A <generated_at>..<base> -- openspec/specs

which emits COMMIT HEADERS interleaved with nothing else — no path list at all
without `--name-only`, and commit metadata mixed into the paths even with it
unless `--pretty=format:` empties the header. A realization following the
written command would have parsed a different thing from the one the pinned core
parses, in a packet whose entire object is that the two lanes must not diverge.

THE FIX IS NOT "ADD A FLAG", IT IS "COPY THE CORE'S INVOCATION". All three sites
now carry `specs_floor_block.paths_added_after_pin`'s exact argument list:

    git log --diff-filter=A --name-only --pretty=format: \
        <generated_at>..<base> -- <prefix>

and each says why the two flags are load-bearing. `design.md` § 3 states the
principle the correction actually follows: copying the invocation is the same
discipline as replaying the core's vectors — the rule has one home, and so does
the command that feeds it.

No requirement, no scenario and no front-matter field moves; the spec delta is
byte-unchanged. `openspec validate mirror-floor-addition-grace --strict` valid;
`--all --strict` 91 passed / 0 failed; `proposal-support.py . verify` ok.

Refs #675
Lane: openxfactory-2 (openXfactory-2)
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Record Brett's ratification of mirror-floor-addition-grace: "ratify the companion when green, then realize it"

Brett Heap (repository owner), in session, verbatim: "ratify the companion
when green, then realize it" — a standing word given while the packet was
being authored, applied at the first head where the condition held,
ce9a81e (all ten checks green, three Copilot threads resolved, Copilot
Approval recommended, Codex quota-refused). Recorded on PR #676 (comment
beginning "RULING — Brett Heap") and issue #675 (comment beginning
"RATIFIED — Brett Heap").

RATIFIED: the seven `## ADDED Requirements` (28 scenarios) on the new
capability `review-lane-floor-mirror`, as written. Because the word
preceded the authoring's completion, authoring decisions A-F stand as
recommended and none is separately ruled; the owner may veto any by
follow-up.

Nothing in the spec delta changes between the ruled head and this commit:
`git diff ce9a81e -- specs/ design.md tasks.md .openspec.yaml` is empty.
Ratification authorizes promotion of the delta and performs no
realization; realization is the next act on the same word.

Refs #675
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Lane: openxfactory-2 (openXfactory-2)

* Copilot round 2: the origin field answers its own "has not happened"

.openspec.yaml's origin.approved_by note said the packet's content
ratification "has not happened" — true when authored, stale after the
ratifying commit. Append, in the same field, the house precedent's shape
(amend-chain-anchoring-readiness-and-durability's .openspec.yaml): the
field still records authorization to file only, and a separate dated
statement records that the packet has since been ratified, citing the
verbatim word, the head it applied at, and the ratification record.
Nothing in the field's original text moves.

Refs #675
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Lane: openxfactory-2 (openXfactory-2)

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
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.

2 participants