Skip to content

docs(governance): approve SOPS ciphertext pattern - #34

Merged
brettheap merged 2 commits into
mainfrom
feat/sops-ciphertext-governance
Jul 19, 2026
Merged

brettheap merged 2 commits into
mainfrom
feat/sops-ciphertext-governance

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Summary

  • classify policy-compliant SOPS AES-256-GCM ciphertext as non-raw credential material
  • approve SOPS plus externally custodied per-environment keys as a provider pattern
  • record xFactory QA as the first realization with 1Password custody

Validation

  • markdown diff check passed
  • no private age identity present

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

Copilot AI review requested due to automatic review settings July 19, 2026 20:39

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

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

Updates the xFactory credential governance documentation to explicitly approve a policy-compliant SOPS ciphertext storage pattern (with externally custodied per-environment keys) as non-raw credential material, and records the first approved realization for QA.

Changes:

  • Adds a ratified ruling defining when SOPS AES-256-GCM ciphertext in Git is not considered a raw credential.
  • Documents required controls (repo policy, external key custody, per-environment recipients, and rotation expectations on key exposure).
  • Records xFactory QA as the first approved realization and states environment key separation requirements.

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

Comment on lines +49 to +51
Base64-encoded Kubernetes Secret values, ad hoc encrypted blobs without SOPS
metadata/MAC, a private age identity, and any value decryptable without the
approved external identity remain raw credentials and are prohibited.
Comment on lines +55 to +56
the uncommitted `flux-system/sops-age` Secret. Production MUST use a different
recipient and custody item; environment keys may not be reused.

@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: 349704e440

ℹ️ 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".

Comment thread docs/credential-access-model.md Outdated

### 1.1 Ratified SOPS ciphertext ruling

Ratified by Brett Heap on 2026-07-19 for xFactory GitOps installations:

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 Route the SOPS ruling through the ratified lifecycle

When downstream GitOps installs treat this SOPS exception as approved policy, this line conflicts with the repository lifecycle contract: docs/document-lifecycle.md says draft means “not yet ratified” and ratified content is backed by an approved OpenSpec change with the document header naming it. Because this file still has Status: draft and this commit adds no OpenSpec provenance, status-driven governance/health consumers will continue to classify the exception as unratified while the prose tells operators it is approved; either land it via a ratified OpenSpec/header update or leave the wording as draft intent.

Useful? React with 👍 / 👎.

The SOPS ciphertext ruling (ratified by Brett Heap 2026-07-19) now has a
durable OpenSpec change: credential-contracts delta with the pattern
requirement and rejection/rotation scenarios, ad-hoc origin provenance,
doc-only realization axis (code_surface: none). §1.1 cites the change as
its ratification record; README lists it. Strict-validated (32/32).

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings July 19, 2026 21:16
@brettheap

Copy link
Copy Markdown
Contributor Author

