Skip to content

Archive live factory OpenSpec change - #28

Merged
brettheap merged 2 commits into
mainfrom
feat/live-factory-final-archive
Jun 26, 2026
Merged

brettheap merged 2 commits into
mainfrom
feat/live-factory-final-archive

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Summary

  • archive the completed enable-live-openworkflow-factory OpenSpec change
  • preserve all phase evidence and merge-readiness reports under the archive
  • record final validation closeout evidence

Tests

  • OPENSPEC_TELEMETRY=0 openspec validate enable-live-openworkflow-factory --strict
  • OPENSPEC_TELEMETRY=0 openspec validate --all --strict
  • openspec archive enable-live-openworkflow-factory --skip-specs -y
  • OPENSPEC_TELEMETRY=0 openspec validate --all --strict
  • YAML parse for contracts/examples/openspec
  • git diff --check
  • python3 scripts/validate-openworkflow-contracts.py (Omnigent-Install)
  • ./scripts/smoke-live-factory-six-workstream.sh (Omnigent-Install)
  • ./scripts/smoke-no-committed-secrets.sh (Omnigent-Install)

Copilot AI review requested due to automatic review settings June 26, 2026 05:54

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap
brettheap merged commit 484042d into main Jun 26, 2026
@brettheap
brettheap deleted the feat/live-factory-final-archive branch June 26, 2026 05:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Archives the completed enable-live-openworkflow-factory OpenSpec change by preserving its proposal/design/specs, phase evidence, merge-readiness reports, and recording final validation closeout within the openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/ tree.

Changes:

  • Mark Phase 9 “Final Validation And Archive” tasks as completed in the archived task list.
  • Add archived capability specs for the live factory runtime (Hermes/Omnigent integration, worker admission, GitHub merge enforcement, and runtime flow).
  • Add archived evidence for phases 1–9 plus merge-readiness reports for PRs #19–#27, including final validation/closeout.

Reviewed changes

Copilot reviewed 3 out of 29 changed files in this pull request and generated no comments.

Show a summary per file
File Description
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/.openspec.yaml Declares the archived change metadata (schema/goal/created date).
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/README.md Adds a brief archived change synopsis and scope.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/design.md Captures the archived design/strategy and stop conditions for the change.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/proposal.md Records the archived “Why/What/Impact/Non-Goals” proposal content.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/tasks.md Marks final validation/archive checklist items as completed.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/specs/live-factory-runtime/spec.md Archives the live factory runtime capability requirements and scenarios.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/specs/hermes-omnigent-integration/spec.md Archives requirements for contract pinning and Hermes/Omnigent runtime API integration.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/specs/worker-runtime-admission/spec.md Archives requirements for worker lane registration/preflight/auth and packaging.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/specs/github-merge-enforcement/spec.md Archives requirements around PR admission, Merge Council/Merge Master, and GitHub enforcement.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/phase-1-proposal-governance.md Archives Phase 1 evidence covering sources reviewed and governance acceptance checks.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/phase-2-contract-pinning.md Archives Phase 2 evidence on install repo contract pinning/validation and stop conditions.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/phase-3-hermes-runtime-control-plane.md Archives Phase 3 evidence for Hermes control-plane persistence and API surface.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/phase-4-omnigent-worker-event-bridge.md Archives Phase 4 evidence for worker event bridge behavior and idempotency.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/phase-5-speckit-stage-control.md Archives Phase 5 evidence for Spec Kit ownership/routing and approval gating.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/phase-6-project-alfa-pilot.md Archives Phase 6 evidence for the controlled local/replay Project Alfa pilot path.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/phase-7-pr-admission-merge-council.md Archives Phase 7 evidence for PR admission gating and Merge Council readiness reporting.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/phase-7b-merge-master-human-review-router.md Archives Phase 7b evidence for Merge Master risk routing and human review resolution.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/phase-8-worker-auth-memory-operations.md Archives Phase 8 evidence for CloudPC worker packaging, auth/memory rules, and ops readiness.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/phase-9-final-validation-closeout.md Records final validation commands/results and confirms archive readiness.
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/merge-readiness-openworkflow-pr-19.md Archives merge readiness report for PR #19 (phase 1 slice).
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/merge-readiness-openworkflow-pr-20.md Archives merge readiness report for PR #20 (phase 2 slice).
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/merge-readiness-openworkflow-pr-21.md Archives merge readiness report for PR #21 (phase 3 slice).
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/merge-readiness-openworkflow-pr-22.md Archives merge readiness report for PR #22 (phase 4 slice).
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/merge-readiness-openworkflow-pr-23.md Archives merge readiness report for PR #23 (phase 5 slice).
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/merge-readiness-openworkflow-pr-24.md Archives merge readiness report for PR #24 (phase 6 slice).
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/merge-readiness-openworkflow-pr-25.md Archives merge readiness report for PR #25 (phase 7 slice).
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/merge-readiness-openworkflow-pr-26.md Archives merge readiness report for PR #26 (phase 7b slice).
openspec/changes/archive/2026-06-26-enable-live-openworkflow-factory/evidence/merge-readiness-openworkflow-pr-27.md Archives merge readiness report for PR #27 (phase 8 slice).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings June 26, 2026 05:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 29 changed files in this pull request and generated no new comments.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 55d9d8d01b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- [x] 9.2 Run contract and example syntax checks.
- [x] 9.3 Run applicable install repo smoke tests.
- [x] 9.4 Confirm all feature slices have evidence and merge readiness reports.
- [x] 9.5 Archive the OpenSpec change after approved slices complete.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Sync delta specs before completing archive

