Overview
confirm_ready is Enagrams’ test gate. Before you declare your change-set complete, it computes the affected test set from the symbol graph — tests that transitively depend on the symbols you touched — and asks you to run them. On pass the gate writes a sync_log receipt that the auto-sync watcher uses to fan the commit out to other machines.
Two phases:
- First call, no
test_results — gate returns the affected test files + test names. Run them locally.
- Second call with
test_results[] — gate evaluates. On pass it records a sync_log receipt and (if completes_task_id was provided) marks the task done and cascade-unblocks its dependents. On fail it returns structured failures[] including flake status.
Parameters
workstream_slug is not strictly required but without it the gate cannot write a sync_log receipt, so the auto-sync watcher won’t fan the commit out to other machines.
Example — Phase 1 (discover affected tests)
Response:
Example — Phase 2 (submit results)
Response on pass includes sync_log_id — pass it to sync_commit to link the gate receipt to the git commit.
See test gate for the full model including flake handling.