Skip to content

estate_journey: L2 credit needs a committed case; bounded, strict, loud PR window (Closes #8475) - #8936

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8475-20261121T1958Z
Nov 21, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8475-20261121T1958Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #8475

What changed (all in tests/tools/estate_journey.py)

  1. l2-from-prs credits a program only if a committed tests/equivalence/*/case.json names it at the PR's merge commit (case_programs_at); uncredited names are reported on stderr.
  2. fetch_prs refuses a query that fills the 200 cap and turns a failing gh into a refusal, not a traceback.
  3. New --until bounds the window (search merged:A..B and trial_prs).
  4. --since/--until go through parse_utc: strict UTC ISO, a space separator, offset or date-only is refused.
  5. New --evidence-l2 N refuses to write when it differs from the last series value; without it the recorder prints a reminder.
  6. Smaller: singular "1 draw remains" recognised; a differing second --l2-note refused; missing estate4_candidates.json refuses; add-draw validates the date format and whole/accounted <= basis.

Class / Sibling gaps

Class: the estate_journey recorders accept or credit data they never verify (title-only credit, unbounded or loose time window, silent truncation, unchecked numbers). Every mechanism-sharing member is handled and tested, whole input class for timestamps (valid forms and each refused form). Sibling gap: Blind 1's l2_series first point is an unlabelled Eastern time mixed with UTC times; that is data in journey.json (hand-kept), not fixed here and no burned-estate program needs it. The evidence report's L2+ is not read automatically (it lives on the generated branch); --evidence-l2 is the opt-in check.

Gates: pr_gates --fast 9/9 pass; audit_check.py clear; tests/tools/test_estate_journey.py 30 pass, plus the tree-wide guards run. Skill doc line updated for the new flags.

🤖 Generated with Claude Code

… the PR window, refuse silent truncation (Closes #8475)

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 Nov 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 21, 2026 20:20
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 21, 2026 20:49
@squid-shepherd
squid-shepherd Bot merged commit b6fd699 into main Nov 21, 2026
67 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8475-20261121T1958Z branch November 21, 2026 21:37
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

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.

estate_journey l2-from-prs: review follow-ups from #8406 (title-only credit, silent truncation, --since format)

1 participant