MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / isTerminalStatus

Function isTerminalStatus

src/workspaces/issues/declaration.ts:61–63  ·  view source on GitHub ↗
(status: IssueStatus)

Source from the content-addressed store, hash-verified

59 * separate `enabled` flag; mark the issue done/canceled to stop it. */
60const TERMINAL_STATUSES: ReadonlySet<IssueStatus> = new Set<IssueStatus>(['done', 'canceled'])
61export 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

Callers 3

isFireableFunction · 0.85
snapshotScheduledIssueFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected