Repository navigation
Conversation
…endent block finally has something to modify ARCHIVED ON BRETT HEAP'S ROUTE-1 RULING OF 2026-08-31. This is the first of two archives in this pull request and it is deliberately its own commit, so the history shows the basis reaching canon BEFORE the dependent block promotes. THE ARCHIVE GATE WAS ALREADY MET AND WAS RE-READ RATHER THAN INHERITED. The code surface landed 2026-08-26 in PR #395 (merge `1dd822ea`, an ancestor of main). Every §1-§3 box was verified against the tree rather than trusted: the `custody:` block naming the binding and never the secret, with `session_state_in_custody: false` and `self_hosted` left free of the obligation; `_check_custody` plus the secret-shaped refusal running over the whole hosting block; the both-directions tests; and the three documentation surfaces including the rule that the `nlm` profile is refreshable session state and is NOT a custody subject. No gap was found and nothing was built here. `target_release: none` AND IT HELD: `git diff origin/main -- contracts/` is empty, the bundle stays contract-v2.5, and there is no CHANGELOG entry, no manifest row, no inventory file and no tag. PROMOTION VERIFIED BYTE-FOR-BYTE, with no scenario-completeness exposure to measure: both deltas are pure ADDED — no MODIFIED, REMOVED or RENAMED block anywhere in the packet — so no canon scenario set was being restated and nothing could be silently dropped. Measured anyway: 3 requirements in, 3 out, all three bodies byte-identical (3/3), 14 scenarios in, 14 out; credential-contracts 7 -> 9 requirements and 24 -> 34 scenarios; lifecycle-notebook-projection +1 requirement. Neither ADDED title existed in canon beforehand, checked by grep. doc-health --family promotion-fidelity reports No findings. THE MECHANISM WAS `openspec archive`, NOT `proposal-support archive`, and the choice is deliberate: that wrapper refuses any `^- [ ]` line and cannot tell an operator act from unfinished work, and §4.4 is an operator act no author may tick. The two things it adds were run anyway on both sides of the move — `proposal-support verify` ok per-change and whole-corpus, and packaging, a lawful no-op for an origin with no supporting-docs folder. Precedent: 2026-08-28-declare-sentinel-pin-vocabulary and the three sibling archives of 2026-08-27. The CLI reported `Task status: 9/18` at the moment it ran; this act then closed §4.5, §5.1, §5.2 and §6.1 and added §8.1, so the archived file ends at 14/19. FIVE BOXES SURVIVE UNTICKED BY DECISION, each with a restated disposition: §4.1 the declined fixture, §4.2/§4.3 the residency statements, §4.4 the OPERATOR ACT placing the password into `kv-opensoft-xfactory-qa` which nothing here performs or witnesses, and §6.2 which attaches to add-notebook-projection-identity's archive rather than to this one. §4.5 DID close: its owed successor is add-binding-consumer-identity, whose `consumer:` block is published and cut as contract-v2.4 (#516 `5e8a33cf`, #526 `afdf0e88`), so it is ticked on the shipped shape and not on the successor's existence. WHAT THIS UNBLOCKS. add-binding-consumer-identity's §7.2 pre-archive assertion — a grep for the requirement title in canon — read 0 before this commit and reads 1 after it. `openspec archive` had aborted on that packet with "MODIFIED failed for header ... - not found"; it applies cleanly now. That archive is the next commit. `.openspec.yaml` moved rather than being lost, proved by blob `36d76fdc56b58b46333d9d20ad210e0584c9119c` identical across the move. `openspec validate --all --strict` 81 passed before, 80 passed after, 0 failed either side. Co-Authored-By: Claude Fable 5 <[email protected]>
…non in the safe order Second of the two archives in this pull request, and deliberately the second commit: the basis reached canon in the commit before this one, which is the whole content of Brett's Route-1 ruling of 2026-08-31. WHY IT COULD NOT ARCHIVE BEFORE, AND THE TOOL SAID SO RATHER THAN GUESSING. This change's MODIFIED block is written over a requirement add-notebook-hosting-credential-custody ADDS. While that packet was active the requirement was not in canon, §7.2's own pre-archive grep read 0, and `openspec archive` ABORTED: "credential-contracts MODIFIED failed for header 'Each consuming system reaches a shared operated identity through its own binding' - not found. Aborted. No files were changed." After the previous commit the grep reads 1 and the block applies cleanly. §7.2'S CONVERSION CLAUSE WAS NOT EXERCISED, BY RULING. Converting the block to ADDED was the alternative and Brett ruled against it. `govern-sibling-added-modified-deltas`, ratified and merged the same day (`8f986c39`), settles why: "An UNPAIRED conversion SHALL NOT be taken. Where one is taken it is a breach" — conversion is lawful only as a paired act in which the basis strikes or re-scopes its addition — and it demotes per-packet assertions like §7.2 to local evidence that "SHALL NOT be read as the source of the obligation". THE ACT: `openspec archive add-binding-consumer-identity --yes` (openspec 1.2.0) -> credential-contracts: update, + 3 added, ~ 1 modified, Totals: + 3, ~ 1, - 0, → 0. Four incomplete tasks at the moment it ran (§7.1-§7.4); this act closed §7.1, §7.2 and §7.4 and added §9.1, so the archived file ends at 56/57. The one open box is §7.3, the reconciliation owed at add-notebook-projection-identity's archive — still active — which is the mirror of the basis packet's §6.2. SCENARIO-COMPLETENESS, MEASURED PER SCENARIO AGAINST CANON AND NOT BY NET COUNTS. Canon stated 6 scenarios for the modified requirement and the block states 6: five carried BYTE-IDENTICAL, one deliberate retitle — "The published binding shape cannot yet express the access identity" out, "The binding shape expresses the consuming system and its fetch identity" in, with the WHEN clause verbatim between them. That is the gap being discharged rather than a scenario dropped: the retired scenario's whole content was that the shape carries no consumer field and the gap is owed to a successor, and this change IS that successor. Zero units lost. PROMOTION VERIFIED BYTE-FOR-BYTE: 4 of 4 delta requirements (1 MODIFIED + 3 ADDED, 36 scenarios) identical in canon; credential-contracts 9 -> 12 requirements and 34 -> 64 scenarios. An earlier pass read 3/4; that was an artifact of a splitter that swallowed the `## ADDED Requirements` header into the MODIFIED block's body, disproved by a line-level diff (37 lines against 37, no differing line). Recorded because a promotion check that was wrong once should say so. WHY BOTH ARCHIVES RIDE ONE PULL REQUEST, measured with doc-health --family modified-block-currency in three states: pristine main 0 error / 8 info; the basis archived alone 1 error / 9 info; both archived 0 error / 8 info. The middle state is real and correct — promoting the basis makes this change's then-active MODIFIED block comparable for the first time. Splitting the pair would have meant editing ratified text solely to survive it, then undoing it. DISCLOSED, NOT FIXED HERE: promotion-fidelity now reports one contested error against the BASIS packet's archived delta — its ratified scenario "The published binding shape cannot yet express the access identity" is no longer in canon, because this change deliberately superseded it. That is inherent to a lawful supersession in any archive order, and the family's own action names the remedy as recording the non-promotion as deliberate. The disposition file lives at the AGGREGATION root (`health/dispositions.yaml`), outside this repository, so it is reported rather than written here. `.openspec.yaml` moved rather than being lost, blob `b92634493cc714558ad5e95229aef7d10994026e` identical across the move. `openspec validate --all --strict` 79 passed, 0 failed; `proposal-support verify` ok per-change and whole-corpus on both sides. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bd2ccbc337
ℹ️ 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".
| NOT be taken. Where one is taken it is a breach."* The basis archived in the | ||
| preceding commit, the `grep` went **0 → 1**, and the block promoted as a block |
There was a problem hiding this comment.
Preserve the two archive commits in history
In the reviewed commit, both archive directories are introduced together, so there is no “preceding commit” preserving the required order. For same-day packets, promotion_fidelity._authoritative() first compares each path's archive-commit timestamp; these are identical here, so its folder-name fallback selects the lexicographically later custody packet as authoritative. That packet still contains the retired The published binding shape cannot yet express the access identity scenario, while canon contains the successor title, causing a new enforcing promotion-fidelity error. Keep the basis and dependent archives as separate commits rather than squashing them.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Pull request overview
Archives two related OpenSpec packets (add-notebook-hosting-credential-custody as the basis, then add-binding-consumer-identity as the dependent) and promotes their spec deltas into canon, updating the README index to reflect the transition from active → archived.
Changes:
- Moves the two packets into
openspec/changes/archive/2026-08-31-*and updates task/ratification/evidence records accordingly. - Promotes new requirements/scenarios into canonical specs (
credential-contracts,lifecycle-notebook-projection). - Updates
README.md“OpenSpec Records” index: removes active entries and adds archived entries.
Reviewed changes
Copilot reviewed 6 out of 18 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| README.md | Moves the two packets from “Active changes” to “Archived changes” with new archive links. |
| openspec/specs/lifecycle-notebook-projection/spec.md | Adds the promoted custody-by-reference requirement and scenarios to canon. |
| openspec/specs/credential-contracts/spec.md | Adds promoted custody/per-system-binding requirements and additional binding-consumer-identity requirements/scenarios to canon. |
| openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/.openspec.yaml | Archived packet metadata for custody change. |
| openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/design.md | Archived design record for custody change. |
| openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/proposal.md | Archived proposal record for custody change. |
| openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/review/ratification-2026-08-23.md | Archived ratification record for custody change. |
| openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/specs/credential-contracts/spec.md | Archived delta for credential-contracts (custody packet). |
| openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/specs/lifecycle-notebook-projection/spec.md | Archived delta for lifecycle-notebook-projection (custody packet). |
| openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/tasks.md | Archived tasks record for custody change (with archive-act restatements). |
| openspec/changes/archive/2026-08-31-add-binding-consumer-identity/.openspec.yaml | Archived packet metadata for binding-consumer-identity change. |
| openspec/changes/archive/2026-08-31-add-binding-consumer-identity/proposal.md | Archived proposal record for binding-consumer-identity change. |
| openspec/changes/archive/2026-08-31-add-binding-consumer-identity/realization-evidence.md | Archived realization evidence record for the binding-consumer-identity cut. |
| openspec/changes/archive/2026-08-31-add-binding-consumer-identity/review/ratification-2026-08-29.md | Archived ratification record for binding-consumer-identity change. |
| openspec/changes/archive/2026-08-31-add-binding-consumer-identity/specs/credential-contracts/spec.md | Archived delta for credential-contracts (binding-consumer-identity packet). |
| openspec/changes/archive/2026-08-31-add-binding-consumer-identity/tasks.md | Updates archived tasks to record archive-act completions/restatements. |
| openspec/changes/add-notebook-hosting-credential-custody/tasks.md | Removes the active tasks file (packet is now archived). |
Suppressed comments (1)
openspec/specs/credential-contracts/spec.md:243
- This scenario line ends mid-sentence ("because each has its own"), which makes the scenario incomplete.
- **THEN** it names which consuming system's identity performed it, because each has its own
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| #### Scenario: A binding names the concrete vault | ||
| - **WHEN** a per-client binding instance names its provider, vault, secret reference, owner and rotation policy | ||
| - **THEN** that is conforming: the binding is exactly where a concrete estate fact belongs | ||
| - **AND** the same values appearing in a contract artifact or lane definition would not be |
Bot round 1 — one P1 ACCEPTED and confirmed by experiment, one refuted by the bytesCodex P1 (
So the disclosure in the body was wrong in its conclusion and right to be made: there is no standing finding on this branch, and there WOULD be one if the two commits were collapsed. Copilot (
Neither line was authored here. Both arrived through a promotion this PR verifies byte-for-byte (3/3 and 4/4), so "completing" either sentence would edit ratified text AND break the promotion-fidelity equality the previous finding is about. Declined on both grounds. Sourcery is the known private-repo upsell stub, not a review. CI at |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
https://github.com/opensoft/openxFactory/blob/bd2ccbc337b4b4bd0d4ac3779e42db9290720d35/openspec/changes/archive/2026-08-31-add-notebook-hosting-credential-custody/specs/credential-contracts/spec.md#L60-L62
Amend the falsified basis scenario before archiving
Independently of the existing commit-order finding, this basis packet cannot archive with this scenario: at 704759f, contracts/schemas/xfactory-credential-contracts.schema.yaml:185-235 already declares consumer.holder_ref and consumer.fetch_identity, so the claim that the shape carries neither field is false. The ratified govern-sibling-added-modified-deltas release delta at specs/release-realization/spec.md:133-143 and :184-187 requires such a falsified scenario to be amended before archive, and its task 6.6 identifies this exact scenario at tasks.md:525-536. Leaving it here makes the archived authoritative delta contradict the landed contract; amend or strike it with owner consent before moving the packet.
AGENTS.md reference: AGENTS.md:L9-L10
ℹ️ 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".
Provenance — merged on Brett Heap's standing in-session word, 2026-08-31 ("merge when green", after his Route-1 ruling and the Option-A one-PR packaging)All four checks green. Bot round 1 fully dispositioned (Codex P1 accepted — it is the reason this merge is a MERGE COMMIT, never a squash: promotion_fidelity's |
Closing: superseded by #541, rebuilt rather than reconciledThis branch archived both packets as they stood before the §6 sweep. PR #538 (squash #541 supersedes this. Four things reported here are corrected there, and they are listed explicitly rather than silently re-measured:
Codex, your round-2 P1 — "Amend the falsified basis scenario before archiving" — was independently correct, and #538 is precisely that amendment. Your round-1 P1 on the squash tie-break was correct on the tree it was raised against and is retired by the same strike. Both are recorded in #541. The one-PR packaging survives, but on different grounds: the transient error is gone, and what remains is the ordering dependency alone — the dependent packet cannot be prepared green until the basis is on Not merged, no commits lost: this branch stays on the remote for provenance. |
Important
MERGE WITH A MERGE COMMIT OR REBASE — DO NOT SQUASH
The two archive commits are load-bearing, not cosmetic.
promotion_fidelity._authoritative()breaks a same-date tie by archive-commit order from git, falling back to folder name "only where git cannot answer". A squash lands both packets in ONE commit, so git cannot answer, the fallback picks the lexicographically later custody packet as authoritative forEach consuming system reaches a shared operated identity through its own binding, and its retired scenario no longer matches canon. Measured on this exact branch:doc-health --family promotion-fidelityRaised by Codex as P1 and confirmed by simulating the squash. This repository habitually squash-merges, which is why it is called out here rather than assumed.
Two archives, one pull request, in the order
release-realizationcalls safe — and the order is visible in the two commits rather than asserted in prose.Brett Heap ruled ROUTE 1 on 2026-08-31: the basis archives first, the requirement enters canon, and the dependent block becomes a block over canon like any other.
Why one pull request and not two
Promoting the basis makes
add-binding-consumer-identity's still-active MODIFIED block newly comparable, and the modified-block-currency family then reports — correctly — that the block omits one of the six scenarios canon now states. Measured in all three states withdoc-health --family modified-block-currency:maingovern-sibling-added-modified-deltas(ratified and merged the same day,8f986c39) treats the ordered pair as one obligation. The lone error exists only in the gap between two archives the rule wants adjacent. Splitting them would have required edits to ratified text — aMerged intomarker in a ratified delta, or a disposition plus a self-gate ledger edit — made solely to survive an intermediate state and then undone, a shape this repository's lesson family refuses. The safe order is still preserved inside the PR: custody archives in commit 1, the dependent block in commit 2.Stage 1 — sibling check
No open PR or live branch archiving or realizing either change; no competing claim from the notebook-projection lane.
change/realize-notebook-hosting-credential-custodyexists but its PR #395 is MERGED and the branch is not an ancestor ofmain.Stage 2 — realization was already complete, and was verified rather than trusted
target_release: none, and it held.git diff origin/main -- contracts/is empty; the bundle stayscontract-v2.5. No cut was owed and none was taken — no CHANGELOG entry, no manifest row, no inventory, no tag.1dd822ea, an ancestor ofmain), so the archive gate — merged code plus a green run — was already met.custody:block naming the binding and never the secret (withsession_state_in_custody: false,self_hostedleft free of the obligation);_check_custodyplus the secret-shaped refusal running over the whole hosting block rather than the custody sub-tree;tests/notebooklm/test_validate_hosting.py; and the three documentation surfaces, including the rule that thenlmprofile is refreshable session state and is NOT a custody subject.The §7.2 assertion, before and after
add-binding-consumer-identity§7.2 prescribes a pre-archivegrepof canon for the requirement title. It is not a soft check — before the basis archived,openspec archiveaborted:grep -coveropenspec/specs/credential-contracts/spec.md: 0 before commit 1, 1 after it. The block then applied cleanly. §7.2's own conversion clause was not exercised — the same ratified rule calls an unpaired conversion "a breach" and demotes per-packet assertions to local evidence that "SHALL NOT be read as the source of the obligation."Promotion, verified byte-for-byte
add-notebook-hosting-credential-custody— no scenario-completeness exposure to measure: both deltas are pure ADDED, no MODIFIED/REMOVED/RENAMED block anywhere. Measured anyway: 3 requirements in, 3 out, all three bodies byte-identical (3/3), 14 scenarios in, 14 out.credential-contracts7 → 9 requirements, 24 → 34 scenarios;lifecycle-notebook-projection+1 requirement. Neither ADDED title existed in canon beforehand, checked bygrep.add-binding-consumer-identity— measured per scenario against canon, not by net counts. Canon stated 6 scenarios for the modified requirement; the block states 6: five carried byte-identical, one deliberate retitle —The published binding shape cannot yet express the access identityout,The binding shape expresses the consuming system and its fetch identityin, the WHEN clause verbatim between them. That is the gap being discharged, not a scenario dropped: the retired scenario's whole content was that the shape carries no consumer field and the gap is owed to a successor — and this change is that successor. Zero units lost. Promotion then verified: 4 of 4 delta requirements byte-identical in canon (1 MODIFIED + 3 ADDED, 36 scenarios);credential-contracts9 → 12 requirements, 34 → 64 scenarios..openspec.yamlmoved rather than being lost in both packets, proved by blob id:36d76fdcandb9263449, each identical across its move.Open boxes, each with a restated disposition
Neither packet's open boxes were ticked, and none is presented as done.
kv-opensoft-xfactory-qa. Nothing in this repository performs or witnesses it, and no author may tick it.shared-secret-identity), §4.2/§4.3 (the ratified residency statements).add-notebook-projection-identity's archive, which is still active. Whoever archives that change discharges both.consumer:block is published and cut ascontract-v2.4(A credential binding declares who holds it and what it fetches with #5165e8a33cf, Realize add-binding-consumer-identity: cut contract-v2.4 (a credential binding declares who holds it and what it fetches with) #526afdf0e88).Promotion-fidelity: clean on this branch, and the correction is on the record
An earlier draft of this section disclosed a standing contested error here. That was measured wrong and is withdrawn. The measurement was taken while the binding archive was still an uncommitted working-tree change, so
promotion_fidelity._authoritative()could not rank it from git and fell back to folder name — which picks the custody packet as authoritative and mismatches canon. With both archives as real commits the family reports 0 critical, 0 error, 0 warning, 0 info.The error is not imaginary, though: it is what a squash would reintroduce, which is why this PR leads with a do-not-squash instruction. Raised as P1 by Codex, confirmed by simulating the squash on this branch. The commit messages carry the original disclosure paragraph as written; this section and the bot-round comment are its correction, left visible rather than rewritten away.
Gates
openspec validate --all --strictproposal-support verify(per-change + whole-corpus)validate-notebook-projection-hosting.py0 error(s)validate-credential-contracts.py .0 error(s) -> PASSdoc-health --family promotion-fidelitydoc-health --family modified-block-currencycontracts/contract-v2.5Mechanism:
openspec archive --yesrather thanproposal-support archive, for both — that wrapper refuses any^- [ ]line and cannot tell an operator act or a cross-change obligation from unfinished work. Its two additions were run anyway on both sides of both moves. Precedent:2026-08-28-declare-sentinel-pin-vocabularyand the three sibling archives of 2026-08-27.