harness-everything 0.29.0 → 0.30.1

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 (108) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/AGENTS.md +1 -0
  4. package/CHANGELOG.md +42 -0
  5. package/PRIVACY.md +9 -0
  6. package/benchmarks/fixtures/system-one-intent-holdout-draft.json +2228 -0
  7. package/benchmarks/fixtures/system-one-intent-holdout.json +16509 -0
  8. package/benchmarks/fixtures/system-one-intent-reviews.json +2723 -0
  9. package/benchmarks/results/system-one/intent-ngram-v1-2026-09-24/README.md +64 -0
  10. package/benchmarks/results/system-one/intent-ngram-v1-2026-09-24/report.json +15177 -0
  11. package/benchmarks/results/system-one/labeler-holdout-check-intent-2026-09-24/report.json +2976 -0
  12. package/benchmarks/results/system-one/labeler-holdout-check-intent-scores-haiku-2026-09-24/report-005-steps.json +6125 -0
  13. package/benchmarks/results/system-one/labeler-holdout-check-intent-scores-haiku-2026-09-24/report-haiku-sonnet-escalation.json +6344 -0
  14. package/benchmarks/results/system-one/labeler-holdout-check-intent-scores-haiku-2026-09-24/report-scaled-margin-escalation.json +6206 -0
  15. package/benchmarks/results/system-one/labeler-holdout-check-intent-scores-haiku-2026-09-24/report.json +6103 -0
  16. package/benchmarks/results/system-one/laya-ft-2026-09-25/README.md +83 -0
  17. package/benchmarks/results/system-one/laya-ft-2026-09-25/report.json +71 -0
  18. package/benchmarks/results/system-one/laya-ft-2026-09-25/shadow-report.json +44 -0
  19. package/benchmarks/results/system-one/laya-zs-2026-09-25/README.md +68 -0
  20. package/benchmarks/results/system-one/laya-zs-2026-09-25/report.json +173 -0
  21. package/ci/fable-mode-test.js +16 -0
  22. package/ci/mechanism-34-observations.test.js +550 -0
  23. package/ci/mechanism-system-one-collect.test.js +16 -0
  24. package/ci/mechanism-system-one-intent.test.js +406 -0
  25. package/ci/mechanism-system-one-laya.test.js +45 -0
  26. package/ci/mechanism-system-one-relevance.test.js +112 -0
  27. package/ci/mechanism-system-one-resident.test.js +16 -0
  28. package/ci/system-one-laya-calibrate-test.py +65 -0
  29. package/ci/system-one-laya-export-test.py +155 -0
  30. package/ci/system-one-laya-label-test.py +201 -0
  31. package/ci/system-one-laya-perintent-test.py +60 -0
  32. package/ci/system-one-laya-provider-test.py +115 -0
  33. package/ci/system-one-laya-train-test.py +93 -0
  34. package/docs/routing.md +25 -0
  35. package/docs/system-one-intent-gates.md +102 -0
  36. package/docs/system-one-intent.md +173 -0
  37. package/docs/system-one-laya-training.md +38 -0
  38. package/docs/system-one-observations.md +206 -0
  39. package/docs/system-one-routing.md +25 -10
  40. package/docs/system-one-suggestion-gates.md +292 -0
  41. package/docs/system-one-training.md +56 -6
  42. package/docs/workflows/fable-mode.md +7 -0
  43. package/fable-mode/SKILL.md +1 -1
  44. package/fable-mode/agents/fable-orchestrator.md +4 -4
  45. package/fable-mode/agents/fable-worker-haiku.md +4 -4
  46. package/fable-mode/agents/fable-worker-sonnet.md +4 -4
  47. package/fable-mode/execution-guardrails/SKILL.md +5 -3
  48. package/fable-mode/execution-guardrails/references/guardrail-rules.md +12 -8
  49. package/fable-mode/fable-haiku/SKILL.md +1 -1
  50. package/fable-mode/fable-opus/SKILL.md +1 -1
  51. package/fable-mode/fable-sonnet/SKILL.md +1 -1
  52. package/harness-everything/SKILL.md +1 -1
  53. package/harness-everything/scripts/kernel-router.js +10 -0
  54. package/harness-everything/scripts/system-one/catalogs.js +35 -0
  55. package/harness-everything/scripts/system-one/contract.js +45 -1
  56. package/harness-everything/scripts/system-one/evaluate.js +115 -19
  57. package/harness-everything/scripts/system-one/intent.js +22 -0
  58. package/harness-everything/scripts/system-one/laya_adapter.py +141 -0
  59. package/harness-everything/scripts/system-one/provider.js +10 -3
  60. package/harness-everything/scripts/system-one/resident.js +8 -3
  61. package/harness-everything/scripts/system-one/router.js +1 -1
  62. package/hooks/hooks.json +40 -0
  63. package/hooks/scripts/codex-user-prompt.js +39 -0
  64. package/hooks/scripts/lib/observations.js +581 -0
  65. package/hooks/scripts/observation-hook.js +25 -0
  66. package/opencode-plugin/plugin.json +1 -1
  67. package/package.json +1 -1
  68. package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
  69. package/plugins/harness-everything/hooks/hooks.json +35 -2
  70. package/plugins/harness-everything/hooks/scripts/codex-user-prompt.js +39 -0
  71. package/plugins/harness-everything/hooks/scripts/lib/observations.js +581 -0
  72. package/plugins/harness-everything/hooks/scripts/observation-hook.js +25 -0
  73. package/plugins/harness-everything/plugin.json +1 -1
  74. package/plugins/harness-everything/skills/fable-mode/SKILL.md +1 -1
  75. package/plugins/harness-everything/skills/fable-mode/agents/fable-orchestrator.md +4 -4
  76. package/plugins/harness-everything/skills/fable-mode/agents/fable-worker-haiku.md +4 -4
  77. package/plugins/harness-everything/skills/fable-mode/agents/fable-worker-sonnet.md +4 -4
  78. package/plugins/harness-everything/skills/fable-mode/execution-guardrails/SKILL.md +5 -3
  79. package/plugins/harness-everything/skills/fable-mode/execution-guardrails/references/guardrail-rules.md +12 -8
  80. package/plugins/harness-everything/skills/fable-mode/fable-haiku/SKILL.md +1 -1
  81. package/plugins/harness-everything/skills/fable-mode/fable-opus/SKILL.md +1 -1
  82. package/plugins/harness-everything/skills/fable-mode/fable-sonnet/SKILL.md +1 -1
  83. package/plugins/harness-everything/skills/harness-everything/SKILL.md +1 -1
  84. package/plugins/harness-everything/skills/harness-everything/scripts/kernel-router.js +10 -0
  85. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/catalogs.js +35 -0
  86. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/contract.js +45 -1
  87. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/evaluate.js +115 -19
  88. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/intent.js +22 -0
  89. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/laya_adapter.py +141 -0
  90. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/provider.js +10 -3
  91. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/resident.js +8 -3
  92. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/router.js +1 -1
  93. package/sbom.cdx.json +7 -7
  94. package/scripts/evaluate-system-one.js +17 -5
  95. package/scripts/system-one-calibrate-laya.py +165 -0
  96. package/scripts/system-one-calibrate.js +42 -13
  97. package/scripts/system-one-collect.js +7 -3
  98. package/scripts/system-one-compare-laya.py +156 -0
  99. package/scripts/system-one-corpus.js +22 -15
  100. package/scripts/system-one-eval-laya.js +112 -0
  101. package/scripts/system-one-export-laya.py +197 -0
  102. package/scripts/system-one-label-laya.py +243 -0
  103. package/scripts/system-one-label.js +163 -37
  104. package/scripts/system-one-observations-export.js +106 -0
  105. package/scripts/system-one-observations-review.js +86 -0
  106. package/scripts/system-one-perintent-laya.py +134 -0
  107. package/scripts/system-one-train-laya.py +344 -0
  108. package/scripts/system-one-train-ngram.py +66 -14
@@ -10,7 +10,7 @@
10
10
  "name": "harness-everything",
11
11
  "source": "./",
12
12
  "description": "Harness OS: an orchestrated agent operating system — tier routing, circuit breaker guardrails, verification gates, WAL session memory, and self-evolving workspace rules.",
13
- "version": "0.29.0",
13
+ "version": "0.30.1",
14
14
  "author": {
15
15
  "name": "Miya Daniel"
16
16
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "harness-everything",
3
3
  "description": "Harness OS: an orchestrated agent operating system — tier routing, circuit breaker guardrails, verification gates, WAL session memory, and self-evolving workspace rules.",
4
- "version": "0.29.0",
4
+ "version": "0.30.1",
5
5
  "author": {
6
6
  "name": "Miya Daniel"
7
7
  },
package/AGENTS.md CHANGED
@@ -44,6 +44,7 @@ The retained [OpenCode evidence](benchmarks/results/live-host/opencode-2026-09-1
44
44
  11. **User-visible Harness Status is mandatory for non-trivial work.** Render one readable Markdown block headed `### 🚦 Harness Status`, with bullet-aligned bold `Current`, `Read / Evidence`, `Next`, plus optional `Risk / Blocked`; use nested evidence bullets when useful. Emit it before substantive execution, after major phases, on direction changes, during long work at meaningful boundaries, and before final completion. The routing checkpoint is internal source state, not a second user-facing block. This semantic MUST does not create a hard lock.
45
45
  12. **Tier-3/Fable isolation disposition is mandatory before broad mutation.** Use/reuse a verified linked Git worktree, or record an explicit degraded fallback when isolation is unavailable or the user explicitly chooses to stay in place. Ordinary isolation SHOULD be used when it materially reduces collision/risk. Failure to isolate is a visible semantic gap, not a Harness-owned deadlock. See [workflow-runtime.md](docs/workflow-runtime.md).
46
46
  13. **Use contract strength deliberately.** MUST = required semantic obligation; SHOULD = expected default with an evidence-based exception; MAY = optional optimization. Do not use recommend/prefer/advisory/guidance to weaken a MUST. See [philosophy.md](docs/philosophy.md#contract-strength-must--should--may).
47
+ 14. **The turn label line is mandatory on every turn, trivial ones included.** End the final message of every turn — short answers, lookups, questions back to the user — with one hidden `<!-- harness-label {...} -->` line: your own post-work judgement of validity, context dependence, tier, intents, workflow and skills used ([docs/routing.md](docs/routing.md#turn-label-line)). It records data and never gates routing.
47
48
 
48
49
  ## Verification Before You Claim Done
49
50
 
package/CHANGELOG.md CHANGED
@@ -2,6 +2,48 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [0.30.1](https://github.com/dyphn1/Harness-everything/compare/v0.30.0...v0.30.1) (2026-10-01)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **fable:** keep minor warnings reporting-only ([28d01e6](https://github.com/dyphn1/Harness-everything/commit/28d01e62acd223ca7506fe721204f29dc94518b8))
10
+ * **fable:** restore guardrail markdown spacing ([7daff05](https://github.com/dyphn1/Harness-everything/commit/7daff054ba39b9e28ddcc4a3a2441b0f6f448d22))
11
+
12
+ ## [0.30.0](https://github.com/dyphn1/Harness-everything/compare/v0.29.0...v0.30.0) (2026-09-28)
13
+
14
+ ### Features
15
+
16
+ * **router:** add the edit intent and secondary intents to the intent stage ([1ba245d](https://github.com/dyphn1/Harness-everything/commit/1ba245dc7472ddf0c54a149283eac3fa6fea2112))
17
+ * **router:** add the system one intent catalog to the evaluator, assembler and labeler ([fd1846d](https://github.com/dyphn1/Harness-everything/commit/fd1846d89f203e97908ed9a23044a3c1b00fdb17))
18
+ * **router:** escalate low-scoring system one intent labels to a second model ([a9c1360](https://github.com/dyphn1/Harness-everything/commit/a9c13609297313a694c853d9d204862cce76cee1))
19
+ * **router:** grade accepted intent predictions in the evaluator ([9c22fea](https://github.com/dyphn1/Harness-everything/commit/9c22feace3af5384e9da3affcc580b86340256a1))
20
+ * **router:** grade intent agreement and label secondary intents ([18011c3](https://github.com/dyphn1/Harness-everything/commit/18011c396cb635785f2d2930d944df5819ca84b6))
21
+ * **router:** label and train system one intents as relevance scores ([e8f1386](https://github.com/dyphn1/Harness-everything/commit/e8f1386b31a3b99551e32d5fb5f29e5bf389d95b))
22
+ * **router:** require tie-free system one intent scores in 0.05 steps ([5d201c0](https://github.com/dyphn1/Harness-everything/commit/5d201c0ac54fbbfb9f95c9a63f70832b824750c9))
23
+ * **router:** scale intent scores to the top and escalate lagging margins ([bbedfac](https://github.com/dyphn1/Harness-everything/commit/bbedfac38837a091f74971dc7f99c2b23f7892d5))
24
+ * **router:** train and calibrate the intent stage ([c5e6a5f](https://github.com/dyphn1/Harness-everything/commit/c5e6a5f8dfa59f46234dbdf7a977fd9d9a9e65d8))
25
+ * **system-one:** add laya provider bridge and holdout evidence ([9f6a4ed](https://github.com/dyphn1/Harness-everything/commit/9f6a4ed3dc95014fb61d1b5ffb69af6c08deb2a2))
26
+ * **system-one:** add laya soft-target exporter for phase 3 ([3672d12](https://github.com/dyphn1/Harness-everything/commit/3672d12adc9fb99c545013acc37a2623e52de7d9))
27
+ * **system-one:** add laya zero-shot dense labeler and calibration for [#255](https://github.com/dyphn1/Harness-everything/issues/255) ([3759757](https://github.com/dyphn1/Harness-everything/commit/3759757ea1ecb454d6c168672afe61acadb244c1))
28
+ * **system-one:** add per-intent bernoulli evaluation ([cba5c79](https://github.com/dyphn1/Harness-everything/commit/cba5c79b086279fe7c712ab9a88bf18864356fc4))
29
+ * **system-one:** add relevance-native decisions beside single-winner ([bb5f3b8](https://github.com/dyphn1/Harness-everything/commit/bb5f3b84fe3e788b9d0b0ed0dfd95e11a096b36e))
30
+ * **system-one:** add single-device laya trainer for phase 3 ([8e45769](https://github.com/dyphn1/Harness-everything/commit/8e4576921cb45f32aea62d174707ee371d63564d))
31
+ * **system-one:** collect turn observations for tier, workflow and skills ([29830a1](https://github.com/dyphn1/Harness-everything/commit/29830a127c40a9fc1b1ff356f9aa3a55f9ab6d24)), closes [#233](https://github.com/dyphn1/Harness-everything/issues/233)
32
+ * **system-one:** oversample and loss weights for weak intents ([3612acb](https://github.com/dyphn1/Harness-everything/commit/3612acbcec58e6f31be8d35031287d56cd256fe5))
33
+ * **system-one:** relevance gates, raw bridge, adapter transport ([85a3c34](https://github.com/dyphn1/Harness-everything/commit/85a3c345a19259105c49124bec7cd41168eeb526))
34
+ * **system-one:** versioned laya questions and v2 contrast test ([4fc24e8](https://github.com/dyphn1/Harness-everything/commit/4fc24e83bf8389d3e40af4981157778b812772f3))
35
+
36
+ ### Bug Fixes
37
+
38
+ * **router:** guard collected prompts against the intent holdout too ([6b880e0](https://github.com/dyphn1/Harness-everything/commit/6b880e04e0875038e3b927410cf25990ce4ce519))
39
+ * **system-one:** codex router context as json, tolerate label slips ([9d7b1d6](https://github.com/dyphn1/Harness-everything/commit/9d7b1d64de44b56b6e914f3e6ac2abfed9319a49))
40
+ * **system-one:** current-turn labels, lossless tool events, retention on read ([6a75f0c](https://github.com/dyphn1/Harness-everything/commit/6a75f0cccbb3ae442d901c4b5873601d920fd03d))
41
+ * **system-one:** finishing an old turn never renews its text ([cedd742](https://github.com/dyphn1/Harness-everything/commit/cedd7422961fc32e384b324796ece4b4d1809c3e))
42
+ * **system-one:** isolate calibration from oversampled prompts ([91dd93e](https://github.com/dyphn1/Harness-everything/commit/91dd93e60e2cc8372cad4a609c95fbdaed3b23ae))
43
+ * **system-one:** oversample only selected intent items ([7b59c43](https://github.com/dyphn1/Harness-everything/commit/7b59c43a4cfdc9fb5cb1b68049de24c51c26f2a0))
44
+ * **system-one:** print the label contract last, for every turn ([3f63958](https://github.com/dyphn1/Harness-everything/commit/3f63958c8d6b752a9b9cc9f10e50ed00b6c7fb44))
45
+ * **system-one:** tier label from the agent's judgement, not a file count ([fb3d483](https://github.com/dyphn1/Harness-everything/commit/fb3d48334f7d2809d4cc8300c6b7e131f845c79e)), closes [#233](https://github.com/dyphn1/Harness-everything/issues/233)
46
+
5
47
  ## [0.29.0](https://github.com/dyphn1/Harness-everything/compare/v0.28.0...v0.29.0) (2026-09-28)
6
48
 
7
49
  ### Features
package/PRIVACY.md CHANGED
@@ -18,6 +18,15 @@ Users should review commands, tool permissions, connected apps, and repository c
18
18
 
19
19
  Some Harness workflows may write local runtime state or project artifacts needed for routing, verification, or recovery. These files stay in locations controlled by the user and the host environment unless another tool or service is explicitly used to share them.
20
20
 
21
+ ## Local routing observations
22
+
23
+ To improve Harness routing, the hooks keep a local record of each turn by default: the prompt, the previous assistant message (up to 2 KB), the routing suggestion, counts of what the agent did (files written, command categories, skills used; never command text or file contents), and the agent's own label line. Email addresses and home-directory paths are redacted before storage.
24
+
25
+ - Location: `~/.agents/harness-everything/system-one/observations/` (or `HARNESS_OBSERVATIONS_DIR`), outside every workspace.
26
+ - Retention: prompt text is deleted 180 days after it was recorded; labels and counts are kept.
27
+ - Nothing is uploaded. The records leave the machine only if you copy them yourself.
28
+ - Turn it off with `HARNESS_OBSERVATIONS=off` in the environment the host passes to hooks.
29
+
21
30
  ## Changes
22
31
 
23
32
  If a future release adds a hosted service, telemetry, external app, or MCP integration that changes data handling, this notice must be updated before that capability is published.