npx claudepluginhub cofin/flow --plugin flowflow_idSyncing Beads state to disk for flow: $ARGUMENTS
$ARGUMENTS is provided, use it as flow_id..agents/flows.md for active flows..agents/specs/{flow_id}/metadata.json.beads_epic_id.beads_epic_id, report error: "Flow has no linked Beads epic. Cannot sync."br show {beads_epic_id} --format json
Parse the JSON output. Map each task's Beads status to a markdown marker:
| Beads Status | Marker |
|---|---|
pending | [ ] |
in_progress | [~] |
completed | [x] |
blocked | [!] |
skipped | [-] |
.agents/specs/{flow_id}/spec.md.## Implementation Plan section (or ## Plan or task list section).- [ ] ..., - [x] ..., - [~] ..., - [!] ..., - [-] ...:
--reason containing a commit SHA, append it: [abc1234].spec.md back to disk.IMPORTANT: Only update the task status markers. Do NOT modify the specification sections (requirements, design, etc.).
Update .agents/specs/{flow_id}/metadata.json:
"synced_at": "{ISO timestamp}""updated_at": "{ISO timestamp}"Flow Sync Complete: {flow_id}
Tasks synced from Beads epic: {beads_epic_id}
Pending: {count}
In Progress: {count}
Completed: {count}
Blocked: {count}
Skipped: {count}
Updated: .agents/specs/{flow_id}/spec.md