| name | beads-state |
| description | Git-friendly, crash-recoverable state persistence for the Gastown orchestration chipset. Manages agent identities, work items, hooks, convoys, and merge requests as JSON files with atomic write operations. |
| type | skill |
| category | state |
| status | stable |
| origin | tibsfox |
| modified | false |
| first_seen | "2026-03-06T00:00:00.000Z" |
| first_path | .claude/skills/beads-state/SKILL.md |
| superseded_by | null |
Beads State Persistence
Filesystem-backed state management for multi-agent orchestration. All state is stored as individual JSON files using atomic write operations. No database dependencies.
State Entities
Agent Identity
Path: .chipset/state/agents/{id}.json
Persistent record of an agent in the topology. Contains role, rig assignment, hook pointer, lifecycle status, and optional ephemeral session ID.
interface AgentIdentity {
id: string;
role: AgentRole;
rig: string;
hookId: string;
status: AgentStatus;
sessionId?: string;
}
Work Item
Path: .chipset/state/work/{bead-id}.json
A unit of work flowing through the dispatch pipeline. Created by the mayor, assigned via hooks, tracked through lifecycle.
interface WorkItem {
beadId: string;
title: string;
description: string;
status: WorkStatus;
assignee?: string;
: ;
: | | ;
}