Skip to content

eval: persist single-use paired smoke reservations before dispatch - #592

Merged
HouMinXi merged 2 commits into
mainfrom
eval/574-one-shot-smoke-runner
Nov 26, 2026
Merged

HouMinXi merged 2 commits into
mainfrom
eval/574-one-shot-smoke-runner

Conversation

@HouMinXi

@HouMinXi HouMinXi commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Refs #574 PR3. Builds on #591, now merged into main.

  • Preflight all pinned wire bodies before an injected sender can receive any request.
  • Create a durable, exclusive per-run journal in a trusted local POSIX directory. Sync each reservation before invoking the sender. A lost reply or process interruption leaves an unknown attempt; another process with the same run ID cannot send again.
  • Keep known failures and unfinished slots separate. The journal holds hashes and statuses, not prompts, credentials or responses.

Two offline runs passed 160 tests each. New controls cover timeout, actual process loss, contention, pre-send sync failure, last-slot drift and known sender failure. Ruff and staged diff checks passed.

No live transport or live entry point. Provider routing, billing, usage capture and separate live authorization are still required. No model calls or production changes.

Follow-up: sync terminal results before publishing them in memory, and refuse non-Boolean sender outcomes before writing a terminal event. The new sync-failure test failed on the earlier version. Two complete offline runs now pass 163 tests each.

@HouMinXi
HouMinXi changed the base branch from eval/574-paired-smoke-attempt-plan to main November 26, 2026 17:29
@HouMinXi
HouMinXi marked this pull request as ready for review November 26, 2026 17:51
@HouMinXi
HouMinXi merged commit 8c848d7 into main Nov 26, 2026
13 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.

1 participant