MCPcopy Create free account
hub / github.com/ByBrawe/opencode-loop / completeGoalCommand

Function completeGoalCommand

src/index.js:1489–1492  ·  view source on GitHub ↗
(directory, client, sessionID, args)

Source from the content-addressed store, hash-verified

1487 if (text.trim())
1488 sections.push(`Context from ${file}:
1489${text.trim().slice(0, 20000)}`);
1490 }
1491 return `${GOAL_PROMPT_PREFIX}.
1492
1493You are pursuing an experimental persistent goal for this OpenCode session. This is not a timer loop and not a one-shot prompt. Keep working toward the goal until it is completed, blocked, paused, cleared, or stopped by safety limits.
1494
1495Rules:

Callers 2

addGoalFunction · 0.85
handleCommandFunction · 0.85

Calls 2

setGoalCompleteFunction · 0.85
toastFunction · 0.85

Tested by

no test coverage detected