Skip to content

Release: doxBench model-catalog and chat-turn contracts (contract-v1.27) - #45

Merged
brettheap merged 9 commits into
mainfrom
release/doxbench-contracts-v1.27
Jul 31, 2026
Merged

brettheap merged 9 commits into
mainfrom
release/doxbench-contracts-v1.27

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Realizes add-workbench-integrated-editor-chat tasks 2.1–2.4 and 2.5's registration/allocation. Merging LANDS the package; the immutable contract-v1.27 tag is then cut on the merge commit (do not tag pre-merge — R13: release identifiers name content that exists on main).

Package

  • Schemas (canonical, closed envelopes): xfactory-workbench-model-catalog.schema.yaml (GET /workbench/model-catalog success; public seven-field allowlist; empty catalog = successful editor-only posture) and xfactory-workbench-chat-turn.schema.yaml (request / validated success / fixed redacted failure; exact-UTF-8 SHA-256 content identity; exactly one outline + one document buffer; non-identity working_subject; limit-paired failures). Instance kinds use the retained workbench-* family per the compatibility ruling; file names carry the manifest xfactory- prefix.
  • Fixtures: 6 schema-valid positives, 8 one-violation negatives, plus the duplicate-turn-id pair — hashes computed, never invented.
  • Delegated validator growth + its own suite (tests/ideation_dashboard/, 21 tests): hash-parity recomputation, path confinement, one-of-each buffers, unknown-model/budget with SKIPPED-never-passed context semantics, unique proposal targets, failure/limit pairing, credential/endpoint spelling scan, duplicate-turn sweep.
  • Registration: manifest entries with per-file sha256; bundle contract-v1.27; README rows; CHANGELOG; canonical 181-entry release inventory. Release membership is sourced from contracts/hermes-runtime/contract-index.yaml — the two doxBench entries are added there (semantic+release members) with a one-line commented posixpath.normpath in hermes_runtime_validation/release.py so family-relative ../schemas/ paths resolve canonically in both working-tree and git-object sources.
  • Branch includes the change's task-1.6 rebase onto origin/main (one conflict resolved to main's authoritative predecessor annotations).

Validation evidence (verbatim, at 993940c / tree-identical 182f8fd)

  • validate-contract-release.py verify-commit: pass (inventory contract-v1.27.digests.yaml; both schema paths at :834/:841 of 181 entries)
  • validate-manifest-digests.py: OK — 109 per-file digest(s) verify
  • validate-ideation-dashboard-contracts.py self-test: 0 error(s), 0 warning(s)
  • Contract suites: 21 passed (tests/ideation_dashboard); family+routing 65 passed; tests-first red banked (20 failed, 1 passed) before any schema existed
  • Strict OpenSpec: Change 'add-workbench-integrated-editor-chat' is valid
  • NOT run in the bounded slice: the full tests/hermes_runtime_contracts pytest suite (its release surface is covered by verify-commit)

Post-merge ladder

Tag contract-v1.27 on the merge commit → codexFactory T005→T006 (pin via the normal xFactory workflow)→T007→T008; then T014/T021 and the US2/US3 waves.

Note: the change branch change/add-workbench-integrated-editor-chat is protection-locked at pre-rebase 92315e1 (no force-push); this release branch carries the rebased truth. 2.5's land/tag clause remains open until merge+tag.

🤖 Generated with Claude Code

brettheap and others added 6 commits July 30, 2026 22:19
…(contract-v1.27 allocation)

add-workbench-integrated-editor-chat tasks 2.1-2.4 complete, 2.5 registered
and allocated on-branch (land/tag at merge):

- xfactory-workbench-model-catalog.schema.yaml: the GET
  /workbench/model-catalog success envelope — public seven-field allowlist,
  structurally closed (credentials/endpoints/secret names impossible), empty
  catalog = successful editor-only posture (FR-025); catalog entries may only
  narrow the server ceilings (1,048,576 / 900,000)
- xfactory-workbench-chat-turn.schema.yaml: one file, three closed envelopes
  discriminated by kind — request / validated success / fixed redacted
  failure; exact-UTF-8 SHA-256 content identity; exactly one outline and one
  document buffer; non-identity working_subject by type; only limit failures
  carry measured data; typed proposals with unique targets, max two
- Instance kinds use the retained workbench-* identifier family per the
  compatibility ruling; file names carry the manifest xfactory- prefix (the
  catalog planning doc's prefixed kind reconciles at codexFactory T007)
- Six schema-valid positives + eight one-violation negatives + the
  duplicate-turn-id pair under examples/ideation-dashboard/ (hashes computed,
  never invented)
- Delegated validator grows the family: hash-parity recomputation, path
  confinement, one-of-each buffers, unknown-model/budget with catalog context
  (SKIPPED-never-passed without one), unique proposal targets, the
  failure/limit pairing, credential/endpoint spelling scan, and the
  duplicate-turn sweep; own pytest suite tests/ideation_dashboard/ (21 tests)
- Registration: manifest entries with per-file sha256 + bundle version
  contract-v1.27; README index rows; CHANGELOG entry;
  contracts/releases/contract-v1.27.digests.yaml
- Evidence: family suites 65 passed; validator self-test 0 errors/0 warnings;
  validate-manifest-digests.py OK (109 digests verify); strict OpenSpec
  validation valid. Branch previously rebased onto origin/main (task 1.6)
  with one conflict resolved to main's authoritative predecessor annotations

Co-Authored-By: Claude Fable 5 <[email protected]>
The digest-inventory membership is sourced from
contracts/hermes-runtime/contract-index.yaml, not the manifest alone: add the
two doxBench entries there (semantic_member + release_member, family-relative
../schemas/ paths), normalize catalog-relative paths in
hermes_runtime_validation/release.py (one commented posixpath.normpath, so the
working-tree and git-object sources see one canonical repo path), and rebuild
contracts/releases/contract-v1.27.digests.yaml with the tool (181 entries —
both schema paths present at :834/:841). Evidence: verify-commit pass;
manifest digests OK (109); contract-focused suite 21 passed; strict OpenSpec
valid.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings July 31, 2026 02:53

@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 prepares the openxFactory contract release contract-v1.27 for the doxBench workbench model-catalog and chat-turn wire contracts, including schemas, examples/negatives, delegated validator growth, and the OpenSpec change record that governs the downstream codexFactory implementation and release ladder.

Changes:

  • Add two new canonical schemas (xfactory-workbench-model-catalog, xfactory-workbench-chat-turn) plus example/negative fixtures and a new focused pytest suite for the delegated validator.
  • Extend scripts/validate-ideation-dashboard-contracts.py to register the new kinds and enforce doxBench-specific semantic rules (hash parity, path confinement, proposal target uniqueness, failure-limit pairing, duplicate-turn sweep, etc.).
  • Register the new contracts into the manifest/changelog and release inventory for contract-v1.27, and update OpenSpec/ideation docs to rename “Track C” to doxBench as the user-facing surface name.

Reviewed changes

Copilot reviewed 52 out of 52 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tests/ideation_dashboard/test_validate_ideation_dashboard_contracts.py New pytest suite validating doxBench fixtures + delegated validator behavior.
scripts/validate-ideation-dashboard-contracts.py Adds doxBench schemas to registry and implements new semantic validation rules + negative pair sweep.
scripts/hermes_runtime_validation/release.py Normalizes catalog member paths to support cross-family members during release membership collection.
openspec/changes/add-workbench-integrated-editor-chat/tasks.md New OpenSpec task ledger for the doxBench integrated editor/chat change.
openspec/changes/add-workbench-integrated-editor-chat/specs/ideation-dashboard/spec.md New OpenSpec delta defining doxBench requirements and modified editing semantics.
openspec/changes/add-workbench-integrated-editor-chat/proposal.md New OpenSpec proposal describing doxBench scope, boundaries, and impact.
openspec/changes/add-workbench-integrated-editor-chat/design.md New OpenSpec design detailing decisions, goals, and constraints for doxBench.
openspec/changes/add-workbench-integrated-editor-chat/d10-acceptance-runbook.md New runbook scaffold for the combined predecessor acceptance pass (D10 / task 1.3).
openspec/changes/add-workbench-integrated-editor-chat/.openspec.yaml New OpenSpec metadata for the change.
openspec/changes/add-workbench-bullseye-and-create/proposal.md Terminology update: Track C → doxBench references.
openspec/changes/add-workbench-bullseye-and-create/design.md Terminology update: Track C → doxBench references.
openspec/changes/add-workbench-branch-sessions/proposal.md Terminology update: Track C → doxBench references.
openspec/changes/add-workbench-branch-sessions/design.md Terminology update: Track C → doxBench references.
openspec/changes/add-staging-workbench/proposal.md Terminology update: Track C → doxBench references.
openspec/changes/add-staging-workbench/design.md Terminology update: Track C → doxBench references.
openspec/changes/add-staging-workbench/.openspec.yaml Terminology update to reference doxBench instead of Track C.
ideation/staging/workstation-app-shell/workstation-app-shell.md Adds doxbench topic tag + updates “Track C” mentions.
ideation/staging/workbench-branch-sessions/workbench-branch-sessions.md Adds doxbench topic tag + successor/governed continuation linkage.
ideation/staging/INDEX.md Adds governed successor note pointing to the new OpenSpec change.
ideation/README.md Adds doxBench brainstorm packet entry to ideation docs index.
ideation/brainstorm/doxbench-typed-proposal-review.md New brainstorm doc for typed proposal review boundary.
ideation/brainstorm/doxbench-synthesis-human-ai-authoring-loop.md New synthesis doc describing the authoring loop composition.
ideation/brainstorm/doxbench-synthesis-governed-runtime.md New synthesis doc describing governed runtime boundaries and degradation.
ideation/brainstorm/doxbench-surface-and-scope.md New brainstorm doc describing surface/scope model and responsibilities.
ideation/brainstorm/doxbench-provider-boundary.md New brainstorm doc for catalog/provider boundary constraints.
ideation/brainstorm/doxbench-overview.md New overview index for the doxBench brainstorm packet.
ideation/brainstorm/doxbench-grounded-chat.md New brainstorm doc for grounded chat request/response behavior.
ideation/brainstorm/doxbench-governed-persistence.md New brainstorm doc for Save/governed persistence boundaries.
ideation/brainstorm/doxbench-dual-buffer-editor.md New brainstorm doc for dual-buffer editing model.
examples/ideation-dashboard/workbench-model-catalog-local.example.yaml Positive fixture: local/on-tenant model catalog entry.
examples/ideation-dashboard/workbench-model-catalog-hosted-zero-retention.example.yaml Positive fixture: explicitly enabled hosted zero-retention model catalog entry.
examples/ideation-dashboard/workbench-model-catalog-empty.example.yaml Positive fixture: empty catalog (editor-only posture).
examples/ideation-dashboard/workbench-chat-turn-unsaved-edits.example.yaml Positive fixture: request with unsaved edits and matching hashes.
examples/ideation-dashboard/workbench-chat-turn-prose-only.example.yaml Positive fixture: success envelope with prose-only response.
examples/ideation-dashboard/workbench-chat-turn-both-proposals.example.yaml Positive fixture: success envelope with outline+document proposals.
examples/ideation-dashboard/negative/workbench-model-catalog-raw-endpoint.negative.yaml Negative fixture: endpoint spelled in a public field.
examples/ideation-dashboard/negative/workbench-model-catalog-exposed-credential.negative.yaml Negative fixture: credential-like spelling in a public field.
examples/ideation-dashboard/negative/workbench-chat-turn-untyped-proposal.negative.yaml Negative fixture: proposal missing required target typing.
examples/ideation-dashboard/negative/workbench-chat-turn-unknown-model.negative.yaml Negative fixture: request with unknown model id.
examples/ideation-dashboard/negative/workbench-chat-turn-hash-mismatch.negative.yaml Negative fixture: declared hash does not match content.
examples/ideation-dashboard/negative/workbench-chat-turn-escaping-path.negative.yaml Negative fixture: path traversal in buffer path.
examples/ideation-dashboard/negative/workbench-chat-turn-over-budget.negative.yaml Negative fixture: buffers exceed model input budget (with context).
examples/ideation-dashboard/negative/workbench-chat-turn-identity-subject.negative.yaml Negative fixture: working_subject typed as identity-shaped object.
examples/ideation-dashboard/negative/duplicate-turn-pair/turn-a.yaml Negative pair member A for duplicate client_turn_id sweep.
examples/ideation-dashboard/negative/duplicate-turn-pair/turn-b.yaml Negative pair member B for duplicate client_turn_id sweep.
contracts/schemas/xfactory-workbench-model-catalog.schema.yaml New canonical schema for the workbench model catalog envelope.
contracts/schemas/xfactory-workbench-chat-turn.schema.yaml New canonical schema for chat-turn request/success/failure envelopes.
contracts/releases/contract-v1.27.digests.yaml New closed release digest inventory for contract-v1.27.
contracts/README.md Adds README index rows for the new doxBench schemas and their release.
contracts/manifest.yaml Bumps bundle version to contract-v1.27 and registers new schema members with sha256.
contracts/hermes-runtime/contract-index.yaml Adds doxBench schema entries to the Hermes runtime contract index for release/semantic membership.
contracts/CHANGELOG.md Adds contract-v1.27 changelog entry describing the new schemas, fixtures, and validator/tests.

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

Comment on lines +4 to +16
- contract_id: xfactory-workbench-model-catalog
path: ../schemas/xfactory-workbench-model-catalog.schema.yaml
type: schema
contract_schema_version: 1
consumers:
- openxfactory-validator
- openxfactory-release-verifier
- xfactory-codexfactory-doxbench
semantic_member: true
release_member: true
- contract_id: xfactory-workbench-chat-turn
path: ../schemas/xfactory-workbench-chat-turn.schema.yaml
type: schema
Comment on lines +345 to 351
# Catalog paths are family-relative; `..` segments let the canonical
# index name cross-family release members (the doxBench wire schemas
# live in contracts/schemas/). Normalized here so both the working-tree
# and the git-object sources see one canonical repo path.
repo_path = posixpath.normpath(FAMILY_PREFIX + relative)
catalog_map[repo_path] = entry
members.add(repo_path)
Comment on lines +840 to +842
tid = str(doc.get("client_turn_id"))
digest = _hashlib.sha256(
_json.dumps(doc, sort_keys=True).encode()).hexdigest()
properties:
kind: { enum: [outline, document] }
repository: { type: string, minLength: 1, maxLength: 128 }
path: { $ref: "#/$defs/confined_path" }
…iew findings)

