Skip to content

T074: run F13.1 as batch H amends it, at openDox-code 90ac7033 (plan 034) - #1224

Merged
brettheap merged 7 commits into
mainfrom
bookkeeping/034-t074-f13-1-run
Oct 3, 2026
Merged

brettheap merged 7 commits into
mainfrom
bookkeeping/034-t074-f13-1-run

Conversation

@brettheap

@brettheap brettheap commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

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

Plan 034 T074: #1144's F13.1, run as T007 batch H amends it. This PR quotes that run (pip install ".[local]", with the local probe's OPENDOX_INSTALL_MODE=local standing as written), made at openDox-code main 90ac7033, T073's landing (openDox-code#72). T074's falsifier is "F13.1 itself, as amended. This task is that run, quoted in its PR."

No Rule 6 window. This PR touches nothing under openspec/changes/.

The record is specs/034-opendox-standalone-operation/evidence/f13.1-run.md.

  • F13.1 was extracted byte for byte from File add-neutral-product-standalone-operability: open the BUILD arc, recording ten rulings #1144's tasks.md at ec9308c8 (:2505-2604, sha256 47c9b4678d78…). Batch H's one amended line (:2632-2641) was then applied, and the diff from the text as written is exactly that line.
  • It was run under bash -x, from a fresh clone of openDox-code at 90ac7033, with an empty git status --porcelain --ignored, in a fresh venv, in the foreground. The environment was built with env -i: no host GIT_*, XF_*, PG* or OPENDOX_* variable was inherited, so no database and no broker were configured from outside, and LANG=C.UTF-8. The variables the run sets are F13.1's own:
    • OPENDOX_STATE_DIR, from mktemp -d;
    • the four fixture GIT_* identities;
    • OPENDOX_INSTALL_MODE, per command;
    • before the hosted probes, two dummy DSNs and OPENDOX_OIDC_AUDIENCE.
  • F13.1 makes its own OPENDOX_STATE_DIR with mktemp -d, under a TMPDIR in the user's own ~/.local/state, giving a 75-byte socket path. The record carries no host-absolute path (Principle IV). Ports 8080 to 8083 were checked free first.

Verdict: exit 0, every assertion in order

# F13.1's assertion result, quoted
1 LOCAL starts with no broker and no operator-supplied database PASS: database … (bundled, pid …, migrations applied now: ['0001', '0002']), validation: opendox-snapshot: 0 violations, and the readiness loop succeeds
2 the serving process reports its own install (/capabilities, 13.4a) PASS: "mode": "local", with data_dir and socket_dir under the fresh state directory
3 no TCP listener, read from /proc/net/tcp{,6} PASS
4 runtime status answers from the bundle, migrated PASS: "database": "reachable", applied_migrations ["0001", "0002"], pending_migrations []
5 LOCAL refuses --host 0.0.0.0, bounded PASS: exit 1, not 124, and the refusal reads "a LOCAL install binds LOOPBACK ONLY"
6 one dialect, and no collapsed DSN pair (load_settings) PASS: both refusals name what F13.1 asks. These are asserts in the block's in-process python step, with no exit status of their own
7 HOSTED with no issuer refuses, bounded PASS: exit 1, not 124, naming OPENDOX_OIDC_ISSUER
8 UNSET means hosted, and refuses the same way PASS: exit 1, not 124, naming OPENDOX_OIDC_ISSUER ("OPENDOX_INSTALL_MODE is unset, and unset means hosted")

What this PR records, in plan 034 only:

Review round 1 (Copilot at c5ed4703): both findings accepted, fixed in c005620c

  • r4173854122: the record carries no host-absolute path. The world-writable ancestor is described without its path, and the record no longer names the user. f10.1-run.md had the same phrase; it is fixed in T077: run F10.1 as batch H amends it, at openDox-code 8e377823 (plan 034) #1223 and merged here. The environment bullet now says no host variable was inherited, and it names F13.1's own exports.
  • r4173854164: T074's Landed bullet now says that only the three CLI refusals exit 1 and not 124. The SQLite and collapsed-pair checks are load_settings asserts, in a bullet of their own, and verdict row 6 says the same.
  • Both threads are answered and resolved.

Validation, at this head (1775205d) against main f261fefa

  • 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, as on main.
  • doc-health --single-repo . --as-of 2026-10-03, in one clone named openxFactory, at main f261fefa and at this branch: delta zero. Both read 31 critical, 22 error, 64 warning, 20 info, and the two reports are byte-identical.
  • The plan-graph checks are depcheck.py, chaincheck.py, arrowcheck.py, phasecover.py and sharedfiles.py. They come from a read-only clone of brett-wip main (300ba9bd) and were run narrowed to T007's batches A to M, as on T077: run F10.1 as batch H amends it, at openDox-code 8e377823 (plan 034) #1223. Their output is byte-identical on this branch and on main f261fefa: 96 tasks, 109 nodes, 267 edges, cycles: none, single-writer chain gaps: 0, arrow mismatches: 0, and phase 3 → T089: 29 tasks; not before the checkpoint: [].
  • Every 8-character sha in the record and the plan diff was checked with git rev-parse --short=8 in its own repository.

🤖 Generated with Claude Code

Summary by Sourcery

Record and link the completed standalone-operation validation runs for F13.1 and F10.1, marking the corresponding plan tasks as landed.

Enhancements:

  • Record the successful T074 F13.1 standalone-operation validation run at openDox-code 90ac7033, including local-mode startup, bundled datastore behavior, loopback enforcement, configuration validation, and hosted-mode refusal checks.
  • Add the T074 and T077 evidence records to the feature documentation and evidence inventory, and mark both tasks as landed.

Documentation:

  • Link the F10.1 and F13.1 evidence records from the feature README and plan documentation.

Tests:

  • Document the complete F13.1 execution and its passing assertions, including the amended local installation command and isolated environment.

brettheap and others added 2 commits October 3, 2026 15:54
…034)

Plan 034 T077 runs #1144's F10.1 as T007 batch H amends it, with
pip install ".[local]" and opendox generate-and-open --local. The task is
that run, quoted. On the holder's ruling of 2026-10-03, the run is quoted
in an openxFactory evidence file, in the form the phase checkpoints set
(T049 #1204, T063 #1218), and not in an empty-diff openDox-code PR.

- evidence/f10.1-run.md (new). F10.1 was extracted byte for byte from
  #1144's tasks.md at ec9308c (:1481-1504), with batch H's two lines
  (:1515-1527) applied. It was run from a fresh clone of openDox-code at
  8e377823 in a fresh venv, in an env -i environment, with
  OPENDOX_STATE_DIR under ~/.local/state (a 59-byte socket path) and port
  8080 checked free first. It exited 0:
  - the bundled PostgreSQL migrated ['0001', '0002'];
  - the snapshot validated with 0 violations;
  - the page served at / is byte-identical to src/opendox/web/index.html;
  - the bundled server was gone after the run.
  As a supplementary run, T075's fetch of every bundle file exited 0 with
  all 42 served.
- tasks.md: T077 is ticked, with a Landed bullet naming the evidence. No
  other task's lines change.
- README.md: the feature entry links the evidence.

This is bookkeeping, so it carries no Arc: trailer (R1Q20 (a)).

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

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…034)

Plan 034 T074 runs #1144's F13.1 as T007 batch H amends it, with
pip install ".[local]". The local probe's OPENDOX_INSTALL_MODE=local is the
same selection as --local. The task is that run, quoted. It is quoted in an
openxFactory evidence file in the checkpoints' form, on the holder's ruling
of 2026-10-03, as T077's F10.1 run is (stacked on that PR, whose README
line and evidence file this one extends and links).

