79 / 108 · 03 Agentic Testing Architectures · The Dead Man's Switch Pattern← prev⊞ allnext →☰ Read as one page
10.7Key Takeaway
The Dead Man's Switch pattern ensures that agentic tests always terminate, even when the agent, harness, and test framework all fail to self-terminate. Implement it as layered timeouts (action, test, job, workflow) plus process cleanup in CI post-scripts. The CI timeout is the outermost safety net -- the one guarantee that your pipeline will not hang indefinitely.