Skip to content

amend-factory-mcp-conformance-auth-profile: auth block with an RS256 baseline, M5 narrowed to error codes, per-domain error vocabularies (ratified) - #1274

Merged
brettheap merged 14 commits into
mainfrom
change/amend-factory-mcp-conformance-auth-profile
Oct 9, 2026
Merged

brettheap merged 14 commits into
mainfrom
change/amend-factory-mcp-conformance-auth-profile

Conversation

@brettheap

@brettheap brettheap commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-5 (openXfactory-5)

RATIFIED, with Brett Heap's land word given (see § Landing word)

Brett Heap ratified the OpenSpec change amend-factory-mcp-conformance-auth-profile on 2026-10-08 (20:2xZ), in session to lane openXfactory-5, as a multiple-choice answer. His verbatim option label:

Ratify, OQs as recommended (Recommended)

It is RULED on the estate's lane register at 2026-10-08T20:33:25Z. It ratifies the packet as drafted and adopts all six open questions of design.md at the recommended answer:

  • OQ-1 admit the issuer_assigned audience binding beside resource_uri;
  • OQ-2 algorithms closed at RS256 (required) and EdDSA (optional);
  • OQ-3 RFC 9728 section 3.1 path insertion, and a query on a hosted resource URI refused;
  • OQ-4 the block cites evidence or a gap under a new auth concern;
  • OQ-5 schema_version: 1 and profile: advisory-v1 kept, first-bundled at the next additive minor;
  • OQ-6 exactly one issuer per hosted server.

The RULED pointers. design.md § Open questions marks each of the six RULED in the table beside the question. The record is openspec/changes/amend-factory-mcp-conformance-auth-profile/review/ratification-2026-10-08.md; it shows, for each OQ, the line of the delta or design that already carries the recommended answer.

No requirement or scenario text moved. The delta specs/factory-mcp-conformance/spec.md is blob 51fc770d at the pre-ratification head 843d7267 and at the head below; git diff 843d7267 HEAD -- <the specs directory> is empty.

The ratify word was a ratify word only. It was not a land word: the land word is the later one quoted in § Landing word below. Neither word archives anything or starts a realization.

Landing word

Brett Heap, 2026-10-08T23:0xZ, in session to lane openXfactory-5, as a multiple-choice answer. His verbatim option label:

Land all three, waive Codex (Recommended)

It is RULED on the estate's lane register at 2026-10-08T23:00:44Z. The register reads it as:

This change stays ACTIVE after it lands. It is NOT archived until it is implemented through Speckit: the realization (tasks.md § 2) and its merged, green evidence come first, and the archive is a later act on its own word. The lane's coordinator lands this PR; this PR stays a DRAFT until then.

Commits since the draft head 843d7267

Head 8e56ac58:

  • 98176693 the ratifying commit: Status: ratified and one citation line on proposal.md, design.md and tasks.md; approved_by and approved_on added beside the unmoved drafting provenance in .openspec.yaml; design.md's OQ table gains a Ruling column; tasks.md 0.1 and 0.2 ticked; the new record under review/; the README Records row in its ratified form.
  • 89506b51 merge of origin/main at e140c57c (three brainstorm files, clean; no file of this packet is touched).
  • 2f8dcd0e Copilot's round 3 at 89506b51 (five findings, all design, task or record text): design.md D7 lists the existing support-reference codes at their /service/auth/... locations and task 2.2 names the red-first cases; tasks.md 4.1 names the deferred-allocation transition the archive requires; and the Shared substrates — claims #630 claim amendment is recorded as done (comment 6068473680) in proposal.md, tasks.md 1.3, the record's section 3 and the README row. The record gains a section 5 listing these corrections. All five threads are answered and resolved.
  • 077e0f78 merge of origin/main at c8dde131 (clean; README Records and the ledger auto-merged and re-checked).
  • 0fde3df9 Copilot's round 4 at 077e0f78 (three findings, again design, task or record text): tasks.md 1.4 targets the landing head and 2.7 scopes its gates to the head that lands; the engineering domain's expected pre-slice signal is hosted_auth_missing (no block yet), with auth_rs256_missing for a block listing EdDSA alone, in design.md Compatibility, proposal.md and tasks.md 2.7; the record's section 5 lists them. All three threads are answered and resolved.
  • 9ed23f7e Copilot's review at 0fde3df9 (no open thread; three findings in the review body, all on one point): not every realization test can be red-first against main, because a not-deployed service carrying auth is already refused (schema_oneOf) and a block-free stdio declaration is already accepted. design.md D7, tasks.md 2.2 and the proposal.md code-surface prose now say every new refusal (and each existing code at its new /service/auth/... location) is red-first and those two cases take characterization tests. Design, task and front-matter prose only.
  • 9f288c6b merge of origin/main at b4b9d903 (landing round A): Propose and ratify refresh-install-repository-enumerations-opsxfactory-gateway: the sixth install repository in the install-repository enumerations (openxFactory#1259) #1273 has landed on main, and the bot's review-lane repin sits beneath it. The one conflict was the README OpenSpec Records block, where both packets added a row at the head of Active changes; both rows are kept byte-for-byte as their own side wrote them, this packet's first. The sweep ledger auto-merged and carries both rows (237 rows). No file of this packet is touched by the merge: git diff 9ed23f7e HEAD over the packet directory is empty, so the delta blob is still 51fc770d.
  • a9f5475a Copilot's review at 9f288c6b (one finding, tasks.md 3.1): the landing task still required a Codex review at the exact head, which the landing word waives. Task 3.1 now records the landing word and the waiver and keeps the exact-head requirement for Copilot; the same pending-landing wording is brought up to date in the ratification record (§ 3, and a new § 6 recording the landing word), proposal.md's Ratification section and the README Records row. Task, record and README prose only; the thread is answered and resolved.
  • 94793ebe Copilot's review at a9f5475a (one thread and two findings in the review body, none in the delta): the record's section 3 conflated the ratify word's time (20:2xZ) with the register's (20:33:25Z) and kept Codex as owed, so it now separates them, claims no order between the word and the Shared substrates — claims #630 amendment (20:29Z), and records Codex as waived by the landing word; design.md D7's repeated-algorithm row said schema_uniqueItems at /service/auth/algorithms, which the validator cannot produce because auth sits in the deployed arm of service's oneOf and the structure pass does not descend into branch errors, so it now reads schema_oneOf at /service with the limit stated and the choice left to the realization; and the record's section 4 lists the three unmoved files and the open box 1.4 apart. Task 2.2 names the matching test.
  • 9723844e merge of origin/main at 564f565a (landing round B): Archive refresh-install-repository-enumerations-opsxfactory-gateway: the sixth install repository promoted into the three enumerations; Purpose widened #1278, the archive of Propose and ratify refresh-install-repository-enumerations-opsxfactory-gateway: the sixth install repository in the install-repository enumerations (openxFactory#1259) #1273's packet, has landed. The one conflict was the README OpenSpec Records block: the archive moved that packet's row out of Active changes into the archive record, so this packet's row is kept exactly as written and main's archived row stays exactly as main has it. The sweep ledger auto-merged (that packet's row reads archived; this packet's is unchanged; 237 rows). No file of this packet is touched by the merge: the delta blob is still 51fc770d, and git diff 9ed23f7e HEAD over the delta directory is empty.
  • 8e56ac58 Copilot's review at 9723844e (two threads, none in the delta): tasks.md 2.2's structure bullet now names an issuer given as a list or as more than one issuer, refused as schema_oneOf at /service, pinning OQ-6's exactly one issuer (design.md D7's closed-shape row names it too; no scenario is added, since that would be requirement text); and the code-surface prose in proposal.md now counts six files in the packet directory, the ratification record included. Both threads are answered and resolved.

The corpus-ledger rows and the _LEDGER_SUBJECTS row do not move: they record state, class and declaration, none of which ratification changes. tasks.md 1.4 stays open on purpose: it now names the landing head, and the required pytest-suite check is read at the exact head being landed, here.

The three rulings it carries (earlier, unchanged)

