Companion: local workflow continuity
Keep a plan, phase state, source pointers and verification outcomes beside your repository.
Explicit local setup
The default hosted-only profile does not install Companion. Select --profile hosted-companion during setup, or use repair --with-companion for an existing setup. Inspect the generated changes before use.
npx create-snipara@latest init --client cursor --profile hosted-companionResume saved work
A new coding session can continue from the saved plan and phase state when it can access the project folder, .snipara state and referenced artifacts. Hosted context and memory need the project connection. A checkpoint does not restore a running process or prove that a check ran.
snipara-companion workflow resume --include-session-context --jsonQuiet hooks
Installed hook templates request only the local Stuck Guard hint, not automatic retrieval. Three identical failed or empty search actions within two minutes trigger a short hint to change approach. Successful calls do not count; the same cause then stays quiet for thirty minutes or until success.
Short receipts, detailed files
Workflow operations print a compact status, phase and next action with state and detail paths. Full payloads stay under .snipara/workflow/. Use --detail to inspect them; --json keeps standard output structured.
Phase memories and outcomes
Phase and final commits send short summaries with source pointers and session identity. Served memory IDs are recorded per phase. A completed phase confirms memories only when a verified validation receipt is available; failed delivery stays queued locally. Phase commits require ADMIN API access.
Read the exact sources and outcome contract.
Staged-only commit guards
The pre-commit collaboration guard reads staged paths when no explicit file list is given. It does not claim every dirty file as part of that commit. Hook Git paths are resolved against the original workspace so linked worktrees and alternate indexes retain the intended scope.
Explicit decision requests
workflow decisions lists pending questions and workflow decide records the reviewer receipt. memory reviews --emit-decisions can turn hosted memory review candidates into local decision requests. Routine status and handoffs do not count as durable decisions.
Efficiency and availability
Efficiency checks count total input, including cached input, for local Codex transcripts. FULL or orchestrated phase commits stop on measured excess. Missing transcript coverage is reported; Claude Code and external-provider sessions are not measured through that path.
Multi-agent work
For larger tasks, snipara-companion lead-plan records the task, context, proof gates and acceptance criteria, and workflow run --mode orchestrate gives each phase one owner. team-sync shows who is working on what, and workers routes work to the local models you run. Companion now includes everything Snipara Orchestrator used to provide.
The behavior described here is that of the current release; run snipara-companion --version to check yours. CLI reference.
Last updated: September 24, 2026