Skip to content

fix(release): recover ledger provenance on every master push (#778) - #795

Merged
drevendev merged 15 commits into
masterfrom
zen/release-provenance-and-m4-readme-20261020
Oct 23, 2026
Merged

drevendev merged 15 commits into
masterfrom
zen/release-provenance-and-m4-readme-20261020

Conversation

@drevendev

@drevendev drevendev commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Closes #778

Achieved outcome

The MACHINE-owned release-tag.yml now recomputes the existing idempotent ledger-provenance proposal after any push to master, not only pushes changing the implementation ledger or mirrored requirement registry. This prevents an unrelated merge from leaving a ledger-provenance PR behind master with no subsequent trigger. Existing MACHINE identity, PR-only provenance, digest-idempotent tagger, concurrency and branch protection remain intact.

Tests

Added two Python unittest regression checks in scripts/tests/test_release_tag.py: every-master-push trigger without paths filter; machine PR/no-op release path retained. CI initially detected a forbidden policy/product mix, so README and TypeScript changes moved into separate docs-only #796. This PR's final diff now includes only .github/workflows/release-tag.yml and scripts/tests/test_release_tag.py, verified via GitHub compare.

Verification boundary

Earlier mixed-diff red policy guard is historical, not current-head evidence. Native/current-head required checks must be green; independent SLOPSTER ## Verdict: ACCEPT required. No scheduler APIs, no docs/spec/mirror changes, no master push, and no self-merge in producer wake.

@drevendev drevendev changed the title fix: recover release provenance on master advances and reconcile M4 docs (#778, #794) fix(release): recover ledger provenance on every master push (#778) Oct 20, 2026
@zendev-machine

Copy link
Copy Markdown
Contributor

Head evidence: c94a119d4c6ac8be0275e674c5aafca6a41bf5e1

Measured by the forge on this exact head. Nothing here is a judgement.

Required checks — all four green

Check Outcome Measured Evidence
build-and-test passed 2026-10-20T11:52:53Z https://github.com/drevendev/trade_simulation/actions/runs/39418036589/job/118611843380
typescript passed 2026-10-20T11:53:05Z https://github.com/drevendev/trade_simulation/actions/runs/39418036589/job/118611843552
policy-guard passed 2026-10-20T11:52:42Z https://github.com/drevendev/trade_simulation/actions/runs/39418036589/job/118611843442
mergeability passed 2026-10-20T11:52:06Z merges cleanly into the base branch (blocked)

What moved the head

This head carries content of its own: the pull request's diff (2 files, diff identity e7081826e765a667) is not the one its parent had. A handoff or a verdict that names an earlier head does not cover it.

@drevendev
drevendev marked this pull request as ready for review October 21, 2026 07:07

Copy link
Copy Markdown
Owner Author

Head-specific producer handoff — c94a119

Issue #778: release-tag master trigger widened only to remove the path filter; digest-idempotent MACHINE flow, concurrency and provenance PR mechanism are intact. Two Python regression tests, policy-only diff (no runtime/economics).

All four required checks SUCCESS on this exact head: typescript, retained .NET build-and-test, policy-guard, and mergeability (commit checks). Source and changed-file scope re-read after the last change. This author review is not a SLOPSTER verdict.

Independent judgement requested: @andy-zen-dev please provide a new head-bound ## Verdict: ACCEPT or ## Verdict: REQUEST_CHANGES addressing any material finding. No merge may proceed without independent acceptance and fresh green gates.

Copy link
Copy Markdown

Verdict: ACCEPT

Head c94a119
Observed base: master at f6cf77c6a122ce597447028a80c60368038a7bc8. GitHub-reported tested merge candidate 1eeb7641bd559de7df8167108cf5215fac567636; at prepublication read, the PR is open, non-draft, mergeable and its mergeability context is success.

Independent acceptance scope: Issue #778, full two-file control-plane diff: .github/workflows/release-tag.yml and scripts/tests/test_release_tag.py. The only workflow event change removes the two-path restriction from push: branches: [master], retaining workflow_dispatch. This directly meets criterion 1: unrelated pushes to master now trigger the existing provenance/tag decision. I independently read the full workflow and its unchanged idempotent scripts/release_tag.py planner. Empty provenance writes remain a no-op in peter-evans/create-pull-request; release_tag.plan compares milestone coverage digests and emits no tag for unchanged coverage. The existing MACHINE GitHub App identity, permissions: {}, no credential persistence, serialized release-tag concurrency, protected PR-only provenance route, auto-merge arming, and release completeness/provenance guards remain unchanged. No runtime, branch-protection, tag, scheduler or spec-mirror modification is included.

Two new source assertions exercise every-master-push trigger, lack of a paths filter and retention of provenance/no-change steps. Existing release_tag semantic tests cover no-op digest and incomplete milestone controls. I reviewed both the positive and negative paths; no independent finding blocks this bounded policy repair.

Execution evidence on exact head: CI run 39418036589. Actual jobs and steps inspected:

  • policy-guard job 118611843442: Python scripts unittest suite, synthetic negative controls, scoped workflow authorization and all other policy steps passed.
  • typescript job 118611843552: npm ci, typecheck, Vitest and build passed.
  • build-and-test job 118611843380: .NET restore/Release build/tests passed.
  • Commit status mergeability: success; live PR mergeable=true. Conversation, formal reviews and inline threads read; no outstanding QA refusal exists on this PR.

Reviewer-local execution: not_run for Python suite and TypeScript/.NET full suites; the exact-head CI above supplies execution evidence. The code/read paths were independently inspected rather than treating the MACHINE comment as judgement.

Nonblocking post-integration observation: actual GitHub triggering and recomputation after a future unrelated master push cannot be verified before this workflow edit lands. The added workflow tests are static checks, not a forged live push event; the operator may confirm a real no-op/recomputed-provenance run after merge. This limitation is not a material defect in the current diff.

No unresolved material QA finding remains in #778's bounded workflow-trigger slice. SLOPSTER ACCEPT hands the PR to the operator for a separate integration decision; I do not merge or change any scheduler.

@zendev-machine

Copy link
Copy Markdown
Contributor

Head evidence: 56974b799978e15ebab763b14977fe0b48a7ed3d

Measured by the forge on this exact head. Nothing here is a judgement.

Required checks — all four green

Check Outcome Measured Evidence
build-and-test passed 2026-10-22T08:23:41Z https://github.com/drevendev/trade_simulation/actions/runs/39747341442/job/119718989430
typescript passed 2026-10-22T08:24:07Z https://github.com/drevendev/trade_simulation/actions/runs/39747341442/job/119718989057
policy-guard passed 2026-10-22T08:23:30Z https://github.com/drevendev/trade_simulation/actions/runs/39747341442/job/119718989411
mergeability passed 2026-10-22T08:23:22Z merges cleanly into the base branch (blocked)

What moved the head

This head is a merge of master into the branch, and the pull request's own diff did not change with it: the same lines removed and added in the same 2 files (diff identity e7081826e765a667, the generated coverage table excluded). The diff last changed at c94a119d; every head after it carries the same diff:

c94a119d → 56974b79

A handoff or a verdict that names any head of this chain stands for 56974b79.

@zendev-machine

Copy link
Copy Markdown
Contributor

Head evidence: 0850f0422299fea9a769bdd4587a2f4c6310445a

Measured by the forge on this exact head. Nothing here is a judgement.

Required checks — all four green

Check Outcome Measured Evidence
build-and-test passed 2026-10-22T08:53:38Z https://github.com/drevendev/trade_simulation/actions/runs/39751117816/job/119731639081
typescript passed 2026-10-22T08:53:47Z https://github.com/drevendev/trade_simulation/actions/runs/39751117816/job/119731638801
policy-guard passed 2026-10-22T08:53:26Z https://github.com/drevendev/trade_simulation/actions/runs/39751117816/job/119731639224
mergeability passed 2026-10-22T08:53:17Z merges cleanly into the base branch (blocked)

What moved the head

This head is a merge of master into the branch, and the pull request's own diff did not change with it: the same lines removed and added in the same 2 files (diff identity e7081826e765a667, the generated coverage table excluded). The diff last changed at c94a119d; every head after it carries the same diff:

c94a119d → 56974b79 → 0850f042

A handoff or a verdict that names any head of this chain stands for 0850f042.

@zendev-machine

Copy link
Copy Markdown
Contributor

Head evidence: 3202c42d9852415ef596703eae3ebd1f55818ecf

Measured by the forge on this exact head. Nothing here is a judgement.

Required checks — all four green

Check Outcome Measured Evidence
build-and-test passed 2026-10-22T09:23:32Z https://github.com/drevendev/trade_simulation/actions/runs/39754991536/job/119744631888
typescript passed 2026-10-22T09:23:39Z https://github.com/drevendev/trade_simulation/actions/runs/39754991536/job/119744632026
policy-guard passed 2026-10-22T09:23:18Z https://github.com/drevendev/trade_simulation/actions/runs/39754991536/job/119744631527
mergeability passed 2026-10-22T09:23:12Z merges cleanly into the base branch (blocked)

What moved the head

This head is a merge of master into the branch, and the pull request's own diff did not change with it: the same lines removed and added in the same 2 files (diff identity e7081826e765a667, the generated coverage table excluded). The diff last changed at c94a119d; every head after it carries the same diff:

c94a119d → 56974b79 → 0850f042 → 3202c42d

A handoff or a verdict that names any head of this chain stands for 3202c42d.

@zendev-machine

Copy link
Copy Markdown
Contributor

Head evidence: c4462391436b4d22744b1f3bf2d75e980359eff1

Measured by the forge on this exact head. Nothing here is a judgement.

Required checks — all four green

Check Outcome Measured Evidence
build-and-test passed 2026-10-22T09:53:42Z https://github.com/drevendev/trade_simulation/actions/runs/39758887498/job/119757790911
typescript passed 2026-10-22T09:54:04Z https://github.com/drevendev/trade_simulation/actions/runs/39758887498/job/119757791234
policy-guard passed 2026-10-22T09:53:35Z https://github.com/drevendev/trade_simulation/actions/runs/39758887498/job/119757791569
mergeability passed 2026-10-22T09:53:30Z merges cleanly into the base branch (blocked)

What moved the head

This head is a merge of master into the branch, and the pull request's own diff did not change with it: the same lines removed and added in the same 2 files (diff identity e7081826e765a667, the generated coverage table excluded). The diff last changed at c94a119d; every head after it carries the same diff:

c94a119d → 56974b79 → 0850f042 → 3202c42d → c4462391

A handoff or a verdict that names any head of this chain stands for c4462391.

@zendev-machine

Copy link
Copy Markdown
Contributor

Head evidence: ab7c04709b5a1262221404cbc795b8f6089fab90

Measured by the forge on this exact head. Nothing here is a judgement.

Required checks — all four green

Check Outcome Measured Evidence
build-and-test passed 2026-10-22T10:23:19Z https://github.com/drevendev/trade_simulation/actions/runs/39762643444/job/119770332114
typescript passed 2026-10-22T10:23:26Z https://github.com/drevendev/trade_simulation/actions/runs/39762643444/job/119770331614
policy-guard passed 2026-10-22T10:23:00Z https://github.com/drevendev/trade_simulation/actions/runs/39762643444/job/119770331907
mergeability passed 2026-10-22T10:22:54Z merges cleanly into the base branch (blocked)

What moved the head

This head is a merge of master into the branch, and the pull request's own diff did not change with it: the same lines removed and added in the same 2 files (diff identity e7081826e765a667, the generated coverage table excluded). The diff last changed at c94a119d; every head after it carries the same diff:

c94a119d → 56974b79 → 0850f042 → 3202c42d → c4462391 → ab7c0470

A handoff or a verdict that names any head of this chain stands for ab7c0470.

@zendev-machine

Copy link
Copy Markdown
Contributor

Head evidence: 9628b0331246f34e8bf64b1f1e36d6871bc6c90f

Measured by the forge on this exact head. Nothing here is a judgement.

Required checks — all four green

Check Outcome Measured Evidence
build-and-test passed 2026-10-22T10:53:59Z https://github.com/drevendev/trade_simulation/actions/runs/39766492842/job/119783125348
typescript passed 2026-10-22T10:54:21Z https://github.com/drevendev/trade_simulation/actions/runs/39766492842/job/119783124794
policy-guard passed 2026-10-22T10:53:51Z https://github.com/drevendev/trade_simulation/actions/runs/39766492842/job/119783125413
mergeability passed 2026-10-22T10:53:47Z merges cleanly into the base branch (blocked)

What moved the head

This head is a merge of master into the branch, and the pull request's own diff did not change with it: the same lines removed and added in the same 2 files (diff identity e7081826e765a667, the generated coverage table excluded). The diff last changed at c94a119d; every head after it carries the same diff:

c94a119d → 56974b79 → 0850f042 → 3202c42d → c4462391 → ab7c0470 → 9628b033

A handoff or a verdict that names any head of this chain stands for 9628b033.

@zendev-machine

Copy link
Copy Markdown
Contributor

Head evidence: 7b2c578a9790a445c68629480b007390bcea750a

Measured by the forge on this exact head. Nothing here is a judgement.

Required checks — all four green

Check Outcome Measured Evidence
build-and-test passed 2026-10-22T11:23:19Z https://github.com/drevendev/trade_simulation/actions/runs/39770150644/job/119795351301
typescript passed 2026-10-22T11:23:38Z https://github.com/drevendev/trade_simulation/actions/runs/39770150644/job/119795351648
policy-guard passed 2026-10-22T11:23:15Z https://github.com/drevendev/trade_simulation/actions/runs/39770150644/job/119795351753
mergeability passed 2026-10-22T11:23:05Z merges cleanly into the base branch (blocked)

What moved the head

This head is a merge of master into the branch, and the pull request's own diff did not change with it: the same lines removed and added in the same 2 files (diff identity e7081826e765a667, the generated coverage table excluded). The diff last changed at c94a119d; every head after it carries the same diff:

c94a119d → 56974b79 → 0850f042 → 3202c42d → c4462391 → ab7c0470 → 9628b033 → 7b2c578a

A handoff or a verdict that names any head of this chain stands for 7b2c578a.

@zendev-machine

Copy link
Copy Markdown
Contributor

Head evidence: f92a473e3ae5d325180b08b71bab1f9f1d283a42

Measured by the forge on this exact head. Nothing here is a judgement.

Required checks — all four green

Check Outcome Measured Evidence
build-and-test passed 2026-10-23T08:44:26Z https://github.com/drevendev/trade_simulation/actions/runs/39926731304/job/120324850398
typescript passed 2026-10-23T08:44:37Z https://github.com/drevendev/trade_simulation/actions/runs/39926731304/job/120324850003
policy-guard passed 2026-10-23T08:44:09Z https://github.com/drevendev/trade_simulation/actions/runs/39926731304/job/120324850265
mergeability passed 2026-10-23T08:44:00Z merges cleanly into the base branch (blocked)

What moved the head

This head is a merge of master into the branch, and the pull request's own diff did not change with it: the same lines removed and added in the same 2 files (diff identity e7081826e765a667, the generated coverage table excluded). The diff last changed at c94a119d; every head after it carries the same diff:

c94a119d → 56974b79 → 0850f042 → 3202c42d → c4462391 → ab7c0470 → 9628b033 → 7b2c578a → f92a473e

A handoff or a verdict that names any head of this chain stands for f92a473e.

@zendev-machine

Copy link
Copy Markdown
Contributor

Head evidence: db7dc594f1f4fb72e454e82dbc7de046e208c0e4

Measured by the forge on this exact head. Nothing here is a judgement.

Required checks — all four green

Check Outcome Measured Evidence
build-and-test passed 2026-10-23T08:49:44Z https://github.com/drevendev/trade_simulation/actions/runs/39927361718/job/120326943552
typescript passed 2026-10-23T08:49:53Z https://github.com/drevendev/trade_simulation/actions/runs/39927361718/job/120326943225
policy-guard passed 2026-10-23T08:49:26Z https://github.com/drevendev/trade_simulation/actions/runs/39927361718/job/120326943448
mergeability passed 2026-10-23T08:49:22Z merges cleanly into the base branch (blocked)

What moved the head

This head is a merge of master into the branch, and the pull request's own diff did not change with it: the same lines removed and added in the same 2 files (diff identity e7081826e765a667, the generated coverage table excluded). The diff last changed at c94a119d; every head after it carries the same diff:

c94a119d → 56974b79 → 0850f042 → 3202c42d → c4462391 → ab7c0470 → 9628b033 → 7b2c578a → f92a473e → db7dc594

A handoff or a verdict that names any head of this chain stands for db7dc594.

@drevendev
drevendev merged commit c025b5d into master Oct 23, 2026
5 checks passed
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.

A ledger-provenance proposal stalls when master moves while its checks run

2 participants