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/docs/jev/README.md
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
# Jev Developer Harness (`jev-dev-harness`)
|
|
2
|
-
|
|
3
|
-
> **Experimental Developer Harness using TypeSafe AI / Jev to enhance coding agent workflows (Codex, Antigravity, and similar tools).**
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Overview
|
|
8
|
-
|
|
9
|
-
The **Jev Developer Harness** is an external companion toolkit designed to enhance AI coding agents without modifying their proprietary internals.
|
|
10
|
-
|
|
11
|
-
Traditional Large Language Models (LLMs) excel at generative reasoning, but using them for high-volume context filtering, routing, and guardrails is slow, expensive, and prone to context window dilution. **TypeSafe AI's Jev** is a "System One" decision model: it evaluates application state and natural language against typed questions, returning calibrated probabilities and discrete choices without generating chat or reasoning tokens.
|
|
12
|
-
|
|
13
|
-
The harness acts as a bridge:
|
|
14
|
-
1. **Determinism First**: Discards irrelevant files, binaries, build outputs, and credentials using fast code rules.
|
|
15
|
-
2. **Jev Semantic Signals**: Uses Jev for fast, focused, batched judgments (`noul`, `score`, `choice`).
|
|
16
|
-
3. **Calibrated Ranking**: Code in the harness calculates the final ranking and confidence.
|
|
17
|
-
4. **Resilient Fallback**: If Jev is offline, times out, or lacks an API key, the harness transparently falls back to deterministic heuristic ranking, ensuring coding agents are never blocked.
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## Architecture
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
Hundreds of repository files
|
|
25
|
-
│
|
|
26
|
-
▼ [Stage A: Deterministic Filter]
|
|
27
|
-
.gitignore, .jevignore, binary sniffing, oversized file limits
|
|
28
|
-
│
|
|
29
|
-
▼ [Stage B: Heuristic Fast Search]
|
|
30
|
-
Path matching, symbol extraction, keyword frequency, snippet extraction
|
|
31
|
-
│
|
|
32
|
-
▼ [Top ~15 Candidates]
|
|
33
|
-
▼ [Stage C: Jev Evaluation]
|
|
34
|
-
Batch questions per file:
|
|
35
|
-
• relevant_to_task (Noul)
|
|
36
|
-
• relevance (Score)
|
|
37
|
-
• role (Choice)
|
|
38
|
-
│
|
|
39
|
-
▼ [Stage D: Harness Ranking Algorithm]
|
|
40
|
-
Harness code combines Jev confidence, role weight & heuristic signals
|
|
41
|
-
│
|
|
42
|
-
▼
|
|
43
|
-
Top-K calibrated shortlist -> AI Coding Agent (Codex / Antigravity)
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
## Available Interfaces
|
|
49
|
-
|
|
50
|
-
* **CLI**: `npx jev-dev context rank --task "<task>" --path . [--json]`
|
|
51
|
-
* **Agent Skill**: `.agents/skills/jev-context-ranker/SKILL.md` (natively discovered by Antigravity and Codex)
|
|
52
|
-
* **TypeScript / Node API**: `import { rankContext } from 'jev-dev-harness'`
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
## Quickstart
|
|
57
|
-
|
|
58
|
-
### 1. Installation
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
npm install
|
|
62
|
-
npm run build
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### 2. Running via CLI
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
# Human-readable report
|
|
69
|
-
node dist/cli/index.js context rank --task "Implement JWT authentication in user routes" --path .
|
|
70
|
-
|
|
71
|
-
# Machine-readable JSON for agents
|
|
72
|
-
node dist/cli/index.js context rank --task "Implement JWT authentication in user routes" --path . --json
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
### 3. Environment Variables
|
|
76
|
-
|
|
77
|
-
* `TYPESAFE_API_KEY`: Optional TypeSafe API key. If absent, the harness operates in deterministic fallback mode automatically without failing.
|
|
78
|
-
|
|
79
|
-
---
|
|
80
|
-
|
|
81
|
-
## Roadmap
|
|
82
|
-
|
|
83
|
-
* **FASE 2** — Seleção e ranking inteligente de contexto (**Implemented**)
|
|
84
|
-
* **FASE 3** — Auditoria de diffs e tool calls (**Planned / Documented**)
|
|
85
|
-
* **FASE 8** — Semantic linting em CI (**Planned / Documented**)
|
|
1
|
+
# Jev Developer Harness (`jev-dev-harness`)
|
|
2
|
+
|
|
3
|
+
> **Experimental Developer Harness using TypeSafe AI / Jev to enhance coding agent workflows (Codex, Antigravity, and similar tools).**
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
The **Jev Developer Harness** is an external companion toolkit designed to enhance AI coding agents without modifying their proprietary internals.
|
|
10
|
+
|
|
11
|
+
Traditional Large Language Models (LLMs) excel at generative reasoning, but using them for high-volume context filtering, routing, and guardrails is slow, expensive, and prone to context window dilution. **TypeSafe AI's Jev** is a "System One" decision model: it evaluates application state and natural language against typed questions, returning calibrated probabilities and discrete choices without generating chat or reasoning tokens.
|
|
12
|
+
|
|
13
|
+
The harness acts as a bridge:
|
|
14
|
+
1. **Determinism First**: Discards irrelevant files, binaries, build outputs, and credentials using fast code rules.
|
|
15
|
+
2. **Jev Semantic Signals**: Uses Jev for fast, focused, batched judgments (`noul`, `score`, `choice`).
|
|
16
|
+
3. **Calibrated Ranking**: Code in the harness calculates the final ranking and confidence.
|
|
17
|
+
4. **Resilient Fallback**: If Jev is offline, times out, or lacks an API key, the harness transparently falls back to deterministic heuristic ranking, ensuring coding agents are never blocked.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Architecture
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
Hundreds of repository files
|
|
25
|
+
│
|
|
26
|
+
▼ [Stage A: Deterministic Filter]
|
|
27
|
+
.gitignore, .jevignore, binary sniffing, oversized file limits
|
|
28
|
+
│
|
|
29
|
+
▼ [Stage B: Heuristic Fast Search]
|
|
30
|
+
Path matching, symbol extraction, keyword frequency, snippet extraction
|
|
31
|
+
│
|
|
32
|
+
▼ [Top ~15 Candidates]
|
|
33
|
+
▼ [Stage C: Jev Evaluation]
|
|
34
|
+
Batch questions per file:
|
|
35
|
+
• relevant_to_task (Noul)
|
|
36
|
+
• relevance (Score)
|
|
37
|
+
• role (Choice)
|
|
38
|
+
│
|
|
39
|
+
▼ [Stage D: Harness Ranking Algorithm]
|
|
40
|
+
Harness code combines Jev confidence, role weight & heuristic signals
|
|
41
|
+
│
|
|
42
|
+
▼
|
|
43
|
+
Top-K calibrated shortlist -> AI Coding Agent (Codex / Antigravity)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Available Interfaces
|
|
49
|
+
|
|
50
|
+
* **CLI**: `npx jev-dev context rank --task "<task>" --path . [--json]`
|
|
51
|
+
* **Agent Skill**: `.agents/skills/jev-context-ranker/SKILL.md` (natively discovered by Antigravity and Codex)
|
|
52
|
+
* **TypeScript / Node API**: `import { rankContext } from 'jev-dev-harness'`
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Quickstart
|
|
57
|
+
|
|
58
|
+
### 1. Installation
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
npm install
|
|
62
|
+
npm run build
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### 2. Running via CLI
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
# Human-readable report
|
|
69
|
+
node dist/cli/index.js context rank --task "Implement JWT authentication in user routes" --path .
|
|
70
|
+
|
|
71
|
+
# Machine-readable JSON for agents
|
|
72
|
+
node dist/cli/index.js context rank --task "Implement JWT authentication in user routes" --path . --json
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### 3. Environment Variables
|
|
76
|
+
|
|
77
|
+
* `TYPESAFE_API_KEY`: Optional TypeSafe API key. If absent, the harness operates in deterministic fallback mode automatically without failing.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Roadmap
|
|
82
|
+
|
|
83
|
+
* **FASE 2** — Seleção e ranking inteligente de contexto (**Implemented**)
|
|
84
|
+
* **FASE 3** — Auditoria de diffs e tool calls (**Planned / Documented**)
|
|
85
|
+
* **FASE 8** — Semantic linting em CI (**Planned / Documented**)
|