harness-everything 0.28.0 → 0.29.0

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.
Files changed (41) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +12 -0
  4. package/benchmarks/fixtures/system-one-holdout-reviews.json +18 -18
  5. package/benchmarks/fixtures/system-one-holdout.json +9 -9
  6. package/benchmarks/results/system-one/harness-routing-v1-cpu-2026-09-24/README.md +75 -0
  7. package/benchmarks/results/system-one/harness-routing-v1-cpu-2026-09-24/report.json +10832 -0
  8. package/benchmarks/results/system-one/harness-routing-v1-ngram-2026-09-24/README.md +72 -0
  9. package/benchmarks/results/system-one/harness-routing-v1-ngram-2026-09-24/report.json +10817 -0
  10. package/benchmarks/results/system-one/harness-routing-v3-ngram-2026-09-24/README.md +63 -0
  11. package/benchmarks/results/system-one/harness-routing-v3-ngram-2026-09-24/report.json +10817 -0
  12. package/benchmarks/results/system-one/labeler-holdout-check-2026-09-24/report.json +1104 -0
  13. package/benchmarks/results/system-one/labeler-holdout-check-codex-2026-09-24/report.json +1104 -0
  14. package/benchmarks/results/system-one/labeler-holdout-check-codex-tier3-2026-09-24/report.json +1104 -0
  15. package/ci/mechanism-system-one-evaluation.test.js +17 -0
  16. package/ci/mechanism-system-one-label.test.js +27 -0
  17. package/ci/mechanism-system-one-ngram.test.js +161 -0
  18. package/ci/mechanism-system-one-train.test.js +12 -0
  19. package/ci/system-one-ngram-parity.py +19 -0
  20. package/ci/system-one-train-test.py +6 -0
  21. package/docs/system-one-corpus.md +31 -3
  22. package/docs/system-one-routing.md +84 -2
  23. package/docs/system-one-training.md +14 -2
  24. package/harness-everything/SKILL.md +1 -1
  25. package/harness-everything/scripts/system-one/evaluate.js +3 -2
  26. package/harness-everything/scripts/system-one/ngram.js +84 -0
  27. package/harness-everything/scripts/system-one/provider.js +15 -5
  28. package/opencode-plugin/plugin.json +1 -1
  29. package/package.json +1 -1
  30. package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
  31. package/plugins/harness-everything/plugin.json +1 -1
  32. package/plugins/harness-everything/skills/harness-everything/SKILL.md +1 -1
  33. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/evaluate.js +3 -2
  34. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/ngram.js +84 -0
  35. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/provider.js +15 -5
  36. package/sbom.cdx.json +7 -7
  37. package/scripts/evaluate-system-one.js +16 -9
  38. package/scripts/system-one-calibrate.js +1 -1
  39. package/scripts/system-one-label.js +32 -3
  40. package/scripts/system-one-train-ngram.py +129 -0
  41. package/scripts/system-one-train.py +14 -1
@@ -0,0 +1,63 @@
1
+ # System One: ngram tier model after the third spot-check (2026-09-24)
2
+
3
+ This is local real-model evidence for the `ngram` transport. It is not live-host
4
+ evidence. Issue [#233](https://github.com/dyphn1/Harness-everything/issues/233); the
5
+ first ngram run is [harness-routing-v1-ngram-2026-09-24](../harness-routing-v1-ngram-2026-09-24/README.md).
6
+ **Result: cleaner labels raise coverage, but accepted precision on the holdout is still
7
+ below 85%, so the model is not released.**
8
+
9
+ ## What changed since v1
10
+
11
+ - **Rules.** The owner settled the tier lines from the third training spot-check
12
+ ([system-one-corpus.md](../../../../docs/system-one-corpus.md#gold-labels)):
13
+ - Git work is `tier1` at any width.
14
+ - Adding an option inside one tool, or fixing a bug, is `tier2`.
15
+ - Short replies follow the work in progress.
16
+ - Explicit agents, architecture changes, and repository-wide or cross-component work
17
+ are `tier3`.
18
+ - **Holdout.** The owner moved nine holdout cases to these lines. The holdout is now
19
+ `tier1` 48, `tier2` 104, `tier3` 43 and `null` 20, still 215 reviewed cases.
20
+ - **Labeler.** Under the final rules the Codex labeler agrees with the holdout 85.1%
21
+ (it was 80.5%).
22
+ - **Labels.** The labeler relabeled 2,061 prompts under the new rules, and then relabeled
23
+ again 295 prompts that the first pass had moved from `tier3` to `tier2`. There are
24
+ 126 owner overrides and 4 exclusions. The final labels are:
25
+ - `tier2`: 3,207.
26
+ - `tier1`: 1,148.
27
+ - `null`: 726.
28
+ - `tier3`: 544.
29
+
30
+ The training data stays local.
31
+ - **Training.** Same trainer and defaults as v1. The artifact is 1,048,576 bytes, revision
32
+ `d9aa40e711a3`.
33
+
34
+ ## Calibration (validation, 727)
35
+
36
+ The 85% target is reached at `minConfidence` 0.5 and `minMargin` 0, with 44.0% coverage
37
+ (320 accepted, precision 85.9%). v1 had 29.0%.
38
+
39
+ ## Holdout (current 215 cases, one run each)
40
+
41
+ [`report.json`](report.json) is the unmodified evaluator output for v3. v1 was measured
42
+ again on the same holdout for comparison; that report stays local.
43
+
44
+ | Metric | v3 | v1 on the same holdout | Lexical baseline |
45
+ | --- | --- | --- | --- |
46
+ | Accepted | 59 (27.4%) | 43 (20.0%) | 87 (40.5%) |
47
+ | Accepted correct | 40 | 31 | 47 |
48
+ | Accepted precision | 67.8% | 72.1% | 54.0% |
49
+ | Warm p95 | 0.66 ms | 0.81 ms | — |
50
+
51
+ Gates `reviewedHoldout`, `repeatability`, `warmLatency` and `sourceProvenance` pass.
52
+ `acceptedPrecision`, `coverage` and gated `macroF1` fail.
53
+
54
+ ## Reading
55
+
56
+ - **`tier3` is the weak class.** The largest error among accepted answers is gold `tier3`
57
+ predicted `tier2` (9 of 19 errors). Only one `tier3` answer was accepted.
58
+ - **Validation is optimistic.** The labeler's labels make up the validation set, and it
59
+ reaches 85.9%. The owner-reviewed holdout reaches only 67.8%, because it holds twice as
60
+ many `tier3` cases (20% against 10%) and they are authored prompts.
61
+ - **Character n-grams are not enough.** The `tier3` line depends on scope ("every",
62
+ "across", "the whole repo") rather than on surface words. That supports the staged plan:
63
+ an intent classifier first, then the tier.