Tests-first (both red before the fix):
- An index path escaping the repository after normalization now FAILS CLOSED
  (HGR-RELEASE-MEMBER-ESCAPES) instead of digesting content from outside the
  tree; a positive companion pins the legitimate ../schemas/ cross-family
  resolution (tests/hermes_runtime_contracts/test_release_inventory.py)
- The credential/endpoint spelling scan covers ws:// and wss:// alongside
  http(s) (tests/ideation_dashboard, wss mutant)
- Inventory rebuilt from the current tree (release discipline: member bytes
  changed); candidate == committed proven, 181 members, both doxBench schema
  paths retained
- Evidence: dashboard+routing+inventory suites 97 passed (the one in-container
  failure, test_validate_candidate_passes_on_the_realized_repository, is the
  worktree-git environment limitation — its substance passes host-side);
  validator self-test 0/0; manifest digests OK 109; strict OpenSpec valid

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings July 31, 2026 03:01

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 53 out of 53 changed files in this pull request and generated 1 comment.

Suppressed comments (3)

contracts/schemas/xfactory-workbench-chat-turn.schema.yaml:59

  • buffer_state.path is required to be a non-empty string, but the OpenSpec delta for doxBench buffers explicitly allows a repository-relative path OR null for a not-yet-created artifact (e.g., scopes with no outline yet). If the contract intends to support the "no outline" / not-yet-created buffer case, this schema (and the delegated validator’s _confined() handling) will need to accept null and treat it as confined/allowed.
    required: [kind, repository, path, base_ref, base_revision,
               base_hash, content_hash, content, dirty]
    properties:
      kind: { enum: [outline, document] }
      repository: { type: string, minLength: 1, maxLength: 128 }
      path: { $ref: "#/$defs/confined_path" }

tests/ideation_dashboard/test_validate_ideation_dashboard_contracts.py:42

  • _load_module() assumes spec_from_file_location always returns a spec with a loader. Other test harnesses in this repo assert spec.loader is not None to avoid an AttributeError (and to give a clearer failure if the script path is wrong).
    scripts/validate-ideation-dashboard-contracts.py:802
  • check_turn_request() appends directly to f.warnings, bypassing the Findings.warn() formatter (and omitting a warning code). This makes warning output inconsistent with the rest of the validator and can break callers/tests that expect the standard "WARN [code]" prefix.

Comment on lines +345 to 361
# Catalog paths are family-relative; `..` segments let the canonical
# index name cross-family release members (the doxBench wire schemas
# live in contracts/schemas/). Normalized here so both the working-tree
# and the git-object sources see one canonical repo path.
repo_path = posixpath.normpath(FAMILY_PREFIX + relative)
# Fail closed on a path that would leave the repository: content from
# outside the tree must never be digested into a release inventory
# (PR #45 review finding 1).
if repo_path == ".." or repo_path.startswith("../"):
raise ReleaseDependencyError(
"catalog path escapes the repository after normalization: "
f"{relative}",
code="HGR-RELEASE-MEMBER-ESCAPES",
)
catalog_map[repo_path] = entry
members.add(repo_path)