Marking the archive complete here removes the active change from openspec/changes, but the four added capability specs (live-factory-runtime, hermes-omnigent-integration, worker-runtime-admission, and github-merge-enforcement) now exist only under this archived change; there are no corresponding openspec/specs/<capability>/spec.md files in the repo. Because archived delta specs are no longer canonical inputs for future OpenSpec work, completing the archive without syncing these deltas drops the live-factory requirements from the main spec set; please sync the delta specs before closing the archive, or keep the change active until that is done.

Useful? React with 👍 / 👎.


## Known Warnings

1. External live GitHub PR mutation remains operator-enabled; the controlled pilot proof uses dry-run/replay gates.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Prove the live GitHub PR path before archiving

This warning means the closeout is archiving while the Project Alfa path is still dry-run/replay-only for external PR creation, but the change proposal requires the pilot to pass through a GitHub PR and GitHub enforcement, and the design only permits dry-run for the Merge Master approval identity. In that state, the core live-pilot acceptance criterion remains unproven; either run the operator-enabled GitHub PR path or explicitly re-scope the requirement before declaring the archive ready.

Useful? React with 👍 / 👎.

| Phase 6 Project Alfa pilot | `phase-6-project-alfa-pilot.md` | `merge-readiness-openworkflow-pr-24.md` |
| Phase 7 PR admission / Merge Council | `phase-7-pr-admission-merge-council.md` | `merge-readiness-openworkflow-pr-25.md` |
| Phase 7b Merge Master routing | `phase-7b-merge-master-human-review-router.md` | `merge-readiness-openworkflow-pr-26.md` |
| Phase 8 Worker/auth/memory/ops | `phase-8-worker-auth-memory-operations.md` | `merge-readiness-openworkflow-pr-27.md` |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Record merge readiness for the archive PR

The evidence coverage stops at the Phase 8 slice reports, and a repo-wide search for a final archive readiness report only finds PR #19-#27 reports, not one for this archive PR. Since docs/workflow-contract.md requires a recorded merge readiness report before any merge, the final archive change is missing the same gate evidence that previous archive changes recorded; please add the archive PR’s Merge Council/readiness report before closing it.

Useful? React with 👍 / 👎.

brettheap pushed a commit that referenced this pull request Jul 22, 2026
…tory PR #28)

The delta's last 5.1 case — undisposed derived possibles carrying a
non-indexed edge class — is realized by the WHEEL view-model
(wheel-model.js: inferred for undisposed/deferred, indexed for accepted,
synthesized for honesty-rule demo placeholders). At 19/20; remaining:
5.2 records through archive + first-lane-run evidence.

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…to land under the --merge rule, record the S7 residue pair at section 3.4, and register the stale corpus claim as section 8.9 residue

Section 6.3 TICKS on #1057 -> 4ccab7b, MERGED 2026-09-18T13:31:51Z, closing
add-doxchat-model-intake as re-homed to openDox under RULING Q6. The recorded
Rule 6 window is 13:31:44Z -> 13:32:00Z and the measured merge time falls inside
it, which is the check worth making on a window rather than reading it back.