- evidence/f13.1-run.md (new). F13.1 was extracted byte for byte from
  #1144's tasks.md at ec9308c (:2505-2604), with batch H's install line
  (:2632-2641) applied. It was run under bash -x from a fresh clone of
  openDox-code at 90ac7033 (T073's landing) in a fresh venv, in an env -i
  environment with no database or broker configured. Ports 8080-8083 were
  checked free first. It exited 0:
  - the bundled PostgreSQL migrated ['0001', '0002'];
  - the served install block reads mode local, with the bundle under the
    fresh state directory;
  - the bundled server holds no TCP listener in /proc/net/tcp{,6};
  - runtime status reads reachable, with no pending migration;
  - the loopback, dialect, collapse, hosted and default-hosted refusals
    each hold.
- tasks.md: T074 is ticked, with a Landed bullet naming the evidence. No
  other task's lines change.
- README.md: the feature entry links the evidence.

This is bookkeeping, so it carries no Arc: trailer (R1Q20 (a)).

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

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 3, 2026 16:02
@sourcery-ai

sourcery-ai Bot commented Oct 3, 2026

Copy link
Copy Markdown

Reviewer's Guide

This bookkeeping PR records a successful, reproducible T074 execution of the batch-H-amended F13.1 against openDox-code 90ac7033, documents all eight passing assertions and their provenance, marks T074 landed, and links the evidence from the feature README.

Sequence diagram for the F13.1 standalone operation verification

sequenceDiagram
    participant Runner
    participant LocalInstall
    participant Runtime
    participant ProcFS

    Runner->>LocalInstall: pip install ".[local]"
    Runner->>LocalInstall: start LOCAL install
    LocalInstall->>Runtime: apply migrations 0001, 0002
    Runtime-->>Runner: /capabilities mode local
    Runner->>ProcFS: read /proc/net/tcp and /proc/net/tcp6
    ProcFS-->>Runner: no TCP listener
    Runner->>Runtime: runtime status
    Runtime-->>Runner: database reachable, no pending migrations
    Runner->>LocalInstall: start with --host 0.0.0.0
    LocalInstall-->>Runner: refuse: LOOPBACK ONLY
    Runner->>LocalInstall: load_settings with invalid dialect or DSN pair
    LocalInstall-->>Runner: refuse
    Runner->>LocalInstall: start HOSTED without issuer
    LocalInstall-->>Runner: refuse: OPENDOX_OIDC_ISSUER
    Runner->>LocalInstall: start with OPENDOX_INSTALL_MODE unset
    LocalInstall-->>Runner: refuse: unset means hosted
Loading

File-Level Changes

Change Details Files
Added a complete, reproducible evidence record for the amended F13.1 batch-H run.
  • Captured the exact source and one-line pip install ".[local]" amendment, pinned openDox-code commit, clean environment, and execution setup.
  • Recorded exit-0 results for all eight assertions, including bundled PostgreSQL startup/migrations, serving capabilities, no TCP listener, runtime status, and configuration refusals.
  • Included the bash trace, assertion outputs, refusal messages, provenance details, and run observations.
specs/034-opendox-standalone-operation/evidence/f13.1-run.md
Marked T074 as landed and linked its evidence from the implementation plan.
  • Checked off T074 and added a Landed entry with the run commit, environment, successful assertions, and refusal outcomes.
specs/034-opendox-standalone-operation/tasks.md
Updated the feature README to expose the new T074 evidence record.
  • Appended the F13.1 run link to the feature's evidence list.
README.md

Tips and commands

Interacting with Sourcery

  • 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!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

This documentation-only update has only minor documentation corrections remaining, with no blocking findings.

Review effort: Balanced
Findings: 2 Low severity

Open (2)
What changed in this PR

Records the amended F13.1 verification at openDox-code 90ac7033 for standalone-operation plan 034.

Changes:

  • Adds the run script, trace, and assertion results.
  • Marks T074 complete with linked evidence.
  • Adds the evidence to the README index.
File Description
specs/​034-opendox-standalone-operation/​tasks.md Marks T074 complete and summarizes results.
specs/​034-opendox-standalone-operation/​evidence/​f13.1-run.md Records the amended F13.1 run and evidence.
README.md Links the new evidence record.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

brettheap and others added 3 commits October 3, 2026 18:10
Merged, never rebased. The merge is clean. #1221 touched T077's
neighbours in tasks.md and none of T077's lines.

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

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…an.md lists it (Copilot review)

Two Copilot findings on openxFactory#1223 at f163d09, and one more that
its review of #1224 raised against the same phrase. All three were
accepted by the holder.

- evidence/f10.1-run.md:
  - r4173831629: "no GIT_* … reached the run" overstated the isolation.
    It now says no HOST GIT_*, XF_*, PG* or OPENDOX_* variable was
    inherited. It also names the four fixture identities F10.1's own
    export line sets (GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL,
    GIT_COMMITTER_NAME, GIT_COMMITTER_EMAIL), which stay set while the
    server runs, as F10.1 is written.
  - No host-absolute path (constitution Principle IV, raised on #1224 as
    r4173854122). The state directory is written <state>, a directory
    under the user's ~/.local/state, in the prose and in both quoted
    "database" lines. The world-writable ancestor is described without
    its path.
- plan.md (r4173831666): the evidence tree lists f10.1-run.md, and the
  paragraph under it names T077 among the tasks that add records.

Gates at this tree, all equal to main dca40ca's: the pinned openspec gate
(rc 0, 110 passed, 1 accepted failure), doc-health (byte-identical
report) and the plan checks.

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

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
#1223 merged main dca40ca and took its Copilot fixes. Merged, never
rebased. This branch stays stacked on #1223's.

One conflict, in tasks.md. #1221 (via main) added T073's Landed block
directly above T074's first line, and this branch ticks that line. It
is resolved by keeping both: T073's Landed block as main has it, then
"- [x] T074". No other line differs.

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

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ed bullet splits the refusals; plan.md lists it (Copilot review)

Two Copilot findings on openxFactory#1224 at c5ed470, both accepted by
the holder. This commit follows the merge of #1223's head 23cb5be, which
carries the same two fixes for T077's record.

- evidence/f13.1-run.md (r4173854122): no host-absolute path (constitution
  Principle IV). The world-writable ancestor is now described without its
  path, and the record no longer names the user. The environment bullet says
  no HOST GIT_*, XF_*, PG* or OPENDOX_* variable was inherited. It names the
  variables F13.1 sets itself: OPENDOX_STATE_DIR from mktemp -d, the four
  fixture identities (GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, GIT_COMMITTER_NAME,
  GIT_COMMITTER_EMAIL), OPENDOX_INSTALL_MODE per command, and, before the
  hosted probes, two dummy DSNs and OPENDOX_OIDC_AUDIENCE. Verdict row 6
  says its two checks are asserts in the in-process python step, with no
  exit status of their own.
- tasks.md (r4173854164): T074's Landed bullet now says only the three CLI
  refusals (a non-loopback bind under local, hosted with no issuer, and the
  unset default) exit 1 and not 124. The SQLite and collapsed-pair checks
  are load_settings asserts, in a bullet of their own.
- plan.md: the evidence tree lists f13.1-run.md, and the paragraph under it
  names T074 after T077.

Gates at this tree, all equal to main dca40ca's: the pinned openspec gate
(rc 0, 110 passed, 1 accepted failure), doc-health (byte-identical report)
and the plan checks.

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

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The documentation and recorded results are consistent, prior feedback is resolved, and no blocking issues remain.

Review effort: Balanced
Findings: None

Resolved since last review (2)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The evidence and tracking updates are consistent, and prior feedback is resolved with no remaining blocking issues.

Review effort: Balanced
Findings: None

@brettheap
brettheap changed the base branch from bookkeeping/034-t077-f10-1-run to main October 3, 2026 18:41
brettheap added a commit that referenced this pull request Oct 3, 2026
…034) (#1223)

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

**Plan 034 T077: #1144's F10.1, run as T007 batch H amends it.** This PR quotes that run (`pip install ".[local]"`, then `opendox generate-and-open --local …`), made at openDox-code `main` `8e377823`, after T072 (openDox-code#69 → `5e7ab003`) and T075 (#73 → `9197ccdd`). T077's falsifier is *"F10.1 itself, as amended. This task is that run, quoted in its PR."*
- This PR is bookkeeping, so it carries no `Arc:` trailer (R1Q20 (a), `5817152735`; T091). Claim: #656 comment `5970626533`.
- Ruled, as T077 cites: R1Q15 (b), R1Q16 (iii), `5850003126`.
- **The form follows the holder's ruling of 2026-10-03.** The run is quoted in an openxFactory evidence file, in the form the phase checkpoints set (T049 #1204, T063 #1218): an evidence file, the task ticked with a `Landed` bullet, and the feature's README entry linking it. It is not an empty-diff openDox-code PR. That draft, openDox-code#83, is closed as superseded by this PR.

**No Rule 6 window.** This PR touches nothing under `openspec/changes/`.

The record is [`specs/034-opendox-standalone-operation/evidence/f10.1-run.md`](specs/034-opendox-standalone-operation/evidence/f10.1-run.md).
- F10.1 was extracted byte for byte from #1144's `tasks.md` at `ec9308c8` (`:1481-1504`, sha256 `47c9b4678d78…`). Batch H's two amended lines (`:1515-1527`) were then applied, and the diff from the text as written is exactly those two lines.
- It was run from a fresh clone of openDox-code at `8e377823`, with an empty `git status --porcelain --ignored`, in a fresh venv, in the foreground. The environment was built with `env -i`, so no host `GIT_*`, `XF_*`, `PG*` or other `OPENDOX_*` variable was inherited, and `LANG=C.UTF-8`. The variables the run sets are F10.1's own: its `export` line sets the four fixture identities `GIT_AUTHOR_NAME`, `GIT_AUTHOR_EMAIL`, `GIT_COMMITTER_NAME` and `GIT_COMMITTER_EMAIL`, which stay set while the server runs.
- `OPENDOX_STATE_DIR` was under the user's own `~/.local/state`, written `<state>` in the record, giving a 59-byte socket path. The record carries no host-absolute path (Principle IV). Port 8080 was checked free first.

## Verdict

| # | the run | where | result, quoted |
|---|---|---|---|
| 1 | F10.1, as batch H amends it | openDox-code `8e377823`, `pip install ".[local]"` into a fresh venv | **PASS**, exit 0. `set -euo pipefail` held to the last line: no sibling is importable, `opendox --help` exits 0, the readiness loop succeeds, `/` is fetched, and it holds `<html`. `database … (bundled, pid …, migrations applied now: ['0001', '0002'])` and `validation: opendox-snapshot: 0 violations`. The fetched page is byte-identical to `src/opendox/web/index.html` (7556 B). The bundled server is gone after the run. |
| 2 | supplementary: T075's fetch of every bundle file, after the same command | the same clone, cleaned, and a fresh venv | **PASS**, exit 0: all 42 files are served with the tree's bytes, `views/intent-feed.js` answers 404 (10.2a), and `F10.1 (as amended), widened to 42 files: PASS`. |

What this PR records, in plan 034 only:
- **`evidence/f10.1-run.md`** (new): the command, the diff of batch H's two lines, both runs' output after pip's last line, the checks made after the run, and two observations. One is that pip's in-tree build leaves an untracked `build/`, which openDox-code's `.gitignore` does not list. The other is F10.1's fixed port 8080.
- **`tasks.md`**: T077 is ticked, with a `Landed` bullet naming the evidence. Only T077's lines change. The ticks PR #1221 has since landed (`dca40ca3`), and `main` `dca40ca3` is merged into this branch (`9a886cb7`, clean).
- **`plan.md`**: the evidence tree lists `f10.1-run.md`, and the paragraph under it names T077.
- **`README.md`**: the feature entry's evidence list links the file, as #1217 and #1218 did.

## Review round 1 (Copilot at `f163d095`): both findings accepted, fixed in `23cb5be2`

- r4173831629: the record now says that no **host** variable was inherited, and it names the four fixture `GIT_*` identities that F10.1 exports itself. The same commit removes every host-absolute path from the record (the phrase #1224's review raised as r4173854122). The state directory is written `<state>`.
- r4173831666: plan.md's evidence inventory now lists the record and names T077.
- Both threads are answered and resolved.

## Validation, at this head (`23cb5be2`) against `main` `dca40ca3`

- **`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, as on `main`.
- **doc-health `--single-repo . --as-of 2026-10-03`**, run in one clone named `openxFactory`, at `main` `dca40ca3` and at this branch: **delta zero**. Both read `31 critical, 22 error, 64 warning, 20 info`, and the two reports are byte-identical.
- **The plan-graph checks** are `depcheck.py`, `chaincheck.py`, `arrowcheck.py`, `phasecover.py` and `sharedfiles.py`, from a read-only clone of brett-wip `main` (`300ba9bd`). Its copy reads T007's batches A to N, and N is #1222's, still in flight, so it was run narrowed to A to M; that narrowed `aftergraph.py` is byte-identical to the copy the ticks writer uses. Its output is the same on this branch and on `main`:
  - 96 tasks, 109 nodes and 267 edges, with `cycles: none`;
  - `single-writer chain gaps: 0`;
  - `arrow mismatches: 0`;
  - `phase 3 → T089: 29 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.

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


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
#1223 landed on main as squash f261fef. Its tree is identical to #1223's
head 23cb5be, which this branch already contains (merged as 73eba0f). The
merge was computed with git merge-tree --merge-base 23cb5be, as the holder
directed, and both parents are recorded. Nothing was rebased. The resulting
tree is unchanged from c005620, so this PR's diff against main is T074's
own changes only.

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

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The documentation and evidence are consistent, prior corrections remain intact, and no blocking issues remain.

Review effort: Balanced
Findings: None

@sonarqubecloud

sonarqubecloud Bot commented Oct 3, 2026

Copy link
Copy Markdown

@brettheap
brettheap marked this pull request as ready for review October 3, 2026 19:15
@brettheap

Copy link
Copy Markdown
Contributor Author

READY at 1775205 — T074, the F13.1 run as batch H amends it, recorded at openDox-code 90ac7033 as plan 034 evidence (specs/034-opendox-standalone-operation/evidence/f13.1-run.md), in the same evidence-file form as #1223 (T077 → f261fef). T074's After line (T073, #72 → 90ac7033) was met at the run's commit. The holder checked: every check green including pytest-suite and openspec-cli-pin; Copilot's latest review at exactly 1775205 is "Approval recommended"; 0 unresolved threads; no closing keywords. #1224 contains #1223's final pre-squash head 23cb5be and main f261fef (merge-tree --merge-base 23cb5be); its diff against main is T074's own changes.

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

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 2 hours and 15 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap

Copy link
Copy Markdown
Contributor Author

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

LANDING — lane openxfactory-4, session faabad8b-8c31-4958-abd5-b35bdc9cd282@Eagle, 2026-10-03T19:18:09Z, PR #1224 into opensoft/openxFactory main

@brettheap
brettheap merged commit de2ab70 into main Oct 3, 2026
16 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

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

LANDED — lane openxfactory-4, 2026-10-03T19:18:33Z, PR #1224 → de2ab70 (opensoft/openxFactory main; squash)

brettheap added a commit that referenced this pull request Oct 3, 2026
…nch (plan 034)

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

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Oct 3, 2026
No conflict.

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

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Oct 3, 2026
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

**Plan 034's phase-3 ticks, the second.** It ticks T084, T102 and T103, all landed in opensoft/openDox-code, in `specs/034-opendox-standalone-operation/tasks.md`, in the form #1221 used: the box, and a short "Landed" bullet drawn from the landed PR's own body.

- **Based on `main` `de2ab703`** (#1224), which has not moved since. If `main` moves, I merge it in (no rebase, no force-push).
- **Two commits.** The first ticks T084 and T103. The second adds T102, which landed while this PR was in review (the holder asked for it to be folded in).
- **Bookkeeping only.** It edits one file. `git diff origin/main --stat` shows `tasks.md` alone, 185 insertions and 3 deletions, so nothing under `openspec/` changes and there is no Rule 6 window.
- **No `Arc:` trailer** on either commit (R1Q20 (a)), and no closing keyword anywhere in a commit message or in this body (both scanned with `/usr/bin/grep`).
- **Claim:** #656 comment `5972870895`.
- It stays a DRAFT until the holder marks it ready.

## The ticks, each with its evidence

Each sha is the merge commit of the named PR, read from the forge with `gh pr view <n> -R opensoft/openDox-code --json state,mergeCommit` (all three `MERGED`, base `main`), then checked with `git rev-parse --short=8` in a bare clone of openDox-code. Each is a squash with one parent, and each squash's tree equals its PR's final head's tree (`213344ad` for #77, `b9025b6c` for #80, `02e0aa50` for #81). They are the first three commits on `main`'s first-parent line, and `main` is at `0116293a`. The table is in landing order.

| task | landed | note |
|---|---|---|
| T084 | openDox-code#77 → `e49b17c3` | F4.1 whole holds: `consumer_reach.py` is absent and the scan prints `no deferred reach names the consumer or the publisher`. The four column seams are `opendox.column_seams`' `gate`, `scope`, `kickoff` and `register`, each with openDox's own default. The bullet also records the PR's holder readings, the two holder additions (`opendox --help`, the content-type pin) and what the PR left open. |
| T103 | openDox-code#80 → `390e2c28` | One gate in `DashboardHandler.parse_request`: every loopback route and method refuses a `Host` that does not name the plane, with one fixed `403 invalid_host` that never echoes it. A hosted plane is unchanged. The PR also repairs the `::1` bind that T070's bullet left for the holder. The bullet records the two readers of the old behaviour in the pin moves ahead. |
| T102 | openDox-code#81 → `0116293a` | A standalone workbench no longer opens read-only: `editingPosture()` offers the editors and the chat rail for the scope's own documents, creating a document stays absent, and Save is visible and refused by name. A governed host is unchanged. The bullet states what the tick means (below). |

Each task also carries a `**Landed**` bullet in `tasks.md`, as #1221's do. The facts in each come from the landed PR's body. Where a bullet states a falsifier outcome, I re-ran the falsifier at the merge sha (next section). With these three, 75 of the 96 boxes are ticked (72 on `main`).

**What T102's tick means.** Its falsifier names AT-R1 step 7, "run by T096", and adds that the PR carries a test. The PR's test, `tests/test_workbench_edit_by_scope.py`, has landed and passes. The PR also ran the prep harness on a local integration (15 of 15 checks in each of two passes, with the create gate not forced), but that is the PR's run. So the T102 bullet says, as T088's does for the same reason, that the box is the landing, and that T096 keeps its own box and its own falsifier, the oracle's verdict. If the holder would rather hold the box until T096, it is a one-line change.

**Left as they are:** every other phase-3 task, including T100 and T104, whose openDox-code PRs are still open.

## Re-run at each merge sha

A detached worktree of a bare clone of openDox-code, one sha at a time. Python 3.12.3, pytest 8.4.2, node 24.21.0, `LANG=C.UTF-8`, no `GIT_*`, `XF_*`, `PG*` or `OPENDOX_*` variable inherited, `TMPDIR` and pytest's `--basetemp` outside the workspace, and no PostgreSQL service (a case that needs an external one skips here). The editable installs use `.[local,test]`. F4.1 is run as its own block says, in a fresh venv with `pip install ".[test]"`. These are my runs, not the PRs'.

| task | at | what I ran | result |
|---|---|---|---|
| T084 | `e49b17c3` | F4.1 whole, its block extracted verbatim from `openspec/changes/add-neutral-product-standalone-operability/tasks.md` (51 lines, run under `bash -x`) | rc 0: the `import corpus_adapter_openxfactory` probe fails as it must, the nothing-registered block passes, both named `test_authoring_seam.py` tests pass (`1 passed` each), `consumer_reach.py` is absent, and the scan prints `no deferred reach names the consumer or the publisher` |
| T084 | `90ac7033` (T073's landing, T084's base) | F4.1's scan alone, and the existence of `consumer_reach.py` | `consumer_reach.py` is present, and the scan asserts `11 deferred reach(es) still name the consumer or the publisher` (`branch_session.py`, `serve_project.py` and `serve_workbench.py`, all `openxdox`) |
| T084 | `e49b17c3` | `tests/test_capability_honesty.py`, `tests/test_rejection_report.py`, `tests/test_projection_seams.py` | 31, 5 and 139 cases: `175 passed`. `tests/test_projection_seams.py::test_the_stand_ins_module_is_retired` passes alone |
| T103 | `390e2c28` | F4.1 whole, as above | rc 0, the same output (the scan stays clean through T103) |
| T103 | `390e2c28` | `tests/test_loopback_host_gate.py` (its real `--local` children, with no token and with one, and the `::1` bind included) | `67 passed` |
| T103 | `e49b17c3` | the same file, taken from `390e2c28`, against T084's landing | `64 failed, 3 passed`: the check is T103's, and the table fails without it |
| T102 | `0116293a` | `tests/test_workbench_edit_by_scope.py` (it runs the shell's JavaScript under node, and compares the browser's scope with `default_columns.resolve_scope` over 17 tiles) | `44 passed` |
| T102 | `390e2c28` (T103's landing, T102's base on `main`) | the same file, taken from `0116293a` | `2 failed, 42 errors`, no case passes: the by-scope posture is T102's |
| T102 | `0116293a` | the six modules the PR holds unchanged as its proof that a governed host is untouched: `tests/test_doxbench_view.py`, `test_doxbench_composition.py`, `test_doxbench_abstract_pane.py`, `test_doxbench_context_panes.py`, `test_outline_tab.py`, `test_gate_loop_contributed.py` | `283 passed` |

Not re-run: the whole openDox-code suite at any sha, and the AT-R1 browser run the T102 bullet attributes to the PR. The PR bodies record their own results at their heads (#77 at `213344ad`: `tests/` `3026 passed, 11 skipped`, `tests_runtime/` `632 passed, 166 skipped`; #80 at `b9025b6c`: `3093 passed, 11 skipped` and `632 passed, 166 skipped`; #81 at `02e0aa50`: `3769 passed, 177 skipped` over the whole suite). openDox-code's `validate` runs on pull requests and on dispatch only, so `gh run list -R opensoft/openDox-code --branch main` shows no run for these merges.

## 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). `main` `de2ab703` gives the same output, line for line, but the working directory in its third line.
- **The plan-graph tools** (`depcheck`, `chaincheck`, `chaindirect`, `arrowcheck`, `phasecover`, `sharedfiles`, `qcheck`, and the extended chain check for T104, from the lane's `plantools`), this branch against `main` `de2ab703`: the output is identical, line for line. 96 tasks, 109 nodes, 267 edges, `cycles: none` (also with the Lands-with groups merged), `single-writer chain gaps: 0`, `arrow mismatches: 0` (83 arrows), and `qcheck` reads `headers checked: 27 of 27; mismatches: 0`. Only the box count moves: 72 ticked of 96 on `main`, 75 here.
- **Tests that read plan 034's `tasks.md`:** none. `git grep -nE 'specs/034|opendox-standalone-operation' -- tests scripts .github` finds nothing, and this PR touches no code.
- **The open PRs that edit the same file.** #1225 (head `7c5e439b`, the plan 034 analyze pass's DRAFT) edits T103's falsifier bullet, T102's falsifier and ruling bullets, and T084's neighbours, and #1222 (head `6c62a776`, batch N) edits the same file, among others. `git merge-tree --write-tree` of this branch with each reports no conflict. A trial merge with #1225 passes the same plan tools as #1225 alone, and only the box count moves (72 to 75). Whichever of the three PRs lands later merges `main` in.

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

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


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Oct 3, 2026
…the opened URL; plan 034's AT-R1 reads the private copy (RULED 5963851934) (#1222)

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

This PR is bookkeeping only (T007 batch N). It records Brett Heap's multi-choice word of 2026-10-03 on `#656` comment [`5963851934`](#656 (comment)) in #1144 (`add-neutral-product-standalone-operability`), and it carries the plan-034 lines that follow from it. Plan 034 was read at `main` `dca40ca3`, which is #1221 (the phase-3 ticks), after #1220 (T099 and T101–T104).

> RULED — Brett 2026-10-03 (multi-choice): "Token via the opened URL (Recommended)". Adversarial review 2 (M5) found that a standalone openDox serves its console token from /capabilities to any loopback caller, including other OS users on the same machine (pre-existing). […] plus the #1144 amendment for every falsifier or AT-R1 step that reads /capabilities' console_token (batch N), and T095's harness reading the private copy.

The design is the holder-approved one, which T104 (#1220) already plans. It covers the standalone default profile only, and it includes the holder's ruling on #1220's Copilot thread `r4171166321`: the copy refuses an `OPENDOX_STATE_DIR` that is the served root or lies under it.

## The #1144 amendment (12.4a)

**Where it goes.** An `AMENDED — T007 Batch N (`5963851934`)` addendum at box **12.4a**, after its prose and before 12.5. In all of #1144, 12.4a's human-console test (`tasks.md:2123`, *"the per-serve token, a trusted loopback `Host`, …"*) is the one line that names the token.

**Why it is a task-line addendum and not a spec-delta note.** No ratified requirement or scenario text names how the token is delivered. In the spec delta (`specs/neutral-product-standalone-operability/spec.md`), `console_token`, `console token` and `capabilities` each occur **0** times (`grep -c -i`). No #1144 falsifier reads the token from `/capabilities` either:
- F10.1 fetches only `/`;
- F13.1 reads only the payload's `install` block (`json.load(...).get("install")`);
- F12's named test, `tests/test_submit_route.py::test_submit_route_is_refused_without_the_console_token`, sends a request without the token, so it is unchanged.

So this has the form of batches A–J and L, not of batches K and M, which add dated notes to the spec delta.

**What it records**, measured at openDox-code `main` `1130e996`. A serve that grants `session` mints the token (`mint_console_token`, `serve.py:617`, called at `:1977`) and publishes it on `/capabilities` (`:1980`). The web bundle reads it from there (`web/app.js:1459-1471`, `web/views/edit.js:10-26`). On a standalone plane, the one built from openDox's own default profile:
- `/capabilities` carries no `console_token`;
- the entry point writes a private copy at `<state_dir>/console/<port>.html` under `OPENDOX_STATE_DIR`:
  - the file is mode 0600, in a directory of mode 0700;
  - each missing directory is made by descriptor, and the file is created without following a link;
  - the whole path is checked as openDox-code#69's bundle checks its own tree;
- a file already at the copy's path is replaced only when it is this user's own regular 0600 file with one link (an earlier copy for that port); anything else there refuses the start by name, and such a copy is refused when read;
- the state directory and every served root may not overlap in either direction. A state directory that is, or lies inside, a served root is refused by name (the holder's ruling on #1220's review, `r4171166321`). So is a served root that is, or lies inside, the state directory, `<state_dir>/console` itself included: the **holder's ruling on this PR's review (`r4174345203`)**, a hardening of the approved design. `/source` already refuses a path that leaves its root through a symbolic link (`default_registry.resolve_within`, openDox-code `main` `e49b17c3`). The static bundle's route, which follows links inside `--web-dir`, answers 404 for GET and HEAD to anything whose resolved target is the copy's directory or inside it (#84's `send_head` guard);
- the copy forwards to `…/index.html#console_token=<token>`, using the fragment and never the query;
- the start writes the copy and prints its location as a `file://` URL, with or without `--no-open`, and never prints the token or a URL that carries it, so standard output and CI logs stay clean. openDox-code#84's head `cb899546` prints `console {console.file_url} (this user's private copy, …)`;
- the copy is removed when the server stops, and the start is refused when no safe copy can be written;
- a composed host keeps its delivery on `/capabilities`;
- a tab that kept an earlier serve's token is refused by the next serve until the page is opened again through the new copy. That is the accepted stale-tab limit.

The addendum is carried out by T104.

## Plan 034

- **AT-R1**, which is this feature's text and not #1144's:
  - `spec.md` step 4: whether or not `--no-open` is given, the command writes the private copy and prints its `file://` location. Without `--no-open` the command hands the copy to the browser; with it, as AT-R1 runs, the page is opened by loading that URL. `/capabilities` carries no console token.
  - `quickstart.md` § 3 reads the token from `$OPENDOX_STATE_DIR/console/$PORT.html`. It checks that the directory is 0700 and the file 0600, both this user's own. It requires every `console_token=` in the copy to open a fragment. It also parses the meta refresh's target URL, which must be exactly this server's `http://127.0.0.1:$PORT/index.html` with an empty query, and it reads the token from the fragment. It also asserts that `caps.json` has no `console_token`. The catalog request reads its header from stdin (`printf … | curl -H @-`), so the token never sits on a command line. The raw `/capabilities` payload must carry the token neither by name, at any depth, nor by value.
  - `quickstart.md` § 4 step 1 loads the copy's `file://` URL instead of the bare page.

  I ran § 3's extraction against T104's own `write_private_copy` (on T104's openDox-code branch, read only). The token it read matched the one written. Seven altered copies stopped the run:
  - the token after a first query parameter;
  - the token in the target's query;
  - the token's value in a `next` query parameter;
  - another host, another path or another port;
  - the file loosened to 0644.
- **T007**:
  - batch N's bullet, its citation, its `Ruled:` entry and its `After, by batch` line. That line names openDox-code#75 (AT-R1's HTTP half), because a task id in that field would read as a predecessor;
  - batch M's landing (#1219 → `cc775fea`) in the `Landed:` line and on M's bullet;
  - T007 stays unticked until N lands.
- **T104** (the analyze pass's H1): its task text gains "The private copy, exactly". That covers:
  - the path `<state_dir>/console/<port>.html`, a 0600 file in a 0700 directory;
  - the HTML page's JSON record in `<script type="application/json" id="opendox-console">`, with `schema_version` 1, `kind` `opendox-console-access`, `page_url`, `opened_url`, `port`, `pid` and `console_token`. These are the seven keys `console_access.py` writes at #84's `cb899546`;
  - the meta-refresh to the fragment, never the query;
  - written, and its location printed, with or without `--no-open`;
  - a refused copy or state directory refuses the start by name, before anything is written. That includes a state directory that overlaps any served root in either direction;
  - the copy removed on Ctrl-C or a plain `kill`.

  Its falsifier lists what T104's PR must prove for every point of the addendum, the stale-tab limit aside:
  - the START cases, through the writer and each entry point: a link, a directory, another user's file, a hard-linked file, or this user's own file at a mode other than 0600 at the copy's path; a state directory that fails the tree checks or overlaps a served root in either direction (`r4171166321`, `r4174345203`);
  - the READ cases, a FIFO with no writer refused at once;
  - `/source` answers 404 through an outward link;
  - the static route answers 404, for GET and HEAD, for the copy, its directory's listing, another port's copy, and a directory whose `index.html` or `index.htm` links to the copy.

  It is a requirement on T104, not a claim about #84. At `c979747a`, #84 has the static guard and the served-root cases. It still needs the writer's mode check (its `write_private_copy` replaces any of this user's own single-link files whatever the mode), the writer and entry-point regressions, a non-blocking reader, and the guard on automatic index files.
- **The analyze pass's stale token sites**, each covered:
  - quickstart's start line, where the copy is written under `--no-open`;
  - § 3 and § 4 step 1;
  - AT-R1 steps 4 and 7 (the rail's guarded routes need the page step 4 opened);
  - T096, which opens the page through the copy;
  - #1144's 12.4a. Its `:2333` test is unchanged in kind.

  openDox-code#75's body is T095's writer's.
- **T095**: its `After:` keeps #1220's T104 and adds `T007 (batch N)`. T104's "Batch N, pending." bullet becomes "Batch N.", which names what this batch records and moves.
- **The rest of `tasks.md`**:
  - § Format ("fourteen batches") and "What can start";
  - the dependency order (phase 0 and Acceptance);
  - the phase-3 slice intro and the acceptance row;
  - § "Ruled amendments": its heading, intro, an N row and a closing sentence on AT-R1.
- **`plan.md`**:
  - batches A–N in the graph;
  - the PHASE 3 and ACCEPTANCE graph lines name batch N;
  - the amendments list;
  - Principle V's "A to N".

## Gates

Each was run at `7746a50d` and at `main` `de2ab703` (`--change`, doc-health and the catalog again at `a4bb8d8f`), in two full clones of the same kind. Each clone sits in a directory named `openxFactory`, with `remote.origin.url` set to opensoft/openxFactory.

| gate | `main` `de2ab703` | this branch `7746a50d` |
|---|---|---|
| `python3 scripts/validate-openspec-cli-pin.py --all --strict` (pinned 1.12.0) | rc 0, `110 passed, 1 failed (111 items)`, `0 UNDISPOSITIONED failures`, with 1 accepted exception (`add-chain-attestation`) | the same, identical apart from the clone path |
| `… --change add-neutral-product-standalone-operability` | — | rc 0, `1 passed, 0 failed`, `validated --strict clean` |
| `python3 scripts/doc-health.py --single-repo . --as-of 2026-10-03` | 31 critical, 22 error, 64 warning, 20 info | byte-identical report, 0 new regressions |
| `box_census.py` over #1144's `tasks.md` | `total 125`: 105 `[ ]`, 11 `[x]`, 9 `[~]` | the same. No box is added |

Also passing on both:
- `proposal-support.py . verify add-neutral-product-standalone-operability`;
- `validate-sequenced-after.py . --ledger-diff` (229 rows);
- `validate-code-surface.py`, `validate-target-release.py`, `validate-document-catalog.py` (0 errors, 0 warnings) and `validate-pin-registrations.py`.

Earlier heads, `2ce6c8f3` against `main` `ec9308c8` and then `cce8c96b` and `93e83501`, read the same. At `c954da69`, which merges `main` `f261fefa` (#1223), `--all` and `--change` read the same, the document catalog has 0 errors and 0 warnings, and the plan tools read 96 tasks, 110 nodes and 269 edges, with 0 chain gaps and 0 arrow mismatches. The plan checks there read the same numbers as below.

At `7746a50d`, as at `49aab763`, `pytest -q tests/doc-health/test_modified_block_currency_self_gate.py tests/sequenced_after` reports 306 passed.

**The plan's consistency checks.** The persisted parser in opensoft/brett-wip (`handoffs/xFactory/attachments/lane-opendox/r1plan/tools/`) is widened to batch N in brett-wip `e5302284`, in the form of batch M's `712aedad`: `BATCHES = "ABCDEFGHIJKLMN"`, every `[A-M]` made `[A-N]`, plus its docstring and the README line. Batch N adds no single-writer file, so the chain tools are unchanged.
- The A–M parser reads `main` at 96 tasks, 109 nodes and 267 edges.
- The widened tools read this branch at 96 tasks, 110 nodes and 269 edges. The two new edges are T095 → T007.N and T007 → T007.N. They also find:
  - no cycles, as written or with the Lands-with groups merged;
  - 0 chain gaps, and 47 `chaindirect` pairs;
  - 0 of 83 arrow mismatches;
  - no phase gaps (T099 follows T089 by design);
  - in `sharedfiles`, 81 shared pairs, with only the 4 known phase-1 pairs NOT ORDERED;
  - qcheck 27 of 27.
- **The widened parser refuses `main` until this PR lands** (*"names no line for ['N']"*), as batches K, L and M did.

## Review

| Copilot at | verdict | threads | answered in |
|---|---|---|---|
| `2ce6c8f3` | Changes recommended | the realization test's promise was wider than T104's falsifier (medium); the quickstart missed a token after a first query parameter (medium); Principle V still cited batch M's gate (low) | `cce8c96b`: T104's falsifier lists every point and the addendum sets the stale-tab limit aside; § 3 parses the opener's target; the row cites batch N's run. All three are answered and resolved |
| `cce8c96b` | Needs a closer look, no findings and no threads | one previously-missed note: cite the holder's served-root ruling `r4171166321`, which is not part of `5963851934` | `93e83501`: cited in the addendum, which now names its details as the holder's approved design, and in batch N's bullet, T007's `Ruled:` line and the N row; answered in comment `5970872244` |
| `93e83501` | Needs a closer look, no findings and no threads | one previously-missed note: quickstart § 4 step 1 said "the `file://` URL the command printed" while the addendum said the path is printed | `919cf14e`: one wording everywhere (the location as a `file://` URL, never the token), matching #84's `cb899546`; answered in comment `5972080941` |
| `919cf14e` | Changes recommended | the quickstart proved only that no query parameter was named `console_token`, not that the token's value stayed out of the request target (medium); AT-R1 step 4 said the page is opened "with or without `--no-open`" (low) | `9b019b35`: the target must be this server's `/index.html` with an empty query (four altered copies refused); step 4 separates writing the copy from opening it. Both answered and resolved |
| `9b019b35` | Changes recommended | the served-root boundary did not cover a served root at or under the state directory, such as `<state_dir>/console`, or an outward symlink (medium) | `d115b41a`/`defe1adf`: **the holder ruled to keep the widening.** The state directory and every served root may not overlap in either direction; `/source` refuses symlink escapes; T104's falsifier gains both cases. Answered and resolved |
| `c954da69` | Changes recommended | the static bundle's route was not covered (medium); the falsifier named no static case (medium); the falsifier claimed writer cases #84 does not have, since #84's writer replaces a loosened own file (low) | `3ce22a5f`: the static route's 404 invariant is recorded; the static case is added; the START and READ cases are separated, with only this user's own 0600 earlier copy replaced; the body no longer claims #84 has every case. All three answered and resolved |
| `7746a50d` | Changes recommended | the quickstart put the token on curl's command line (medium); plan.md said every batch lands before a checkpoint that runs an amended falsifier, which N does not fit (low) | `a4bb8d8f`: the header goes over stdin; plan.md says each batch lands before the task that needs it, and N before T095. Both answered and resolved |
| `a4bb8d8f` | Needs a closer look, no findings and no threads | one previously-missed note: the fragment check could wrap at index 0, and `/capabilities` was checked only for a top-level key | `efbc29da`: a preceding `#` is required; the raw payload must carry the token neither by name nor by value. Answered on the PR |
| `efbc29da` | Changes recommended | the static case missed automatic index files (medium); a previously-missed note: the READ cases omitted a FIFO, which can block a reader | `6c62a776`: GET and HEAD cases for a directory whose `index.html` or `index.htm` links to the copy, with the guard judging the final served file; a FIFO is refused at the start and at once on read, since the reader never blocks. Answered and resolved |
| `6c62a776` | Needs a closer look, no findings and no threads | two previously-missed notes: T095 lacked the raw-payload token assertion; the reverse overlap had no symlink-alias case | `02ec4f92`: T095 asserts the raw payload carries the token neither by name nor by value; T104 refuses a served root that is a symbolic link into the state directory. Answered on the PR |

## For the holder

1. **Landing order.** #1221 has landed and is merged in (`8c43ce02`). The evidence PRs #1223 and #1224 and the analyze-fix PR also edit plan files. Whichever is clean first lands first, and I merge `main` again right before READY-CANDIDATE.
2. **The chain tools lag #1220.** `chaincheck.py` and `chaindirect.py` in brett-wip do not yet carry #1220's chains: `serve.py` → T103 → T104, `cli.py` → T104, and openDox-code `pyproject.toml` → T075 → T101. I tested those chains in a scratch copy that I did not commit. They read 0 gaps and 52 pairs on this branch, and T084 → T104 on `cli.py` is transitive through T102. Persisting them is your call, and it is outside this batch.
3. **T095's harness** (openDox-code#75) belongs to T095, not to this PR. T095's task text now asks it to assert, as quickstart § 3 does, that the raw `/capabilities` payload carries the token neither by name nor by value. To match § 3 it should also check that the copy's modes are 0700 and 0600, and send the header without putting the token on a command line.
4. **The holder's served-root ruling (`r4174345203`)** is recorded in the addendum, in T104 and in the N row. #84 at `c979747a` has the reverse check and the static guard. It still needs the writer's mode check (a loosened own file at the copy's path must refuse the start, not be replaced) and the writer and entry-point regressions before T104 lands.
5. **The stale-tab limit's wording** is my reading of "accepted": a tab keeps the token in `sessionStorage` (T104's `web/views/notebook.js`), so after a restart its guarded requests are refused until the page is reopened through the new copy. Strike or correct it if that is not the limit you accepted.

## Landing

It touches `openspec/changes/`, so it lands under a Rule 6 `LANDING`/`LANDED` window. It is bookkeeping, so it carries no `Arc:` trailer (R1Q20 (a)) and no closing keyword. The holder posts READY and lands it.

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


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Oct 4, 2026
…00 (plan 034) (#1231)

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

**Plan 034 T083: 16.6, then #1144's F16.1 whole, as T007 batch M amends it.** This PR quotes that run, made at openDox-code `main` `38d3350e` (T100's landing, openDox-code#82, after T082's `ca9e1bd5`, #76). T083's falsifier is *"`tests/test_provider_boundary.py` for 16.6, then F16.1 whole, as batch M amends it."* Batch M says *"the runs that use it (T083 and T089) also run one more line after its last, and quote it"*. It also ticks T082 and T100, whose openDox-code PRs have landed.
- This PR is bookkeeping, so it carries no `Arc:` trailer (R1Q20 (a), `5817152735`; T091). Claim: #656 comment `5982463350`.
- **The form is T077's (#1223) and T074's (#1224)**, on the holder's ruling of 2026-10-03: an evidence file in the phase checkpoints' form, the task ticked with a `Landed` bullet, plan.md's evidence inventory, and the feature's README entry linking the record. No openDox-code change is needed: 16.6's file is green at `main` unedited.
- **Based on `main` `d0af2574`**: two commits, `4e997e6a` (the record and the ticks) and `966cc3c9` (review round 1). If `main` moves, I merge it in (no rebase, no force-push).

**No Rule 6 window.** This PR touches nothing under `openspec/changes/`.

## Verdict

| # | the run | where | result, quoted |
|---|---|---|---|
| 1 | 16.6: `tests/test_provider_boundary.py` | openDox-code `38d3350e`, a fresh clone, venv from CI's own install command (`--only-binary :all: -c constraints-cpython312-linux.txt -e ".[runtime,test]"`) | **PASS**, `24 passed in 0.72s` |
| 2 | F16.1 whole, as batch M amends it | `38d3350e`, a second fresh clone, F16.1's own venv (`pip install ".[test]"`), `env -i`, `bash -x`, no `omp` on the PATH | **PASS**, exit 0 (below) |
| 3 | supplementary: planted controls | a third fresh clone, one planted set at a time, never committed | **red as it must be**: `api.openai.com` + `urllib.request` in T100's `doxbench_trust.py` → `2 failed, 22 passed`; `"/v1/chat/completions"` in `doxbench_binding.py` → `1 failed, 23 passed`; restored → `24 passed` |
| 4 | supplementary: 16.6's own measurement | `1e4a57fb`, a fourth fresh clone, that commit's CI install | **reproduced**: `12 failed, 16 passed` under `--noconftest`; `28 errors` under the root conftest |

F16.1's decisive lines, after pip's `Successfully installed …`:

```
+ python -m pytest -q tests/test_provider_boundary.py
24 passed in 0.92s
+ python3 -
dialect and model declared; a raw key is refused in a field and in the URL
+ python3 - <workdir>/tmp.QaVGmKda0W
no model configured: the catalog offers nothing
+ python -m pytest -q tests/test_chat_model_configuration.py
83 passed in 35.59s
+ python -m pytest -q tests/test_model_binding_trust.py
135 passed in 77.34s (0:01:17)
rc=0
```

- F16.1 was extracted byte for byte from #1144's `tasks.md` at `596a9a90` (`:3452-3495`, sha256 `fe22ec4873d1`), and again at `d0af2574` with the same bytes. Batch M's two lines (`:3514-3515`) were appended after its last line, and the script as run (sha256 `619b32a955e2`) differs from the text as written by exactly those two lines.
- The run did not cover openDox-code#84 (T104) or the T100 follow-on of `5982436447` item 2, because neither had landed. T089 runs F16.1 again.

## What this PR records, in plan 034 only

- **`evidence/f16.1-run.md`** (new): the commands, batch M's diff, both runs' output, the checks made after the run, and the two supplementary runs. After the run, the operator's own `~/.local/state/opendox` does not exist, so no case wrote trust there (batch M). The record carries no host-absolute path (Principle IV).
- **`tasks.md`**: three boxes ticked, each with a `**Landed**` bullet. 75 of 96 boxes are ticked on `main`, and 78 here.
- **`plan.md`**: the evidence tree lists `f16.1-run.md`, and the paragraph under it names T083.
- **`README.md`**: the feature entry's evidence list links the record, after T074's.

## The ticks

Each sha was read from the forge with `gh pr view <n> -R opensoft/openDox-code --json state,mergeCommit` (both `MERGED`, base `main`), then checked with `git rev-parse --short=8` in a clone of openDox-code. Each is a single-parent squash whose tree equals its PR's final head's tree (`9948dc2b` for #76, `adb19f1e` for #82), and `validate` was green at both heads.

| task | landed | note |
|---|---|---|
| T082 | openDox-code#76 → `ca9e1bd5` | 16.5: section 6 of `tests/test_chat_model_configuration.py` sends each standalone request to a no-model child and a with-binding child and requires equal answers. The fix the cases needed is that openDox's settings documents are not the user's documents (`doxbench_intake.SETTINGS_DOCUMENTS`, `WorkingTreeCorpus`'s `excluded`). `83 passed`, and 20 of 20 mutants were killed. |
| T100 | openDox-code#82 → `38d3350e` | 16.3a: `doxbench_trust.py`, a per-machine trust keyed on the root, the id and the record's digest. It is enforced at the factory and in depth in `doxbench_provider`, and `add`, `edit`, `trust`, `set-credential` and `list` record or report it. The intake asks its own question, the seam is registered lazily, and `135 passed` with 94 of 94 mutants killed. The bullet also notes Brett's rulings of 2026-10-04 (`5982436447`, items 2 and 3), made since the landing. |
| T083 | this PR | the run above |

## Review round 1 (Copilot at `4e997e6a`): one finding, accepted and fixed in `966cc3c9`

- r4178890618: the record's observation about `tests/standalone_child.py:172` spelled the system temporary directory's absolute path, against Principle IV. It now describes that directory without the path, and the observation that the harness bypasses `TMPDIR` stands. Answered and resolved.

## Validation, at this head (`966cc3c9`) against `main` `d0af2574`

- **`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, as on `main`.
- **doc-health `--single-repo . --as-of 2026-10-04`**, in one clone named `openxFactory`, at `main` `d0af2574` and at this branch, both at `4e997e6a` and at `966cc3c9`: **delta zero**. Both read `31 critical, 22 error, 69 warning, 20 info`, and the two reports are byte-identical.
- **The plan-graph checks** (`depcheck`, `chaincheck`, `chaindirect`, `arrowcheck`, `phasecover`, `sharedfiles`, `qcheck`), from a read-only clone of brett-wip `main` (`f558563`), narrowed to T007's batches A to O, which are the batches `main` holds. Their output is byte-identical on this branch and on `main`: 96 tasks, 111 nodes, 272 edges, `cycles: none`, `single-writer chain gaps: 0`, `arrow mismatches: 0` (83 arrows), `phase 3 → T089: 29 tasks; not before the checkpoint: []`, and `headers checked: 27 of 27; mismatches: 0`.
- **Tests that read plan 034's files:** none. `git grep -nE 'specs/034|opendox-standalone-operation' -- tests scripts .github` finds nothing, and this PR touches no code.
- Every 8-character sha in the diff resolves, with `git rev-parse`, in openDox-code or openxFactory (11 of 11). A scan of the commit message and this body finds no closing keyword and no `Arc:` line.

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


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Oct 5, 2026
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Authored by lane openXfactory-3, delegated by lane openxfactory-4 (#656 5984809190)

**Plan 034 T097, release 1's bookkeeping.** This PR ticks all 63 release-1 boxes of #1144's `tasks.md` (`add-neutral-product-standalone-operability`) that a realization task closes, each with its evidence note, and records research R16's non-normative corrections. Its After set has landed: batch P (#1230), T096 (#1241 → `8a37a087`) and T099 (the publish at the cut, and openDox#19 → `d77f8cbf`). On the holder's rulings it also ticks plan 034's T095, T099, T002, T007 and T097, each with its bullet, so plan 034 closes at 92 of its 96 tasks. T090 to T093 tick at the arc's close.

- Bookkeeping, so it carries no `Arc:` trailer (R1Q20 (a), `5817152735`; T091) and no closing keyword. It touches `openspec/changes/`, so lane openxfactory-4 lands it under a Rule 6 `LANDING`/`LANDED` window.
- **Based on `main` `8a37a087`** (#1241, T096), merged in by `0cde3961`. The PR was first based on `c8d80020` (#1232). The merges since are listed below. Its commits:
  - `76d8ff37`: the ticks, the notes and R16;
  - `b7f49673` and `e2efb3a1`: from Copilot's review (below), which edit note text only;
  - `bd32ea9c`: the merge of `main` after batch P landed;
  - `cf2c6bdc`: 16.3a's tick, on the T100 follow-on's landing (openDox-code#86 → `651c35fe`);
  - `5870cd00`: 4.3's and 9.2's ticks, on T086's landing (openXdox-code#37 → `56e1c238`);
  - `23665543`: 5.5's note reworded (Copilot at `5870cd00`), note text only;
  - `96c74eab`: the merge of `main` after T094 and T098 landed;
  - `935164af`: 3.3's tick, on T098's landing (openxFactory#1237 → `20ce593e`);
  - `e93ab9fb`: 5.4a's note reworded (Copilot at `935164af`), note text only;
  - `f6c6dc3c`: the merge of `main` after T089 landed;
  - `e873b25f`: F4.1's, F5.2's and F16.1's ticks, on T089's landing (openxFactory#1238 → `fab575ad`);
  - `9759313b`: the merge of `main` `f2acc88c`;
  - `10b6ba05`: the phase-1 and phase-2 checkpoint citations by path (below), note text only;
  - `0cde3961`: the merge of `main` after T096 landed;
  - `f94be2fd`: 10.3's tick, on T099's publish, and plan 034's ticks (below);
  - `9713f991`: plan 034's opening status, which still said batch P was to land (Copilot at `f94be2fd`, below), plan text only.

  If `main` moves before the landing, I merge it in. No rebase and no force-push.

## Measured, not copied

Lane 4's table (2026-10-03T20:05Z, at `de2ab703`: 52 CLOSED-LANDED, 11 PENDING, 5 LEFT-OPEN, 2 ALREADY-TICKED) was regenerated by its own generator, patched, at `c8d80020`, at `ba6bb870`, and again after each closing landing:

- every landing PR, now 115 across the six repositories, re-read with `gh pr view <n> -R opensoft/<repo> --json state,mergeCommit,mergedAt`, last at 2026-10-05T16:50Z. Since the first reading these have landed: #1230 (batch P, `ba6bb870`), openDox-code#84 (T104, which realizes no box, `32943cbf`), openDox-code#86 (the T100 follow-on, `651c35fe`), openDox-code#78 and openDox-code#79 (T101, `d59f3f26` and `dede32b4`), openDox#17 (T076, `504324de`), openDox#18 (T087, `e1e3a3c3`), openXdox-code#37 (T086, `56e1c238`), openXdox#22 (T094's openXdox root step, `9564d5d9`), #1234 (T094's ahead PR, `ca1c1486`), #1235 (phase 3's plan ticks, `70602a0a`), #1236 (T094, `36908480`), #1237 (T094/T098, `20ce593e`), #1238 (T089, `fab575ad`), openDox-code#75 (T095, which realizes no box, `389e5a4a`) and openDox#19 (T099's root README, `d77f8cbf`);
- every task's landing re-read from plan 034's own `Landed:` bullet (78 of 96 tasks ticked at `c8d80020` and `ba6bb870`, 85 at `20ce593e`, 86 at `a43845e6`, 87 at `8a37a087`), and each run record traced to the openxFactory PR that added it: `checkpoint-phase1.md` (#1204 → `9d2e5bc3`), `checkpoint-phase2.md` (#1218 → `a883bbf6`), `f10.1-run.md` (#1223 → `f261fefa`), `f13.1-run.md` (#1224 → `de2ab703`), `f16.1-run.md` (#1231 → `0e01ca85`), `f11.1-phase3.txt` (#1237 → `20ce593e`), `checkpoint-phase3.md` (#1238 → `fab575ad`) and `at-r1/oracle-verdict.md` (#1241 → `8a37a087`). The T100 follow-on, which is no task, is read from the forge;
- batch P's text read at #1230's heads `84113a44` and `d08249a2`, and as it landed (`ba6bb870`, the squash of its head `051f9945`).

**Result: 63 CLOSED-LANDED, 0 PENDING, 5 LEFT-OPEN and 2 ALREADY-TICKED, of 70.** Since lane 4's table:

- T082 (openDox-code#76 → `ca9e1bd5`), T100 (openDox-code#82 → `38d3350e`), T102 (openDox-code#81 → `0116293a`) and T083 (openxFactory#1231 → `0e01ca85`) have landed. That closes 16.4, 16.5 and 16.6.
- The T100 follow-on (openDox-code#86 → `651c35fe`) has landed. That closes 16.3a.
- T086 (openXdox-code#37 → `56e1c238`) has landed. That closes 4.3 and 9.2.
- T098 (openxFactory#1237 → `20ce593e`), phase 3's interim F11.1, has landed. That closes 3.3 (below).
- T089 (openxFactory#1238 → `fab575ad`), phase 3's checkpoint, has landed. That closes F4.1, F5.2 and F16.1 (below).
- T076 (openDox#17 → `504324de`) and T101 (openDox-code#78 → `d59f3f26`, openDox-code#79 → `dede32b4`) have landed.
- T095 (openDox-code#75 → `389e5a4a`) and T096 (#1241 → `8a37a087`), AT-R1's two halves, have landed. They close no box of #1144.
- T099 has published `opendox` 0.1.0, and its root README PR has landed (openDox#19 → `d77f8cbf`). That closes 10.3 (below), the last box.

Batch P closes and rewords no box. In #1144's `tasks.md` it only inserts addenda at the ends of 12.4a, 16.3a and F16.1: no box line moves and no box changes state. Since `ba6bb870`, no landing has touched #1144's `tasks.md`. In plan 034's `tasks.md`, T097's own text is unchanged.

## The census

`python3 box_census.py openspec/changes/add-neutral-product-standalone-operability/tasks.md`, with the tool written from research.md § Appendix (byte-identical to the Appendix's heredoc).

Before, at `main` `8a37a087` (identical to `c8d80020`'s, `ba6bb870`'s, `20ce593e`'s and `a43845e6`'s):

```
2 8 2.1[ ] 2.1a[ ] 2.2[ ] 2.3[ ] 2.4[ ] 2.5[ ] 2.6[ ] F2.1[ ]
3 5 3.0[x] 3.1[ ] 3.2[ ] 3.3[ ] F3.1[ ]
4 5 4.1[ ] 4.1a[ ] 4.2[ ] 4.3[ ] F4.1[ ]
5 12 5.0[ ] 5.1[ ] 5.2[ ] 5.3[ ] 5.3a[ ] F5.1[ ] 5.4[ ] 5.4a[ ] F5.2[ ] 5.5[ ] 5.6[x] F5.3[ ]
7 8 7.0[ ] 7.1[ ] 7.1b[ ] 7.1a[ ] 7.2[ ] 7.3[ ] F7.1[ ] F7.2[ ]
9 8 9.1[ ] 9.2[ ] 9.2a[ ] 9.3[ ] 9.4[ ] 9.5[ ] F9.1[ ] F9.2[ ]
10 5 10.1[ ] 10.2[ ] 10.2a[ ] 10.3[ ] F10.1[ ]
11 3 11.0[ ] 11.1[ ] F11.1[ ]
13 8 13.1[ ] 13.2[ ] 13.3[ ] 13.4[ ] 13.4a[ ] 13.5[ ] 13.6[ ] F13.1[ ]
16 8 16.1[ ] 16.2[ ] 16.3[ ] 16.3a[ ] 16.4[ ] 16.5[ ] 16.6[ ] F16.1[ ]
total 125 Counter({' ': 105, 'x': 11, '~': 9})
```

After, at this head `9713f991` (`9713f991` changes only plan 034, so the census is `f94be2fd`'s):

```
2 8 2.1[x] 2.1a[x] 2.2[x] 2.3[x] 2.4[x] 2.5[x] 2.6[x] F2.1[x]
3 5 3.0[x] 3.1[x] 3.2[x] 3.3[x] F3.1[x]
4 5 4.1[x] 4.1a[x] 4.2[x] 4.3[x] F4.1[x]
5 12 5.0[x] 5.1[x] 5.2[x] 5.3[x] 5.3a[x] F5.1[x] 5.4[x] 5.4a[x] F5.2[x] 5.5[x] 5.6[x] F5.3[x]
7 8 7.0[x] 7.1[x] 7.1b[x] 7.1a[x] 7.2[x] 7.3[x] F7.1[x] F7.2[x]
9 8 9.1[x] 9.2[x] 9.2a[x] 9.3[x] 9.4[x] 9.5[ ] F9.1[x] F9.2[ ]
10 5 10.1[x] 10.2[x] 10.2a[x] 10.3[x] F10.1[x]
11 3 11.0[ ] 11.1[ ] F11.1[ ]
13 8 13.1[x] 13.2[x] 13.3[x] 13.4[x] 13.4a[x] 13.5[x] 13.6[x] F13.1[x]
16 8 16.1[x] 16.2[x] 16.3[x] 16.3a[x] 16.4[x] 16.5[x] 16.6[x] F16.1[x]
total 125 Counter({'x': 74, ' ': 42, '~': 9})
```

The release-1 groups are shown. Groups 1, 6, 8, 12, 14, 15 and the follow-ons read the same before and after. Earlier heads read `'x': 66, ' ': 50` (`76d8ff37` to `bd32ea9c`), `'x': 67, ' ': 49` (`cf2c6bdc`), `'x': 69, ' ': 47` (`5870cd00` and `23665543`), `'x': 70, ' ': 46` (`935164af` to `f6c6dc3c`) and `'x': 73, ' ': 43` (`e873b25f` to `0cde3961`).

## The change: #1144's `tasks.md`, and plan 034's ticks

- **63 boxes ticked**, each with its evidence note as the item's last paragraph, after any addenda. The note is in 1.8's and 3.0's form: a bold dated lead, `**Landed <date>**`, where the date is the last landing of the box's realizing tasks; the tasks; the landings as `repo#n → sha8`; and the falsifier's result, with where it was quoted. For example, 2.4:

  > **Landed 2026-09-27** (T030, in T011's PR): openDox-code#46 → `0e88454a`. `tests/test_imports_standalone.py::test_every_module_imports_with_no_sibling` first asserts the four siblings absent, then imports every module, failing with the first that still needs one (`evidence/checkpoint-phase1.md` § 1).

- **No ratified line moves.** Against `main` `8a37a087`, #1144's diff is the 63 checkbox lines, `[ ]` → `[x]`, and 64 inserted paragraphs (482 lines): 63 notes, and 1 R16 note on an open box (9.5). This was proven at `f94be2fd` by setting every checkbox to `[ ]` in both files and diffing: the result is 64 insertions and nothing else, and the lines the two files share differ only by the 63 flips. The only other file the PR changes is plan 034's `tasks.md` (below). The file is byte-identical to a fresh re-apply of the regenerated decisions onto `main`'s file.
- **Research R16** (research.md § R16), each figure re-checked against research R2, R4, R5, R10 and R13 and plan 034's records:

| R16 item | box | where it is recorded |
|---|---|---|
| 1 | 2.5 | in 2.5's note: 22 modules, not 26, were reached by no CI step |
| 2 | 9.4 | in 9.4's note: openXdox-code's floors read `564/558/6` at `626f2c8d`, not `539/533/6` |
| 3 | 4.3 | in 4.3's note, since 4.3 closed on T086 (an open-box note until then): `run_scoped_doc_health` makes three of the four reaches, and the fourth is `session_documents` |
| 4 | 3.2 | in 3.2's note: the proxy's refusal was written for NOTHING REGISTERED |
| 5 | 10.1 | in 10.1's note: Q-R4 is recorded at `runtime/cli.py:39-42`, not `:40-46` |
| 6 | 9.5 | a note on the open box (open for the arc's close, T090): the openDox pin was 11 commits behind, not 9, and T086 has since moved it to `dede32b4` |
| 7 | Group 2's heading | in 2.1's note, the box the heading introduces: 1,305 and 1,239 at `1e4a57fb` |
| 8 | 3.0 | no new line: 3.0's own note already records it (*"Read at ratification, 2026-09-24"*) |

## 10.3, closed on T099

10.3's box says the openDox root documents the entry point and does not host it, and batch H's addendum makes the documented command `pip install "opendox[local]"`, then `opendox generate-and-open --local …`. Plan 034 maps it to T076, T101 and T099:
- **T076** (openDox#17 → `504324de`) documents the install and the start, and adds no `make` target.
- **T101** adds the release workflow and the version bump (openDox-code#78 → `d59f3f26`, openDox-code#79 → `dede32b4`).
- **T099** publishes that commit at the cut, on Brett Heap's word (`5997633384`). Read from the forge and from PyPI:
  - the annotated tag `v0.1.0` (`9153c254`) names `dede32b4`, which the openDox root's `contracts/code-pin.yaml` names;
  - openDox-code's `release` run 37339111713, dispatched on that tag, completed `success` in all four jobs: `build and verify`, `publish to TestPyPI (the dry run)`, `install opendox[local] from TestPyPI` and `publish to PyPI`, whose steps include `PyPI serves the files the build job verified`;
  - `https://pypi.org/pypi/opendox/0.1.0/json` lists exactly two files, neither yanked: `opendox-0.1.0-py3-none-any.whl` (sha256 `8ecea00db6f9…`) and `opendox-0.1.0.tar.gz` (sha256 `56869b6208a8…`);
  - openDox#19 → `d77f8cbf` replaces the README's stand-in paragraph. At that commit, the README's first line resolves from PyPI, and no paragraph says that no release is published.

## Plan 034: T095, T099, T002, T007 and T097

Lane openxfactory-4's delegation of 2026-10-05T16:37:31Z asks #1233 to tick these, each with a `Landed` or `Done` bullet in #1226's form, so that release 1 closes at 92 of 96. Its ruling `5999175092` settles three points: (a), (a) and (a). Every sha in the bullets was read from GitHub.
- **T095**: openDox-code#75 → `389e5a4a`, which is X. Its `acceptance` job at X is the dispatched run 37333323932: `head_sha` X, job 111841708700, `success`, and its log reads `AT-R1 HTTP half: PASS (314 assertions held)`.
- **T099**: P against X. The compare shows four files between them, none a build input, so the ruled check exits 0. Then the tag, the release run, PyPI's two files and openDox#19, as above.
- **T002** (ruling (a)): 45 of the 50 slices in the three phases' writer tables were claimed on #656, and the bullet cites each claim. The five that were not are named in T091's form: P1-C, whose claim `5850230046` was posted as a literal file path and never edited, and P1-L, P2-H, P2-L and P2-M. Nothing is back-filled.
- **T007** (ruling (a)): batches A to P have landed (P #1230 → `ba6bb870`), and its status sentence now says so.
- **T097**: the census and research R16's corrections, with two non-normative notes beside them:
  - D6's T096 refusals, *"refused by name, with no browser signal"*;
  - the reachability of #1241's first commit, `f632d70c`, which `oracle-verdict.md` names as holding the bytes that ran (ruling (a)'s wording). It is not on `main`: `refs/pull/1241/head` (`5c663a7e`) reaches it, and so does #1241's branch, which still stands. `main`'s `SHA256SUMS` fixes the reviewed scripts, and the record names the ran bytes by their sha256.

## The checkpoint citations, by path

Lane openxfactory-4 ruled at 2026-10-05T16:25:25Z that the notes' `CP1 § n` and `CP2 § n` citations name their records, as the phase-3 notes name `evidence/checkpoint-phase3.md`. `CP1` and `CP2` are the shorthand of lane 4's table, and #1144 never defines them. The change is non-normative and inside T097's R16 scope. `10b6ba05` makes it. The 26 citations, in 25 notes, now read `evidence/checkpoint-phase1.md` (T049, #1204) and `evidence/checkpoint-phase2.md` (T063, #1218). A word diff against `e873b25f` finds those 26 tokens and nothing else; only the 25 paragraphs' line breaks move.

## F4.1, F5.2 and F16.1, closed on T089

T089, phase 3's checkpoint, landed on 2026-10-05T15:26:43Z as #1238 → `fab575ad`. Its record, `specs/034-opendox-standalone-operation/evidence/checkpoint-phase3.md`, extracts each block from #1144 by anchor at `36908480` and runs it from a fresh worktree at the commits phase 3 pinned: openDox-code `dede32b4`, the `code` of the openDox root `e1e3a3c3` (T087), and openXdox-code `56e1c238` (T086). It says of F4.1 and F5.2 *"T097 ticks both in #1144; this record ticks nothing there"*, and plan 034's T089 `Run` bullet says the same. Each box closes on that run, by plan 034's Box accounting:

- **F4.1** (`F4.1 → T089`): as extracted (sha256 `8900b985e72f`) and run unchanged, it exits 0 with `1 passed`, `1 passed`, then `no deferred reach names the consumer or the publisher` (§ 1).
- **F5.2** (`F5.2 → T086, T089`; RULED `5962785556`, item 1, moves its close to phase 3): whole, as batches C, F, G and K amend it (`OPENXFACTORY` at `36908480`, last step `--chains`), it exits 0. The seven suites pass whole (45, 23, 18, 6, 40, 9 and 12 passed), `test -s` holds, and the last step prints five `admitted:` lines, then `ok: 5 protected edit(s), each entered and holding` (§ 5). One of the five admits T086's edits to `tests/test_session_snapshot.py`, by entries 16, 17 and 19 of `tests/protected_suite_respellings.yaml` at `56e1c238`: the three pre-arc reds that T063 quoted, each entry naming the test it repairs.
- **F16.1** (`F16.1 → T083 (at 38d3350e), T089 (batch P's cases, at T087's pin)`): with batch M's line, it exits 0 with `24 passed`, the dialect line, `no model configured: the catalog offers nothing`, `83 passed` and `532 passed` (§ 4). `dede32b4` carries the T100 follow-on (openDox-code#86 → `651c35fe` is its ancestor, and the only commit between T100's landing and `dede32b4` that touches `tests/test_model_binding_trust.py`). That file is the same at both: 160 tests, among them batch P's six `test_F16_1_batch_p_*` cases and A8's `test_A8_a_state_directory_that_is_a_link_trusts_nothing`, none of which exists at `38d3350e`. T083's run there is quoted beside it, as before.

## 3.3, closed on T098

3.3 asks that the carve manifest's `deleted_at_carve` row for `scripts/ideation_dashboard/profile_openxfactory.py` stay BYTE-IDENTICAL. T017, which realizes it, reads the row through the three interim F11.1 runs, *"and T097 ticks 3.3 on all three"*. Each was re-checked on `main` `20ce593e`:

- **Phase 1**, T018 (#1202 → `e81eed62`, `evidence/f11.1-phase1.txt`): the amended run at T047's landing prints `requirement 1 holds: 0 note(s) annotated, every other path a declared surface (11.1)`, and the record's T017 section reads the row.
- **Phase 2**, T065 (#1217 → `1f670bc3`, `evidence/f11.1-phase2.txt`): the same line, at T064's landing.
- **Phase 3**, T098 (#1237 → `20ce593e`, `evidence/f11.1-phase3.txt`), at ARC_TIP `36908480` (T094, #1236). It prints the same line (exit 0) over the arc's three landings, and it refuses a planted path. `docs/opendox-carve-manifest.yaml` is touched by none of the three. Its T017 section finds the row equal at the manifest's introducing commit `17167481` and at that tip, both raw and parsed: `not_moved`, `deleted_at_carve`, no `edits`.
- **Re-read for this tick at `main` `20ce593e`:** the row is still equal to `17167481`'s, both raw (4 lines) and parsed. `scripts/opendox_host.py` is still openxFactory's host: T094 modified it and deleted nothing, which F11.1 would have refused.

## 4.3 and 9.2, closed on T086

T086 landed on 2026-10-05T12:23:03Z as openXdox-code#37 → `56e1c238`. It is a squash whose tree (`78ef1ed1`) is that of its head `57bebd8b`. Its pin is openDox-code `dede32b4`, the commit T087 pins (openDox#18 → `e1e3a3c3`).

- **4.3** closes *"with the last of"* the nineteen reaches into openXdox, and *"openXdox-code's ratchet (`OPENDOX_BACK_IMPORTS`) is tightened to `(0, 0)` in the same landing"*. At `56e1c238`:
  - `tests/test_dependency_direction.py` holds `OPENDOX_BACK_IMPORTS = {}`, and `test_the_pinned_opendox_does_not_import_openxdox_back` asserts `(0, 0)`.
  - openXdox-code#37's body reads that file `17 passed` at the pin, with the census empty.
  - `consumer_reach.py`, absent at `dede32b4`, was retired by T084 (openDox-code#77 → `e49b17c3`).
- **9.2** closes in phase 3 (batch F's addendum), with batch B's note. At `56e1c238`:
  - `tests/declared_exclusion.yaml` holds 66 entries carrying 68 reasons: 60 `doc_health`, 3 `status-exemption-rail` and 5 `openxfactory-contracts`.
  - CI's `validate` at the PR's head (openXdox-code run 37307785866) printed `open extraction: the declared exclusion` and `triple: selected=1099 passed=1095 skipped=4 failures=0 errors=0`.
  - Requirement 9 stays open until T008.

## 16.3a, closed on the T100 follow-on

16.3a is *"Carried out by T100"*, and batch P's addendum adds *"Carried out by a T100 follow-on openDox-code PR (claim `5982447319`), which is no task of plan 034 and lands before T087"*:

- T100 landed as openDox-code#82 → `38d3350e`.
- The follow-on landed as openDox-code#86 → `651c35fe` (09:49:55Z). It is a squash whose tree is that of its head `aecac805`, and it landed before T087 (openDox#18, 11:58:27Z) and T101.
- It carries out Brett Heap's `5982436447`, item 2, and `5983805990`, with the holder's `5984069416`, `5985046107` (C1 to C5) and `5985553609`, and the holder's A8.
- Its body records the falsifier: F16.1's block as batch P amends it, run by T089's runner at `aecac805`, exits 0 with `532 passed` in `tests/test_model_binding_trust.py`. The six `test_F16_1_batch_p_*` tests are present at `651c35fe`.
- The open trust-time existence check, and the follow-ons of openDox-code#86's eighth Copilot review, move no box of release 1. 16.3a's own text says so for the first, and the holder's `5992038800` for the second.

## Left open, by T097's own text

- 9.5, 11.0, 11.1 and F11.1, for the arc's close (T090 to T093), and F9.2, until T008. Nothing else is held.

## T097 is ticked

T097's task is *"Tick #1144's release-1 boxes, each with its evidence note: the 63 in the table below."* All 63 are ticked, so `f94be2fd` ticks T097 in the same commit as 10.3, the last box, as lane 4's brief requires.

## The merges of `main`

- **`bd32ea9c`** merged batch P (`ba6bb870`). It gave the one conflict this PR expected, at 16.4's checkbox line, which follows batch P's insertion at the end of 16.3a. The resolution took `main`'s text for every hunk batch P changed and re-applied the ticks and notes with the same tool, byte-identical to a fresh re-apply onto `main`'s file.
- **`96c74eab`** merged `main` `20ce593e` (#1234 to #1237). It was clean, because none of the four touches #1144's `tasks.md`.
- **`f6c6dc3c`** merged `main` `a43845e6` (#1238 and #1239). It was clean too, because neither touches #1144's `tasks.md`.
- **`9759313b`** merged `main` `f2acc88c` (#1240), and **`0cde3961`** merged `main` `8a37a087` (#1241). Both were clean, for the same reason.
- Every tick since is a fresh re-apply onto `main`'s file.

## Gates, at `main` `8a37a087` and at this head `9713f991`, in one full clone named `openxFactory`

| gate | `main` `8a37a087` | this head `9713f991` |
|---|---|---|
| `python3 scripts/validate-openspec-cli-pin.py --all --no-cache` (CI's form; pinned 1.12.0) | rc 0, `110 passed, 1 failed (111 items)`, `0 UNDISPOSITIONED failures`, 1 accepted exception (`add-chain-attestation`) | identical output, but for the pinned CLI's temporary directory |
| `… --change add-neutral-product-standalone-operability` | — | rc 0, `1 passed, 0 failed`, `validated --strict clean` |
| `scripts/doc-health.py --single-repo . --as-of 2026-10-05` | `31 critical, 22 error, 69 warning, 20 info`, 0 new regressions | byte-identical report |
| `proposal-support.py . verify add-neutral-product-standalone-operability` | ok | identical |
| `validate-sequenced-after.py . --ledger-diff` | 229 rows, consistent | identical |
| `validate-code-surface.py`, `validate-target-release.py`, `validate-pin-registrations.py`, `validate-document-catalog.py` | rc 0 each (the catalog: 0 errors, 0 warnings) | identical |
| `pytest -m "not postgres"` over `tests/doc-health`, `sequenced_after`, `proposal-support`, `former_id_arrival`, `citation_remainder`, `signed_execution_chain`, `openspec_cli_pin`, `target_release`, `code_surface`, `packet_reference`, `scope_globs` | the 8 below fail identically | running (the last full run, at `10b6ba05`: `8 failed, 3427 passed, 1 skipped`) |

The 8 failures are environmental, the same 8 at every head. Each needs the `openDox` and `openXdox` legs initialized, as CI's `pytest-suite` does, or a reachable pinned validator: `test_ideation_readiness.py` (3), `test_readiness_dispatch.py` (1), `test_sentinel_vocabulary.py` (2), `test_status_reader_real_lines.py` (1) and `test_chain_reader.py` (1). Re-run alone at `main` `8a37a087`, they read `8 failed` with the same messages. The venv was built by CI's own `pip install --require-hashes -r requirements/hermes-runtime-contracts.lock`, with `LANG=C.UTF-8` and every `GIT_*`/`XF_*` variable unset. The earlier rounds read the same: `main` `c8d80020` against `76d8ff37`, `b7f49673` and `e2efb3a1`, `main` `ba6bb870` against `bd32ea9c`, `cf2c6bdc`, `5870cd00` and `23665543`, `main` `20ce593e` against `935164af`, `main` `a43845e6` against `e873b25f`, and `main` `f2acc88c` against `10b6ba05`. At `f94be2fd` the local run was stopped at 31% on a session swap, and CI's `pytest-suite` passed there. No test, script or workflow reads plan 034's files (`git grep` over `tests`, `scripts` and `.github` finds none).

Also checked, on the inserted text at `9713f991`:

- every `repo#n → sha8` in #1144's notes (71 distinct pairs, 122 mentions) and in plan 034's bullets is that PR's merge commit, per the forge;
- every other sha (`17167481`, `1e4a57fb`, `36908480`, `5c137a90`, `626f2c8d`, `aecac805`, `dede32b4`, `f8a1ece`; in the plan, `5c663a7e`, `9153c254` and `f632d70c`) resolves in its repository, and the file digests match PyPI's JSON and the `SHA256SUMS` files;
- each of the 63 `Landed` dates equals the last landing of the box's realizing tasks (F5.1's and F7.1's notes also name T063's later re-run, and 5.4a's names the host line, #1215);
- no closing keyword, no `Arc:` line, no host path, and no unqualified reference to another repository, in the diff, the commit messages or this body;
- no inserted line is wider than 80 characters, and in #1144 none starts a list, a heading or a table.

## CI and review

- **CI at this head `9713f991`:** running.
- **CI at `f94be2fd`:** every check-run completed `success`, the 8 required among them (`pytest-suite` 17:13:56Z to 17:31:21Z).
- **CI at `10b6ba05`:** every check-run completed `success` (`pytest-suite` until 17:04:09Z).
- **CI at `e873b25f`:** every check-run completed `success`, the 8 required among them (`pytest-suite` 15:57:01Z to 16:22:01Z). `lane-line` re-ran on each edit of this description and passed.
- **CI at `935164af`, `23665543`, `cf2c6bdc`, `bd32ea9c` and `e2efb3a1`:** every check-run completed `success`, the 8 required among them (`signed-execution-chain-gate`, `lane-line`, `former-id-arrival-gate`, `openspec-cli-pin`, `wallet-validation`, `pytest-suite`, `release-tag-gate`, `openxdox-consumer-gate`). At `5870cd00`, `23665543`'s run superseded its `pytest-suite`.
- **Copilot at `76d8ff37`:** one finding, r4179674026: F7.2's note named no landing commit for T058 or T063. `b7f49673` names them (openDox-code#68 → `047bb4fa`, openxFactory#1218 → `a883bbf6`), and 7.1's changelog landing too (openDox#15 → `66758438`). The thread is answered and resolved.
- **Copilot at `b7f49673`:** no new finding, and one "previously missed" note: that 5.4a's note wrongly said T059's run deselected the three pre-arc cases. The note was right, and comment `5985467371` gives the records. The cited lines are T059's Falsifier line, written before it landed; T059's `Landed` record and openXdox-code#35's body (rulings 4 and 6, and its F5.2 run) record the deselections. `e2efb3a1` makes the note exact and cites them.
- **Copilot at `5870cd00`:** *"Findings: None"*, and one "previously missed" low note: 5.5's note read as though `consumer_reach` *"names the task lists"*. `23665543` says what it meant, that the seven `consumer_reach` names T055 lists are retired.
- **Copilot at `e2efb3a1`, `bd32ea9c`, `cf2c6bdc` and `23665543`:** *"Findings: None"*. Where its status line read *"Changes recommended"*, it named only what this DRAFT waits for.
- **Copilot at `935164af`:** one finding, r4185667778: 5.4a's note read *"the seven red at both pins"*. `e93ab9fb` reads "the seven reds", and the thread is answered and resolved.
- **Copilot at `e873b25f`:** one finding, r4186043242: this description was stale after T089's ticks. It is refreshed here, and the thread is answered and resolved. A second request at that head registered no new review.
- **Copilot at `10b6ba05`:** *"Findings: None"*.
- **Copilot at `f94be2fd`:** two findings, review `5418196219`. r4186761333: plan 034's opening status still said batch P was to land, against this PR's T007 tick. `9713f991` says that all sixteen batches have landed, A (#1171) to P (#1230), and that T007 is closed. r4186761413: this description was stale at `e873b25f`. It was refreshed at 17:16:28Z, while that review ran, and is refreshed again here for `9713f991`. Both threads are answered and resolved.
- **Copilot at `9713f991`:** review `5418607294`, on the push. Its one open item was r4186761413, this description, refreshed here for `9713f991`. Its two "previously missed" low notes, at plan 034's lines 129 ("whose message lacks") and 4496 ("the drive"), need no change, because each phrase is the wording of the record it cites, T091's and `oracle-verdict.md`'s. A comment on this PR gives the records.
- Sourcery posted a reviewer's guide, and no comment on the diff. At 17:16:25Z it reported its review budget used, and its check-run reads `skipped` at `f94be2fd` and at `9713f991`.

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


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants