MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / buildRecipePrompt

Function buildRecipePrompt

src/schedule/recipes.ts:27–31  ·  view source on GitHub ↗
(recipe: string | undefined | null, goal: string)

Source from the content-addressed store, hash-verified

25 * headless run. Unknown/empty recipe ⇒ the goal is returned unchanged.
26 */
27export function buildRecipePrompt(recipe: string | undefined | null, goal: string): string {
28 if (recipe === 'verified-pr') return verifiedPrPrompt(goal);
29 if (recipe === 'maintain') return maintainPrompt(goal);
30 return goal;
31}
32
33const UNATTENDED_HEADER = [
34 'You are running UNATTENDED on a schedule — no human is watching this run. Follow this',

Callers 3

runOneFunction · 0.85

Calls 2

verifiedPrPromptFunction · 0.85
maintainPromptFunction · 0.85

Tested by

no test coverage detected