Skip to content
Apothem
Command pipeline

/code-review

/code-review — Operator-driven per-file code-quality review pass across src/, scripts/, and tools/.

Role: Reviewer Pipeline position: fortress

Operator-driven per-file code-quality review pass across src/, scripts/, and tools/.

Canonical invocation

/code-review

With arguments:

/code-review [path/to/repo/] [--focus FILE_OR_DIR] [--dry-run]

Inputs

Host repository at any lifecycle state

Outputs

Per-file findings at _inputs/code-review-findings.md

Downstream

The line-by-line review stage of the Audit Review Sequence

Workflow phases

The command runs five phases: input ingest, per-file walk, per-finding triage, findings emission, and the validation gate.

Failure modes

SymptomCauseRecovery
Quality gate FAILOutput does not meet standardsFix the output and re-run
Missing input fileRepository has none of src/, scripts/, or tools/Pass a repository root that contains at least one of them

Examples

# Dry-run to preview what would happen
/code-review --dry-run

# Execute against a repository root
/code-review path/to/repo/

Cross-references

On this page