1. catalog.py: the loader accepts a LEADING ../ run as a cross-family member
   confined to the REPOSITORY root at resolution (contracts/<family> sits two
   levels below it); interior traversal and empty segments stay forbidden and
   every refusal keeps HRC-CATALOG-INVALID semantics (three tests: cross-family
   accepted, interior traversal refused, beyond-repo escape refused)
2. release.py _WorkingTreeSource.read_member fails closed on a normalized path
   outside the repository root (HGR-RELEASE-MEMBER-ESCAPES) — defense in depth
   beneath the membership guard, with a direct regression test
3. duplicate-turn sweep canonicalizes buffer order by kind before hashing: a
   reversed [outline, document] retransmission is the same request, not an
   FR-019 conflict (regression test with reversed-order pair)
4. chat-turn buffer_state.path is nullable for a not-yet-created artifact (the
   null-path -> create lifecycle, data-model S4); confinement judges only
   paths that exist (schema + validator halves, positive test)
- Bookkeeping: chat-turn schema sha256 refreshed in the manifest; release
  inventory rebuilt (candidate == committed, 181 members, both schema paths
  retained); manifest digests OK 109; dashboard validator self-test 0/0;
  strict OpenSpec valid; suites 123 passed (the one in-container failure is
  the known worktree-git environment limitation, substance proven host-side)

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings July 31, 2026 03:08
PR #45 Copilot blocker 5, tests-first: two DISTINCT contract-index entries
whose paths normalize to the same repository file (e.g. contract-index.yaml
and ../hermes-runtime/contract-index.yaml) previously overwrote each other's
catalog metadata silently inside the closed membership. _collect_members now
raises HGR-RELEASE-MEMBER-COLLISION naming both spellings. Inventory rebuilt
(release.py bytes changed): candidate == committed, 181 members. Evidence:
suites 124 passed (the one in-container failure is the known worktree-git
environment limitation); manifest digests OK 109; dashboard validator 0/0;
strict OpenSpec valid.

Co-Authored-By: Claude Fable 5 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@brettheap
brettheap merged commit d09d582 into main Jul 31, 2026

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 55 out of 55 changed files in this pull request and generated no new comments.

Suppressed comments (4)

scripts/validate-ideation-dashboard-contracts.py:750

  • catalog_model_ids_from can raise ValueError/TypeError when input_limit_bytes is missing or non-numeric (e.g., while a developer is iterating on examples). Because check_examples() calls this helper before schema validation, one malformed catalog example can crash the entire validator instead of producing a readable findings report.

Consider parsing defensively and skipping entries whose limit is not coercible to an int.
scripts/validate-ideation-dashboard-contracts.py:770

  • check_model_catalog unconditionally adds model_id to a set. If a schema-invalid instance provides an unhashable model_id (e.g., object/list), this will raise TypeError and abort validation. Since semantic checks run even when schema errors exist, it’s important that semantic checks never crash on bad types.

Filter to string ids (schema already reports type errors) before set membership/add.
scripts/validate-ideation-dashboard-contracts.py:823

  • check_turn_success builds set(targets). If a schema-invalid response includes an unhashable target value (e.g., object/list), this will raise TypeError and abort validation, rather than reporting findings. Since semantic checks run even when schema errors exist, this should be type-robust.

Only consider string targets when checking uniqueness (schema already flags wrong types).
tests/ideation_dashboard/test_validate_ideation_dashboard_contracts.py:166

  • tmp_path is unused in this test, which adds needless fixture setup and can confuse readers about intent. Removing it keeps the test signature minimal.

Copilot AI review requested due to automatic review settings July 31, 2026 03:13
@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: 01eb9ce26f

ℹ️ 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 55 out of 55 changed files in this pull request and generated no new comments.

Suppressed comments (2)

scripts/validate-ideation-dashboard-contracts.py:807

  • This adds a warning via f.warnings.append(...), which bypasses the Findings.warn() formatter. As a result, the warning line is printed without the expected WARN [code] prefix and won’t match the script’s normal warning format.
    scripts/validate-ideation-dashboard-contracts.py:769
  • check_model_catalog adds None (or other non-string values) to seen when a model entry is malformed, which can produce misleading “duplicate model_id None” errors on top of the schema error. It’s clearer to only track non-empty string model_id values here and let schema validation handle missing/invalid IDs.

@brettheap
brettheap deleted the release/doxbench-contracts-v1.27 branch August 3, 2026 18:51
brettheap pushed a commit that referenced this pull request Aug 22, 2026
Text and task precision only — no schema, validator, example or bundle edit.
Realization stays post-ratification; the fixes edit the TASKS that will drive
it. Nine findings:

F1 (MAJOR) Hard-enumerate the three roles and kill the "role family"
departure. The member description names Organization.Read.All +
Application.Read.All + Domain.Read.All as THE admission act, device-style,
matching the added scenario, plus one exclusion clause: a directory-wide role
such as Directory.Read.All is outside this surface's act because it also reads
the admitted `device` surface. Corrects the misread — the effective set is
pinned at CLASS REALIZATION (merged, OpsxFactory main 824f8ef), not at grant
time. FLAGGED note dropped.

F2 (MAJOR) New task 1.4: the schema carries the Entra-directory futures claim
in a SECOND place, the `device` member's own description. Without amending it
the ratified contract file contradicts itself.

F3 (MAJOR) PROMOTED -> RATIFIED grounding. Neither managed-node-inventory nor
managed-service-inventory is promoted (both ratified, active, unarchived), so
the schema's promotion grounding has been false since v1.35. The promoted
requirement's own change-based test is met and is NOT touched.

F4 (MAJOR) Repair the no-bump argument, keep the no-bump outcome. Names the
per_unit_principal_available/propertyNames coupling instead of denying it; the
implied key-space widening is derived and purely permissive. Notes "the two
map-shaped properties" was imprecise (legend closes on free_token) and that
the argument was inherited verbatim from the ratified device design.

