truecourse 0.6.8 → 0.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  </p>
8
8
 
9
9
  <p align="center">
10
- <em>1,200+ deterministic rules, 100 LLM rules. JavaScript, TypeScript, Python.</em>
10
+ <em>1,500+ deterministic rules, 100 LLM rules. JavaScript, TypeScript, Python, C#.</em>
11
11
  </p>
12
12
 
13
13
  <p align="center">
@@ -28,12 +28,24 @@ Both store their results under `.truecourse/` and surface them in a shared [dash
28
28
  <img src="assets/demo.gif" alt="TrueCourse Screenshot" width="100%" />
29
29
  </p>
30
30
 
31
- Jump to: **[1. Analyze](#1-analyze--code-intelligence)** · **[2. Spec → Verify](#2-spec--verify--business-logic-drift)** · **[Dashboard](#dashboard-web-ui)**
31
+ Jump to: **[Install](#install)** · **[1. Analyze](#1-analyze--code-intelligence)** · **[2. Spec → Verify](#2-spec--verify--business-logic-drift)** · **[Dashboard](#dashboard-web-ui)**
32
32
 
33
33
  No setup step and no database: TrueCourse creates `.truecourse/` in your repo on first use and stores everything there as plain JSON files. It uses the [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) for LLM-powered work — if `claude` isn't on your PATH, deterministic analysis still runs and LLM-dependent features are skipped.
34
34
 
35
35
  ---
36
36
 
37
+ # Install
38
+
39
+ ```bash
40
+ npm install -g truecourse
41
+ ```
42
+
43
+ This puts the `truecourse` command on your PATH — every example below uses it. Prefer not to install globally? Run any command one-off with `npx truecourse <command>` instead.
44
+
45
+ See [Prerequisites](#prerequisites) for Node, Claude Code, and C# requirements.
46
+
47
+ ---
48
+
37
49
  # 1. Analyze — code intelligence
38
50
 
39
51
  Static + LLM analysis of your code: architecture, security, bugs, performance, and more.
@@ -42,8 +54,8 @@ Static + LLM analysis of your code: architecture, security, bugs, performance, a
42
54
 
43
55
  ```bash
44
56
  cd <your-repo>
45
- npx truecourse analyze # Runs the full analysis in-process
46
- npx truecourse list # Show the violations it found
57
+ truecourse analyze # Runs the full analysis in-process
58
+ truecourse list # Show the violations it found
47
59
  ```
48
60
 
49
61
  The first analyze creates `.truecourse/` and stores results as plain JSON. View them visually with [`truecourse dashboard`](#dashboard-web-ui).
@@ -315,15 +327,18 @@ The first `truecourse analyze` (or `truecourse add`) in a fresh repo asks whethe
315
327
  |---|---|
316
328
  | JavaScript / TypeScript | Supported |
317
329
  | Python | Supported |
318
- | C# | Planned |
330
+ | C# | Supported * |
319
331
  | Go | Planned |
320
332
  | Rust | Planned |
321
333
  | PHP | Planned |
322
334
 
335
+ \* Analyzing C# requires the .NET 8 SDK — its **semantic** rules run in a Roslyn host (build-required; analysis fails fast without it). See [Prerequisites](#prerequisites).
336
+
323
337
  ## Prerequisites
324
338
 
325
339
  - Node.js >= 20
326
340
  - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI on your PATH — optional. The default `cli` transport spawns it for LLM-powered work; deterministic rules and the `agent` transport (below) don't need it.
341
+ - [.NET 8 SDK](https://dotnet.microsoft.com/download) — **required to analyze C#** (not needed for other languages). C#'s semantic rules run in a Roslyn host you build once (`dotnet build -c Release tools/csharp-roslyn-host`, or point `TRUECOURSE_ROSLYN_HOST` at a prebuilt binary). Analyzing a repo that contains C# without the host **fails fast** with a build-the-host message — there is deliberately no tree-sitter-only fallback, since a silent half-analysis is worse than a clear error.
327
342
 
328
343
  ## LLM transport (`--llm-transport`)
329
344