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

Function blockGoalCommand

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

Source from the content-addressed store, hash-verified

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:
1496- Work on the next smallest useful step toward the goal.
1497- Prefer direct code changes, tests, typechecks, builds, and evidence over discussion.
1498- Do not claim the goal is complete unless the acceptance criteria are satisfied and verification evidence supports it.
1499- If verification commands are configured, do not call opencode_loop_goal_complete until the latest relevant checks have passed unless the user explicitly overrides the goal.
1500- Completion evidence must be concrete: mention commands, files, checks, results, or code inspection details.

Callers 2

addGoalFunction · 0.85
handleCommandFunction · 0.85

Calls 2

setGoalBlockedFunction · 0.85
toastFunction · 0.85

Tested by

no test coverage detected