Skip to content

Add the OpsxFactory-Gateway-Install row to the estate repository inventory (refs #1259) - #1276

Merged
brettheap merged 2 commits into
mainfrom
chore/estate-inventory-opsxfactory-gateway-install
Oct 9, 2026
Merged

brettheap merged 2 commits into
mainfrom
chore/estate-inventory-opsxfactory-gateway-install

Conversation

@brettheap

@brettheap brettheap commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-5 (openXfactory-5)

Adds the one missing row to scripts/estate-repository-inventory.yaml: opensoft/OpsxFactory-Gateway-Install, governance governed, admitted by a gitlink whose carrier is opensoft/xFactory. One file, +29 -1 lines, no requirement text moved. It lands on Brett Heap's landing word, typed on 2026-10-09: "land #1274 and #1276 when green". That word renews his 2026-10-08 word "Land all three, waive Codex (Recommended)", and both are RULED on the lane register.

The governance check (done first, read-only): a data row, no OpenSpec change

  1. The capability owes the row. release-realization, The estate's repositories are enumerated in a governed inventory: "THE INVENTORY RECORDS AN ADMISSION TAKEN ELSEWHERE AND PERFORMS NONE ... Nobody admits one BY WRITING A ROW." Its scenario A repository is admitted to the estate by a gitlink: WHEN a governed estate repository's .gitmodules carries a submodule THEN "the inventory SHALL carry a row for it whose admitted_by: names that gitlink AND the repository that carries it". The admission was xFactory add-sequenced-after-substrate: machine-readable ordered-delta parents + strict front-matter loader (ratified) #567; this row is its record.
  2. Nothing closes the file. Contrast scripts/code-surface-register.yaml, whose header says an entry "is never ADDED, because admitting a new exception is a change to the SPECIFICATION" and which enforces that with a baseline. The inventory has no baseline, digest or row-count pin (the 75 tests in tests/estate_inventory/ assert none), and the capability's own scenario An inventory row nothing names says the remedy for a stale row is to retire it "in the pull request that made it stale".
  3. Placement is the reason. The archived add-estate-repository-inventory design.md D2 and D0.6 put the file outside contracts/ so it can be corrected without a bundle cut, measured at one inventory-moving act every four days.
  4. The index scenario agrees. repo-boundary-governance, Install-repository enumerations are an index with a named authority, scenario An admitted install repository is missing from an enumeration: "the defect is the enumeration's and is repaired wherever it is found", the repository's boundary unchanged.
  5. Not touched here. The install-repository enumerations in promoted spec text (the repo-boundary-governance / shared-contract-ownership / canonical-contract-migration list sentences) stay Refresh install-repository enumerations for OpsxFactory-Gateway-Install (mounted at xFactory installs/) #1259's governed change, draft PR Propose and ratify refresh-install-repository-enumerations-opsxfactory-gateway: the sixth install repository in the install-repository enumerations (openxFactory#1259) #1273. That packet names this row as an "unclaimed candidate" and calls it "a code-surface edit under release-realization's own capability"; this PR reads that as a data edit to a script-side file, not a change that needs its own packet. If Brett Heap reads it as needing a governed change, this PR closes unmerged and the row rides a packet instead. OpsxFactory's own models/code-surface-repositories.yaml entry is not touched either; the row admits nothing and moves no code_surface:.

What the diff is

  • ROW 38, appended (not grouped with the installs) so no other row's position moves and the header's row-number citations stay true: repository: opensoft/OpsxFactory-Gateway-Install, name: OpsxFactory-Gateway-Install, role: install, Ops task-bound agent authorization gateway (the repository's own description and OpsxFactory amend-task-bound-gateway-review-notes R4 (a)), governance: governed (every other install row), admitted_by: [{kind: gitlink, carrier: opensoft/xFactory}].
  • A dated header note recording the addition, the re-measurement and that rows 1-37 are unmoved, and (second commit, Copilot's finding) the header's earlier population sentence recast as "THIRTY-EIGHT rows: THIRTY-SEVEN at 2026-09-24", so the header states one current total.
  • The repository is private and the file's other rows already name private repositories; no private internals added (no mount path, no pin sha).

Verification

Same clone kind for every comparison (full clone named openxFactory, submodules initialised, venv from requirements/hermes-runtime-contracts.lock). The full-suite and doc-health rows below were taken at the first commit aa31cb72; the head 79b01588 adds a second commit that changes two header comment lines and nothing else, and the validator, code-surface and estate-test rows were re-run at that head (rc 0 / pass / 75 passed, git diff --check clean).

Gate main 80f47483 this head
scripts/validate-estate-inventory.py . rc 0, 37 repos rc 0, 38 repos (27 governed, 10 pinned, 1 external)
same, --estate-tree opensoft/xFactory=<shallow clone at 651dd5c9> rc 0, 23 gitlink rows named in a VERIFIED tree rc 0, 24 named, 0 absent
scripts/validate-code-surface.py . rc 0 rc 0, membership 11 of 11 carried, only the row count (37 to 38) differs
pytest tests/estate_inventory 75 passed 75 passed
scripts/doc-health.py --single-repo . --as-of 2026-10-08 rc 0 rc 0, report byte-identical to main's
git diff --check, host-path scan, closing-keyword scan (diff and commit) clean
full pytest tests/ -q -m "not postgres", local, 44m43s not run in full 2 failed, 9205 passed, 7 skipped, 338 deselected, 603 subtests passed (the two reds are named below and both reproduce on main)
this file on top of main c8dde131 (main moved after this head and touches no inventory file; git merge-tree is clean) validator rc 0 (38 repos), validate-code-surface.py pass, tests/estate_inventory 75 passed

The two reds are not this diff, and both reproduce on a detached main worktree (80f47483) in the same clone kind. The suite is therefore NOT green locally, and this PR does not claim it is.

  1. tests/doc-health/test_tag_hygiene_pinned_targets.py::test_a_lexically_malformed_value_builds_no_path_and_reads_nothing asserts that no path argument contains the substring one; the clone path .../clone-sinv/... contains it ("clone"). A path-dependent false red, deterministic for any clone whose path contains "one". Reproduced on main: 1 failed.
  2. tests/hermes_runtime_contracts/test_validator_cli.py::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization] hit its 30 s subprocess timeout (TimeoutExpired) while two suites shared the machine. Reproduced on main: 1 failed, 1 passed. That main worktree had no submodules initialised, so "same kind" is approximate for this one; it is a timeout, not an assertion.

Not run here: the runner-side pytest-suite skip-count pin (needs the private pinned decision core), and the nightly aggregated doc-health run (needs the aggregation workspace). Those run in CI.

Reviews: Copilot requested, and the Codex review trigger posted as its own comment, after this PR opened.

🤖 Generated with Claude Code

…ntory (refs #1259)

The aggregation mounted opensoft/OpsxFactory-Gateway-Install (xFactory #567,
merge 651dd5c9) and the inventory carried no row for it, so the aggregation's
24 .gitmodules addresses and the 23 carrier rows had come apart by one.

Add the row in the shape of the other install rows: governance governed,
admitted by a gitlink whose carrier is opensoft/xFactory. It is appended as row
38 so no other row's position moves, and the header records the addition and
the re-measurement.

The inventory records an admission and performs none, and its gitlink scenario
already has it carry a row for a repository a governed estate repository's
.gitmodules carries, so no requirement text moves and this is a data row, not a
change. The install-repository enumerations in promoted spec text are not
touched; they are #1259's governed change.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@brettheap
brettheap requested a balanced review from Copilot October 8, 2026 21:34
@sourcery-ai

sourcery-ai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR appends the missing governed inventory row for opensoft/OpsxFactory-Gateway-Install, admitted by the opensoft/xFactory gitlink, while preserving existing row positions and requirement text. Review should focus on the repository identity, role, governance and admission metadata, the evidence that xFactory’s 24 gitlinks now match the inventory, and the explicitly documented scope and verification limitations.

Entity relationship diagram for the estate inventory admission

erDiagram
    XFACTORY {
        string repository "opensoft_xFactory"
        string gitlink_target "OpsxFactory_Gateway_Install"
    }
    ESTATE_INVENTORY {
        string repository "OpsxFactory_Gateway_Install"
        string governance "governed"
        string role "install_gateway"
    }
    XFACTORY ||--o{ ESTATE_INVENTORY : admits_by_gitlink
Loading

File-Level Changes

Change Details Files
Adds the missing governed inventory record for the repository mounted by the xFactory aggregation.
  • Appends the 38th repository row without renumbering or relocating existing rows.
  • Records the repository role and its admission through the xFactory gitlink.
  • Documents the measured 24-repository aggregation/inventory correspondence and rationale for treating the edit as data maintenance rather than a specification change.
scripts/estate-repository-inventory.yaml
Validates that the new row is consistent with estate and repository-boundary checks.
  • Confirms the inventory validator recognizes 38 repositories and all 24 xFactory gitlink targets.
  • Reports passing inventory, code-surface, documentation, and diff-integrity checks.
  • Documents two full-suite failures reproduced on main, plus CI-only checks that were not run locally.
scripts/estate-repository-inventory.yaml

Possibly linked issues

  • #openxfactory-5: The PR implements the issue's inventory work by recording OpsxFactory-Gateway-Install and its gitlink admission.

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

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

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.

🟡 Changes recommended

The header still claims the inventory contains 37 rows, conflicting with the new 38th row.

1 open finding
What changed in this PR

Adds the missing governed estate inventory entry for OpsxFactory-Gateway-Install.

Changes:

  • Adds the gitlink-admitted repository row.
  • Documents the new 38-row measurement.
File Description
scripts/​estate-repository-inventory.yaml Adds the gateway install repository and provenance note.

🧠 Review effort: Balanced


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

Copilot's review of the row's pull request found two current totals in one
header: the earlier sentence still said THIRTY-SEVEN rows while the note below
it calls the new row the thirty-eighth. The earlier sentence now states the
current total, THIRTY-EIGHT, and dates the thirty-seven it carried to 2026-09-24.
No row and no requirement text moves.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

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.

🟢 Approval recommended

The row conforms to the inventory contract and existing governed install entries, with no unresolved issues found.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@brettheap
brettheap marked this pull request as ready for review October 9, 2026 01:26
@sourcery-ai

sourcery-ai Bot commented Oct 9, 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 18 hours and 36 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

LANDING — lane openXfactory-5, session bbe4d255-02db-4578-840b-09924442e544@Eagle, 2026-10-09T01:30:53Z, PR #1276 into opensoft/openxFactory main

@brettheap
brettheap merged commit f4dbe2f into main Oct 9, 2026
18 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-5 (openXfactory-5)

LANDED — lane openXfactory-5, session bbe4d255-02db-4578-840b-09924442e544@Eagle, 2026-10-09T01:31:15Z, PR #1276 into opensoft/openxFactory main → merge f4dbe2f; Add the OpsxFactory-Gateway-Install row to the estate repository inventory (refs #1259)

brettheap added a commit that referenced this pull request Oct 9, 2026
…baseline, M5 narrowed to error codes, per-domain error vocabularies (ratified) (#1274)

Amend factory-mcp-conformance with an auth profile: an auth block with an RS256 baseline (EdDSA optional), the issuer_assigned audience binding beside resource_uri, RFC 9728 path insertion, M5 narrowed to error codes, and per-domain error vocabularies. Ratified by Brett Heap, "Ratify, OQs as recommended (Recommended)" (all six open questions as recommended), and landed on his word "land #1274 and #1276 when green" (2026-10-09), which renews "Land all three, waive Codex (Recommended)" (2026-10-08). It lands after #1273 and its archive. The change stays active until it is implemented through Speckit.

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