Skip to content

Release contract-v1.29 wheel, intent, and worker contracts - #52

Merged
brettheap merged 8 commits into
mainfrom
change/add-wheel-action-verbs
Aug 3, 2026
Merged

brettheap merged 8 commits into
mainfrom
change/add-wheel-action-verbs

Conversation

@brettheap

@brettheap brettheap commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add promote-to-staging, derive-possibles, and research-brief to the gate intent/action contracts with verb-specific targets and required workflow-job companions
  • register gate-intent and refresh gate-action-record in additive bundle contract-v1.29
  • register the seven worker-enrollment schemas and their raw-byte digests
  • correct the catalog defect present in contract-v1.27 AND republished by contract-v1.28: non-Hermes cross-family schemas are classified as closed release-schema members rather than Hermes semantic schemas
  • publish the closed 190-entry contract-v1.29 inventory; every release-only schema carries both raw digest and catalog schema-version pins
  • mark the owning OpenSpec registration tasks complete (wheel 1.5–1.6 + 4.2, intent-plane 2.4, broker 1.11)

Renumber: v1.28 → v1.29

The branch's original contract-v1.28 candidate collided with the published contract-v1.28 (chat-turn active_document_path nullability, PR #53), which merged first and owns the immutable tag. Merge commit 155b20e keeps the published v1.28 surface verbatim (inventory, CHANGELOG entry, chat-turn schema at its post-G-1 bytes) and re-cuts this bundle as contract-v1.29 per the versioning policy's bundle-realization-order rule.

Review

  • Round 1: Claude /code-review reviewed the implementation head; its confirmed findings were fixed in 6ff9c54 before the first bundle cut.
  • Round 2 (replaces the session-limit-killed runs noted earlier): a four-finder review of exact candidate 5a1cdc8 (release integrity/closure, release-schema semantics, prior-findings fix verification, OpenSpec accuracy). Verified outcomes:
    • 8 of round 1's 14 findings confirmed FIXED, and the remainder are fixed in 6fe2035: required: [action] guards on the three wheel conditionals, intent verb-enum comment corrected (transportable subset, not a lockstep mirror), fail-closed format: date-time enforcement in both canonical validators (previously silently vacuous without rfc3339-validator), negatives test asserts on error.validator_value instead of message wording, four pre-existing intent fixtures quote snapshot_rev_seen, and release.py turns a missing catalog contract_schema_version into a clean ReleaseDependencyError with direct tests pinning the release-schema branch of _catalog_pin_findings.
    • The doxBench release-schema re-typing now has an OpenSpec trail (wheel proposal REGISTER bullet + task 1.6) instead of living only in CHANGELOG prose.
    • Verified clean: release membership checks are two-directional in both the inventory and catalog directions (no unregistered schema can ride a release), 22/22 spot-checked digests match raw git blobs, v1.27 inventories still verify under the widened verifier, and the re-typing repairs origin/main's own catalog-loader rejection.
  • Codex reviewed 10d5165 and 5a1cdc8 with no major findings; a fresh Codex review is requested below for the new head. This PR remains draft until that independent review is clean.

Known follow-ups (reviewed, deliberately deferred)

  • The delegated dashboard validator's check_gate_precondition still implements only kickoff's D17 rule; the three wheel commissions get no cross-instance precondition (and no SKIPPED note). Deferred to the codexFactory engine realization (wheel tasks 2.x), where the promotability predicate lives.
  • tests/ideation_dashboard/ duplicates the module harness across its two suites instead of a shared conftest.py, and the corpus-sweep test overlaps the sibling's end-to-end subprocess test.
  • Release-only schema version pins are catalog↔inventory consistent but not cross-checked against an in-file annotation (the seven worker-enrollment schemas declare none); contract-index.yaml member type is not a closed enum. Both are hardening candidates for the next release-tooling change.
  • _require_schema_pin() accepts YAML booleans (bool subclasses int, so contract_schema_version: true would pin as 1) — Copilot suppressed note on 411f273; same next-release-tooling bucket as the pin cross-check above.

Validation

Exact head 411f273 (validators re-run after the dependency fix; pytest from 155b20e, whose Python surface differs only by the two guard lines and requirements files):

  • python3 scripts/validate-contract-release.py verify-commit --commit HEAD — pass, contract-v1.29
  • python3 scripts/validate-manifest-digests.py — 117 digests verify
  • python3 scripts/validate-ideation-dashboard-contracts.py --strict — 0 errors, 0 warnings (with format: date-time now actually enforced); 29 valid, 50 negative, 8 transition pairs
  • python3 scripts/validate-worker-enrollment.py . --strict — 0 errors, 0 warnings
  • python3 scripts/validate-hermes-runtime-contracts.py — pass; 50 contracts, 32 semantic schemas, 110 fixtures, 837 tests collected
  • OPENSPEC_TELEMETRY=0 openspec validate --all --strict — 52 passed
  • python3 -m pytest tests/hermes_runtime_contracts tests/ideation_dashboard -q — 882 passed in 2042s (0:34:02)

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings August 2, 2026 14:43

@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.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

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.

Pull request overview

This PR extends the ideation-dashboard “gate intent” and “gate action record” contract schemas to support three new wheel commission verbs (promote-to-staging, derive-possibles, research-brief) while preserving contract_schema_version: 1 and maintaining open-object (additive) compatibility. It also adds packaged positive/negative examples and focused contract tests to ensure the new verb-specific target and workflow-job requirements are enforced.

Changes:

  • Extend gate-intent.schema.yaml and gate-action-record.schema.yaml enums and add verb/action-specific target requirements (possible_id/cluster_id).
  • Require wheel action records to include a workflow-job artifact via per-action conditionals.
  • Add contract-focused pytest coverage plus new positive examples and single-violation negative fixtures, and document the new cases in the examples README.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/ideation_dashboard/test_wheel_action_contracts.py Adds targeted contract tests for wheel verb enum growth, open-object posture, verb-specific targets, and workflow-job requirement.
openspec/changes/add-wheel-action-verbs/tasks.md Marks tasks 1.1–1.4 complete for the wheel action verb contract work.
examples/ideation-dashboard/README.md Documents new wheel intent/record examples and new negative fixtures; updates the schema/example mapping table and adds a “Wheel action commissions” section.
examples/ideation-dashboard/negative/intent-research-brief-without-possible-id.yaml Negative fixture proving research-brief intent requires target.possible_id.
examples/ideation-dashboard/negative/intent-promote-to-staging-without-possible-id.yaml Negative fixture proving promote-to-staging intent requires target.possible_id.
examples/ideation-dashboard/negative/intent-derive-possibles-without-cluster-id.yaml Negative fixture proving derive-possibles intent requires target.cluster_id.
examples/ideation-dashboard/negative/gate-action-research-brief-without-workflow-job.yaml Negative fixture proving research-brief action record requires a workflow-job artifact.
examples/ideation-dashboard/negative/gate-action-promote-to-staging-without-workflow-job.yaml Negative fixture proving promote-to-staging action record requires a workflow-job artifact.
examples/ideation-dashboard/negative/gate-action-derive-possibles-without-workflow-job.yaml Negative fixture proving derive-possibles action record requires a workflow-job artifact.
examples/ideation-dashboard/negative/gate-action-derive-possibles-without-cluster-id.yaml Negative fixture proving derive-possibles action record requires target.cluster_id.
examples/ideation-dashboard/gate-intent-research-brief.example.yaml Positive example for a pending research-brief intent with possible_id.
examples/ideation-dashboard/gate-intent-promote-to-staging.example.yaml Positive example for a pending promote-to-staging intent with possible_id.
examples/ideation-dashboard/gate-intent-derive-possibles.example.yaml Positive example for a pending derive-possibles intent with cluster_id.
examples/ideation-dashboard/gate-action-record-research-brief.example.yaml Positive action record example including required workflow-job artifact.
examples/ideation-dashboard/gate-action-record-promote-to-staging.example.yaml Positive action record example including required workflow-job artifact.
examples/ideation-dashboard/gate-action-record-derive-possibles.example.yaml Positive action record example including required workflow-job artifact.
contracts/schemas/gate-intent.schema.yaml Adds the three wheel verbs to the enum, adds cluster_id to target, and adds per-verb target requirements; updates header docs to describe additive growth.
contracts/schemas/gate-action-record.schema.yaml Adds the three wheel actions to the enum, adds cluster_id to $defs.target, and adds per-action target + workflow-job contains constraints; updates header docs accordingly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6ff9c5445a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +163 to +164
edit-document, open-pr, abandon-session, promote-to-staging,
derive-possibles, research-brief]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Realize the contract bundle with the schema update

