mirror of
https://github.com/dtzp555-max/memory-continuity.git
synced 2026-07-21 21:15:07 +00:00
3.2 KiB
3.2 KiB
name, description
| name | description |
|---|---|
| agent-workflow | Run a minimal JIRA-like workflow for OpenClaw agents so tasks do not silently disappear between main and execution agents. Use when main is planning, dispatching, supervising, reviewing, or reporting delegated work and needs simple task states, evidence gates, timeout rules, launch-failure detection, and worker→main / main→user reporting discipline. |
Agent Workflow
Use this skill to keep delegated work visible and mechanically supervised.
This skill exists because tasks can appear to be "in progress" when they are not:
sessions_spawn acceptedbut the worker never really launches- workers go silent without a first response
- ETA slips without a milestone
- main reports progress upward without enough evidence
- blocked work looks like waiting instead of failure
Keep the workflow small.
Task states
Use these states only:
planneddispatchingin_progressblockedreviewingdone
State meaning
planned: task exists and has been defineddispatching: main has initiated delegation, but does not yet have enough evidence that the worker truly launchedin_progress: worker/session has visible execution evidenceblocked: task cannot safely proceed right now (including launch failure, stalled worker, model failure, auth/tool issues)reviewing: deliverable exists and main is validating itdone: main has accepted the result and updated the user
Evidence rule
Do not upgrade a task state without an evidence point.
Good evidence points include:
- non-empty worker session history
- worker accepted / milestone reply
- commit
- branch
- PR
- release
- runtime log
Important:
sessions_spawn acceptedalone is not enough to claim real progress.
Timeout rules
- If a worker has no first visible response/evidence within 10 minutes after dispatch, mark the task
blockedwith reasonlaunch failure. - If a worker has an ETA and passes that ETA without a milestone, mark the task
blockedwith reasonstalled. - Silence is not neutral; unexplained silence is a process failure signal.
Worker → main protocol
Execution agents report to main, not directly to the user.
Workers must report at:
- accepted
- blocked
- milestone
- done
- model/environment abnormal
Preferred worker reply format:
statussummaryevidencerisknext
Main → user protocol
Main must update the user at:
- task formally started
- worker truly in progress (not merely spawn-accepted)
- blocked
- milestone reached
- task/phase completed
Preferred user update format:
- who
- status
- output
- next
Ordering rule
When a worker reports milestone/completion/blocker:
- update task state / CURRENT_STATE if relevant
- update the user
- continue with review, commit, or next dispatch
If there is no evidence point yet, do not claim the work has already started; say it is about to start.
Blocked reasons
Prefer a short blocked reason label:
launch failurestalledmodelauthtoolpath/reposcopepolicy/reviewexternal
References
- For minimal state-machine examples: read
references/state-machine.md - For reporting templates: read
references/reporting.md