Skip to content

Plan 034 plan.md: the single-writer table's declared-exclusion chain and staging-workbench-model.js row (bookkeeping) - #1244

Merged
brettheap merged 1 commit into
mainfrom
bookkeeping/034-single-writer-table
Oct 5, 2026
Merged

brettheap merged 1 commit into
mainfrom
bookkeeping/034-single-writer-table

Conversation

@brettheap

@brettheap brettheap commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Authored by lane openXfactory-3, delegated by lane openxfactory-4 (#656 6000631668)

Plan 034, the single-writer table in plan.md: two rows that the landed history no longer shows (bookkeeping). openxFactory#1235's writer recorded both under "Not done here" and left them for the holder. This is release-1 follow-on slice C, on Brett Heap's word (#656 comment 6000582654, "openDox-code follow-ons first"). It carries no Arc trailer.

The diff is two table cells in specs/034-opendox-standalone-operation/plan.md (one commit, 2 insertions, 2 deletions). No other line of plan.md and no other file changes.

What changes

1. openXdox-code's declared exclusion file. The chain read T041 → T043 → T044 → T061. It now reads T041 → T043 → T044 → T059 → T061 → T086, with each new link carrying its effect on the file:

  • T059 (tests/test_seam_assembly_beside_gate_and_projection.py's entry leaves, 67 → 66)
  • T086 (tests/test_column_contributions_governed.py joins under doc_health, 65 → 66)

2. openDox-code src/opendox/web/views/staging-workbench-model.js. The row read T102 → T104 (the console token's reader). It now names T102 alone, the one phase-3 slice that edits the file, and says where T104's reader went: web/views/notebook.js instead (openDox-code#84), so no writer follows T102 here.

Every fact, checked against tasks.md and the landed PRs

The file named by row 1 is tests/declared_exclusion.yaml in openXdox-code. Its history on main (the GitHub commits API for that path, newest first) lists exactly five commits. The first created the file with 66 files (its message, and tasks.md's landing note), and the patches of the other four (T044, T059, T061, T086) move it as the third column says. T043's PR (#32) is not in that history: it moved no entry, as the row already said.

task openXdox-code PR → commit what it did to the file tasks.md says
T041 #30 → 5fbd188e created it: 66 files, four reasons "66 files under all four reasons"
T043 #32 → 4610bca5 not in the file's history "a re-run at T040's pin, which moved no entry" (the row's own words, kept)
T044 #33 → 6158151e count 66 → 67; tests/test_seam_assembly_beside_gate_and_projection.py joins under doc_health "the declaration holds 67 files"
T059 #35 → 839492d9 count 67 → 66; that same entry leaves "(67 → 66), and T059 joined that file's single-writer chain, T044 → T059 → T061"
T061 #36 → 6a3b93b9 count 66 → 65; tests/test_snapshot.py leaves, and its consumer-schemas reason with it "(66 → 65)"
T086 #37 → 56e1c238 count 65 → 66; tests/test_column_contributions_governed.py joins under doc_health "65 → 66, Q9 (a)"

Row 2. openDox-code's history for src/opendox/web/views/staging-workbench-model.js ends at T102 (#81 → 0116293a); T104 (#84 → 32943cbf) is not in it. The same API read for src/opendox/web/views/notebook.js lists #84 as its only edit since the adoption. tasks.md's T104 landing note says the same: "web/views/notebook.js, the one reader the PR edits … app.js, edit.js and the staging workbench's JS, which the task text names as the readers, are untouched". I also read the neighbouring lens.js row (T088 → T102). It agrees with the history (#65 → d0d3cee6, then #81 → 0116293a), and I left it.

Plan tools, before and after

The seven tools are lane 4's copies (depcheck, chaincheck, chaindirect, arrowcheck, phasecover, sharedfiles, qcheck, with aftergraph.py and qmap.py), run from the feature directory, specs/034-opendox-standalone-operation/, at main 12753f27 and at this head 4847b890, each in a full clone. qcheck takes qmap.py as its argument.

tool main 12753f27 head 4847b890
depcheck tasks: 96 nodes: 108 … edges: 270, cycles: none, cycles with the Lands-with groups merged [['T011', 'T030'], ['T031', 'T036'], ['T045', 'T046', 'T047']] : none byte-identical
chaincheck single-writer chain gaps: 0 byte-identical
chaindirect 42 lines, including openXdox-code exclusion file T044->T061: transitive ['T061', 'T059', 'T052', 'T049', 'T047', 'T044'] byte-identical
arrowcheck arrow mismatches: 0, arrows checked: 83 byte-identical
phasecover phase 1 → T049: 32 tasks; not before the checkpoint: []; after it: ['T048']; phase 2 → T063: 17 tasks; not before the checkpoint: []; after it: []; phase 3 → T089: 29 tasks; not before the checkpoint: []; after it: ['T099']; T095, T096, T097 each ancestors include T076? True, T089? True byte-identical
sharedfiles 87 lines: 82 ordered, 5 NOT ORDERED (P1-A/P1-B, P1-A/P1-D, P1-B/P1-D, P1-H/P1-G, P3-I/P3-E); P3-S edit and chat by scope [T102] vs P3-C the console token [T104] share ['staging-workbench-model.js']: ordered A<B byte-identical
qcheck headers checked: 27 of 27; mismatches: 0 byte-identical

Each of the seven outputs was compared with cmp, and each is identical. That is the expected reading, and it is the reason this section carries two more checks below, because none of the seven can see the two rows:

  • chaincheck.py and chaindirect.py hold their chains as literals in a CHAINS dict (the exclusion file's is still ["T041", "T043", "T044", "T061"]), so they test tasks.md's After graph against a copy of the plan's chains, never against plan.md's table;
  • depcheck, phasecover, sharedfiles and qcheck read tasks.md and clarify-questions.md only;
  • arrowcheck reads plan.md's ## Dependency graph section, which ends before ## Parallel slices, where the table sits.

So the stale spots cannot leave a tool's output, and the unchanged outputs show that this edit moved nothing the tools read. Two supplementary runs, from copies kept outside the repository, test the new rows themselves:

  1. chaincheck and chaindirect with the exclusion chain set to the new row's ["T041", "T043", "T044", "T059", "T061", "T086"] (the one literal changed in a copy of each). chaincheck: single-writer chain gaps: 0. chaindirect, the five exclusion-file pairs:
    T041->T043: DIRECT
    T043->T044: DIRECT
    T044->T059: transitive ['T059', 'T052', 'T049', 'T047', 'T044']
    T059->T061: DIRECT
    T061->T086: DIRECT
    
    Every pair is ordered by the After graph. T044 → T059 is transitive (T059's After list does not name T044), and the order holds through T052 ← T049 ← T047 ← T044. That is an ordering the graph already carried, not a new edge, and tasks.md's T059 note states the pair.
  2. A row check (rowcheck.py, a short script of mine that reads the two rows straight from plan.md and tests the exclusion row against the After graph and against the order of the landed commits above):
    main 12753f27                                             head 4847b890
    chain in plan.md: T041 -> T043 -> T044 -> T061            T041 -> T043 -> T044 -> T059 -> T061 -> T086
    equals the landed order: False                            True
    chain gaps: 0                                             0
    staging row names T104 as a following writer: True        False
    writers named before the colon: ['T102', 'T104']          ['T102']
    

Gates, at main 12753f27 and at this head 4847b890

Each in its own full clone named openxFactory, with the openXwallet, openXdox and openDox submodules initialized recursively as pytest-suite does. The venv was built by CI's own pip install --require-hashes -r requirements/hermes-runtime-contracts.lock; Python 3.12.3, node v24.21.0, the pinned OpenSpec CLI 1.12.0, LANG=C.UTF-8, every GIT_* and XF_* variable unset.

gate main 12753f27 head 4847b890
python3 scripts/validate-openspec-cli-pin.py --all --strict, and CI's form --all --no-cache rc 0 each: Totals: 110 passed, 1 failed (111 items); every target validated --strict with 0 UNDISPOSITIONED failures; 1 accepted exception (add-chain-attestation, accepted by Brett Heap 2026-09-05) identical, but for the clone path in the CLI's command line
scripts/doc-health.py --single-repo . --as-of 2026-10-05 rc 0: Findings: 31 critical, 26 error, 69 warning, 20 info. New regressions vs previous report: 0. identical, byte for byte but for the clone path
the validators .github/workflows/ invokes on a pull request: validate-former-id-arrival.py, validate-clearing-dispatch.py, validate-factory-identity.py, validate-signed-execution-chain.py --require-pinned-wallet-vocabulary rc 0 each identical
validate-release-tag-gate.py rc 0: no release surface change: none of the 2 changed path(s) between 8a37a087c and 12753f272 … rc 0, the same verdict over this PR's range: none of the 1 changed path(s) between 12753f272 and 4847b890a …
the repository's other validators, run directly: validate-sequenced-after.py --ledger-diff, validate-code-surface.py, validate-target-release.py, validate-pin-registrations.py, validate-document-catalog.py, validate-scope-globs.py rc 0 each identical

openreposhape-pin-gate needs a checkout of its own pin and is left to CI. The one output line that differs between the two columns is the release-tag gate's own commit range.

The doc-health reading depends on how far the submodules are materialized, and the same on both sides. With the nested legs initialized (git submodule update --init --recursive openXdox openDox, as pytest-suite does) it reads 26 errors, at main and at this head. Without openXdox/spec it reads 22, at both, because release-inventory-drift then skips its comparison and the four extra findings (scripts/hermes_runtime_validation/catalog.py, …/release.py, scripts/validate-hermes-runtime-contracts.py and scripts/validate-ideation-dashboard-contracts.py, each "bytes differ from the digest 'contract-v4.0' records") do not appear. They are on main already, and this PR touches none of those files.

pytest

CI's pytest-suite at the exact head (run 37358868274): completed, success. selected=9376 passed=9370 skipped=6 failures=0 errors=0; floors: selected>=7050 (margin 2326) passed>=7044 (margin 2326) skipped==6; the freshness verifier and the vector replay both passed.

My own full run, CI's command (python3 -m pytest tests/ -q -m "not postgres", with GIT_CONFIG_GLOBAL=/dev/null and GIT_CONFIG_NOSYSTEM=1 set as pytest-suite.yml's header describes, and no other GIT_* or XF_* variable), once at main 12753f27 and once at this head 4847b890, in the two clones above:

  • both read 1 failed, 8956 passed, 7 skipped, 338 deselected, 9 warnings, 391 subtests passed (2235 s at main, 2231 s at this head);
  • the one failure is the same node at both: tests/domain_profile/test_hermeticity_probe_routes.py::test_the_bare_unittest_route_is_detected_as_unguarded (assert 0 != 0). It is an artifact of how I ran: the test makes its child "bare" by stripping the PATH entries under the system temp directory, and I had put pytest's --basetemp beside TMPDIR instead of under it, so the guard's shim directory stayed on the child's PATH. Re-run alone with --basetemp under TMPDIR, it reads 3 passed at main and 3 passed at this head. CI, with the default basetemp, reads 0 failures.

Observations, not changed

The brief limits this change to exactly these two spots, so these stay as they are, for the holder:

  • plan.md line 190 (the "Source layout" map, outside the single-writer table) still lists src/opendox/web/app.js, web/views/edit.js, staging-workbench-model.js against T104. It is the plan's statement of the surface T104 was cut to edit. tasks.md's P3-C row and T104's landing note record the divergence.
  • The tools' CHAINS literals carry the old exclusion chain, as above. They are lane 4's copies and I did not edit them.
  • The ratchet row (tests/test_dependency_direction.py, T040 → T059 → T086) is about the ratchet's values, and I read the two other edits of that file in the history, T043 (implement-avatar-client-lab: sweep realized tasks (1-8, 9.2); park 9.1 gate #32, docstring and comment text) and T061 (Brainstorm: topic compilation tree + linked supporting docs #36, a census of scripts under src/). Neither moves a ratchet value, so I left the row.

Review

CI, read from the check-runs API at the exact head 4847b890: every check-run listed is completed and success: SonarCloud Code Analysis, clearing-dispatch-gate, copilot-pull-request-reviewer, former-id-arrival-gate, lane-line, merge-master-approval, openreposhape-pin, openspec-cli-pin, openxdox-consumer-gate, pytest-suite, release-tag-gate, signed-execution-chain-gate and wallet-validation. (lane-line runs again on each edit of this description, so the API lists it more than once.)

Copilot: the repository's copilot_code_review ruleset (review_on_push, review_draft_pull_requests) requested it when the draft opened, and a GraphQL read of the PR's reviewRequests already listed copilot-pull-request-reviewer before I made any request, so I made none. Its review is at the exact head 4847b890, state COMMENTED: "Approval recommended", "Both documentation corrections match the recorded task outcomes, with no unresolved issues", Findings: None. It left 0 inline comments and the PR has 0 review threads, so there was nothing to classify under the convergence rule (#656 comment 5988818366) and no thread to act on.

Main moved after this branch's base: 12753f27 → 0d143582 (#1211, the doc-health catalog's probe-error handling: scripts/ and tests/ only, no specs/ file). The strict-up-to-date policy is off in the ruleset (strict_required_status_checks_policy: false) and GitHub reports the PR mergeable, so I did not merge main, and every result above is at the base it names.

🤖 Generated with Claude Code

…and staging-workbench-model.js row (bookkeeping)

Two rows of plan.md's single-writer table named a writer order the landed history
no longer shows. Both were recorded as left open under "Not done here" in
openxFactory#1235.

- openXdox-code's declared exclusion file: the chain read T041 -> T043 -> T044 ->
  T061. The file's own history on openXdox-code main is T041 (#30, 66 files),
  T044 (#33, 67), T059 (#35, 67 -> 66: the seam-assembly suite's entry leaves),
  T061 (#36, 66 -> 65: test_snapshot.py's entry leaves) and T086 (#37, 65 -> 66:
  test_column_contributions_governed.py joins under doc_health). T043 (#32)
  moved no entry and stays as the row has it. The chain now reads T041 -> T043 ->
  T044 -> T059 -> T061 -> T086.
- openDox-code src/opendox/web/views/staging-workbench-model.js: the row read
  T102 -> T104. T104 (openDox-code#84) edited web/views/notebook.js instead, as
  its body in tasks.md and its P3-C row say, and never touched this file; the
  only phase-3 slice that edits it is T102 (openDox-code#81). The row now names
  T102 alone and says where T104's reader landed.

plan.md's table only. No other line of plan.md, and no other file, changes.

Lane: openxfactory-3

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 5, 2026 18:49
@sourcery-ai

sourcery-ai Bot commented Oct 5, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates two single-writer table cells in plan.md so their chains reflect the landed repository history: the exclusion file now includes T059 and T086 in order, while staging-workbench-model.js ends at T102 because T104 edits notebook.js instead.

File-Level Changes

Change Details Files
Correct the declared-exclusion file’s single-writer chain to match the landed task and commit history.
  • Insert T059 after T044 and record its exclusion-entry removal.
  • Retain T061 and record its subsequent count change.
  • Append T086 and record its new exclusion entry.
specs/034-opendox-standalone-operation/plan.md
Correct the staging workbench model’s writer row to identify the actual phase-3 editor and relocate T104’s reader.
  • Make T102 the final writer named for the file.
  • Document that T104 edits web/views/notebook.js instead.
specs/034-opendox-standalone-operation/plan.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

Both documentation corrections match the recorded task outcomes, with no unresolved issues.

Review effort: Balanced
Findings: None

What changed in this PR

Corrects Plan 034’s single-writer table to reflect landed openDox/openXdox work. No runtime behavior changes.

Changes:

  • Adds T059 and T086 to the declared-exclusion file’s chain.
  • Clarifies that T104 edited notebook.js, not staging-workbench-model.js.
File Description
specs/​034-opendox-standalone-operation/​plan.md Corrects two single-writer table entries.

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

@sonarqubecloud

sonarqubecloud Bot commented Oct 5, 2026

Copy link
Copy Markdown

@sourcery-ai

sourcery-ai Bot commented Oct 5, 2026

Copy link
Copy Markdown

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 54 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap

Copy link
Copy Markdown
Contributor Author

READY at 4847b89 — Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Holder: lane openXfactory-3's follow-on slice C, plan 034's plan.md single-writer table. It is bookkeeping, with no Arc: trailer (R1Q20 (a)). It fixes the two stale spots #1235 recorded under "Not done here":

  • the declared-exclusion file's chain now names T086 and T059;
  • the staging-workbench-model.js row no longer names T104.

Gates:

  • The plan tools are identical to main's.
  • The pinned OpenSpec gate and doc-health read as they do on main.
  • All 16 checks pass.
  • Copilot finds nothing at the head, and there are 0 threads.
  • There is no closing keyword.

Authority: Brett Heap's word, 6000582654.

@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-05T19:30:28Z, PR #1244 into opensoft/openxFactory main

@brettheap
brettheap merged commit 0f2a87f into main Oct 5, 2026
17 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

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

LANDED — lane openxfactory-4, 2026-10-05T19:30:49Z, PR #1244 → 0f2a87f (opensoft/openxFactory main; squash)

brettheap added a commit that referenced this pull request Oct 5, 2026
Brings in origin/main 0f2a87f (#1211 doc-health catalog fail-closed with a
Python 3.14 leg, #1244 plan 034 bookkeeping). It overlaps nothing in the
dashboard lane files. Merged clean.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[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