This is the FIRST archive closure to land under the --merge-not-squash rule
that section 6.4 wrote into this ledger yesterday, and the rule held. Measured,
not assumed: 4ccab7b has TWO parents, which a merge produces and a squash
cannot, and the archive directory's adding commit cb147a7 is dated
2026-09-16T01:18:08Z, the same day the directory is named for, so
archive-date-vs-commit has nothing to fire on. The contrast is the proof: #1056,
squashed two days earlier under the same naming convention, put a 2026-09-18
adding commit under a 2026-09-16 directory, reddened main, and cost a
disposition row (#1106 -> bbd1cca) to clear. Same convention, same week, two
landing forms, two outcomes.

Section 3.4 gains the S7 residue pair as a STATUS record: #1085 -> 1da7ea6 at
13:29:34Z and openDox-code #28 -> 52b237e8 at 13:30:20Z. The box is already [x]
and the record does not move it. Q-L1's annotation-first rule holds again in
form, 46 seconds apart, but the holding COUNT stays at SEVEN and is explicitly
guarded against being read as an eighth: that count is one holding per ANNOTATED
SLICE, and this pair is residue to S7, whose holding is already counted.

Section 8.9 gains residue row (v), REGISTERED AND NOT RESOLVED:
validate-sequenced-after.py claims "124 of the 143" archived rows carry a later
move date; measured at this branch's merged head c2d5ce9 it is 128 of 172 (128
later + 44 equal, ledger and directories aligned 172/172). The claim lives at
FIVE sites, not the three first reported -- :36 and :396 carry the bare 143, :42
and :402 carry the pair, :739 carries 124 rows and is an argparse help string,
so it is user-visible CLI text rather than a comment.

The row records why a bare renumber is the wrong repair: the denominator moved
three times in one afternoon (170 pre-merge, 171 at #1106's head a96ecb5, 172
here) because every archive closure adds a row, while the numerator held at 128
because a closure archived on its own directory's date lands in the EQUAL
bucket. The denominator rots by construction, which is how this one reached a
drift of 29; the durable fix is to derive the figure or bind it to a named tree,
and that belongs to the next act with its own claim.

origin/main merged in now that #1106 -> bbd1cca cleared the archive-date red.
Ledger 53 [x] / 18 [ ] / 1 [~] of 72; one file; exactly four marker changes
against main (5.2a, 6.3, 6.4, 8.3). openspec validate --strict valid,
proposal-support verify ok, --ledger-diff clean (219 rows), verify-opendox-pin
OK. `--all --strict` reports one failure, add-chain-attestation, which is
INHERITED FROM MAIN and not this branch's: this branch touches no file under it,
and origin/main alone in a clean worktree reproduces the identical finding.

Refs #656 (stays OPEN). CLAIM 5728937703.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…5, § 6.1, § 6.3, § 6.4, § 6.5, § 8.3), two landing-form INCIDENTS, and six residue rows (#1104)

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

Refs #656 (stays OPEN). CLAIM [`5728937703`](#656 (comment)).

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #6 — EIGHT ticks, the rulings of 2026-09-18 encoded, two INCIDENTS registered, and six residue rows booked.**

Claimed after a clean sibling search. Branch off `main`; amendment #5 landed at `cb0f8544`. `origin/main` is merged in. **Rule 6 applies.**

**Ledger 49 `[x]` / 22 `[ ]` / 1 `[~]` of 72 → 57 / 14 / 1 of 72.** One file. **Exactly EIGHT marker changes — § 3.5, § 5.2a, § 5.5, § 6.1, § 6.3, § 6.4, § 6.5, § 8.3.** Both gitlinks untouched.

> **This description has been rewritten as the amendment grew.** It previously declared *one* tick, then *two*; each figure was superseded by evidence that landed after it was written. Copilot correctly flagged the mismatch against heads `d323b9b5` and `fe9e5e6f` — the ledger was right and the description was stale, and this is the repair. The counts above are measured at head `7ac75a4e`.

## Eight ticks

