Install
truecourse command on your PATH. Prefer not to install globally? Run any command one-off with npx truecourse <command> instead. See Installation for prerequisites.
The very first
truecourse command you run asks once how TrueCourse should reach the LLM (your existing Claude Code login, recommended and key-free, or a provider API with your own key) and saves the answer. Deterministic analysis works with neither. See LLM transport.Analyze your code
1
Run the analysis
.truecourse/ in your repo and stores results there as plain JSON.2
See what it found
3
Open the dashboard
4
Commit the baseline
truecourse analyze --diff shows only what your in-flight changes introduce, and the optional pre-commit hook can block new violations. See Baselines & diff.Guard your specs
The spec → guard track turns your docs into executable checks. It needs an LLM forspec scan, guard setup, and guard generate (not for guard run), and a git repository, because baselines are commit-anchored.
1
Curate your docs into a corpus
2
Review flagged conflicts
truecourse spec conflicts resolve: pick a side or dismiss. See Resolving conflicts.3
Prepare the repo
4
Author scenario tests
5
Run the scenarios
Next steps
What analyze catches
The 8 rule categories, deterministic vs LLM rules, and language support.
How guard works
The four-stage pipeline: spec consolidation → setup → scenario generation → deterministic runs.
Git hooks
Block commits that introduce new violations.
LLM transport
Claude Code, a provider API, or an agent mailbox.