jev-dev-harness 0.2.15 → 0.2.17
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.
- package/CHANGELOG.md +145 -115
- package/LICENSE +21 -21
- package/README.md +687 -664
- package/bin/jev-dev.js +2 -2
- package/bin/jev-mcp.js +7 -7
- package/dashboard/index.html +1122 -1122
- package/dist/cli/delegate.d.ts +4 -0
- package/dist/cli/delegate.d.ts.map +1 -0
- package/dist/cli/delegate.js +62 -0
- package/dist/cli/delegate.js.map +1 -0
- package/dist/cli/doctor.js +46 -46
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +19 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +25 -9
- package/dist/cli/setup.js.map +1 -1
- package/dist/context-ranker/stage-a-filter.d.ts.map +1 -1
- package/dist/context-ranker/stage-a-filter.js +26 -29
- package/dist/context-ranker/stage-a-filter.js.map +1 -1
- package/dist/context-ranker/types.d.ts +1 -0
- package/dist/context-ranker/types.d.ts.map +1 -1
- package/dist/delegate/index.d.ts +129 -0
- package/dist/delegate/index.d.ts.map +1 -0
- package/dist/delegate/index.js +87 -0
- package/dist/delegate/index.js.map +1 -0
- package/dist/hooks/index.js +73 -73
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +6 -0
- package/dist/mcp/server.js.map +1 -1
- package/dist/shared/efficiency.d.ts +4 -1
- package/dist/shared/efficiency.d.ts.map +1 -1
- package/dist/shared/efficiency.js +8 -4
- package/dist/shared/efficiency.js.map +1 -1
- package/dist/shared/telemetry.d.ts +6 -0
- package/dist/shared/telemetry.d.ts.map +1 -1
- package/dist/shared/telemetry.js +6 -0
- package/dist/shared/telemetry.js.map +1 -1
- package/dist/shared/typesafe-client.d.ts +2 -0
- package/dist/shared/typesafe-client.d.ts.map +1 -1
- package/dist/shared/typesafe-client.js +20 -9
- package/dist/shared/typesafe-client.js.map +1 -1
- package/dist/shared/version.js +1 -1
- package/docs/RELEASING.md +250 -243
- package/docs/jev/DELEGATED-REVIEW.md +86 -0
- package/docs/jev/JEV-0.2.16-DEFAULTS.md +60 -0
- package/docs/jev/JEV-1.14-EVALUATION.md +99 -99
- package/docs/jev/MEASURED-USAGE.md +155 -155
- package/docs/jev/MULTI-HARNESS-USAGE.md +163 -163
- package/docs/jev/OPENROUTER-NATIVE.md +93 -93
- package/docs/jev/README.md +85 -85
- package/docs/jev/evaluation-jev-1.14-2026-10-15.json +1731 -1731
- package/package.json +139 -133
package/CHANGELOG.md
CHANGED
|
@@ -1,115 +1,145 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 0.2.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
-
|
|
109
|
-
|
|
110
|
-
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.2.17 - 2026-11-16
|
|
4
|
+
|
|
5
|
+
- Raise the minimum MCP SDK dependency to 1.32.2 and refresh the lockfile for
|
|
6
|
+
patched transitive dependencies, without using an automatic audit-fix rewrite.
|
|
7
|
+
- Move development tests to Vitest 4.1.12 and Vite 6.4.6, retaining the Node 22
|
|
8
|
+
runtime baseline rather than requiring the newer Vite 7/8 minimum.
|
|
9
|
+
- Preserve TypeSafe SDK 0.7.0, Jev 1.14 defaults, explicit older model pins and
|
|
10
|
+
the offline, non-authorizing delegated-review bridge from 0.2.16.
|
|
11
|
+
- Security audit results describe the resolved dependency graph at validation
|
|
12
|
+
time; they are not a guarantee against all vulnerabilities or reachability.
|
|
13
|
+
|
|
14
|
+
## 0.2.16 - 2026-11-16
|
|
15
|
+
|
|
16
|
+
- Add `delegate review`: explicit command-only offline JSON envelopes/receipts for
|
|
17
|
+
delegated coding tasks, with bounded inputs and no execution, authorization,
|
|
18
|
+
remote model call, update lookup or automatic integration.
|
|
19
|
+
|
|
20
|
+
- Default unpinned TypeSafe, OpenRouter and Vercel configurations to Jev 1.14
|
|
21
|
+
using their provider-specific model IDs. This is an owner-selected default,
|
|
22
|
+
not a claim of superior accuracy from the prior synthetic benchmark.
|
|
23
|
+
- Preserve options/environment and same-provider model pins, normalize known
|
|
24
|
+
legacy TypeSafe Jev aliases without advancing their version, and prevent a
|
|
25
|
+
saved model from another provider becoming the selected provider's default.
|
|
26
|
+
- Persist TypeSafe/Vercel model choices consistently in setup-generated settings.
|
|
27
|
+
No existing configuration is migrated automatically.
|
|
28
|
+
- Keep provider/base URL/model identity in decision caches and retain explicit
|
|
29
|
+
legacy gateway aliases. Historical 1.13/1.14 evaluation records are unchanged.
|
|
30
|
+
- Safety Pro Engine RC3 remains independently pinned to harness 0.2.14/0.2.15;
|
|
31
|
+
this release does not update or claim compatibility with its exact gate.
|
|
32
|
+
|
|
33
|
+
## 0.2.15 — 2026-10-20
|
|
34
|
+
|
|
35
|
+
### Security
|
|
36
|
+
|
|
37
|
+
- Enforce conservative confirmation requirement for unknown commands when semantic
|
|
38
|
+
evaluation is unavailable or returns an evaluator fallback. Synthetic fallback scores
|
|
39
|
+
never silently allow unknown commands.
|
|
40
|
+
- Preserve meaningful, secret-redacted fallbackReason in guard responses and ensure
|
|
41
|
+
offline evaluation (`useJev: false`) remains consistently protected.
|
|
42
|
+
- Known deterministic safe commands (read-only, local modification) and known destructive
|
|
43
|
+
or production-sensitive commands retain their established protections regardless of
|
|
44
|
+
remote provider availability.
|
|
45
|
+
|
|
46
|
+
### Fixed
|
|
47
|
+
|
|
48
|
+
- Support explicit failure policies (`fail-open` default for backward compatibility;
|
|
49
|
+
`fail-closed` for strict security environments) in Git pre-commit hooks, with runtime
|
|
50
|
+
override support via `JEV_HOOK_FAILURE_POLICY`.
|
|
51
|
+
- Ensure Git pre-commit hook rejects commits on reviewer execution errors under `fail-closed`
|
|
52
|
+
while retaining blocking exit status 2 under all policies.
|
|
53
|
+
- Safeguard pre-commit hook installation and uninstallation: preserve existing user-managed
|
|
54
|
+
hooks unless `--force` is specified, support Git worktrees, and resolve `core.hooksPath`
|
|
55
|
+
safely.
|
|
56
|
+
- Isolate test fixtures across test suites to operating system temporary directories,
|
|
57
|
+
resolving intermittent Windows `EBUSY` file-locking issues during Git directory cleanup.
|
|
58
|
+
- Prevent assertions from being swallowed in temporary repository gitignore tests.
|
|
59
|
+
|
|
60
|
+
## 0.2.14 — 2026-10-20
|
|
61
|
+
|
|
62
|
+
### Fixed
|
|
63
|
+
|
|
64
|
+
- Preserve the existing text-mode exit status in JSON patch review, guard checks
|
|
65
|
+
and semantic lint. Successful and advisory results retain their existing codes.
|
|
66
|
+
- Preserve Git revision expressions, including reflog selectors with spaces, as
|
|
67
|
+
a single argument and reject empty, control-character or option-shaped revisions.
|
|
68
|
+
|
|
69
|
+
### Security
|
|
70
|
+
|
|
71
|
+
- Remove shell interpolation from shared Git diff extraction used by patch review
|
|
72
|
+
and semantic lint through CLI, MCP and public APIs. Git executes directly with
|
|
73
|
+
argument arrays and an explicit revision/path boundary.
|
|
74
|
+
- Keep public API signatures, Node.js 22+, SDK/model dependencies and MIT licensing
|
|
75
|
+
unchanged. See docs/RELEASING.md for JSON automation and revision-input guidance.
|
|
76
|
+
|
|
77
|
+
## 0.2.13 — 2026-10-15
|
|
78
|
+
|
|
79
|
+
- Share npm release reasons, declared requirements, release links and restart guidance
|
|
80
|
+
across CLI, dashboard and MCP. Missing release metadata stays explicitly unknown.
|
|
81
|
+
- Deduplicate CLI notices across invocations, MCP notices per connection/version and
|
|
82
|
+
dashboard dismissals per running/latest version. Long-lived surfaces check hourly.
|
|
83
|
+
- Correct the update cache comparison and keep the timeout active through body reads.
|
|
84
|
+
Failed checks report unavailable, never a fabricated latest version.
|
|
85
|
+
- Preserve machine-readable CLI output and the MCP tool's first content block.
|
|
86
|
+
`latestVersion` and version-command `isLatest` are nullable when verification fails.
|
|
87
|
+
- Keep SDK 0.7.0, Node.js 22+ and native Jev 1.13.0 unchanged. npm publication remains manual.
|
|
88
|
+
|
|
89
|
+
## 0.2.12 — 2026-10-15
|
|
90
|
+
|
|
91
|
+
- Upgrade TypeSafe SDK to 0.7.0 and require Node.js 22+. Preserve uncompressed
|
|
92
|
+
transport during migration and keep images, Box and long-context features disabled.
|
|
93
|
+
- Pin the native default to jev-1.13.0; retain explicit model overrides and existing
|
|
94
|
+
OpenRouter/Vercel IDs. Do not promote the Jev 1.14 preview automatically.
|
|
95
|
+
- Accept null token counters without discarding valid decisions. Preserve unknown
|
|
96
|
+
totals and per-direction coverage in telemetry, reports, dashboard and ledgers;
|
|
97
|
+
missing usage blocks net token comparisons while reported cost stays independent.
|
|
98
|
+
- Add an opt-in reproducible PT/EN model evaluation and its sanitized live evidence.
|
|
99
|
+
Both models passed 42/42 synthetic checks; this is not a production acceptance
|
|
100
|
+
test, cost comparison or measured task-savings baseline.
|
|
101
|
+
|
|
102
|
+
## 0.2.11 — 2026-09-30
|
|
103
|
+
|
|
104
|
+
- Add shared agent usage imports/comparisons for Antigravity, TRAE, Cursor,
|
|
105
|
+
VS Code extensions and CLI exporters, with explicit source/coverage.
|
|
106
|
+
- Normalize OpenAI, Anthropic cache, Gemini thinking and Cursor event usage;
|
|
107
|
+
preserve unknown breakdowns/costs and reject duplicate or overlapping requests.
|
|
108
|
+
- Add MCP `jev_import_usage`, CLI `efficiency import`, public export APIs and
|
|
109
|
+
optional proxy JSON/SSE capture without retaining prompts or changing response bytes.
|
|
110
|
+
- Preserve Codex manifest compatibility; document hook/export setup and native
|
|
111
|
+
integration limits instead of claiming universal automatic capture.
|
|
112
|
+
|
|
113
|
+
## 0.2.10 — 2026-09-30
|
|
114
|
+
|
|
115
|
+
- Add offline Codex rollout discovery/import and paired usage comparisons with
|
|
116
|
+
exact cumulative counters, cache/reasoning breakdowns, source fingerprints and
|
|
117
|
+
validation receipts. Unknown overhead/cost stays unknown; negative deltas remain.
|
|
118
|
+
- Add opt-in run-scoped Jev usage ledgers across model calls, the CLI efficiency
|
|
119
|
+
workflow and MCP `jev_compare_usage`. No prompts or credentials in ledgers.
|
|
120
|
+
- Show the latest comparison separately in the dashboard without accumulating
|
|
121
|
+
comparisons as proven savings. See `docs/jev/MEASURED-USAGE.md` for coverage,
|
|
122
|
+
declared conditions, billing receipts and baseline setup.
|
|
123
|
+
|
|
124
|
+
## 0.2.9 — 2026-09-30
|
|
125
|
+
|
|
126
|
+
- Replace synthetic token/dollar savings with factual context counts, cache reuse,
|
|
127
|
+
new logical model calls, validated response usage, cost coverage and fallback.
|
|
128
|
+
- Stop accumulating heuristic estimates as savings in telemetry and dashboard.
|
|
129
|
+
Legacy events remain readable; unknown savings/cost are not zero.
|
|
130
|
+
- Correct MCP agent instructions and installed rule templates: only report audits
|
|
131
|
+
actually executed. Tool pruning and proxy routing no longer invent token savings.
|
|
132
|
+
- Preserve native transport, ranking, cache keys and fallback behavior. See
|
|
133
|
+
`docs/RELEASING.md` for the v2 efficiency contract and installed-rule migration.
|
|
134
|
+
|
|
135
|
+
## 0.2.8 — 2026-09-30
|
|
136
|
+
|
|
137
|
+
- Default new OpenRouter configurations to native `typesafe/jev-1.13` decisions.
|
|
138
|
+
- Validate Noul, Choice and Score responses before use or caching; reject missing confidence.
|
|
139
|
+
- Bound request and context-ranking deadlines, concurrency and retry behavior; use deterministic fallback on failures.
|
|
140
|
+
- Isolate decision caches by provider, model, question contract and candidate metadata.
|
|
141
|
+
- Report actual models, native/emulation modes and provider-reported cost coverage.
|
|
142
|
+
- Synchronize package and lockfile versions; advertise the package version in MCP.
|
|
143
|
+
- Add release checks, rebuild before packing, and document Git tags and npm `latest` publication.
|
|
144
|
+
|
|
145
|
+
Live cost/latency benchmarks and the Finainteli integration are separate work.
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Marcelo Lopes
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Marcelo Lopes
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|