Skip to content

fix(contracts): regenerate contracts.nt, ONT-5 witness and README count after #6999 - #7008

Merged
noahgift merged 1 commit into
mainfrom
fix/regen-contract-artifacts-7007
Nov 13, 2026
Merged

noahgift merged 1 commit into
mainfrom
fix/regen-contract-artifacts-7007

Conversation

@noahgift

Copy link
Copy Markdown
Member

Cause

main @ 9280c86 is red on gate, workspace-test (shards 1, 3) and x86-main (CI run 43406390239). One cause: #6977, #6998 and #6999 added contracts back to back, and the generated contract artifacts were not regenerated.

Evidence from that run:

  • aprender-contracts-cli::repo_tree_pv the_tracked_repo_graph_is_fresh (tests/repo_tree_pv.rs:192): "contracts/contracts.nt differs from a fresh extraction".
  • aprender-contracts-cli::ont5_consistency_gate the_spec_probe_holds_on_the_repo_corpus (:111) and the_full_run_computes_the_gate_unarmed (:200): Unknown(WitnessStale); the witness recorded census c19a3d92….
  • x86-main guard-cargo#m27 README claims must match measurement rc=1, guard-cargo#m30 contracts gate rc=1.

Change (generated files only, no source)

File Writer Delta
contracts/contracts.nt bash scripts/contracts_gate.sh regen (pv extract contracts) +16 triples: present-frame-loop-v1, present-video-element-v1
contracts/witness/811c7818…d850.json bash scripts/contracts_gate.sh consistency (pv-sat contracts) census_id_set_sha256 c19a3d92… → 3da1b200…
README.md bash scripts/readme_sync.sh --write CONTRACT_COUNT 2029 → 2032 (2 blocks)

pv and pv-sat were built from this tree by scripts/pv_bin.sh (not a PATH or fleet pv).

Measured

On host framework16, in localhost:5000/sovereign-ci:stable (uid 1000; fleet jq 1.8.2 mounted read-only, because the image has no jq), on a commit whose tree is identical to this PR's head (tree 67839250):

Command rc
cargo nextest run -p aprender-contracts-cli --test repo_tree_pv --test ont5_consistency_gate 0 (12/12 passed)
bash scripts/check_readme_claims.sh --self-test (m27) 0 (11/11 rows)
bash scripts/check_readme_claims.sh (m27) 0
bash scripts/contracts_gate.sh --self-test (m30) 0
bash scripts/contracts_gate.sh (m30) 0 (8 of 8 steps, 0 failed)
cargo fmt --all -- --check 0
cargo test -p aprender-contracts --lib 0 (2377 passed)
cargo deny check advisories 0

The m27 rows run in a throwaway container that first installed python3 python3-yaml (CI runs m27 on the host, where both exist). Without them, rows 001 and 003 fail with python3: command not found / No module named 'yaml': that is the environment, not the README. Nothing else in workspace-test shards 1 and 3 was re-run.

ont-delta: none regeneration of existing generated artifacts only; no type, shape or reason added

Closes #7007

🤖 Generated with Claude Code

…nt after #6999 (Closes #7007)

main @ 9280c86 was red on gate, workspace-test and x86-main because the
generated contract artifacts were not regenerated after #6977, #6998 and
#6999 added contracts back to back:

- contracts/contracts.nt: + present-frame-loop-v1, present-video-element-v1
  (`pv extract contracts`, via `scripts/contracts_gate.sh regen`)
- contracts/witness/811c7818...d850.json: census_id_set_sha256 moves to the
  current corpus (`pv-sat contracts`, via `scripts/contracts_gate.sh consistency`)
- README.md: CONTRACT_COUNT blocks 2029 -> 2032 (`scripts/readme_sync.sh --write`)

All three were written by the pv/pv-sat built from this tree. No source change.

Pmat-Ticket: PMAT-7007

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noahgift noahgift added this to the 0.74.0 milestone Nov 13, 2026
@noahgift noahgift added the fix-set GHC-001 cap-exempt fix label Nov 13, 2026
@noahgift
noahgift enabled auto-merge (squash) November 13, 2026 12:46
@github-actions

Copy link
Copy Markdown

§13.11 rung 1 — quorum shadow verdict

S13-SHADOW pr=7008 head=47f24b5b1e572820c48e86890865e0182dbf5e66 verdict=REFUSE class=Q1 arm_rc=1

Shadow mode: this records a verdict and merges nothing. A refusal
to arm is not a block (§13 adds zero rows to §7) — the pull request is
exactly as green as it was.

@noahgift
noahgift merged commit 9970964 into main Nov 13, 2026
19 checks passed
@noahgift
noahgift deleted the fix/regen-contract-artifacts-7007 branch November 13, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix-set GHC-001 cap-exempt fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main red at 9280c861a: contract count, ONT-5 witness and contracts.nt not regenerated after #6977/#6998/#6999

1 participant