Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli holds embeddable Kong commands for the bones binary.
|
Package cli holds embeddable Kong commands for the bones binary. |
|
schemas
Package schemas defines the typed payload structs for every `--json`-emitting bones CLI verb (ADR 0053).
|
Package schemas defines the typed payload structs for every `--json`-emitting bones CLI verb (ADR 0053). |
|
uxprint
Package uxprint is the single source of truth for one-line success signatures emitted by bones state-mutating CLI verbs.
|
Package uxprint is the single source of truth for one-line success signatures emitted by bones state-mutating CLI verbs. |
|
cmd
|
|
|
bones
command
help-all wires `bones --help --all` (and `bones <verb> --help --all`) so that operators can discover every subcommand's full flag set in one pass.
|
help-all wires `bones --help --all` (and `bones <verb> --help --all`) so that operators can discover every subcommand's full flag set in one pass. |
|
bones-schemagen
command
Command bones-schemagen reflects the typed payload structs in cli/schemas and emits one JSON Schema file per verb under the configured output directory (default: schemas/ at the repo root).
|
Command bones-schemagen reflects the typed payload structs in cli/schemas and emits one JSON Schema file per verb under the configured output directory (default: schemas/ at the repo root). |
|
examples
|
|
|
herd-hub-leaf
command
Package herdhubleaf is a thundering-herd trial harness for the hub-and-leaf architecture (ADR 0023).
|
Package herdhubleaf is a thundering-herd trial harness for the hub-and-leaf architecture (ADR 0023). |
|
hub-leaf-e2e
Package hubleafe2e is an E2E sanity harness for the hub-leaf architecture (ADR 0023).
|
Package hubleafe2e is an E2E sanity harness for the hub-leaf architecture (ADR 0023). |
|
internal
|
|
|
assert
Package assert provides runtime invariant checks for coord internals.
|
Package assert provides runtime invariant checks for coord internals. |
|
chat
Package chat is the substrate layer that backs coord's Post, Ask, and Subscribe on top of NATS JetStream.
|
Package chat is the substrate layer that backs coord's Post, Ask, and Subscribe on top of NATS JetStream. |
|
clauderhooks
Package clauderhooks defines the Claude Code hook protocol envelope bones uses when emitting context for hook events.
|
Package clauderhooks defines the Claude Code hook protocol envelope bones uses when emitting context for hook events. |
|
coord
Package coord is the single public entry point for bones.
|
Package coord is the single public entry point for bones. |
|
githook
Package githook installs and removes the bones pre-commit hook in the host repository's .git/hooks directory.
|
Package githook installs and removes the bones pre-commit hook in the host repository's .git/hooks directory. |
|
holds
Package holds is the substrate layer that stores file-level holds in a NATS JetStream KV bucket.
|
Package holds is the substrate layer that stores file-level holds in a NATS JetStream KV bucket. |
|
hub
Hub log entry contract per #322.
|
Hub log entry contract per #322. |
|
jskv
Package jskv holds JetStream KV primitives shared across the CAS-backed substrate packages (internal/holds, internal/tasks, and any future Phase 4 consumer — presence, subscriber registry).
|
Package jskv holds JetStream KV primitives shared across the CAS-backed substrate packages (internal/holds, internal/tasks, and any future Phase 4 consumer — presence, subscriber registry). |
|
logwriter
Package logwriter provides atomic NDJSON event writing with optional size-based rotation for workspace logs and no rotation for per-slot logs.
|
Package logwriter provides atomic NDJSON event writing with optional size-based rotation for workspace logs and no rotation for per-slot logs. |
|
presence
Package presence is the substrate layer that backs coord.Who.
|
Package presence is the substrate layer that backs coord.Who. |
|
scaffoldver
Package scaffoldver tracks which bones binary version scaffolded the current workspace's .bones/ and .claude/skills trees.
|
Package scaffoldver tracks which bones binary version scaffolded the current workspace's .bones/ and .claude/skills trees. |
|
slotgc
Package slotgc detects and removes per-slot directories under .bones/swarm/<slot>/ whose leaf process is no longer alive.
|
Package slotgc detects and removes per-slot directories under .bones/swarm/<slot>/ whose leaf process is no longer alive. |
|
swarm
Package swarm holds the per-slot session record schema and the JetStream-KV-backed Manager that bones swarm verbs use to track active swarm sessions in a workspace.
|
Package swarm holds the per-slot session record schema and the JetStream-KV-backed Manager that bones swarm verbs use to track active swarm sessions in a workspace. |
|
tasks
Package tasks is the substrate layer that stores task records in a NATS JetStream KV bucket.
|
Package tasks is the substrate layer that stores task records in a NATS JetStream KV bucket. |
|
telemetry
Package telemetry is the single seam between bones command code and any OpenTelemetry tracer.
|
Package telemetry is the single seam between bones command code and any OpenTelemetry tracer. |
|
testutil/natstest
Package natstest provides an embedded NATS server fixture for tests.
|
Package natstest provides an embedded NATS server fixture for tests. |
|
timefmt
Package timefmt is the single source of truth for how bones renders time values across every surface.
|
Package timefmt is the single source of truth for how bones renders time values across every surface. |
|
version
Package version exposes the running binary's semver to other packages without dragging in a dependency on cmd/bones.
|
Package version exposes the running binary's semver to other packages without dragging in a dependency on cmd/bones. |
|
workspace
Package workspace manages a bones workspace: the .bones/ directory, its on-disk config, and the associated leaf daemon process.
|
Package workspace manages a bones workspace: the .bones/ directory, its on-disk config, and the associated leaf daemon process. |
|
wspath
Package wspath defines the typed coordination key for a workspace file.
|
Package wspath defines the typed coordination key for a workspace file. |
Click to show internal directories.
Click to hide internal directories.