Repository navigation
Add live factory runtime OpenSpec change - #19
Merged
Merged
Conversation
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Adds a new OpenSpec change (enable-live-openworkflow-factory) to govern moving from documented “factory” workflow into a repeatable live pilot runtime, including Hermes/Omnigent integration, worker admission requirements, and GitHub merge enforcement, plus Phase 1 proposal/governance evidence.
Changes:
- Introduces Phase 1 proposal/design/tasks artifacts for the live factory runtime change.
- Adds four new capability specs covering runtime flow, Hermes↔Omnigent integration, worker admission, and GitHub merge enforcement.
- Records initial proposal/governance evidence for PR-admission readiness.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| openspec/changes/enable-live-openworkflow-factory/.openspec.yaml | Registers the new OpenSpec change with goal and creation metadata. |
| openspec/changes/enable-live-openworkflow-factory/README.md | High-level summary/positioning for the change. |
| openspec/changes/enable-live-openworkflow-factory/proposal.md | Defines scope, non-goals, impacts, and new capabilities for the live runtime phase. |
| openspec/changes/enable-live-openworkflow-factory/design.md | Describes the slice-based implementation strategy, control loop, and stop conditions. |
| openspec/changes/enable-live-openworkflow-factory/tasks.md | Tracks slice/task plan for implementing the live runtime and evidence bundles. |
| openspec/changes/enable-live-openworkflow-factory/specs/live-factory-runtime/spec.md | Requirements for end-to-end pilot flow, approval gates, and pilot risk boundary. |
| openspec/changes/enable-live-openworkflow-factory/specs/hermes-omnigent-integration/spec.md | Requirements for contract pinning, Hermes control-plane APIs, and event bridge behavior. |
| openspec/changes/enable-live-openworkflow-factory/specs/worker-runtime-admission/spec.md | Requirements for worker preflight, auth-safety, and CloudPC packaging. |
| openspec/changes/enable-live-openworkflow-factory/specs/github-merge-enforcement/spec.md | Requirements for PR admission gating, Merge Council/Merge Master behavior, and GitHub enforcement. |
| openspec/changes/enable-live-openworkflow-factory/evidence/phase-1-proposal-governance.md | Captures Phase 1 evidence for proposal/governance and validation claims. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+41
to
+45
| ## Validation | ||
|
|
||
| - `openspec validate enable-live-openworkflow-factory --strict` | ||
| - `openspec validate --all --strict` | ||
| - `git diff --check` |
| | Title | Add live factory runtime OpenSpec change | | ||
| | Base | `main` | | ||
| | Head | `feat/enable-live-openworkflow-factory` | | ||
| | Changed files | 10 | |
This was referenced Sep 3, 2026
Closed
brettheap
added a commit
that referenced
this pull request
Sep 8, 2026
…apped, consumers re-pinned, retirement landed (#213) (#803) * Tick implement-omniworker-install-repo's twelve archive-gate boxes on evidence and five named successors On Brett Heap's word of 2026-09-08 ~12:2xZ, in session, verbatim "archive implement-omniworker-install-repo", recorded on openxFactory #591; and under his ruling of 2026-09-06, verbatim "Tick on the recording". Twelve of the fifteen boxes that were open at that word close here, and each one NAMES ITS KIND rather than leaving a reader to infer it. ON THE EVIDENCE, verified with gh/git on 2026-09-08 and not copied from earlier notes. 1.2 and 7.4: docs/omniworker-naming.md has read `Status: ratified` since this change's own landing squash 76434aa, unchanged by the two 2026-09-08 amendment passes (#784 6c9e362, #789 9581ed9). 7.1: OmniWorker-Install created 2026-09-05T16:15:48Z, private, main, seed c5d0f1f6; suites green at the new location (#1 eb0c9675, #2 d617e68e) and main green through #3 33eed467, #5 54daeb3c, #6 322ee4da, #7 187d75b6; the boundary validator's planted-secret cases all caught, plus #2's control that the same bytes outside an exempt path are still flagged. 7.2: xFactory #268 2f767ac8, OpsxFactory #228 6a0d9467, CloudPC-Install #17 bba9da8a all MERGED, with 4.5 and 4.6 called out as discharged WITHOUT an edit rather than counted silently. 8.1: xFactory #274 648c8bd3, the governed admission record, separate from the pin as the requirement demands. 8.2: OpsxFactory #233 83a91c58 ratified by #235 3e4cd248. ANSWERED BY THE ACT, which is 1.3's and 7.5's substance: OQ-2 (the seam accepted and mechanized through ${OMNIWORKER_ROOT}, Omnigent-Install #217 4f82cbd8), OQ-3 (the host still checks out the orchestrator, CloudPC-Install #17), OQ-4 (root schemas/, forced by hard-coded consumer paths), OQ-8 (the archive stays whole, recorded verbatim in Omnigent-Install's docs/omniworker-split.md), OQ-10 (PRIVATE, verified live). OQ-6 and OQ-7 were already RULED and are cited to design § D5's dated amendments. ON NAMED SUCCESSORS, five issues filed at this archive, all UNCLAIMED: #794 (OQ-1 — the execution-lane-enablement runbook stayed with the orchestrator BY DEFAULT, not by decision), #795 (OQ-5 / § 8.3, the runner label), #796 (OQ-9 / § 8.4, the three enumerations), opensoft/xFactory #346 and opensoft/CloudPC-Install #19 (the two halves of § 6.3, which cannot run until Part 2 lands). 6.3's note carries the measurement that made them necessary: no post-retirement run of any of the four lanes exists, ideation-organizer-worker has NEVER run, and the cataloger's red is PRE-EXISTING. 7.6 ticks as what it is — the archive's own gate statement — with the merged-plus-green evidence summarized per repository, and with what the gate does NOT claim stated in the same breath: two successor-named operator acts and § 5.2's DISPOSED clause. NOT DONE HERE. No box's ratified requirement sentence is rewritten; the state changes and the note is appended, which is this packet's own in-place amendment convention (#704, #773). 6.1, 7.3 and 8.5 are LEFT OPEN deliberately — they turn on opensoft/Omnigent-Install #213, which is not yet merged — so `proposal-support archive` still refuses this tree with "change has incomplete tasks", by design. No archive is performed by this commit, no spec delta is promoted, no README row moves and the sweep ledger is untouched. Task 2.3 stays [~]: its owed half is Brett Heap's web act, already named twice in the packet, and it does not block the archive gate. Refs #591, #680 Lane: openxfactory-3 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013pt7yAnJ2TUhvMfxuuFujR * Close the last four boxes on Omnigent-Install #213's landing and one named successor (2.3) On Brett Heap's word of 2026-09-08 ~12:2xZ, "archive implement-omniworker-install-repo", and his word of ~12:10Z, "merge 213" — both recorded on openxFactory #591. Taken as a separate commit from the archive so proposal-support's output is the only thing in that one, which is the precedent 26c2661/3c06bf75 set. 6.1 CLOSED. Part 1 was Omnigent-Install #235 bbba916d (2026-09-07T12:12:15Z); Part 2 LANDED as Omnigent-Install #213 -> merge commit 9c9c9355 (2026-09-08T13:05:48Z, from head 6feafc2d) under a Rule 6 window, because it re-homed openspec/changes/add-worker-enrollment-broker-integration/ out of that repository. The OQ-6 hold recorded in the ratified text is SUPERSEDED by Brett's word, and the supersession is stated rather than glossed: add-worker-acr-push was byte-identical to main at the merge (tree 7bb94b12) so nothing was re-homed by side effect in that directory, but two of its four declared code_surface paths no longer exist in the repository that hosts it. The code_surface: amendment that leaves owed is design § D5's named cost of sequence (a); it is recorded on the PR and in that repository's docs/omniworker-split.md, and this packet neither performs nor discharges it. 7.3 MET ON ONE HALF, SUCCESSOR-NAMED ON THE OTHER, and the note refuses to conflate them. The retirement is merged in full (#235 + #213). The post-retirement re-run is NOT green because it has not run and could not have: § 6.3 sequences it after Part 2, which landed today. It closes on xFactory #346 and CloudPC-Install #19. 8.5 PERFORMED, and on the act that actually performed it rather than the one this box guessed. Read live at Omnigent-Install@main: the four scope items are gone and a paragraph names, links and quotes the boundary for OmniWorker-Install, doc index included. That landed in #235 bbba916d with Part 1 — a day before #213 completed the retirement — so the "if retirement is deferred" contingency never fired. 2.3 moves [~] -> [x] AS A RECORDING, NOT A DISCHARGE, on the coordinator's instruction and the tick-on-the-recording rule. Successor: #800. Its two existing OWED notes are left exactly as they stand. Three clauses of four were always done (ruleset 22342039, the two App secrets, the session-open-pr.yml mirror — that repository's only workflow). The fourth is measured in BOTH directions: the installation is repository_selection: all and a down-scoped `repositories: OmniWorker-Install` / `contents: read` token was really minted in CI (run 34041914618, re-proved 34042785728) — but authoring needs contents: write plus pull_requests: write, no run has asked for either, and all six OmniWorker-Install pull requests are authored by brettheap. Six PRs in, the route has never been exercised, which is the exact failure mode the box's last sentence names. Every one of the 40 boxes is now [x]; `openspec validate implement-omniworker-install-repo --strict` is clean through the pinned CLI. No ratified requirement sentence is rewritten anywhere in this commit. Refs #591, opensoft/Omnigent-Install#213 Lane: openxfactory-3 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013pt7yAnJ2TUhvMfxuuFujR * Archive implement-omniworker-install-repo: the OmniWorker install boundary promoted into repo-boundary-governance canon On Brett Heap's separate word of 2026-09-08 ~12:2xZ, in session, verbatim "archive implement-omniworker-install-repo", recorded and claimed on openxFactory #591. THE EVIDENCE, CITED RATHER THAN ASSERTED. The packet's front matter declares target_release: repository-bootstrap and a code surface spanning FIVE repositories, two of them operator estates, and says what that means: under release-realization it archives on merged-plus-green realization evidence and never on landing. Ratified 2026-09-05, "ratify 680 and merge 16", PR #680 at head 9186661; ratifying commit 76434aa. Per repository: OmniWorker-Install created 2026-09-05T16:15:48Z private/main/seed c5d0f1f6, copy-first in #1 eb0c9675 and #2 d617e68e, suites and boundary validator green, main green through #3 33eed467 / #5 54daeb3c / #6 322ee4da / #7 187d75b6; Omnigent-Install pinned it across twelve groups (#214 544c6319 .. #235 bbba916d), archived that packet (#237 07bdc9c3), re-pinned routinely (#246 16963099) and retired in two parts, Part 1 bbba916d and Part 2 #213 -> 9c9c9355 on Brett's "merge 213"; xFactory #268 2f767ac8 (pin) and #274 648c8bd3 (the governed admission record, a separate act as the requirement demands); OpsxFactory #228 6a0d9467 and the fleet re-attestation #233 83a91c58 ratified by #235 3e4cd248; CloudPC-Install #17 bba9da8a and #18 349d539d. PERFORMED THROUGH THE PINNED CLI, never a bare openspec archive: python3 scripts/proposal-support.py . archive implement-omniworker-install-repo --date 2026-09-08 --yes, resolving @fission-ai/[email protected] from the content-addressed pin cache, integrity verified, no registry fetch. Archived as openspec/changes/archive/2026-09-08-implement-omniworker-install-repo/. ORIGIN RETAINED fired inside the archive (declaration unchanged since the ratifying commit 76434aa) and the retention arm passed against the archived path. NO SUPPORTING DOCS: the change has no supporting-docs folder, so nothing was packaged and nothing needed to be. WHAT WAS PROMOTED, COMPARED RATHER THAN EYEBALLED. One ADDED requirement, "OmniWorker install repository boundary", appended to openspec/specs/repo-boundary-governance/spec.md: 6,391 bytes, sha256 ad04308bd63ca30de4c1566f5b0a983d2a3ef274af1ff80370b62b9a844ca80a, extracted programmatically from delta and canon and hashed identical on both sides. 90 added, 0 removed; git diff --numstat and git diff -w --numstat are identical, so 0 lines changed by whitespace and no existing requirement is touched -- in particular "Install repository scope" is left alone, which is this capability's established collision-avoidance. The capability goes 9 -> 10 requirements. No file is added under openspec/specs/, so no codexFactory floor advance is owed. THE FROZEN FILES ARE PURE RENAMES. git diff -M reports 100% similarity and 0 changed lines on .openspec.yaml, design.md, proposal.md, tasks.md and specs/repo-boundary-governance/spec.md; tasks.md's two lawful tick commits (071dbe0, 2b9625c) land BEFORE this one so they are separable from the serializer's output. The README OpenSpec Records row moves active -> archived; proposal-support does not move it. WHAT THE ARCHIVE ADMITS RATHER THAN SMOOTHS. Section 6.3's post-retirement re-run has NOT run and cannot have -- the packet sequences it after a Part 2 that landed the same day -- so 7.3 says so and it closes on xFactory #346 and CloudPC-Install #19. Section 2.3 moved [~] -> [x] as a RECORDING, not a discharge (#800). Section 5.2's pre-act emptiness confirmation stays DISPOSED, not discharged. And the OQ-6 hold was SUPERSEDED, not satisfied: add-worker-acr-push was still active in Omnigent-Install when #213 landed -- byte-identical to main at the merge, tree 7bb94b12, so nothing was re-homed by side effect -- and its code_surface: amendment is owed in that repository, not here. NOT DONE HERE: no register is edited (contracts/manifest.yaml, contracts/README.md, contracts/releases/** untouched), no release is cut, no version is allocated or reserved, no tag is pushed, no scripts/ or tests/ code moves, and the per-change sweep ledger is seeded in a FOLLOWING commit because the real pull request number does not exist until the pull request does. Refs #680, #591, opensoft/Omnigent-Install#213 Lane: openxfactory-3 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013pt7yAnJ2TUhvMfxuuFujR * Seed the sweep-ledger row for implement-omniworker-install-repo (moved by #803) Taken AFTER the pull request existed, because the real number does not exist until it does, and on the tree that already carries the merge from origin/main, so main's own new row (adopt-configured-notebook-hosting-identity, #783) is carried and only this change's row moves. before the seed: per-change sweep ledger STALE (4 findings) — this change's row plus its three derived totals (active 40 != 39, archived 143 != 144, active_sole 18 != 17) after the seed: per-change sweep ledger consistent with the corpus (184 rows) the write: "184 rows, 1 moved by #803" — one row, state active -> archived, moved_by #680 -> #803, moved_on 2026-09-05 -> 2026-09-08; no other row's provenance is touched, and `class: sole` is unchanged because the promoted requirement is shared with nothing pytest tests/sequenced_after tests/proposal-support -q -m "not postgres": 245 passed, 2 subtests passed Refs #591 Lane: openxfactory-3 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013pt7yAnJ2TUhvMfxuuFujR * The archive preface counts six successors, and names the one 8.5 actually ticks on Copilot finding, taken: the § 1 archive-amendment preface said "Five issues were filed at this archive" while the same file later records a SIXTH (#800, for task 2.3). The count is now SIX, #800 is listed, and 2.3 is named in the successor kind it belongs to — with its "recording, not a discharge" qualifier carried into the preface so the summary cannot read as a claim the App-authorship route was proved. A SECOND inconsistency of my own, in the same sentence, fixed while here: the preface grouped 8.5 with 6.1 and 7.3 as ticking on Omnigent-Install #213's merge. It does not. 8.5 ticks on #235 bbba916d — § 6.2 performed the scope link with Part 1, a day before Part 2 completed the retirement — which is what 8.5's own note says and what the live Omnigent-Install README shows. The preface now says so, and says that this corrects the box's ratified "as part of retirement" guess by note rather than by carrying it. No box's state changes and no ratified requirement sentence is touched; this is the preface's own prose. openspec validate --all --strict unchanged at 97 passed / 2 failed, the two pre-existing accepted exceptions. Refs #591 Lane: openxfactory-3 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013pt7yAnJ2TUhvMfxuuFujR --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
This was referenced Sep 12, 2026
brettheap
added a commit
that referenced
this pull request
Sep 14, 2026
…ssages still said one
Every finding is one class — `:271` joining `:25` on the conftest replica row
makes four operator-facing statements understate the row's bound. Each is
corrected where it stands, and each now says the SAME thing about what a
declared line on a replica is.
* `docs/opendox-carve-manifest.yaml` — the row's own `evidence:` (Copilot's
suppressed comment on :2415) said RULING Q-L7 (a) amended this row "to
declare ONE line" full stop, which with the new entry directly below made
the document contradict itself. The Q-L7 history is kept as history (that
amendment did declare one, and it was the first `edits:` any replica row
carried) and is now marked as the bound only UNTIL this act; the field
closes with the bound TODAY — two lines, each a permission at every replica
of this file and an obligation at none, with the measurement at both legs.
* `docs/opendox-cutover-runbook.md` § 5.6 shape table (the `:25` cell) and
the phase-B paragraph (thread 4001195101). The paragraph now states the
rule rather than one line's instance: the verifier asks ONE question of the
declared SET — `diffed` where the copy differs from the carve blob at all
and then every differing line must be declared, `unapplied` only where the
copy is byte-identical — so a leg taking one declared line and not the
other is `diffed` and lawful. The § 5.6 placement list said the same thing
a third time and is corrected with it, though no thread named it.
* `tests/carve_manifest/test_carve_manifest.py` — the docstring of the test
that ASSERTS both entries still described one line (thread 4001195126).
TWO FACTS MEASURED WHILE FIXING, not carried across: openDox-code took the
`:25` depth fix in a later declared act — its own #19, `3954d78` — so the
runbook's "takes it in a later act" is now past tense with its citation, and
leg 1's `HERE.parent.parent` is still where `ce53b489` left it; and the
conftest replica is byte-identical between `05bbde80` and openDox-code main
`8efb3cf5`, so that measurement is re-confirmed at the head S5 leg B landed.
RE-PROVEN at this head, after merging main (a80f0e3):
validate-carve-manifest.py OK, 456 rows, phase post-shed
verify-carve-arrival openxdox_code OK at c1ad341a, no scratch remedy and
no --allow-created — the two
--replica-at declarations alone
verify-carve-arrival opendox_code OK at 8efb3cf5 — the new :271
permission costs the other leg nothing
the same openxdox_code run at main FAIL arrival-undeclared-edit, naming
exactly the 26 gate_console.py lines
this branch declares
pytest -q tests/carve_manifest tests/carve_arrival tests/{opendox,openxdox}_pin
371 passed
PAIR unchanged by this round: (1584, 159) -> (1632, 159)
Refs #656 (stays OPEN). CLAIM #656 comment 5656688910.
Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap
pushed a commit
that referenced
this pull request
Sep 15, 2026
…d example had stopped running at the leg it is written for
Lane: openxfactory-4
FIVE findings at head `7f3bbdcd`, all SUPPRESSED in the body of review
`5215525905` with no thread. Three taken, two answered by measurement — and
the two answered turned out to name a real defect of their own.
TAKEN — § 2's first table and the sentence under it (`:145`, `:148`). § 2's
own paragraph says these figures "are the same measurement
`scripts/validate-carve-manifest.py` prints and
`test_carve_manifest.py::test_the_real_manifest_carries_the_ruled_q_l7_amendment`
pins ... a transcribed count is a claim, a summed one is a measurement". THAT
TEST NEVER OPENS THE RUNBOOK: it pins the manifest's own `(2366, 176)` and its
20 replica rows, which is a claim about the file, not about the sentence that
transcribes it. So the three disposition counts, the replica count, the three
per-class totals, the moved-row total and the carrier total were all
transcriptions nothing compared with the thing transcribed — the
per-destination table's defect one paragraph up, and that one rotted through
two acts. `test_the_runbook_disposition_table_and_totals_are_the_manifests_own`
reads both blocks, bounded by § 2's own two sentences and split into exactly
two paragraphs, and re-derives every cell: the dispositions against the
VALIDATOR's closed vocabulary verbatim and in order, the class list against
the landed manifest's own `edit_classes:`, and the sentence's own arithmetic
(176 carriers = 175 edited rows + the one replica that declares a line).
TAKEN — the module docstring's coverage claim (`test_verify_carve_arrival.py:40`).
It said THE FIVE TESTS after two more had joined them, and the sentence under
it named a set two smaller than the one it describes. The number is now
COUNTED from the call sites, not maintained:
`test_the_module_docstring_counts_the_tests_that_read_the_landed_manifest`.
ANSWERED — phase A (`:839`) asks for the Q-L7 `--replica-at`. It does not
belong there: the copies are what COMMIT B places (§ 5.6 is titled for it),
and a phase-A run declaring one refuses `arrival-missing`. Measured in the
leg's own history — `tests/conftest.py` and the three neutral-module copies
are absent at commit A (`8e8983d`, the re-cut merged as `ce53b489`) and all
four first appear at commit B (`749c926`). § 5.5 now says so where the
question is asked.
TAKEN, AND MORE THAN IT CLAIMED — phase B (`:872`). The finding is right and
the reason is stronger than "under-checked": the example, run against
openDox-code as it stands, REFUSES. The leg-1 exemption § 5.5 recorded ("not
re-cut ... takes the depth fix in a later declared act") EXPIRED — openDox-code
took the fix at `3954d78` (#19, 2026-09-12), on the row's own `:25` and
nothing else — so the copy's bytes are no blob at the carve commit and the
byte-identity admission can no longer see it. Ran with the example's own other
flags against `c7a216c7`: without the flag `arrival-undeclared-file` at
`tests/conftest.py`; with it, `OK ... 4 of 4 declared replica(s) verified`. The
flag is in the example, the figures move with it (`84` -> `85`, `3 of 3` ->
`4 of 4`), and § 5.5's stale sentence now records the act that expired it.
AND THE TEST NOW MOVES WITH THE EXAMPLE'S OWN COMMAND LINE. A `--replica-at`
whose ROW declares lines is a declared-edit row at phase B — `check_replicas`
adds it to the moved rows' counter — so the phase-B expectation is derived as
this leg's `moved_with_declared_edit` count PLUS one per such flag, and every
line-declaring replica row must be declared by the example (§ 5.6's "which
BOTH `-code` legs owe"). That second pin is the one that catches the defect
itself: with the flag absent AND the figures matching, the composed line
agreed with the runbook while the invocation had stopped running.
PROVED, one change at a time (`round11/mutation-proofs.txt`):
| mutation | result |
| --- | --- |
| `moved_verbatim` 143 -> 144 | 1 failed |
| `path constants` 206 -> 207 | 1 failed |
| the replica count 20 -> 19 | 1 failed |
| the "one of them declares a line" clause dropped | 1 failed |
| a fourth disposition row | 1 failed |
| 176 carriers -> 177 | 1 failed |
| the pre-round-11 phase-B example (3 flags, 84, `3 of 3`) | 1 failed |
| the conftest flag dropped, the 85 left alone | 1 failed |
| the module docstring back to FIVE | 1 failed |
| the docstring's second count left at five | 1 failed |
`pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance
tests/opendox_pin tests/openxdox_pin` -> 414 passed (412 + these two tests).
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 15, 2026
…seventeen conversions, 782 declared lines (#1030) Lane: openxfactory-4 Refs #656 (stays OPEN). RULED Q1/Q2/Q7 at #656 comment 5648049748, alongside 5648044785 and 5648065587 with the counterpart-Q6 correction at 5649094228 — Brett Heap, 2026-09-12, by interactive multi-choice. CLAIM: #656 comment 5649148461. The openxFactory half RULING Q-L1 requires of § 3.4 slice S7 — the row annotation that lands BEFORE its one leg PR (opensoft/openDox-code#21, `build/s7-parameterize-class-c`). S7 is a ONE-LEG act: the files that render a word ARE the served bundle, and the served bundle arrives at openDox-code, so unlike S5 there is no openXdox-code half. Cut off `main` at #1023 (S5, `ee251d6c`) and merged forward three times since, last to `8944758c`, each merge clean. THE LARGEST DECLARED-EDIT WINDOW ANY ACT HAS OPENED ON THIS FILE: 48 entries, 782 lines, 33 rows, every one of them `opendox_code`, and SEVENTEEN of the 33 convert moved_verbatim → moved_with_declared_edit. "Parameterize class C" edits every file in the served bundle because every one of them rendered a word. Every line number is a CARVE-COMMIT line (`b075fd91…`, `opendox-carve-0`), re-derived at the leg's final head by the arrival verifier's own opcode walk over the carve blobs and never transcribed; every class is one of RULING OQ-1's three — `import rewrites` 14, `path constants` 4, `adapter calls` 764. THREE ADMISSIONS, each `since` its file's OWN introducing commit (`git log --diff-filter=A`) and not the leg branch's tip: `src/opendox/display_profile.py` and `src/opendox/web/views/display.js` at `80b1f3bc` — the DISPLAY facet's server and client halves, introduced by ONE commit because neither means anything without the other — and `tests/test_display_facet.py` at `372a04da`, the suite that holds the two against each other. The aggregate pair is re-derived by SUMMING the applied manifest, never carried forward: declared edit LINES 1584 → 2366 over 159 → 176 rows carrying `edits:`; moved_verbatim 160 → 143, moved_with_declared_edit 158 → 175, not_moved 138 unchanged; `import rewrites` 708 → 722, `path constants` 202 → 206, `adapter calls` 674 → 1438. The documents that carry those totals as ABSOLUTES move in the same commit. THREE GAPS THE WIP HAD LEFT OPEN, closed here rather than after landing: * THE WINDOW HAD NO ASSERTION. `S7_WINDOW`/`S7_CONVERTED` were declared and the amendment test's comment pointed at a test "below" that did not exist. Written: disposition, destination and LAST entries of all 33 rows, the 17 conversions asserted to carry S7's entries and no others, the window totals summed, and the four arrived suites named. * THE RUNBOOK § 2 PER-DESTINATION TABLE WAS STALE IN TWO CELLS, not one. The table was last current at `880c821c`; slice S5 moved BOTH `opendox_code` (53/70|727 → 52/71|874) and `openxdox_code` (9/83|659 → 9/83|674) and moved neither cell. S7 moves `opendox_code` again to 35/88|1656 and corrects `openxdox_code` to 674 in the same act, because the correction IS the measurement. `test_the_runbook_per_destination_table_is_the_manifests_own_sum` now re-derives every numeric cell from the manifest's own rows, and the one-replica-line invariant with them. * THE MANIFEST HEADER CARRIED NO S7 MOVEMENT-LOG PARAGRAPH, where S3/S6/S4 each append one. Appended in the established form. Verified at this head against a PRISTINE checkout of the leg's final head (openDox-code#21 @ `c7a216c`), nothing transcribed: `validate-carve-manifest.py` OK — 456 rows at `b075fd91`, 143/175/138, 318 digests, 456 files none undeclared, 4 RE-DESTINED. `verify-carve-arrival.py --destination opendox_code --phase B` OK — 119 rows arrived, 35 digests verified, 84 declared-edit rows within their lines, 149 files with NONE undeclared, 4 re-destined AWAY and VERIFIED VACATED, 21 declared admissions used and 0 unused. An INDEPENDENT re-implementation of the verifier's opcode walk finds 0 undeclared lines at the leg; run against the leg's PREVIOUS head it answers 32 rows / 714 lines, the payload measured there, which cross-validates both derivations. `pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance tests/opendox_pin tests/openxdox_pin` → 414 passed. Copilot reviewed this branch at every head it was pushed to. ALL SEVEN THREADS and every suppressed body comment are fixed — none answered away — and each fix was PROVED against the defect it refuses before it was trusted: * the § 2 provenance paragraph still dated the totals to the S3 annotation and named S2/S6/S4 but neither S5 nor S7 — rewritten CURRENT-TO-S7, the enumeration completed, and it now states that the list is closed so the next act amends a current list rather than one two acts stale; * the three S7 admissions were the FIRST bump to land with no exact path+`since` pin — pinned in a SIXTH-BUMP block, plus one assertion that the two DISPLAY halves still share one `since` (proved: swapping a valid 40-hex, and dropping an entry, each now fail); * THE RUNBOOK-TABLE PARSER DECIDED WHAT THE CHECK COVERED, five ways over five rounds, and every one of them is a FAILURE now instead of a way past the check: a table naming a destination TWICE kept only the last row while every numeric sum read the survivor (proved with the stale `880c821c` row inserted above the current one); a block whose extent was a heuristic, so an interior blank line — and then a row that had LOST ITS LEADING `|` — moved the boundary above a row nothing then read (the block is bounded by § 2's own two sentences now); a line `match()` skipped rather than `fullmatch`ed; a key grammar NARROWER than the validator's own `^[a-z][a-z0-9_]*$`, which would have refused a destination the manifest accepts; and the one PROSE cell — `opendox_root`'s empty-root marker — read by its FIRST WORD, so `none — stale` claimed the empty walk and passed every numeric check (pinned whole now, proved); * A MISSING DOCUMENT WAS A BRANCH RATHER THAN A FAILURE, in both carve suites. The runbook's absence made the § 2 invariant vacuous exactly when § 2 disappeared; and `if not manifest.is_file(): assert True; return` — where `assert True` REPORTS A PASS, the same green bar these modules refuse a `pytest.skip` for — turned FIVE pins on the landed manifest into no-ops in `tests/carve_manifest/` and four more in `tests/carve_arrival/`, where a fifth asserted the verifier's APOLOGY ("the manifest could not be read") instead of its answer. Both suites read the document through `the_landed_manifest()` now, where absence is a named failure; the two real seats keep their branches because the absence is their subject — the validator's `NO MANIFEST` line and the verifier's `NO DESTINATION` line, each asserted rather than skipped. Proved with the manifest moved aside: five green passes become five failures in each module; * A COUNT OF A COLLAPSED OR REPEATING COLLECTION IS NOT A COUNT OF WHAT WAS DECLARED, three times over: `len(S7_CONVERTED) == 17` plus a subset check is true of a list where one conversion is OMITTED and another path appears TWICE (seventeen DISTINCT paths are now required — proved by dropping `views/wheel-model.js` and duplicating `views/model.js`); `len(S7_WINDOW) == 33` counted the SURVIVORS of a dict literal's collapse, the duplicate being invisible to every other assertion (the 33 keys are read off the literal's own source with `ast` now — all distinct, and the same set the imported table carries); and a line declared TWICE inside one row kept the 782 and the 2366 intact while one really edited line went undeclared, to be refused at the DESTINATION an act later (both figures now require a row's declared lines to be distinct — proved with `test_doc_surfaces.py`'s last S7 line replaced by a duplicate of its first, in the manifest and the table alike). * THE § 5.5 WORKED EXAMPLE TOLD AN OPERATOR TO EXPECT A RUN THIS MANIFEST CANNOT PRODUCE. Its two `# expect exit 0:` comments were written when the runbook landed (`a970fd9d`) and never touched again: phase A still expected `123 row(s) arrived` after RULED Q6 re-destined four of `opendox_code`'s rows AWAY — this act's own § 2 paragraph says 119 — and phase B expected `62 edited row(s), declared-lines-only`, a phrase NEITHER SCRIPT CONTAINS, so no run could be compared with it at all. Both are re-measured and pinned the way § 2's table is, one section down: `test_the_runbook_phase_examples_are_the_arrival_the_manifest_produces` takes every number from the landed manifest through `rows_for()` — the EFFECTIVE arrival, which is what a run places — and COMPOSES the words with the verifier's own `_print_ok`, the runbook's `…` elisions and its one `<origin/main>` placeholder its only wildcards. The note beneath the example rested on a premise false since BUILD slice 2 — that `opendox_code`'s admissions block "is `created: []`", which THIS act adds three more entries to — restated as what actually keeps its ad-hoc `--allow-created` flags correct (neither `pytest.ini` nor `conftest.py` is among the paths declared) and read against the landed admissions file, so the note's own predicted expiry is a failing test rather than a sentence nobody re-reads. Proved six ways, one change at a time: the pre-round-10 runbook, the declared-edit figure, the old wording, a `--replica-at` dropped with the `3 of 3` line left alone, a comment moved above the command's own lines, and `pytest.ini` declared in the admissions file. * § 2's OWN TOTALS WERE TRANSCRIPTIONS, AND THE WORKED EXAMPLE HAD STOPPED RUNNING AT THE LEG IT IS WRITTEN FOR (five suppressed comments in one review, no threads). § 2's paragraph says its figures "are the same measurement `validate-carve-manifest.py` prints and `test_carve_manifest.py` pins" — and that test never opens the runbook: it pins the MANIFEST's `(2366, 176)` and its 20 replica rows, a claim about the file and not about the sentence that transcribes it. So `143 / 175 / 138`, the `20`, `722 / 206 / 1438`, `318` and `176` were transcriptions nothing compared with what they transcribe — the per-destination table's defect one paragraph up. Both blocks are read now, bounded by § 2's own two sentences and split into exactly two paragraphs, and every cell is re-derived: the dispositions against the VALIDATOR's closed vocabulary verbatim and in order, the class list against the manifest's own `edit_classes:`, and the sentence's own arithmetic (176 carriers = 175 edited rows + the one replica that declares a line). THE PHASE-B EXAMPLE'S MISSING Q-L7 REPLICA was not under-checking but a REFUSAL: § 5.5's exemption ("leg 1 … takes the depth fix in a later declared act") EXPIRED when openDox-code took it at `3954d78` (#19, 2026-09-12), so the copy's bytes are no blob at the carve commit and an undeclared copy is `arrival-undeclared-file` — run both ways against `c7a216c7` to prove it. The flag is in the example, `84` → `85` and `3 of 3` → `4 of 4` move with it, and the test derives the phase-B figure from the example's OWN command line (this leg's edited rows plus one per line-declaring flag) and requires every line-declaring replica row to be declared there. Phase A takes no such flag and the runbook now says why, measured in the leg's own history: the copies are absent at commit A (`8e8983d`) and first appear at commit B (`749c926`). And the module docstring's "THE FIVE TESTS" — six by then, seven now — is COUNTED from the call sites with `ast` rather than maintained by hand. Proved ten ways, one change at a time. OWED AND REGISTERED, not absorbed: RULED Q7's CSS EXTRACTION stays open exactly where #1023 left it — this act renames the four `--st-*` tokens by role IN PLACE and moves no stylesheet block — and `views/viewer.js:262`'s `doc.stage` pill is a boundary-note amendment, not a declared edit. Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 15, 2026
…thirteen rows, one admission, and the resolved-identity reading of to != from (#1025) Lane: openxfactory-4 Refs #656 (stays OPEN). RULED Q-L1 binds every § 3.4 slice (#656 comment 5642758731); the FORM is the Q-L1 form ruled at 5628560136. RULED 2026-09-13 at #656 comment 5656343213 (Brett Heap, by interactive multi-choice), both rulings this slice stands on. CLAIM: #656 comment 5649985838. The openxFactory half RULING Q-L1 requires of § 3.4 slice S8 — the row annotation that lands BEFORE its two leg PRs (opensoft/openXdox-code#19, the shed half; opensoft/openDox-code#23, the receive half). Stacked behind #1023 (slice S5's annotation) and the S7 annotation, both merged in here. NO RE-DESTINATION, AND THAT IS A MEASUREMENT. The slice is "re-home the 48 test files and un-narrow validate", and § 6 Q6 built the re_destined: form directly for it. An ast walk of every module-level Import/ImportFrom in the 23 mis-pointed files at openxdox_code says the inference holds for NONE of them: every one imports a real openxdox module, and RULED OQ-G's TEST HOMES rule places a mixed file there for exactly that reason. RULED at 5656343213 — "the path constant moves, the file does not": S8 re-points 44 of the 46 ROOT SPELLINGS across 31 files through the PIN, re-homes 0 files, and this annotation carries 0 re_destined: rows. Two of the 46 are correct as they stand and are named rather than skipped — tests/test_gate_console.py:58 (S5 leg A places gate.js at that leg) and tests/tools/playwright-smoke.py:282 (a tool, outside validate's list) — re-derived at landing against c1ad341a and 080dcfcd, reproducing openDox-spec#11's second-instrument table exactly; #19's body records the correction and the two figures it does NOT restate. § 5's S8 row and § 1.2(d)'s inference do not stand as written; boundary-note amendment #3 rewrites them and re-measures 48 → 43, and this PR owes it the measurement, which its § 1 table carries. FOURTEEN DECLARED ENTRIES OVER THIRTEEN ROWS, FORTY LINES, every one class path constants — 11 at opendox_code and 29 at openxdox_code; tests/ideation-dashboard/test_doxbench_mutation_boundary.py is the row carrying two, because the second corrects the first. No disposition converts, no row becomes a carrier, no referent digest moves, and S8's own re_destined count is 0. The aggregate moves as a DELTA ON SLICE S7, the act this branch landed on: 2366 + 40 = 2406 declared edit lines over 176 rows — import rewrites 722, path constants 206 -> 246, adapter calls 1438 — re-derived by test_the_real_manifest_carries_the_ruled_q_l7_amendment, which SUMS the merged document instead of quoting either act. Each act states a delta and no act restates an absolute; that one test is where the absolutes live, which is why this merge could not transcribe a figure from either side. TWO SEMANTIC COLLISIONS WITH SLICE S7 THAT GIT REPORTS AS CLEAN, found by rehearsing the merge rather than by discovering it live. (a) S7's new window pin read its thirty-three-row run as each row's TAIL; S8 annotates THREE of those rows (test_bullseye_widget.py, test_doxbench_view.py, test_outline_model.py), so S8's entry displaces S7's run by one and the tail read fails on a manifest in which nothing is wrong. Amended here as a declared amendment: the run is pinned WHERE IT LIES and required to occur EXACTLY ONCE, which keeps every claim the tail made and drops only "is last" - a property belonging to whichever slice annotated a row most recently and to no slice permanently. (b) both acts wrote "AMENDED A SIXTH TIME" into the arrival tool's admissions docstring; in landing order S7 is the sixth and S8 the SEVENTH, so both are kept and ours is re-numbered. ONE ADMISSION. openxdox_code gains tests/opendox_bundle.py — a CREATED file (RULED OQ-C), resolving Path(opendox.__file__).parent / "web", the resolution slice S5 already landed at that leg in tests/test_gate_loop_probes.py::_opendox_bundle, building RULED Q5's COMPOSED root for the four suites that assert across the seam. THE RESOLVED-IDENTITY READING OF to != from, the follow-up registered at #1011's landing, discharged here. to and from are compared on their resolved (repository, leg) bodies rather than as KEYS, in both tools, held equal across them by test_both_tools_resolve_a_destination_key_identically. A destinations: key is a LABEL, never a referent — check_shape deliberately admits two keys sharing one {repository, leg} body — so an ALIAS PAIR passed the one check that is supposed to guarantee a re-destination MOVES the file, and produced a document unsatisfiable at the destination. Seven new tests, both sides of the discriminator. Three Copilot rounds each found one more reader comparing KEYS where the rest of the tool compares resolved bodies: also_replicated_to, the governed admissions selection, and carved_reach.source() (fixed on main by #1023 and merged here). RESIDUE REGISTERED, NOT DISCHARGED: (1) the retired: row form — the carve floor cannot say an ARRIVED row's file is withdrawn at its leg; RULED the NEXT carve-floor act. (2) the retirement of the three intent-feed suites (openDox-code tests/test_intent_tray_dom.py and tests/test_wheel_verbs_dom.py; openXdox-code tests/test_staging_workbench.py's ending replay) as a declared act citing OQ-F — it cannot be written until (1) exists. (3) boundary-note amendment #3 at openDox-spec. (4) carved_reach shed_relpath() and shed_commit_object(), which still read raw destination/destination_path; measured unreached by any live row. EVIDENCE, RE-DERIVED AT a94e20f AND NOT TRANSCRIBED: pair (2406, 176); import rewrites 722 + path constants 246 + adapter calls 1438 = 2406; dispositions 143 / 175 / 138 over 456 rows; 318 moved; 20 replicas; 4 re_destined, all slice S5's; runbook per-destination 1667 / 26 / 703 / 9 summing to 2405 plus the one replica line naming no destination = 2406. scripts/validate-carve-manifest.py OK; pytest -q tests/carve_manifest tests/carve_arrival -> 281 passed. Plain gate: pytest-suite run 35035839896 SUCCESS at a94e20f, with clearing-dispatch-gate, lane-line, merge-master-approval, openreposhape-pin, openspec-cli-pin, wallet-validation, release-tag-gate and signed-execution-chain-gate all SUCCESS (SonarCloud advisory); 7 threads / 0 unresolved. Rule 6 does not apply: this PR's file list is nine files, none under openspec/changes/, and its only README hunk is the doc-index line for the cutover runbook, not the OpenSpec Records block. Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 16, 2026
…ot filled, and the Q-L1 ordinal corrected with them The two acts this amendment deliberately waited on have merged, so § 3.4's last four fill slots are filled IN PLACE, each value read from the merged pull request itself: S8 annotation openxFactory #1025 → e589645 2026-09-15T23:50:29Z S8 leg A openXdox-code #19 → 0a0265f7e53a1db30a0f51deb556231c2001285f 2026-09-16T01:11:37Z S8 leg B openDox-code #23 → 0b4e8bbf68fabfcd65d4f0d80e619c20a013e888 2026-09-16T01:23:16Z the note's #3 openDox-spec #11 → 54e910735b97b326d05250100104b3af07d3f5ae 2026-09-16T13:24:51Z The STATUS paragraph goes SEVEN of the eight → ALL EIGHT, which is what it said it would do: the tick is written for the state this pull request lands INTO. The Q-L1 ordinal is CORRECTED here and not merely filled. The draft called S8's holding "an EIGHTH" and S7's "a seventh", which cannot both be true — a Copilot finding on openDox-spec #11, taken there at its fix round 18. One holding per ANNOTATED slice in landing order (S2, S3, S6, S4, S5, S7, S8) makes S7's the SIXTH and S8's the SEVENTH of seven, S1 being the one slice correctly exempt; one per annotation→leg pairing makes them the eighth and the ninth and tenth of ten. All seventeen merge clocks were re-read from their pull requests: the annotation is first at every slice and every pairing, so the ordering fact is untouched — only the count was wrong. Re-verified at this head: openspec validate --strict valid; proposal-support verify ok; boxes 40 ticked / 31 open, unmoved, because a filled placeholder is not a tick; grep "FILL AT LANDING" returns one line, :894, the STATUS paragraph quoting the marker inside its own dated record of what it used to say. Refs #656 (stays OPEN). Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 16, 2026
…c, amend the packet figure, and account for 4.1's residue (#1035) Amendment #3 of `split-opendox-two-layer-product`'s `tasks.md` — the third in the series (#991 → `1f068646`, #1005 → `a72f0a76`). Claim: `#656` comment `5656686020`. TWO BOXES, and no other line of the file is touched. **§ 3.4 — INVENT the front-end package boundary — is TICKED**, judged met at this amendment's own landing rather than at its authoring: the boundary was INVENTED as `openDox-spec` `docs/front-end-package-boundary.md` (landed `#8` → `a44ac06d`, amended `#9` → `61866d29`, `#10` → `7d12428c`, and `#11` → `54e910735b97b326d05250100104b3af07d3f5ae`, this arc's last act, merged 2026-09-16T13:24:51Z) and REALIZED in an eight-slice arc, every leg pull request paired under RULED Q-L1 with the openxFactory row annotation that lands FIRST — only S1 has none, correctly, because it creates files and edits no carved row. The slice table carries all three pull requests and merge shas per slice, **ALL EIGHT rows now final**: S7 and S8 were placeholders when this amendment was authored and each was filled IN PLACE at its own landing — S7 (`#1030` → `b3a75537`, `#21` → `1e469713`, the SIXTH holding, by 71 seconds) and S8 (`#1025` → `e5896455`, `#19` → `0a0265f7`, `#23` → `0b4e8bbf`, the SEVENTH and last — one per ANNOTATED slice, S1 alone exempt; ten by annotation→leg pairing, all ordered right, the two ordinals corrected at openDox-spec #11's fix round 18). Named with the arc, each its own claim and none a condition of the box: RULED Q6's `re_destined:` row form (`#1011` → `880c821c`), the `retired:` row form with the retirement of the three intent-feed suites under it, and the pin lockstep that carries the landings into the aggregation (`#1054` → `3c614d34`). **THE PACKET FIGURE IS AMENDED HERE**, where the boundary note defers it — *"a packet figure is amended in the packet"*. This box's own *"40 files, 30,410 lines"* is a design-time reading no tree in the arc reproduces: the carve commit `b075fd91` held 43 blobs / 31,068 lines (41 hand-authored / 31,066), and `views/intent-feed.js` (483 lines) did not travel — RULED `not_moved` under OQ-F — which leaves **40 files** on the nose and **30,583** lines, so the packet's line count is **173** short of what arrived and **656** short of what the carve held. The FILE count was right all along, and the table's last row — openDox-code `main` `0b4e8bbf` at 42 blobs / 31,955 lines, 40 hand-authored / 31,953, read at this amendment's own landing — is the CHECK that the arc ended where `#21`'s head said it would. Four further occurrences in the packet's LIVE documents are named and NOT edited, because a ratified document is amended by the act that claims it; a fifth, in `review/ratification-2026-09-05.md`, is named as a RECORD no later act amends. **§ 4.1's residue is accounted for down to the last import, and the box STAYS OPEN.** All 23 of `design.md` § D3's inventoried outbound `doc_health` imports now have a position — 12 at openXdox-code, 5 at openDox-code, 1 RULED to stay at openxFactory, and **5 DISCHARGED at the § 2 seam before the carve ever ran**, which the carve commit itself proves: `scripts/ideation_dashboard/` carried 21 sites there, and 12 + 4 + 1 + 1 = 18 = 23 − 5, 18 + 3 = 21, closing both ways. What the seam discharged is the outbound import SITE and not the dependency: the `authoring` pair's now sits behind the § 2.2a seam at `scripts/corpus_adapter_openxfactory/home.py`:59, which is lawful and is the whole of DQ-1. The § 3.4 arc moved none of them. **What the arc did NOT close is named**, so no later reader takes the tick for more than it is: the fifth class-A tail's realization, `views/lens.js`'s standing `?`, the FULL un-narrowing both legs still wait on, the THREE floor acts (RULED Q6's `re_destined:` form and the pin lockstep, both landed, and the `retired:` row form, which is not), and the packet's own README entry — overtaken, not corrected here, and cited by its sentence rather than by a line number, because the README OpenSpec Records block moves under every archival act. FOURTEEN fix rounds are recorded in the pull-request description, every one of them from a Copilot finding and every one accurate; rounds 6 to 12 are corrections this amendment made to text an earlier round of its own had added, and rounds 13 and 14 go back to the accounting the draft itself carried. They run: a residue clause that named four citations and listed a different four; both `STATUS —` headers dated `2026-09-14` flat while the paragraph they head records landings of 2026-09-15 and 09-16 (labelled AUTHORING SNAPSHOTS rather than re-dated, so no reader loses which statements predate the slices they record) and a slice count the arc had overtaken; a packet-figure table that stopped at a head the arc had passed; a re-verification claim that named no re-run (re-run at the final heads, every count unchanged, one line number moved and named) and a box with two incompatible exit conditions; four precision defects in rounds 6 to 8's own text; and at round 10 five more — a miscount of the review history itself, a merge clock the sentence promised and did not give (openDox-spec `#11` at 13:24:51Z), an item counting two floor acts where the paragraph above it names three, and two claims wider than the measurement under them; and at round 11 an instrument this amendment's own prose had broken — the fifth-occurrence paragraph's "greps for 30,410 and finds five", where a grep of the packet now returns TWELVE lines (seven of them this file's own), so the grep is named with its SCOPE and the twelve decomposed, the five it counts being every occurrence outside the box's own text. Every figure re-derived from the trees at the head that carries it, never re-read from the draft. One review finding is ANSWERED AND REGISTERED rather than taken: the packet's README OpenSpec Records entry is not corrected here, and the file now names the precedent for correcting one in place — `add-declared-former-id`'s entry, amended by lane `openxfactory-1` at its own realization landing on Brett Heap's word of 2026-09-15 ("Amend the row in #1041", `#1003` comment `5686628685`) — which is exactly why it is not taken here: that is its own act, on its own ruling and its own claim, landing on the one block a Rule 6 window exists to serialize. Round 12 closes the series on the review that recommended approval anyway: the authoring-snapshot parenthetical still claimed a clock for EACH act it dates, and it dates twelve while carrying four — the claim is now what it measures (dates for the arc; a clock only where the ordering turns on one; every other clock beside its own act; S1, S3, S4, S5 and S6 named as date-only), because narrowing a claim is not the same as measuring it. Round 13 then measured three of § 4.1's own draft statements against the trees: `scripts/ideation_dashboard/` is NINE `.py` modules plus the `web/` directory (ten `git ls-tree` entries), not "10 files"; the DISCHARGED row's `serve` cell cited the SURVIVING `doc_health.corpus.RealGit` reach at the carve's `serve.py`:618 as if it evidenced a discharge, and named openDox-code's own `from opendox import consumer_reach` beside it, which is not a `doc_health` site at all (the carve file does not contain the string) — both corrected, the row's 5 and the box's 23 unchanged; and "either module is openxFactory" now names the two candidate homes rather than implying them. Every number § 4.1 states survived its own re-measurement; what moved is which line each number is attached to. Round 14 took three more: the pin-lockstep paragraph cited § 5.1 as describing the two-pin invariant when § 5.1, ticked under RULING F, says openxFactory declares only its direct upstreams and closes "No contracts/opendox-pin.yaml and no second gitlink exist anywhere in the tree" — a sentence the TREE has since overtaken (measured at `main` `b1df95ee`: that pin file exists with its own `commit:` and `git ls-tree -r` returns four gitlinks, openDox among them), so the citation now names § 4.2 alone and § 5.1's staleness is REGISTERED for the act that claims that box rather than corrected inside this landing; `__init__.py`:32 is a forwarding wrapper importing `.home` on the call at `:39`, not a re-export, and the lateness is the § 2.2a seam's own point; and round 13's "travels to the leg" is measured — `src/opendox/serve.py` arrived at openDox-code with the Tranche-B adoption commit `30c6baf`, not in the arc, which moved only its line number, so "the § 3.4 arc moved none of them" stands. Box count 40 ticked / 31 open — a filled placeholder is not a tick. REGISTERED FOR AMENDMENT #4 (#1058, open and stacked on this branch), answered on #1035 and not carried here: § 5.1's stale "No contracts/opendox-pin.yaml and no second gitlink exist anywhere in the tree", measured false at `main` `b1df95ee` (that pin file exists with its own `commit:`; `git ls-tree -r` returns four gitlinks, openDox among them) and ALREADY RULED by R-5 (Brett Heap, 2026-09-16, #656 comment 5690428146: "§ 5.1's 'no second gitlink exists' is stale for the same reason and takes the same amendment"), whose own consequences line names amendment #4 as the carrier - so no new claim is needed. This amendment corrects what it wrote and registers what it does not claim, which is the division it applies to design.md, to proposal.md and to the packet's README entry. Gate at 18e33d3: fifteen check-runs, every one completed success or skipped (pytest-suite run 104881522133), threads 8 of 8 resolved, and Copilot fifteen review rounds - fourteen taken as fix rounds, the last two findings measured false and answered on the pull request. Landed under the Rule 6 window opened 2026-09-16T16:44:21Z, with --admin on the lane precedent of #1011, #1020, #1021 and #1023. Refs #656 (stays OPEN). Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 17, 2026
…the opendox dependency bump (#1084) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Refs #656 (stays OPEN). CLAIM: 5699629088. Third and final leg of pin lockstep #3, after opensoft/openDox#9 -> c4c5014d and opensoft/openXdox#11 -> 88a1047e. Precedent #1054 -> 3c614d3 (lockstep #2, LANDED note 5689609863): two gitlinks, two pin YAMLs, one test literal. openDox gitlink + contracts/opendox-pin.yaml 3819625e -> c4c5014d digests.tree_sha256 40c6216c -> f7b9b023 openXdox gitlink + contracts/openxdox-pin.yaml a6500141 -> 88a1047e digests.tree_sha256 47a420da -> cdbe7573 tests/openxdox_pin/test_openxdox_pin_verifier.py (the lockstep literal) 3819625e -> c4c5014d WHAT THE TWO ADVANCES CARRY. openDox 3819625e -> c4c5014d moves `code` 1e469713 -> 0b4e8bbf: S 3.4 slice S8 leg B (openDox-code#23), six pre-carve path constants repaired, that leg's validate list 10 -> 27 files and 283 -> 694 tests. openXdox a6500141 -> 88a1047e moves `code` c1ad341a -> 2529c10a, crossing TWO landings because lockstep #2 stopped at c1ad341a deliberately, before #19 existed: S 3.4 slice S8 leg A (openXdox-code#19 - 44 of the 46 root spellings across 31 files read openDox's bundle through the PIN instead of a directory that leg does not have) and the `opendox` dependency bump (openXdox-code#21 -> 2529c10a, LANDED note 5714326926 - pyproject.toml pins openDox-code 0b4e8bbf; that leg's validate reads 360 passed / 6 skipped at its landed head, of which the bump alone is 317 / 6 and the rest is the 43 direct tests of the PEP 610 provenance guard its thirty review rounds asked for). THIS IS THE LOCKSTEP THAT CLOSES THE LOOP THE LAST ONE LEFT OPEN. Copilot's suppressed finding on #1054 was that the pinned openXdox code declared an `opendox` OLDER than the lockstep contract named, so that leg's materialization assertions SKIPPED rather than ran. It is answered here by the object pinned, not by prose: openXdox-code's pyproject.toml now names the same 0b4e8bbf that contracts/opendox-pin.yaml reaches through the openDox assembly. THE MIGRATION DECLARATION is a CHAIN ADVANCE, not a schema change, and the sentinel was RE-MEASURED rather than assumed: `git ls-tree -r 0b4e8bbf | grep -i migration` on openDox-code's own checkout returns nothing, so `not_yet_deployed` still holds. The sentence now names 0b4e8bbf under c4c5014d, keeping 1e469713 under 3819625e, 05bbde80 under 7cf6c143 and a99eba03 under 8ec3036c as the chain (#1020's shape, carried by #1054). THE CONSUMER SURFACE, and the baseline it is read against. This branch was cut from main at a93d268, and main's OWN pytest-suite run at that exact commit - 35219872882 - concluded SUCCESS (2026-09-17T12:13Z). That is the baseline the runbook requires before any red here is called a regression. Measured at the head: scripts/verify-opendox-pin.py and scripts/verify-openxdox-pin.py both OK, with the cross-repository lockstep confirmed; pytest tests/opendox_pin tests/openxdox_pin -q -> 105 passed; validate-carve-manifest.py OK (456 rows, 143/175/138, 318 digests recomputed, none undeclared, 4 RE-DESTINED by RULED Q6); and the whole consumer surface lockstep #2 needed three review rounds to clear - tests/carve_manifest, tests/carve_arrival, tests/carve_conformance, tests/opendox_pin, tests/openxdox_pin - 481 passed at the same pin values. TWO CONSUMER FILES MOVED, and they are prose rather than behaviour: scripts/profile_openxfactory.py::_display_facet and tests/test_engineering_profile_display_facet.py described 1e469713 as the code leg this repository pins, which this commit makes stale. Both now name the CHAIN - 1e469713 is where the live import path became possible, 0b4e8bbf is the leg pinned now - each live claim re-measured in the pinned checkout's own object store (git ls-tree -r 0b4e8bbf names src/opendox/display_profile.py with normalize_display at :445, and src/opendox/view_extension.py with host_profile_name). Copilot's review of 268a6fe found them; that test file reads 16 passed after the edit. The openspec/changes tasks.md hits on the same sha are slice S7's record and are deliberately left alone. NOT DONE HERE, by name. (1) opensoft/openXdox's own contracts/opendox-pin.yaml MIGRATION DECLARATION still says "checked at da8aae96, the commit this root's own code pin currently names" while that root's code pin is 2529c10a. It is a COMMENT no verifier reads - check 5 reads that blob's commit: field, which is c4c5014d and which the verifier confirms in lockstep - and it was already stale at the previous pin a6500141 (root code c1ad341a), so this act neither introduced it nor is the first to carry it; correcting it needs an openXdox root PR and a re-pin, which is a fourth leg mid-lockstep for a comment. REGISTERED for the declared act on that file. (2) The xFactory aggregation re-sync - four sites in one commit - becomes owed the moment this lands and Brett admin-lands it under RULING R-5 (#656 comment 5690428146). (3) openXdox-code README.md:40-43's "validate runs only the scaffold's shape assertions" is stale since slice S8 and still owed to a later declared act. GATE EVIDENCE, MEASURED AT THE LANDED HEAD 96f52cc: ALL ELEVEN checks SUCCESS - pytest-suite (run 35222985270), lane-line, clearing-dispatch-gate, former-id-arrival-gate, merge-master-approval, openreposhape-pin, openspec-cli-pin, openxdox-consumer-gate, release-tag-gate, signed-execution-chain-gate and wallet-validation. pytest-suite's own floor line reads `floors: selected>=7050 (margin 1074) passed>=7044 (margin 1074) skipped==6` - CHARACTER-FOR-CHARACTER the line main's own run 35219872882 printed at the base commit a93d268, which is the baseline this branch is read against. Copilot's review 5235818601 at this head: "Approval recommended - No unresolved review issues remain", files reviewed 7/7, comments generated 0, with NO suppressed-comments section; 0 review threads / 0 unresolved. The one round this pull request took is recorded in its description. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 24, 2026
…d → 069fe471, with its two consumers (RULED 5815412869 C3) (#1157) Lane: openxfactory-4 **C3 PR 4 of 4**, on RULED `5815412869` (Brett Heap, `#656`, 2026-09-24: *"ratify #1144, land the follow-ons, (a) on C1–C5"*), claimed at `5815613524`. Landing word: *"land the C1, C3 and C4 PRs when green"*. The holder lands this PR. I do not merge it. The upstream order held: 1. openxFactory #1153 declared the § 8.9 residue window (`1d14fee6`). 2. openXdox-code #28 landed the fix (`e28930bf`). 3. openXdox #19 re-pinned the root's code leg to it (`069fe471`). This PR moves openxFactory's openXdox pin to that root, and fixes the two consumers the new locator makes due. ## The pin: runbook § 3, one commit This follows `docs/openxdox-pin-resync-runbook.md` § 3 (#1154, not yet landed), step by step. | What | Before | After | | --- | --- | --- | | `openXdox` gitlink | `2f3f857d…c925` | `069fe471f2ef5d23ea4461c0e0abd9f2768b6a31` | | `contracts/openxdox-pin.yaml` :109 `commit:` | `2f3f857d…c925` | `069fe471…6a31` | | `contracts/openxdox-pin.yaml` :127 `tree_sha256` | `149dc2cd…d1c5` | `3ad15b727b78c5b9815a89e2e0713312534657bb44f2db625bbe5bf0c29f3b48` | - **Step 3**, the `&&` chain, printed `OK: openXdox is checked out at NEW_SHA, which is on its main`. - **Step 4**: the digest is the same computed three ways: - the runbook's own command; - `scripts/verify-openxdox-pin.py`'s `tree_digest`; - openXdox's `scripts/repo_shape.py` `tree_digest_from_gh`, read from the forge. - **Step 5**: only those two lines changed. The file stays at 154 lines. The lines other documents cite (`:76-79`, `:92-94`, `:106-108`, `:119-121`) are byte-identical to main. No line names `2f3f857d` any more. - **§ 4**: `openXdox@069fe471 derives openDox dc7aa08fe48c8d17b596b0daa1ce87cdc0472aca; this repository pins dc7aa08fe48c8d17b596b0daa1ce87cdc0472aca`. The two agree, so the openDox side does not move. - **Both verifiers**, from HEAD: - `OK openxdox-pin verified: openXdox@069fe471…, gitlink read from HEAD, … (3ad15b72…)`; - `OK opendox-pin verified: openDox@dc7aa08f…, … lockstep with openXdox confirmed`. ## The consumers From openXdox-code `e28930bf`, `snapshot.find_validator` no longer walks up (split-opendox-two-layer-product § 8.9 residue (iii)). It answers only for the product's own validator. A start outside the product's tree answers None. - **`scripts/ideation_dashboard/nightly_lane.py`.** The lane asked `find_validator(agg_root)`. That call can now never find anything. It was already finding nothing: the § 5.2 shed (`cc4ae9d3`) deleted the file the old walk looked for. At main, `run_lane` with no `validator=` skips with `pinned openxFactory validator not found (openxFactory/scripts/validate-ideation-dashboard-contracts.py under <agg>)`. I measured that over the real corpus at `1d14fee6`. - The default is now `_pinned_validator()`. That is the product's own validator, composed with its schemas by `doxbench_contracts._composed_validator`, as `delegated_semantic_validation` already does. Run in place from the code leg, it exits 2 (`… contracts/schemas carries none of the family's 10 schemas`), so composing it is required. - The skip reason and the `--validator` help now name the product tree. - **`tests/ideation-dashboard/test_dashboard_source_seal.py`.** `test_the_sealed_layout_is_the_one_find_validator_walks_up_to` asserted the walk. It is replaced by `test_the_confined_locator_never_adopts_the_sealed_validator`, which runs the real locator over a real sealed tree and checks three things: - the seal still carries the validator where the child's verify step looks; - the locator never adopts it, from the corpus root or from its own directory; - passed explicitly, the sealed copy is the one that runs. - **`tests/ideation-dashboard/test_nightly_lane.py`**, two new tests: - `test_the_default_validator_is_the_products_own_never_an_enclosing_copy`: with no `validator=`, the lane publishes. A decoy validator that rejects everything sits exactly where the old walk looked, and it is never adopted. - `test_a_product_without_its_validator_skips_naming_the_product_tree`. Each one fails against the code it replaces. I measured that by mutation: reverting line 261 to `find_validator(agg_root)` fails the first; restoring the old skip message fails the second. ## Gates The kit replicates every PR-triggered gate from `.github/workflows/*.yml`. It ran over `ffcc6bbf`, beside `main` `1d14fee6` in a second full clone. Both clones are named `openxFactory`. | gate | `main` `1d14fee6` | this PR | | --- | --- | --- | | both verifiers | `OK … openXdox@2f3f857d …`, `OK … openDox@dc7aa08f …` | `OK … openXdox@069fe471 … (3ad15b72…)`, `OK … openDox@dc7aa08f … lockstep with openXdox confirmed` | | the other validator steps the PR gates run | 11, all rc 0 (the arrival gate needs a range, so it runs on the branch only) | 12, all rc 0 | | consumer gate: pin suites | 105 / 105 / 0, 4 named verdicts passed | same | | consumer gate: ideation | 1137 / 1137 / 0, named verdict passed | 1139 / 1139 / 0, named verdict passed | | `pytest-suite`, local | 8440 passed, 6 skipped, 1 failed | 8442 passed, 6 skipped, 1 failed | | doc-health `--single-repo --as-of 2026-09-24` | 31 critical, 25 error, 52 warning, 20 info | 31 critical, **26** error, 52 warning, 20 info | - **No test changed outcome.** The per-test junit diff shows only the one test replaced and the three added, all named above. - **The local `pytest-suite` failure is not this PR's.** It is `test_validator_cli::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]`, and it fails identically at `main`. - **CI is green.** All twelve checks pass at `ffcc6bbf`, `pytest-suite` and `openxdox-consumer-gate` included. - **The doc-health +1 comes from this bump, and it is expected.** It is a `release-inventory-drift` error: `scripts/validate-ideation-dashboard-contracts.py` bytes differ from the digest `contract-v4.0` records. - The inventory records `39b8aca7…`, which is the validator at openXdox-code `626f2c8d`. - The pinned leg now carries `12b54185…`, which is #28's residue fix. - Three errors of the same class already stand at `main`: `catalog.py`, `release.py` and `validate-hermes-runtime-contracts.py`. - The checker's own remedy is the next release cut, never a hand-edit of an inventory. ## Copilot The review at `ffcc6bbf` reads 🔵 *"The dependency pin and validator behavior changes warrant final human verification"*, with **Findings: None** and no thread. ## Scope - **Rule 6: no landing window.** This PR touches neither `openspec/changes/` nor the README OpenSpec Records block. - **It shares `contracts/openxdox-pin.yaml` with #1154, on different lines.** This PR edits `:109` and `:127`; #1154 edits `:152-153`. Whichever lands second merges main in. - **Task 7.3.** This does not discharge `add-neutral-product-standalone-operability` task 7.3. Phase 2 revisits `test_a_start_outside_the_product_is_refused_not_walked`. ## Not changed here: found while doing it - **The refresh lane's seal is broken in real life, and has been since `cc4ae9d3`.** `dashboard_refresh_lane.py` refuses any seal that lacks `scripts/validate-ideation-dashboard-contracts.py` (`:1221-1230`, and verify at `:1380`). openxFactory `main` has not carried that file since the shed. Its rationale comment (`:850`) also still says the locator walks up. That code belongs to another lane (`add-nightly-dashboard-refresh`, archived), so it is reported here rather than changed. - **The real corpus renders a snapshot the pinned validator rejects.** At both `1d14fee6` and this head, the result is the same: 3 × `snapshot-dangling-cluster-ref`, where possibles reference `cl-plane-1` (defined at `ideation/cross-reference.yaml:8646`). So, once the aggregation re-pins, the nightly lane will skip with `snapshot rejected by the pinned validator: … 3 error(s)` instead of `validator not found`. The new reason is the true one. - **Four comments still describe the walk:** - `scripts/ideation_dashboard/human_seen.py:54` and `:346` ("mirroring `snapshot.find_validator`"); - `scripts/ideation_dashboard/doxbench_contracts.py:412`; - residue items 2 and 3 in `scripts/verify-snapshot-equivalence.py`'s docstring (`:112-119`); - openDox-code `src/opendox/cli.py:273`'s `_locate_validator`, at openDox `dc7aa08f`. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
Plan Phase
Phase 1: Create The Runtime OpenSpec Change