Skip to content

evidence-refresh: nightly lane renews stale det_mutation ledgers (Part of #5862) - #5916

Merged
squid-protocol merged 7 commits into
mainfrom
churn/5862-s2-detmut-lane
Oct 21, 2026
Merged

squid-protocol merged 7 commits into
mainfrom
churn/5862-s2-detmut-lane

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Slice 2 of 3 of #5862. Stacked on #5911 (base is its branch; retarget to main once #5911 merges). Part of #5862.

Needs owner

This PR edits .github/workflows/evidence-refresh.yml. The brief says the owner approved the workflow edit (allow_workflows) for this item, but the queue item did not carry the flag when the gate checked. The owner must confirm before merge.

What

  • evidence-refresh.yml: new det-mutation job (nightly/full lane, pinned sha) runs det_mutation.py refresh and uploads the renewed tests/equivalence/det_mutation/*.json. The refresh job puts them in place (JSON regular files only), the bot PR adds the path, and a failed job blocks auto-merge and fails the run.
  • det_mutation.py refresh: exit 2 when only a port moved (needs a person's run), 1 for a killed stated claim or error. The workflow warns on 2 and fails on 1, so one moved port does not block every other refreshed record nightly.
  • Tests: test_evidence_refresh_detmut_lane.py (workflow wiring), test_det_mutation.py (exit 2).

Class and siblings

Class: a det_mutation ledger stale on an input fingerprint with nothing refreshing it on a schedule. All burned-estate ledgers use the same refresh.
Sibling gaps: a moved port still needs a hand run (warning only). The lane is untested on real CI until the first nightly.

Checklist: done [c:1e7e698e]

Gates

pr_gates --fast 7/7, audit_check clear, det_mutation.py check ok, workflow tests (cache keys, timeouts, shard split, aperture blob) pass. No golden bless (no parsing logic). Not run: the workflow end to end (needs the oracle image and corpora).

Lessons for agents

  • The selfscan venv is /srv/storage_16tb/projects/gitgalaxy/venvs/selfscan: put its bin on PATH and set PYTHONPATH to the worktree.
  • A workflow test that scans step run text will miss artifact names, which live under with:.

🤖 Generated with Claude Code

squid-protocol and others added 6 commits October 21, 2026 16:21
… by re-running only the survivors (Part of #5862)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…d, claims for the old port's survivors dropped (Part of #5862)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…t of #5862)

New det-mutation job runs det_mutation.py refresh on the pinned commit; its ledgers
reach the bot PR (add-paths) and a failed job blocks auto-merge. refresh exits 2 when
only a port moved (workflow warns), 1 for a wrong claim or error (workflow fails).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 21, 2026
Base automatically changed from churn/5862-20261021T2018Z to main October 21, 2026 21:20
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 21, 2026 21:30
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5916 @ 9f439b9: 1 failed check(s)

== squid-protocol.gitgalaxy (action_required) -- dirty
https://github.com/squid-protocol/gitgalaxy/runs/119492754156
repro: git merge origin/main (then regenerate generated files with their tools; see the PR worker rules)
log tail:
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 21, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 21, 2026 21:36
…lane

# Conflicts:
#	tests/tools/det_mutation.py
#	tests/tools/test_det_mutation.py
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 21, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 3e96c57 into main Oct 21, 2026
33 checks passed
@squid-protocol
squid-protocol deleted the churn/5862-s2-detmut-lane branch October 21, 2026 22:09
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant