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

Function issueFirePrompt

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

Source from the content-addressed store, hash-verified

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. */
127export function issueFirePrompt(issue: IssueRecord): string {
128 const what = issue.what?.trim()
129 if (what) return what
130 const body = issue.body.trim()
131 return body ? `${issue.title}\n\n${body}` : issue.title
132}
133
134/**
135 * Read + validate every issue in a workspace's `.alice/issues/` directory from

Callers 3

scanWorkspaceMethod · 0.85
snapshotScheduledIssueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected