Surface: the kilo CLI, session status.
A session that is scheduled to wake later, and does nothing now, must report a distinct `scheduled` state. Today it reports `idle`, so a client cannot tell a sleeping session from a free one.
Requirements:
- Report the status with the exact type value `scheduled`.
- Report `scheduled` only when a wake is due in the future AND no turn runs now.
- Clear it the moment the session starts work, and when the wake is cancelled.
- Carry the wake time in the same status payload as an ISO-8601 string field named `scheduledAt`.
- Carry `scheduledAt` only with the `scheduled` type.
- The existing statuses (`idle`, `busy`, and the rest) must not change.
- The session list shows the state and the wake time.
The mobile app in the `cloud` repository reads this status on the same wire. A companion item renders `scheduled` and `scheduledAt`. Keep those two names exact.
Proof: quote the status payload the CLI emits for a scheduled session, the payload after the session wakes, and the session list line. Copy the same three lines into the pull request body.
The kilocode_change annotation CI check (introduced in #8531) only
recognized // style comments. TSX files require {/* */} syntax inside
JSX templates, causing false failures for any PR adding Kilo-specific
JSX in packages/opencode/ — specifically reported in #6966.
Covers:
- MARKER_PREFIX regex matching both // and {/* */} styles
- Updated all 5 regex locations (whole-file, block-start/end, inline, self-exclusion)
- JSX/TSX examples in error output and AGENTS.md
- Test suite in packages/script/tests/ (98 tests across 6 describe blocks)
Test results: 98 pass, 0 fail, 107 expect() calls