F5 (MINOR) Downstream re-pin fence. Landing this does not by itself unblock
OpsxFactory task 7.2: that repo pins contract-v1.35 and fences `directory` out
locally. Names the contract re-pin + local fence update as the first
downstream act (precedent: OpsxFactory PR #45, 77f4b82).

F6 (MINOR) Quotation hygiene — the device F2 citation now quotes the
ratification record verbatim or paraphrases outside quotes, in design.md,
.openspec.yaml, proposal.md and the README row.

F7 (MINOR) Name the capability findably in the added scenario:
service-inventory (`managed-service-inventory`).

F8 (nit) Pin Ruling 3's entra_directory_admin citation to a commit.

F9 (MINOR) Task 1.3 now requires the non-Entra successor clause be preserved
verbatim through the re-slice.

Both strict validations green (66/66); proposal-support verify green. Archive
fidelity re-verified by byte diff: the delta's restatement of the promoted
requirement is byte-identical (heading+body and all three scenarios) with
exactly one added scenario.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
brettheap added a commit that referenced this pull request Sep 5, 2026
…cker

- docs/project-repo-schema.md line 118: the verbatim quote's period sat
  inside the closing quote/bold; moved outside so the quotation is exact.
- tasks.md 1.1a rewritten: opensoft/openRepoShape#41 is RESOLVED (PR #45,
  merge commit 5ffa8d58, 2026-09-05T17:19:12Z, lane xfactory-2); #40 is
  RESOLVED too (PR #42, merge commit c2cc9e25, 2026-09-05T16:26:49Z). Both
  invocations are still refused at the commit this repository pins
  (122d729b) and accepted at openRepoShape main or any commit >= 355f6ef4.
  The blocker facing 1.1/1.2 is therefore no longer either issue but a
  RE-PIN of openRepoShape in this repository to a commit >= 355f6ef4,
  covering both fixes in one pin-sync PR under neutral-product-pin. 1.1,
  1.2 and 1.10 reworded to name the re-pin as the sequencing condition and
  keep the measured refusal/interim text as history.
- The amendment record's Cross-repository dependency section and design.md
  § D12 carry the same correction: both issues resolved upstream, a re-pin
  is what remains.

openspec --strict valid (94 items); doc-health/proposal-support/sequenced_after
green (1774 passed, 2 subtests, 7 warnings) at the merged head.

Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XsGFsoUGuJ22TfK1sgk6UD
brettheap added a commit that referenced this pull request Sep 5, 2026
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)

Brett Heap ruled in session 2026-09-05T14:52Z, verbatim "elect the shape for
both, follow the pin chain, no family yet" (#656 comment
5552614170), after a read of opensoft/openRepoShape against the ratified
packet; merged on his standing word "merge 684 when green, then do the re-pin"
(#656 comment 5553950950) at 2026-09-05T20:08Z.

What lands: a VISIBLE amendment to the ratified change — openDox and openXdox
each elect the three-repository shape (assembly root + -spec + -code, six
repositories, scaffolded by openRepoShape's scaffold-project.py, election
recorded in each project.yaml with reference 'openxFactory
docs/project-repo-schema.md'); tasks groups 1 and 7 rebuilt around the
scaffold; the repository recount; design D8's Amendment 3 text carrying the six
names; new design D12 (repository shape: decision, alternatives not taken,
accepted cost); review/amendment-2026-09-05-repository-shape.md; an amendment
note on docs/project-repo-schema.md's descendant-referent sentence (lane
repo-shape's doctrine arc, disclosed); no family holder. openRepoShape #40 and
#41 are RESOLVED upstream (PRs #42 c2cc9e25, #45 5ffa8d58); the sequencing
condition on group 1 is now the re-pin of openRepoShape in this repository to
355f6ef4 or a descendant, which follows as its own pull request. Groups 2-6
and 8 unchanged. Doc-health delta vs main: zero. Seven Copilot rounds taken.

Landed under lane-collision-protocol Rule 6 by session 01XsGFsoUGuJ22TfK1sgk6UD.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XsGFsoUGuJ22TfK1sgk6UD
brettheap added a commit that referenced this pull request Sep 5, 2026
…76-file surface (#700)

Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)

Re-pins opensoft/openRepoShape from 122d729b to e9c4827b (ten commits), carrying
PR #42 (descendant referent follows a declared pin chain; upstream #40) and
PR #45 (a neutral product may elect the shape and be its own assembly root;
upstream #41) — the sequencing condition on tasks group 1 of the ratified
split-opendox-two-layer-product, per Brett Heap's 2026-09-05T14:52Z ruling
"elect the shape for both, follow the pin chain, no family yet" and his
words "merge 684 when green, then do the re-pin" / "merge 700 when green"
(#656). Method = the #650 precedent (48dc9b6): every
digest recomputed from bytes; 27→31 digested, 33→45 path-only, 60→76 surface;
sixteen files added upstream, each classified by the pin file's own rule and
listed in the pull request. Scaffold dry-runs for openDox and openXdox pass at
e9c4827b with no override flag. Doc-health delta vs main: zero.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KarHshq6yuTMy6dWYuaSby
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