Workbench Goal Mode
Use this skill when an issue contains /goal, GOAL_MODE: yes, asks for full
autonomous completion, or asks an agent to keep working until a concrete outcome
is achieved.
Goal Mode is an execution wrapper, not a permission override. It keeps the
objective alive across turns, reruns, local fixes, and partial evidence, while
preserving existing approval, safety, and review gates.
Activation
Before changing files or live resources, post a compact lock:
GOAL_LOCK:
objective:
owner:
non_goals:
closeout_gates:
operator_call_conditions:
objective is the user-visible outcome, not a task list.
owner is one assigned agent or human owner.
non_goals prevents the agent from expanding into adjacent work.
closeout_gates names the evidence required before claiming done.
operator_call_conditions names the few cases where human input is needed.
Execution Rules
- Build a checklist from the locked goal, then execute it.
- Do not stop after a local fix if the broader goal remains unverified.
- When a command, build, test, or smoke fails, investigate and repair before
asking for help.
- Treat repeated identical failures as a mechanism problem: change the probe or
report the exact blocker instead of retrying the same action.
- Use fresh reruns when context is stale, repo state changed, auth changed, or
the previous run was bound to the wrong repo/resource.
- Preserve issue-level scope, approval gates, secrets boundaries, and runtime
ownership.
/goal does not permit destructive cleanup, force pushes, hidden
live mutations, broad repo reads, or credential handling.
Required Closeout Gates
For code, ops, or workflow-changing tasks, address every relevant gate before
claiming completion:
build: documented build or closest real startup/build smoke.
test: targeted tests plus the smallest meaningful regression check.
help_smoke: CLI help, startup, UI load, or endpoint smoke when command/user
surfaces changed.
docs_report: docs, changelog, handoff, or explicit "not needed" rationale.
git_status: clean state or intentionally explained dirty state.
evidence: exact commands, files, links, screenshots, issue IDs, run IDs, or
artifact paths.
If a gate does not apply, say why. A skipped gate without rationale is FLAG.
Operator Call Conditions
Call the operator only for true external blockers:
- missing credentials or approval that cannot be inferred from the issue;
- unavailable third-party service or remote host;
- destructive or irreversible operation approval;
- repo/resource access failure that cannot be fixed inside the assigned context;
- requirement conflict where continuing would change the user's goal.
The blocker report must include attempted fixes, exact evidence, and the smallest
operator action needed.
Closeout Contract
Use this scaffold:
GOAL_LOCK:
WHAT_CHANGED:
VERIFICATION:
DOCS_REPORT:
GIT_STATUS:
RESIDUAL_RISK:
OPERATOR_NEEDED: yes/no
VERDICT: PASS | FLAG | BLOCK
PASS means the locked objective is achieved and every relevant closeout gate
has evidence. FLAG means useful progress remains reviewable but a gate or risk
is unresolved. BLOCK means the objective cannot be safely completed without an
operator or upstream fix.
1---2name: workbench-goal-mode3description: Goal-persistence execution wrapper for autonomous work that must continue across turns until the stated objective is actually satisfied.4---56# Workbench Goal Mode78Use this skill when an issue contains `/goal`, `GOAL_MODE: yes`, asks for full9autonomous completion, or asks an agent to keep working until a concrete outcome10is achieved.1112Goal Mode is an execution wrapper, not a permission override. It keeps the13objective alive across turns, reruns, local fixes, and partial evidence, while14preserving existing approval, safety, and review gates.1516## Activation1718Before changing files or live resources, post a compact lock:1920```text21GOAL_LOCK:22objective:23owner:24non_goals:25closeout_gates:26operator_call_conditions:27```2829- `objective` is the user-visible outcome, not a task list.30- `owner` is one assigned agent or human owner.31- `non_goals` prevents the agent from expanding into adjacent work.32- `closeout_gates` names the evidence required before claiming done.33- `operator_call_conditions` names the few cases where human input is needed.3435## Execution Rules36371. Build a checklist from the locked goal, then execute it.382. Do not stop after a local fix if the broader goal remains unverified.393. When a command, build, test, or smoke fails, investigate and repair before40 asking for help.414. Treat repeated identical failures as a mechanism problem: change the probe or42 report the exact blocker instead of retrying the same action.435. Use fresh reruns when context is stale, repo state changed, auth changed, or44 the previous run was bound to the wrong repo/resource.456. Preserve issue-level scope, approval gates, secrets boundaries, and runtime46 ownership. `/goal` does not permit destructive cleanup, force pushes, hidden47 live mutations, broad repo reads, or credential handling.4849## Required Closeout Gates5051For code, ops, or workflow-changing tasks, address every relevant gate before52claiming completion:5354- `build`: documented build or closest real startup/build smoke.55- `test`: targeted tests plus the smallest meaningful regression check.56- `help_smoke`: CLI help, startup, UI load, or endpoint smoke when command/user57 surfaces changed.58- `docs_report`: docs, changelog, handoff, or explicit "not needed" rationale.59- `git_status`: clean state or intentionally explained dirty state.60- `evidence`: exact commands, files, links, screenshots, issue IDs, run IDs, or61 artifact paths.6263If a gate does not apply, say why. A skipped gate without rationale is `FLAG`.6465## Operator Call Conditions6667Call the operator only for true external blockers:6869- missing credentials or approval that cannot be inferred from the issue;70- unavailable third-party service or remote host;71- destructive or irreversible operation approval;72- repo/resource access failure that cannot be fixed inside the assigned context;73- requirement conflict where continuing would change the user's goal.7475The blocker report must include attempted fixes, exact evidence, and the smallest76operator action needed.7778## Closeout Contract7980Use this scaffold:8182```text83GOAL_LOCK:84WHAT_CHANGED:85VERIFICATION:86DOCS_REPORT:87GIT_STATUS:88RESIDUAL_RISK:89OPERATOR_NEEDED: yes/no90VERDICT: PASS | FLAG | BLOCK91```9293`PASS` means the locked objective is achieved and every relevant closeout gate94has evidence. `FLAG` means useful progress remains reviewable but a gate or risk95is unresolved. `BLOCK` means the objective cannot be safely completed without an96operator or upstream fix.