code-to10 v6 A10: release gate single evaluator via wiring adapter

(cherry picked from commit 77ed1c3094798f75bc41323f9aa60f744f5ba507)
This commit is contained in:
host committed 2026-11-03 02:49:26 +00:00
1 parent 31edc5cda9
commit e7acc143db
3 files changed
+126 -117

No files matched your search

+8 -6
View File
@@ -1,10 +1,12 @@
"""Future release endpoint: contract tests for cloud/release_gate.
"""Release gate: contract tests for cloud/release_gate (adapter).
These tests pin the CONTRACT, not an endpoint: there is no live
release endpoint in this codebase (building one here would be
the "new live endpoint touching production" this track forbids),
so every test calls ``evaluate_release`` directly with a local
SQLite chain. Nothing here deploys, publishes, or touches a
These tests pin the CONTRACT, not the endpoint: the live
endpoint (``POST /tasks/{id}/release``) calls the wiring
evaluator directly, and every test here calls the
``release_gate`` adapter ``evaluate_release`` directly with a
local SQLite chain to prove the adapter translates the single
wiring implementation into the legacy shape without a second
evaluator. Nothing here deploys, publishes, or touches a
production flow; the chain lives in a TemporaryDirectory and is
deleted with the test.