jev-dev-harness 0.2.17 → 0.2.18
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 +155 -145
- package/LICENSE +21 -21
- package/README.md +704 -687
- package/bin/jev-dev.js +2 -2
- package/bin/jev-mcp.js +7 -7
- package/dashboard/index.html +1122 -1122
- package/dist/cli/doctor.js +46 -46
- package/dist/context-ranker/stage-c-jev.d.ts.map +1 -1
- package/dist/context-ranker/stage-c-jev.js +2 -1
- package/dist/context-ranker/stage-c-jev.js.map +1 -1
- package/dist/hooks/index.js +73 -73
- package/dist/shared/agent-usage.d.ts.map +1 -1
- package/dist/shared/agent-usage.js +2 -1
- package/dist/shared/agent-usage.js.map +1 -1
- package/dist/shared/efficiency.d.ts +2 -0
- package/dist/shared/efficiency.d.ts.map +1 -1
- package/dist/shared/efficiency.js +8 -1
- package/dist/shared/efficiency.js.map +1 -1
- package/dist/shared/telemetry.d.ts.map +1 -1
- package/dist/shared/telemetry.js +3 -2
- package/dist/shared/telemetry.js.map +1 -1
- package/dist/shared/usage-comparison.d.ts.map +1 -1
- package/dist/shared/usage-comparison.js +7 -5
- package/dist/shared/usage-comparison.js.map +1 -1
- package/dist/shared/version.js +1 -1
- package/docs/RELEASING.md +256 -250
- package/docs/jev/DELEGATED-REVIEW.md +86 -86
- package/docs/jev/JEV-0.2.16-DEFAULTS.md +60 -60
- 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 -139
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
# Native Jev through OpenRouter
|
|
2
|
-
|
|
3
|
-
The OpenRouter adapter defaults to `typesafe/jev-1.13` and sends typed questions to
|
|
4
|
-
`POST https://openrouter.ai/api/v1/systemone`. It no longer automatically turns
|
|
5
|
-
a rejected Jev request into a chat completion. Explicitly configured chat models
|
|
6
|
-
are still supported and reported as `llm_emulation`.
|
|
7
|
-
|
|
8
|
-
## Configuration
|
|
9
|
-
|
|
10
|
-
Configure the key through your existing secret mechanism. Do not commit it.
|
|
11
|
-
|
|
12
|
-
```dotenv
|
|
13
|
-
JEV_PROVIDER=openrouter
|
|
14
|
-
OPENROUTER_MODEL=typesafe/jev-1.13
|
|
15
|
-
JEV_TIMEOUT_MS=2000
|
|
16
|
-
JEV_STAGE_C_TIMEOUT_MS=2000
|
|
17
|
-
JEV_CONCURRENCY=4
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Existing `OPENROUTER_MODEL` settings and saved OpenRouter models are preserved.
|
|
21
|
-
If your installation explicitly selected DeepSeek, change that model setting to
|
|
22
|
-
`typesafe/jev-1.13` to use native decisions. Provider status prints both the target
|
|
23
|
-
and decision mode. A custom `SafeJevClient.baseURL` uses the `/api` base, without
|
|
24
|
-
`/v1`; the adapter appends `/v1/systemone` or `/v1/chat/completions`.
|
|
25
|
-
|
|
26
|
-
Native TypeSafe and Vercel transports remain available. Pin a native TypeSafe
|
|
27
|
-
model with `TYPESAFE_DEFAULT_MODEL=jev-1.13.0` for reproducible comparisons.
|
|
28
|
-
|
|
29
|
-
## Failure and validation contract
|
|
30
|
-
|
|
31
|
-
- `noul` must be finite and within 0–1. Choice labels must belong to the submitted
|
|
32
|
-
options. Scores must be within the submitted rubric. All requested answers and
|
|
33
|
-
their matching type tags must be present.
|
|
34
|
-
- Choice/score confidence must be present and within 0–1. Missing confidence no
|
|
35
|
-
longer becomes `0.8`. Native probability distributions must include all allowed
|
|
36
|
-
labels, contain finite probabilities, and sum to one within rounding tolerance.
|
|
37
|
-
- Invalid responses are not cached. The context ranker uses its deterministic
|
|
38
|
-
heuristic for candidates whose request fails. No paid secondary model is
|
|
39
|
-
selected automatically.
|
|
40
|
-
- HTTP 400/401/402/403/404/413/422 are not retried. OpenRouter 429 and 5xx responses
|
|
41
|
-
get at most one retry, respecting `Retry-After` and the remaining time budget.
|
|
42
|
-
Network/JSON failures return fallback immediately.
|
|
43
|
-
- The client deadline covers retries and body parsing, with caller cancellation
|
|
44
|
-
propagated. Stage C additionally bounds the complete candidate evaluation,
|
|
45
|
-
including queue time. Its default is the client timeout, with at most four
|
|
46
|
-
in-flight calls. Queued work falls back when the deadline expires.
|
|
47
|
-
- Both OpenRouter paths disable provider fallback and request
|
|
48
|
-
`data_collection: "deny"`. This is not a claim of ZDR eligibility or a
|
|
49
|
-
replacement for application-specific data minimization. Existing redaction
|
|
50
|
-
covers known secret patterns, not all personal information.
|
|
51
|
-
|
|
52
|
-
## Cache and observability
|
|
53
|
-
|
|
54
|
-
Cache keys include provider, base URL, requested model, decision mode, question
|
|
55
|
-
contract and all candidate fields used in the request. Legacy cache entries are
|
|
56
|
-
not reused. Known floating aliases (`latest`, `preview`, `~` and the Vercel Jev
|
|
57
|
-
alias) bypass caching. When changing other aliases or downstream behavior,
|
|
58
|
-
disable/clear the cache for the comparison.
|
|
59
|
-
|
|
60
|
-
Ranked results distinguish `jev`, `llm_emulation`, and `deterministic_fallback`
|
|
61
|
-
and expose the returned model. Metrics and context telemetry retain actual model
|
|
62
|
-
IDs, LLM/native counts, tokens, fallback reasons, and reported cost. Cache hits do
|
|
63
|
-
not add billed tokens or cost again. `reportedCostUsd` sums only responses with
|
|
64
|
-
reported prices; `costedRequests` gives its coverage. An absent price is unknown,
|
|
65
|
-
not free. These metrics do not replace the provider's billing ledger, which can
|
|
66
|
-
include failed attempts, other requests, taxes and credit purchase fees.
|
|
67
|
-
|
|
68
|
-
LLM confidence is self-reported and must not be treated as calibrated Jev
|
|
69
|
-
probability. Native confidence itself also needs task-specific evaluation before
|
|
70
|
-
it is used to authorize actions. The ranker's composite is a relevance heuristic,
|
|
71
|
-
not a probability of correctness.
|
|
72
|
-
|
|
73
|
-
## Evaluation before rollout
|
|
74
|
-
|
|
75
|
-
1. In an isolated checkout, collect 30–50 real tasks and their required files.
|
|
76
|
-
2. Run deterministic-only, pinned native TypeSafe and pinned OpenRouter Jev
|
|
77
|
-
against the same snapshot. Disable cache for cold measurements and report
|
|
78
|
-
warm measurements separately. Keep the same candidate shortlist and budget.
|
|
79
|
-
3. Compare recall@K, downstream task success, input tokens, p50/p95 latency,
|
|
80
|
-
fallback rate and actual cost. Separate partial fallback and LLM emulation.
|
|
81
|
-
4. Inspect missed files before changing thresholds. Synthetic repository tests
|
|
82
|
-
verify mechanics; they do not establish production accuracy or advertised
|
|
83
|
-
latency. Live calls require separately supplied credentials and cost money.
|
|
84
|
-
|
|
85
|
-
The Finainteli classification experiment remains a separate change: backend-only,
|
|
86
|
-
shadow mode, reviewed anonymized transactions and a fixed permitted category set.
|
|
87
|
-
No Finainteli deployment, npm release or live paid benchmark is part of this PR.
|
|
88
|
-
|
|
89
|
-
References checked for the September 29 announcement:
|
|
90
|
-
- https://openrouter.ai/docs/api/api-reference/systemone/submit-a-system-one-request
|
|
91
|
-
- https://openrouter.ai/docs/guides/community/typesafe-sdk
|
|
92
|
-
- https://docs.typesafe.ai/confidence
|
|
93
|
-
- https://docs.typesafe.ai/model-jaggedness/jev-1.13
|
|
1
|
+
# Native Jev through OpenRouter
|
|
2
|
+
|
|
3
|
+
The OpenRouter adapter defaults to `typesafe/jev-1.13` and sends typed questions to
|
|
4
|
+
`POST https://openrouter.ai/api/v1/systemone`. It no longer automatically turns
|
|
5
|
+
a rejected Jev request into a chat completion. Explicitly configured chat models
|
|
6
|
+
are still supported and reported as `llm_emulation`.
|
|
7
|
+
|
|
8
|
+
## Configuration
|
|
9
|
+
|
|
10
|
+
Configure the key through your existing secret mechanism. Do not commit it.
|
|
11
|
+
|
|
12
|
+
```dotenv
|
|
13
|
+
JEV_PROVIDER=openrouter
|
|
14
|
+
OPENROUTER_MODEL=typesafe/jev-1.13
|
|
15
|
+
JEV_TIMEOUT_MS=2000
|
|
16
|
+
JEV_STAGE_C_TIMEOUT_MS=2000
|
|
17
|
+
JEV_CONCURRENCY=4
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Existing `OPENROUTER_MODEL` settings and saved OpenRouter models are preserved.
|
|
21
|
+
If your installation explicitly selected DeepSeek, change that model setting to
|
|
22
|
+
`typesafe/jev-1.13` to use native decisions. Provider status prints both the target
|
|
23
|
+
and decision mode. A custom `SafeJevClient.baseURL` uses the `/api` base, without
|
|
24
|
+
`/v1`; the adapter appends `/v1/systemone` or `/v1/chat/completions`.
|
|
25
|
+
|
|
26
|
+
Native TypeSafe and Vercel transports remain available. Pin a native TypeSafe
|
|
27
|
+
model with `TYPESAFE_DEFAULT_MODEL=jev-1.13.0` for reproducible comparisons.
|
|
28
|
+
|
|
29
|
+
## Failure and validation contract
|
|
30
|
+
|
|
31
|
+
- `noul` must be finite and within 0–1. Choice labels must belong to the submitted
|
|
32
|
+
options. Scores must be within the submitted rubric. All requested answers and
|
|
33
|
+
their matching type tags must be present.
|
|
34
|
+
- Choice/score confidence must be present and within 0–1. Missing confidence no
|
|
35
|
+
longer becomes `0.8`. Native probability distributions must include all allowed
|
|
36
|
+
labels, contain finite probabilities, and sum to one within rounding tolerance.
|
|
37
|
+
- Invalid responses are not cached. The context ranker uses its deterministic
|
|
38
|
+
heuristic for candidates whose request fails. No paid secondary model is
|
|
39
|
+
selected automatically.
|
|
40
|
+
- HTTP 400/401/402/403/404/413/422 are not retried. OpenRouter 429 and 5xx responses
|
|
41
|
+
get at most one retry, respecting `Retry-After` and the remaining time budget.
|
|
42
|
+
Network/JSON failures return fallback immediately.
|
|
43
|
+
- The client deadline covers retries and body parsing, with caller cancellation
|
|
44
|
+
propagated. Stage C additionally bounds the complete candidate evaluation,
|
|
45
|
+
including queue time. Its default is the client timeout, with at most four
|
|
46
|
+
in-flight calls. Queued work falls back when the deadline expires.
|
|
47
|
+
- Both OpenRouter paths disable provider fallback and request
|
|
48
|
+
`data_collection: "deny"`. This is not a claim of ZDR eligibility or a
|
|
49
|
+
replacement for application-specific data minimization. Existing redaction
|
|
50
|
+
covers known secret patterns, not all personal information.
|
|
51
|
+
|
|
52
|
+
## Cache and observability
|
|
53
|
+
|
|
54
|
+
Cache keys include provider, base URL, requested model, decision mode, question
|
|
55
|
+
contract and all candidate fields used in the request. Legacy cache entries are
|
|
56
|
+
not reused. Known floating aliases (`latest`, `preview`, `~` and the Vercel Jev
|
|
57
|
+
alias) bypass caching. When changing other aliases or downstream behavior,
|
|
58
|
+
disable/clear the cache for the comparison.
|
|
59
|
+
|
|
60
|
+
Ranked results distinguish `jev`, `llm_emulation`, and `deterministic_fallback`
|
|
61
|
+
and expose the returned model. Metrics and context telemetry retain actual model
|
|
62
|
+
IDs, LLM/native counts, tokens, fallback reasons, and reported cost. Cache hits do
|
|
63
|
+
not add billed tokens or cost again. `reportedCostUsd` sums only responses with
|
|
64
|
+
reported prices; `costedRequests` gives its coverage. An absent price is unknown,
|
|
65
|
+
not free. These metrics do not replace the provider's billing ledger, which can
|
|
66
|
+
include failed attempts, other requests, taxes and credit purchase fees.
|
|
67
|
+
|
|
68
|
+
LLM confidence is self-reported and must not be treated as calibrated Jev
|
|
69
|
+
probability. Native confidence itself also needs task-specific evaluation before
|
|
70
|
+
it is used to authorize actions. The ranker's composite is a relevance heuristic,
|
|
71
|
+
not a probability of correctness.
|
|
72
|
+
|
|
73
|
+
## Evaluation before rollout
|
|
74
|
+
|
|
75
|
+
1. In an isolated checkout, collect 30–50 real tasks and their required files.
|
|
76
|
+
2. Run deterministic-only, pinned native TypeSafe and pinned OpenRouter Jev
|
|
77
|
+
against the same snapshot. Disable cache for cold measurements and report
|
|
78
|
+
warm measurements separately. Keep the same candidate shortlist and budget.
|
|
79
|
+
3. Compare recall@K, downstream task success, input tokens, p50/p95 latency,
|
|
80
|
+
fallback rate and actual cost. Separate partial fallback and LLM emulation.
|
|
81
|
+
4. Inspect missed files before changing thresholds. Synthetic repository tests
|
|
82
|
+
verify mechanics; they do not establish production accuracy or advertised
|
|
83
|
+
latency. Live calls require separately supplied credentials and cost money.
|
|
84
|
+
|
|
85
|
+
The Finainteli classification experiment remains a separate change: backend-only,
|
|
86
|
+
shadow mode, reviewed anonymized transactions and a fixed permitted category set.
|
|
87
|
+
No Finainteli deployment, npm release or live paid benchmark is part of this PR.
|
|
88
|
+
|
|
89
|
+
References checked for the September 29 announcement:
|
|
90
|
+
- https://openrouter.ai/docs/api/api-reference/systemone/submit-a-system-one-request
|
|
91
|
+
- https://openrouter.ai/docs/guides/community/typesafe-sdk
|
|
92
|
+
- https://docs.typesafe.ai/confidence
|
|
93
|
+
- https://docs.typesafe.ai/model-jaggedness/jev-1.13
|
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**)
|