diff --git a/docs/index.html b/docs/index.html index d4c33ce..ecb485d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,213 +3,326 @@
-Evaluate before you build. Score before you ship. Catch regressions before they ship for you — from one binary, backed by one SQLite database.
- -Janus captures every coding session automatically, proves every change through 9 quality gates, and reports honest adoption metrics — from one Rust binary, backed by one SQLite database. No commands to remember.
+ +Why Janus
-A harness that governs how a change reaches merge, and an eval harness that proves your skills still behave — sharing a single queryable database.
-Pre-flight, acceptance criteria, recall, matrix, evidence, review, push permission, Jira tier, reconciliation — scaled by risk lane.
run · baseline · diff · status · promote · trend · accept · apply · ab · rebaseline · analyze · suggest · goal · quality.
Shell, JSON-path, file, transcript grep (±), LLM judge, prompt & response quality, and context relevance.
On a regression, Janus says why: skill, fixture, model, cross-skill change, or unknown drift.
A 5.4 MB Rust binary with zero runtime dependencies. No bash, no jq, no python. Cold start ≈ 10 ms.
Per-case token & time caps, a daily spend budget, and model pricing baked in for honest accounting.
Pick a command. This is the real CLI shape — the same output you get in your own terminal.
+Illustrative session — numbers reflect a real Janus database after a week of use.
How it works
-Every change enters one intake and is routed to a risk lane. The lane decides which gates apply.
-Record the work; Janus picks a lane — tiny, normal, or high-risk — from its risk checklist.
Acceptance criteria are extracted, mapped to tests, and proven with evidence — reviewer ≠ implementer.
Behavior-regression evals run on push. A regression is attributed, not just flagged red.
Every change enters one intake, is routed to a risk lane, proven through the lane's gates, then captured for good.
+Record the work; Janus picks a lane — tiny, normal, or high-risk — from a 10-item risk checklist.
+Acceptance criteria are extracted, mapped to tests, and proven with evidence — reviewer ≠ implementer.
+On session end the hook records the trace; nothing relies on you remembering to log it.
+Eval harness
-Pick a mode, run the checks, and on a regression get the likely cause — not just a red X.
-One sample per case. Fast feedback for every commit and pre-push hook.
Three samples per case. Thorough scoring for release-grade confidence.
Smoke first, then escalate only the failures to full. Best of both.
Instrumentation is the whole point — a trace with no tokens can't tell you what a session cost. Janus tracks that too.
+Promote a skill from warn-only to blocking once it's earned trust — a blocking regression exits 12 and stops the push.
Compare
-Counts below are verifiable from the source and harness-cli --help.
+Everything below is verifiable from the source and harness-cli --help.
+| Capability | Bash harnesses | Janus |
|---|---|---|
| Capability | Bash / script harnesses | Janus |
| Automatic session capture | hook · zero-config | |
| Adoption & instrumentation metrics | query coverage | |
| Honest RAG (grey on thin data) | built in | |
| Quality gates | 0 | 9 |
| Eval commands | ~6 | 14 |
| Check kinds | ~6 | 9 |
| Attribution classes | ~4 | 5 |
| Eval modes | 1 | 3 |
| LLM judge (your model) | ||
| Single binary, zero deps | ||
| SQLite-native state | ||
| Windows support | ||
| Single binary, zero deps | ||
| SQLite-native state | ||
| Opt-in eval harness (--features eval) |
Team-level ROI numbers (e.g. “bugs caught”, “hours saved”) are scenario projections, not measured benchmarks of this repo. The counts above are real.
+The eval harness (behaviour-regression testing) ships as an opt-in cargo feature — kept out of the default build to stay lean.
The name
-In Roman myth, Janus is the god of gates, doorways and transitions — depicted with two faces, one turned to the past and one to the future.
-The harness does the same: it weighs what was (your baseline) against what is (your current run), and guards the threshold between them. The mark's checked seam is the gate, passed.
+In Roman myth, Janus is the god of gates, doorways and transitions — shown with two faces, one turned to the past and one to the future.
+The tool does the same: it weighs what was (your baseline, your last session) against what is (your current run), and guards the threshold between them. The mark's checked seam is the gate, passed.
Install
-One command installs the binary and git hooks into your project.
-One command installs the binary and wires the git + session hooks into your project.
+The Unified Eval Engine for AI-Assisted Development.
-MIT License © 2025–2026 Hoài Nhớ. All rights reserved.
+A safe, disciplined, time-saving workspace for AI-assisted development.
+MIT License © 2025–2026 Hoài Nhớ.