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

Function isFireable

src/workspaces/issues/declaration.ts:121–123  ·  view source on GitHub ↗
(issue: IssueRecord)

Source from the content-addressed store, hash-verified

119
120/** Does an issue self-schedule AND is it still live (non-terminal)? */
121export function isFireable(issue: IssueRecord): issue is IssueRecord & { when: Schedule } {
122 return issue.when !== undefined && !isTerminalStatus(issue.status)
123}
124
125/** The prompt a scheduled fire hands to the headless run: explicit `what`, else
126 * title + body, else just the title. The launcher interprets none of it. */

Callers 2

scanWorkspaceMethod · 0.85

Calls 1

isTerminalStatusFunction · 0.85

Tested by

no test coverage detected