Brett Heap, 2026-10-08, in session, multiple choice. The verbatim option labels: "RS256 baseline (Recommended)", "Narrow to error codes (Recommended)", "Per domain, profile maps (Recommended)". proposal.md quotes each option's text in full. They decided what the change says; the ratify word above is the separate word that ratifies it.

Claims

  • This change path is CLAIMED on the lane register.
  • The README "OpenSpec Records" block (substrate row 3) and this change's corpus-ledger rows are claimed on Shared substrates — claims #630, comment 6066626855.
  • That claim named one new ledger row as its expected movement, but the seeder also flipped the partner row add-factory-mcp-conformance from sole to co-modifier, as the ledger requires of a ## MODIFIED block over a partner's requirement. The claim was amended in #630 comment 6068473680 (2026-10-08T20:29Z), before the ratify word was recorded on the lane register, to name both ledger-row movements and the _LEDGER_SUBJECTS row.
  • Substrate row 4 (contract cuts) is not claimed. The cut is realization work and takes its own claim first (design.md D10).

What the delta does

One delta, specs/factory-mcp-conformance/spec.md: four ADDED requirements (Hosted declarations carry an authorization block, RS256 token-signing baseline, Audience bound to the server's own resource, Per-domain error vocabularies) and one MODIFIED, Lossless results and explicit failures (title unchanged; two hunks against canon, the Unavailable dependency scenario narrowed to a dependency failure reported through the error inventory). Front-matter: code_surface: openxFactory; target_release: deferred-allocation; sequenced_after: [add-factory-mcp-conformance].

RS256 alone may not be enough for the engineering domain: its hosted adapter compares the token's audience with its canonical resource URI, while the estate's live issuer puts a client identifier in aud. That is why OQ-1 admits an issuer_assigned binding (design.md D3). Facts from private repositories are stated at behaviour level only; no private path, line, tool id or byte is in this PR.

Not done here (tasks.md § 5)

  • codexFactory's RS256 slice (lane openXfactory-5, its own governed change);
  • OpsxFactory's hosting-plan issuer correction (a material plan amendment with a fresh task 4.2);
  • the Ops gateway's intake alignment (lane opsXfactory-4).

Gates at the pushed head 8e56ac58

Run in a full clone named openxFactory, with openXwallet, openXdox and openDox initialized as CI initializes them. Every red is compared with main in a clone of the same kind, at the commit its row names (564f565a unless stated). main has since moved to 35d1d50e (two unrelated changes' ratify and archive; a clean merge, GitHub reports MERGEABLE); it is not merged in here. The quick gates and doc-health ran at this head; the full local pytest runs listed below ran at the earlier heads named in each row, and the required pytest-suite check at this head is read on this PR.

Gate Branch 8e56ac58 main 564f565a
validate-openspec-cli-pin.py --change amend-factory-mcp-conformance-auth-profile rc 0, 1 passed n/a
validate-openspec-cli-pin.py --all --strict rc 0: 114 passed, plus the 1 accepted add-chain-attestation exception (115 items) rc 0: 113 passed, plus the same exception (114 items)
proposal-support.py . verify ok n/a
validate-code-surface.py . rc 0 rc 0
validate-target-release.py . rc 0 rc 0
validate-sequenced-after.py . rc 0 rc 0
validate-sequenced-after.py . --ledger-diff rc 0, consistent (237 rows) rc 0
doc-health.py --single-repo . rc 0, 440 report lines rc 0, 438 lines
doc-health report diff exactly one added finding: the INFO modified-block-currency finding for this MODIFIED block, named by the existing _LEDGER_SUBJECTS row
local pytest, tests/doc-health, at 89506b51 8 failed, 2149 passed the same 8 fail on main e140c57c in the same setup
local pytest, tests/sequenced_after, tests/factory-mcp and the self-gate module, at 8e56ac58 2 failed, 392 passed, 203 subtests passed tests/sequenced_after on main: the same 2 fail, 284 passed
local pytest, tests/proposal-support, at 89506b51 14 failed, 188 passed the same 14 fail on main (the listed failing ids are identical)
local pytest, tests/code_surface, target_release, openspec_cli_pin, packet_reference, document_catalog, ideation_routing, run on the ratifying tree before the merge all pass but one ideation_routing red the same ideation_routing red on main 80f47483
git diff --check (against main) clean
closing-keyword scan (git log origin/main..HEAD, 14 commits, and this body) no hit
host-absolute path scan of the lines added since a9f5475a none

The local reds are environmental, not this change's. They fail identically on main with the same temporary directory, which sits inside a git work tree that holds the lane's scratch area. The required pytest-suite check at this head is the judge, and it is read on this PR.

Reviews

  • Copilot: its earlier rounds (reviews 5462217346 at 89424da9, 5462307351 at 843d7267, the round at 89506b51 with five findings, the round at 077e0f78 with three, and the round at 0fde3df9 with three review-body findings, the round at 9ed23f7e with 0 open findings, the round at 9f288c6b with one finding, the round at a9f5475a with one thread and two review-body findings, and the round at 9723844e with two threads) are answered and every thread is resolved. It is re-requested at 8e56ac58.
  • Codex: waived as a landing gate by the land word (§ Landing word). The Codex trigger was posted once, at 9723844e (comment 6071816602), and the connector answered with its usage-limit notice (comment 6071818382), so no Codex review exists for any head of this PR. No second trigger is posted.

🤖 Generated with Claude Code

brettheap and others added 2 commits October 8, 2026 19:53
…aseline, M5 narrowing, per-domain error vocabularies)

The OpenSpec proposal for Brett Heap's three rulings of 2026-10-08, each
RULED on the lane register against this change path: "RS256 baseline
(Recommended)", "Narrow to error codes (Recommended)" and "Per domain,
profile maps (Recommended)". Status draft, held for his ratify word; the
rulings decide what it says and do not ratify it.

One delta in factory-mcp-conformance: four ADDED requirements (a hosted
declaration carries an authorization block and a stdio-only one none;
RS256 required of every hosted domain server, EdDSA optional, none and
HMAC refused by name; the audience bound to the server's own resource;
per-domain error vocabularies) and one MODIFIED requirement, Lossless
results and explicit failures, narrowed to a dependency failure reported
through the error inventory, which the validator already enforces.

Bookkeeping: the README Active changes bullet, and the one
_LEDGER_SUBJECTS data row the modified-block-currency self-gate requires
for the MODIFIED block (retires at the archive). The sweep-ledger rows are
seeded in the next commit, once the pull request number exists. No schema,
validator, test logic, contract or release surface moves.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…cord

The sanctioned seeder (validate-sequenced-after.py . --seed-ledger
--moved-by '#1274') moved exactly two rows: the new active row for
amend-factory-mcp-conformance-auth-profile (co-modifier, declares
[add-factory-mcp-conformance], depth 1), and add-factory-mcp-conformance,
which this packet's MODIFIED block flips from sole to co-modifier. The
README Active changes bullet now names the draft pull request.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap
brettheap requested a balanced review from Copilot October 8, 2026 19:59
@brettheap

brettheap commented Oct 8, 2026 •

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.

@sourcery-ai

sourcery-ai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Reviewer's Guide

This draft-only OpenSpec PR records three rulings in a proposed factory MCP conformance amendment: a hosted RS256-based authorization profile, enforceable error-inventory semantics for unavailable dependencies, and per-domain error vocabularies. It intentionally changes no production schema, validator, tests, runbook, contract, or release artifact; reviewers should focus on the exact normative text, six open design questions, provenance/ratification gates, and consistency of the governance bookkeeping.

Flow diagram for hosted authorization validation

flowchart TD
    Declaration["Service declaration"] --> Deployment{"deployment"}
    Deployment -->|not_deployed| Stdio["No auth block"]
    Deployment -->|deployed| Auth["Read auth block"]
    Auth --> Issuer["Validate issuer"]
    Issuer --> Algorithms["Require RS256; optionally allow EdDSA"]
    Algorithms --> Audience["Bind audience to canonical resource or issuer-assigned identifier"]
    Audience --> Metadata["Validate RFC 9728 metadata path"]
    Metadata --> Support["Require auth evidence or gap support"]
Loading

Flow diagram for per-domain error mapping

flowchart LR
    DomainA["Domain A codes and envelope"] --> Mapping["Lossless mapping"]
    DomainB["Domain B codes and envelope"] --> Mapping
    Mapping --> Classification["Shared execution-failure and completed-evaluation semantics"]
    Mapping -.->|no shared code vocabulary| DomainA
    Mapping -.->|no published schema changes| DomainB
Loading

File-Level Changes

Change Details Files
Adds a draft OpenSpec amendment defining hosted MCP authorization requirements without implementing the schema or validator.
  • Require an authorization block for deployed services and forbid it for stdio-only declarations.
  • Set RS256 as mandatory, EdDSA as optional, and reject none, HMAC, and other unadmitted algorithms.
  • Bind audiences to the server resource or an issuer-assigned resource identifier; require RFC 9728 metadata-path declarations and authorization support references.
  • Document stable validation diagnostics and realization/versioning boundaries for post-ratification implementation.
openspec/changes/amend-factory-mcp-conformance-auth-profile/proposal.md
openspec/changes/amend-factory-mcp-conformance-auth-profile/design.md
openspec/changes/amend-factory-mcp-conformance-auth-profile/tasks.md
openspec/changes/amend-factory-mcp-conformance-auth-profile/.openspec.yaml
openspec/changes/amend-factory-mcp-conformance-auth-profile/specs/factory-mcp-conformance/spec.md
Narrows the lossless-results requirement to the error-inventory path the existing validator can enforce.
  • Clarify that result statuses represent completed evaluations and error-inventory codes represent execution failures.
  • Limit the unavailable-dependency eligibility prohibition to failures reported through the error inventory.
  • Preserve the existing requirement structure and record the modification for doc-health auditing.
openspec/changes/amend-factory-mcp-conformance-auth-profile/specs/factory-mcp-conformance/spec.md
tests/doc-health/test_modified_block_currency_self_gate.py
Defines per-domain ownership of error vocabularies while retaining only lossless outcome mapping as the shared conformance layer.
  • Keep codes and envelopes in each domain's published schemas.
  • Prevent same-named codes across domains from acquiring shared meaning or retry semantics.
  • Avoid any published-schema or neutral-vocabulary change.
openspec/changes/amend-factory-mcp-conformance-auth-profile/proposal.md
openspec/changes/amend-factory-mcp-conformance-auth-profile/design.md
openspec/changes/amend-factory-mcp-conformance-auth-profile/specs/factory-mcp-conformance/spec.md
Adds governance and repository bookkeeping for the unratified, sequenced amendment.
  • Mark the proposal as an ad hoc draft held for ratification and defer implementation to a later Speckit feature.
  • Add README active-change documentation and claims/provenance metadata.
  • Seed the corpus ledger and change the archived predecessor from sole to co-modifier.
  • Document deferred contract allocation, downstream non-goals, and post-ratification tasks.
README.md
openspec/changes/amend-factory-mcp-conformance-auth-profile/.openspec.yaml
openspec/changes/amend-factory-mcp-conformance-auth-profile/proposal.md
openspec/changes/amend-factory-mcp-conformance-auth-profile/tasks.md
tests/sequenced_after/corpus-ledger.yaml

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.

🟡 Changes recommended

The diagnostic contract, issuer requirement, substrate claim, and recorded gate evidence contain unresolved inconsistencies.

4 open findings
What changed in this PR

Defines a draft OpenSpec amendment for hosted MCP authorization and per-domain error handling, pending ratification.

Changes:

  • Specifies RS256 authorization, audience binding, metadata, and error-vocabulary requirements.
  • Documents realization, testing, release, and ratification plans.
  • Updates lifecycle, sequencing, and doc-health bookkeeping.
File Description
README.md Registers the active draft.
.openspec.yaml Records origin and provenance.
proposal.md Defines scope and rationale.
design.md Details authorization design and diagnostics.
tasks.md Plans ratification and realization.
spec.md Adds and modifies conformance requirements.
corpus-ledger.yaml Updates sequencing classifications.
test_modified_block_currency_self_gate.py Registers the modified-block finding.

🧠 Review effort: Balanced


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

- The query refusal that OQ-3 recommended is now carried consistently: the
  hosted-block requirement says a deployed service's canonical resource URI
  carries no query, with its own scenario; design D4 and the D7 table name
  auth_resource_query at /service/canonical_resource_uri; task 2.2 tests it.
- The requirement now forbids userinfo in the issuer, matching D4 and D7.
- Task 1.4 is unticked: the gates are run at the head that is ratified, and
  until then the pull request body records each run against its own head.
- The #630 claim names one new ledger row; the seeder also flipped the
  partner row add-factory-mcp-conformance from sole to co-modifier, as the
  ledger requires of a MODIFIED block. proposal.md and task 1.3 disclose it
  and record that the claim's amendment is owed before landing.

Also: the M5 evidence names what was verified (the operations domain's
result statuses; the engineering domain's error code) instead of "never a
result status", and design's Compatibility says that a deployed declaration
without the block becomes invalid. The MODIFIED block is unchanged.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap
brettheap requested a balanced review from Copilot October 8, 2026 20:09
@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 archive plan omits deferred-release resolution, the diagnostic-code count is inconsistent, and the substrate claim amendment remains outstanding.

2 open findings
3 resolved since last review
Previously missed (1)

In code that hasn't changed since last review

Medium severity Resolve deferred allocation before archiving

openspec/​changes/​amend-factory-mcp-conformance-auth-profile/​tasks.md:118

The archive task omits the required resolution of target_release: deferred-allocation. The promoted rule in openspec/specs/release-realization/spec.md:219-226 says such a packet MUST NOT archive until the token is replaced with the release allocated at the cut (or implemented) and that cut is cited. As written, task 4.1 can freeze an unresolved deferred value after task 2.6; add the resolution to this checkpoint before invoking the archive command.

🧠 Review effort: Balanced

brettheap and others added 2 commits October 8, 2026 20:54
…nded - Brett Heap "Ratify, OQs as recommended (Recommended)"

RATIFIED 2026-10-08T20:2xZ by Brett Heap (openxFactory repository owner), given
in session to lane openXfactory-5 as a multiple-choice answer, verbatim:

  "Ratify, OQs as recommended (Recommended)"

RULED on the estate's lane register at 2026-10-08T20:33:25Z. The word ratifies
the packet as drafted and adopts all six open questions of design.md at the
recommended answer:

  OQ-1  admit the issuer_assigned audience binding beside resource_uri
  OQ-2  algorithms closed at RS256 (required) and EdDSA (optional)
  OQ-3  RFC 9728 section 3.1 path insertion, and a query on a hosted
        resource URI refused
  OQ-4  the block cites evidence or a gap under a new auth concern
  OQ-5  schema_version 1 and profile advisory-v1 kept, first-bundled at the
        next additive minor
  OQ-6  exactly one issuer per hosted server

EVERY RULING IS THE RECOMMENDED OPTION, SO THE DELTA MOVES NO BYTE. Proven by
diff: git diff 843d726 -- openspec/changes/amend-factory-mcp-conformance-auth-profile/specs/
is empty across this commit (delta blob 51fc770 before and after). Each
recommendation was re-read against the delta before this commit; the record
shows where each stands.

WHAT MOVES. proposal.md, design.md and tasks.md carry Status: ratified with one
citation line each (Ratified: in proposal.md, Ratified by: in the other two).
design.md's open-questions table gains a Ruling column, each row marked RULED.
.openspec.yaml gains approved_by and approved_on ADDED BESIDE the untouched
drafting provenance. One new record, review/ratification-2026-10-08.md. tasks.md
0.1 and 0.2 are ticked and name the word. The README OpenSpec Records row moves
to its ratified form. The sweep-ledger rows and the _LEDGER_SUBJECTS row do not
move: they record state, class and declaration, none of which ratification
changes.

WHAT DOES NOT MOVE. This is a ratify word only. It is not a landing word, so
the pull request stays a draft. It archives nothing, edits nothing under
openspec/specs/, cuts no contract release and starts no realization. tasks.md
1.4 stays open: its required pytest-suite check is read at the exact head on
the pull request.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Takes e140c57 (three factory-mcp brainstorm files generalized). The merge is
clean, no file of this packet is touched by it, and no requirement or scenario
text moves.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@brettheap brettheap changed the title amend-factory-mcp-conformance-auth-profile: auth block with an RS256 baseline, M5 narrowed to error codes, per-domain error vocabularies (draft, held for ratify) amend-factory-mcp-conformance-auth-profile: auth block with an RS256 baseline, M5 narrowed to error codes, per-domain error vocabularies (ratified; draft, landing waits for a separate word) Oct 8, 2026
@brettheap
brettheap requested a balanced review from Copilot October 8, 2026 21:16
@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

Governance records are stale, and the realization and archive plans omit required validation and release-transition work.

5 open findings
2 resolved since last review

🧠 Review effort: Balanced

brettheap and others added 2 commits October 8, 2026 21:35
…he delta)

- design D7 now lists the existing missing_support_reference and
  duplicate_support_reference codes at their /service/auth/... locations, which
  D5 already named, and task 2.2 names a dangling and a repeated id as
  red-first cases.
- tasks 4.1 names the deferred-allocation transition the archive requires:
  resolve the declaration to the literal release the cut allocated, citing the
  bundle version observed and the release surface.
- The #630 claim amendment is recorded as done (comment 6068473680) in
  proposal.md, tasks 1.3, the ratification record and the README row, and the
  record gains a section 5 listing these corrections.

No requirement or scenario text moves: the delta blob stays 51fc770.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Takes c8dde13. Clean; no file of this packet is touched by it.

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

… review of #1274 at 9f288c6, one finding)

Brett Heap's landing word, RULED 2026-10-08T23:00:44Z, verbatim "Land all three,
waive Codex (Recommended)", waives the Codex review. Task 3.1 still required a
Codex review at the exact head, so it could not be completed under the
authorized landing conditions. It now records the landing word and the waiver
and keeps the exact-head requirement for Copilot.

The same pending-landing wording is brought up to date where it sat: the
ratification record's section 3 now points at a new section 6, which records
the landing word (land after main is merged in, when green and Copilot is
clean at the exact head; Codex waived; the packet stays ACTIVE and is not
archived until it is implemented through Speckit); proposal.md's Ratification
section says the landing word is given; the README Records row says the same;
and the record's section 5 lists this correction.

No requirement or scenario text moves: the delta blob stays 51fc770.

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The planned nested structural diagnostic cannot be produced by the current validator, and the ratification record contains contradictory state.

1 open finding
1 resolved since last review
Previously missed (2)

In code that hasn't changed since last review

Medium severity Nested oneOf errors hide duplicate algorithm validation

openspec/​changes/​amend-factory-mcp-conformance-auth-profile/​design.md:222

auth is defined inside the deployed arm of service.oneOf, but check_structure records only top-level iter_errors() results and never traverses error.context. A repeated algorithm therefore fails the deployed arm and surfaces as schema_oneOf at /service, not schema_uniqueItems at /service/auth/algorithms, so the red-first test promised by task 2.2 cannot pass. Either flatten the selected branch's child errors or make duplicate detection semantic and update this code/location.

Low severity Correctly distinguish unchanged files from the modified tasks.md

openspec/​changes/​amend-factory-mcp-conformance-auth-profile/​review/​ratification-2026-10-08.md:109

This heading says four files were unchanged, but the fourth bullet is tasks.md 1.4 and this same section already records that tasks.md changed at lines 98–99. Distinguish the three unmoved files from the one task that deliberately remained unchecked.

🧠 Review effort: Balanced

… in the review body)

