You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
T007 batch L: record #1144's 4.3 addendum on what /capabilities claims (5920216845) - #1212
This PR is bookkeeping only (T007 batch L). It records Brett Heap's multi-choice word of 2026-09-30 on #656 comment 5920216845 in #1144 (add-neutral-product-standalone-operability), and carries the plan-034 lines that follow from it. Plan 034 was read at main39f19145, which is batch K (#1210).
Item 1: what /capabilities claims (the #1144 amendment)
Brett chose "Fix in T084 + #1144 note (Recommended)".
The finding, measured at openDox-code main047bb4fa over a standalone serve of the plain fixture:
/capabilities answers actions.gate and actions.refresh true.
Every POST /actions/gate/<verb> and POST /actions/refresh answers 404 unknown_action.
The gate flag follows the checkout's git identity alone (serve.py:529 and :533, in compute_capabilities at :464, called at :1957). The route bindings the assembly collected at :1900 are never passed to it.
Three late reaches into openXdox end a request with a dropped connection (RemoteDisconnected), because nothing contributes the names they import: serve_workbench.py:1219 (model approval) and :2611 (document abstract), and serve_project.py:271 (the project register).
Where it goes. It is an AMENDED — T007 Batch L addendum at box 4.3, after batch A's and batch G's addenda. T084 realizes 4.3, and the three crash sites are three of 4.3's nineteen reaches into openXdox. No requirement or scenario text says a standalone plane offers gate actions, so nothing ratified is contradicted. That makes this a task-line addendum like batches A to J, not a spec-delta note like batch K's.
The rule it records:
A flag in the actions map whose affordance is a route this server serves is true only where such a route answers.
gate and refresh govern routes a host contributes through the route bindings (/actions/gate/<verb> and /actions/refresh). So each is true only when the assembled bindings carry a route it governs. Standalone, both read false, and a composed host that contributes them reads exactly as today.
The workbench's session controls read actions.gate (sessionActionsLive, web/views/staging-workbench-model.js:1068), so a false gate standalone also hides session controls that no route answers. That is the half of the fix a user sees.
notebook, edit and session govern core routes, which answer standalone (400 or 403, never unknown_action), and they keep their conditions. intent governs a POST to another plane's intent API, a route that plane answers and this server does not serve, so its condition (the served plane) stands under the same rule.
Each of the three crash sites answers through its seam, from openDox's default where one serves the request (batch G's addendum), or else with a structured refusal that names the seam. That is 4.2's discipline: never a dropped connection.
The realization's named test carries the check both ways, over a standalone server and over a composed host whose other conditions hold. It asserts that gate and refresh read false standalone and true on the composed host, and that each follows its own routes: a gate-only host and a refresh-only host set only their own flag. Then it asserts that every true actions key has a route it governs that does not answer unknown_action, so a plane that switched every flag off fails it.
Items 2 and 3 (plan only)
Item 2, "Move into openDox's validator (Recommended)". T085 moves T058's two workbench-manifest rules into opendox.validator under the ideation-workbench kind, with ids that state what must hold, as the validator's other rules do. The ids are the holder's:
workbench-pinned-not-checked becomes pinned-keywords-are-checked: every pinned keyword is a checked one;
workbench-candidate-overlap becomes new-candidates-are-disjoint: no new candidate is a member or excluded.
The old ids survive only as the tests' before-state, with no alias.
Item 3, "Show every rule, grouped (Recommended)". T084 makes cli._report_non_conformance (cli.py:481) print each broken rule id once, with its count, instead of the last 20 lines of the validator's output (:490). T084 already ends cli.py's phase-3 single-writer order (T070 → T084), so no task number is added. The holder confirmed this home. No File add-neutral-product-standalone-operability: open the BUILD arc, recording ten rulings #1144 line, because F7.2 asserts only that the fixture's rule id is printed (grep -qF -- "$RULE" "$W/err"), which stays true.
Plan 034
T084:
capability honesty: pass route_bindings into compute_capabilities, so gate and refresh are true only where a route they govern answers, and the session controls hide with gate;
the three crash sites answer cleanly. The document abstract's import moves below its step-one check, which reads session and gate (serve_workbench.py:2625). Model approval, whose only check reads session alone, and the project register, which has no check, are routed through their seams inside T084;
item 3's every-rule report;
named tests, both in P3-R's file list:
tests/test_capability_honesty.py (new), over T056's standalone child (tests/standalone_child.py) and over a composed host whose other conditions hold: gate and refresh read false standalone and true composed, each flag independently with a gate-only host and a refresh-only host, and no true actions key's route answers unknown_action;
in the same module, a standalone request to each of the three sites gets a structured answer or refusal, never RemoteDisconnected;
tests/test_rejection_report.py (new): the rejection output is grouped, with one rule broken several times and a second rule once, and each exact count asserted. It stays clear of tests/test_post_render_validator.py, which T085 edits;
After: gains T007 (batch L).
T085: item 2's move, and a test that opendox.validator reports the two new ids and default_projection checks neither. The P3-D row now owns tests/test_post_render_validator.py, which holds the old ids' assertions.
T007:
batch L's bullet, its Ruled: citation and its After, by batch line. That line names the landing it comes before by slice (P3-R's), because a task id in that field reads as a predecessor;
The rest of tasks.md: the dependency order, the phase-3 slice intro, the P3-R and P3-D rows, § Format ("twelve batches"), "What can start", and § "Ruled amendments" (its heading, intro, an L row and a closing sentence for items 2 and 3).
plan.md lists batches A to L, and its graph puts T084 after batch L.
Gates
All of these were run from this clone's root at 9b8d0ed6, against a fresh clone of main39f19145 of the same kind. Both clones sit in directories named openxFactory. The first four were re-run at every later head (02a9bbe3, 176fb1a9, 2ee8b376, 02aaf6d2 and bd9b44b7) with the same results.
validate-code-surface.py, validate-target-release.py, validate-document-catalog.py (0 errors, 0 warnings) and validate-pin-registrations.py.
The plan's consistency checks. The lane's persisted parser (brett-wip handoffs/xFactory/attachments/lane-opendox/r1plan/tools/aftergraph.py) is widened to batch L in brett-wip 86ae7042, in the same form as batch K's widening (18f6a1b2): BATCHES = "ABCDEFGHIJKL", every [A-K] made [A-L], plus its docstring and the README line.
The A–K parser reads main at 101 nodes and 223 edges. It reads this branch at 101 and 224, because it reads T007 (batch L) as all of T007.
The widened parser reads this branch at every head from 9b8d0ed6 to bd9b44b7 at 102 nodes and 225 edges, with no cycles, 0 chain gaps and 0 of 67 arrow mismatches. chaindirect reports 42 pairs, sharedfiles the 4 known phase-1 pairs, and qcheck 27 of 27.
The widened parser refuses main until this PR lands ("names no line for ['L']"), the same pattern as batch K's.
The diff:#1144's tasks.md takes 40 inserted lines and 0 removed. Plan 034's files take 128 inserted and 27 removed.
Review
Copilot at
verdict
threads
answered in
9b8d0ed6
Changes recommended
the project-register reach has no capability check to move behind (in #1144 and in plan 034); the openDox-owned rule ids are not named
02a9bbe3, on the holder's answers: each crash site's clean answer is defined, and the ids are named
02a9bbe3
Needs a closer look, no findings and no threads
two notes: intent's kept condition read as an exemption, and tests/test_post_render_validator.py had no owner between the parallel P3-D and P3-R slices
176fb1a9: intent's governed route is the other plane's intent API; T085 owns that test file, and T084's grouped-output test goes in a module of its own
176fb1a9
Needs a closer look, no findings and no threads
the capability test was one-sided, so an all-false plane would pass it
2ee8b376: it asserts gate and refresh false standalone and true composed before checking the routes
2ee8b376
Needs a closer look, no findings and no threads
the capability test named only its helper, and no slice owned its module
02aaf6d2: tests/test_capability_honesty.py (new), in T084's falsifier and in P3-R's files
02aaf6d2
Changes recommended
the flags were not proven independent of each other; the counts were not proven exact
bd9b44b7: gate-only and refresh-only hosts; one rule broken several times, with its exact count
Landing
It carries no Arc: trailer (R1Q20 (a)), and no commit or line of this body carries a closing keyword.
It touches openspec/changes/, so it lands under a Rule 6 LANDING/LANDED window. The holder lands it.
…s claims (T007 batch L)
Bookkeeping only (T007 batch L), on Brett Heap's multi-choice word of
2026-09-30 (#656 comment 5920216845).
- Item 1, "Fix in T084 + #1144 note (Recommended)": an addendum at 4.3,
after batch G's. A flag in the served /capabilities payload's actions
map whose affordance is a route this server serves is true only where
such a route answers. gate and refresh, whose routes a host contributes,
are true only when the assembled bindings carry one, so they read false
standalone (and the session controls that read actions.gate hide), and
a composed host reads as today. notebook, edit, session and intent keep
their conditions. The three late reaches that drop a connection
standalone refuse cleanly until routed, as 4.2 requires.
- Plan 034: T084 gains the fix, the crash sites, item 3's every-rule
report and their tests, and waits on batch L. T085 gains item 2 (T058's
two workbench-manifest rules move into opendox.validator under
openDox-owned ids). T007 lists batch L and records K's landing. The
dependency order, the phase-3 slice rows, Ruled amendments and plan.md
follow. Items 2 and 3 amend nothing in #1144.
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This bookkeeping-only PR records Brett Heap’s 5920216845 ruling as T007 batch L: it adds a #1144 4.3 amendment describing capability honesty and clean standalone refusals, assigns the related implementation to T084/T085, and updates plan dependency, landing, batch, and ruled-amendment metadata.
Sequence diagram for honest standalone capabilities
sequenceDiagram
participant Host
participant Serve as serve.py
participant Capabilities as compute_capabilities
participant Routes as route_bindings
participant Workbench as sessionActionsLive
Host->>Serve: assemble route bindings
Serve->>Capabilities: compute_capabilities(route_bindings)
Capabilities->>Routes: check governed gate and refresh routes
Routes-->>Capabilities: standalone: absent, composed host: present
Capabilities-->>Serve: actions.gate and actions.refresh
Serve-->>Host: /capabilities
Host->>Workbench: read actions.gate
Workbench-->>Host: hide session controls when gate is false
alt standalone
Host->>Serve: POST /actions/gate/<verb>
Serve-->>Host: 404 unknown_action
Host->>Serve: POST /actions/refresh
Serve-->>Host: 404 unknown_action
else composed host contributes routes
Host->>Serve: POST /actions/gate/<verb>
Serve-->>Host: governed route response
Host->>Serve: POST /actions/refresh
Serve-->>Host: governed route response
end
Loading
File-Level Changes
Change
Details
Files
Records the batch L amendment to #1144 and extends the plan’s ruled-amendment and landing bookkeeping.
Adds the 4.3 capability-honesty addendum based on ruling 5920216845.
Documents batch L’s status, ordering before T084, and K’s landed commit.
Extends batch-count, dependency, graph, phase-3 slice, and ruled-amendment references from A–K to A–L.
Trigger a new review: Comment @sourcery-ai review on the pull request.
Continue discussions: Reply directly to Sourcery's review comments.
Generate a GitHub issue from a review comment: Ask Sourcery to create an
issue from a review comment by replying to it. You can also reply to a
review comment with @sourcery-ai issue to create an issue from it.
Generate a pull request title: Write @sourcery-ai anywhere in the pull
request title to generate a title at any time. You can also comment @sourcery-ai title on the pull request to (re-)generate the title at any time.
Generate a pull request summary: Write @sourcery-ai summary anywhere in
the pull request body to generate a PR summary at any time exactly where you
want it. You can also comment @sourcery-ai summary on the pull request to
(re-)generate the summary at any time.
Generate reviewer's guide: Comment @sourcery-ai guide on the pull
request to (re-)generate the reviewer's guide at any time.
Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
pull request to resolve all Sourcery comments. Useful if you've already
addressed all the comments and don't want to see them anymore.
Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
request to dismiss all existing Sourcery reviews. Especially useful if you
want to start fresh with a new review - don't forget to comment @sourcery-ai review to trigger a new review!
…ule ids (Copilot on #1212)
Copilot's review at 9b8d0ed, with the holder's answers:
- "Behind its capability check" gave a clean refusal for one crash site
only. At 047bb4fa the document abstract's step-one check reads session
and gate, so its import moves below that check. Model approval's check
reads session alone, and the project register has no check at all. Both
are routed through their seams inside T084: openDox's default answers
where R1Q10 (a) gives one, and the seam refuses by name otherwise. 4.3's
note now says each of the three answers through its seam or with a
structured refusal (4.2), never a dropped connection, and T084's
falsifier sends a standalone request to each of the three.
- T085's openDox-owned ids are pinned-keywords-are-checked and
new-candidates-are-disjoint, under the ideation-workbench kind. The old
adapter ids survive only as the tests' before-state, with no alias.
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The cited ruling says T084 makes each action flag true only when a route actually answers it, but this exemption keeps intent on its existing not loopback predicate even though no route on this server answers it. That records a narrower contract than the linked ruling and leaves hosted /capabilities able to advertise an unverified action. Either define and test the other plane’s intent route as the governed route, or record an explicit ruling that cross-plane capabilities are exempt and scope the falsifier accordingly.
Missing test ownership and serialization for validator changes
This slice omits the test file that the rule move necessarily changes. At 047bb4fa, all assertions for the two old IDs are in tests/test_post_render_validator.py; T085 must update them, while T084’s new grouped rejection-output test naturally exercises the same suite. Because P3-D and P3-R are planned as parallel slices, leaving the suite unallocated permits conflicting writers. Add the test path and serialize T084/T085 for it, or assign the new coverage to explicitly separate test modules.
…wo test modules one owner each (Copilot on #1212)
Copilot's review at 02a9bbe ("Needs a closer look", no threads) read
intent's kept condition as an exemption from "each action flag". 4.3's
note and T084 now say intent governs a POST to another plane's intent API,
a route that plane answers, so its condition stands under the same rule.
It also noted that tests/test_post_render_validator.py had no owner
between the parallel P3-D and P3-R slices. It is T085's, and T084's
grouped-output test goes in tests/test_rejection_report.py (new).
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This named test only checks flags that happen to be true, so setting gate and refresh false in every assembly would satisfy it while breaking the preceding “composed host reads exactly as today” contract. Add explicit standalone-false and qualifying-composed-host-true assertions before checking that each true flag has an answering route.
Oracle must verify required capabilities before route honesty
The proposed oracle is one-sided: an implementation that sets every actions flag to false passes because the loop never checks a route. That would violate the adjacent requirement that a composed host retain today’s gate/refresh capabilities. Make the fixtures assert gate and refresh are false standalone and true in a composed host where their existing conditions hold, then run the route-honesty check.
…Copilot on #1212)
Copilot's review at 176fb1a ("Needs a closer look", no threads): the
named test checked only flags that read true, so switching every flag off
would pass it. 4.3's note and T084's falsifier now assert gate and refresh
false standalone and true on a composed host whose other conditions hold,
before checking that every true flag has an answering route.
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
T084 calls this a “named test,” but it names only the tests/standalone_child.py helper—not the test module or node that will contain the capability and three crash-site assertions. The P3-R file list likewise names only tests/test_rejection_report.py. Because these slice lists define file ownership, the main new regression test is currently neither directly runnable from the plan nor assigned to a writer; please name its test file/node and add that file to P3-R.
…lot on #1212)
Copilot's review at 2ee8b37 ("Needs a closer look", no threads): the
capability and crash-site test named only its helper. It is now
tests/test_capability_honesty.py (new) in T084's falsifier and in the P3-R
slice's files, beside tests/test_rejection_report.py.
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… (Copilot on #1212)
Copilot's review at 02aaf6d, two threads:
- a plane that set both gate and refresh whenever any route was
contributed would pass the standalone and composed cases. The test now
also runs a gate-only and a refresh-only host, and asserts each flag
independently. 4.3's note says each flag follows its own routes.
- a report that always printed count 1 would pass. The rejection test's
snapshot breaks one rule several times and a second rule once, and it
asserts each exact count.
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
READY at bd9b44b — batch L on Brett's word (#656 5920216845 item 1, "Fix in T084 + #1144 note"). Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
…, T058, T059, T061, T062 and T066 (plan 034) (#1214)
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
**Plan 034's bookkeeping, one PR with two parts.** It completes T008, and it ticks the phase-2 tasks that have landed since #1207, plus T066, on the coordinator's word that #1213 landed.
- **Bookkeeping only.** It edits three files: the staged topic `ideation/staging/doc-health-direction-arc/doc-health-direction-arc.md`, its row and detail section in `ideation/staging/INDEX.md`, and `specs/034-opendox-standalone-operation/tasks.md`. `git diff origin/main --stat -- openspec/` is empty, so there is no Rule 6 window.
- **No `Arc:` trailer** on any commit, and no closing keyword anywhere in a commit or in this body (both scanned).
- **Merged `main` in** at `80217a92` (#1213's landing), because #1213 also edited `tasks.md` (T064's text). The merge was clean, with no force-push. This PR leaves T064, T065 and T063 unticked and edits none of T064's lines.
## Part 1: T008, completed
T008 had two open requirements. The raise landed (#1173 → `0d48231b`), but the staged topic was captured before round 2 and still read R1Q24 and R1Q25 as open and outside its subject. Its claim 6 said closing the arc would leave the other exclusions "on their own tracks".
The topic now:
- **takes the two other classes** of openXdox-code's declared exclusion under R1Q24 (a), citing `5850003126`, with each file listed as `tests/declared_exclusion.yaml` holds it at openXdox-code `6a3b93b9` (65 files, three reasons):
- `status-exemption-rail`, 3 files, 87 red results: `test_doxbench_abstract_envelope.py`, `test_doxbench_packet.py`, `test_doxbench_turns.py`;
- `openxfactory-contracts`, 5 files, 75 red results: `test_doxbench_blank_reason.py`, `test_project_action_contracts.py`, `test_project_schema_election.py`, `test_validate_ideation_dashboard_contracts.py`, `test_wheel_action_contracts.py`;
- the lists are the same at T043's landing, openXdox-code#32 → `4610bca5`, where they were measured (I read `tests/declared_exclusion.yaml` at both commits and grouped its entries by reason);
- the two files with two reasons are named (`test_doxbench_packet.py`: `doc_health` and the rail; `test_doxbench_blank_reason.py`: `doc_health` and the contracts);
- **reads R1Q23 as answered (a)** and **R1Q25's consumer-schemas class as cleared** by T061 (`tests/test_snapshot.py` left the exclusion, 66 → 65). Claim 6, the intro, Q2, Q3, Q5 (now `ruled`, with the `5850003126` citation), the Exit path, and the INDEX row and detail no longer say the arc leaves those classes "on their own tracks". Closing requirement 9 for openXdox-code now needs the declaration to hold none of the three classes;
- **carries T061's list**, as bookkeeping, from openXdox-code#36's body § "For T008": seven excluded files that validate one of the kinds the narrowed validator gives up, each with its declared reason and its kinds (`ideation-workbench`, `project-register`, `workbench-model-catalog`, `workbench-chat-turn-v2`, `gate-intent`), plus the two "also" bullets of that section;
- **records what the arc's landing removes**: F9.1's help-tree `--deselect` (T007 batch J), the same `--deselect` in openXdox-code's required check, and the guard test beside it, with the two rulings quoted verbatim (`5859927858`, `5870594693`); and that **F9.2's box closes after the arc's landing**, which `5859927858` keeps unchanged.
**T008 is ticked.** Its tick means the raise and the record. The text says so, and that the arc itself is open: Q1 to Q4 and Q6 stay open, Q6 owes an owner or a task list, and "after T008" in the plan still means the arc's landing.
All added sections carry an `Added-by:` line, per the lifecycle's extensible-sections rule, and the `Status: staged` header is untouched.
## Part 2: ticks, each with its evidence
Every sha is the merge commit of the named PR, read from the forge with `gh pr view -R <repo> <n> --json mergeCommit`, then checked with `git rev-parse --short=8` in a bare clone of that repo.
| task | repo | landed | note |
|---|---|---|---|
| T055 | oDc | openDox-code#59 → `fa140875`; follow-up #70 → `75bd8703` | #70 confines the edit arm to the one resolved entry (no second lookup); it landed before T062 |
| T056 | oDc | openDox-code#66 → `a23e4224` | `flush=True` on the URL lines; F5.3 exits 1 at `fa8862cc`, 0 at the head; the squash message's three wrong shas are corrected on #66 (`5917853351`) |
| T058 | oDc | openDox-code#68 → `047bb4fa` | `opendox.validator` replaces the stand-in; F7.2 exits 1 before, 0 after |
| T059 | oXc | openXdox-code#35 → `839492d9` | the holder's REVISION of the registration path is recorded: T064 owes one host line |
| T061 | oXc | openXdox-code#36 → `6a3b93b9` | exclusion 66 → 65; twelve allow-list entries; F7.1 `2 passed`; F5.2 whole still shows T059's three ruled pre-arc reds |
| T062 | oD | openDox#16 → `d5098297` | code pin `2d116415` → `047bb4fa`; `make pins` reads `pins ok` |
| T066 | oxF | openxFactory#1213 → `80217a92` | a **non-arc** landing: no `Arc:` trailer on the squash (checked), nothing under `openspec/`; its tree equals the PR head `2cc8e926`'s; CI `selected=9335 passed=9329 skipped=6`, consumer gate 105/105/0 and 1480/1480/0 |
Where #1207 gave a bare PR and sha, these tasks also carry a short "Landed" bullet in `tasks.md`, each line drawn from the landed PR's own body.
**Left unticked:** T063, T064 and T065, which are in flight. Also untouched, and **not asked for here**: T007's text still reads "Batch L has not landed yet", though batch L landed as #1212 → `2140f5a7`. That belongs to the round that ticks T007.
## Validation
- **`python3 scripts/validate-openspec-cli-pin.py --all --strict`**, the pinned CLI, from the openxFactory root, at this head: rc 0, `Totals: 110 passed, 1 failed (111 items)`, `0 UNDISPOSITIONED failures`. The one failure is the accepted exception for `add-chain-attestation` (Brett Heap, 2026-09-05), and `main` gives the identical summary.
- **doc-health `--single-repo`**, same clone, `main` `80217a92` against this head: findings identical, 31 critical, 22 error, 54 warning, 21 info, 0 new regressions. The reports differ only in the governance word count (964038 → 965688) and the staged words (164361 → 166011). No finding names the staged topic or plan 034.
- **The plan-graph parser** (`aftergraph.py`, from a read-only clone of brett-wip, with `depcheck.py`, `chaincheck.py`, `arrowcheck.py` and `phasecover.py` over it), on this branch: 90 tasks, 102 nodes, 225 edges, `cycles: none` (also with the Lands-with groups merged), `single-writer chain gaps: 0`, `arrow mismatches: 0` (67 arrows), and `phasecover` reports no gap. `main`'s output is identical.
- **Tests that read staging docs.** `tests/doc-health/test_ideation_readiness.py` and `test_families.py`: 89 passed, 3 failed on this branch, and the same 3 failed on `main` in the same clone (`validator exited 2 (harness error)`, a checkout without the `openDox`/`openXdox` gitlinks materialized). `tests/ideation-dashboard` needs those gitlinks and was not run; this PR touches no code.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…1218)
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
**Plan 034 T063, phase 2's checkpoint.** This PR runs every check T063 names, at the commits phase 2 pinned, and quotes each one.
- Every check passes except F5.2, which is red on three pre-arc carve-residue tests of one suite.
- Brett Heap ruled on those three at this checkpoint (`5962785556`, item 1). F5.2 is quoted red, **T063 is ticked, and phase 2 closes with this PR.** T086 repairs the three, and F5.2's box closes at T089.
- This PR is bookkeeping, so it carries no `Arc:` trailer (R1Q20 (a), `5817152735`; T091). Claim: #656 comment `5962431234`.
Ruled, as T063 cites: R1Q23 (a), R1Q25 (b), `5850003126`; R1Q27 (a), `5851950767`; `5916000030`, item 4. F5.2's close: `5962785556`, item 1.
**No Rule 6 window.** This PR touches nothing under `openspec/changes/`.
- T049's PR (#1204) did touch #1144, because its checkpoint found two facts that made T007 batch E's record in #1144's `tasks.md` wrong. One was a case filed in the wrong suite; the other was a held-out case that had since landed (#1203). So it made two one-sentence corrections there.
- This checkpoint finds no record in #1144 that is wrong. The batch C, F, G, I and K texts are what the runs exercise.
- The ruling keeps #1144's text unchanged ("Plan 034 records the move. #1144's text is unchanged."), so #1144's `tasks.md` is untouched.
The record is [`specs/034-opendox-standalone-operation/evidence/checkpoint-phase2.md`](specs/034-opendox-standalone-operation/evidence/checkpoint-phase2.md).
- Each falsifier in it was extracted byte for byte from #1144's `tasks.md` at `2656e8c2`. That file is identical at `9093fdee` and `1f670bc3`, sha256 `dbd52691…`.
- Each was run from a fresh clone of its leg at the pinned commit, with an empty `git status`, in the foreground.
## Verdict
| # | T063's check | where | result, quoted |
|---|---|---|---|
| 1 | F5.1 | openXdox-code `6a3b93b9`, openDox-code `047bb4fa` installed over it | **PASS**, exit 0. A marked re-run prints what it asserted: completion `implemented` in `short` and `label`, the neutral word `completed`, and the other five stages neutral. |
| 2 | F5.2, as batches C, F, G and K amend it, its last step passing `--chains` | openXdox-code `6a3b93b9`, openDox-code `047bb4fa`, with `OPENXFACTORY` at T064's landing `fcb45380` (and at `2656e8c2` before it) | **RED, AS RULED** (`5962785556`), exit 1, on `tests/test_session_snapshot.py` alone: `3 failed, 20 passed`. The steps `set -e` did not reach all pass: the six other suites (45, 18, 6, 40, 9 and 12 passed), `test -s` over eight arc landings, and the `--chains` step, which prints `ok: 4 protected edit(s), each entered and holding`. |
| 3 | F5.3 | openDox-code `047bb4fa` | **PASS**, exit 0: `documents: 8` |
| 4 | F7.1, the second test read as batch I records R1Q27 (a) | openXdox-code `6a3b93b9` | **PASS**, exit 0: `2 passed` |
| 5 | F7.2 | openDox-code `047bb4fa` | **PASS**, exit 0. A marked re-run prints the refusal: `[title-and-summary-are-text] /documents/1/title: '' is shorter than 1`, by `opendox.validator` over its packaged copy |
| 6 | a standalone `generate-and-open` serving `tests/fixtures/plain-documents` | openDox-code `047bb4fa`, a plain install, short `OPENDOX_STATE_DIR` | **PASS**, exit 0. It serves `opendox-snapshot` with 8 documents, validated with 0 violations. `/index.html`, `/snapshot.json` and `/capabilities` answer; `/source/<doc>` is byte-identical; `/source/.git/config` gives 404. It stops on an interrupt with status 0, and the port is closed. |
| 7 | T065's interim F11.1 | openxFactory, `ARC_TIP` `fcb45380` | **PASS**: quoted from [`f11.1-phase2.txt`](specs/034-opendox-standalone-operation/evidence/f11.1-phase2.txt) (#1217 → `1f670bc3`), and re-run here with the same line, `requirement 1 holds: 0 note(s) annotated, every other path a declared surface (11.1)` |
## F5.2, red as ruled
The three reds:
- `test_a_new_serve_process_re_registers_the_session_at_startup`: `opendox.serve` has no `SNAPSHOT_INDEX_ROUTE`.
- `test_a_session_key_is_validated_against_the_roster_before_url_composition`: the node probe cannot find `./display.js`.
- `test_the_hosted_session_arrival_path_is_recorded_and_not_built`: `IndexError`, because `_handle_refresh_action` is not on openXdox's serve surface.
They are the three that openXdox-code#35's body records as ruled (a), item 6, and they are the same at `2656e8c2` and `fcb45380`.
RULED `5962785556` (Brett Heap, 2026-10-02, item 1, *"Fix in T086, close at phase 3 (Recommended)"*): *"T063 quotes F5.2 red, names the three tests, and is ticked, so phase 2 closes. T086, openXdox-code's phase-3 landing, repairs the three tests under R1Q7 (a)'s allow-list. F5.2's box closes at phase 3's checkpoint (T089), so the pins move only once more, at T094. Plan 034 records the move. #1144's text is unchanged."*
What this PR records, in plan 034 only:
- **`tasks.md`.**
- T063 is ticked, and its run bullet quotes the ruling.
- T086 gains the three repairs, each its own R1Q7 (a) allow-list entry. F5.2 whole joins its Falsifier, and `5962785556` joins its Ruled line. Its Realizes line gains F5.2 (with T089).
- T089 runs and quotes F5.2 whole, and gains a Ruled line.
- Group 5's box map reads `F5.2 → T086, T089 (T063 quotes it red; RULED 5962785556 moves its close to phase 3)`, in F9.2's form.
- The P3-X and both checkpoint slice rows follow.
- **`plan.md`.** F5.2 leaves phase 2's closes for phase 3's, and phase 3's exit gains it. The R1Q23 paragraph says F5.2 runs in phase 2 and closes at T089.
- **`spec.md`.** US2's and US4's independent tests, SC-002 (F5.2 quoted red until T086) and SC-003 (F5.2 exits 0 at phase 3's exit).
- **The box split does not change: 62 / 1 / 1 / 1 / 4.** F9.2 left release 1's tasks, so it has its own class row. F5.2 still closes inside release 1 (T086, T089), so it stays in the 62 that T097 ticks. Only its closing tasks move. Group 5 still counts 12, and SC-006's 64 (62 by T097) stands.
## The holder's other decisions this PR applies
1. **T092's phase-2 notes ride here.** This is decision (b) of 2026-09-30, recorded in T064's PR (#1215), and follows T049's precedent.
- There are three `edits[].note`s on three rows of `docs/opendox-carve-manifest.yaml`: `branch_session.py` `edits[0]` and `cli.py` `edits[0]` are added, and `serve.py` `edits[0]`'s phase-1 note is extended.
- They cover the eight reaches into openXdox that T055 closed (openDox-code#59 → `fa140875`). F4.1's scan drops 19 → 11 at that landing and nowhere else in `2d116415..047bb4fa`.
- Each reach was rewritten at the carve, so it sits in a one-line `difflib` `replace` block against its carve line. That carve line is in exactly one `import rewrites` entry, whose note records the close.
- F11.1's content rule holds, run with T049's script byte for byte: `3 note(s) annotated, nothing else in the manifest moved`.
- `validate-carve-manifest.py` prints OK, with 456 rows.
- **They match the T064 writer's mapping** (`T092-phase2-notes.md`) entry for entry: the same eight reaches, carve lines (1555, 2092, 2138, 2215, 3560; 577; 534, 1639), entries and landing. The only difference is the reference numbering. That mapping cites the reaches at `2d116415` (`cli.py:628`, `serve.py:648` and `:2118`). These notes cite them at `1e4a57fb` (`:610`, `:629` and `:1993`), where #1144 names them, as T049's did.
2. **T065's output is quoted from its landed record.** #1217 landed as `1f670bc3`, and this branch merged `main` (`55410016`). § 7 links the file, which is byte-identical to the copy at #1217's head `69ab396d`.
3. **T059's stale clause is corrected.** In T059's registration-path bullet, "so that T064 needs no host line (openDox-code#54)", was the reading of 2026-09-27, revised at T059's landing. It now says T064 owed one host line, and that openxFactory#1215 → `fcb45380` carries it.
## What changed (6 files)
- `specs/034-opendox-standalone-operation/evidence/checkpoint-phase2.md`: new, `Status: record`. It is linked from the feature 034 entry in `README.md`, beside T065's F11.1 record, and from `plan.md`'s evidence tree.
- `docs/opendox-carve-manifest.yaml`: T092's three notes.
- `specs/034-opendox-standalone-operation/tasks.md`:
- T063 ticked; T086, T089, the box map and the slice rows, as above; T092's record line; T059's clause.
- **T007's stale batch-L text**, in four places: batch L landed as #1212 → `2140f5a7`, and "Batch L has not landed yet" and "It is open for batch L" are gone.
- **T007 is not ticked.** Its text names twelve batches, A to L, and before this PR said the bookkeeping after L "ticks T007 again". But Brett's `5962785556`, item 2 (*"Trust per machine (Recommended)"*), rules a batch M, which T007 records, and a new phase-3 task, T100. T007 now says so, and that this plan lists neither yet.
- `specs/034-opendox-standalone-operation/plan.md` and `spec.md`: F5.2's move, as above, and the evidence tree.
- `README.md`: the checkpoint link.
## Validation, at the merged head against `main` `1f670bc3`
- **`python3 scripts/validate-openspec-cli-pin.py --all --strict`** (pinned CLI 1.12.0): rc 0, `Totals: 110 passed, 1 failed (111 items)`, `0 UNDISPOSITIONED failures`. The one failure is the accepted `add-chain-attestation` exception, and `main` gives the identical summary.
- **doc-health `--single-repo . --as-of 2026-10-02`**, in one clone, at `1f670bc3` and at `55410016`: **delta zero**. Both read `31 critical, 22 error, 64 warning, 20 info`, and the two reports are byte-identical. (A comparison against a clone named differently is not valid: a clone named `openxFactory` runs `register-lifecycle-consistency`, so its counts differ by the directory label alone.)
- **The plan-graph checks the T008 writer used.** These are `aftergraph.py`, `depcheck.py`, `chaincheck.py`, `arrowcheck.py`, `phasecover.py` and `sharedfiles.py`, from a read-only clone of brett-wip `main`. Their output is the same on this branch and on `1f670bc3`:
- 90 tasks, 102 nodes and 225 edges, with `cycles: none`;
- `single-writer chain gaps: 0`;
- `arrow mismatches: 0` (67 arrows);
- `phase 2 → T063: 17 tasks; not before the checkpoint: []`;
- the four known phase-1 shared-file pairs.
- Every 8-character sha in the record and the plan diff was checked with `git rev-parse --short=8` in its own repository.
## Review round 1 (`4fcc1c8f`)
Copilot's review of `4fcc1c8f` recommended changes, with two findings. Each has a reply and is resolved.
- **T065's evidence was unmerged** (`checkpoint-phase2.md`). #1217 has landed, `main` is merged in, and § 7 links the file.
- **"Mark T007 complete"** (`tasks.md`). Left open, with its text now naming the reason: `5962785556` item 2 rules a batch M for T007. Ticking T007 is the holder's act.
Host paths in the quotes are written `<workdir>`, and the user `<user>`. No closing keyword appears in this body or in any commit.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[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
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.
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
This PR is bookkeeping only (T007 batch L). It records Brett Heap's multi-choice word of 2026-09-30 on
#656comment5920216845in #1144 (add-neutral-product-standalone-operability), and carries the plan-034 lines that follow from it. Plan 034 was read atmain39f19145, which is batch K (#1210).Item 1: what
/capabilitiesclaims (the #1144 amendment)Brett chose "Fix in T084 + #1144 note (Recommended)".
The finding, measured at openDox-code
main047bb4faover a standalone serve of the plain fixture:/capabilitiesanswersactions.gateandactions.refreshtrue.POST /actions/gate/<verb>andPOST /actions/refreshanswers404 unknown_action.serve.py:529and:533, incompute_capabilitiesat:464, called at:1957). The route bindings the assembly collected at:1900are never passed to it.RemoteDisconnected), because nothing contributes the names they import:serve_workbench.py:1219(model approval) and:2611(document abstract), andserve_project.py:271(the project register).Where it goes. It is an
AMENDED — T007 Batch Laddendum at box 4.3, after batch A's and batch G's addenda. T084 realizes 4.3, and the three crash sites are three of 4.3's nineteen reaches into openXdox. No requirement or scenario text says a standalone plane offers gate actions, so nothing ratified is contradicted. That makes this a task-line addendum like batches A to J, not a spec-delta note like batch K's.The rule it records:
actionsmap whose affordance is a route this server serves is true only where such a route answers.gateandrefreshgovern routes a host contributes through the route bindings (/actions/gate/<verb>and/actions/refresh). So each is true only when the assembled bindings carry a route it governs. Standalone, both read false, and a composed host that contributes them reads exactly as today.actions.gate(sessionActionsLive,web/views/staging-workbench-model.js:1068), so a falsegatestandalone also hides session controls that no route answers. That is the half of the fix a user sees.notebook,editandsessiongovern core routes, which answer standalone (400 or 403, neverunknown_action), and they keep their conditions.intentgoverns a POST to another plane's intent API, a route that plane answers and this server does not serve, so its condition (the served plane) stands under the same rule.The realization's named test carries the check both ways, over a standalone server and over a composed host whose other conditions hold. It asserts that
gateandrefreshread false standalone and true on the composed host, and that each follows its own routes: a gate-only host and a refresh-only host set only their own flag. Then it asserts that every trueactionskey has a route it governs that does not answerunknown_action, so a plane that switched every flag off fails it.Items 2 and 3 (plan only)
Item 2, "Move into openDox's validator (Recommended)". T085 moves T058's two workbench-manifest rules into
opendox.validatorunder theideation-workbenchkind, with ids that state what must hold, as the validator's other rules do. The ids are the holder's:workbench-pinned-not-checkedbecomespinned-keywords-are-checked: every pinned keyword is a checked one;workbench-candidate-overlapbecomesnew-candidates-are-disjoint: no new candidate is a member or excluded.The old ids survive only as the tests' before-state, with no alias.
They currently sit in
default_projection'sWORKBENCH_RULESatdefault_projection.py:134, whose comment says they carry "the identifiers the consumer's script gave them". No File add-neutral-product-standalone-operability: open the BUILD arc, recording ten rulings #1144 line, because no File add-neutral-product-standalone-operability: open the BUILD arc, recording ten rulings #1144 falsifier names either id. They appear only in openDox-code'sdefault_projection.pyandtests/test_post_render_validator.py.Item 3, "Show every rule, grouped (Recommended)". T084 makes
cli._report_non_conformance(cli.py:481) print each broken rule id once, with its count, instead of the last 20 lines of the validator's output (:490). T084 already endscli.py's phase-3 single-writer order (T070 → T084), so no task number is added. The holder confirmed this home. No File add-neutral-product-standalone-operability: open the BUILD arc, recording ten rulings #1144 line, because F7.2 asserts only that the fixture's rule id is printed (grep -qF -- "$RULE" "$W/err"), which stays true.Plan 034
route_bindingsintocompute_capabilities, sogateandrefreshare true only where a route they govern answers, and the session controls hide withgate;sessionandgate(serve_workbench.py:2625). Model approval, whose only check readssessionalone, and the project register, which has no check, are routed through their seams inside T084;tests/test_capability_honesty.py(new), over T056's standalone child (tests/standalone_child.py) and over a composed host whose other conditions hold:gateandrefreshread false standalone and true composed, each flag independently with a gate-only host and a refresh-only host, and no trueactionskey's route answersunknown_action;RemoteDisconnected;tests/test_rejection_report.py(new): the rejection output is grouped, with one rule broken several times and a second rule once, and each exact count asserted. It stays clear oftests/test_post_render_validator.py, which T085 edits;After:gainsT007 (batch L).opendox.validatorreports the two new ids anddefault_projectionchecks neither. The P3-D row now ownstests/test_post_render_validator.py, which holds the old ids' assertions.Ruled:citation and itsAfter, by batchline. That line names the landing it comes before by slice (P3-R's), because a task id in that field reads as a predecessor;39f19145) in theLanded:line and on K's bullet;tasks.md: the dependency order, the phase-3 slice intro, the P3-R and P3-D rows, § Format ("twelve batches"), "What can start", and § "Ruled amendments" (its heading, intro, an L row and a closing sentence for items 2 and 3).plan.mdlists batches A to L, and its graph puts T084 after batch L.Gates
All of these were run from this clone's root at
9b8d0ed6, against a fresh clone ofmain39f19145of the same kind. Both clones sit in directories namedopenxFactory. The first four were re-run at every later head (02a9bbe3,176fb1a9,2ee8b376,02aaf6d2andbd9b44b7) with the same results.main39f191459b8d0ed6OPENSPEC_TELEMETRY=0 openspec validate add-neutral-product-standalone-operability --strictOPENSPEC_TELEMETRY=0 openspec validate --all --strict110 passed, 1 failed (111 items)add-chain-attestationpython3 scripts/validate-openspec-cli-pin.py --all0 UNDISPOSITIONED failures0 UNDISPOSITIONED failures, with 1 accepted exception (add-chain-attestation)python3 scripts/doc-health.py --single-repo . --as-of 2026-09-30box_census.pyover #1144'stasks.mdtotal 124total 124, with 104[ ], 11[x]and 9[~]. No box is addedAlso passing:
proposal-support.py … verify;validate-sequenced-after.py --ledger-diff(229 rows);validate-code-surface.py,validate-target-release.py,validate-document-catalog.py(0 errors, 0 warnings) andvalidate-pin-registrations.py.The plan's consistency checks. The lane's persisted parser (brett-wip
handoffs/xFactory/attachments/lane-opendox/r1plan/tools/aftergraph.py) is widened to batch L in brett-wip86ae7042, in the same form as batch K's widening (18f6a1b2):BATCHES = "ABCDEFGHIJKL", every[A-K]made[A-L], plus its docstring and the README line.mainat 101 nodes and 223 edges. It reads this branch at 101 and 224, because it readsT007 (batch L)as all of T007.9b8d0ed6tobd9b44b7at 102 nodes and 225 edges, with no cycles, 0 chain gaps and 0 of 67 arrow mismatches.chaindirectreports 42 pairs,sharedfilesthe 4 known phase-1 pairs, andqcheck27 of 27.mainuntil this PR lands ("names no line for ['L']"), the same pattern as batch K's.The diff: #1144's
tasks.mdtakes 40 inserted lines and 0 removed. Plan 034's files take 128 inserted and 27 removed.Review
9b8d0ed602a9bbe3, on the holder's answers: each crash site's clean answer is defined, and the ids are named02a9bbe3intent's kept condition read as an exemption, andtests/test_post_render_validator.pyhad no owner between the parallel P3-D and P3-R slices176fb1a9:intent's governed route is the other plane's intent API; T085 owns that test file, and T084's grouped-output test goes in a module of its own176fb1a92ee8b376: it assertsgateandrefreshfalse standalone and true composed before checking the routes2ee8b37602aaf6d2:tests/test_capability_honesty.py(new), in T084's falsifier and in P3-R's files02aaf6d2bd9b44b7: gate-only and refresh-only hosts; one rule broken several times, with its exact countLanding
Arc:trailer (R1Q20 (a)), and no commit or line of this body carries a closing keyword.openspec/changes/, so it lands under a Rule 6LANDING/LANDEDwindow. The holder lands it.CLAIMED on
#656: #656 (comment)🤖 Generated with Claude Code