Skip to main content

CodeGraph quick reference

Use this page to find the right entry point, then open that command's live --help or its dedicated guide. The source-checkout root CLI starts with python.

User Guides

Use this page to find the right entry point, then open that command’s live --help or its dedicated guide. The source-checkout root CLI starts with python -m src.cli.

Read-only orientation

python -m src.cli --help
python -m src.cli doctor --json
python -m src.cli projects list
python -m src.cli languages

Common CLI jobs

Common CLI jobs
Job Entry point
Import source python -m src.cli import --help
Inspect project python -m src.cli projects info <name>
Diagnose project scope python -m src.cli projects resolve-scope --help
Audit quality python -m src.cli audit --help
Review changes python -m src.cli review --help
Analyze impact python -m src.cli impact --help
Build an SBOM python -m src.cli sbom --help
Assess GOST processes python -m src.cli compliance --help
Inspect release gate python -m src.cli release --help

Operational command success is not governed product acceptance. Retain project/revision identity, input scope, output artifact, and warnings with every result.

OpenCode commands

OpenCode commands
Command Purpose
/onboard Bind repository and project context
/status Inspect session and context state
/audit Run the bounded audit workflow
/review Review a bounded change
/explain Explain code with project evidence
/continue Continue the explicit session
/next Select the next governed action
/update Refresh context according to its command contract

The current command source is .opencode/commands. A name missing from that directory is not a supported repository command.

Result checklist

  • Is the project and revision explicit?
  • Is CPG/context freshness current?
  • Does the result cite source locations?
  • Are degraded, partial, blocked, or fallback states visible?
  • Does a professional owner still need to approve the decision?

Sources and deeper guides