Before integrating or releasing these new action values, update the contract release surface atomically. The changed gate-action-record.schema.yaml hashes to 835e2a1c…, while contracts/manifest.yaml still records 15e2759f…; gate-intent.schema.yaml also remains unregistered. Consequently manifest-digest validation and hash-verifying consumers reject these bytes, contrary to docs/contract-versioning-policy.md:27-29. Include the manifest, changelog, README registration, and release inventory changes required by task 1.5 in the candidate that carries these schema changes.

AGENTS.md reference: AGENTS.md:L9-L10

Useful? React with 👍 / 👎.

Copilot AI review requested due to automatic review settings August 2, 2026 16:22
@brettheap brettheap changed the title Add wheel action verb contracts Release contract-v1.28 wheel, intent, and worker contracts Aug 2, 2026
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

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.

Pull request overview

Copilot reviewed 29 out of 29 changed files in this pull request and generated no new comments.

Suppressed comments (1)

contracts/hermes-runtime/contract-index.yaml:7

  • contract-index.yaml now labels release-members with type: release-schema, but the Hermes release verifier’s catalog pin cross-check currently only considers type == "schema" when building schema_pins (see scripts/hermes_runtime_validation/release.py:_catalog_pin_findings). As a result, schema pin mismatches for these release-schema members will be silently skipped, weakening the release inventory verification for the newly-added/retagged entries.

Update the verifier to treat both schema and release-schema as schema-bearing entries when collecting catalog pins and matching inventory pins.

- contract_id: xfactory-workbench-model-catalog
  path: ../schemas/xfactory-workbench-model-catalog.schema.yaml
  type: release-schema
  contract_schema_version: 1

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 10d5165fb1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copilot AI review requested due to automatic review settings August 2, 2026 16:42
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

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.

Pull request overview

Copilot reviewed 30 out of 30 changed files in this pull request and generated no new comments.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 5a1cdc84df

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

brettheap and others added 2 commits August 3, 2026 01:19
- gate-action-record: the three wheel conditionals guard required:[action]
  (matching the intent side; acceptance unchanged, root requires action)
- gate-intent: verb-enum comment now states the enum is the
  intent-transportable subset, not a lockstep mirror of the record enum
- both canonical validators fail closed (exit 2) when jsonschema has no
  date-time checker, instead of silently skipping format enforcement
- release.py: missing catalog contract_schema_version becomes a clean
  ReleaseDependencyError instead of an int(None) traceback; direct tests
  pin the release-schema branch of _catalog_pin_findings
- wheel negatives test asserts against error.validator_value, not message
- four pre-existing intent fixtures quote snapshot_rev_seen like the wheel six
- tasks 4.2 checked (test_wheel_action_contracts.py); new 1.6 + proposal
  bullet give the doxBench release-schema re-typing an OpenSpec trail
- manifest re-pins the two touched schema digests

