Local-first CLI that audits C# files and related file sets against markdown rule packs via Ollama. Streams the critique live and writes timestamped markdown reports.
This is an AI-assisted semantic reviewer, not a Roslyn/static analyzer: the model reads source text against your rule packs.
- Single-file and multi-path
sniffagainst local markdown rule packs (.mdc); batch mode viaWorkstationStorage/Targets/ - Opt-in stack packs via
--stack(e.g.UnityunderRules/Stacks/Unity/); default packs stay stack-agnostic sniff-systemfor two or more related files (optional--manifest) usingRules/Architecture/and one combined report- Local Ollama only — source stays on your machine
- Streaming console output with Spectre Status until first token; timestamped reports under
WorkstationStorage/Reports/ - Pass/fail from the report
Status:line (exit0/1); tool/wiring failures exit2and skip report persistence;Scoreis informational only - Layered Core / Cli with interfaces for rule loading and AI orchestration
- xUnit tests (fakes; no Ollama in CI) and Ubuntu GitHub Actions
Program.cs (composition root: HttpClient + config)
-> MarkdownRuleRepository / OllamaAiOrchestrator
-> AuditEngine
-> CliAuditHost (batch + sniff + sniff-system)
Details: docs/architecture.md
- C# / .NET 10
- Ollama local HTTP API
- Spectre.Console (Status + streaming)
- xUnit
- Markdown rule packs (
.mdc)
