Skip to content

035 PR-1: council-convening foundation (shared grammar, protocol registry, digest subjects, corpus format, validator skeleton) - #1284

Merged
brettheap merged 11 commits into
mainfrom
035-phase1-foundation
Oct 9, 2026
Merged

brettheap merged 11 commits into
mainfrom
035-phase1-foundation

Conversation

@brettheap

@brettheap brettheap commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Lane: codexfactory-2 (codeXfactory-2)

What this delivers

This is Speckit feature 035, Phase 1, "Setup and foundational": tasks T001–T023 of specs/035-renew-resolved-council-protocol/tasks.md. It lays the foundation of the contracts/council-convening/ family governed by the ratified renew-resolved-council-protocol (#1267).

The family is dormant and unregistered. It has no contracts/manifest.yaml row and no release until Phase 7, and nothing in it selects or activates a protocol.

  • Shared grammar. shared-definitions.schema.yaml carries every data-model E1 definition. Patterns are matched whole, lengths are bounded in UTF-8 bytes, and date-time is asserted from an explicit format allowlist.

  • Protocol registry. protocol-registry.schema.yaml and the closed instance protocol.registry.yaml hold exactly two entries:

    • the replacement xfc-resolved-council-1, available;
    • the legacy xfactory-council-seat-return/v1, in_use.

    The registry also holds the recognition rules for records that carry no protocol member.

  • Digest subjects. $defs/digest_subject gains council_convening and council_seat_return_payload under the one construction xfc-jcs-sha256-1. The same change is mirrored in canonical.py, and the manifest row sha256 is refreshed (T012–T014).

  • Corpus format. conformance/index.json plus 133 hand-authored foundation vectors: 103 definition, 30 classification, all applying to both sides. The generator reproduces them byte for byte.

  • Validator skeleton. scripts/validate-council-convening.py, over the scripts/council_convening/ package (records, classification, corpus, generate), offers self-test, check PATH… and corpus [--json]. Its exits are 0, 1, 2 and 3; 3 means routed, never a pass.

  • Gate. .github/workflows/council-convening-gate.yml runs job council-convening-gate. It reports, and does not gate until the owner requires it.

What it unblocks

  • 049 (codexFactory, the producer): T027 and the chain T026→T030 can pin a reviewed commit for the protocol identifiers, the classification rule and the corpus format.
  • 025 (xFactory-Hermes-Install, the consumer): FR-001 and FR-011 can read the protocol registry and the classification rule at a reviewed commit.

Brett Heap's ruling, folded in

Brett Heap ruled at 2026-10-09T02:36:50Z, "Estate spelling (Recommended)": key_fingerprint is "sha256:" + sha256(raw 32-byte public key).hexdigest(), as openXwallet fingerprint_of_public_key and codexFactory key_fingerprint compute it.

  • The fixture keys, their test and the schema description follow it.
  • data-model.md:36, research.md:32 and plan.md:63 carry dated corrections.
  • The seat-alpha known answer is pinned as literals: sha256:5df2e785…6083b.
  • No vector derives a fingerprint.

Defects found before opening, and fixed here

Family keywords were dropped inside whole schema documents (found by the Phase 3 writer, reproduced by the Phase 4 writer).

  • What failed. jsonschema re-selected the validator class from each document's $schema, so whole-string pattern and x-max-utf8-bytes failed open below the root. One example: a registry tag contract-v4.0\n passed.
  • The fix. The registry now serves each document without $schema, and a foreign dialect is refused at load. Every $ref must name a loaded document.
  • The rejected alternative. Re-pointing jsonschema's global _META_SCHEMAS was tested and rejected, because it changes every 2020-12 schema in the process.

The independent PR-1 review of 396ef5dd7 returned READY AFTER FIXES. Every item was fixed test-first in a1375ac96:

  • B1, an evidence-based reading where the plan is silent. Recognition rule (b) reads the legacy context string at signature.protocol.
    • That is where the real legacy seat result carries it. codexFactory council_seat_signing.py returns {protocol, key_fingerprint, signature} under the seat result's signature member, and Hermes review_authority.py reads it there.
    • The first reading's signing_context and context.signing_context match no legacy artifact, so both are dropped.
    • Hermes-shape vectors cover all three cases: routed offline, routed under the legacy selection, and refused as legacy_protocol_refused under the replacement selection. Before the fix, all three were protocol_unknown, and check exited 1 instead of 3.
  • B2. check now judges indexes, vectors and family schemas. It adjudicates vectors and requires the full house header on schemas, so it no longer exits 0 on any of them.
  • M1. A malformed vector is a finding, never a KeyError.
  • M2. YAML is read through the Hermes runtime family's fail-closed loader, so a repeated key is refused.
  • Formats. Only formats on an explicit allowlist are asserted, and any other format in a family schema is refused at load.
  • L3. The gate's greps require ([1-9][0-9]*)/\1, and the wiring tests pin || fail after each grep and shell: bash.
  • L4. A kind that is not a string is reported as malformed.
  • L5. A corpus number spelled as a float whose value is an integer is refused.
  • L6. The $parts test now asserts the adjudication.
  • L7. whole_match's known limit is documented, and an invariant test guards it.
  • L8. A matched_class refusal vector is added.
  • L9. Nothing is classified against a registry that is not closed.
  • L1, L2 and reading 3 are recorded:
    • L1: the RFC 8785 known answer moves to the corpus with Phase 2's digest-bearing vectors.
    • L2: a dated contract sentence says a classification refusal carries derived: {}.
    • Reading 3: a dated data-model sentence records that grammar is checked before canonicalizability.

The delta review of a1375ac96, and SonarCloud's two security issues (8f83b10ac)

  • MEDIUM: a $schema below a document's root still switched the dialect. Reproduced first: the reviewer's nested $schema in $defs/opaque_id loaded, and opaque_id then accepted "x\n". Now records.headers_below_root finds any $schema or $id below a root, and both load and check refuse it. The reviewer's probe is refused at load.
  • LOW: three fixes.
    • The fingerprint pointers now name data-model § Shared definitions.
    • The rule-1 vector is renamed cls-offline-replacement-protocol-with-string-signature-accept. A new cls-offline-string-signature-without-protocol-refuse exercises the signature.protocol path on a string signature.
    • check on a family schema runs the load-time $ref closure.
  • Evidence. evidence.md states that vectors changed their expectation after implementation because of B1's reading.
  • Sonar pythonsecurity:S8707. check now reads a PATH only after os.path.realpath shows it equals, or lies below, the directory check was invoked from. This follows the rule's own compliant form. Any other path is refused with exit 2 and never read.
    • This is a contract change, and validator-cli.md states it in a dated sentence.
    • Confining paths to the repository root was rejected, because successors check their own records from their own checkouts.
  • Sonar githubactions:S8541. The gate's install is pip install --require-hashes --only-binary :all:, as in former-id-arrival-gate.yml. A dry run measured 17 packages, all 17 wheels and 0 sdists, on Python 3.12.3. test_gate_wiring.py pins the flag.
  • Neither Sonar issue was marked false positive or accepted. The code was fixed.

Gates

Head 8f83b10ac. origin/main 93d13d6c8 was merged in, with no rebase.

Gate Result
python3 -m pytest tests/council_convening -q -m "not postgres" 320 passed
python3 scripts/validate-council-convening.py (self-test) Exit 0. 133/133 vectors adjudicated, 5/5 refusal codes and 1/1 finding code probed, 2/2 requirements (FR-001, FR-011), generator reproduced the corpus byte for byte. 0 errors, 0 warnings.
python3 -m scripts.council_convening.generate --check Exit 0, no drift. Index sha256:b74c6dd509fca0a8a0b708820e38439a96259dc36777a2c11f6f6d70bd1ca745. 133 vectors: accept 42, refuse 83, route 8
T014 suites (tests/signed_execution_chain tests/clearing tests/code_surface tests/intent-compliance tests/manifest_digests) 828 passed at 3672b4e49; not re-run this round
validate-signed-execution-chain.py / validate-clearing-dispatch.py 0 errors, 0 warnings each
python3 scripts/validate-openspec-cli-pin.py --all --strict (pinned 1.12.0) Exit 0. 113 passed, 1 failed (114 items), 0 undispositioned. The one failure is add-chain-attestation's accepted exception.
doc-health, single-repo, head against base 31 critical, 26 error, 59 warning, 21 info; 0 new regressions. Base was 31, 26, 59, 20. The extra info finding came in with #1274 and is not on a Phase 1 path.
python3 -m pytest tests/ -q -rfE -m "not postgres" (CI's submodule set initialized) At a1375ac96, not re-run locally this round; CI's pytest-suite is the measure. selected 10126, passed 10111, skipped 6, failures 9, errors 0 (CI's own JUnit rule; floors 7050 / 7044 / skipped 6). All 9 failures are this container, not this branch: factory-mcp (4), from optional format libraries the CI lock lacks, passes in full with them hidden; hermes_runtime_contracts (1), a fixed 30 s subprocess timeout at load 14-17, where the command itself exits 2 with the right mode in 37 s; ideation-dashboard (4), a walk-up from this worktree into the shared checkout's uninitialized submodules. Details: evidence.md § Green
Scope (quickstart step 5): git diff --name-only origin/main...HEAD -- governance/review-authority openXwallet openspec/changes/renew-resolved-council-protocol Empty

The red counts, green counts, RFC 8785 check, every reading and every review disposition are in evidence.md § Phase 1.

T023 says to open PR-1 as a draft. It is opened ready for review on the coordinator's instruction, because it lands on Brett's word.

Lands on Brett Heap's word 'merge PR-1 when green'.

🤖 Generated with Claude Code

brettheap and others added 10 commits October 9, 2026 01:31
…1, T003, T004)

T001: specs/035-renew-resolved-council-protocol/evidence.md, with the lane
claim, Brett Heap's rulings and words, #1267's and #1268's landings, and
Phase 1's base measurements at de70915; linked from feature 035's entry in
the README document index.

T003: scripts/council_convening/ and the tests/council_convening/ package
with its package conftest. No corpus directory is created empty.

T004: contracts/council-convening/README.md (Status: ratified, Ratified by:
renew-resolved-council-protocol, Kind: reference), linked as dormant and
pending realization from the README document index and the contracts/
README native contract index.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Failing tests, written before any implementation module:
test_shared_definitions (T005), test_protocol_registry (T006),
test_digest_subjects (T007), test_corpus_index (T008, with the generator's
Phase 1 obligations), test_validator_cli (T010), test_gate_wiring (T011).

T009: 128 hand-authored foundation vectors under
contracts/council-convening/conformance/vectors/foundation/: 102 at boundary
`definition` and 26 at boundary `classification`, including the I3 case and
the route outcome with finding legacy_protocol_routed; all
applies_to [producer, consumer], derived_origin hand.

Red, recorded in evidence.md: 32 failed, 17 passed, 11 errors; every
failure is an absent name or file. Not pushed red: the implementation
follows in this push.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
T012: digest-construction.schema.yaml's closed digest_subject enumeration
gains council_convening and council_seat_return_payload, appended after
daily_batch_root, with a tranche comment and a description paragraph naming
renew-resolved-council-protocol D1/D3 and what each is taken over. Subjects
only; construction_name is untouched (R3).

T013: canonical.SUBJECTS mirrors both, with the same comment.

T014: the signed-execution-chain-digest-construction manifest row's sha256
moves with its bytes (0dfc2e8e... -> ef157d88...), with a row comment that
also records the six daily-batch subjects the earlier digest already
covered; no version and no CHANGELOG change. The one test that pins the
enumeration, test_the_anchoring_digest_subjects_are_enumerated_once, now
asserts subjects[28:34], subjects[34:] and a length of 36.

Green: pytest tests/signed_execution_chain tests/clearing tests/code_surface
tests/intent-compliance tests/manifest_digests -q -> 828 passed;
validate-signed-execution-chain.py and validate-clearing-dispatch.py exit 0.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tor, gate (T015-T022)

T015 shared-definitions.schema.yaml: every data-model § Shared definitions
grammar, digest by $ref to xfc-jcs-sha256-1, refusal_code at the five Phase 1
codes and finding_code at legacy_protocol_routed. relative_path carries
x-max-utf8-bytes 4096 beside maxLength, because JSON Schema counts code points.

T016 protocol-registry.schema.yaml and the closed instance
protocol.registry.yaml: replacement xfc-resolved-council-1 `available`,
legacy xfactory-council-seat-return/v1 `in_use` with three closed recognition
rules; every tag null; all five statuses in the schema's enumeration.

T017 records.py: one referencing.Registry, whole-match patterns, the UTF-8
byte bound, a FormatChecker that must carry date-time (fails closed), the
canonicalizability pre-check, Refused(code, member) with no value echo.
T018 classification.py: E1 classification and the Phase 1 effects rows, the
registry closure against LANDED_PROTOCOLS; Phase 6 rows raise EffectNotLanded.
T019 corpus.py: index closure, raw-byte digests, strict JSON, $parts, the
dispatch table (definition, classification), exact adjudication, coverage at
the commit and the registry_status rule.
T020 generate.py: deterministic JSON, the index from the vectors with
coverage_floor FR-001 and FR-011, --check into a temporary tree, labelled
fixture keys from a public phrase that are never written.
T021 scripts/validate-council-convening.py: self-test, check and corpus;
exits 0/1/2/3.
T022 .github/workflows/council-convening-gate.yml: job id with no name, the
lock with --require-hashes, a positive assertion step; reports, does not gate.

Two tests were over-strict and are corrected without weakening their intent:
the digest definition may carry an annotation beside its $ref, and the gate
test now separates the negated ERROR grep from the required ones.

Green: tests/council_convening 244 passed; the self-test exits 0 with
128/128 vectors adjudicated, 5/5 refusal codes, 1/1 finding code and 2/2
requirements probed, and the corpus reproduced byte for byte.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Brett Heap ruled at 2026-10-09T02:36:50Z, "Estate spelling (Recommended)":
`key_fingerprint` is "sha256:" + sha256(raw 32-byte public key).hexdigest(),
as openXwallet `fingerprint_of_public_key` (scripts/validate-openxwallet.py
:536-541 at f3eb929b) and codexFactory `key_fingerprint`
(.github/workflows/scripts/council_seat_signing.py:199-205 at 48d0560e)
compute it, and as T047 names it.

- The labelled fixture keys' `fingerprint` now hashes the raw public key
  instead of returning its hex. The test was corrected first and run red.
- The shared definitions' `key_fingerprint` description states the estate
  spelling. The pattern is unchanged, since it accepts both spellings.
- data-model E1 (line 36), research.md and plan.md carry dated corrections
  of the old "hex of the raw public key" wording.
- The corpus was regenerated with no byte change: no Phase 1 vector derives
  a fingerprint from a key, and index.json stays sha256:55b570a1.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The defect: SchemaSet.validator() built FamilyValidator({"$ref": ref}), but
whenever validation descended into a whole family document, which carries
the house `$schema` header, jsonschema's evolve() called validator_for(),
mapped the header to plain Draft202012Validator, and dropped the family's
whole-string `pattern` and `x-max-utf8-bytes` for that document and
everything beneath it. A record therefore validated FAIL OPEN. The protocol
registry was affected: a `contract-v4.0` tag plus a trailing newline passed.
The definition-boundary tests missed it because a `$ref` straight to a
`$defs` member never enters a document. The Phase 3 writer found it, and the
coordinator relayed it; it was reproduced independently before the fix.

The fix: the registry serves each document with `$schema` removed, so
validator_for keeps FamilyValidator at every depth. The metaschema check
still runs on the document as written, and SchemaSet.family keeps that
original. A family document declaring any dialect other than 2020-12 is now
refused at load instead of being silently re-read as 2020-12.

Six regression tests were written first and run red: a record-shaped schema
refuses an opaque_id with a trailing newline, and refuses a UTF-8 byte
overrun that only x-max-utf8-bytes can see; every registered document
resolves to FamilyValidator; another dialect is refused; and the registry
tag with a trailing newline is a schema finding, in-process and through
`check`. No vector's expected outcome changed: 128/128 still adjudicate as
authored, and index.json stays sha256:55b570a1.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ded document

Follow-up to 2ac73e0, on the coordinator's addendum: the Phase 4 writer
reproduced the dropped-keyword defect from a second entry point, a record
schema validated at its root.

- Fix (a) is kept, and (b) was tested and rejected. jsonschema's
  validator_for consults only the module-global _META_SCHEMAS, so pointing
  the 2020-12 id at FamilyValidator re-points it for EVERY 2020-12 schema in
  the process. Demonstrated: an unrelated `^a$` schema then refuses "a\n",
  and the metaschema check itself runs on FamilyValidator.
- Both entry points are now tested side by side: a whole document's root,
  and a `$ref` into a fragment of a whole document that carries the header,
  for both `pattern` and `x-max-utf8-bytes`. The evolve path jsonschema
  takes, onto each served document, is pinned too.
- New hardening: load_schemas refuses any `$ref` or `$dynamicRef` whose
  target is not a loaded document. The resolver also serves the bundled
  dialect metaschemas, which keep their `$schema`, so a reference to one
  would resolve under the plain dialect. That path cannot strip a family
  keyword, because none sits beneath a metaschema, but it is outside the
  family. An absent family document now fails at load, not at validation.
  This makes the module docstring's "no reference is resolved off a
  guessed path" true.

No vector changed: 128/128 adjudicate as authored, and index.json stays
sha256:55b570a1.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Folds in the independent review of 396ef5d (READY AFTER FIXES). Each fix
was written test-first and run red.

B1 (blocking): recognition rule (b) now reads the real legacy seat result.
The context string sits at `signature.protocol`: codexFactory
council_seat_signing.py returns the three-key block {protocol,
key_fingerprint, signature}, and Hermes review_authority.py reads it under
the seat result's `signature` member (SIGNATURE_BLOCK_KEY). member_paths is
now [[signature, protocol]], in the registry, LANDED_PROTOCOLS and the
frozen test copy. The first reading's `signing_context` and
`context.signing_context` matched no legacy artifact (grep over Hermes
origin/main f9d0874ba and codexFactory 48d0560e), so they are dropped, and
a vector pins that a top-level `signing_context` member is protocol_unknown.
New Hermes-shape vectors cover three cases: route offline; route under the
legacy selection with `in_use`; legacy_protocol_refused under the
replacement selection. A replacement return's string `signature` stays
replacement under rule 1. Under the HEAD registry the three Hermes-shape
vectors gave protocol_unknown, and `check` exited 1, not 3.

B2 (blocking): `check` judges the non-record family kinds.
- An index runs index_problems.
- A vector is adjudicated against its own expectation, through the
  adjudication the self-test uses.
- A family schema needs the full house header and carries no protocol shape.
- Anything else is classified, as before.

M1: render() runs the vector format and raises ValueError naming the file.
The self-test prints its collected findings before the generator runs. On
the HEAD code, the reviewer's probe raised KeyError 'requirement_ids' with
0 ERROR lines printed.

M2: family YAML, the registry and `check`'s YAML records go through the
Hermes runtime family's fail-closed loader (load_yaml_bytes), reused rather
than copied. A repeated key is refused, never resolved.

Formats: the checker is built from ASSERTED_FORMATS = ("date-time",), and a
family schema using any other format is refused at load.

L3: the gate's backreference greps are ([1-9][0-9]*)/\1, so `0/0` fails.
The tests pin `|| fail` after every grep and `shell: bash` on both steps.

L4: a `kind` that is not a string is malformed in `check`, and no longer
crashes the classification boundary.

L5: a corpus number spelled as a float whose value is an integer is refused
in the vector format (IntegralFloatToken), rather than pinning one reading.

L6: the $parts test now asserts adjudication, and that the join ran.

L7: whole_match's known limit is documented. The two inner `$` in family
patterns (relative_path, decimal_string), both inside negative lookaheads
and safe, are pinned by an invariant test.

L8: a matched_class refusal vector.

L9: check, corpus, the generator and the self-test classify nothing against
a registry whose schema or closure findings are not empty
(load_closed_registry).

L2: a dated sentence in contracts/conformance-corpus.md says a
classification refusal carries `derived: {}`.

Reading 3: a dated sentence in data-model.

Fingerprint: seat-alpha's public key and estate fingerprint are pinned as
literals, sha256:5df2e785..., agreeing with the reviewer's own derivation.

The corpus is now 132 vectors (accept 42, refuse 82, route 8), with
index.json at sha256:45c54aba...; 128/128 became 132/132.
tests/council_convening: 308 passed. Self-test exit 0. generate --check
exit 0.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
evidence.md § Phase 1 now records the fingerprint correction on Brett
Heap's ruling, the dialect fix, every disposition of the independent PR-1
review, and the green gates at code head a1375ac:

- tests/council_convening: 308 passed;
- self-test exit 0 at 132/132;
- generate --check exit 0;
- T014 suites: 828 passed;
- the pinned OpenSpec CLI: exit 0, 113/114, 0 undispositioned;
- doc-health: 0 new regressions;
- scope check: empty;
- the full suite: selected 10126, passed 10111, skipped 6, failures 9,
  errors 0.

The nine failures are diagnosed as this container's, not the branch's:
- factory-mcp: optional format libraries absent from the CI lock; the same
  file passes in full with them hidden;
- hermes_runtime_contracts: a fixed 30 s subprocess timeout under load,
  with the correct answer delivered in 37.1 s;
- ideation-dashboard: a walk-up from this worktree into the shared
  checkout's uninitialized submodules.

T001 and T003-T023 are ticked; T002 was already ticked. #1268 has landed
(de70915) and origin/main (93d13d6) is merged in.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Sorry @brettheap, your pull request is larger than the review limit of 150,000 diff characters

…issues

MEDIUM (delta review of a1375ac): a `$schema` below a document's root
still switched the dialect. Reproduced first: with `$schema` injected into
`$defs/opaque_id`, the schemas loaded and opaque_id accepted "x\n".
2020-12 allows `$schema` only at a resource root, the metaschema check does
not enforce it, and jsonschema re-selects the validator class at any
subschema carrying one. `records.headers_below_root` now finds any
`$schema` or `$id` below a root, and both load_schemas and `check`'s
family-schema judgement refuse it. An embedded `$id` is refused because
references_outside never tracked one.

LOW:
- plan.md, research.md and evidence.md now point at data-model § Shared
  definitions, where the `key_fingerprint` row lives, not at E1.
- The rule-1 vector is renamed cls-offline-replacement-protocol-with-
  string-signature-accept.
- New: cls-offline-string-signature-without-protocol-refuse, a seat result
  with no `protocol` and a string `signature`, which does exercise the
  `signature.protocol` path.
- `check` on a family schema runs the same $ref closure that load runs.

evidence.md states that vectors changed their expectation after
implementation because of B1's evidence-based reading. The two
signing_context route vectors were removed or re-shaped, and one record now
expects protocol_unknown.

SonarCloud pythonsecurity:S8707 (validate-council-convening.py:178):
`check` reads a PATH only after os.path.realpath shows it equals, or lies
below, the canonical working directory plus a separator, which is the
rule's own compliant form. Any other PATH is refused, exit 2, and never
read. Confining to the repository root was rejected, because successors
check their own records from their own checkouts. validator-cli.md carries
a dated "Tightened 2026-10-09" sentence.

SonarCloud githubactions:S8541 (council-convening-gate.yml:64): the
install is `pip install --require-hashes --only-binary :all:` against the
lock, as in former-id-arrival-gate.yml. Measured first with --dry-run on
Python 3.12.3: 17 packages, 17 wheels, 0 sdists. test_gate_wiring.py pins
the flag. Neither issue was marked false positive or accepted in Sonar.

The new tests ran red: 10 failed. Now:
- tests/council_convening: 320 passed;
- self-test exit 0, 133/133;
- generate --check exit 0;
- corpus: accept 42, refuse 83, route 8; index sha256:b74c6dd5...;
- pinned OpenSpec CLI exit 0; doc-health: 0 new regressions.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sonarqubecloud

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-2 (codeXfactory-2)

LANDING — lane codeXfactory-2, session 8d6bf418-cc06-45d9-9406-2374935c6c72, 2026-10-09T18:06:31Z, PR #1284 into opensoft/openxFactory main — on Brett Heap's word verbatim "merge PR-1 when green". Rule 6 window open; other lanes hold merges into opensoft/openxFactory main until LANDED or 30 minutes.

@brettheap
brettheap merged commit 9a272c6 into main Oct 9, 2026
16 checks passed
@brettheap
brettheap deleted the 035-phase1-foundation branch October 9, 2026 18:07
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-2 (codeXfactory-2)

LANDED — lane codeXfactory-2, 2026-10-09T18:07:52Z, PR #1284 → 9a272c6 (opensoft/openxFactory main, merged 2026-10-09T18:07:37Z). Rule 6 window closed. feature 035 PR-1, Phase 1 foundation (T001-T023): grammar, protocol registry, digest subjects council_convening and council_seat_return_payload, the corpus, the validator and its CI gate; three review rounds, final verdict READY TO LAND at 8f83b10.

brettheap added a commit that referenced this pull request Oct 9, 2026
PR-1 (#1284) landed as 9a272c6 and its branch was deleted, so main is
the source for Phase 1 from here on. This branch already carried Phase 1's
final head 8f83b10; the merge changes no file.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
PR-1 (#1284) landed as 9a272c6; its tree is 8f83b10, already merged
here as 52a8013, so this merge moves no file.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
Takes #1284 (035 PR-1, council-convening foundation). One conflict, in
contracts/README.md: both sides appended native-index rows after the
chain-anchoring rows; both kept, main's council-convening rows first.
contracts/manifest.yaml auto-merged: 185 per-file digests verify.
#1284 moved two release-inventory members (contracts/manifest.yaml and
contracts/README.md), so the forward-only re-cut of contract-v4.1 follows
in the next commit.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
) (change task 2.6)

#1284 landed on main after the first candidate (38c7881, cut from
93d13d6) and moved two release-inventory members, contracts/manifest.yaml
(the signed-execution-chain-digest-construction row's sha256, 0dfc2e8e ->
ef157d88: two digest subjects added) and contracts/README.md (the
council-convening native-index rows). Main was merged in (24699ca, never a
rebase); this commit rebuilds contracts/releases/contract-v4.1.digests.yaml
with scripts/validate-contract-release.py build from the merged bytes and
re-attributes the contract-v4.1 CHANGELOG entry by inventory diff and by a
manifest row diff against the contract-v4.0 tag:

- inventory vs contract-v4.0: 283 -> 342, 59 added (clearing family at its
  floor, byte-unchanged), 0 removed, 8 digests moved, each attributed;
- manifest rows vs contract-v4.0: 202 -> 204 (factory-mcp-declaration, this
  cut; openxwallet-pin, #1026), one changed (digest-construction, #1284);
- the number stays contract-v4.1 (claimed on #630, 6086467830).

No tag is published.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
…on the branch and main, the full suite and the out-of-tree check; tick T025 to T027 (change task 2.7)

- Section 6: the contract-v4.1 number and its #630 row-4 claim; the first
  candidate 38c7881 and its checks; the forward-only re-cut 6300772
  after #1284 merged into main as 9a272c6 (inventory rebuilt by the tool,
  re-attributed by inventory diff); release-tag-gate on emulated merge
  trees; no tag published.
- Section 7: every gate CI runs, at 6300772 and at main 9a272c6, in the
  same clone kind. Two non-zero rows explained: release-tag-gate on the bare
  branch tip (CI judges the merge tree, which passes) and verify-commit on
  main (seven members main moved since contract-v4.0, which the cut
  closes). doc-health: the branch drops main's seven release-inventory
  drift findings and adds none.
- Section 8: tests/factory-mcp 108 passed, 300 subtests; the full suite
  1 failed / 9546 passed vs main 1 failed / 9526 passed, the same
  environmental failure and the same 7 skips, the +20 all factory-mcp;
  doc-health-py314's command under Python 3.14, equal on both sides.
- Section 9: the out-of-tree engineering check by --snapshot only, with
  the expected hosted_auth_missing and auth_rs256_missing signals; no
  codex bytes, paths or names in this tree.
- Section 10: git diff --check, the closing-keyword scan and the
  public-repository scan, all clean.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
…mbership

PR-1 landed as 9a272c6 at 2026-10-09T18:07:37Z, so `035-phase1-foundation`
is gone and this branch now takes main. No conflict: everything #1284
carries was already merged here at 8f83b10.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
PR-1 (#1284) landed in main as 9a272c6 at 2026-10-09T18:07:37Z and is
merged here (96e8843), which is when this phase's boxes may be ticked.
T033's follow-up is #1282. T034's PR-2 opens ready on the lane's word,
not as a draft, after its gates run.

Lane: codexfactory-2 (codeXfactory-2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 9, 2026
Main moved past PR-1 (#1284): #1290, group 6, consumes openXwallet at
xwallet-v1.0 under its nested openWallet chain, which moves the
`openXwallet` gitlink. No conflict; nothing in it touches this family.

Lane: codexfactory-2 (codeXfactory-2)
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.

1 participant