Co-Authored-By: Claude Fable 5 <[email protected]>
The branch's contract-v1.28 candidate collided with the published
contract-v1.28 (chat-turn active_document_path nullability, PR #53), which
merged first and owns the immutable tag. This merge keeps the published
v1.28 surface verbatim (inventory, CHANGELOG entry, chat-turn schema at its
post-G-1 bytes) and re-cuts the wheel/intent/worker-enrollment bundle as
contract-v1.29: rebuilt 190-entry inventory, restacked CHANGELOG entry
(now also naming v1.28 as republishing the v1.27 catalog defect and
pointing migration at v1.29), manifest bundle version and consumption
pins, README registry rows (+29th valid fixture from main), proposal
target_release allocation, and the three realization task notes.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 3, 2026 05:23

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.

Pull request overview

Copilot reviewed 37 out of 37 changed files in this pull request and generated no new comments.

Suppressed comments (3)

scripts/validate-worker-enrollment.py:172

  • The FormatChecker guard claims both date and date-time are enforced, but the runtime check only verifies that the date-time checker is registered. This script validates schemas that include format: date as well, so it should either verify both checkers (preferred) or update the comment/message to match what’s actually enforced.
    scripts/validate-ideation-dashboard-contracts.py:174
  • The FormatChecker guard claims both date and date-time are enforced, but the runtime check only verifies that the date-time checker is registered. This validator covers schemas that use format: date too (e.g. snapshot/register kernels), so it should either verify both checkers (preferred) or update the comment/message to match what’s actually enforced.
    contracts/manifest.yaml:3
  • This change sets the bundle tag to contract-v1.29 in-repo (manifest/changelog/digests), but the PR title/description repeatedly refer to releasing contract-v1.28. Please align the PR metadata with the actual release tag/version being produced (or rename the release artifacts if contract-v1.28 is still the intended output).
contract_bundle_version: contract-v1.29

@brettheap brettheap changed the title Release contract-v1.28 wheel, intent, and worker contracts Release contract-v1.29 wheel, intent, and worker contracts Aug 3, 2026
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 155b20ee8e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

# bare environment would silently accept malformed timestamps — fail closed
# instead of validating vacuously.
FORMAT_CHECKER = FormatChecker()
if "date-time" not in FORMAT_CHECKER.checkers: # pragma: no cover

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Declare the required RFC 3339 dependency

In a clean environment installed from the repository's canonical requirements/hermes-runtime-contracts.in or lock file, rfc3339-validator is absent, so jsonschema does not register date-time and this new import-time guard exits with status 2 before any validation can run. The identical guard also makes scripts/validate-worker-enrollment.py unusable in that environment, including the newly published worker-enrollment validation flow; add the dependency and regenerate the lock file as part of this release.

Useful? React with 👍 / 👎.

Codex P1 on 155b20e: a clean install from
requirements/hermes-runtime-contracts.lock lacked rfc3339-validator, so the
new import-time guards exited 2 before any validation could run. The .in
now declares rfc3339-validator==0.1.4 (lock recompiled via uv with hashes;
pulls six), and both guards check the date checker as well as date-time
(Copilot's suppressed note), naming the requirements file in their error.
Release inventory rebuilt for the two validator digests.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 3, 2026 14:52
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

Head is now 411f273: the P1 is fixed — rfc3339-validator==0.1.4 declared in requirements/hermes-runtime-contracts.in (lock recompiled with hashes), and both guards now verify the date checker as well as date-time, pointing at the requirements file in their error message. Release inventory rebuilt for the two validator digests; verify-commit passes as contract-v1.29.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 411f273d03

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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.

Pull request overview

Copilot reviewed 38 out of 39 changed files in this pull request and generated no new comments.

Suppressed comments (1)

scripts/hermes_runtime_validation/release.py:108

  • _require_schema_pin() currently accepts boolean YAML values because int(True) == 1 and int(False) == 0. Since YAML will happily parse true/false, this can silently turn an invalid contract_schema_version into a seemingly valid pin rather than raising the intended ReleaseDependencyError.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 411f273d03

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap
brettheap marked this pull request as ready for review August 3, 2026 15:22
@brettheap

Copy link
Copy Markdown
Contributor Author

Independent-review gate judgment before merge: Copilot reviewed exact head 411f273 clean (0 new comments). Codex reviewed 155b20e and raised one P1 (missing rfc3339-validator declaration), which 411f273 fixes exactly as requested — the delta between the two heads is that fix, the guard widening, the recompiled lock, and the two rebuilt validator digests. Two follow-up @codex review requests on 411f273 went unanswered for 25+ minutes; marking ready (itself a documented Codex trigger) and merging after a final bounded wait unless findings arrive.

@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.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create an environment for this repo.

@brettheap
brettheap merged commit ccfd892 into main Aug 3, 2026
1 check passed
@brettheap
brettheap deleted the change/add-wheel-action-verbs branch August 3, 2026 18:51
brettheap added a commit that referenced this pull request Oct 7, 2026
…ged evidence

Records the realization lane's own merged acts in tasks.md, on 5.1's pattern
(PR #1254). Edits only the 5.2-5.5 lines; 5.6 stays unticked, and 5.7 is left
exactly as #1255 merged it.

- 5.2: opensoft/openRepoShape#164 -> 1a9fc537 (squash, 2026-10-06T22:52:05Z);
  tests, tests-macos, tests-windows and SonarCloud green; full suite 1159 ->
  1200 passed, 33 skipped.
- 5.3: this PR (#1260) -> 9af2207, the pin advance; openreposhape-pin-gate
  green on it (run 37550154276).
- 5.4: opensoft/openBenches#139 -> 9fbe609c and #140 -> d86ba59b; post-merge
  main CI green; bootstrap suite 1042 PASS; workBenches#138 closed completed.
- 5.5: the private brettheap/new-workstation, cited by merged sha and file
  name only: #52 -> e081c5ab, #53 -> cb411460; no CI there; the live
  ~/.agents files are byte-identical to cb411460.

Each tick holds on main only through this pull request's merge, which waits on
Brett Heap's merge word and its required checks.

Lane: codeXfactory-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 7, 2026
…c537, the commit that realizes 5.2 (#1260)

Task 5.3 of the ratified change prefer-triad-project-shape. contracts/openreposhape-pin.yaml moves from e9c4827b to 1a9fc537bcce37301c85fc108fabd8a599b02000. That is openRepoShape #164, the commit that realizes 5.2, so the move also carries the 56 openRepoShape commits before it. Each file is classified by the pin's own digested-or-path-only rule. The result is 37 digested and 67 path-only members over a 104-file surface: 28 files are new since e9c4827b (6 digested, 22 path-only), 21 of the 31 earlier digests moved, and nothing was removed or renamed upstream. Template .gitattributes files are path-only, following the .gitignore, Makefile and validate.yml precedent. docs/project-repo-schema.md gains a dated currency note in the form its 2026-09-04 and 2026-09-05 notes set, and no doctrine sentence changes. The verifier's test constants move with the pin. tasks.md ticks 5.2 (openRepoShape #164 → 1a9fc537), 5.3 (this PR), 5.4 (workBenches #139 → 9fbe609c and #140 → d86ba59b) and 5.5 (brettheap/new-workstation #52 → e081c5ab and #53 → cb411460). 5.6 stays open with lane openRepoProject-1 (openRepoProject#3, #5). Checks: openreposhape-pin-gate is green, the pinned OpenSpec CLI result equals main's, doc-health finds nothing new, and every required check is green, merge-master-approval included.

Merged on Brett Heap's word "merge the 5.3 pin PR when green" (2026-10-07).

Copilot review not requested (Brett Heap, 2026-10-06).

Lane: codeXfactory-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 8, 2026
…entity bound by layer, the single-writer rows and the holder's batch-3 flags (plan 038) (#1263)

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

## T002c: plan 038's third bookkeeping batch (plan 038)

Bookkeeping: no `Arc:` line, and no `openspec/changes/` path. It encodes rulings already posted on #656 and landings already merged, each cited by comment id or merge commit, with no new decision. It follows #1251 and #1257 in form, and redoes nothing either did. #1257 landed as `c70bdbd9`, so this PR is not stacked; `origin/main` (`c9dfd4f8`) is merged into the branch, never rebased.

**Realizes / Falsifier:** none (bookkeeping). The gates are listed under "Gates" below.

### What changed (specs/038-opendox-document-tool-self-maintenance/)

**Ticks, each merge commit read through GraphQL (`pullRequest{mergeCommit{oid}}`) before it was written.** The sweep covered every PR merged since 2026-10-06T23:30Z in openDox-code, openXdox-code, openDox, openXdox, openDox-spec and openxFactory, re-run at 2026-10-08T16:16Z:
- openXdox-code: T095 #46 → `e2340bb6`, T101 #48 → `8b0401a1`, T098 #51 → `fc1115d6`, T103 #49 → `6f259156`, T096 #53 → `34e1c1f2`, T100 #54 → `2a3d8c09`, T099 #47 → `4aa3070a`, T102 #52 → `e7815ac5`, T097 #50 → `4dab93fc`, T022 #41 → `aefd1091`.
- openDox-code: T104 #94 → `d616da3e`, T072 #95 → `99220883` (the arc's first realization).
- Follow-ons recorded on the task they follow: T021's openXdox-code#55 → `da736090`, and T096's openXdox-code#56 → `9720925e`.
- T095's Landed line also records Copilot r4201411760 as the holder's READY note did (`6027382308`, accepted limit under `5988818366`; the fix rides T073).
- Nothing is ticked whose PR has not merged. T029 and T073 (openXdox-code#44, #45) and T012/T013 (openDox-code#90) stay open.

**New task T105** (R2-INV-P5, read-only, lane 3; holder `6027341795`, claimed `6027346843`): ticked on lane 3's DONE line (2026-10-07T00:28:59Z), its summary `6028122920`, the map `lane-coord-034/r2/R2-INV-P5.md`, and the holder's ruling `6028138991`. Verdicts: T041, T042 and T043 READY-WITH-NOTES; T045, T047, T048 and T049 blocked by plan order only. Placed under "Wave 1's readiness" before W1, with a row in the Phase 5 slice table. The task count is 91 and plan.md's two stale "79 tasks" cites now read 91 tasks and T001 to T105 (`6028364555` item 5).

**The four slice notes** (`6028138991`; no requirement or falsifier changes), as implementation notes on T042, T043, T045 and T047, refined by the holder's batch-3 flags (`6028364555`) and the Copilot-thread ruling (`6064169640`):
- T042: the token `RESET_CONFIRMATION` stays byte-identical, its wording may change; Files gain `docs/runtime.md` (R2-INV-P5 § T042: its two table arrays move with `identity.TABLES`, which `test_deploy_shape.py` holds); `RULED_TABLES` is encoded as the map words it.
- T042's SQL column is `full_run` (`6064169640`, fix-now, resolving Copilot 4205521074): the words "quote it or" are gone from T042, and `data-model.md` gains one line saying the SQL column is `full_run` because PostgreSQL 16 reserves `full`.

**Files and falsifiers:**
- T073: Files gain `tests/test_host_plane.py` and the `opendox-snapshot-*` farm exclusion scoped to the `opendox_spec` owner; the falsifier gains the farm case (Copilot r4201411760, accepted at #46's landing, `6027382308`, reply 4201421102). plan.md's conftest and `test_host_plane.py` rows, and the T020, T026 and T095 Files chains, end with T073.
- T015 and T016: Files gain `tests/test_capability_honesty.py` and `tests/test_lens_seed_actions.py` (`6027633398`), with the same-kind enumeration collateral pre-authorized in the minimal way and listed in each PR body, and `tests/test_default_profile.py` (`6023619783` item 1, corrected by `6026622117` item 2), with the chain T015 → T016. plan.md gains two single-writer rows.
- T041, T046, T057: the `identity` bound is split by layer (`6027706377` item 1, refining `6018624750`). T041 narrows to the module's own serialized finding shape; T046 gains it on `health list --json`; T057 gains it on the HTTP Health response; FR-011's coverage row cites all three.
- T022's falsifier gains the root-`.gitignore` source check (`6026275158` item 2); T102's gains the widened no-bypass scan (`6026275158` item 3); `6028364555` item 4.
- T012's Ruled line: `6026275158` item 1 and `6026622117` item 1.
- T072's Files name openDox-code#95, and T071's entry names its ratification record, openxFactory#1261 (a DRAFT PR that exists now). T015's PR does not exist yet, so its number is not named.

**Qualifiers and counts:** "plan 034's" on spec.md (two places) and clarify-questions.md (one place), found by content, nothing else moved (`6027706377` item 2). tasks.md's header and plan.md each carry a revision paragraph.

### Ruled and Decisions
Ruled (all on #656): `6027341795`, `6027346843`, `6027382308`, `6027633398`, `6027706377`, `6026275158`, `6026622117`, `6023619783`, `6028122920`, `6028138991`, `6028364555`, `6064169640`. Decisions: none new.

### Readings, disclosed
- T042's Files wording follows R2-INV-P5 § T042 (the `docs/runtime.md` arrays move with `identity.TABLES`); the holder's `6028364555` item 2 words the cause as the `full` rename, and cites the same map section.
- plan.md's `tests/test_default_profile.py` row says the chain "follows `default_profile.py`'s", as `6023619783` words it; T046 and T057 are not given the file in their own Files lines.
- `6023619783` item 2 (T071's record header) is not in this batch's items and is not encoded here.
- Lane 3's other R2-INV-P5 observations (moved #1144 line references, floor and census counts, T015's census line) stay informational and are not encoded (`6028364555` item 7).

### Gates
- `python3 scripts/validate-openspec-cli-pin.py --all --strict` at the merged head `b236fa6c`: exit 0 (the one accepted exception is `add-chain-attestation`'s disposition, as on main).
- doc-health (`scripts/doc-health.py --single-repo .`) at `b236fa6c` against `origin/main` `c9dfd4f8`, same clone: identical reports, 31 critical, 26 error, 69 warning, 19 info, zero differences after SHA normalization.
- Local `python -m pytest tests/ -q -m "not postgres" -n 8` at `3e6feb6b`: 9206 passed, 7 skipped, 1 failed. The failure is `tests/hermes_runtime_contracts/test_validator_cli.py::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]`, a 30 s subprocess timeout that fails identically on `origin/main` in the same clone. Later commits change only spec text and chain records.
- CI at the head `b236fa6c`: every check SUCCESS (rollup SUCCESS, read through GraphQL), including `pytest-suite`, `doc-health-py314`, `openspec-cli-pin` and SonarCloud. The head adds only the merge of `origin/main` `c9dfd4f8` (the archive of amend-worker-input-budget-dispatch-wording, #1269) to `c675894d`, whose rollup was SUCCESS too.
- Copilot: at `a9fc7e7b` two threads (4205521074 → fixed in `4263d665` on `6064169640`; 4205521173 → fixed in `c3409c03`). At `3e6feb6b` two threads (4221525148, the PR description, updated; 4221525277, the T020, T026 and T095 chains, fixed in `c675894d`). At `c675894d` and at the head `b236fa6c`: "Approval recommended", 0 open findings. All four threads are answered and resolved.

### NOT done
No requirement text, no contract file and no `openspec/changes/` path is touched. No box is ticked in #1144.

refs #656

🤖 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