You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,10 +32,34 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
32
32
- All three tools follow the DevSkim pattern: detect if installed, run if available, graceful degradation if not
33
33
- Pre-screen now has 5 layers: built-in regex (PS-001–010) → DevSkim → Ruff → Bandit → PSScriptAnalyzer
34
34
35
+
#### Crash-Resilient Batch Validation
36
+
-**Progressive manifest**: `batch-manifest.json` updates atomically after each file completes (not just at the end). Tracks `completed_files`, `failed_files`, `status` (running/completed/interrupted)
37
+
-**Resume**: `quorum run --resume <batch-dir>` reads manifest, skips completed files, re-validates crashed entries, only pays for remaining work
38
+
-**Graceful shutdown**: SIGTERM/SIGINT handler saves all in-flight work with `status='interrupted'` before exiting
39
+
-**Progressive report**: `batch-report.md` grows as files complete instead of one big write at the end
40
+
41
+
#### Cost Tracking and Estimation (Milestone #16)
42
+
-**Per-call tracking**: CostTracker records prompt/completion tokens and USD cost for every LLM call via `litellm.completion_cost()`
43
+
-**Budget cap**: `--max-cost $10` stops gracefully when cumulative cost exceeds threshold — saves all work collected so far
44
+
-**Pre-run estimate**: prints "Estimated cost: $X.XX (Y critic calls across Z files). Proceed? [Y/n]" — auto-skips under $0.50 or with `--yes`
45
+
-**Cost report**: CLI output shows per-file cost breakdown; `run-manifest.json` includes full cost summary
46
+
- Hardcoded rates for Claude, GPT, Gemini, Mistral families; graceful fallback for unknown models
0 commit comments