Files
aji/tools/eval/triage.json
T
dev f733f7c7bb eval: advisory Jev failure classification and improvement triage
`classify --suggest` asks TypeSafe Jev for the protocol §27 category, where
the failure was caught and the §38 cause, and stores the answer beside the
human classification. Only failed dev/validation runs are sent; test-set
runs are refused before any request (§29). `--auto-accept` acts only when
triage.json is calibrated and every confidence meets its threshold.

`calibrate` measures agreement with human labels per question. `triage`
groups classified failures and proposes a routed change only across enough
runs, tasks and agents, and withholds proposals while a frozen plan is
incomplete. It reports; it never edits spec, bundle or code.

The evaluator environment no longer carries TYPESAFE_* variables. The
aji-jev skill records where Jev may and may not be used.
2026-10-07 22:21:47 +03:00

16 lines
1.3 KiB
JSON

{
"_comment": "Thresholds and routing for `ajieval triage` and `classify --suggest --auto-accept`. The single reviewable place for these constants; change them by review, never during a frozen experiment.",
"calibrated": false,
"min_confidence": {"category": 0.8, "cause": 0.8, "caught_by": 0.8},
"proposal": {"min_events": 3, "min_tasks": 2, "min_agents": 2},
"routes": {
"diagnostics": {"layer": "diagnostic text", "target": "src/diag.zig, docs/reference/error-codes.md", "action": "patch the message and add a test; PR review"},
"agent_bundle": {"layer": "agent bundle", "target": "docs/agent/, Quick Reference", "action": "patch; PR review; only between experiment iterations"},
"documentation": {"layer": "documentation", "target": "docs/reference/, explanatory spec prose", "action": "clarify without changing meaning; PR review"},
"harness": {"layer": "harness", "target": "tools/eval/", "action": "issue"},
"language": {"layer": "language", "target": "docs/design/open-questions.md", "action": "open-question entry with the evidence below; an RFC only by owner decision (protocol §38)"},
"task_ambiguity": {"layer": "benchmark", "target": "task statement", "action": "task acceptance review (protocol §8)"},
"model_capability": {"layer": "none", "target": null, "action": "log only"}
}
}