Repository navigation
Ratify add-staged-topic-outline-template (approved, not yet realized) - #192
Merged
Merged
Conversation
Brett ratified in session (verbatim: "ratify add-staged-topic-outline-template"), following his acceptance of all five open questions as recommended earlier the same day — which closed the parallel decision track this change was sequenced for under his 2026-08-15 ruling. What is now ratified is the CONTRACT: a staged topic's primary fragment carries a required template, every open question carries Context / Recommended answer / Explanation / Disposition status in fixed order so a question is never recorded bare, sections added by a human or an AI carry `Added-by:` provenance, and — the load-bearing clause — a topic demoted from proposal carries the ACTUAL last-attempted `proposal.md` text rather than resetting to its aspirational original. A BANNER SAYS IT IS NOT BUILT, deliberately and in the proposal itself rather than only in a ledger. The code surface is non-empty and none of it exists yet: the outline tab does not render the template, there is no add-section affordance, `fragmentSummary()` has no conforming-topic path, and doc-health has no conformance nudge. Under `release-realization`'s archive gate the change stays ACTIVE as approved-but-unrealized intent until its code merges on the implemented target with a green run — the invariant being that promoted specs describe what the code does. No `Realized:` line is added for exactly that reason; adding one now would be the lie the gate exists to prevent. One consequence worth stating: the topic's material already moved into this change's `supporting-docs/`, so if this were ever demoted, the round-trip rule this very change defines is what brings it back. The contract's first real test would be its own demotion. Gates: `openspec validate add-staged-topic-outline-template --strict` valid; `--all --strict` 61 passed / 0 failed; doc-health 0 new regressions. Co-Authored-By: Claude Opus 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 ✨
There was a problem hiding this comment.
Pull request overview
Ratifies the OpenSpec change add-staged-topic-outline-template as an approved-but-unrealized contract, while explicitly documenting that its declared code surface is not yet implemented (so the change remains ACTIVE under the release-realization archive gate).
Changes:
- Updates proposal front-matter
Status:fromdrafttoratifiedand records the in-session ratification note. - Adds an explicit “APPROVED BUT NOT YET REALIZED” banner describing the still-unbuilt code surface and why no
Realized:line is present.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| target_release: implemented | ||
| Status: draft | ||
| Status: ratified | ||
| Ratified: 2026-08-15 by Brett Heap — in-session, verbatim: "ratify add-staged-topic-outline-template". Follows his acceptance of all five open questions as recommended earlier the same day, which closed the parallel decision track this change was sequenced for. |
brettheap
pushed a commit
that referenced
this pull request
Sep 1, 2026
…e pending The packet described the origin ruling record (cpc-clearing-boundary-ruling-2026-09-01.md) as a forward reference that still had to be written, pushed, and merged. It has since been written and pushed as opensoft/xFactory PR #192 (branch record/cpc-clearing-boundary-ruling, head 5b6a9fdf). Update .openspec.yaml, proposal.md, and tasks.md to name the PR and state that only the merge is pending Brett's word, with ratification still gated on that merge. Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap
pushed a commit
that referenced
this pull request
Sep 1, 2026
Brett Heap (repository owner) ratified this packet in-session on 2026-09-01, verbatim: "merge #192 and ratify #555". The origin record's pull request, opensoft/xFactory#192, merged the same moment at faee7a96ae6e06c15b6c2122947c62356e96f71d (2026-09-01T11:47:21Z), discharging tasks.md 2.3's gate on the origin record's provenance. Status: ratified, with the Ratified: line and record filed at review/ratification-2026-09-01.md. Ratification authorizes realization (xFactory PR #191, the post-ratification contracts/clearing/ artifacts at their own cut, and the operator console acts at tasks.md 4) and performs none of it. No contract byte moves with this act, and #555's own merge stays gated on the inherited pytest-suite failure recorded at tasks.md 9.2. Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 2, 2026
…, and the machinery that keeps it one (draft) (#555) * Propose add-clearing-dispatch-boundary: one door to the governed host, and the machinery that keeps it one (draft) A job sat queued for eighteen hours because the door held. Run 33381257642, a codexFactory-path council smoke, targeted a runner group that admits the codexFactory repository but lists only xFactory workflow paths, so no runner could ever claim it. Nothing executed ungoverned — the right outcome, produced by a configuration nobody had written down, which is one console edit away from not existing with nothing reporting that it had stopped. So the boundary becomes a contract. Origin is Brett Heap's operator ruling of 2026-09-01 (xFactory/cpc-clearing-boundary-ruling-2026-09-01.md) plus his option-1 supersession the same day: no per-path allowlist addition for the readiness test, which becomes the clearing lane's FIRST OPERATION; the allowlist converges to ONE PERMANENT ENTRY PER GROUP, added once; PR #188's standalone diagnostic workflow retires into that operation. TEN ADDED requirements over 41 scenarios in a new neutral capability, organized as the five enforcement layers ruled in the same session: the SINGLE DOOR, with every host job living physically inside the clearing workflow file because the provider evaluates the allowlist against the file that CONTAINS the job — so no reusable-workflow indirection, ever; the SEALED BOUNDED REQUEST and its ten declared fields on a short-lived job object rather than a committed folder of copied data; API-SIDE VERIFICATION that never trusts a field from inside the bundle, with the verifiable / merely-policy-checked split stated so "verified" is never applied to a field nothing could verify; ONE SANCTIONED PRODUCER EXIT, the boundary RE-SEALING so the host never holds a credential scoped to the originating repository; hosted validation of returned output before any repository effect; the CLOSED permitted-operations register with readiness-diagnostic as entry #1; ROUTE RETIREMENT, with a grandfather enumeration of the nine existing worker workflows that is append-never and shrink-only; the AUTHORING-TIME GUARD, structural rather than a text search because the estate already contains the case that proves it — two `concurrency: group: xfactory-artifact-worker` declarations one character off a runner group's name; and the DISPATCH LEDGER plus a periodic SINGLE-DOOR ATTESTATION, since the ledger's completeness claim is true only while the door is single. The residual dependence on console-side settings the estate cannot version is declared, not assumed away. TEXT ONLY. No contract byte, no workflow, no console act, no runner. The declared code surface — the xFactory clearing-dispatch.yml lane, the retirement of runner-readiness-diagnostic.yml, the guard, and the future contracts/clearing/ family — realizes POST-RATIFICATION at its own additive cut, and the two cuts ahead are already claimed by the in-flight chain-attestation and chain-anchoring realizations, so this packet spends no number. Ratification authorizes realization and does not perform it. Validation: `openspec validate add-clearing-dispatch-boundary --strict` and `--all --strict` both green (80 passed, 0 failed); doc-health proposal-origin, status-validity, duplicate-packet and location-conformance clean, and the full single-repo run adds no finding and no regression. Co-Authored-By: Claude Fable 5 <[email protected]> * Answer the adversarial round: three requirements named as extensions, and an attestation given a definition that can be green Discharges the adversarial review's P1-1..P1-5, P2-1..P2-5 and P3-1..P3-6 on PR #555. Text only; the packet still authors no contract byte. P1-1 PROVENANCE HONESTY. The proposal claimed "Every requirement below traces to it; nothing below extends it." That was FALSE for three of the ten. Replaced with a per-requirement split, because a bulk claim in either direction would have been imprecise: requirements 1-7 trace to the written ruling; requirement 8 GENERALIZES the single retirement the record names verbatim ("PR #188's standalone workflow is retired into the clearing operation"); requirement 9, the authoring-time guard, is WHOLLY ABSENT from the record and is the largest of the three extensions; requirement 10's DISPATCH RECORD is written ("records the dispatch") while its PERIODIC ATTESTATION is not — the word appears nowhere in the record. All three were ruled the same session on "fold 1-5 in and fan out" and are carried as DECLARED EXTENSIONS. Mirrored in .openspec.yaml and the front matter. P1-2 ORIGIN VERIFIABILITY. The record is located accurately everywhere: committed to opensoft/xFactory at root as cpc-clearing-boundary-ruling-2026-09-01.md via a PR on branch record/cpc-clearing-boundary-ruling, merge PENDING BRETT'S WORD at authoring time. New tasks 2.3 gates ratification on that merge; new 2.4 asks that the three extensions be ratified AS extensions. P1-3 THE ATTESTATION COULD NOT HAVE BEEN GREEN, AND ITS PER-GROUP SET WAS ILL-DEFINED. The expected set is now computed PER GROUP — the clearing path UNION that group's enumerated members whose allowlist entry is `present` — because one estate-wide set reports every group as diverging from every other group's members and can never be green. The two divergence directions are split: an entry the expected set does not derive is a WIDENING and a single-door breach; an enumerated member with NO entry is already failing closed and is a DARK-LANE DISPOSITION ITEM, not a breach. The grandfather enumeration moves out of the guard's test module into the governed data file .github/clearing/grandfather-enumeration.yaml, read by BOTH consumers, each member carrying workflow filename, governed group, host job ids and allowlist-entry status — the group attribution is what makes the per-group set computable and the status is what keeps a dark lane from reading as a breach. Seeded with the measured reality (group 7: one entry; group 5: six; review-lane and ideation-organizer `absent`). Tasks 7.1 states what the FIRST run is expected to report: zero allowlist widenings, two dark lanes, two not-yet-converged notices, and exactly ONE open widening — group 5's codexFactory admission, which task 4.3 closes. The ledger's completeness claim is now stated at two strengths, before and after the operator acts. P1-4 R9 ASSERTED CAPABILITIES THAT DO NOT EXIST. Measured: NONE of opensoft/xFactory's five active rulesets declares required_status_checks. New operator act 4.5 creates one naming `validate`, and records the residual that ruleset 18962101's bypass_actors (OrganizationAdmin, mode always) leaves even a required check operator-bypassable. The expression refusal is tightened from "unresolvable expression" to ANY expression in the runs-on group position, because the weaker form invites an evaluator inside the guard. The append-refusal is restated as what it is: a frozen ORIGIN subset assertion, which makes an append VISIBLE rather than impossible, backed by review of any diff touching the enumeration or the guard — an in-repo guard can be edited, and the spec no longer implies otherwise. P1-5 LEDGER VS THE REALIZATION. For a bundle-less operation the record carries the register entry's DECLARED handling class and each lane's DECLARED group and label; observed group membership is attested by L5, never self-reported by the runner. Tasks 3.5 names the fields opensoft/xFactory#191 emits verbatim, and the refusal-ground enumeration is seeded closed with unregistered_operation and unknown_lane_selector. P2-1 worker-enrollment-broker named RATIFIED-BUT-UNPROMOTED (an active change under openspec/changes/, realized at contract-v1.29) in both the proposal and design D8, rather than promoted. P2-2 Report carrier settled: lane jobs forward facts as job outputs and an operation-report job COMPOSES the single report of record; spec R7 admits a composed report, tasks 6.3 describes that artifact and 5.1/5.2 name the harvester. P2-3 The producer's dispatch credential is scoped to dispatching the clearing workflow alone, with the honest residual: a compromised producer can still dispatch REGISTERED operations, and the closed register plus per-operation constraints are the containment — not the credential's scope. P2-4 The no-secrets/no-token-scopes constraints are scoped to the OPERATION CLASS, not to the clearing workflow forever; the clearing side gains its admission credential at the first bundle-carrying operation. P2-5 New task 3.7 carries the interim register explicitly: until 6.2's registry instance exists the register is the workflow's choice list plus the guard's constant — exactly the workflow-edit surface R6 forbids — and the workflow must validate against the instance once it lands. P3-1 tasks 5.3 cited "the design's declared svc-omniworker"; the design declares none. Now cites cloudpc-worker-handoff-prompt.md at the root of opensoft/xFactory, verified present, which specifies .\svc-omniworker. P3-2 Every bare #188 qualified as opensoft/xFactory#188 (and #528 as #528). P3-3 R1's convergence scenario is stated as expected-false until operator task 4.1 lands, in the spec and in 4.1 itself, so the first attestation run is not misread as a breach. P3-4 R7's probe REPORTS the lane's DECLARED group and label — the provider exposes no runner-group context to a job — with actual membership attested by L5. P3-5 The jobs-in-the-clearing-file rule is rephrased as the provider-neutral property (the host-touching job is declared in the artifact the provider evaluates its allowlist against), with the workflow file named as the realization; design D2 keeps the GitHub-specific evidence. P3-6 The label hazard is SYMMETRIC and now says so: the artifact runner also carries `artifact-only` AND `rider`, so neither label discriminates the lanes in either direction. Tasks 5.3's verbatim coding-runner label set stays. BLOCKER OF RECORD, recorded in tasks 9.2 rather than left as an implied green: #555's required pytest-suite check is RED from an INHERITED main failure — tests/doc-health/test_modified_block_currency_self_gate.py, newly-unnamed subject ('add-chain-attestation', 'signed-execution-chain', 'A gate validates the short chain as a hash-linked chain'), reproduced on origin/main b7dc590. This packet's spec delta is ADDED-ONLY and carries no MODIFIED block, so it cannot contribute a carriage-ledger subject; the failure is owned by the in-flight add-chain-attestation realization lane. MERGE WAITS on that lane's resolution; ratification does not. Verification: `openspec validate add-clearing-dispatch-boundary --strict` and `--all --strict` (80 passed, 0 failed) both green. doc-health single-repo run exits 0 with ZERO findings naming this packet and 0 new regressions. Co-Authored-By: Claude Fable 5 <[email protected]> * Say the origin record is a FORWARD REFERENCE, because measured it does not exist yet P1-2 asked that the packet locate the origin record accurately. The previous commit wrote it as a pull request awaiting Brett's word, which still implied something a reader could open. Measured against the provider API at this commit, it is not: - `opensoft/xFactory` branch `record/cpc-clearing-boundary-ruling` — 404, not present on the remote. - pull requests with that head branch, any state — none. - `cpc-clearing-boundary-ruling-2026-09-01.md` at the root of `main` — 404. So the record still has to be WRITTEN, PUSHED and MERGED, and every place the packet cites it now says so and calls the citation a FORWARD REFERENCE rather than a path: `proposal.md` ("Why" and the front-matter Origin line), `.openspec.yaml`, the README index entry, and tasks 2.3 — which changes from a "confirm the merge landed" item into a "the record does not exist yet, confirm all three steps" one. This matters more than the wording usually would, because requirements 8-10 are DECLARED EXTENSIONS whose only provenance is that record's append-only addendum. Until it lands, none of their provenance can be opened by anyone, and the packet should not read as though it could. `openspec validate add-clearing-dispatch-boundary --strict` valid; `--all --strict` 82 passed, 0 failed. Co-Authored-By: Claude Fable 5 <[email protected]> * Name the origin record's PR: written and pushed as xFactory#192, merge pending The packet described the origin ruling record (cpc-clearing-boundary-ruling-2026-09-01.md) as a forward reference that still had to be written, pushed, and merged. It has since been written and pushed as opensoft/xFactory PR #192 (branch record/cpc-clearing-boundary-ruling, head 5b6a9fdf). Update .openspec.yaml, proposal.md, and tasks.md to name the PR and state that only the merge is pending Brett's word, with ratification still gated on that merge. Co-Authored-By: Claude Fable 5 <[email protected]> * Ratify add-clearing-dispatch-boundary at 15b14bb Brett Heap (repository owner) ratified this packet in-session on 2026-09-01, verbatim: "merge #192 and ratify #555". The origin record's pull request, opensoft/xFactory#192, merged the same moment at faee7a96ae6e06c15b6c2122947c62356e96f71d (2026-09-01T11:47:21Z), discharging tasks.md 2.3's gate on the origin record's provenance. Status: ratified, with the Ratified: line and record filed at review/ratification-2026-09-01.md. Ratification authorizes realization (xFactory PR #191, the post-ratification contracts/clearing/ artifacts at their own cut, and the operator console acts at tasks.md 4) and performs none of it. No contract byte moves with this act, and #555's own merge stays gated on the inherited pytest-suite failure recorded at tasks.md 9.2. Co-Authored-By: Claude Fable 5 <[email protected]> * File the first readiness dispatch evidence: two gaps closed, one carried, a topology finding opened opensoft/xFactory run 33512287539 dispatched readiness-diagnostic through clearing-dispatch.yml on both lanes and ran green — the first operation ever through the clearing door. review/readiness-evidence-2026-09-01.md records the three preceding console acts (§4.1/4.3/4.4/4.5, verified against the provider API), the dispatch itself, and the per-gap disposition: the coding lane's isolated round trip and the artifact lane's service account both CLOSED with the report lines quoted; the artifact-only label hazard STILL OPEN. tasks.md §4 and §5 mark the discharged items done with dated pointers to the record. Two obligations that had no existing checkbox get one rather than staying recorded only in prose: §4.6 for the mislabeled runners, and §4.7 for the same-host topology the reports exposed (both lanes are two services on one Cloud PC, not two machines) — an operator decision, not a defect this record closes on its own. spec.md is untouched. Co-Authored-By: Claude Fable 5 <[email protected]> * File the operator's §4.7 and §8.3 rulings; annotate §4.6 Co-Authored-By: Claude Fable 5 <[email protected]> * Supersede §4.6 on the admin's read-back: artifact-only is contract-required, rider migrates via xFactory#195 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW * Bring the packet current with main and record the inherited red's full history (§9.2) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW * Move the sequenced_after live pin for the change id this packet adds (152→153) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brett ratified in session (verbatim: "ratify add-staged-topic-outline-template"),
following his acceptance of all five open questions as recommended earlier the
same day — which closed the parallel decision track this change was sequenced
for under his 2026-08-15 ruling.
What is now ratified is the CONTRACT: a staged topic's primary fragment carries
a required template, every open question carries Context / Recommended answer /
Explanation / Disposition status in fixed order so a question is never recorded
bare, sections added by a human or an AI carry
Added-by:provenance, and — theload-bearing clause — a topic demoted from proposal carries the ACTUAL
last-attempted
proposal.mdtext rather than resetting to its aspirationaloriginal.
A BANNER SAYS IT IS NOT BUILT, deliberately and in the proposal itself rather
than only in a ledger. The code surface is non-empty and none of it exists yet:
the outline tab does not render the template, there is no add-section
affordance,
fragmentSummary()has no conforming-topic path, and doc-health hasno conformance nudge. Under
release-realization's archive gate the changestays ACTIVE as approved-but-unrealized intent until its code merges on the
implemented target with a green run — the invariant being that promoted specs
describe what the code does. No
Realized:line is added for exactly thatreason; adding one now would be the lie the gate exists to prevent.
One consequence worth stating: the topic's material already moved into this
change's
supporting-docs/, so if this were ever demoted, the round-trip rulethis very change defines is what brings it back. The contract's first real test
would be its own demotion.
Gates:
openspec validate add-staged-topic-outline-template --strictvalid;--all --strict61 passed / 0 failed; doc-health 0 new regressions.Co-Authored-By: Claude Opus 5 [email protected]
🤖 Generated with Claude Code