**§ 5.2a — on RULED R-A** ([`5728607038`](#656 (comment))). `repromote-engineering-vocabulary` is **RATIFIED**, filed by **#1071 → `e83f8cd7`**. The box owed an **authored id**, and `openxfactory-engineering-adapter` is authored, filed and ratified. **Its archive is not this box's condition and is not claimed as one.**
> **The ratification is on the word; its ENCODING is owed and is now registered at the box.** Copilot raised across three heads that the successor packet still reads `draft`. **Measured true**: `Status: draft` in `proposal.md`, `design.md` *and* `tasks.md`, ratification tasks **1.1–1.6 all `[ ]`**, no `review/ratification-<date>.md`. **The tick stands** — what ratifies a change here is Brett Heap's word, and a packet's headers *record* a ratification rather than perform one — **but the encoding belongs to that packet's owner under its own claim**, and this amendment must not edit a neighbouring packet's lifecycle headers on its way past.

**§ 6.4 — on #1056's closure.** **#1056 → `3e32d987`**, merged **2026-09-18T10:50:06Z**, closing `add-composed-view-authoring` as re-homed to openDox under **RULING Q6**. Its destination half, `openDox-spec` **#12 → `edeed08c`**, was byte-identity verified at both ends by amendment #5.

**§ 6.3 — on #1057's closure.** **#1057 → `4ccab7b9`**, merged **2026-09-18T13:31:51Z**, closing `add-doxchat-model-intake` as re-homed to openDox under **RULING Q6**. Recorded Rule 6 window 13:31:44Z → 13:32:00Z, and **the measured merge time falls inside it** — the check worth making on a window rather than reading it back.

**§ 8.3 — on Brett Heap's word and the live evidence** at [`5729935756`](#656 (comment)). The box names **three clauses** and the tick is decided by reading its own text, each clause on its own artifact: the shed merged (**#940 → `cc4ae9d3`**); the MAJOR cut merged and **TAGGED** (**#983 → `ce5c054e`**; annotated tag `contract-v4.0`, object **`9e6c0ae4`**, peeling to `ce5c054e` **exactly**); and the tag verified from an independently refreshed checkout — **re-derived in this lane's own clone rather than transcribed**, `verify-tag` and `verify-commit` each returning `{"findings":[],"status":"pass"}` at exit 0. **Two independent checkouts agree**, which is what the clause asks for.
> **Three readings that could pass for defects are disposed of on the page**: the tag is **unsigned**, but it is a genuine annotated tag and **all 56 `contract-v*` tags are the same unsigned annotated form**, and the box asks for *verified*, not *signed*; **`verify-promotion`'s 4 findings** are a **pre-cut gate read after the cut** per its own docstring at `release.py:1197`, so `HGR-RELEASE-TAG-EXISTS` fires by construction; and **a harness error can impersonate a tag finding** — with shallow legs `verify-tag` raises `ReleaseDependencyError` and emits **no** finding. *The failure shape is the tell: a tag defect is a `findings` entry, a leg defect is a traceback.*

**§ 5.5 — FLOOR PART 4, on the runner the ruling asked for.** **#1105 → `02967478`**, merged **2026-09-18T14:59:28Z**. The box's condition was a **gated runner, not a recorded run**, and both halves are measured present: `scripts/verify-snapshot-equivalence.py` and `tests/snapshot_equivalence/test_snapshot_equivalence.py` are the two files the commit adds, `pytest-suite` runs `python3 -m pytest tests/ -q` (`pytest-suite.yml:599`) so the suite is inside the gate **by construction** rather than by a wiring entry that could be dropped, and it **collects 60 tests** in this branch's own tree (48 before `#1110` added its watchdog suite — the figure is bound to this head, not carried). *That is exactly why Q-P1 (a) refused a one-shot run: the post-split side is a pin that moves, so what holds the equality is a gate that re-proves it every time.*
> **One STATUS clause is owed, and it is a REVIEW DEBT rather than a runner defect.** Copilot's review at the landed head `9ed3def3` (review `5249196044`) carries **four suppressed findings** the holder's gate script did not surface before landing; **`floor55b` takes them as a follow-up act**. The tick is not held on that — this box asked for a gated runner and the gated runner is on `main`, and conflating an owed review act with the box's stated condition would leave the floor's fourth part unticked for a reason the box never stated. **Second occurrence in this packet of a per-push review body going unread**, which is why the clause names the review ID.

**§ 8.2 stays `[ ]` and gains part 4's referent** — it owes one evidence line *per part* and is discharged by all four, not by the fourth.

**§ 6.1 — on #1060's closure, and it is the landing rule's first clean pass end to end.** **#1060 → `e3647b6d`**, merged **2026-09-18T17:30:27Z**, closing `add-nightly-dashboard-refresh` as re-homed to openXdox, destination `openXdox-spec` **#15 → `f088b097`**. **Both clauses of the amended rule were exercised and both held**: clause 1 — two parents, and the `2026-09-16-` directory keeps a `2026-09-16T01:28:33Z` adding commit; clause 2 — the archive-date arm re-run on **`origin/main` merged with the candidate** exits **0**, so INCIDENT 2's stacked-history trap is measured absent rather than assumed absent.
> **One item registered for the successor, not booked as residue**: the self-gate `_REHOMED_AND_STILL_WHOLE` **cannot carry a row for a PARTIAL carriage** — this closure re-authored the proposal at the destination while the `doc-health` delta deliberately did not travel. A partial-carriage pin is owed (`#1060` comment `5733632291`). It sits at § 6.1 because it is a property of *this closure's shape*, and § 6.1 is where the next partial carriage will be read from.

**§ 6.5 — on #1065's closure, the awkward one.** **#1065 → `81903286`**, merged **2026-09-18T17:54:08Z**, RULINGS **Q6 + DQ-1**. The landing rule held on both clauses again (two parents; the `2026-09-16-` directory keeps a `2026-09-16T13:29:40Z` adding commit; the arm on main-plus-candidate exits 0). **The SPLIT is what makes this box awkward and the closure names it rather than eliding it** — the set-builder half re-homes while the `doc_health.staging_seed` drafter and route stay in `openxFactory`'s own adapter, so the requirement is divided *within itself*. A re-home that moved the whole requirement would have been the easier record and the false one.

**§ 3.5 and § 3.6 take a STATUS and deliberately do NOT tick** (RULED 2026-09-18 17:55Z, `#656` comment `5734029578`): `openDox-code` **#25** and **#26** take a third mini-batch for three security items and then land on that word. The word authorizes the **landing**, and the box ticks on the landing — the same two-act ordering § 6 uses for a disposition. **Item (4), the `OPENDOX_SERVED_DATABASE` declaration, is a follow-up act under the same claim and is not in batch 3**, written into both sentences so its absence from #25/#26 is not read as an omission.

## Two INCIDENTS registered

**INCIDENT 1 — the squash (§ 6.4).** #1056 landed by **squash**, so the archive directory named `2026-09-16` took a **2026-09-18** adding commit and reddened `main`. **Measured, not taken on report**: `3e32d987` has exactly one parent. **The rule this packet now carries: archive closures land by `gh pr merge --merge`, never squash** — written into the ledger because the ledger is what the next closure's author reads.

**INCIDENT 2 — the merge (§ 6.3), and it is why the rule gained a second clause.** #1057's branch was stacked on #1056's **pre-squash** tip, so landing it by merge commit carried #1056's original archive commit **`d8ff2ec2`** (2026-09-16) into `main`'s history. The checker then reads `d8ff2ec2` rather than the squash, the directory name agrees, and **#1106's disposition row — correct when it landed — is reported STALE**. `main` went red again at `4ccab7b9`.
> **Measured**: `d8ff2ec2` is not an ancestor of `bbd1cca8` (13:28Z) but is an ancestor of `main` after `4ccab7b9` (13:32Z); it arrives through #1057's **second parent**, **not** the first-parent line. The row was correct for about four minutes, then became wrong **with no edit to it and none to the directory**.
>
> **The lesson is not that the squash was fine.** A disposition row is a statement about **which commits are reachable from `main`**, not about a directory. Squash caused INCIDENT 1 by **mis-dating**; merge caused INCIDENT 2 by **re-parenting**. So the rule **gains a second clause** rather than being withdrawn: land stacked archive closures by merge commit, **and re-run the archive-date arm on `origin/main` merged with the candidate before opening the window**. The clauses answer the incidents **one each** — clause one would not have caught INCIDENT 2, and clause two could not have caught INCIDENT 1, since the squash commit does not exist until the landing happens.

## Three rulings encoded, moving no box

**§ 5.5 — RULED Q-P1..Q-P4** ([`5728856581`](#656 (comment))), over helper actor `floor55`'s read-only measurement. **The fourth floor part already holds**, so what is owed is a **RUNNER, gated in `pytest-suite`**, not a recorded run — *because the post-split side is a pin that moves, and an equality proved once is not an equality held.* The pre-split tree is the published annotated tag **`opendox-carve-0` → `b075fd91`**, `git archive`d into a temp tree. The snapshot **validator is not part 4's** (§ D6 (4) asks for equal digests; `canonical_bytes` reaches no validator). § 4.4's profile fidelity earns **one sentence** here and one in § 8.2's line, **and moves no box**.

**§ 5.6 — RULED R-B, R-C, R-D** ([`5728607038`](#656 (comment))), over helper actor `defloor56`'s measurement, spot-checked at codexFactory `main` `22d44b09`. **R-B, the ORDER EXCEPTION**: the order this box writes is **jointly unsatisfiable** with `assert_landed_pin` for a removal, and has never been exercised because no floored path has ever been removed. **The measured cost decides it** — de-floor-first reds `openxFactory`'s **REQUIRED** `pytest-suite` repo-wide; archive-first reds only codexFactory's **ADVISORY** merge-master lane, which that spec's own design intends (*"the deleting PR carries the failure"*). **No REQUIRED check goes red at any step of the ruled order.** **R-C** reads the `SPECS_FLOOR_PATHS` clause as satisfied by the regeneration, since codexFactory #232 made the constant computed at import — **the reading is recorded, the clause is not edited**, in this packet's no-deletion style. **R-D** records the additions-only test fixed inside the de-floor PR as a test-scope correction: it asserts `removed == set()` over the live document, was **proven RED on the dry run**, and is **broader than its own canon**.

**§ 4.5a — RULED [`5728368325`](#656 (comment) `xdoxbuild`'s **seven bot commits are ACCEPTED AS DISPOSITIONED and the episode is registered as a process breach**, with the verdict-at-HEAD table (one content-reverted — it deleted the listing cache and took 801 documents from 0.07 s to 58.85 s; one finding-kept-implementation-replaced; five kept) and **the relay lag named as the cause, not the actor's judgment**. **Q-A, the dirty-work-tree reader: LEAVE AS IS** — both readers resolve HEAD over a dirty tree consistently, and a refusal would make an editor's swap file render the corpus unreadable.

## Four records

* **§ 3.4** books `openXdox-code` **#22 → `fa792cbb`** (09:53:32Z), completing the **Q7 trio**. The box is already `[x]`; the record does not move it.
* **§ 4.5a** takes its exit sentence from `openXdox-code`#23's own body **with `--dest-root` ADDED, and not as offered**. This lane measured twice — amendment #5's rounds 15 and 25 — that the runner refuses `conformance-unreadable — --dest-root is required` and **exits 2** without it. **The sentence as offered would record a passing run of a command that cannot run**, which is the defect § 4.5a spent two rounds removing.
* **§ 8.9** books the snapshot validator's **three** defects as residue rows on Q-P3: `SCHEMAS_DIR` resolving to an absent directory; `VALIDATOR_RELPATH` naming a path `openxFactory` shed at `cc4ae9d3`; and `find_validator`'s parent walk adopting an enclosing pre-shed checkout — **`floor37` § 6's defect class for the second time in this packet**, which is why it is named as a class.
* **§ 3.7** registers **Q-T1** rather than performing it: the correction is owed as one append **when that box ticks**.

## A correction that corrected itself

Q-T1 named **two** stale figures in § 3.7, and this amendment answered twice — the second answer overturning the first.

**At this branch's base** only ONE had moved: **35** `def test_` against the recorded 34, with *"five refusal codes"* still five.

**At the immutable sha `83a055a6`, BOTH have moved, and one moved while the amendment was being written**: the suite carries **79** `def test_`, and the refusal codes are **SIX** — `#1086` added **`conformance-corpus-unfaithful`**, the refusal carrying FLOOR PART 3's transposition contract. The corpus is **still 17 checks**.

*The registered paragraph predicted precisely this* — it says a test count *"is exactly the kind of figure that moves under acts with nothing to do with it"* — and was then overtaken by it inside a single amendment. **Re-measure all three at YOUR head; a count in this row is a reading, never a fact.**

**Q-T2** (list-versus-tuple `list_documents`, `5716870896`) is recorded as RULED (a): **no change, the seventeen stay closed.**

## Records that move no box

* **§ 3.4** books the **Q7 trio** (`openXdox-code` **#22 → `fa792cbb`**) and the **S7 residue pair** — **#1085 → `1da7ea6e`** (13:29:34Z) with `openDox-code` **#28 → `52b237e8`** (13:30:20Z). **Guarded explicitly**: Q-L1's annotation-first rule holds again in form, 46 s apart, but **the holding count stays SEVEN** — it counts one holding per *annotated slice*, and this is residue to S7, already counted. Counting it would restate a figure this packet has already had to correct once.
* **§ 4.5a** takes its exit sentence from `openXdox-code`#23's own body **with `--dest-root` ADDED, and not as offered**. The sentence as offered would record a passing run of a command that **cannot run**.
* **§ 3.7** registers **Q-T1** rather than performing it, owed as one append **when that box ticks**.

## Six residue rows booked, none resolved

* **(i)–(iii)** the snapshot validator's three defects on Q-P3 — `SCHEMAS_DIR` absent; `VALIDATOR_RELPATH` naming a path shed at `cc4ae9d3`; `find_validator` adopting an enclosing pre-shed checkout, **`floor37` § 6's class for the second time in this packet**.
* **(iv)** two of the **release bundle's own validators** byte-drifted against their digest set. **Not a finding against § 8.3** — clause 3 reads the *historical* commit `ce5c054e`, this drift is measured against *today's working tree*, and both are true. Also **not** the three `HGR-RELEASE-SURFACE-DRIFT` paths, so the two reports must not be collapsed.
* **(v)** `validate-sequenced-after.py` claims **"124 of the 143"**; measured at merged head `c2d5ce92` it is **128 of 172**. **The live claim lives at THREE sites** — `:42`/`:402` the pair and `:739`, an **argparse help string** and so user-visible CLI text. *This row first "corrected" three to five by adding `:36`/`:396`; that was wrong and is retracted in the ledger — both read "before it was made a gate" and are **historical evidence**, which renumbering would destroy.* **A dated claim is not a stale claim.** **A bare renumber is the wrong repair**: the denominator moved **three times in one afternoon** (170 → 171 → 172) while the numerator held at 128, because a closure archived on its own directory's date lands in the *equal* bucket. **The denominator rots by construction.**
* **(vi)** the `archive-date-vs-commit` arm is **history-shape sensitive** (INCIDENT 2 is the demonstration), owed to the owner of `tests/sequenced_after`. Two candidates, neither chosen: a **first-parent walk**, or dispositioning by the **(directory, adding commit) pair** so a displaced row reads **SUPERSEDED** rather than STALE. **Candidate (1) is measured to work on this case** — `d8ff2ec2` is not reachable along main's first-parent line — **but that is one case and not a proof of the general rule.**

## What this amendment deliberately does not do

§ 3.5, § 3.6 and § 4.5a keep their `[ ]` and wait for their own landings. **#1060, #1065 and #1066 (§ 6.1 / § 6.5 / § 6.2) are not ticked here**; their ticks are left to a later amendment unless they land before this one's window opens.

## Gates

`OPENSPEC_TELEMETRY=0 openspec validate split-opendox-two-layer-product --strict` **valid** · `proposal-support.py verify` **ok** · `validate-sequenced-after.py --ledger-diff` **clean (219 rows)** · `verify-opendox-pin.py` **OK, lockstep confirmed**.

**The gate is GREEN.** The `add-composed-view-authoring` STALE finding that reddened `main` was INCIDENT 2's, and it is retired: **#1109 → `dc242f3a`** (merged 14:26:58Z). Verified in this branch's own merged tree, not taken on report — `validate-sequenced-after.py` exits **0** with *"archive-date-vs-commit agreement passed … 13 disposition(s) in force"*, and the retired key is genuinely absent (13 live keys, none of them that one; the four remaining name-hits are all comments recording why). The corpus reconciles at **172 archived / 13 dispositioned / 159 agreeing**.

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


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]>
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