Skip to content

Migrator contracts, step 4 (D159, #2615): the contracts artifact under the integrity hash; a promotion names the proofs it moves - #2625

Merged
ehartford merged 2 commits into
mainfrom
migrator-contracts-4
Oct 25, 2026
Merged

ehartford merged 2 commits into
mainfrom
migrator-contracts-4

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

D159 step 4 (#2615): the contracts artifact is under the corpus integrity hash, and a promotion prints the proofs it moves.

  • contracts.tsv joins the stamped modules hash and the integrity target's inputs: a hand edit fails <corpus>-integrity as an edited module does (verified by hand: an appended line is refused, the restored file passes). STC re-stamped under the rule; corpora promoted before the artifact existed hash as before.
  • The promote prints the contract lines added and removed against the previous promotion, beside the D112 trigger; the drift report prints the same diff through one helper. The gate is the promotion itself (a deliberate act with a stated trigger, its artifact diff in the PR); the drift report never gates (a migrator change alone never re-promotes a corpus).
  • Plan status names the two follow-up briefs the ruling left open: a &self receiver for the read-only surface, and an owned parameter stored into a record.

Battery: seed-driven, posted below when green.

Eric Hartford added 2 commits October 25, 2026 03:10
…what promotion wrote, and a promotion names the proofs it moves

The contracts artifact joins the stamped modules hash and the integrity target's inputs: a hand edit of contracts.tsv fails the corpus integrity check as an edited module does (verified: an appended line is refused, the restored file passes). The promote prints the contract lines it adds and removes against the previous promotion, beside the trigger, so the reviewer of the promotion reads which proofs moved; the drift report prints the same diff through one helper. STC re-stamped under the rule.
@ehartford

Copy link
Copy Markdown
Contributor Author

Battery green on bf9fab2, seed-driven under nightly-20261025-local-1-c88f3eeff0bc (tools/battery.w: gate, uat, battery-checks).

@ehartford
ehartford marked this pull request as ready for review October 25, 2026 07:20
@ehartford
ehartford merged commit 25ac6ac into main Oct 25, 2026
@ehartford
ehartford deleted the migrator-contracts-4 branch October 25, 2026 07:20
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