Skip to content

Record oracle compile status per attempt in port_runner and trial.py (Closes #8325) - #8326

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8325-20261111T1904Z
Nov 11, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8325-20261111T1904Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #8325

What

Amendment 4 of the estate4 pre-registration (#8322) needs a per-program record of whether the oracle (cobc) compiled the reference, so an oracle failure is never booked as a port failure.

  • port_runner prove logs oracle on each proven / proof-failed event: compile-failed (report has cobol_compile_failed), compiled (report without it), unknown (no report).
  • trial.py carries oracle onto the attempt (key only when the event has it, so recorded attempts never change), validates it, adds an oracle column to the trial page and the programs table, and a compile-failed attempt gets no model cause (final reads proven@N(oracle), status "couldn't run").
  • dead_key_audit allowlist entry: the key is written by tests/tools/equivalence.py, outside gitgalaxy/.
  • Generated trial pages regenerated with trial.py report --write.

Class

Every per-program attempt record in both runs (port_runner events, trial ledger attempts) and the page/report that show them. Sibling gaps: see report.

File-cap exception: 5 hand-written files plus the two generated trial pages (trial.py report --write) that test_trials requires current.

Tests / gates

test_port_runner.py and test_trials.py pass; audit_check.py clean; ruff format --check clean. No parsing logic touched, no golden bless.

Lessons for agents

  • port_runner prove --command is .format()ted: a JSON literal with braces raises KeyError, so have the prover script write it.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits November 11, 2026 14:18
…loses #8325)

port_runner prove logs oracle = compiled | compile-failed | unknown on each proof event;
trial.py carries it onto the attempt, validates it, shows an oracle column, and never books
a compile-failed attempt as a model failure (Amendment 4 precondition).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 11, 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 11, 2026 19:22
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 11, 2026 19:23
@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 11, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit 84d2b9e into main Nov 11, 2026
104 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8325-20261111T1904Z branch November 11, 2026 21:03
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.

Record oracle compile status per program in trial attempts (Amendment 4 precondition)

1 participant