Skip to content

fix(azure): prove fresh worker execution before submit - #293

Merged
ruby-dlee merged 1 commit into
mainfrom
codex/azure-initial-stub-proof
Aug 21, 2026
Merged

fix(azure): prove fresh worker execution before submit#293
ruby-dlee merged 1 commit into
mainfrom
codex/azure-initial-stub-proof

Conversation

@ruby-dlee

Copy link
Copy Markdown
Owner

Summary

  • admit an Azure Managed Run Command with omitted script bytes only when the exact untouched assignment and pending staging sentinels plus the failed preflight instance prove it has never submitted real work
  • atomically bind real updates with request-digest and idempotency-key tags so ambiguous replay cannot execute twice
  • require any differently bound prior execution to prove a digest-valid terminal result before reuse

Live evidence

A fresh azaccept worker on current main returned no source.script from Azure, while its private staging pair still held the exact unsubmitted sentinels and its preflight instance was Failed/-202. The controller retained the exact execute claim and no task ran.

Verification

  • focused worker lifecycle suite
  • full worker supervisor, placement, secondmate authority, outcome transport, and Azure pilot suites
  • sealed bridge-cutover Python wrapper: 224 tests passed, 2 environment-dependent skips
  • pinned lint: 251 scripts
  • Python compile, shell syntax, and diff checks

@ruby-dlee
ruby-dlee force-pushed the codex/azure-initial-stub-proof branch from 63f6372 to a54c29a Compare August 21, 2026 22:15
@ruby-dlee
ruby-dlee merged commit a3abdc4 into main Aug 21, 2026
13 checks passed
@ruby-dlee
ruby-dlee deleted the codex/azure-initial-stub-proof branch August 21, 2026 22:35
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