Story-3372 · callsign LAMBDA · deployment provenance

The code that passed CI must be the code AWS receives

A green test run and a successful deploy used to be two separate facts. A deploy workflow could check out a newer commit, or skip after its upstream failed, while the dashboard still looked harmless. The same-SHA gate turns them into one chain.

1 · TriggerKeep the workflow's existing automatic, path-push, or manual trigger.
2 · VerifyResolve one 40-character commit SHA and require its green receipts.
3 · BuildEvery checkout and package job reads only verified_sha.
4 · DeployAWS jobs cannot start without the same direct gate dependency.

Green path

Migration receipt is green where required → exact-SHA push CI is green → the reusable workflow emits verified_sha → checkout, package, publish, alias promotion and the workflow summary all carry that SHA.

Fail-closed path

A missing, malformed, cancelled, failed or 20-minute-pending receipt emits no SHA. Because every downstream job lists verify as a direct dependency, zero AWS credential or mutation step can start.

Why the API loop changed

Design20-minute calls27-workflow wave
Old: poll every 30 seconds41 per receipt40 receipts × 41 = 1,640 REST calls
New: poll every 120 seconds11 per receipt40 receipts × 11 = 440 REST calls
Final fleet27 CI + 13 polled migration receipts14 automatic callers carry a trusted migration receipt instead of polling it

Founder-authorized proof sequence

PhaseWorkflowsExit evidence
Proof App, Admin, Agent Rail, Context Backfill, Agent Results Consumer Fresh-main automatic/matrix, path-push and manual runs; planted red receipt reaches zero AWS steps.
Fleet Remaining 22 deploy workflows 27/27 inventory test, final live class proofs, and this walkthrough updated with run links.

This ordering is an explicit founder exception for proof, not a compatibility window: each workflow has exactly one deploy path, no Lambda code or runtime configuration is duplicated, and callsign LAMBDA owns Phase 2 immediately after the proof exits green.

Live proof log

ProofRunResult
Planted missing receipt 30792187200 The gate exhausted its bounded receipt lookup, named both missing receipts, emitted no SHA, and every test, credential and deploy step stayed skipped.
Automatic · App API 30792209150 Fresh-main migration receipt, same-SHA CI, package and staging deploy completed on 61ad6e09.
Automatic · Admin API 30792209159 Fresh-main automatic path completed on the same verified SHA.
Manual · Agent Results Consumer 30792171907 Manual dispatch resolved and deployed one exact SHA through the reusable gate.
Path push · Context Backfill 30797532572 The preserved path filter fired, the corrected live canary returned body.requeued, and tested/deployed SHA both equal 2ec12aba….
Matrix · ancestry failure 30792209173 The gate selected the exact SHA, then the whole-suite migration-head proofs refused a shallow checkout with no readable origin/main. All deploy jobs stayed skipped.
Matrix · Agent Rail 30797680218 The full-history test gate passed, then all three matrix Lambdas recorded tested/deployed SHA 3006da1c…. The advisory rail canary did not control the deploy verdict.

Fleet inventory · 27 of 27

ClassWorkflowGate
Automaticdeploy-admin-api.ymlReusable same-SHA gate
Automaticdeploy-agent-rail.ymlReusable same-SHA gate
Automaticdeploy-app-api.ymlReusable same-SHA gate
Automaticdeploy-billing-renewal.ymlReusable same-SHA gate
Automaticdeploy-deep-read-worker.ymlReusable same-SHA gate
Automaticdeploy-document-extraction-worker.ymlReusable same-SHA gate
Automaticdeploy-document-ingest-relay.ymlReusable same-SHA gate
Automaticdeploy-document-malware-consumer.ymlReusable same-SHA gate
Automaticdeploy-document-registration-consumer.ymlReusable same-SHA gate
Automaticdeploy-document-registration-relay.ymlReusable same-SHA gate
Automaticdeploy-download-open.ymlReusable same-SHA gate
Automaticdeploy-ingest-api.ymlReusable same-SHA gate
Automaticdeploy-whatsapp-consumer.ymlReusable same-SHA gate
Automaticdeploy-whatsapp-webhook.ymlReusable same-SHA gate
Path pushdeploy-context-backfill-worker.ymlReusable same-SHA gate
Path pushdeploy-context-embed-worker.ymlReusable same-SHA gate
Path pushdeploy-layer.ymlReusable same-SHA gate
Path pushdeploy-storage-allocation-worker.ymlReusable same-SHA gate
Manualdeploy-agent-results-consumer.ymlReusable same-SHA gate
Manualdeploy-agent-run-sweeper.ymlReusable same-SHA gate
Manualdeploy-channel-alert-digest.ymlReusable same-SHA gate
Manualdeploy-domain-event-relay.ymlReusable same-SHA gate
Manualdeploy-framer-trigger.ymlReusable same-SHA gate
Manualdeploy-indian-kanoon-egress.ymlReusable same-SHA gate
Manualdeploy-razorpay-egress.ymlReusable same-SHA gate
Manualdeploy-seat-health-canary.ymlReusable same-SHA gate
Manualdeploy-whatsapp-sender.ymlReusable same-SHA gate