refactor(wait): type the wait command target with the contracts DaemonWaitTarget

TH
4h ago
+8-21

Summary

WaitCommandOptions.target in command-runtime repeated the daemon surface's DaemonWaitTarget union line for line, and Fallow reported the copy as clone group dup:52af5926. This PR types the target with the contracts DaemonWaitTarget and moves the fuller replay-landmark (recordedLandmark) doc comment onto the contracts type. Types only, no behavior change.

  • Files touched: 2 (selector-wait.ts, daemon-command-surface.ts).
  • Split out of #4611 at review; that PR no longer needs it.

Validation

  • Tested at 9847e0702e.
  • pnpm gate fallow: no issues in the 2 changed files; duplication metric 0 (was 1).
  • Typecheck passes. Layering guard OK.
  • Wait unit tests: 8 files, 73 tests pass.
  • CI owns the full lanes.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.