docs(help): document wait readiness and restart exhaustion

Merged
TH
2mo ago
+20-21

Summary

agent-device help workflow and agent-device help manual-qa omit two retriable wait outcomes the runtime emits: wait_readiness_exhausted and wait_runner_restart_exhausted.

Document both in their shared failure contract, including details.readinessPhase. Tighten the existing descriptions to stay within the unchanged 9,100-byte workflow budget. Existing assertions follow the compact wording; no assertions or limits are removed.

3 files. Follow-up to the review on #3093, which merged before the correction was pushed. Runtime behavior is unchanged.

Validation

Tested commit 27c95ed67a3305b65c8cbcf317bf091794b945cc, based on current main 788f2d305:

  • pnpm build: passed.
  • pnpm check:affected --run: all runnable checks passed; 54 test files / 638 tests, plus formatting, lint, typecheck, layering/fallow and build checks.
  • Rendered workflow is 9,065 bytes; manual-qa is 4,290 bytes. Both include the two retriable reasons.

No live-device run is needed for help-only changes. Remote CI is pending; this is published for review, not claimed merge-ready.