Skip to Content

Synopsis

aigon storage sync aigon storage status aigon storage doctor [--fix] aigon storage report [--json] aigon storage convert --backend=git-branch [--remote=origin] [--branch=aigon-state] [--keep-refs] [--dry-run]

Description

Manages SpecStore storage for feature and research workflow state. Local storage is the default. Git-branch storage is opt-in and stores canonical lifecycle state as a file tree on a dedicated branch (default: aigon-state).

Spec markdown and code changes still use normal Git. Storage commands do not commit or merge working-tree files.

Subcommands

SubcommandDescription
syncFetch, merge and dedupe state events, rebuild local projections, and push the configured state branch
statusShow backend, remote, branch, offline state, last sync, ahead/behind, and health
doctorDiagnose state-branch reachability, duplicate event IDs, projection drift, and lease health
doctor --fixApply safe projection repairs and refresh the stable lifecycle view
reportShow a cross-repo storage and active-lease report
report --jsonPrint the report as JSON
convertValidate remote access, write git-branch config, import local or legacy git-ref events, and sync
convert --dry-runShow planned config and import candidates without writing config or remote state

Examples

# Convert the current repository to git-branch storage aigon storage convert --backend=git-branch --remote=origin # Use a differently named state branch aigon storage convert --backend=git-branch --remote=origin --branch=workflow-state # Check whether this clone is ahead, behind, degraded, or healthy aigon storage status # Pull and push canonical lifecycle state aigon storage sync # Diagnose storage and lease issues aigon storage doctor # Inspect active leases across registered repositories aigon storage report

git-ref is no longer supported. If a project still has that backend configured, run aigon storage convert --backend=git-branch --remote=origin; add --keep-refs if the legacy refs must remain available temporarily.

See Storage Backends for configuration, multi-clone behavior, leases, offline mode, and stable spec layout.

Last updated on