- The record's section 3 conflated two timestamps and kept a Codex review as
  owed. 20:33:25Z is when the lane recorded the ratify word, not when he gave
  it (20:2xZ), and the landing word waived Codex. Section 3 now says both, and
  proposal.md and tasks 1.3 say the claim amendment came before the ratify word
  was recorded on the lane register.
- design D7: a structural fault inside the block cannot name its field. auth
  sits in the deployed arm of service's oneOf and the structure pass reports a
  failed oneOf at its own path, so the D7 row for a repeated algorithm said
  schema_uniqueItems at /service/auth/algorithms, which the validator cannot
  produce. The row now reads schema_oneOf at /service, a paragraph states the
  limit, and the choice between flattening the branch errors and a semantic
  check stays with the realization. Task 2.2 names the matching test.
- The record's section 4 said four files do not move while listing tasks.md,
  which changed. It now lists the three unmoved files and records the open
  box 1.4 apart. Section 5 lists these corrections.

No requirement or scenario text moves: the delta blob stays 51fc770.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ile (landing round B)

Takes 564f565: the archive of refresh-install-repository-enumerations-opsxfactory-gateway
(#1278) and the record commit beneath it. The one conflict was the README
OpenSpec Records block: the archive moved that packet's row out of Active
changes into the archive record, where main has it, so this packet's row is
kept exactly as written and the old Active row is dropped as main did. The
sweep-ledger auto-merged: that packet's row now reads archived, and this
packet's row is unchanged. No file under this packet's directory is touched by
the merge, and no requirement or scenario text moves.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@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 test plan omits the ratified single-issuer constraint, and the proposal misstates the packet file count.

2 open findings
1 resolved since last review

🧠 Review effort: Balanced

… delta)

