KB-19EA
06 — No-Execute / Plan-Only Test
2 min read Revision 1
dot-agent-apino-execute-test2026-06-04
06 — No-Execute / Plan-Only Test (Workstream E)
All tests run live against the committed dispatcher.
Fail-closed battery (each in its own transaction)
| # | Call | Result |
|---|---|---|
| T1 | PLAN_ONLY, write=false, DOT_KG_EXPLAIN | validated=true, endpoint_present=false, true_dry_run_possible=false, blocker=agent_api_endpoint_missing, observation_written=false |
| T2 | DRY_RUN, no endpoint | REFUSED: "DRY_RUN requires a real no-mutation endpoint; endpoint_ref is NULL" |
| T3 | unknown dot_code | REFUSED: "no agent_api contract for DOT_DOES_NOT_EXIST" |
| T4 | empty correlation_id | REFUSED: "missing correlation_id" |
| T5 | REAL_RUN | REFUSED: "REAL_RUN not permitted by this dispatcher" |
Prepared-observation write test (idempotency + invariants)
- W1 producer PLAN_ONLY write=true → run
87989341-…. - W2 verifier VERIFY_ONLY write=true → run
d1be9e40-…. - W3 idempotent re-call of W1 → same UUID
87989341-…, 0 new rows.
Post-state proven:
births_before == births_after == 1,163,392(birth-free).- Dispatcher-sourced obs (
agent_api_dispatch_planonly): 2 runs + 2 components, all SIMULATED_DRY_RUN. - Pilot
usage_count/last_executed— still NULL (DOT never executed). process_run_observationevidence_type tally: SIMULATED_DRY_RUN=4, DRY_RUN=0, REAL_RUN=0.event_outboxrows for these correlations: 0.
Status
No-execute / plan-only path proven end-to-end. The dispatcher validates the contract, prepares a correlated observation, is idempotent, and cannot cross into DRY_RUN/REAL_RUN/verified.