spectra init | Bootstrap a new project | Creates .spectra/bin/, .spectra/cli/ for the Node fallback, .spectra/sdd/, .spectra/docs/spectra/, .spectra/docs/<project-name>/, .spectra/config.yaml and .spectra/install.json. Local mode updates Git’s shared info/exclude file |
spectra adopt | Add Spectra to an existing codebase | Installs the same layer as init. Additionally writes .spectra/cache/index/repo-index.json, .spectra/sdd/memory-bank/discovery/*.md, the technical module map and .spectra/sdd/adoption/{current-state.summary,gap-analysis,review-queue}.yaml |
spectra onboard | Capture project intent from your answers | Interactive runs write .spectra/sdd/memory-bank/core/projectbrief.md |
spectra context | Load focused context before planning, implementation or review | Creates or refreshes .spectra/cache/context/*.summary.json. Spectra does not edit canonical source documents |
spectra task | Record intent before implementation | Overwrites .spectra/sdd/memory-bank/core/implementation-brief.md with the supplied item, goal and template sections |
spectra route | Select relevant technical modules and business domains | Does not write project files |
spectra knowledge | Record durable business rules and manage their lifecycle | Updates .spectra/sdd/memory-bank/business/INDEX.md and domain rules.md / unresolved.md |
spectra index | Refresh evidence after bootstrap or manifest changes | Default mode writes .spectra/cache/index/repo-index.json |
spectra inspect | Show what a rule, requirement, module or test target relates to, and why it is verified or not. Or show what changed files impact | Does not write project files. May rebuild the disposable Knowledge Map cache |
spectra check | Validate the Spectra layer after changes | Does not write persistent project files. Validation smoke checks use temporary directories |
spectra verify | Assess release readiness before handoff | Refreshes .spectra/sdd/governance/approval-state.yaml and intake approval status. Runs release evals and overwrites each selected feature’s evals/reports/latest.json and latest.md |
spectra status | Resume work and see recent changes | Recomputes .spectra/sdd/governance/approval-state.yaml and syncs approval status in .spectra/sdd/memory-bank/core/intake-state.md |
spectra update | Update application software | Updates a verified managed native installation. Other provenances receive package-manager or installation guidance. Spectra does not read or write project files |
spectra migrate | Migrate one project's layout or schema | --check is read-only. An explicit migration changes only the selected project and validates it |
spectra uninstall | Remove the managed native application | Removes verified machine-owned versions and command. Never accesses project files |
spectra doctor | Inspect local tools, runtime and adapter health | Without --fix: does not write project files |
spectra approve | Advance the staged approval lifecycle | Updates .spectra/sdd/governance/approval-state.yaml with stage/baseline/timestamp and syncs .spectra/sdd/memory-bank/core/intake-state.md. Release approval also writes eval reports |
spectra eval | Evaluate feature contracts or configured application behavior | Overwrites .spectra/sdd/features/<feature>/evals/reports/latest.json and latest.md |
spectra diff | Understand specification changes and approval impact | init and update initialize/append .spectra/sdd/memory-bank/core/spec-diff.md by default |
spectra quick | Run a focused docs/rules/spec/ops validation lane | Does not write persistent project files. Validation uses temporary smoke projects |
spectra skills | Resolve skill execution order for a task | Does not write project files |
spectra adapters | Generate instructions for the AI tools you use | Writes required root/tool files in the target: AGENTS.md, CLAUDE.md, .github/copilot-instructions.md, .cursor/rules/, .windsurf/rules/ or .agent/rules/ |
spectra version | Confirm the installed executable version | Does not write project files |
spectra help | Discover commands and their options | Does not write project files |