feat(agent): report skipped and canceled script outcomes
Send startup-script outcomes to coderd and the Build Timeline, completing
the agent-side support for #30875.
- Report one zero-duration timing for scripts skipped or canceled before
starting. Interrupted startup scripts report `canceled` instead of
`exit_failure`, including on templates without ordering.
- Add cancellation logs for ordered scripts waiting on dependencies or
running. Completed outcomes, timeouts, exit codes, and stop/cron
reporting remain unchanged.
- Give reports an independent timeout and make `Runner.Close` wait for
in-flight executions so shutdown does not discard cancellation timings.
Synchronize cron startup with `Close` to prevent shutdown hangs.
- Dial Agent API v2.15; agents now require coderd supporting that version.
Tests cover skips, cancellation, duplicate prevention, and shutdown races.
Race-detector tests and all 14 manual scenarios passed.
Refs https://linear.app/codercom/issue/PLAT-550/phase-3-expose-skipped-and-canceled-script-outcomes