- tasks 2.2: OQ-6 ratifies exactly one issuer, so the structure bullet now
  names an issuer given as a list or as more than one issuer, refused as
  schema_oneOf at /service, and design D7's closed-shape row names it. No
  scenario is added, since that would be requirement text.
- proposal.md front matter: the code-surface prose counted five files in the
  packet directory; the ratification record makes six. It now says six.
- The ratification record's section 5 lists both corrections.

No requirement or scenario text moves: the delta blob stays 51fc770.

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

sonarqubecloud Bot commented Oct 9, 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.

🔵 Needs a closer look

The security-sensitive cross-repository authorization contract relies partly on private evidence and defers executable validation to a later realization.

0 open findings

2 resolved since last review

🧠 Review effort: Balanced

brettheap added a commit that referenced this pull request Oct 9, 2026
…ntory (refs #1259) (#1276)

Add the opensoft/OpsxFactory-Gateway-Install row to scripts/estate-repository-inventory.yaml: governance governed, admitted by the gitlink whose carrier is opensoft/xFactory (xFactory#567 → 651dd5c9). A plain data row with no OpenSpec change. Drafted on Brett Heap's word "Lane 5 drafts the row (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). Refs #1259.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap
brettheap marked this pull request as ready for review October 9, 2026 01:47
@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 21 hours and 10 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:51:16Z, PR #1274 into opensoft/openxFactory main

@brettheap
brettheap merged commit 93d13d6 into main Oct 9, 2026
17 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:51:38Z, PR #1274 into opensoft/openxFactory main → merge 93d13d6; amend-factory-mcp-conformance-auth-profile: auth block with an RS256 baseline, M5 narrowed to error codes, per-domain error vocabularies (ratified)

brettheap added a commit that referenced this pull request Oct 11, 2026
…l request in the README

--moved-by needs a real pull-request number, and this branch had none until
#1298 was opened, so the row is seeded here rather than in the archive act,
the order 14920ec (#1252) and d6a2aea (#1278) used.

Seeded by the machine, not by hand:

  python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1298'
  -> wrote tests/sequenced_after/corpus-ledger.yaml (238 rows, 1 moved by #1298)
       - amend-factory-mcp-conformance-auth-profile
  python3 scripts/validate-sequenced-after.py . --ledger-diff
  -> per-change sweep ledger consistent with the corpus (238 rows)

The diff is one line: state active -> archived, moved_by "#1274" ->
"#1298", moved_on 2026-10-08 -> 2026-10-11, the archive directory's date.
Class (co-modifier) and declares are unmoved, and no other row moved: the
partner add-factory-mcp-conformance row is untouched. The plain run passes
(46 active changes, 19 declaring the field), with the archive-date and
archive-date-vs-commit arms clean.

README: the archived bullet's ARCHIVE-PR-NUMBER-PENDING marker now names
PR #1298.

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