Converted to a proper OpenSpec record at d578981: new change add-sops-ciphertext-ruling (credential-contracts delta + ad-hoc origin citing Brett's 2026-07-19 ratification, code_surface: none doc-only). §1.1 of the access model now carries a recorded-by citation, and the change is listed in the README OpenSpec Records block. openspec validate --all --strict: 32/32. Merging this PR = landing the ruling; the change then archives per its task 1.5, promoting the delta into openspec/specs/credential-contracts/.

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 6 out of 6 changed files in this pull request and generated 2 comments.

Comment on lines +47 to +49
Under these constraints, **SOPS plus the externally custodied decryption key**
is an approved secret-provider pattern. Git is only the authenticated
ciphertext store; it is not the custodian of the credential or private key.
Comment thread README.md
Comment on lines +182 to +184
and is an approved secret-provider pattern for GitOps repositories
(ciphertext-only repos, pre-commit plaintext rejection, rotation of key
and credentials on exposure); first realization is xFactory QA
@sonarqubecloud

Copy link
Copy Markdown

@brettheap
brettheap merged commit c9dd404 into main Jul 19, 2026
2 checks passed
@brettheap
brettheap deleted the feat/sops-ciphertext-governance branch July 19, 2026 21:38
brettheap added a commit that referenced this pull request Jul 19, 2026
…ling

Archive add-sops-ciphertext-ruling (post-#34 landing)
brettheap added a commit that referenced this pull request Sep 22, 2026
…ures are corrected; the openDox-code hygiene arc's two landings are recorded where the register lives

ZERO marker changes, still — measured against the NEW main `aaddda66`: the
`^- \[.\]` lines are byte-identical in text and in order, 67 [x] / 3 [ ] /
2 [~] of 72.

§ 5.1 — STEP 2 LANDED WHILE THIS AMENDMENT WAS OPEN, so the in-flight sentences
are superseded and KEPT with their clock (measured 00:36Z, landed thirty-six
minutes later). `openxFactory` #1134 → `aaddda666165655a60abc1720f271e2e967e3bdc`,
`mergedAt` 2026-09-22T01:12:58Z: the same six files, both gitlinks at `dc7aa08f`
and `646f1dc0`.

THREE HANDED FIGURES CORRECTED, because this lane measures what it is handed.
(1) The clock is `mergedAt` 01:12:58Z and the commit's own committer date
01:12:57Z, not 01:13:04Z — the seconds change no gate, the FIELD is what the
record names. (2) The landing FORM is a SQUASH: the commit carries ONE parent
and its subject ends in the `(#1134)` suffix GitHub's squash writes, not the
two-parent merge commit the assembly-root pin landings took. (3) The head that
landed is `a28d68a6`, not the `ca2c8a82` this box measured at 00:36Z — which is
why the in-flight record names a head AND a measuring time.

ONE NARRATIVE DEFECT IN #1134's OWN BODY IS REGISTERED AND NOT FIXED (another
actor's text; no sha turns on it): it says the openXdox target is "one commit
past xdox-v1.0", and measured it is TWO. It is the IDENTICAL off-by-one this
amendment corrected at § 8.7, reached independently on the other side of the
same landing — the argument for recording defect classes and not only defects.

§ 8.7 — STEP 3 RE-MEASURED AT 01:17Z, after step 2 landed: still not opened.
xFactory now carries six open pull requests and the new one is #477, the
ceremony-history DOCS follow-up § 5.6 already registered, not the sync.

§ 3.6 — THE HYGIENE ARC HAS LANDED TWICE and neither landing moves the box, at
the box that already carries its register. `openDox-code` #33 → `1d4ac83c`
(2026-09-19T02:29:06Z) and #34 → `f8a1eced` (2026-09-22T01:07:19Z, a squash).
The triple is measured rather than reported: 1114/1111/3 at
`.github/workflows/validate.yml`:2128 with MIN_SELECTED/MIN_PASSED at :2136-2137,
where #33 read 1109/1106/3 and the root-pinned `d816cf06` reads 1099/1096/3. And
the reason neither touches an obligation is verified, not asserted: the openDox
assembly root still pins `code` at `d816cf06`, and `f8a1eced` is ahead_by 2,
behind_by 0 of it. Clock correction owed to the report: #34 was handed as
01:07:26Z; both fields that exist read 01:07:19Z.

`openspec validate split-opendox-two-layer-product --strict` valid ·
`proposal-support.py . verify` ok · `validate-sequenced-after.py . --ledger-diff`
clean (222 rows).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 22, 2026
…e forced order is complete, and § 4.2's registered obligation discharges inside this amendment

ZERO marker changes, still: 67 [x] / 3 [ ] / 2 [~] of 72, `^- \[.\]` lines
byte-identical to main's in text and in order. This round folds landings the
holder sent while the amendment was open; the Copilot finding budget stays
closed at round 5.

§ 8.7 — STEP 3 LANDED and the forced order at `#656` `5767733963` IS COMPLETE.
`opensoft/xFactory` #478 → `1385f380117f54f1e266e239a9e467e730ce3f29`, `mergedAt`
2026-09-22T01:33:07Z, a MERGE COMMIT (two parents). The three pointers are read
AT that commit rather than from its title: openxFactory → `aaddda66`, openDox →
`dc7aa08f`, openXdox → `646f1dc0`. So the equality this box's own line checks
holds again for BOTH legs — STEP 1 broke it by design and STEP 3 restores it,
which is what makes the order forced rather than preferred.

FOUR FILES IS NOT A BREACH OF #474's TWO-FILE INVARIANT — IT IS A DIFFERENT SYNC.
#474 was the openxFactory-POINTER sync (that gitlink plus the clearing PIN); this
is the THREE-POINTER sync, so its shape is three gitlinks plus that same PIN, and
#474's pair moves here too for #474's own reason.

THE WHOLE ORDER IN ONE LINE: STEP 1 openXdox #15 → `646f1dc0` (21:51:39Z) ·
STEP 2 openxFactory #1134 → `aaddda66` (01:12:58Z) · STEP 3 xFactory #478 →
`1385f380` (01:33:07Z).

§§ 5.1 AND 4.2 — BOTH HALVES OF THE HEADER AMENDMENT HAVE LANDED, so round 2's
"NEITHER pin file carries the amended header on a landed commit" is superseded
and kept with its clock. The openXdox half is `opensoft/openXdox` #16 →
`7194c06ca456d1675e32e890b4acf640b14bfc60`, `mergedAt` 01:33:20Z, a squash, ONE
file. MEASURED IN THE LANDED BYTES rather than taken from the title: it cites the
ruling `5768144952` twice and no longer contains the trigger sentence at all,
while `commit:` still reads `dc7aa08f` — the header moved, the referent did not.
§ 4.2's obligation was registered as owed at 00:45Z and discharged at 01:33Z,
inside one amendment, and both are recorded: a ledger that records only what is
still outstanding cannot be used to check what was.

A CLOCK PATTERN WORTH MORE THAN ITS FOUR FIGURES: #1134 handed 01:13:04Z /
measured 01:12:58Z; openDox-code #34 handed 01:07:26Z / 01:07:19Z; #478 handed
01:33:14Z / 01:33:07Z; openXdox #16 handed 01:33:28Z / 01:33:20Z. Four reports,
every one six to eight seconds fast — a systematic offset, not four slips, and it
changes no gate. This packet names the FIELD beside every clock precisely so an
offset like that is visible.

`openspec validate split-opendox-two-layer-product --strict` valid ·
`proposal-support.py . verify` ok · `validate-sequenced-after.py . --ledger-diff`
clean (222 rows).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 22, 2026
…is qualified, the pin-shape ruling is recorded at the box that owns the direct pins, and STEP 2's openXdox target is corrected (#1135)

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

Refs #656 (stays OPEN).

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #11 — a small pre-archive amendment: one registered citation qualified, one ruling recorded at the box that owns its object, and one figure corrected where two boxes of amendment #10 disagreed.**

Branched from the landed `main` at **`6b298a1e`**. **Ledger 67 `[x]` / 3 `[ ]` / 2 `[~]` of 72 BEFORE and AFTER — ZERO marker changes**, verified rather than asserted: the file's `^- \[.\]` lines are **byte-identical to `main`'s in text and in order** (`diff` empty). One file, **+133 / −2**; the two deletions are the two lines the § 8.4 citation is repaired in. The three still open are §§ **5.6, 8.4, 8.9**; §§ 7.3 and 7.4 hold their `[~]`. Rule 6 applies.

> **Nothing here ticks anything, and that is the shape of the act.** Two of the three items were REGISTERED at amendment #10's head and deliberately not pushed; this is the amendment that carries them, which is the half of "register it" that makes registering honest.

## § 8.4 — the `assert_landed_pin` citation is qualified IN PLACE (`#656` `5768299637`)

Copilot's finding at amendment #10's head `525fe5b2` — LOW, *"Unresolvable citation path for assert_landed_pin"* — **was correct**. § 8.4 cited `specs_floor_block.py::assert_landed_pin` bare, and **no file of that name exists anywhere in `openxFactory`**: the function is codexFactory's, and this same document already qualifies it properly at § 5.6.

Folded **verbatim in the words Brett Heap wrote out for this amendment**: codexFactory's `scripts/merge_master/specs_floor_block.py::assert_landed_pin`.

**It is repaired in place rather than kept-and-superseded, and the rule is the packet's own**: a bookkeeping amendment fixes stale or under-qualified **COORDINATES** — § 7.3's locator took exactly this treatment at amendment #10 — and does not re-word what ratification was over. *The rule's words are unchanged; only the path that finds it is.*

**Why it waited one amendment, written into the box so the delay does not read as neglect**: the finding under-qualifies a citation in a box that **does not tick** — § 8.4 is one of the three still `[ ]` — so it falsified no tick and no evidence line, and this lane moves a reviewed head only for a finding showing that a **tick is wrong**. Six pushes had already re-run that gate. *The cost of that rule is exactly this: a true finding waits one amendment, and it is carried in writing so that waiting cannot become losing.*

## § 5.1 — the PIN SHAPE is ruled, and it lands at the box that owns the direct pins (`#656` `5768144952`)

**RULED 2026-09-21T22:03:33Z by Brett Heap, verbatim *"(b) for the pin shape, keep going"***, answering the RULING NEEDED at `5768088579`.

**`files:` and `pinned_by_commit_only:` stay DEFERRED in BOTH direct pins**, on the ONE-LINK-UP precedent this chain already runs on and which `scripts/verify-openxdox-pin.py` reached first: the whole-tree `sorted-ls-tree-r-v1` digest addresses **every byte** of the pinned root, so no member can be undeclared and none can be added or altered without changing the referent. It discharges the completeness obligation those two lists exist to serve, and discharges it **more strongly** than an enumeration; the legs the digested artifacts sit in are themselves pinned by commit **and** digest by their assembly root. *An enumeration here would add a second, weaker statement of one fact — and a second statement is a thing that can drift.*

**The trigger the header set for itself DID fire, and the ruling answers it rather than avoids it.** The revisit condition is the first commit whose pinned manifest carries a non-empty `entries:` row:

| measured | |
| --- | --- |
| commit | openDox **`dc7aa08f`** (the commit `dox-v1.0` tags), 2026-09-21 |
| manifest | `contract_bundle_version: dox-v1.0`, **3** entries |
| the three | `xfactory-workbench-chat-turn`, `xfactory-workbench-model-catalog`, `ideation-workbench` |
| where they live | `contracts/schemas/…` in `opensoft/openDox-spec` at **`8fe8c4c7`**, digested per file |

So **the revisit is recorded DONE with the digest reading as its resolution**, and the trigger sentence — *"that artifact then moves into a `files:` list here"* — is **amended rather than left standing contradicted**. *Two recorded readings in this family disagreed, and a ruling that leaves both in the tree leaves the next reader to pick one; that is why the amendment is written into the pin FILE, beside the sentence it supersedes, and not only onto the issue.*

**Why § 5.1 and not § 4.2**: the ruling is about the shape of a **DIRECT** pin, and the two direct pins `openxFactory` declares — `contracts/openxdox-pin.yaml` and, since RULED **Q7**, `contracts/opendox-pin.yaml` — are § 5.1's own object, with the two gitlinks they move with. § 4.2 owns openXdox's pin of openDox, one link further down the same chain, and takes its own record.

**The marker does not move.** § 5.1 is `[x]` on `#917` → `edf0e24f`, and a later advance of a pin it already ticked on does not re-open it.

## § 4.2 — the judgment stands and its FIRST REASON does not

The recorded hand-act judgment — that the per-file `sha256` and `pinned_by_commit_only:` lists are both empty — rested on **two** reasons, and the first has expired: openDox's manifest no longer reads `contract_bundle_version: none` with `entries: []`. The same ruling **keeps the judgment on its second reason**, the whole-tree digest.

**What this box now OWES, registered and not discharged**: `openXdox/contracts/opendox-pin.yaml` still carries the **un-amended trigger sentence** at openXdox `main` **`646f1dc0`**. The identical header amendment the `openxFactory` side takes inside STEP 2's own pull request is owed here in a small follow-up by the same actor after STEP 3. *Named at the box that owns the FILE, because an obligation recorded only where it was ruled is an obligation the file's next reader never meets — and the ruling's own words state the gap (the claim posted as `5767868394` was an earlier draft that lacked this finding) rather than closing it quietly.*

**The tick is undisturbed**: § 4.2 ticked on the file's **fields** at openXdox root `eca0b597` — product, source repository, an assembly-root `commit:`, `revision_kind`, the `sorted-ls-tree-r-v1` digest and the RULED ASK-1 migration triple — and a later advance of the `commit:` removes none of them. *A pin that moves is a pin that works.*

## § 8.7 — STEP 2's openXdox target is corrected, `2073e3a9` → `646f1dc0`

Amendment #10's AGGREGATION-SIDE RECORD A2 wrote step 2 as *"`openDox` → `dc7aa08f`, `openXdox` → `2073e3a9`"*, while **§ 4.6 of the same amendment wrote `646f1dc0`**. `646f1dc0` is right, and the gap between the two commits is the whole of STEP 1:

- `2073e3a9` is the commit **`xdox-v1.0`** tags, and its `contracts/opendox-pin.yaml` still pins openDox at `c4c5014d`;
- `openxFactory`'s `scripts/verify-opendox-pin.py` enforces a **LOCKSTEP** — its own direct openDox `commit:` must equal the `commit:` read from `openXdox/contracts/opendox-pin.yaml` at the pinned gitlink — so pinning `dox-v1.0` and `2073e3a9` together is **REFUSED**;
- `openXdox` **`#15` → `646f1dc0`** is the act that makes step 2 possible, and `openxFactory` **#1134** moves the `openXdox` gitlink to `646f1dc0` exactly.

**The sentence above the correction is kept**, because it is the reading the claim was written under. *The forced order at `#656` `5767733963` names its own openXdox target as **X**, a variable step 1 resolves; that record resolved it from the TAG instead of from the LANDING, which is the one substitution the order forbids.*

## STEP 2 and STEP 3 are recorded as POSITIONS, not landings

| step | state, measured at the forge | recorded at |
| --- | --- | --- |
| **2** — `openxFactory`'s nested leg-advance | **#1134**, `change/advance-nested-opendox-openxdox-legs`, head **`ca2c8a82`**, DRAFT, base `main`. **Six files**: both pin files (`commit:` + `digests.tree_sha256`), the `openDox` gitlink `c4c5014d → dc7aa08f`, the `openXdox` gitlink `88a1047e → 646f1dc0`, and both verifiers' tests. It carries the `openxFactory` half of the pin-shape amendment **in the same landing as the pin it amends**. | § 5.1 |
| **3** — the aggregation three-pointer sync (claim `5767572080`) | **has not opened**: `opensoft/xFactory`'s five open pull requests at 00:40Z are #396, #160, #22, #21, #5, none a pointer sync. | § 8.7 |

**Amendment #12 carries both shas.** This amendment records the act, its object and its head, and refuses to record a merge that has not happened — the same standard §§ 3.8/4.6 held to for their tags.

## What is deliberately NOT in this amendment

**The landings of 2026-09-21 that arrived after amendment #10's head are already in the file** — checked against `origin/main` rather than assumed: `openXdox` **#15 → `646f1dc0`** is recorded at § 4.6 (`#656` `5768022822`) and the **fourth MIGRATION_PIN ceremony**, `xFactory` **#475 → `c88d1fdd`**, at § 5.6 with its four gates (`#656` `5768064136`). Amendment #10 carried both; re-recording them would be a duplicate, not a record.

**#1131's own landing is carried by the ledger count alone** — this amendment IS that record.

## Copilot round 1 — TWO FACT findings, both right, both taken as fixes (head `22b9af23`)

**Finding `r4067623184` (MEDIUM) — *"Empty pin resolution omits required per-file hashes"* — is right in the delta, and the amendment's prose was wrong to read as settled.** Measured in this packet's OWN ratified `neutral-product-pin` MODIFIED requirement:

| `specs/neutral-product-pin/spec.md` | what it says |
| --- | --- |
| **`:87-100`** | the **SOURCE-TREE** clause: the pin *"SHALL carry the product's COMMIT, its `revision_kind`, a per-file `sha256` for every artifact the product's own manifest digests per file, and `pinned_by_commit_only:` for every artifact the product content-addresses by commit alone"* |
| **`:102-121`** | the one-digest-addresses-every-byte reasoning **is in the requirement** — and it is scoped to *"WHERE THE PRODUCT IS DISTRIBUTED AS A PUBLISHED, CONTENT-ADDRESSED ARTIFACT RATHER THAN AS A SOURCE TREE"* |
| **`:123-138`** | the runtime clause **this packet itself added**: the deployment declaration *"SHALL NOT be read as permission to skip the digests — commit and per-file `sha256` remain the trusted referent exactly as for a file-read pin"* |

**openDox is pinned as a SOURCE TREE, by commit**, so `dc7aa08f`'s three per-file entries make that obligation **non-vacuous for the first time** — exactly what the pin header's own trigger anticipated.

**SETTLED and NOT SETTLED are now stated separately in the box.** Settled: what the two pin FILES carry today — Brett's word at `5768144952`, already executed. Not settled: whether the source-tree clause is discharged by a whole-tree digest — **normative text**, therefore a spec-delta-class act, on the disposition RULED `5700622683` gave § 7.1's scenario-4 defect and § 7.3 records for its own ratified trigger phrase: registered, owed from an act that CLAIMS the delta, never repaired by a bookkeeping amendment.

> **RULING NEEDED** (registered in the box, not left on a pull request): **(a)** both direct pins carry the three per-file `sha256` entries plus an explicit `pinned_by_commit_only: []`, the deferral narrowing to the SHAPE of the lists rather than their existence; **(b)** the source-tree clause is amended to admit a whole-tree `sorted-ls-tree-r-v1` digest as an EQUIVALENT discharge — the reading the ruling already applies one medium over; **(c)** the ruling stands as a recorded EXCEPTION, named at the box and at the delta. **REC (b)**, because it leaves ONE rule in the corpus instead of a rule and an exception.

§ 4.2 carries a pointer to the same tension, so the actor taking that file's follow-up meets it **before** editing the header rather than after.

**Finding 2 (Copilot's overview — the intervening `6df0a030`) is also right.** § 8.7's correction said the two commits are *"one commit apart"*. **Measured on the root's own history they are two**, and only the second is STEP 1:

`2073e3a9` (#13, release surface, 20:56:18Z) → **`6df0a030`** (#14, CHANGELOG `draft` → `standard`, 21:39:17Z, **touching no pin**) → **`646f1dc0`** (#15, 21:51:39Z, the pin advance that IS step 1).

*A reader counting back one from `646f1dc0` lands on a CHANGELOG edit rather than on the tag — the off-by-one locator class this packet has already spent three amendments on. Fixed rather than tidied away, and the correction-of-a-correction is left on the page.*

**Markers are still untouched after both fixes**: `67 [x] / 3 [ ] / 2 [~] of 72`, and the `^- \[.\]` lines remain byte-identical to `main`'s in text and in order.


### Copilot round 2 — one LOW finding, right, taken as a fix (head `439843f6`)

**`r4067646318` — *"Pin-file trigger amendments remain incomplete"*.** § 5.1 wrote that the trigger sentence *"is AMENDED"*, which reads as a landed fact, while the same box's execution paragraph two below records the `openxFactory` half as **in flight** in `#1134` and the openXdox half as **owed**. One box stated a thing as done and, further down, as pending.

It now reads **"is RULED AMENDED"**, with a paragraph stating the split in terms: **as this amendment is written, NEITHER pin file carries the amended header on a landed commit** — the `openxFactory` side is in flight inside STEP 2's pull request, the openXdox side is not yet authored. *What is DONE is the ruling and the revisit it answers; what is PENDING is the execution, in two pull requests.*

**The finding's reasoning about the archive is why it earned a head**: a ledger that reads *"amended"* where it means *"ruled to be amended"* is how an archive comes to treat outstanding work as closed. This packet has refused that at § 3.7 (three candidate heads), § 4.5a (an abbreviated command) and §§ 3.8/4.6 (a live read of a tag ref), each time by recording nothing but a landed sha as landed — and neither STEP 2 nor STEP 3 is recorded as landed anywhere in this amendment.

**Three findings across two rounds, all three FACT-class on this amendment's own prose, all three taken as fixes; zero registered.** Markers untouched throughout.


## Round 3 — STEP 2 has LANDED, and three of its handed figures are corrected

**`openxFactory` #1134 → `aaddda666165655a60abc1720f271e2e967e3bdc`, `mergedAt` 2026-09-22T01:12:58Z** — the STEP 2 nested leg advance. Six files; both gitlinks at **`dc7aa08f`** and **`646f1dc0`** exactly. **The in-flight sentences are SUPERSEDED and KEPT with their clock** (measured 00:36Z, landed thirty-six minutes later), which is this packet's standing treatment of a position overtaken by an act.

| handed | measured | why it is recorded |
| --- | --- | --- |
| `mergedAt` 01:13:04Z | **`mergedAt` 01:12:58Z**, commit date **01:12:57Z** | the seconds change no gate — **the FIELD does**, which is why this packet names the field beside every clock |
| (unstated) | **a SQUASH**: ONE parent, subject ending `(#1134)` | not the two-parent MERGE COMMIT the two assembly-root pin landings took |
| head `ca2c8a82` (measured 00:36Z) | **`a28d68a6`** is `#1134`'s final PR head — the **source ref** that was squashed; **`aaddda66`** is the commit on `main` | three shas, none of them each other: a head is a MOVING reference until a landing fixes a different sha. *Corrected on Copilot finding `r4067741174`, which caught an earlier round writing "the head that landed" — the one error class this packet is built to catch, since it ticks on landed shas and nothing else.* |

**One narrative defect in `#1134`'s own body is REGISTERED and not fixed** (another actor's text; no sha turns on it): it says the openXdox target is *"one commit past `xdox-v1.0`"*, and **measured it is two**. **That is the identical off-by-one this amendment corrected at § 8.7**, reached independently on the other side of the same landing — the argument for recording defect CLASSES and not only defects.

**§ 8.7 — STEP 3 re-measured at 01:17Z, after step 2 landed: still not opened.** `opensoft/xFactory` now carries six open pull requests; the new one is **#477**, the ceremony-history DOCS follow-up § 5.6 already registered, **not** the sync.

**§ 3.6 — the openDox-code hygiene arc has landed twice, at the box that already carries its register**, and neither landing moves it: **#33 → `1d4ac83c`** (2026-09-19T02:29:06Z) and **#34 → `f8a1eced`** (2026-09-22T01:07:19Z, a squash). The triple is **measured, not reported** — `1114 / 1111 / 3` at `.github/workflows/validate.yml`:2128 with `MIN_SELECTED`/`MIN_PASSED` at :2136-2137, where #33 read `1109/1106/3` and the root-pinned `d816cf06` reads `1099/1096/3`. **And the reason neither touches an obligation is verified rather than asserted**: the `openDox` assembly root still pins `code` at `d816cf06`, and `f8a1eced` is **ahead_by 2, behind_by 0** of it. *(Clock correction owed to the report: #34 was handed as 01:07:26Z; both fields that exist read 01:07:19Z.)*

**`origin/main` `aaddda66` is merged into this branch**, and the markers are re-verified against it: `67 [x] / 3 [ ] / 2 [~] of 72`, `^- \[.\]` lines byte-identical in text and order.


### Round 5 — the last head-moving round: *"direct pins"* named two different pairs

Copilot's round-4 overview reported **Findings: None** with the headline *"the pin-trigger evidence must be attributed to the correct direct and transitive pin files"*. No thread, nothing to register — and the headline is right about the prose: § 5.1 used **"direct pins"** for **two different pairs**, four paragraphs apart, and only ONE file belongs to both.

| the phrase | the pair | |
| --- | --- | --- |
| the **ruling's** — *"both direct pins"* | `openxFactory`'s `contracts/opendox-pin.yaml` + `openXdox`'s file of the same name | each DIRECT from its own consumer's position; the second is TRANSITIVE as seen from `openxFactory` |
| **this box's own** | `contracts/openxdox-pin.yaml` + `contracts/opendox-pin.yaml` | the two pins `openxFactory` DECLARES — what RULED **Q7** made two |

The deferral sentence now **names its two files** instead of saying *"both direct pins"*, and a **PHRASE COLLISION** paragraph flags the ambiguity once — on the same treatment the `R-5` collision gets at § 5.6: every mention names its files and **neither phrase is renamed**, because renaming a ruling's label in a ledger breaks every record that cites it.

**This is the final head-moving round on this amendment.** Anything further is registered for #12.


## Round 6 — a FOLD, not a review round: STEP 3 lands and the forced order is COMPLETE

**`opensoft/xFactory` #478 → `1385f380117f54f1e266e239a9e467e730ce3f29`, `mergedAt` 2026-09-22T01:33:07Z, a MERGE COMMIT (two parents).** The three pointers are read **at that commit**, not from its title: `openxFactory` → **`aaddda66`**, `openDox` → **`dc7aa08f`**, `openXdox` → **`646f1dc0`**. The equality § 8.7's own line checks holds again for **both** legs — STEP 1 broke it by design and STEP 3 restores it, which is what makes the order *forced* rather than preferred.

| the forced order, `#656` `5767733963` | landing | UTC |
| --- | --- | --- |
| **STEP 1** `openXdox` #15 | `646f1dc0` | 2026-09-21T21:51:39Z |
| **STEP 2** `openxFactory` #1134 | `aaddda66` (squash) | 01:12:58Z |
| **STEP 3** `xFactory` #478 | `1385f380` (merge commit) | 01:33:07Z |

**Four files is not a breach of #474's two-file invariant — it is a different sync.** #474 was the openxFactory-**pointer** sync (that gitlink plus `.github/clearing/openxfactory/PIN.yaml`); this is the **three-pointer** sync, so its shape is three gitlinks plus that same clearing PIN, and #474's pair moves here too for #474's own reason: the nightly runs its scripts from the `openxFactory` gitlink.

**§§ 5.1 and 4.2 — both halves of the header amendment have landed**, so round 2's *"NEITHER pin file carries the amended header on a landed commit"* is superseded and kept with its clock. The openXdox half is **`openXdox` #16 → `7194c06ca456d1675e32e890b4acf640b14bfc60`**, `mergedAt` 01:33:20Z, a squash, one file. **Measured in the landed bytes rather than taken from the title**: it cites the ruling `5768144952` **twice**, the trigger sentence *"that artifact then moves into a `files:` list here"* **no longer occurs in it at all**, and `commit:` still reads `dc7aa08f` — the header moved, the referent did not. **§ 4.2's obligation was registered as owed at 00:45Z and discharged at 01:33Z**, inside one amendment, and both are recorded: *a ledger that records only what is still outstanding cannot be used to check what was.*

> **A clock pattern worth more than its four figures.** #1134 handed 01:13:04Z / measured **01:12:58Z**; `openDox-code` #34 handed 01:07:26Z / **01:07:19Z**; #478 handed 01:33:14Z / **01:33:07Z**; `openXdox` #16 handed 01:33:28Z / **01:33:20Z**. **Four reports, every one six to eight seconds fast** — a systematic offset in whatever field the reports read, not four slips. It changes no gate; this packet names the FIELD beside every clock precisely so an offset like that is visible instead of invisible.

**The Copilot finding budget stays closed at round 5.** This round folds landings the holder sent while the amendment was open.


### Round 7 — round 6's fold left its own plan standing as live, and the marker goes in the same round

**`r4067822689` (MEDIUM) is right.** Round 6 recorded `openXdox` #16 as landed and § 4.2's obligation as discharged, and left § 5.1's *"EXECUTION IN TWO HALVES, AND THE SECOND IS OWED"* standing beneath it with no superseded timestamp and no discharge reference — one box saying both halves landed and, four paragraphs down, scheduling the second as future work. **The same defect class round 2 corrected, re-created by a later fold in the same section.**

The plan is **kept** — this packet keeps superseded readings in the present tense of their own act — and it is now **marked** *SUPERSEDED 2026-09-22T01:33:20Z*, naming `openXdox` #16 → `7194c06c` as the discharge and § 4.2 as the other place it is recorded. **The general lesson is written into the marker, not merely applied**: a fold that lands an obligation must mark every plan that schedules it, in the same round as the fold, or the contradiction outlives the round that made it.


### Round 8 — the mirror, found in the review BODY rather than in a thread

Copilot's round-7 review reported **Findings: None** open and **0 unresolved threads**, and carried a **"Previously missed"** finding in its body, in text round 7 did not touch: § 4.2's heading *"WHAT THIS BOX OWES, REGISTERED AND NOT DISCHARGED HERE"* still presented the obligation as live with its own discharge in the very next paragraph.

**It is right, and it is the exact mirror of what round 7 fixed at § 5.1**, so it takes the identical treatment: the reading is **kept** in the present tense of its own act and **marked** *SUPERSEDED 2026-09-22T01:33:20Z*, naming `openXdox` #16 → `7194c06c`. **The marker rule now stands at both boxes rather than only at the one that was reported.**

*Recorded because of where it was visible: a zero-unresolved-threads count is not evidence, and this lane's gate reads the review BODY for exactly this block.*


## Gates

`openspec validate split-opendox-two-layer-product --strict` **valid** · `proposal-support.py . verify` **ok** · `validate-sequenced-after.py . --ledger-diff` **clean (222 rows)**.

`openspec validate --all --strict` → **106 passed, 1 failed** — and **the one is not this branch's**: `add-chain-attestation`'s `signed-execution-chain` MODIFIED block omits *"a tranche-two link does not exist yet"*. **Measured identical at this branch's own base `6b298a1e` AND at `main` `aaddda66` after the merge**, so it is inherited `main`-red; it is asked of lane **`openxfactory-1`** by name at `#656` comment `5767267092`, and it is § 8.9's registered residue (vi).


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Oct 2, 2026
…es openXdox's values; every candidate-pin red in its both-pins form) (plan 034) (#1213)

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

Plan 034, task **T066** (slice P2-H), `specs/034-opendox-standalone-operation/tasks.md` at openxFactory `main` `2140f5a7`: *"openxFactory at both pins, ahead of T064 (a non-arc act)"*. This PR makes openxFactory hold at BOTH pin sets:

- **the current pins**: openDox `663ac683` (code `2d116415`) and openXdox `57e2b8f2` (code `6158151e`);
- **T064's candidates**: the openDox root at T062's `d5098297` (code `047bb4fa`, spec `f7ee3c76`), and the openXdox root with its code at T061's `6a3b93b9`.

**Not an arc landing.** Per T091 and plan.md § "The trailer, the guard and Rule 6", no commit of this PR and no line of this body carries the arc trailer. This is openxFactory's own change, and it is correct with or without the arc's commits. It touches no `openspec/` path, so no Rule 6 window applies. No commit and no line here carries a closing keyword.

## What it changes

| file | change | both-pins form |
| --- | --- | --- |
| `scripts/profile_openxfactory.py` | The `DISPLAY` facet composes openXdox's `values` block (openXdox-code #34, T060) beside the `stages` it already copies, as a copy at both levels (R1Q26 (a), `#656` `5851950767`). A malformed block is refused by name. | Where openXdox declares no block (current pins), the facet declares none, and openDox serves its own defaults, which are still the governed words there. |
| `scripts/ideation_dashboard/dashboard_refresh_lane.py` | The sealed validator's harness puts each other sealed code leg's `src/` on its path (`sealed_leg_sources`). From openXdox-code #35, the product module imports `opendox.projection_seams` at module level, so the probe ended without a verdict and every seal refused. | At the current pins the extra path is read by nothing. |
| `tests/test_engineering_profile_display_facet.py` | :272 and :560 take the both-pins form. The cited :300-303 span keeps its lines. A new section 9 holds the served values to the registered profile's governed words, checks the copy, mutates the composition away, and refuses a malformed block. | Every case holds at both pins. The mutation is pin-independent. |
| `tests/ideation-dashboard/test_dashboard_source_seal.py` | The confined-locator case asserts R1Q14 (a): for a start inside the seal, the locator answers None (the confining leg) or the product's own validator (T061's leg), never the sealed copy. The stand-in legs carry the real module of each other-leg import the product module makes (`_product_module_leg_imports`). The probe's and the render validation's argv tails name the sealed legs. The "not a source checkout" case removes the install's packaged validator where the leg has one. The missing-schema case accepts the validator's wording at either leg. | Each reads the pinned leg's layout. |
| `tests/ideation-dashboard/test_doxbench_contracts.py` | The FILE gate runs the validator through `doxbench_contracts._composed_validator`, whose tree carries the family under its own `contracts/schemas/`, read first at both script generations (R1Q27 (a)). T061's `schema_source()` no longer reads a patched `SCHEMAS_DIR`. | The same route at both legs. |
| `tests/ideation-dashboard/test_lens_gate_cli.py`, `test_cli_column_split.py` | The gate verbs' generation site is `cli.generate_snapshot` before T055 and `cli.generator_seam.generate` from it. `_locate_validator` is a spine name only before T055, which removed it. The workbench's validator is pointed only where the leg binds `find_validator`. | Each is read off the pinned leg. |
| `tests/ideation-dashboard/test_serve_column_split.py`, `test_oqb_replumb_2.py` | T055 made the `/snapshot.json` arm's four handlers, and `hosted_ref_refused`, openDox's own. Each test reads which layout the pinned leg has and holds that one exactly. A leg with some of the four and not the others is refused. | Both layouts are named. |
| `tests/doc-health/test_sentinel_vocabulary.py` | The projector's declared sentinel read is held at either leg's spelling (T059 moved it into the fallback), and neither spelling may retype `"unknown"`. | Both spellings. |
| `specs/034-opendox-standalone-operation/tasks.md` | T064's "Why no host line is expected" bullet is corrected to the holder's revision of 2026-09-29: T064 owes one host line. It rides here, not in T064's arc PR, on the holder's decision of 2026-09-30, because a plan edit in an arc PR sits on no F11.1 surface. A dry run on a simulated T064 commit refused that path and nothing else. | Not a test. |

## Every red at T064's candidate pins, and what answers it

Three runs at the candidate pins, compared node by node:

- **C0**: `main` `2140f5a7`, with the candidate pins and no host line.
- **C5**: this PR's head, with the candidate pins and no host line.
- **C4**: this PR's head, with the candidate pins and T064's owed host line.

C0's full suite has **397 reds**: 8514 passed, 6 skipped. They split into 209 (A), 187 (B) and 1 (C1). C5 has 188 (B and C1), and C4 has 3 (C1-C3).

**A. Answered here, each in its both-pins form: 209 reds** (red at C0, green at C5).

| reds | file | the red at C0 | answered by |
| ---: | --- | --- | --- |
| 185 | `tests/ideation-dashboard/test_dashboard_source_seal.py` | Mostly *"the sealed validator could NOT RUN … No module named 'opendox'"*: from openXdox-code #35 the sealed product module imports `opendox.projection_seams`, and the harness put only the validator leg on its path. The rest are the stand-in legs lacking that import, T061's packaged validator, the missing-schema wording, and the confined locator under R1Q14 (a). | `sealed_leg_sources` in the lane, and the seal test's both-pins forms |
| 12 | `tests/ideation-dashboard/test_doxbench_contracts.py` | *"xfactory-workbench-chat-turn.schema.yaml is not supplied … CONTRACTS_DIR is not set"* (7) and the model-catalog twin (5): T061's `schema_source()` no longer reads a patched `SCHEMAS_DIR` | the FILE gate through `_composed_validator` (R1Q27 (a)) |
| 4 | `tests/ideation-dashboard/test_lens_gate_cli.py` | `opendox.cli` has no attribute `generate_snapshot` (T055) | the generation site read off the leg |
| 4 | `tests/ideation-dashboard/test_serve_column_split.py` | each of the four snapshot-arm handlers *"is defined on DashboardHandler AS WELL as on ProjectionRoutes"* (T055) | the T055 layout, read off the leg |
| 1 | `tests/ideation-dashboard/test_cli_column_split.py` | `generate_snapshot` left the spine (T055) | `SPINE_READ_THROUGH_SINCE_T055`, `SPINE_BEFORE_T055` |
| 1 | `tests/ideation-dashboard/test_oqb_replumb_2.py` | `serve.hosted_ref_refused` is openDox's own function from T055 | the predicate read off the leg |
| 1 | `tests/doc-health/test_sentinel_vocabulary.py` | the projector's sentinel read moved into the fallback (T059) | either leg's spelling |
| 1 | `tests/test_engineering_profile_display_facet.py` | `test_stages_is_the_one_section_openxdox_declares_and_the_one_composed`: *"DISPLAY now declares ['stages', 'values']; openxFactory composes only `stages` … Decide"* | decided under R1Q26 (a): composed, and the test is renamed `test_stages_and_values_are_the_sections_openxdox_declares_and_composes` |

**B. Answered by T064's host line: 187 reds** (red at C5, green at C4). With no governed projection registered at openDox's seams, every openDox entry point projects through openDox's neutral defaults. The gate verbs answer `action_unavailable`, the doxBench routes lose `console_token`, the workbench model port is never found, and a governed generation refuses `document_keys_are_paths`. They cannot be answered in openxFactory at the current pins, where `openxdox.projection_contributions` does not exist. One skip at C0 and C5 belongs to the same cause: `test_staging_seed::test_wire_a_scoped_create_then_edit_lands_one_document_with_its_body` (*"this plane cannot create documents"*), which runs and passes at C4.

| reds | file | the red at C5 |
| ---: | --- | --- |
| 136 | `tests/ideation-dashboard/test_doxbench_routes.py` | 134 `KeyError: 'console_token'`; one console-capability refusal; one peek-barrier timeout |
| 43 | `tests/ideation-dashboard/test_gate_routes.py` | `action_unavailable` (*"gate actions unavailable (no resolved actor/checkout)"*), and the status and body assertions behind it |
| 3 | `tests/ideation-dashboard/test_snapshot_abstract_noninterference.py` | the workbench's model port answers None |
| 2 | `tests/ideation-dashboard/test_dashboard_source_seal.py` | the sealed render refuses, because openDox's neutral generator answers (`document_keys_are_paths`) |
| 1 | `tests/ideation-dashboard/test_intent_feed.py` | the loopback plane's `/capabilities` reports `actions.gate` false |
| 1 | `tests/ideation-dashboard/test_intent_plane_boundary.py` | `action_unavailable` |
| 1 | `tests/ideation-dashboard/test_serve_column_split.py` | *"refresh is unavailable on this plane"* |

**C. T064's own: 3 reds, with no both-pins form.** I raised these with the holder, who decided (c): they go into T064's arc commit, all three on declared F11.1 surfaces (`ADMITTED_ARC_EDITS`).

1. `tests/openxdox_pin/test_openxdox_pin_verifier.py::test_ruling_q7_two_direct_upstreams_in_lockstep` is red at C0, C5 and C4. Its snapshot literal names openDox `663ac683`, and its own comment says it moves on every bump. A literal can name one pin only, so it moves to `d5098297` in T064's pin commit.
2. `tests/ideation-dashboard/test_dashboard_source_seal.py::test_the_render_leg_modules_are_what_the_render_unit_imports_by_name`
3. `…::test_the_serve_leg_modules_are_what_the_serve_entry_imports_by_name`

   Items 2 and 3 are green at C0 and C5 and red at C4 only. The host line's `from openxdox import projection_contributions` puts that module in the render unit's by-name imports. So the lane's `RENDER_LEG_MODULES` and the test's `RENDER_UNIT_IMPORTS` gain `projection_contributions.py` in T064's commit. The module does not exist at the current openXdox-code leg `6158151e`, so this PR cannot require it.

**Nothing new.** No node is red at C5 that was not red at C0. C5 and C4 select the same 8923 node ids. C0 selects 8917, because this PR's facet section 9 adds seven and renames one: the :560 test, red at C0 and answered under its new name.

## The measurements

Every local run is the gates' own steps:

- the consumer gate's chain: both verifiers, then the pin suites, then `tests/ideation-dashboard`;
- then `pytest-suite`'s `python3 -m pytest tests/ -q -m "not postgres"`.

Each runs with Python 3.12.3, the hash-pinned lock, node 24, the pinned OpenSpec CLI 1.12.0, and `PINNED_CORE_CHECKOUT` at codexFactory `b21f0100`. Each runs in a checkout named `openxFactory`, with its gitlinks recursively initialized, and `openXwallet` too.

| run | head | pins | verifiers | pin suites (floor 105/105/0) | `tests/ideation-dashboard` (floor 1137/1137/0) | `pytest-suite` |
| --- | --- | --- | --- | --- | --- | --- |
| **CI** | `2cc8e926` | current | OK, OK | **105/105/0** | **1480/1480/0** | **8917 passed, 6 skipped, 0 failed**: `selected=9335 passed=9329 skipped=6 failures=0 errors=0`, margin 2285, `skipped==6` (run `37051741886`). All 12 checks pass. |
| P2 | `2cc8e926` | current | OK, OK | 105/105/0 | 1480/1480/0 | 8918 passed, 5 skipped, 0 failed |
| C4 | `2cc8e926` + the candidate pins + the host line | candidate | OK, OK (lockstep confirmed) | 104/105 (item C1) | 1478/1480 (items C2, C3) | 3 failed (items C1-C3), 8915 passed, 5 skipped |
| C5 | `2cc8e926` + the candidate pins | candidate | OK, OK | 104/105 (item C1) | 1292 passed, 187 failed (B), 1 skipped | 188 failed (B and C1), 8729 passed, 6 skipped |
| C0 | `main` `2140f5a7` + the candidate pins | candidate | OK, OK | 104/105 (item C1) | 1085 passed, 394 failed (A and B), 1 skipped | 397 failed (A, B and C1), 8514 passed, 6 skipped |

- **Why a local run skips 5, not CI's 6.** The work tree sits inside an xFactory aggregation checkout, so `tests/domain_profile/test_session_worktree_book_scan.py::test_worktree_container_is_gitignored_in_the_aggregation_repo` finds the aggregation and runs, and it passes, where a runner skips it. `pytest-suite.yml`'s own comment names this difference ("this number is CI's, deliberately"). The arithmetic agrees: CI's 8917 passed + 6 skipped and P2's 8918 passed + 5 skipped are the same 8923 tests. P2's five skips are the two `tests/notebooklm` module skips, the two conformance-gate self-gate skips, and the LedgerxFactory fixture-drift guard.
- **The candidate openXdox root** is `bfd0c5a2`: the T064 openXdox-root branch, not yet pushed. Its code gitlink is `6a3b93b9`, and its `contracts/opendox-pin.yaml` names `d5098297`. `make validate` passes there. Its tree digest is `7fe6b8e5…84eb7` (29 records), and the candidate `contracts/openxdox-pin.yaml` records it, so both verifiers pass.
- **The digests**, recomputed independently with controls on the recorded values (`40ec3108`, `ec826603`, `e52c1383`): openXdox-code `6a3b93b9` is `4ef2b4f7…aeb3` (187 records); openDox `d5098297` is `2815ca23…57cc` (28 records).

## Review

| Copilot at | verdict | threads | answered in |
| --- | --- | --- | --- |
| `854162ac` | Changes recommended | (1) the post-T055 branch of `test_every_moved_handler_still_resolves_on_the_request_handler` was read as reached too late; (2) a duplicated verb in the mutation test's docstring | `2cc8e926`. (1) is a misreading, answered with a probe: openXdox's `ProjectionRoutes` defines all four handlers at both pins, and the class that forwards `_serve_index` alone from T055 is openDox's stand-in base `consumer_reach.LateProjectionRoutes`. The comment now names the two classes apart, and nothing is reordered. All five parameters passed at both pin sets before and after. (2) is fixed. Both threads are answered and resolved. |
| `2cc8e926` | Needs a closer look, no findings, no threads | the final results at both pin sets were still pending in the earlier body | this body |

## Landing

- No arc trailer, no closing keyword, no `openspec/` path, so there is no Rule 6 window.
- It opens as a DRAFT. The holder marks it READY, and the landers merge it.
- It lands **before T064**. T064's openXdox root PR, and then T064's openxFactory PR (both pin pairs in one commit, the host line, items C1-C3, the carve admissions), follow it.

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


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Oct 2, 2026
…, with openXdox's governed projection registered by the host (plan 034) (#1215)

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

Plan 034, task **T064** (slice P2-H): phase 2's consumer pins (T090 steps 5–6), `specs/034-opendox-standalone-operation/tasks.md` at openxFactory `main` `80217a92`. The precedent is T047 (opensoft/openXdox#20, then #1181).

- **Landing order, done:**
  - T066 (#1213) has landed as `80217a92`. openxFactory already holds at both pin sets, and the plan's T064 text already reads "the one host line" (holder decision (a), 2026-09-30).
  - opensoft/openXdox#21 has landed, squashed to `f257e021`.
- **Holder decisions in force:**
  - (a) the plan-text correction rode in T066;
  - (b) T092's phase-2 `edits[].note` annotations ride in T063's checkpoint, NOT here;
  - (c) the three candidate-pin reds with no both-pins form are answered in this PR.
- It stays a DRAFT until the holder marks it READY.

## The pins: both pairs in ONE commit (`59866105`)

| pair | gitlink | pin file `commit:` | `digests.tree_sha256` |
| --- | --- | --- | --- |
| openDox | `663ac683` → **`d5098297`** | same (`contracts/opendox-pin.yaml`:118) | `ec826603…9d5d` → **`2815ca2353d1cd4c220b5391e1c0bc45c2cabfec9aa196cee1e0a4bcc9e857cc`** (28 records) |
| openXdox | `57e2b8f2` → **`f257e021`** | same (`contracts/openxdox-pin.yaml`:109) | `e52c1383…6390` → **`52f0598edb8517dce7be3acc7637c9552020a4e2e1716be7bb8a1f352d406959`** (29 records) |

- `d5098297` is openDox root `main`, three commits ahead of `663ac683`:
  - #14 (`52005213`, T053) cuts `dox-v1.1`. The annotated tag `851a28e9` is over `52005213`, and the spec leg moves `8fe8c4c7` → `f7ee3c76`.
  - #15 changes only `contracts/CHANGELOG.md`.
  - #16 (T062) moves `code` `2d116415` → `047bb4fa`.
- **`f257e021` is opensoft/openXdox `main`, where #21 squash-landed.** It moves `code` `6158151e` → `6a3b93b9`, which is openXdox-code `main` after #34–#36 (T060, T059, T061). It also moves `contracts/opendox-pin.yaml` `663ac683` → `d5098297` (T090 step 5).
- Every digest was recomputed three ways, with controls on the old values: `repo_shape.tree_digest`, an independent `ls-tree` + `sha256`, and the forge's tree listing.
- **Why one commit and not "one commit each" (T090 step 6).** #21 changes the openDox pin that `verify-opendox-pin.py` check 5 reads through the openXdox gitlink. So moving the openXdox pair alone would fail check 5, and the runbook's § 3 step 8 moves the openDox pair *"in the SAME commit"*. Each pair still moves as one unit (box 9.5). **The holder decided the single commit on 2026-09-28.** This PR therefore deliberately departs from T090 step 6's "one commit each".
- Both pin files are edited in place, keeping their line counts. The openDox `migration:` block keeps `range` and `reversible`, because no migration path changes over `2d116415..047bb4fa`. Its `runbook` names the new code leg `047bb4fa`, and the block is identical to openXdox's derived copy, which `tests/opendox_pin` asserts.
- **Gates.** `verify-openxdox-pin.py` prints `OK openxdox-pin verified: openXdox@f257e021…, gitlink read from HEAD`, with digest `52f0598e…`. `verify-opendox-pin.py` prints `OK … openDox@d5098297…, lockstep with openXdox confirmed`.

## What else it carries

| commit | what | F11.1 surface |
| --- | --- | --- |
| `47e47c69`, `5663b4ed` | **The host line.** `scripts/opendox_host.register_openxfactory()` calls `openxdox.projection_contributions.register()` once openDox answers this host's profile, and before `register_seams()` (`5663b4ed`, on Copilot's finding at `d6c47f4f`). A profile openDox refuses is refused before any seam is written, so openDox's unread defaults stay where they were. The contribution call is all or none on its own, and its refusal leaves the profile registered and no host seam written, as a refusal inside `register_seams()` leaves the profile. The docstring says why openxFactory makes the call itself (it registers with openDox alone), and why its order differs from `openxdox.domain_profile.register()`'s. `tests/domain_profile/test_host_registers_openxdox_projection.py`, 9 cases, covers registration, a fresh interpreter (nothing before the call, everything after), the order, idempotence, both refusal directions (one with openDox's entry-point defaults preinstalled and unread), the process's pre-held contributions, and a mutation. Three planted breaks are each caught: the line removed fails 5 cases, moved before the profile 4, and moved after the seams 2. | HOST, HOST_TESTS |
| `47e47c69` | Items C2 and C3 of #1213: the host line's import puts `projection_contributions.py` in the render unit's by-name imports, so the lane's `RENDER_LEG_MODULES` and the seal test's `RENDER_UNIT_IMPORTS` gain it. The seal carries a leg's whole `src/`, so no sealed artifact changes. | ADMITTED_ARC_EDITS (both paths) |
| `4859bfa5` | Item C1 of #1213: `test_ruling_q7_two_direct_upstreams_in_lockstep`'s snapshot literal moves `663ac683` → `d5098297`, as its comment says it does on every bump. | ADMITTED_ARC_EDITS |
| `d6c47f4f` | **129 `created:` admissions** in `docs/opendox-carve-admissions.yaml`, pinned in `tests/carve_arrival` by path, `since` and count, as T047's 37 are. They cover every file a leg added since its last pin, under the destination's declared roots, that no row places. Each `since` is the leg's own squash landing (`git log --diff-filter=A`), and each path is present at the new pin. | ADMITTED_ARC_EDITS (both paths) |

The 129 admissions:

- **`openxdox_code`, 13**: #34 (T060) 1, #35 (T059) 5, #36 (T061) 7, among them `src/openxdox/projection_contributions.py` and the packaged `src/openxdox/contracts/`.
- **`opendox_code`, 80**: #53 (T050) 9, #54 (T052) 3, #56 (T051) 3, #57 (T054) 2, #58 (T057) 54, #59 (T055) 5, #66 (T056) 2, #68 (T058) 1, #70 (T055 follow-up) 1.
- **`opendox_spec`, 36**: openDox's spec leg moved with `dox-v1.1` (`8fe8c4c7` → `f7ee3c76`). 35 come from openDox-spec #16 (T053), and one is older: `docs/front-end-package-boundary.md` (#8), which the spec walk already refused at `8fe8c4c7` and no earlier bump admitted. With all 36, `verify-carve-arrival.py --destination opendox_spec --phase B` prints OK at `f7ee3c76`.
- **Derived, not run green, for the `-code` legs**, as at T047. At both new pins `--phase B` still refuses `arrival-undeclared-edit` before it reaches the created-file walk.

## Review

| Copilot at | verdict | threads | answered in |
| --- | --- | --- | --- |
| `d6c47f4f` | Changes recommended | Taking the contributions back after a refused profile emptied each seam, which does not restore an unread openDox default they had replaced. A boolean cannot tell a partly pre-existing set apart either. | `5663b4ed`: the call moves after the profile and before the host's seams, so a refused profile writes no seam and no rollback is needed. Copilot's case is a test, with the defaults preinstalled. No openXdox API change is needed. The thread is answered and resolved. |

## F11.1, on the real commits

`PACKET_MERGE=94b6f7f1… ARC_TIP=<this branch's head>` over the guard extracted from `openspec/changes/add-neutral-product-standalone-operability/tasks.md` prints:

> `requirement 1 holds: 0 note(s) annotated, every other path a declared surface (11.1)` (exit 0, over the arc's landings through `5663b4ed`: T047's `f56c87c6` and this PR's five commits)

Every path this PR touches is on a declared surface:

- PIN_PAIRS: `openDox`, `contracts/opendox-pin.yaml`, `openXdox`, `contracts/openxdox-pin.yaml`;
- HOST: `scripts/opendox_host.py`;
- HOST_TESTS: `tests/domain_profile/test_host_registers_openxdox_projection.py`;
- ADMITTED_ARC_EDITS: `scripts/ideation_dashboard/dashboard_refresh_lane.py`, `tests/ideation-dashboard/test_dashboard_source_seal.py`, `tests/openxdox_pin/test_openxdox_pin_verifier.py`, `docs/opendox-carve-admissions.yaml` and `tests/carve_arrival/test_verify_carve_arrival.py`.

The admitted list does not grow, and no manifest note is annotated here: T092's phase-2 notes go to T063, on decision (b).

## The falsifiers, at the COMMITTED pins

T047's falsifiers, with the consumer gate's suite at its floors. Each local run is the gates' own steps: both verifiers, then the pin suites, then `tests/ideation-dashboard`, then `pytest tests/ -q -m "not postgres"`. They run with Python 3.12.3, the hash-pinned lock, node 24, the pinned OpenSpec CLI 1.12.0, and `PINNED_CORE_CHECKOUT` at codexFactory `b21f0100`. Each runs in a checkout named `openxFactory`, with every gitlink at the committed pins and recursively initialized: openDox/code `047bb4fa`, openDox/spec `f7ee3c76`, openXdox/code `6a3b93b9`, openXdox/spec `f088b097`.

| run | head | verifiers | pin suites (floor 105/105/0) | `tests/ideation-dashboard` (floor 1137/1137/0) | `pytest-suite` |
| --- | --- | --- | --- | --- | --- |
| **CI** | `5663b4ed` | OK, OK, lockstep confirmed (run `37065541361`) | **105/105/0** | **1481/1481/0** | **8927 passed, 6 skipped, 0 failed**: `selected=9345 passed=9339 skipped=6 failures=0 errors=0`, margin 2295, `skipped==6` (run `37065541376`). All 12 checks pass. |
| F1 | `5663b4ed` | OK, OK | 105/105/0 | 1481/1481/0 | 8928 passed, 5 skipped, 0 failed |
| R1 (rehearsal) | the same edits before `5663b4ed`, over the candidate root `bfd0c5a2` | OK, OK | 105/105/0 | 1481/1481/0 | 8926 passed, 5 skipped, 0 failed |

- **#1213's red list is empty at the committed pins.** All three of its T064-owned items (C1-C3) pass, and so do the 187 that the host line answers.
- The consumer suite has 1481 cases, one more than #1213's 1480, because the seal's by-name-module refusal is parametrized over `RENDER_UNIT_IMPORTS`, which gained `projection_contributions.py`. The whole suite has 8933 tests (local XML) against #1213's 8923: the host-line file adds nine and the seal adds that one.
- `validate-carve-manifest.py` prints OK (456 rows), and `validate-former-id-arrival.py --base origin/main --head HEAD` passes.
- A local run skips 5 where CI skips 6, for the reason #1213 states: the work tree sits inside an aggregation checkout, so the aggregation ignore-file case runs and passes there.
- In the openXdox root, `make pins` and `make validate` exit 0 at #21's head.

## What this leaves for the aggregation

This PR does not do the opensoft/xFactory root pin-sync. When it runs, it needs:

- the root `openDox` gitlink → `d5098297a5c262f9977193305210bccb4ec51e89`;
- the root `openXdox` gitlink → `f257e021399288f430cc89cc0f23cc2cd62be9a7`;
- the root `openxFactory` gitlink → this PR's landed sha, with `.github/clearing/openxfactory/PIN.yaml` in the same commit (CLAUDE.md rule 2).

Arc: neutral-product-standalone-operability

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


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[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