Skip to content

Archive split-opendox-two-layer-product: the packet's own ledger closes, ideation-dashboard reduces to its two surviving requirements, and two capabilities are promoted - #1139

Merged
brettheap merged 14 commits into
mainfrom
change/archive-split-opendox-two-layer-product
Sep 22, 2026
Merged

brettheap merged 14 commits into
mainfrom
change/archive-split-opendox-two-layer-product

Conversation

@brettheap

@brettheap brettheap commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Archives split-opendox-two-layer-product through the pinned wrapper, on Brett
Heap's ratification of 2026-09-05 (verbatim "ratify #666", #656 comment
5548470629
)
and his separate archive word of 2026-09-22 — verbatim "land the archive when
green and keep going"
, #656 comment
5769909970
.

LANDING FORM: A MERGE COMMIT ON THE ARCHIVE DAY. NEVER A SQUASH.
validate-sequenced-after.py's archive-date-vs-commit arm holds that every
archived directory is named for the UTC date of the commit that ADDED it. A
squash re-dates that commit and reds the arm for this directory — the failure
shape already recorded at #1076 / #1056 and repaired there by disposition
rows. A merge commit keeps the wrapper's own act commit, so the directory's date
and its adding commit's date are one fact.

Estate state at the archive

main base cd246a01 (#1135, tasks.md amendment #11), over 7c49825e
(#1136, the review-lane pin lockstep) and aaddda66 (#1134, the nested leg
advance: openDox gitlink and direct pin → dc7aa08f, openXdox →
646f1dc0)
. openXdox#15 → 646f1dc0. The two published first bundles that
closed §§ 3.8 and 4.6 are dox-v1.0 (608236a1, over dc7aa08f) and
xdox-v1.0 (2d2e9b85).

What the wrapper did

scripts/proposal-support.py . archive split-opendox-two-layer-product --yes,
exit 0, CLI resolved through its content address (@fission-ai/[email protected],
80-package closure, npm ci --ignore-scripts); origin retention passed
(declaration unchanged since the ratifying commit ceb6dc9ebbdc); the packet
validated 1 passed, 0 failed through that same binary before anything moved.

Spec deltas as ratified: + 7, ~ 4, - 102, → 0. Capability directories
64 → 66 (the ledger's 63 → 65 was measured at 80c68da6; #1133 promoted
packet-citation-report in between — two ADDs and nothing removed either way).

capability act effect
corpus-adapter-seam created 4 requirements, 11 scenarios
domain-mapping-declaration created 3 requirements, 9 scenarios
domain-descendant-boundary modified 2 requirements replaced
neutral-product-pin modified 2 requirements replaced
ideation-dashboard modified 102 of 104 requirements REMOVED

ideation-dashboard is REDUCED, not removed

307,705 B / 104 requirements / 487 scenarios → 15,457 B / 2 / 12, directory
PRESENT
. The largest ## REMOVED block ever applied at an archive here (102
requirements, 215,683 B) and still not a capability removal — the CLI's own plan
says update. The two survivors are retire-doxbench-chat-turn-v1's, the one
of the five § 6 changes closed by promotion rather than as re-homed.

