Troubleshooting
Diagnose blocked work, failed commands, stale claims, and storage problems.
Start with the structured CLI output. Successful commands return data; failures include an error code and message. Do not infer a fix from a task title or from an old status report: inspect the current project and node first.
A task is blocked or not ready
Run both views:
climier status --all
climier context publish-docsIn context, inspect blocking and allowed_actions. Common causes are:
- an incoming
BLOCKSedge points to an open gate or unfinished task; - the task is in
backlogand was intentionally held out of the ready pool; - another actor already claimed it (
in_progress); - it is
submittedand waiting for review; or - the graph contains an unknown dependency or a cycle.
Resolve the cause instead of changing a derived status. For an open gate, record the decision and rationale, then check the dependent task again:
climier resolve release-review \
--choice approved \
--rationale "The required review is complete." \
--as reviewer
climier context publish-docsA submitted task does not satisfy a dependency. The reviewer must accept it before downstream work can become ready.
Someone else owns the task
Use the global in-progress view and the task context to identify the active claim:
climier status --claimed-by alice
climier context publish-docsIf the owner is still working, choose another task or coordinate a handoff. If the owner cannot continue, that actor or an authorized administrator can release the claim:
climier release publish-docs --as aliceA stale claim is an alert, not proof that the process is dead. Confirm with the actor before releasing it. When a task has been accepted, create a correction task rather than rewriting the accepted record.
A mutation encounters SQLite contention
Project mutations run in SQLite BEGIN IMMEDIATE transactions with
busy_timeout. If a mutation fails while another writer is active, let that
writer finish and retry. Inspect the project and running processes without
editing the database:
climier status
ps -ef | grep '[c]limier'The default storage home is ~/.climier when CLIMIER_HOME is unset. Preserve
state.sqlite and its backups; do not delete database files as a shortcut.
SQLite recovers uncommitted transactions after a process crash. If the state
remains unreadable, preserve the files and contact the maintainer.
State is not canonical
SQLite is the canonical runtime store. For a complete legacy schema-1 JSON
file, use the explicit climier state migrate --as <agent> --yes command;
climier state export emits schema-1 JSON. Migration preserves a verified
source backup. If migration reports an incomplete or non-canonical state, stop
all writers and preserve the project files and backups. Do not edit the state
or use init --force; it resets data rather than repairing it. Restore a
verified canonical backup or contact the maintainer. See Older or incomplete
state for recovery guidance.
The audit trail does not show expected work
Read the node history and then the project log:
climier history publish-docs --limit 20
climier log --node publish-docs --limit 20If a command failed, its state change and audit entry should not be treated as committed. Re-run a read command to establish the current revision before attempting a mutation. For an update made from an older read, use --if-revision so a concurrent change is rejected rather than overwritten.
Remote connection failures
For a remote project, first distinguish authentication, configuration, and transport failures. Run a read-only command, inspect the reported error code, and verify the configured origin before changing data:
climier login --server https://climier.example.test
climier statusCommon boundaries include an invalid login, an outdated remote configuration, a failed request, an unsupported operation, or another server already using the configured state home. Do not fall back to a local project or force a transfer when the destination is uncertain. Use the remote server runbook for preflight, backup, and transfer recovery.
Check the basics
When a diagnosis is unclear, collect a small, reproducible report without including secrets:
climier --version
climier status --all
climier context publish-docsInclude the command, error code, project revision, and relevant node state in the report. Never include passwords, bearer tokens, private environment files, or the contents of the live state when a summary is sufficient.

