Cause: Goal mode is not enabled or update_goal is not in the toolset.
Fix:
- Confirm you are on Grok Build CLI with goal feature enabled.
- Check session tools include
update_goal. - Fallback: use GOAL-only discipline with
GOAL.md+ verifier skill.
Cause: Self-grading (anti-pattern #1).
Fix:
/goal pauseimmediately.- Add
goal-verifierskill:npx @cobusgreyling/goal-init . --pattern minimal-goal --tool grok - Add to
AGENTS.md: "Nevercompleted: truewithout verifier PASS." - Re-run goal from last known good state.
Cause: Objective only lived in chat, not GOAL.md.
Fix:
/goal clear- Write objective + done conditions to
GOAL.md /goal Read GOAL.md. Continue the Active Objective.
Common caps:
- No test harness → add
npm test/pytest/go test goal-run-log.mdmissing recent outcome → log last goal run with date and outcome- No CI → add
.github/workflows(even a test workflow)
Run: npx @cobusgreyling/goal-audit . --suggest
Fix:
/goal pause- Check
goal-budget.md— was max turns set? - Run
goal-scoper— objective may be a mega-goal (anti-patterns) - Split into sequential goals
Check:
- Are done conditions objective? ("code is clean" fails; "npm test exits 0" passes)
- Did implementer check boxes without evidence?
- Pattern-specific verifier rules (import scan, coverage %) — see patterns/
Cause: Package not published or typo.
Fix: Use individual packages or clone repo:
npx @cobusgreyling/goal-init@latest .
# or unified:
npx @cobusgreyling/goal init .| Situation | Use |
|---|---|
| Finish one bounded task | /goal |
| Daily triage / discovery | /loop |
| Loop found a fixable item | Hand off to /goal |
See goal-vs-loop.md and stack-cookbook.md.
- uses: cobusgreyling/goal-engineering/.github/actions/goal-audit@main
with:
path: .
min-level: G2Or: npx @cobusgreyling/goal-audit . --json --min-level G2