Skip to main content

Module board

Module board 

Source
Expand description

Peer board (spec §9): persisted, restart-surviving coordination in SQLite. Every operation is scoped by a run ID so concurrent runs never intersect. Verbs: register / status / peers / broadcast / send / read (auto-cursor per recipient), plus claim / release on paths — the pre-write gate consults claims to deny cross-agent edits. Embedded SQLite only (spec §10); schema is a versioned, append-friendly step.

Structs§

Board
Claim
An active path claim.
Message
One message delivered to a reader.
Peer
One agent’s registration row.

Enums§

BoardError

Functions§

glob_matches
Whether glob matches file; an invalid glob matches nothing. Public so CLI-side policy layers share one matching semantics with the board and waivers instead of growing a second glob dependency.