(status: IssueStatus)
| 59 | * separate `enabled` flag; mark the issue done/canceled to stop it. */ |
| 60 | const TERMINAL_STATUSES: ReadonlySet<IssueStatus> = new Set<IssueStatus>(['done', 'canceled']) |
| 61 | export function isTerminalStatus(status: IssueStatus): boolean { |
| 62 | return TERMINAL_STATUSES.has(status) |
| 63 | } |
| 64 | |
| 65 | /** `when` — the shared Schedule shape (at / every / cron). Present iff scheduled. |
| 66 | * Exported so the agent-facing `issue_create` tool reuses the exact same shape |
no test coverage detected