The measurement record — § 8.9, RULED R-6 (#656 comment 5690428146)

BASELINE FIXED AND PUBLISHED BEFORE THE AFTER RUN WAS TAKEN — R-6 clause (a)
refuses a baseline chosen after the fact. This pull request's OWN BASE,
cd246a012645d1d97047cc40427f66f43440401f, and the invocation, were written to
brett-wip at 003fc795 before any AFTER run started. AFTER is this pull
request's own head. Both trees are the SAME KIND — a plain
git clone --filter=blob:none with openDox and openXdox materialized — and
doc-health is run FROM the tree it measures, never merely pointed at it.

THE SCOPE IS NAMED FIRST AND THE TWO ARE NEVER NETTED. A --single-repo
self-gate run sees NONE of the aggregation-root dispositions, so a BEFORE in one
scope and an AFTER in the other would manufacture a delta out of the flag alone.

(A) single-repo — python3 scripts/doc-health.py --single-repo . --as-of 2026-09-22

family critical error warning info
document-catalog 0→0 0→0 0→0 1→1
ideation-routing 0→0 0→0 2→2 2→2
modified-block-currency 0→0 0→0 0→0 12→12
promotion-fidelity 0→0 20→17 0→0 0→0
ratified-provenance 27→27 0→0 0→0 0→0
record-immutability 4→4 0→0 0→0 0→0
release-inventory-drift 0→0 3→3 0→0 3→3
release-tag-publication 0→0 0→0 0→0 1→1
staged-candidate-aging 0→0 0→0 34→34 1→1
staged-topic-template 0→0 0→0 1→1 0→0
tag-hygiene 0→0 5→5 0→0 0→0
TOTAL 31→31 28→25 37→37 20→20

Canon share 42.1% (414,832/985,117) → 39.5% (371,871/942,156). New regressions 0
at both ends; the same five families skipped at both ends, each named.

ENTERED 0 · CHANGED SEVERITY 0 · LEFT 3, and the three have ONE reason:

  • archive/2026-09-16-add-composed-view-authoring/specs/ideation-dashboard/spec.md — 'Composed views are read-only with a repository jump' … without 5 of its 6 ratified scenarios
  • archive/2026-09-16-add-doxchat-model-intake/… — 'doxBench model catalog and provider boundary' … without 1 of its 12
  • archive/2026-09-16-add-nightly-dashboard-refresh/… — 'Runtime snapshot fetch with baked fallback and displayed freshness' … without 2 of its 6

Each is a scenario-completeness finding about a title that reached canon
incompletely. This archive's ## REMOVED block removes those titles from canon,
so there is no incomplete promotion left to report. Nothing was suppressed and
no disposition was added
— the findings have no subject left. The canon-share
fall is the same event from the other side: canon and governance words fall by
the identical 42,961.

(B) aggregation — --repo-root, health/ from opensoft/xFactory cfe27de3

critical error warning info
BEFORE 16 949 3300 33
AFTER 16 951 3300 33

Only document-catalog moves, 941 → 943. ENTERED 2 · LEFT 0 · CHANGED
SEVERITY 0
:

+ [error] document-catalog openspec/specs/corpus-adapter-seam/spec.md
          [coverage] document has no catalog entry        class="auto-fixable"
+ [error] document-catalog openspec/specs/domain-mapping-declaration/spec.md
          [coverage] document has no catalog entry        class="auto-fixable"

Both are the capabilities this archive promoted. The remedy is not in this
repository
: the catalog baseline lives at the aggregation root
(health/document-catalog/baseline/), so the mechanical catalog pass for these
two documents belongs to the xFactory sync that follows this landing.
promotion-fidelity contributes ZERO in aggregation mode at both ends — the
dispositions suppress the family entirely — which is exactly why (A) and (B) are
reported apart.

strict validate and pytest

items passed failed
BEFORE cd246a01 107 106 1
AFTER, Purposes left as the CLI wrote them 108 105 3
AFTER, this head 108 107 1

The archive's own contribution is +1 item, +1 passed, ZERO new failures. The
one failure at both ends is change/add-chain-attestation — MODIFIED "A gate
validates the short chain as a hash-linked chain" omits … "a tranche-two link
does not exist yet"
— another change's, red on main before this branch
existed.

python3 -m pytest tests/doc-health tests/sequenced_after -q is identical at
both ends: 1 failed, 2185 passed, 8 skipped
. That one failure
(test_sentinel_vocabulary::test_the_pin_counts_did_not_move_and_no_site_is_classified_twice)
is a local-clone artifact, not a corpus fact: pytest-suite on main at
7c49825e is SUCCESS (run 35675861095) and the same test fails in a clean
checkout of main with nothing applied.

validate-sequenced-after.py (plain, both trees): exit 0 on main and on this
branch, all three arms green, 13 dispositions in force at both ends — this
archive retro-changes no already-landed directory's adding commit.

What this pull request carries beyond the wrapper's output

  1. A real ## Purpose in each new capability spec — the CLI writes a TBD
    and --strict reds on it; the checker's own instruction is to edit the
    promoted spec directly. No ratified packet text moves.
  2. The corpus-ledger row, machine-derived
    (--seed-ledger --moved-by '#1139'): one row of 222, state: active → archived plus provenance; class, declares, prose unchanged.
  3. The README OpenSpec Records move — six references repointed string-keyed
    (one of them 1,700 lines outside the records block, which a line-range edit
    would have missed), plus three sentences this archive falsifies, corrected in
    place in the house's dated (TRUE WHEN WRITTEN; …) form.
  4. A re-aim of the modified-block-currency self-gate. The archive removed
    the canon block that test read as its control; the module's own failure
    message calls corpus movement the expected cause and asks for the named
    subjects to be re-aimed in the same commit. Every replacement figure is
    measured over the post-archive tree. The invariant is STRENGTHENED: the
    question is now asked of all of canon rather than of one block.
  5. Four register retirements, each on its own entry's retires_when: … or the packet archives — target-release-register.yaml + its
    CLOSED_REGISTER pair (20 → 19), and code-surface-register.yaml + its pair
    in code_surface.py (8 → 7). The archived packet's own README entry named
    the first in advance as "THE LOCKSTEP PAIR THE ARCHIVE RETIRES".
  6. A re-pin of CLOSED_REGISTER's baseline size in
    tests/target_release/test_target_release_gate.py, 20 → 19, which that
    test's own docstring provides for — the literal "falls when a retirement
    lawfully shrinks the ceiling ... and refuses to rise" — with the identity
    assertion beside it in the shape the 2026-09-16 retirement already uses,
    because a count verifies a shrink's magnitude and not the shrink.
  7. review/archive-record-2026-09-22.md — the archive's own record.

How 4–6 were found: by running the gate, not by predicting it

The § 8.9 box's own command is pytest tests/doc-health tests/sequenced_after,
and it reaches none of tests/code_surface/ or tests/target_release/. All
three repairs surfaced by running the FULL suite the way CI does and diffing the
failure set against the same run at the base: 113 failed / 52 errors at
cd246a01, 114 / 52 on the branch, and the single difference was the
CLOSED_REGISTER size literal.
The local suite's other failures are
environment-bound and identical at both ends; pytest-suite in CI at head
c31c9457 reported that one test and nothing else, which is the same answer from
a clean machine.

Rulings this lands on

  • R-B (#656 comment 5728607038) — §§ 5.6 and 8.4 archive in the house's reserved [~] DEFERRED form, because both of R-B's remaining clauses take this archive's own merge sha as their input and neither can be performed before this landing.
  • R-6 (#656 comment 5690428146) — the doc-health movement is RECORDED AND EXPLAINED by this pull request, in the form R-6 fixed: baseline named as a sha before the run, per-family per-severity vectors with info, and a named reason for every finding that entered, left or changed severity.
  • R-3 (2026-09-16, #656 comment 5690428146 — the same comment as R-6) — § 7.3's DEFERRED SUCCESSOR keeps its [~]: the ruling § 7.1 owed has landed and its answer is NONE YET, so the act has no subject, and it neither ticks, blocks this archive gate, nor lapses.
  • The tag word of 2026-09-21, "(a) for both, cut the tags when the drafts are green" (#656 comment 5767052465), which closed §§ 3.8 and 4.6.

§ 8.9 TOOK THE RESERVED [~], ON A RULING TAKEN AT THIS ARCHIVE

Clause (2) asks for OPENSPEC_TELEMETRY=0 openspec validate --all --strict
GREEN. The RAW command exits 1 at this head, on
change/add-chain-attestation. Brett Heap was given the measurement
(#656 comment 5778300335)
and RULED by multi-choice
(#656 comment 5778397686)
that clause (2) reads LITERALLY: the box takes the house's reserved [~]
DEFERRED form rather than a tick standing over a red. The bookkeeper re-cut it at
18a526f6; tasks.md is the bookkeeper's file and this actor never edits it.

Why the question was worth asking, and it is the measured half of the ruling:
the corpus's own GOVERNED reading of that same command exits 0.

contracts/openspec-cli-pin.yaml carries a LIVE, CITED, RATIFIED disposition for
exactly this finding — item: add-chain-attestation,
path: signed-execution-chain/spec.md, level: ERROR, the finding quoted
verbatim, ratified_by: 'Brett Heap, 2026-09-05, "take exit 2"',
retires_when: add-chain-attestation archives — because the scenario is RENAMED
AND RE-CONDITIONED rather than dropped, declared in the block with the reserved
Merged into marker, and the pinned CLI is blind to that marker while the
corpus's own promoted grammar defines it at openspec/specs/doc-health/spec.md
line 1770. Measured at this head:

$ python3 scripts/validate-openspec-cli-pin.py --all --strict --repo .
Totals: 107 passed, 1 failed (108 items)
openspec-cli-pin: DISPOSITIONED FINDINGS in openxFactory (1 applied) — this run is NOT a clean tree:
  ✗→D add-chain-attestation / signed-execution-chain/spec.md
      accepted by: Brett Heap, 2026-09-05, "take exit 2"
OK openspec-cli-pin: … every target validated --strict with 0 UNDISPOSITIONED failures.
exit 0

Two readings of one command — one literal, one governed — and the box's own words
pick the literal one. CLAUSES (1) AND (3) ARE DISCHARGED: the pytest pair is
identical at BASE and HEAD, and the doc-health BASE→HEAD vectors above are
complete in both scopes with every entered, left and severity-changed finding
named. Only clause (2) is owed, it is owed by a sibling change, and the
archive's own contribution to clause (2) is +1 item, +1 passed and ZERO new
failures.

The ledger closes at 67 [x] / 0 [ ] / 5 [~] of 72
([~]: §§ 5.6, 7.3, 7.4, 8.4, 8.9). grep -c '<<REHOME:' reads 0.

The archive wrapper was re-run against the re-cut ledger and the - [ ] gate
no longer fires
: in a throwaway rebuilt from the branch's pre-archive commit
with the final tasks.md restored to the active path,
proposal-support.py … archive --yes runs to exit 0, Task status: ✓ Complete, the same + 7, ~ 4, - 102, → 0, the same archive directory name — so
five [~] are not a blocker, which is the whole point of the reserved marker.

The base is deliberately NOT moved

This branch is behind main and stays there. § 8.9 clause (3) binds the
doc-health record to this pull request's own base, cd246a01, published
before the AFTER run was taken; the clause's entire form is that neither end of
the pair may be swapped for a convenient tree. Merging main would move the BASE
under a published BEFORE→AFTER pair. The pull request reads MERGEABLE and no
required check demands a fresher base, so the base is left alone on purpose. If a
check ever does demand one, the pair is re-run and re-published against the new
base and this body says why — it is not silently inherited.

Holds

  1. NONE OUTSTANDING. The one hold this pull request carried —
    change/add-chain-attestation's strict-validate red against § 8.9 clause (2)
    — was RESOLVED BY RULING rather than by a code change: clause (2) reads
    literally, the box takes [~], and the ledger closes at 67 / 0 / 5
    (#656 comment 5778397686).
    That red is still red and is still not this packet's; it retires when
    add-chain-attestation archives, exactly as its own ratified disposition row
    says, and this lane does not touch it.
  2. The bookkeeper's tasks.md hunk is APPLIED, not pending — git am of
    0001-split-opendox-tasks.md-THE-ARCHIVE-AMENDMENT-5.6-and.patch, clean, as
    the first commit on this branch and BEFORE the wrapper ran, which is the
    order APPLY.md requires. The three <<REHOME: …>> placeholders it left are
    filled from measurement. tasks.md is otherwise untouched by this actor.

Follow-on, NOT in this pull request

To opensoft/xFactory, after this lands (not before — until the archive is on
main, row A's finding is live and removing it would un-suppress a real error):

  • the mechanical catalog pass for the two newly promoted capability documents,
    which clears both new document-catalog errors;
  • remove the spent add-composed-view-authoring disposition row (live, now
    superseded by this archive's own ## REMOVED block) and the never-live
    retire-doxbench-chat-turn-v1 (Record the gate-rules refusal at FR-008: the class was refused, so the gate stays shut #473) row, whose two disposed titles are
    exactly the two requirements that SURVIVE. The two removals have different
    reasons and the commit must say so.

Registered and not taken: giving health/dispositions.yaml the stale-entry arm
validate-openspec-cli-pin.py already has, so a spent row is reported rather
than inert.

The three ratified-requirement findings from Copilot review 5273796676 stay
as ratified here and travel as successor changes, not as archive edits.
Brett
has already ruled (b) on one of the three
(#656 comment 5777949892):
neutral-product-pin's source-tree clause is amended to admit a whole-tree
sorted-ls-tree-r-v1 digest as an equivalent discharge — as its own small
change, which does not ride in this archive.

🤖 Generated with Claude Code

brettheap and others added 3 commits September 22, 2026 01:43
… reserved [~] DEFERRED form, § 8.9 ticks on the archive's own BASE-to-HEAD record, and the file states its final count

THE LEDGER GOES 67 [x] / 3 [ ] / 2 [~] -> 68 [x] / 0 [ ] / 4 [~] of 72.
No column-0 `- [ ]` remains, which is the condition
`scripts/proposal-support.py` refuses an archive on; the regex is run against
the amended file and does not match. §§ 6.6, 7.3 and 7.4 are untouched — 6.6
already ticked at amendment #10 on opening dates, and 7.3/7.4 hold the `[~]`
they already had.

§ 5.6 AND § 8.4 TAKE THE HOUSE'S RESERVED DEFERRED FORM, the one amendment #10
named for them: "DEFERRED 2026-09-22, AT THE ARCHIVE — OPEN, OWNED, AND NOT
CLAIMED." with an `Owner:` line, and with RULED R-B (`#656` comment
`5728607038`) named IN each box so the next reader meets the exception rather
than the contradiction. R-B puts the ARCHIVE FIRST because the order those
boxes write and the machinery that would perform it are jointly unsatisfiable
for a REMOVAL — codexFactory's
`scripts/merge_master/specs_floor_block.py::assert_landed_pin` refuses a block
pinned at any openxFactory commit not reachable from main — and Q-D1 (a) parks
Phase 1 on this archive, so the archive is gated by boxes that are gated by the
archive. What R-B still owes, clauses (2) and (3), both take THIS archive's
merge sha as their input and cannot be performed before this landing: the
marker says the box is open and says who owns it, and does not say the work is
done. Every box's ratified text and its whole accumulated STATUS chain follow
unchanged, on this packet's no-deletion rule.

§ 8.9 TICKS on the archive pull request's OWN BASE-to-HEAD pair, the form the
box's own text fixed before it knew its numbers: the baseline is the last
pre-archive main named as a sha, the AFTER names this pull request's own head
or merge commit, and the scope is named first because a `--single-repo` run
sees none of the aggregation-root dispositions this packet depends on. THE TICK
STANDS ONLY ON AN EXIT-0 AFTER FOR CLAUSE (2), and the box says so: if the
measured AFTER is not exit 0 — residue (vi)'s `add-chain-attestation`, or the
two newly promoted specs before real `## Purpose` text replaces the CLI's `TBD`
— the box takes the same `[~]` instead, and the archiving act records which.

ROW (xi) STATES THE FILE'S OWN FINAL COUNT so the next reader need not recount
72 boxes. Row (ix) is KEPT as the dated measurement it is and is not
renumbered.

THREE PLACEHOLDERS ARE LEFT FOR THE ARCHIVING ACT TO FILL, and none of them may
land: `<<REHOME: pytest counts>>`, `<<REHOME: strict-validate delta>>`,
`<<REHOME: doc-health deltas per family>>`. `grep -c '<<REHOME:'` must read 0
before READY.

`openspec validate split-opendox-two-layer-product --strict` valid ·
`proposal-support.py . verify` ok · the wrapper's own `^- \[ \]` regex does not
match.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
`scripts/proposal-support.py . archive split-opendox-two-layer-product --yes`,
exit 0, with the CLI resolved through its content address:
`@fission-ai/[email protected]`, integrity `sha512-oFE2Lj7WVSc87nSi…` verified over
the pinned 80-package closure (`openspec-cli-pin.1.12.0.package-lock.json`,
`lockfile_integrity sha512-aw5lIN45tQq2WZll…`, installed with
`npm ci --ignore-scripts`). Origin retention passed — the declaration is
unchanged since the ratifying commit `ceb6dc9ebbdc` — and the packet validated
`1 passed, 0 failed` through that same pinned binary before anything moved.

The spec deltas applied as ratified: `+ 7, ~ 4, - 102, → 0`.

  corpus-adapter-seam         create   4 requirements, 11 scenarios
  domain-mapping-declaration  create   3 requirements,  9 scenarios
  domain-descendant-boundary  update   2 requirements replaced
  neutral-product-pin         update   2 requirements replaced
  ideation-dashboard          update   102 of 104 requirements REMOVED

`ideation-dashboard` is REDUCED, not removed, and the CLI's own plan says
`update`: 307,705 B / 104 requirements / 487 scenarios before, 15,457 B / 2 / 12
after, the directory still present. The two survivors are
`retire-doxbench-chat-turn-v1`'s own — "The doxBench chat-turn v1 envelope family
is REMOVED at contract-v3.0" and "An unrecognized chat-turn kind is refused in
the SURVIVING family, never coerced into a removed one" — the one of the five
§ 6 changes closed by promotion rather than as re-homed, so its content is
openxFactory's and stays. This is the largest `## REMOVED` block ever applied at
an archive in this corpus (102 requirements, 215,683 B of delta) and it is still
not a capability removal.

There were no supporting docs to package, which is the majority shape for a
staged origin, so the wrapper recorded that rather than packaging nothing.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
`openspec archive` writes `TBD - created by archiving change
split-opendox-two-layer-product. Update Purpose after archive.` into a capability
it creates, because neither delta carries a `## Purpose` — a `## Purpose` in a
delta is read only at creation, so it cannot supply this one. `openspec validate
--all --strict` reds on the placeholder, by name, at both new capabilities:

  BEFORE (base)                 107 items, 106 passed, 1 failed
  AFTER, placeholders left      108 items, 105 passed, 3 failed
  AFTER, this commit            108 items, 107 passed, 1 failed

The one remaining failure is `change/add-chain-attestation`, which is a sibling
change's and is red on `main` before this branch exists.

Both texts say what the capability is FOR rather than restating its
requirements, and each is written to the promoted spec directly — which is what
the checker's own message prescribes. No ratified packet text moves: the
archived delta is untouched, and these two files did not exist until the
wrapper's own commit created them.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI lite review requested due to automatic review settings September 22, 2026 01:45
Brett Heap and others added 2 commits September 22, 2026 01:47
…ect three sentences the archive falsifies

The OpenSpec Records move, string-keyed across the whole file rather than by
line range, because ONE of the six references sits outside the records block
entirely (inside another archived entry, 1,700 lines away) and a range edit
would have left it pointing at a directory that no longer exists:

  grep -c 'openspec/changes/split-opendox-two-layer-product' README.md   ->  0
  grep -c 'openspec/changes/archive/2026-09-22-split-opendox-…'          ->  6

The entry keeps its ratification and all three amendment paragraphs verbatim and
gains the archived header the block's other entries carry: the archive word, the
two published first bundles that closed §§ 3.8 and 4.6, RULED R-B for the `[~]`
form at §§ 5.6 and 8.4, and the ledger's closing count.

THREE SENTENCES THE ARCHIVE ITSELF FALSIFIES, corrected rather than left:

1. `§ 3.7 is not ticked` — it IS ticked (amendment #8, PR #1124 → `3e3b4587`),
   with `OK — 17 of 17` at a landed head in all three named destinations. The
   README was denying a tick in the very ledger this commit archives.
2. and 3. Two ARCHIVED entries say in the present tense that `corpus-adapter-seam`
   is an unpromoted delta with no `openspec/specs/corpus-adapter-seam/` to
   promote into. Both were true when written and this archive is exactly what
   makes them false, so each keeps its original wording and takes a dated
   *(TRUE WHEN WRITTEN; …)* correction naming this pull request — the form the
   packet's own `tasks.md` amendments use. The half those sentences turn on, the
   unbuilt § 5.2a successor capability id, is unchanged and says so.

NOT DONE, and recorded so the omission is a decision rather than an oversight:
the two newly promoted capability specs were NOT added to the `## Documentation`
index. That index is a curated core set — 36 of the repository's 66 capabilities
— and it carries neither `domain-descendant-boundary` nor `neutral-product-pin`,
the two capabilities these deltas modify. Adding only the new pair would make the
index less consistent, not more. Both are named and described in full in the
records-block entry this commit moves.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
  python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1139'
  wrote tests/sequenced_after/corpus-ledger.yaml (222 rows, 1 moved by #1139).

ONE row of 222 moves, and one line changes:

  -  split-opendox-two-layer-product: {state: active,   … moved_by: "#666",  moved_on: "2026-09-04"}
  +  split-opendox-two-layer-product: {state: archived, … moved_by: "#1139", moved_on: "2026-09-22"}

`class: co-modifier`, `declares: absent` and `prose: false` are UNCHANGED — only
the state and its provenance. The row is derived by the validator's own seeder
rather than hand-edited, which is why `--moved-by` takes a real pull request
number: the flag refuses anything that is not `#<digits>`, so a placeholder
cannot land here.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

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.

Copilot review overview

🟡 Changes recommended

Archive evidence contains unresolved placeholders, while promoted pin and adapter contracts contradict the realized topology.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 Medium severity

Open (2)
What changed in this PR

Archives the ratified OpenDox/OpenXdox split packet and promotes its capability changes into canonical OpenSpec records.

Changes:

  • Promotes two new capabilities and modifies two existing pin/boundary capabilities.
  • Records the 102-requirement ideation-dashboard successor map and archive evidence.
  • Adds ratification, amendment, and reality-check records.
File Description
openspec/​specs/​neutral-product-pin/​spec.md Promotes pin deployment and chain rules.
openspec/​specs/​ideation-dashboard/​spec.md Retains the two surviving requirements.
openspec/​specs/​domain-mapping-declaration/​spec.md Adds domain mapping requirements.
openspec/​specs/​domain-descendant-boundary/​spec.md Promotes runtime descendant rules.
openspec/​specs/​corpus-adapter-seam/​spec.md Adds corpus adapter requirements.
openspec/​changes/​archive/​2026-09-22-split-opendox-two-layer-product/​tasks.md Records archive tasks and evidence.
openspec/​changes/​archive/​2026-09-22-split-opendox-two-layer-product/​proposal.md Archives the proposal and rulings.
openspec/​changes/​archive/​2026-09-22-split-opendox-two-layer-product/​design.md Archives the design and repository plan.
openspec/​changes/​archive/​2026-09-22-split-opendox-two-layer-product/​.openspec.yaml Records staged origin metadata.
.../​specs/​neutral-product-pin/​spec.md Stores the archived pin delta.
.../​specs/​ideation-dashboard/​spec.md Stores the archived removal map.
.../​specs/​domain-mapping-declaration/​spec.md Stores the archived added capability.
.../​specs/​domain-descendant-boundary/​spec.md Stores the archived boundary delta.
.../​specs/​corpus-adapter-seam/​spec.md Stores the archived seam delta.
.../​review/​ratification-2026-09-05.md Records ratification.
.../​review/​amendment-2026-09-05-repository-shape.md Records repository-shape amendment.
.../​review/​amendment-2026-09-09-floor-part-2-mapping.md Records test-floor amendment.
.../​review/​amendment-2026-09-10-shed-exit-post-shed-mode.md Records post-shed amendment.
.../​review/​reality-check-2026-09-05.md Records repository-shape verification.
.../​review/​reality-check-2026-09-10-section-4-and-the-shed.md Records carve and shed verification.

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

Copilot AI review requested due to automatic review settings September 22, 2026 01:53

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.

Copilot review overview

🟡 Changes recommended

The archive gate contains unresolved evidence placeholders, and the corpus-adapter contract conflicts with its required local implementation.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 Medium severity · 1 Low severity

Open (3)

Comment thread README.md Resolved
Brett Heap and others added 2 commits September 22, 2026 02:01
…ject moved

The archive's `## REMOVED Requirements` block takes 102 of canon's 104
`ideation-dashboard` requirements, and `Composed views are read-only with a
repository jump` is one of them. That block was the CONTROL the non-promotion
guard read, so the self-gate fails at exactly the assertion its own message says
to expect:

  THE CORPUS MOVED, most likely, and corpus movement is the EXPECTED cause of
  this failure. … canon holds 2 requirement(s) and none of them is that one …
  WHAT TO DO: re-measure … and update the named subjects in this module, in the
  same commit, saying which subject moved and why.

This is that commit, and the subject that moved is CANON'S SIDE — the archived
delta is untouched, still parsed through the family's own `parse_delta` /
`derive_units`, still carrying its `Merged into` marker.

THE INVARIANT IS STRENGTHENED, NOT WEAKENED. RULING Q6 forbids this delta's
blocks promoting here. A block-scoped guard could only see arrival INTO that one
block; with the block gone, the same question is asked of ALL of canon — every
surviving requirement, every unit — so a delta unit re-homed under one of the
survivors is caught now and was not before.

EVERY FIGURE RE-MEASURED OVER THE POST-ARCHIVE TREE, none predicted:

  archived block units          body 11, scenario-title 6, scenario-bullet 14
  canon requirements            104 -> 2 (86 units)
  units shared with canon       5 -> 0
  cross-kind text collisions    0 -> 0
  forbidden titles in canon     0 -> 0

  _CANON_SCENARIO_CONTROL          presence -> ABSENCE (it left with its block,
                                   and that absence is now what proves this is
                                   the post-archive canon)
  _SCENARIO_CANON_ONCE_CARRIED     NEW: the sixth delta title, excluded from the
                                   forbidden five only because canon carried it,
                                   pinned absent as a DIFFERENT fact
  _CANON_SURVIVING_REQUIREMENTS    NEW: the discovery floor — the two
                                   `retire-doxbench-chat-turn-v1` titles
  _DELTA_UNITS_CANON_MUST_NOT_GAIN 26 of 31 -> the block's whole census, 31
  _UNITS_CANON_ALREADY_CARRIES     five members -> frozenset(), the five kept in
                                   the comment because the empty set only means
                                   something beside them

`python3 -m pytest tests/doc-health/test_modified_block_currency_self_gate.py -q`
-> 20 passed.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
… packet

`#1135` (`tasks.md` amendment #11, that one file and nothing else) landed on
`main` after this branch had already moved the packet, so the merge is a
rename/modify: git's own rename detection carried all 353 insertions into
`openspec/changes/archive/2026-09-22-split-opendox-two-layer-product/tasks.md`,
which is where they belong. Verified after the merge rather than assumed — the
active path is gone, the archived file carries amendment #11, and the ledger
still reads 68 `[x]` / 0 `[ ]` / 4 `[~]` with the three `<<REHOME:` placeholders
still open.

Also in this merge: `#1136` → `7c49825e` (the review-lane pin lockstep) and
`#1134` → `aaddda66` (the nested openDox/openXdox leg advance, gitlinks and both
direct pins to `dc7aa08f` / `646f1dc0`), which is the estate state this archive
lands against.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings September 22, 2026 02:12
… packet archives"

`pytest-suite` on the first pushed head failed here and nowhere else, and it is
not a surprise: the archived packet's own README entry named one of these pairs
in advance as "THE LOCKSTEP PAIR THE ARCHIVE RETIRES". Every one of the four
edits below is an entry whose retirement condition this archive satisfies, and
each register refuses in its own words while the entry stands.

1. `scripts/target-release-register.yaml` — the `implementation_pending`
   entry for this packet. `retires_when: … or the packet archives`.
   `Report.stale` refuses while it stands, and
   `tests/code_surface/test_code_surface_gate.py` reads the entry's own
   `openspec/changes/<change>/proposal.md`, which the archive has moved:

     AssertionError: split-opendox-two-layer-product
     FileNotFoundError: …/openspec/changes/split-opendox-two-layer-product/proposal.md

2. `scripts/target_release.py`'s `CLOSED_REGISTER` — the same pair, dropped in
   the same diff as a DELIBERATE SHRINK and not because the module demands it
   (the baseline is "a ceiling, never a floor"), for the reason the 2026-09-16
   retirement note beside it already gives. **20 pairs to 19, counted at this
   commit** — the README entry's "21 pairs to 20" was written before `#1060`
   dropped the 2026-09-16 pair, and the note records that rather than repeating
   a stale figure.

3. `scripts/code-surface-register.yaml` — the `list-runs-into-prose` entry,
   whose `retires_when` says the entry "MUST be deleted in that same pull
   request". THE FIRST LIMB NEVER FIRED and the note says so: the packet did not
   rewrite its head. It archived with the head exactly as registered, because the
   question the head could not answer was settled on 2026-09-05 somewhere the
   grammar cannot see — the shape was elected, the six repositories exist and are
   pinned — and re-punctuating a ratified packet's front matter at its archive is
   not this pull request's act. The exception outlived its condition rather than
   being discharged by it, which is the state the gate's stale check names:

     code_surface register entries matched NOTHING (stale):
       - split-opendox-two-layer-product / 'openxFactory, the openDox PROJECT (NEW)…'
       delete the entry: the exception outlived its condition.

4. `scripts/code_surface.py`'s `CLOSED_REGISTER` — that entry's baseline pair.
   The module refuses an entry whose pair the baseline lacks AND a baseline pair
   no entry names, so the two only ever move together. EIGHT to SEVEN. The ruled
   "Keep the eighth entry" of 2026-09-16 is untouched: that ruling is about
   `encode-wallet-authority-rulings-r6-r12`, which stays.

   One sentence in that register's own docstring stops being true here and is
   corrected in place rather than quoted past: "NONE OF THE SEVEN MOVED AT ANY
   RE-MEASUREMENT: no registered packet archived…". A registered packet has now
   archived.

`python3 -m pytest tests/code_surface -q` -> 154 passed.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

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.

Copilot review overview

🟡 Changes recommended

Archive task 8.9 is ticked without actual measurement evidence, and the promoted specifications contain unresolved contract ambiguities.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)

Copilot AI review requested due to automatic review settings September 22, 2026 02:26
…placeholders

`review/archive-record-2026-09-22.md` — the archive's own record: the wrapper
run and its pinned CLI, the five capability acts, why `ideation-dashboard` is
REDUCED and not removed, what this pull request carries beyond the wrapper's
output, the full § 8.9 measurement record in both scopes, the disposition rows
the archive makes inert, and the landing form (MERGE COMMIT on the archive day,
never squashed — a squash re-dates the adding commit and reds
archive-date-vs-commit for this directory).

And the three `<<REHOME: …>>` placeholders the bookkeeper's archive-amendment
left for the measuring act, filled from the runs and not from memory:

  (1) pytest      BEFORE cd246a0 and AFTER are IDENTICAL: 1 failed, 2185
                  passed, 8 skipped. The one failure is a LOCAL-CLONE artifact
                  (pytest-suite on main at 7c49825 is SUCCESS, run 35675861095)
                  and is present at both ends. The CI suite is wider than this
                  box's command and caught tests/code_surface/, which this
                  pull request repairs.
  (2) strict      108 items, 107 passed, 1 failed at the head; 107/106/1 at the
                  base. NOT EXIT 0, and the failure is NAMED:
                  change/add-chain-attestation, a sibling's, red on main before
                  this branch existed. The archive's own contribution is +1
                  item, +1 passed, ZERO new failures.
  (3) doc-health  both scopes, per family, per severity, info included, with a
                  named reason for every finding that entered, left or changed
                  severity: single-repo 31/28/37/20 -> 31/25/37/20 (ENTERED 0,
                  LEFT 3, CHANGED 0); aggregation 16/949/3300/33 ->
                  16/951/3300/33 (ENTERED 2, LEFT 0, CHANGED 0).

`grep -c '<<REHOME:'` now reads 0, and the ledger still reads 68 [x] / 0 [ ] /
4 [~] of 72.

THE ONE CONDITION THE FILL DOES NOT SATISFY IS RECORDED IN CLAUSE (2) RATHER
THAN PAPERED OVER. The box's tick stands only on an exit-0 AFTER for that
clause, and the AFTER is exit 1 on another change's red. Either lane
openxfactory-1 folds `add-chain-attestation` before this lands, or the
bookkeeper re-cuts § 8.9 into the `[~]` DEFERRED contingency its own APPLY note
names and row (xi) becomes 67 [x] / 0 [ ] / 5 [~] of 72. This actor does not
flip a marker it does not own.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

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.

Copilot review overview

🟡 Changes recommended

Task 8.9 is marked complete despite recording a failing strict validation run, and the promoted seam specification contradicts its retained local adapter requirement.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 3 Medium severity · 2 Low severity

Open (5)

Comment thread scripts/code-surface-register.yaml Resolved
`test_admitting_the_value_did_not_move_the_closed_baseline` pins the baseline's
POPULATION, and its own docstring says that literal "falls when a retirement
lawfully shrinks the ceiling ... and refuses to rise". The previous commit is
exactly such a retirement, so the literal moves 20 -> 19:

  E   AssertionError: assert 19 == 20
  E    +  where 19 = len(tr.CLOSED_REGISTER)

Found by running the FULL suite the way CI does (`pytest tests/ -q -m "not
postgres"`) and diffing the failure set against the same run at the base
`cd246a01`: 113 failed / 52 errors BEFORE, 114 / 52 AFTER, and the difference is
this one test and nothing else. The local suite's other failures are
environment-bound and identical at both ends.

The identity assertion is added beside the size, in the shape the 2026-09-16
retirement already uses two lines above, because a count verifies a shrink's
magnitude and not the shrink: a later edit could restore this pair and drop an
unrelated one with 19 still holding. And the comment records what the two
retirements do NOT share — in 2026-09-16 the packet was frozen and re-homed by
somebody else's ruling, here the change reached the end of its own tasks — so
the repeated literal is not read as a rule nobody stated.

`python3 -m pytest tests/target_release -q` -> 98 passed.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings September 22, 2026 02:57

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.

Copilot review overview

🟡 Changes recommended

Strict validation still exits 1 while task 8.9 is marked complete, and the new runtime pin wording conflicts with the repository’s whole-tree pin verifier.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 3 Medium severity · 3 Low severity

Open (6)

Comment thread scripts/target-release-register.yaml Resolved
…ext and are answered instead

Review `5273796676` at head `47fe109d`, six findings. THREE ARE FACTS ABOUT TEXT
THIS PULL REQUEST WROTE, and all three are right:

1. `README.md` — my own *(TRUE WHEN WRITTEN…)* note said "the successor
   capability id at § 5.2a remains unbuilt". It is not:
   `openspec/specs/openxfactory-engineering-adapter/` exists, promoted by
   `repromote-engineering-vocabulary` (#1103 → `eb1880cb`), and § 5.2a is ticked
   in the archived ledger. What remains unbuilt is the ADAPTER IMPLEMENTATION.
   The note now distinguishes the two and says whose reading caught it.

2. `scripts/code-surface-register.yaml` — my retirement note said the module
   "refuses a register entry whose pair the baseline does not carry, and refuses
   a baseline pair no entry names". The second half is WRONG, and wrong in the
   direction that matters: `load_register()` enforces one direction only, and a
   baseline WIDER than the register is lawful with its own test saying so
   (`test_a_baseline_wider_than_the_register_is_lawful` — "a CEILING, never a
   floor"). What actually requires the pair to move is this repository's own two
   tests over the HOUSE register — equal lengths and set equality — whose
   docstring says the baseline "may be wider, but at the gate's landing it is the
   register's own population". The note now states the real mechanism, because a
   future reader deciding whether some other pair may stay would have been
   misled by the old sentence.

3. `README.md` — the archived entry's "`CLOSED_REGISTER` tuple, 21 pairs to 20"
   is stale: #1060 retired the 2026-09-16 pair in between, so the transition
   measured at this archive is 20 → 19. The sentence keeps its original wording
   and takes the same dated *(TRUE WHEN WRITTEN; …)* correction as the other two
   in this file, so the public ledger and the executable baseline agree.

THE OTHER THREE ARE RATIFIED REQUIREMENT TEXT and are NOT edited here. They sit
in `openspec/specs/{corpus-adapter-seam,domain-mapping-declaration,
neutral-product-pin}/spec.md`, promoted VERBATIM by the pinned CLI from the
ratified delta. Changing a requirement's words after the ratify word is a
contested-class act that needs Brett's word, not an archive commit; they are
answered by measurement in one comment on the pull request and registered there.

`python3 -m pytest tests/code_surface tests/target_release -q` -> 252 passed.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings September 22, 2026 03:22
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Copilot review 5273796676 at head 47fe109d — six findings, all read, three taken as fixes and three answered here. Taken in dee01d9c: the README's § 5.2a remains unbuilt note (4067877234), the code-surface-register.yaml bidirectional-validation claim (4068014134), and the README's stale 21 pairs to 20 (4068137779). Each was a fact about text this pull request wrote, and each was right.

The remaining three are a different class and that is why they are answered rather than edited.

4067852518, 4067852551, 4067955892 — RATIFIED REQUIREMENT TEXT

All three name sentences inside openspec/specs/corpus-adapter-seam/spec.md, openspec/specs/neutral-product-pin/spec.md and openspec/specs/domain-mapping-declaration/spec.md. None of those sentences was authored here. They were promoted VERBATIM by the pinned CLI (@fission-ai/[email protected]) out of the packet's ratified delta, which Brett Heap ratified on 2026-09-05 (verbatim "ratify #666"). The only thing this pull request wrote into those two new files is the ## Purpose the CLI leaves as a TBD.

Editing a requirement's words after the ratify word is a contested-class act on this lane's standing rule: non-normative fixes may be folded as an addendum, requirement and scenario text goes to Brett as a ruling and is amended on his word (the 2026-09-01 precedent). So the archive lands the delta AS RATIFIED and the three readings are registered.

They are registered as real, not dismissed. Measured against the landed text:

  • 4067852518 — "every tool" vs the required home adapter. Requirement 1 reads "SHALL consume every tool that reads its governed corpus as an EXTERNAL NEUTRAL PRODUCT pinned under neutral-product-pin", and requirement 4 reads "An openxFactory-authored adapter over its own corpus SHALL be ONE CONFORMANT IMPLEMENTATION among others and SHALL NOT be reachable by any route the interface does not define". The packet does address the case — requirement 4 exists precisely for it — but it addresses it by saying the home adapter carries no privileged ROUTE, not by exempting it from requirement 1's external product clause. The tension Copilot names is between "external" and "authored here", and the packet never says which wins. Real, and not resolvable by reading.

  • 4067852551 — per-file sha256 vs the whole-tree digest. Confirmed on both sides. The promoted clause reads "commit and per-file sha256 remain the trusted referent exactly as for a file-read pin". The realized runtime pin contracts/opendox-pin.yaml carries digests.tree_sha256 and no files: and no pinned_by_commit_only: at all, and its own header block (lines 49–85) records that as a resolved decision: "files: AND pinned_by_commit_only: ARE NOT OWED". So the requirement as promoted and the pin as realized do disagree, and the pin's header is the older written reason. Real.

  • 4067955892 — five axes vs the truth store and enforcement point. Confirmed. Requirement 1 enumerates the five, and requirement 3 separately mandates "the TRUTH STORE the model may never write and the EXTERNAL ENFORCEMENT point that store sits behind" for every derived-model family without assigning either to one of the five. governed-derived-model already treats the truth store as its own dial, so the nesting is genuinely ambiguous to an implementer. Real.

What happens to them

All three are RULING NEEDED and go to Brett through this lane's holder, with the options an amendment would take. They do not block this archive: the archive's job is to move the packet as ratified, and a requirement this corpus has not yet amended is exactly what an archive is supposed to preserve. A follow-on amendment change is the instrument, and it can cite this review by id.

Gate state at dee01d9c

openspec validate --all --strict 107 passed / 1 failed of 108 — the one failure change/add-chain-attestation, a sibling change's, red on main before this branch existed and asked of lane openxfactory-1 at #656 comment 5767267092. pytest-suite was SUCCESS at 47fe109d; this head changes only two prose files and two tests' worth of nothing.

🤖 Generated with Claude Code

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.

Copilot review overview

🔵 Needs a closer look

§ 8.9 is marked complete despite strict validation remaining red, and the new corpus-adapter contract conflicts with the retained local adapter design.

Review effort: Lite
Findings: None

Resolved since last review (6)
Previously missed (1)

In code that hasn't changed since last review

Medium severity Mark 8.9 incomplete until strict validation passes

openspec/​changes/​archive/​2026-09-22-split-opendox-two-layer-product/​tasks.md:5713

8.9 is marked [x], but the evidence immediately below records openspec validate --all --strict at the AFTER as exit 1 with one failure, and explicitly says this tick stands only on an exit-0 AFTER. This task is therefore not satisfied; leave it in the stated deferred form (and update the final count), or land the sibling fix before claiming the tick.

@brettheap
brettheap marked this pull request as ready for review September 22, 2026 03:41

@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.

Sorry @brettheap, your pull request is larger than the review limit of 150,000 diff characters

…s literally, the raw command exits 1, and the ledger's final count is 67 / 0 / 5

RULED 2026-09-22T14:33:02Z by Brett Heap, interactive, by multi-choice
(`#656` comment `5778397686`), over the holder's read-only measurement at
`#656` comment `5778300335`: § 8.9 clause (2) means the RAW command it names,
`OPENSPEC_TELEMETRY=0 openspec validate --all --strict`, and that command exits
1. § 8.9 therefore takes the reserved `[~]` DEFERRED marker — the same form
§§ 5.6 and 8.4 take, and THE CONTINGENCY THIS PACKET'S OWN ARCHIVE AMENDMENT
NAMED IN ADVANCE rather than one invented at the gate.

ONE MARKER MOVES AND NOTHING ELSE DOES. The ledger goes 68 [x] / 0 [ ] / 4 [~]
-> 67 [x] / 0 [ ] / 5 [~] of 72; §§ 5.6, 7.3, 7.4, 8.4 and 8.9 hold the reserved
DEFERRED marker; NO column-0 `- [ ]` remains, which is the condition
`scripts/proposal-support.py` refuses an archive on — run directly against the
amended file, its regex does not match. Row (xi) is re-cut to that count and
names the five.

ONLY CLAUSE (2) DEFERS. Clauses (1) and (3) are discharged and their measured
records stand unchanged — the pytest pair identical BEFORE and AFTER, and the
doc-health BASE->HEAD record in both scopes with every finding that entered, left
or changed severity named. A box that defers on one clause does not erase the two
it met, and not one measurement in this file moved: the header that read "TICKED
AT THE ARCHIVE ... BY THE ARCHIVE AMENDMENT" now reads "MEASURED AT THE ARCHIVE",
and only the word that claimed a discharge changed.

THE WHY IS NAMED IN THE BOX so the next reader meets the reason and not the red.
The one failure is `change/add-chain-attestation`, another change's MODIFIED
block, and that finding carries a LIVE, CITED, BRETT-RATIFIED disposition at
`contracts/openspec-cli-pin.yaml`:489-510 — the `finding:` quoted verbatim from
the tool's own JSON, `ratified_by: 'Brett Heap, 2026-09-05, "take exit 2"'`
(:505), and `retires_when:` add-chain-attestation archives, which that entry
itself records cannot be soon and is therefore "expected to be long-lived"
(:506-510). The row exists because the pinned CLI is MARKER-BLIND to this
corpus's own promoted grammar: the scenario is RENAMED AND RE-CONDITIONED, not
dropped, declared in the block with the reserved `Merged into` marker that is
promoted canon at `openspec/specs/doc-health/spec.md`:1770-1777 (the `Merged
into` form at :1772), which is the citation the ratified row itself gives.
`@fission-ai/[email protected]` compares scenario TITLE SETS and cannot read that
declaration, and the CLI is consumed, never vendored or patched.

SO THE DEFERRAL IS JOINT UNSATISFIABILITY, the same shape RULED R-B named at
§§ 5.6 and 8.4, reached from the other direction.

WHAT IS DELIBERATELY NOT CLAIMED, and it is re-measured here rather than taken
from the report that carried it: the enforced corpus-wide gate,
`python3 scripts/validate-openspec-cli-pin.py --all --no-cache`, EXITS 0 at this
head over the same 107-passed/1-failed of 108, printing "0 UNDISPOSITIONED
failures" and "THIS IS NOT A CLEAN TREE: 1 finding(s) are ACCEPTED EXCEPTIONS".
The two commands disagree about nothing — one counts failures, the other counts
undispositioned failures, and clause (2) names the first. That green is recorded
as a MEASUREMENT and NOT as a discharge, because reading the clause that way is a
reading of ratified text and the ruling took the literal one. Both readings stay
on the page: the rejected one is what makes the taken one legible.

WHICH CONTINGENCY WAS TAKEN, AND BY WHOM — the box's own text required the
archiving act to say so, and it now says it: the `[~]` DEFERRED contingency,
re-cut by the bookkeeper, the only actor that may edit this file, after the
rehome-lander measured the AFTER as exit 1 and refused to fill a red under a
tick. Both paragraphs that scheduled this as a future condition are marked as
resolved in the same act that resolved them — the rule this packet wrote for
itself at §§ 5.1 and 4.2.

Nothing false is claimed and no ratified text is edited. One file changed.

`proposal-support.py . verify` ok · `validate-sequenced-after.py . --ledger-diff`
clean (222 rows) · `openspec validate --all --strict` 107 passed / 1 failed of
108, exit 1 — expected, and the point · `validate-openspec-cli-pin.py --all
--no-cache` exit 0 · `grep -c '<<REHOME:'` = 0.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 22, 2026 14:38
RULED by Brett Heap 2026-09-22 (#656 comment 5778397686, by multi-choice, on the
measurement at #656 comment 5778300335): § 8.9's clause (2) reads LITERALLY, so
the box takes the reserved [~] and the ledger closes at 67 [x] / 0 [ ] / 5 [~]
of 72. The bookkeeper re-cut `tasks.md` (18a526f); this commit carries the same
count into the two documents this actor owns and which state it independently --
the archive record and the README's archived entry -- so no reader finds three
files disagreeing about one number.

The archive record also gains WHY the box took that form, because the count on
its own does not say it, and the reason is the interesting part:

  the RAW command exits 1 on `change/add-chain-attestation`, another change's
  MODIFIED block -- but the corpus's own GOVERNED reading of that same command
  exits 0. `contracts/openspec-cli-pin.yaml` carries a live, cited, ratified
  disposition for exactly this finding (`ratified_by: 'Brett Heap, 2026-09-05,
  "take exit 2"'`, `retires_when: add-chain-attestation archives`), because the
  scenario is RENAMED AND RE-CONDITIONED rather than dropped and says so with
  the reserved `Merged into` marker -- a marker the pinned CLI is blind to and
  the corpus's own promoted grammar defines at
  `openspec/specs/doc-health/spec.md`:1770. Measured:
  `validate-openspec-cli-pin.py --all --strict` prints `107 passed, 1 failed`
  and then exits 0 with `0 UNDISPOSITIONED failures`, marking the finding `✗→D`
  and the tree `NOT A CLEAN TREE`.

Two readings of one command, one literal and one governed, and the box's own
words pick the literal one.

Clauses (1) and (3) are DISCHARGED and every measured record already carried
stands: the pytest pair is identical at BASE and HEAD, and the doc-health
BASE->HEAD vectors are complete in both scopes with every entered, left and
severity-changed finding named. The archive's own contribution to clause (2) is
+1 item, +1 passed, ZERO new failures.

`tasks.md` is not touched by this commit.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

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.

Copilot review overview

🟡 Changes recommended

Unresolved pin-contract conflicts and stale archive/documentation records remain.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 Low severity

Open (2)
Previously missed (1)

In code that hasn't changed since last review

Low severity README omits the archive's actual promotions and removals

README.md:3143

This README entry still says the packet performs no capability promotion/removal and that the naming record will only be applied in a future repository-creation PR, but this archive now promotes corpus-adapter-seam and domain-mapping-declaration and removes 102 ideation-dashboard requirements. Please preserve the statement as dated history and add the archive's actual effects so the OpenSpec record does not contradict the immediately following archive summary.

Comment thread README.md Resolved
Copilot AI review requested due to automatic review settings September 22, 2026 14:46

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.

Copilot review overview

🔵 Needs a closer look

Three moderate specification inconsistencies and one documentation nit remain unresolved.

Review effort: Lite
Findings: None

Resolved since last review (2)
Previously missed (2)

In code that hasn't changed since last review

Medium severity Allow lockstep-checked direct upstream declarations

openspec/​specs/​neutral-product-pin/​spec.md:190

Q7 deliberately makes openxFactory declare openDox directly as well as openXdox; openXdox's own pin also declares openDox, and scripts/verify-opendox-pin.py enforces these commits in lockstep. This scenario categorically refuses that live configuration as a second declaration at the consuming level, so the promoted capability contradicts the current pin contract. Qualify the refusal to allow a separately declared direct upstream only when its value is lockstep-checked, and update the preceding chain rule consistently.

Low severity Correct the earlier outdated seven-pairs statement

scripts/​code_surface.py:353

The original NONE OF THE SEVEN MOVED ... no registered packet archived statement at lines 321-322 remains in this module, so this new paragraph does not actually correct it; readers still see a false current claim after this archive removes one of those pairs. Update or explicitly date the earlier statement instead of only describing the correction here.

…y where it is described

Copilot's reading at `916c2eec` is right and the defect is a real one: the
previous commit's retirement note SAID the docstring's closing sentence — "NONE
OF THE SEVEN MOVED AT ANY RE-MEASUREMENT: no registered packet archived and no
registered declaration was edited between any two of these heads" — "is corrected
rather than quoted past", but the sentence itself was left standing untouched
thirty lines above. A reader who stops at the docstring, which is where a reader
naturally stops, still met a false current claim.

The sentence is now DATED IN PLACE — kept as the measurement it was, with the
line that says where it stops — and the note inside the tuple no longer claims a
correction it did not make. That is the same treatment the README's three
falsified sentences got in this pull request, applied to the one place I
described the treatment instead of performing it.

`python3 -m pytest tests/code_surface tests/target_release -q` -> 252 passed.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings September 22, 2026 14:59
@brettheap

brettheap commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Copilot review 5279841991 at 916c2eec — Findings: None, two resolved, and two "previously missed" in unchanged code. One taken, one registered, and the split is the same one as the last round.

Taken — scripts/code_surface.py

Right, and the defect is real. The previous commit's retirement note said the docstring's closing sentence ("NONE OF THE SEVEN MOVED AT ANY RE-MEASUREMENT: no registered packet archived…") was "corrected rather than quoted past", while the sentence itself stood untouched thirty lines above. A reader who stops at the docstring — which is where a reader naturally stops — still met a false current claim. Fixed in fd1758c0: the sentence is now DATED IN PLACE, kept as the measurement it was with the line saying where it stops, and the note inside the tuple no longer claims a correction it did not perform. That is the same treatment this pull request already gave the README's three falsified sentences, applied to the one place I described the treatment instead of doing it.

Registered, not edited — openspec/specs/neutral-product-pin/spec.md:190

This is ratified requirement text, the fourth of its class on this pull request, and it goes where the other three went: left as ratified, carried by a successor amendment change. An archive moves a packet as ratified; a requirement this corpus has not yet amended is exactly what an archive preserves.

And the finding is correct on the facts — I have measured this one first-hand, on this lane, before it was raised here. The scenario says "a second declaration of A's commit at the consuming level is refused, because the chain then has two authorities for one answer". The live configuration is precisely that second declaration: RULING Q7 (2026-09-10, #656 comment 5626248666, landed by #932 → f4fb4ffc) has openxFactory mount and pin the openDox assembly root directly while openXdox/contracts/opendox-pin.yaml also declares it. What keeps that lawful is not a missing declaration but a LOCKSTEP: scripts/verify-opendox-pin.py check 5 reads openXdox's declaration as a git blob at the openXdox gitlink's commit and compares the two declarations to each other, refusing opendox-pin-lockstep-mismatch when they disagree. I registered that three-repository lockstep on this issue on 2026-09-19 from the pin-advance side, in both assembly-root pull request bodies.

So the promoted scenario and the realized contract do disagree, and Copilot's proposed shape — qualify the refusal to admit a separately declared direct upstream when its value is lockstep-checked, and align the preceding chain rule — is the right shape.

It joins the successor amendment rather than this archive. Brett has already ruled (b) on the sibling neutral-product-pin finding from the previous round (#656 comment 5777949892): the source-tree clause is amended to admit a whole-tree sorted-ls-tree-r-v1 digest as an equivalent discharge, as its own small change that does not ride in this archive. This one is the second clause for the same capability and belongs in the same instrument.

Running total of the ratified-text register on this pull request

finding capability status
4067852518 corpus-adapter-seam — "every tool" vs the home adapter registered, successor amendment
4067852551 neutral-product-pin — per-file sha256 vs whole-tree digest RULED (b), own small change
4067955892 domain-mapping-declaration — five axes vs truth store / enforcement point registered, successor amendment
this round neutral-product-pin — single direct upstream vs the lockstep-checked pair registered, same instrument as the row above

Ledger and gate

67 [x] / 0 [ ] / 5 [~] of 72 — §§ 5.6, 7.3, 7.4, 8.4, 8.9 — on the ruling at #656 comment 5778397686 over the measurement at 5778300335. grep -c '<<REHOME:' reads 0. The Sourcery review skip is a diff-size limit ("larger than the review limit of 150,000 diff characters"), recorded so it is never read as a silent pass.

🤖 Generated with Claude Code

@sonarqubecloud

Copy link
Copy Markdown

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.

Copilot review overview

🔵 Needs a closer look

Four unresolved final review comments remain, including two moderate specification conflicts and two consistency/documentation nits.

Review effort: Lite
Findings: None

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

LANDING — lane openxfactory-4, session faabad8b-8c31-4958-abd5-b35bdc9cd282@Eagle, 2026-09-22T15:23:33Z, PR #1139 into opensoft/openxFactory main

@brettheap
brettheap merged commit e8fde27 into main Sep 22, 2026
14 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

LANDED — lane openxfactory-4, 2026-09-22T15:23:47Z, PR #1139 → e8fde27 (opensoft/openxFactory main; merge commit, the archive form)

brettheap added a commit that referenced this pull request Sep 22, 2026
…alent discharge (#1140)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

> **RATIFIED — 2026-09-22T15:45:54Z by Brett Heap** (openxFactory operator authority), interactive in the lane session, verbatim **"ratify #1140 and #1141"**, recorded at [`#656` comment `5779511063`](#656 (comment)). Record: `review/ratification-2026-09-22.md`. **Ratification authorizes realization and does not perform it** — nothing is promoted until the archive, a separate act on a separate word.
>
> ### ⚠️ THE RATIFIED BASELINE IS `ca47e2cb` AND THE HEAD IS NOT — RULING NEEDED
>
> `9f82caeb` was committed at **15:45:53Z, ONE SECOND before the word**, and pushed around it, so it was in flight at ratification and **Brett Heap cannot have read it**. It is not cosmetic: it **reverses the runtime exclusion `ca47e2cb` carried**, on Copilot `r4073495698`'s measurement that the exclusion would have made `contracts/opendox-pin.yaml` — which carries a `migration:` block at :190 **and** a whole-tree digest with no per-file list — **non-conformant**, the opposite of what RULED `5768144952` settled.
>
> The correction runs in the ratified direction, **but it is requirement text moved after a ratify word**, and the estate admits only NON-NORMATIVE folding after the word. So it is raised, not absorbed — `tasks.md` § 1.3: **(a)** re-ratify at the current head (**REC** — the text is more correct than the ratified baseline and its defect is measured); **(b)** revert to the exclusion and accept that `contracts/opendox-pin.yaml` reads non-conformant against it; **(c)** something else. On the word a `Re-ratified:` line joins the `Ratified:` one in all three files, the instrument `add-chain-attestation` already carries.
>
> **No line anywhere claims the word covered text it could not have.** Every `Ratified:` line names `ca47e2cb` explicitly.
**ONE `## MODIFIED` requirement. One added paragraph, five added scenarios, and not one character of any unit the requirement already carries.** **`Status: ratified`** — the word that COMMISSIONED the amendment (`5777949892`) and the word that RATIFIES the packet (`5779511063`) are two separate acts, and both are Brett Heap's. See the baseline caveat above.

## The ruling this encodes

**RULED — 2026-09-22T14:04:00Z by Brett Heap**, interactive in the lane session, by multi-choice, verbatim **"(b) — AMEND THE CLAUSE"** — `#656` comment [`5777949892`](#656 (comment)). The ruling names this packet's form in so many words: *"it becomes its own small OpenSpec change against `neutral-product-pin`, citing 5768144952, this ruling, and Copilot `r4067623184`."*

## Why

The requirement *An external neutral product is pinned by commit and digest, never by tag* opens by obliging a consuming pin to carry a per-file `sha256` for every artifact the product digests per file, plus `pinned_by_commit_only:` for the rest. Three paragraphs later, for a product distributed as a published artifact, the same requirement reasons the obligation away in its **stronger** form: the lists exist only because "a commit is not a digest a consumer can compare a single file against, so the surface must be ENUMERATED for completeness to be checkable at all", whereas **"ONE digest addresses EVERY byte inside it, so no member can be undeclared and none can be added or altered without changing the referent"** — "DISCHARGED MORE STRONGLY here rather than waived".

**That reasoning does not depend on the medium, and the estate's pins had already applied it to a source tree.** `contracts/openxdox-pin.yaml` and `contracts/opendox-pin.yaml` each pin an assembly root by commit plus a whole-tree `sorted-ls-tree-r-v1` digest, carry neither list, and quote that paragraph as their reason. On 2026-09-21 the deferral's own trigger fired — openDox `dc7aa08f` carried a non-empty `entries:` for the first time — and Brett Heap ruled **"(b) for the pin shape, keep going"** ([`5768144952`](#656 (comment))).

**That settled the PIN FILES, not the NORMATIVE TEXT.** Copilot `r4067623184` found the residue on the `#1139` archive pre-stage and the lane's bookkeeper verified it: a rule, and an unwritten exception. This packet closes that.

## What the block says

| | |
| --- | --- |
| **The equivalence** | A source-tree pin declaring a whole-tree digest definition and recording a digest over the ENTIRE tree of the commit it names discharges the per-file obligation, and **such a pin carries NEITHER list**. |
| **The forms are alternatives** | Not a menu to combine. `scripts/doc_health/pin_shapes.py`:763-775 **already refuses** a record carrying both a whole-tree `digests.tree_sha256` and a `files:` list, naming both shapes tried — so text admitting the mixture would disagree with a guard that is already running. |
| **Its ground, stated not asserted** | A whole-tree digest covers every file in the tree and therefore **SUBSUMES** any list of them — the published-artifact paragraph's own reasoning, reaching a source tree unchanged. |
| **Boundary 1** | An enumeration stays **lawful** and stays **owed** where no whole-tree digest is recorded. This admits a second form and retires neither the first nor any pin carrying it — `contracts/openxwallet-pin.yaml`'s eight `files:` digests stay conformant, unedited. |
| **Boundary 2** | The equivalence is about **WHICH FORM** the digest obligation takes and never about **WHETHER** digests are owed. It authorizes skipping no digest anywhere. |
| **Boundary 3** | **The runtime-deployment clause is untouched, and untouched means its obligations stand in full.** A runtime product's pin still declares the migration range, the reversibility and the runbook, and its prohibition on reading a deployment declaration as permission to skip the digests is preserved exactly — while **the equivalence DOES reach a source-tree pin whether or not its product is a runtime**, because that clause governs what a bump must DECLARE and this one governs which FORM the completeness obligation takes. *(Round 1 excluded runtime pins; round 2 overturned that — see below. The clause itself is carried verbatim, unedited.)* |
| **Boundary 4** | A pin recording **NEITHER** form has discharged nothing. |

Five scenarios: the conformant whole-tree pin; the pin carrying **both** forms, refused; the pin recording **neither**, refused; the **runtime** product's pin, which the equivalence does not reach; and the misreading that cites the equivalence as permission to skip a digest, refused.

## The block is written over `split-opendox-two-layer-product`'s outcome

That packet holds an active `## MODIFIED` block on this same requirement (ratified 2026-09-05) contributing the runtime-deployment clause and two scenarios. A block written over canon-as-promoted would carry five scenarios and would **omit two the moment the basis archived** — the exact finding class `contracts/openspec-cli-pin.yaml` records as *"canon moved under an un-re-derived delta"*. Writing over the outcome makes the block correct in both orders.

**The form is the basis's own, one link up this chain**: `split-opendox` wrote its block over `add-openspec-cli-pin`'s outcome in a dated per-requirement paragraph, explicitly *not* the reserved pairing marker. This packet follows it exactly and adds `sequenced_after: [split-opendox-two-layer-product]`.

**Seven scenarios carried, five added — twelve in the block.**

## Measurements

**`code_surface: none` is MEASURED, not assumed** (at `ac50d70d`, the commit this was authored on):

1. `grep -n "pinned_by_commit_only" scripts/verify-opendox-pin.py scripts/verify-openxdox-pin.py` → **two lines, both module-docstring prose** about the openXwallet pin (`verify-openxdox-pin.py:19`, `:75`). Neither verifier READS the key; `files` is read by neither.
2. Both verifiers key the whole surface on `digest_definition: sorted-ls-tree-r-v1` + `digests.tree_sha256`, with **closed refusal vocabularies containing no code for a missing per-file list** — `verify-opendox-pin.py:137-143` (six codes), `verify-openxdox-pin.py:158-163` (five).
3. The two verifiers that DO read the key read it **absent-is-empty** — `pin.get("pinned_by_commit_only") or []` at `verify-openxwallet-pin.py:443-452` and `validate-openreposhape-pin.py:487-495`, transcribed by `scripts/doc_health/pin_shapes.py:187-201`.
4. `python3 -m pytest tests/opendox_pin tests/openxdox_pin -q` → **105 passed**, over fixtures built from `digest_definition` + `digests.tree_sha256` with no per-file key at all.

**So the amendment is doctrine-only: a pin conformant before this lands is conformant after it.**

**Validation ran through the PINNED CONSUMER ENTRYPOINT**, `python3 scripts/validate-openspec-cli-pin.py`, at `@fission-ai/[email protected]` verified against its content address — **not** the `openspec` on `PATH`, which at this workstation is **1.13.1**. Counts in a comment below at the final head.

## What this packet does NOT do

- **It edits no pin file, in any repository.** What the pins carry was settled and executed by `5768144952`. The openXdox-side header amendment that ruling registered is a different repository's act, named as residue in `tasks.md` § 5.1.
- **It answers one of three pre-stage findings and says so.** `#1139` review `5273796676` registered three; `5777949892` answers the `neutral-product-pin` per-file one. `corpus-adapter-seam` and `domain-mapping-declaration` stay as ratified, registered for a successor.
- **It ratifies nothing.** `tasks.md` § 1 is open.

## Copilot round 1 — three fixes, one registered, at `ca47e2cb`

Every finding was measured against running code before it was taken.

| finding | disposition |
| --- | --- |
| `r4073364832` the two forms are exclusive | **FIXED.** `MAY then be absent` left a both-forms pin apparently conformant while `pin_shapes.py`:763-775 already refuses it as MIXED. Text now says NEITHER list, plus a scenario refusing the mixture. **Side effect:** that guard records the ratified text is *"SILENT on the whole-tree shape"* and falls back to fail-closed for want of text — this amendment is the first promoted text to name the form the guard has been judging. |
| `r4073177274` the equivalence reached runtime pins | **FIXED, and the reviewer was right about why.** The first draft granted it to ANY source-tree pin and then asserted the runtime clause was "untouched" — those **contradict rather than compose**. Scope now excludes runtime-clause-governed pins outright, with its own scenario. `design.md` D3 records the correction. |
| `r4073364921` the ledger claim said two rows | **FIXED.** § 2.5 predicted a partner flip from the rule instead of reading the diff; the basis row was already `co-modifier`, so nothing flipped. Corrected with the seeder's own output quoted. |
| `r4073110728` the required-check scenario is keyed to an enumerated pin | **REGISTERED, not fixed** (`tasks.md` § 5.3). The fact is right, but **the gap predates this packet** — both pins have carried the whole-tree form since filing — and amending a SECOND requirement exceeds a commission that names one clause. |
| `r4073110643`, `r4073110783` | True when written, **false at the head they were raised against**: the `.openspec.yaml` origin landed at `4f786903` and the ledger row at `b2ec9e87`. |

**All threads answered and resolved.** Re-validated after the fixes: pinned entrypoint `1 passed, 0 failed`; `code_surface` / `target_release` / `sequenced_after` green; `doc-health` names this packet in **zero** findings, and its `## MODIFIED` block raises **no** `modified-block-currency` finding while nine other active changes do.

## Note for the lander

This PR and **#1141** (the sibling encoding of `5778397686`) both touch the README **OpenSpec Records** block and `tests/sequenced_after/corpus-ledger.yaml`, so they will conflict with one another. Expected: land one, then the second takes a merge-from-main and re-seeds its ledger row.

## Copilot round 2 — the runtime exclusion was wrong, and a live pin proves it

| finding | disposition |
| --- | --- |
| `r4073495698` runtime pins are excluded by round 1's repair | **FIXED, and it overturns round 1.** `contracts/opendox-pin.yaml`:190 carries a real `migration:` block (`range: "0001..0002"`, `reversible: false`, a named runbook) **and** a whole-tree digest with no per-file list. So the runtime clause GOVERNS that pin, and the exclusion would have made **the very pin this amendment was ruled for** non-conformant. **The resolution is the reading available all along:** the two clauses govern DIFFERENT obligations — the runtime clause governs what a bump must DECLARE, this equivalence governs which FORM the completeness obligation takes — so the equivalence reaches a source-tree pin whether or not its product is a runtime, and every obligation that clause imposes stays owed in full. `design.md` D3 records BOTH rounds. |
| `r4073495753` the mixture guard covers one half | **REGISTERED with a measurement** (`tasks.md` § 5.4). `pin_shapes.py`:772-775 detects the mixture only when `files` is present. **Every `contracts/*-pin.yaml` was read** — `opendox`/`openxdox` carry a tree digest and NEITHER list; `openreposhape`/`openxwallet` carry both lists and NO tree digest; `openspec-cli`/`review-lane` carry none — so **no pin in the estate is in the uncaught state**, no code is owed, and `code_surface: none` stands. |
| `r4073495808`, `r4073495848` two stale scenario counts | **FIXED.** `README.md`:540 and `tasks.md` § 2.1 still said "three added" where the same files already said five and twelve. Counts re-derived from `grep -n "^#### Scenario:"` — **twelve headings, seven carried** — rather than from the previous sentence. |

**What "do not touch the runtime clause" actually meant**, now written into `design.md` D3 so the next reader does not repeat round 1: *do not weaken the deployment obligation.* It did **not** mean carve runtime products out of the equivalence — and conflating those two is what produced a repair that broke a live pin.

**All threads on this PR are answered and resolved.** Re-validated at the ratified head: pinned entrypoint `1 passed, 0 failed`; `code_surface` / `target_release` / `sequenced_after` green; `doc-health` names this packet in **zero** findings.

## Copilot round 3 — a cross-reference whose target never landed

| finding | disposition |
| --- | --- |
| `r4073610119` § 5.4 is referenced and does not exist | **FIXED, and the cause is recorded in the item.** The round-2 edit that wrote § 5.4 **aborted on an unrelated failed assertion before reaching the append**, so `proposal.md` shipped a cross-reference to a task that was not there. **A cross-reference is not evidence that its target landed — the target is.** |
| `r4073704501` a stale gloss survived round 2 | **FIXED.** The proposal's scenario list still called the runtime pin one "which the equivalence does not reach" — the reading round 2 overturned. The normative text, the scenarios, `design.md` D3 and the ratification record all carried the corrected reading; this one summary did not. |
| `r4073704461` the description contradicted the index | **FIXED in the description** — it still carried `Status: draft` and the round-1 Boundary 3. |
| `r4073704409` the current head is not covered by the recorded approval | **NOT A DEFECT TO FIX — it is this packet's own disclosure**, and the reviewer is reading it back. `tasks.md` § 1.3, the ratification record § 3, `.openspec.yaml`, the README row and this description all say exactly that, and it is registered as **RULING NEEDED for Brett Heap** rather than resolved by this lane. |

## Copilot round 4 — and the tally that was itself wrong

| finding | disposition |
| --- | --- |
| `r4073991713` the first summary outlived its own correction | **FIXED.** The round that introduced the exclusivity rule corrected the delta and the summary bullet *below* it, leaving the bullet *above* it permitting the mixed pin both forbid. Swept rather than spot-fixed: `grep -rn "MAY then be absent"` over the packet now returns exactly one hit — the ratification record's **citation** of the old wording while explaining what changed. |
| `r4073991767` the ratification record's review tally was wrong | **FIXED STRUCTURALLY.** It under-counted the REGISTERED findings and called four stale where two were. But correcting the arithmetic alone would have left the real defect: **a tally frozen into a ratification record goes stale the moment review continues — and review DID continue after the ratifying word, which is the whole reason this record exists.** The record now states its tally **as of a named head** and says this pull request carries the running one, in a table naming every finding by id. |

*(Round-4 tally as of `52f8067d`: four rounds, sixteen findings. Superseded by the round-5 tally below, which is stated as of the landing head.)*

## Copilot round 5 — a PREVIOUSLY-MISSED finding, in text nothing had changed

| finding | disposition |
| --- | --- |
| *Align boundary summary with final runtime pin scope* — raised at `52f8067d` in the review's **Previously missed** block, `proposal.md`:115 | **FIXED at `4a6458f6`**, and it is the LAST survivor of the round-2 reversal. Item 3 of the proposal still said the equivalence *"does not reach a pin the runtime-deployment clause governs"* and that the whole-tree question there was *"left unopened"* — the round-1 reading `r4073495698` overturned. The normative block, the scenarios, `design.md` D3, the ratification record and the README all carried the corrected reading; this one bullet did not, and **a proposal implemented from it would have taken the discarded scope.** |

**Two causes, both recorded in the commit because both will recur.** First, the round-2 edit that should have fixed this bullet was in the **same script that aborted on an unrelated failed assertion** — the script that also lost `tasks.md` § 5.4 (`r4073610119`). One aborted script silently dropped two edits and a later reader found each separately: *an edit is not applied because a script containing it ran.* Second, and worse: **an earlier grep for this exact phrase returned a FALSE NEGATIVE** — the text wraps as `a pin the` / `runtime-deployment clause governs`, so a line-oriented search matched nothing and the packet was recorded clean. The sweep is now whitespace-normalized before matching (`re.sub(r"\s+", " ", text)`) across every packet file and the README, and reports clean on all three discarded-reading phrases.

**Running tally, as of the landing head `4a6458f6`: five rounds, SEVENTEEN findings** — **12 FIXED**, **2 REGISTERED** (`tasks.md` §§ 5.3, 5.4), **2 true when written and already false at the head they were raised against**, and **1 that is not a defect at all** but this packet's own baseline disclosure read back to it (`r4073704409`). **All 16 threads resolved.** The reviews at `52f8067d` and at the head `4a6458f6` both report **Findings: None**, and the head's review carries **no Previously-missed block**.


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 22, 2026
…verclaimed: both taken

Copilot round 2 on #1143. Three findings, all FACT, all taken.

r4076010204 -- THE EXCEPTION RELAXED ONLY THE EXTERNAL/PINNED SENTENCE. The next
sentence still read "a reader depends on the interface it implements, and never
on the corpus's own check families", and the home adapter imports doc_health at
six sites, so the requirement was still false of it one clause over. The
exception now reaches that sentence on the same terms, and it is the SAME
exception rather than a second one: the one-way rule governs the dependency
ACROSS THE SEAM, and a reader inside the repository whose corpus it reads is not
across the seam from it. Its dependence on doc_health is exactly what RULING DQ-1
placed it beside them to do; reading the sentence as forbidding it its neighbours
would forbid the one thing that ruling kept it here for.

What is still owed OF the home adapter is stated rather than dropped, and it is
the half with real content here: it depends on the pinned interface it
implements, and that interface depends on nothing of this repository's -- already
measurable, tests/corpus-adapter/test_interface_closure.py holds the interface
closed against both the reader package and the implementation. A scenario says
so. And the exception is bounded once more: it does NOT reach the relocation
rule that follows, which is about EXTRACTION and binds the home adapter exactly
as it binds anything else.

THE PROMOTED ONE-WAY SENTENCE IS CARRIED VERBATIM. The scoping is stated in the
exception paragraph that immediately precedes it and names the clauses it
reaches, rather than by editing the sentence -- so the seam block still removes
NO promoted body unit and the carriage proof still reports all three carried.

r4076010268 -- THE FRONT MATTER OVERCLAIMED. It said "not one character of a
validator, a verifier, a test or a contract moves in this pull request" while the
pull request adds review/verify-carriage.py. The gloss now draws the distinction
the corpus already draws, with the precedent named: repromote-engineering-vocabulary
-- the packet that promoted openxfactory-engineering-adapter -- declared
code_surface: none while committing review/build-delta.py, glossed as sitting
under no import path, not under scripts/ or tests/, read by no gate, running only
when a human runs it. Measured the same way here: grep -rIn verify-carriage
scripts/ .github/ tests/ returns nothing.

r4076010322 -- THE CAPABILITY'S ## Purpose STILL READS UNCONDITIONALLY and a
delta cannot reach it. Measured: no active change carries a ## Purpose in a spec
delta, because ## ADDED|MODIFIED|REMOVED Requirements is the whole delta grammar
and the promoted Purpose is written BY THE ARCHIVING ACT -- #1139 says so in its
own words. So the replacement sentence is written out at tasks.md 5.0 for the
archiving actor to carry, rather than left to be rediscovered.

Recorded at design.md D4c. Scenario count: six promoted carried, four added.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 23, 2026
…d false: the seam's "every tool" and the mapping declaration's "exactly five axes" (#1143)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

**The TWO REMAINING ratified-text findings of Copilot review [`5273796676`](#1139 (review)) on #1139** — the archive of `split-opendox-two-layer-product`, merge `e8fde27f` — registered as REAL by the archiving lane at [#1139 comment `5770749761`](#1139 (comment)). That review raised six findings: three were facts about text #1139 itself wrote and were fixed there (`dee01d9c`); three named RATIFIED requirement text promoted verbatim out of the delta Brett Heap ratified 2026-09-05. One of those three, `r4067852551` on `neutral-product-pin`, was ruled at [`#656` `5777949892`](#656 (comment)) and landed as #1140. **These are the other two. With this the set of four closes.**

**NOT RATIFIED BY THIS LANE.** Both amendments are requirement text after a ratify word, so both go to Brett Heap per the 2026-09-01 precedent. `Status: draft`.

**Each was re-measured against the LANDED text before a word was written**, on the standing that a finding wrong on the landed text is answered by measurement, not by an amendment. Both hold.

---

## Finding 1 — `corpus-adapter-seam` `r4067852518`: "every tool", and the tool the estate is required to keep

The promoted requirement carries TWO clauses and the home adapter fails both ways. Measured on `main` `4f92d651`:

| clause, as promoted | `scripts/corpus_adapter_openxfactory/`, measured |
| --- | --- |
| *"SHALL consume every tool that reads its governed corpus as an EXTERNAL NEUTRAL PRODUCT pinned under `neutral-product-pin`"* | in this repository's own tree; named in NO `contracts/*-pin.yaml` (`grep -rn "corpus_adapter" contracts/` → nothing). Neither external nor pinned. |
| *"no neutral product `openxFactory` pins SHALL import `openxFactory`'s own tooling"* | imports `doc_health` at **six** sites across four modules (`adapter.py:58`, `check.py:39-41`, `classify.py:38`, `home.py:59`) and `ideation_dashboard.intent_apply_lane` lazily at **two** (`write_path.py:134`, `:152`). |

**So the escape the first clause appears to offer is closed by the second** — pinning the adapter would relocate the tension, not resolve it, because RULING DQ-1 puts it *beside* `doc_health` on purpose: *"doc-health and OpenSpec stay in openxFactory, and a small adapter package beside them implements the corpus-adapter seam"*. The archived packet's own delta header says DQ-1 makes requirement 4 *"load-bearing rather than precautionary"*; it never went back and scoped requirement 1.

**And the estate has been reading it the amended way all along.** `grep -rIn "corpus-adapter-seam" scripts/ tests/ contracts/ .github/` returns ten lines and every one names requirement 3 or 4 — not one names requirement 1. The home adapter's own docstring (`shape.py:3-7`) names requirement 4 as the rule it is built to satisfy.

**The exception is NAMED and BOUNDED, not a class.** A general "externally consumed" scoping would make the requirement's own third scenario — *"a corpus reader is copied into `openxFactory` rather than pinned … the copy is refused"* — unreachable by construction: the next reader that ought to be pinned is simply authored here instead. So the block adds a scenario refusing a second in-repository reader that claims the exception.

## Finding 2 — `domain-mapping-declaration` `r4067955892`: "exactly five axes", and the sixth the corpus already declares

The estate's ONE realized declaration has already answered the question the promoted text leaves open. `contracts/domain-profiles/openxfactory-engineering.yaml`:

- `AXIS 1`..`AXIS 5` comment banners at :76, :146, :360, :395, :405 over `artifact_kinds:`, `lifecycle:`, `gates:`+`acts:`, `evidence_classes:`, `authorities:`;
- then **`truth_store:` at :415 — top level, sibling to all five, under NO axis banner**, with `external_enforcement_point:` nested at :417, and its own `description:` citing *"`domain-mapping-declaration`'s third requirement itself"*.

`DomainProfile` carries `truth_store` as its own field beside the five (`tests/test_engineering_profile_display_facet.py:300-303`). **The implementation treats it as a sixth axis; the requirement says there are exactly five; nothing in the corpus reconciles them.** The amendment states the count the corpus already keeps, and settles in normative text which of the finding's two readings — *forbidden sixth axis* or *nested data* — is right, and that the axis does not replace `governed-derived-model`'s `truth_store` dial but names the same store, beside the enforcement point that dial does not name (a *previously missed* item in review `5283370966`, answered at this head — `design.md` D2). **Requirement 3 is not edited: this packet adds no obligation, it names one the corpus already carries.**

---

## Carriage: six promoted scenarios carried BYTE-IDENTICALLY, four added

A `## MODIFIED` block REPLACES the requirement it names, so a dropped or retyped scenario is a requirement quietly narrowed at promotion — invisible in review, because the block reads complete. Both blocks were built by **extracting** the promoted scenarios programmatically rather than by retyping them, and `review/verify-carriage.py` re-extracts them on demand from the **IMMUTABLE BASIS** — the promoting deltas archived under `openspec/changes/archive/2026-09-22-split-opendox-two-layer-product/specs/` — and compares, reading the mutable `openspec/specs/` only for the currency check. Its output at this head, pasted from the run rather than retyped:

```
OK corpus-adapter-seam: all 3 promoted scenario blocks carried exactly and in order among the delta's 6 parsed blocks (a block is its heading through its last non-blank line; blank lines between blocks are outside every block and are not compared); canon still states the basis, body and scenarios both — nothing moved under this block
OK domain-mapping-declaration: all 3 promoted scenario blocks carried exactly and in order among the delta's 4 parsed blocks (a block is its heading through its last non-blank line; blank lines between blocks are outside every block and are not compared); canon still states the basis, body and scenarios both — nothing moved under this block
```

It is committed with the packet, so the proof survives every later edit — including edits made in response to this review. **A block is its `#### Scenario:` heading through its last non-blank line**; every byte in that span must match exactly and in the promoted ORDER, while blank lines BETWEEN blocks are outside every block and are deliberately not compared. That definition replaced an `rstrip` that quietly normalized while the script said *byte for byte* (`r4076352166`), and the order check replaced a set-membership test that would have passed a delta carrying every promoted scenario in a different sequence. Three controls prove it: two blocks swapped → FAIL naming the block out of sequence; a blank line inserted **inside** a block → FAIL; the blank runs **between** blocks doubled → OK, by the stated definition. **And the reference is the IMMUTABLE archived basis, not live canon** (`r4076557378`): reading `openspec/specs/` would have made this script FAIL from inside its own archived packet the moment the amendment landed. Canon is still checked, over the WHOLE requirement and against FOUR states — equal to the basis (review time), equal to this block (post-archive, historical), matching neither (**FAIL**), or absent (**FAIL**) — each proved by its own control; and the root is found by marker, so the same script runs from inside the archived packet. `design.md` D4g records how the prose describing all this went stale when the proof moved, and the sweep that followed.

## `code_surface: none` — MEASURED, not assumed

1. Nothing enforces the clause being scoped: every reference to `corpus-adapter-seam` in running code names requirement 3 or 4.
2. Nothing counts axes: no `scripts/` or `tests/` file enumerates the declaration's axes or asserts their number.
3. The realized profile already carries six, so an artifact conformant before this lands is conformant after it.

Both amendments are doctrine-only: they make the normative text agree with artifacts and readers that have behaved this way since they were written.

## Gate

- `OPENSPEC_TELEMETRY=0 openspec validate amend-home-adapter-scope-and-mapping-axis-count --strict` → **valid** — a narrowed claim, about this change alone.
- `validate-code-surface.py` / `validate-target-release.py` / `validate-sequenced-after.py` → **exit 0** each.
- **Corpus-wide, through the adjudicated entrypoint the gate itself runs** — `python3 scripts/validate-openspec-cli-pin.py --all --no-cache` (`.github/workflows/openspec-cli-pin-gate.yml`:101) → **exit 0**: `@fission-ai/[email protected]` verified against its content address, `110 passed, 1 failed (111 items)`, **0 undispositioned**. The one failure is `add-chain-attestation` / `signed-execution-chain/spec.md`, INHERITED from `main` and not this packet's, applied as the disposition `contracts/openspec-cli-pin.yaml` carries for it (Brett Heap, 2026-09-05, *"take exit 2"*). The raw `openspec validate --all --strict` reports that same finding as a blocking error because it cannot read the disposition — which is why, under the now-ratified `require-adjudicated-validation-entrypoint` (landed on `main` as `2e222d98`), a corpus-wide claim names the entrypoint and not the raw tool.

## Not done, and said so rather than folded in

- The archive is not edited. `openspec/changes/archive/2026-09-22-split-opendox-two-layer-product/` holds what Brett Heap ratified on 2026-09-05 and stays that way.
- Two stale strings met while measuring are **registered at `tasks.md` § 5, not fixed**: the realized profile's `basis:` entry cites the delta at its pre-archive path and calls it *"the five axes"* (a contract edit would give a doctrine-only packet a code surface for a citation this amendment did not make stale), and `README.md`:3270 is the ARCHIVE RECORD's narrative of what that packet promoted, accurate as a record.

## Sequencing with the lane's other open packet

This and its sibling, #1145, both add a row to the README "OpenSpec Records" block and to `tests/sequenced_after/corpus-ledger.yaml`. **Measured with `git merge-tree`, they no longer collide, in either order.** With both rows at the head of the list, #1145 conflicted in `README.md` once #1143 had landed. #1145's row now sits after the lane's other 2026-09-22 row, and both orders merge cleanly to the SAME tree; the ledger auto-merged throughout. On that fully merged tree, all of these pass: the three front-matter validators, both packets' strict validation, #1143's carriage proof, and the adjudicated entrypoint (`112 passed, 1 failed (113 items)`, the one failure the dispositioned `add-chain-attestation`). `main`'s required-check rules are not strict (`strict_required_status_checks_policy: false`), so neither needs a merge from `main` after the other lands. **This one should still land first**, because it is `code_surface: none` and archives on landing, while the sibling waits on realization evidence. That is now a preference, not a constraint.

## Review record — 19 Copilot reviews at 14 heads; 25 findings (21 as threads, 4 only in *Previously missed* blocks); 0 unresolved threads

**23 taken as fixes, 1 answered by measurement, 1 registered and not taken** — plus one summary-line mention with no finding behind it (*"invalid backtick fencing in the domain-mapping marker"*), answered by measurement in a PR comment. Answered: `r4075847966` (the ledger row — true when written, already false at the head it was raised against). Registered: `r4076010322` (the capability's `## Purpose` — right, but no delta can reach it, so the replacement sentence is written at `tasks.md` § 5.0 for the archiving actor). Every thread carries a reply and is resolved. The three deepest were all against **my own** work rather than against the amendment:

1. **`r4075847914` — the carriage proof could not tell carriage from quotation.** `carried in delta` searched the whole file, so promoted bytes surviving in prose or in a marker read as carriage while the real blocks were replaced — and this packet's mapping delta carries a promoted body unit verbatim inside its `Removed from canon by` marker, which is exactly that. **Proved both ways:** with the pristine region quoted into the header prose and one real bullet altered by a word's case, the pre-fix reader answers `True` *while the requirement is narrowed*; the post-fix reader FAILs naming the block. `r4075847837` was its twin — `read_text()` normalizes newlines, so the "byte for byte" claim was made over bytes already normalized.
2. **`r4076010204` — the exception was still false one clause over.** The first fix relaxed the external/pinned sentence; the next sentence still read *"never on the corpus's own check families"* and the home adapter imports `doc_health` at six sites. The exception now reaches that sentence on the same terms — the one-way rule governs the dependency **across the seam**, and a reader inside the repository whose corpus it reads is not across the seam from it — while what the rule protects stays owed and is measured today by `test_no_privileged_route.py`:155, whose failure message names *requirement 1* outright.
3. **`r4076105337` and `r4076204332` — two counts left behind by two head-moving fixes.** Neither statement was wrong on its face; each was caught by a reader comparing **two statements of one number**. Both repaired, every count claim in the packet swept, and the verifier transcript is now regenerated from the script rather than retyped.


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 24, 2026
…recording ten rulings (#1144)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

**DRAFT STATUS — for Brett Heap's ratification read. This packet authors no code byte and lands nothing. All fifteen rulings are recorded below. Every gate is green at the head, the code-surface membership arm included, since ruling 15 named the assembly roots — see "Gate state". The packet stays `Status: draft` and lands only through the holder's lander in a Rule 6 window; this actor merges nothing.**

## What this is

The archived carve packet `split-opendox-two-layer-product` (#1139 → `e8fde27f`) closed its governance ledger and left its **dependency inversion** open — `openDox-code/src/opendox/consumer_reach.py` says so in the tree: *"the injection that would make this reach disappear does not exist yet and is BUILD-arc work."* This packet opens that arc.

ONE `## ADDED Requirements` block creating the capability **`neutral-product-standalone-operability`** — **17 requirements, 75 scenarios**, written domain-neutrally with openDox as the measured instance, one per gap of the 2026-09-22 feature/gap sweep (G1–G10) plus the ruled submission step, the ruled install shape, the ruled fix loop, the ruled check-pack interface and, from 2026-09-23, chat's model configuration — each separately satisfiable and each falsifiable by a command named in `tasks.md`. It is the sibling of `neutral-product-pin`: that governs openxFactory CONSUMING an external neutral product; this governs the product being able to STAND UP without its consumer.

## The owner's question, and the measurement that answers it

Brett asked this lane: *can openDox be self-contained as a research and document tool?* **DIRECTION Q5** already set the test in his own words — *"a student could use openDox or a lab assistant. so we want that to still be useful on its own"*. Two commands answer it, in a checkout of `opensoft/openDox-code` at `f8a1ece` with `PYTHONPATH=./src`:

```
$ python3 -c "import opendox.runtime.cli"     → exits 0
$ python3 -c "import opendox.serve"           → ModuleNotFoundError: No module named 'ideation_dashboard'
```

openDox-code is **two products in one repository**. `opendox.runtime` is the app the founding ruling asked for and it works, standalone. The **document** surface does not import. `opendox.cli` and `opendox.notebook_action` fail through the same line, so the "Open in NotebookLM" tile action — one of the two integrations Brett named by name — is unreachable in the repository that owns it. It is **two import-time lines** (`serve.py:199`, `:206`) importing **five plain route strings**, and they cause **1,232 of the 1,298 errors** a whole `pytest -q` run produces, where the passing count is zero.

## Three findings, recorded rather than assumed

**1 — Which direction is unclosed.** openDox → openXdox is **finished**: thirteen import-time back-reaches became zero under BUILD slices 2 and 2b, and the `OPENDOX_BACK_IMPORTS` ratchet passes today at `0` / `19`. What is NOT closed is the reach into the **publisher** — and **no gate watches that direction**, which is how it survived a completed inversion under a green required check. G4 is sharper still: a **declared carve edit that never landed** — the manifest row for `authoring.py` already names the edit class, the lines `[317, 318]` and the operation that answers.

**2 — Both legs are green, and that is the problem.** openDox-code runs 37 of 63 test files and clears its floor with **zero margin**; openXdox-code runs 16 of 85. Run whole, openXdox produces **1,089 errors and zero passed**. Every one of its six skips reads *"doc_health reachability is BUILD-arc work … this test will assert for real once that lands"*. **The whole-product assertions are precisely the ones that skip.**

**3 — Where this packet is filed, and why.** In **openxFactory**, not openDox-spec. That instance is **operable** (`openspec validate --all --strict` exits 0), so the default did not fire and the choice needed an argument. It is **empty** — `openspec list --specs` answers `No specs found.` Worse, three of its four active changes carry MODIFIED blocks against a spec that does not exist there, **so they can never be archived**, and its pinned CLI 1.2.0 emits none of the notices that report it. **That openDox cannot yet govern its own BUILD arc is itself G7**, carried as requirement 8, whose third scenario names the condition that ENDS the arrangement. The ruling that argues against this filing — RULED OQ-N — is answered in the proposal, not omitted: it names *that* BUILD arc by its two boxes, and **that arc is finished**, landed in openDox-code on 2026-09-18 exactly as OQ-N directed.

## Ten rulings, recorded — this packet asks nothing it could answer

Brett ruled ten things for this arc on 2026-09-22, across seven comments on #656, and sent two constraints with them. **Three of the ten AMEND FOUNDING RULINGS**, and each says so where a reader meets it rather than leaving it to be found.

**1 — THE NEUTRAL GENERATOR (req 4), [`5783335210`](#656 (comment)): *"yes, openDox gets its own neutral generator."*** openDox does not take openXdox's `generator.py`; it grows a small neutral projection over the `CorpusAdapter` protocol it *already declares*, with `runtime/local_git_adapter.py` as the conformant implementation it already ships. openXdox **keeps** its governed generator and injects it through a seam of the same pattern.

**And the ruling is better than this packet's own recommendation, for a fact the packet had not measured.** It recommended relocating the generator; `src/openxdox/generator.py:66-68` reads `from doc_health import corpus` / `RealGit` / `lines.split_keepends`. **The generator imports openxFactory's `doc_health` directly**, so relocating it would have put `import doc_health` inside the neutral core — the exact thing `corpus-adapter-seam` forbids. `design.md` § R-G3 records the correction in full rather than fixing it quietly.

*Two constraints arrived with it:* `NEUTRAL_DISPLAY`'s six words stand unchanged — `sources → groups → candidates → selections → submissions → completed` (rulings 9 and 10 below settle the sixth) — and the view-wiring slice, claimed under actor `viewwire`, has **LANDED as openDox-code#35 → `3c3a9e31`** and is **not owned here**. It touched only `src/opendox/web/` and tests, so no Python line this packet cites moved.

**2 — THE SUBMISSION STEP (req 11), [`5783934499`](#656 (comment)): *"add a neutral publish step to the build arc."*** RULING C3 makes a standalone openDox a plain local git repository, but `session_pr.py:297`'s `GhPullRequests` shells `["gh", "pr", …]` against `_GITHUB_HOST = "github.com"`, so the student C3 describes cannot get a session's work out at all. Requirement 11 declares a neutral submission protocol — `SubmissionPort`, one operation, split from the platform's `PullRequestPort`, which stays unchanged — with a neutral default that pushes the session branch to an attached remote and says plainly when there is none.

Measured refinement: a protocol **already exists** (`PullRequestPort`, three operations, `push` already neutral) and so does its injection point (`serve.py:766`'s `pull_request_factory`, called at `:931-932`) — the hard-wire is the **default binding**, not the protocol, so requirement 11 repoints an unset default rather than inventing a seam. **And a further measurement made the step larger than a binding:** the ACT of submitting, meaning the verb `gate open-pr` (`openxdox/cli_gate.py:634`), the engine `execute_open_pr` (`openxdox/gate_routes.py:2417`) and the route, is **openXdox's**, and nothing in openDox calls either default binding. So a standalone openDox cannot submit at all, `gh` or no `gh`. Task 12.4a gives openDox its own `submit` verb and route, and requirement 11 gains the scenario that names the gap. Named *submission*, not *publish*, because this capability already uses "publisher" for the repository that publishes the corpus; *submissions* is the fifth of the six ruled words.

**3 — MERGE, [`5784155201`](#656 (comment)), *"merge yes"*.** The hold is released. The absence in `session_pr.py` was never about merging — it was **separation of duties**, and that is kept wherever a governance exists outside the tool: a governed host RESERVES landing and routes it to that governance's instrument, so openxFactory's flow is untouched. What is dropped is its LETTER exactly where the user IS the governance. **Three guardrails hold in every mode and none is configurable**: explicit HUMAN act, conflicts SHOWN, and a merge that is a COMMIT and therefore revertible.

**4 — BUNDLED POSTGRES, ONE DIALECT (req 12).** The install brings the database so a user installs the product, not a database. **No SQLite** — a second dialect doubles every migration forever for a store that by RULING Q1 holds no document. Both DSNs survive: a single-user install is not a reason to serve from the migrating credential.

**5 — A NAMED LOCAL IDENTITY MODE (req 13) — AMENDS RULING Q2.** `config.py:89-92` makes the Keycloak issuer REQUIRED; a single user cannot run a Keycloak. The amendment is narrow and the narrowness is the point, with the safety in one scenario: **a hosted install with no issuer REFUSES rather than degrading**, because a mode you enter by forgetting to configure something is an unauthenticated multi-user install wearing the word "local".

**6 — HEALTH RESULTS IN THE STORE (req 6, amended) — AMENDS RULING Q1's CLOSED TABLE LIST**, by the additive path `0001`'s own text names. **Two corrections this packet measured:** it is `0003_`, not `0002_` — that file exists, the migration ledger — and the closure test is scoped to the CANONICAL migration, so it moves only if the health table is declared a DOMAIN table; `0002`'s ledger is the precedent for the other answer, and the realization declares which and why. **Q1's principle is untouched**: no document, still disposable, results recomputable from git.

**7 — THE FIX LOOP (reqs 14, 15), [`5784247356`](#656 (comment) Detection without resolution is a list that grows. Three resolution classes, CLI parity with the view, and **every repair a draft on a branch that reaches the default branch only through the merge rule — nothing auto-merges, not even a one-line fix**, with batching as the pressure valve. The applier is genuinely new: openxFactory CLASSIFIES findings (`AUTO_FIXABLE`/`CONTESTED`) and no code in `scripts/doc_health/` applies one. **And exceptions live in GIT, not the store** — the store is disposable by Q1, so an exception kept there is a judgement scheduled for deletion whose finding silently returns on the next reset.

**8 — THE CHECK-PACK INTERFACE (req 16), [`5784295745`](#656 (comment) A pack supplies families, findings and patches; the ENGINE owns the view, scheduling, the baseline, storage and the fix loop; and **a pack CANNOT redefine the resolution classes, the baseline rules, or who may land work** — those are the guarantees the rest of this capability exists to give, and a pack that could vary them would make each one conditional on which plugins an install carries. Guardrails: a pack runs **in an OS-enforced sandbox** — a read-only mount of an isolated copy, no network, its whole process tree ended with the sandbox — so only the engine can write; pinned by commit and digest (digest alone for a pack the corpus carries); and a pack that crashes or times out becomes a **finding against that pack** rather than taking the run down.

**9 — THE SIXTH WORD IS `completed`, [`5784654370`](#656 (comment)): *"2, keep completed"*.** The sixth stage's role is `completion` and its short label is **`completed`**, exactly as `NEUTRAL_DISPLAY["stages"]["completion"]["short"]` declares it — measured at openDox-code `3c3a9e31` before encoding. **This packet had spelled it `completions` in four places**, because it quoted the module docstring (`display_profile.py:77`, since aligned by openDox-code#36 → `1e4a57fb`) instead of the declaration. Every list of the six words now ends `completed`, and the correction is recorded where the old spelling stood.

**10 — openXdox OVERLAYS "implemented" THROUGH A FACET, [`5784683830`](#656 (comment)): *"1, keep completed and overlay implemented"*.** The neutral word stays; openXdox declares a PARTIAL `DISPLAY` facet labelling the `completion` stage "implemented", the governed lifecycle's word, and openDox fills everything else from `NEUTRAL_DISPLAY`. It is **the estate's first `DISPLAY` facet** (task 5.3a), and it has LANDED as openXdox-code#26 → `195276b7` — as a module value in `view_extensions.py`, not a `DomainProfile` field, which is where 5.3a and its falsifier now read it. Served pages show it since openxFactory#1146 → `d52b4199`, and its item nouns since #1148 → `f1c690b8` (ruling 14). The falsifier was run against the real `normalize_display` at `3c3a9e31` first, which is how it learned that a facet giving `short` alone leaves `label` at "completed" — so the box requires both.

**This is also what finally gives openxFactory's 23 governance families a home** that is neither "stay in openxFactory forever" nor "move into the neutral core" — an **openXdox pack**, named here as a FOLLOW-ON and deliberately not authored here, alongside each DomainxFactory's own pack.

## Three rulings of 2026-09-23 — two releases, one change

Brett ruled three more times on #656, and the third answered the four questions this packet raised when it measured the second against requirement 1.

**11 — THE DIRECT ARROW STAYS, [`5799494355`](#656 (comment)): *"keep the direct arrow, revisit after phase 1"*.** RULING OQ-2's pin chain is unchanged: openxFactory pins BOTH openXdox and openDox, with the lockstep in `scripts/verify-opendox-pin.py`. openxFactory's direct use of openDox is a legitimate host use; the arrow that blocks standalone is the reverse one, which phase 1 cuts. `design.md` § D13 carries it as a non-normative note, and follow-on F4 is the revisit.

**12 — TWO RELEASES, [`5799646419`](#656 (comment)): *"a, phases 1-3 as the first release"*.** Release 1: phase 1 it runs, phase 2 it is useful alone, phase 3 it installs. Release 2: phase 4 merge, the governed pull-request path and submission behind one interface; phase 5 the health engine, the fix loop, exceptions in git and the check packs. The release map at the head of `tasks.md` places every group, and **release 2's rulings are SEQUENCED, not deferred, reopened or weakened.**

**13 — THE FOUR QUESTIONS, [`5800995035`](#656 (comment)): *"the four 1144 questions, go with recomendations"*.**
- **Requirement 1 is KEPT.** Ruling 12's phase-1 text moved openxFactory's lane actions and host wiring into openXdox, which requirement 1, the carve manifest's `stays_openxfactory_adapter` rows and 11.1's guard all refuse (the guard, run over such a move, names five paths). Phase 1 is the G1/G4 cut, a neutral default host profile, and openDox's own default corpus adapter registered at startup (new task 4.1a). The direct-arrow revisit now re-measures after phase 1 instead of waiting on a condition that could never be met.
- **One change.** `release-realization` admits one `target_release:`, so the releases are sequencing, and the change archives only on merged, green evidence for BOTH. Splitting release 2 out stays open for later.
- **Requirement 17, NEW:** chat reaches any OpenAI-compatible endpoint by URL, model name and credential reference, never a raw key; a clear "no model configured" state with the rest of openDox working; `doxbench_provider.py` stays the only module that contacts a provider. Group 16 carries it, measured at openDox-code `1e4a57fb`: the one dialect speaks no OpenAI grammar, the record has no model name, a key inside the endpoint URL is ACCEPTED today, the catalog advertises `omp-local` as available with no harness installed, and the provider-boundary test is a standing red that no required check runs.
- **Release 1 is "standalone operation"**, not a declared standalone product: requirement 8 keeps that declaration for openDox-spec.

## Two later rulings of 2026-09-23 — the item nouns, and the code surface

**14 — THE ITEM NOUNS, [`5801057769`](#656 (comment)): *"yes, overlay implemented items too"*.** openXdox-code#27 → `626f2c8d` adds the `completion` entry's `one` and `many` ("implemented item", "implemented items") to openXdox's partial facet, and openxFactory#1148 → `f1c690b8` serves them. It is follow-on F3's second landing, not this packet's work. F3 stays `[~]` because every other station is still neutral. 5.3a, R-G3 and D13 record it, and 5.3a's falsifier passes at `626f2c8d` as it did at `195276b7`.

**15 — THE CODE SURFACE NAMES THE ROOTS, [`5804191141`](#656 (comment)): *"1, name the roots and file the follow-up"*.** This supersedes `5802995365`, whose inventory-rows route was dead. The inventory's reader, `scripts/estate_inventory.py`, reads workflow evidence only at `uses:` and `with.repository:`, never from a `run:` line. openxFactory's workflows reach the legs only through `git submodule update --init --recursive` on the two roots, in `run:` lines. The head is now **`openxFactory, opensoft/openDox and opensoft/openXdox`**: two roots the inventory already carries (both `pinned`) and openxFactory's host wiring.
- The gloss says where the code is WRITTEN: in the legs `opensoft/openDox-code` and `opensoft/openXdox-code`.
- A leg's code reaches openxFactory only through the roots' pins. That is the route openXdox#17/#18 → openxFactory#1146/#1148 took today.
- The follow-up is **#1150**, which asks the inventory to record a code leg nested under a pinned root. The head re-points at the legs once it lands.

`design.md` § **D15** is a note, not a requirement, and records all three points.

The route forced three companion edits that the ruling's own example needs:
- **9.5** now lists the openXdox route: the root's `code` pin at `626f2c8d`, and openxFactory's `openXdox` gitlink and `contracts/openxdox-pin.yaml` at `2f3f857d`. It names both verifiers.
- **11.0** adds openXdox to the repositories whose commits carry the `Arc:` trailer.
- **11.1's guard** admits BOTH pin pairs (`PIN_PAIRS`). The guard before this round refused the openXdox pair's move, as the control run shows.

## Corrections the measurements forced

- **The submission report redacts a credential the remote's URL carries** (Copilot `r4088286823`). A git remote can embed userinfo or a query-string token, and 12.4a's verb prints the report. 12.1a now reports where the work went and never what the remote holds, and the same applies to a refused or failed push's message. The falsifier runs a named regression test, `test_a_credential_in_the_remote_url_never_reaches_the_report`.
- **Scenario ordinals now match the spec delta.**
  - Group 12 cited requirement 11's report and no-remote scenarios as the second and third. Round 11 inserted a new second scenario, so they are now the third and fourth.
  - `design.md` § R-G3 and the proposal cited requirement 3's "fourth" scenario for the neutral-vocabulary rule. That scenario has been the third since it was written.
- **9.5 never listed the openXdox route**, which is the route ruling 15 cites. It now lists the openXdox root's `code` pin and openxFactory's `openXdox` pin pair, measured on every main line today.
- **11.1's guard harness now builds real gitlinks.** It extracts the committed block from `tasks.md` and runs 14 cases, all as expected:
  - the ten earlier cases;
  - a landing that moves each pin pair in one commit (passes);
  - a deleted `contracts/openxdox-pin.yaml`, a deleted `openXdox` gitlink, and a moved undeclared gitlink (each refused).

  The same harness over the guard at `f3511e0c` refuses the openXdox pair's move, so the extension was needed.
- **5.3a now reads the facet where it LANDED.** openXdox-code#26 → `195276b7` declared it as a module value, `openxdox.view_extensions.DISPLAY`, and NOT on `DomainProfile`, because openxFactory's composite host would never forward it there. The box's old falsifier, `host_display(DomainProfile)`, answers `None` against the landed trees; the new one passes against openXdox-code `195276b7` with openDox-code `1e4a57fb`.
- **3.3 asked for a manifest edit the guard refuses.** The `deleted_at_carve` row has no `edits[]` entry to annotate, so the box now leaves it byte-identical.
- **11.1's guard let a declared surface be deleted.** It now reads `--name-status --no-renames` and refuses a deletion or rename of any path, a host file or the pin file included. A scratch-repository harness ran the committed block over ten cases and every one behaved as expected: two must pass (one history holding a squash landing, another lane's landings, a merge of main into the arc branch and a trailered merge landing; and a bare note extension), and eight must refuse (a family edit hidden in a merge landing, a ledger edit, a deleted host file, a renamed host file, a deleted host test, a deleted pin file, a rewritten note, a changed digest).
- **The proposal said the carve manifest files `corpus_adapter_openxfactory` and `opendox_host.py`.** Neither has a row; the `ideation_dashboard` modules that stayed do.
- **openDox-code#36 landed** → `1e4a57fb`, and the packet says so.

## What openxFactory keeps

Requirement 1 says it as a refusal, not a promise: the corpus, the OpenSpec instance, **every** doc-health check family, the adapter column, the intent-plane schemas and the integration tests all stay. The measurement shows there was never much to take — at check-family granularity the tally is **0 pure TOOL, 6 BOTH, 17 CORPUS-OPS of 23: no pure-tooling family exists.** The arc **reverses a direction**; it does not relocate a boundary.

## Gate state at `19237b91` — every gate green, the membership arm included

Run on the head. It already carries main `f1c690b8`, merged in by `gh pr update-branch`, so it is the tree CI tests.

```
openspec validate add-neutral-product-standalone-operability --strict  → valid
openspec validate --all --strict            → 111 passed, 1 failed (112 items)
                                              baseline at main f1c690b: 110 / 1 of 111
                                              → +1 item, +1 passed, ZERO new failures
validate-openspec-cli-pin.py --all --no-cache → exit 0, 0 UNDISPOSITIONED failures
validate-code-surface.py .                  → passed. Membership: 31 heads naming 8 identifiers,
                                              all 8 carried by the inventory (33 rows), 0 refused
                                              (main alone: 30 heads naming 6)
validate-target-release.py .                → passed
validate-sequenced-after.py --ledger-diff   → consistent, 228 rows (main alone: 227)
proposal-support.py . verify                → ok
the three membership tests                  → 3 passed (all three failed at f3511e0 merged with main)
tasks.md falsifier blocks                   → 22 shell blocks pass `bash -n`; 23 Python heredocs parse
11.1's guard, in a scratch-repository harness → 14 of 14 cases as expected
                                              (the guard at f3511e0: 13 of 14; it refuses the openXdox pair's move)
5.3a's falsifier                            → passes at openXdox-code 626f2c8d with openDox-code 1e4a57fb
```

The three membership tests are:
- `tests/code_surface/test_code_surface_gate.py::test_corpus_code_surface_validates`
- `tests/estate_inventory/test_estate_inventory.py::test_corpus_code_surface_and_membership_validate`
- `tests/estate_inventory/test_estate_inventory.py::test_every_live_declared_identifier_is_CARRIED_by_the_inventory`

**CI at `19237b91`: all 13 checks are green.** `pytest-suite` reports 8440 passed, 6 skipped and 0 failed (its junit tally: selected 8858, passed 8852, failures 0, errors 0). At `f3511e0c` it reported 3 failed, 8436 passed and 6 skipped, and the 3 failures were exactly the three membership tests above. `2a0b95e6`, the same tree but for this round's Copilot fixes, gave the same 8440 / 6 / 0.

The single `failed` in `--all` is `add-chain-attestation`'s ratified disposition. The adjudicated gate accepts it by name, and this packet does not touch it.

**The membership gate, answered.** At `f3511e0c` the code-surface membership arm (#1119 → `5e122388`) refused `openDox-code` and `openXdox-code`. The inventory carries neither, so those three tests in the required `pytest-suite` failed on the branch merged with main. Ruling 15 names the roots instead, and the head now names `openxFactory`, `opensoft/openDox` and `opensoft/openXdox`, all three carried. Copilot's thread `4086593436` is answered with the ruling and #1150, and resolved. Copilot's review at `19237b91` lists no finding and no open thread (0 of 122 unresolved), and its one-line summary is answered in the conversation.

Task boxes: **9 `[x]`** (the measurements and rulings this packet recorded, and 5.6, ticked on the view-wiring landing), **106 `[ ]`** (the realization it proposes), **9 `[~]`** (deferred, each with a named Owner and exit condition).

**Rule 6:** this PR touches `openspec/changes/` and the README OpenSpec Records block, so it lands in a declared window — not by this actor.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Lane: openxfactory-4
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