- Use
$ac-memoryto validate the active task state structure before execution. - Verify
PLAN_FROZEN=trueandExecution Contractcompleteness. - Set
CURRENT_ROLE: executorand keepWORKFLOW_STATUS: active. - Change only files listed in
Files to change. - Follow
Stepsexactly:
- code tasks run the declared
gradlew/ device checks - docs / skills / templates tasks run the declared consistency checks
5.5. Execute one declared step at a time whenever practical; do not silently batch multiple unfinished steps and call them done together.
5.6. After each material step, record the new result in
验收证据(Evidence)or explicitly note why the planned evidence is still pending.
- When the task changes shared workflow assets, update the coupled documents together so terminology and routing stay in sync.
- Record results in
验收证据(Evidence)and update Top 3 completion. - If the route is
single + reviewerorplanner -> executor -> reviewer, hand off to$ac-review, which returns control to$ac-workflowafter a pass. - If the route is pure
single, return control to$ac-workflowfor summary closeout (CURRENT_ROLE: single,WORKFLOW_STATUS: completed).
Unfreeze fallback (mandatory):
- Stop execution immediately when new design, scope, or file impact appears.
- Append a decision log entry with date, decision, and impact.
- Set
PLAN_FROZEN: false,CURRENT_ROLE: planner, andWORKFLOW_STATUS: active. - Return to
$ac-planfor a new Contract.
Hard rules:
- Do not add design alternatives during execution.
- Do not edit files outside the Contract scope.
- Do not claim checks ran if they did not.
- Do not mark a step complete before its result is reflected in
Evidenceor explicitly carried as pending verification. - Do not skip declared checks just because the remaining diff looks small or nearly finished.