Files
aji/tools/eval/triage.json
T
dev 65e7a0a97c eval: advisory instruction feedback from Claude Code sessions
`ajieval sessions` pairs each human prompt with what the assistant did
just before it, and asks Jev whether the prompt was a correction and which
repository rule (AGENTS.md, the aji-jev skill, commit memory) the corrected
behaviour broke. Excerpts are truncated and credential-like strings
redacted; answers stay in a local log, and each prompt is sent once.

`sessions report` proposes clarifying a rule only when corrections pointing
to it recur across sessions (thresholds in triage.json); it never edits
instructions. `sessions hook` is meant for a personal SessionEnd hook: it
returns at once and scans in the background, and does nothing without a
TypeSafe key, which may now also come from ~/.config/typesafe/api_key.
2026-10-07 22:37:24 +03:00

17 lines
1.4 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},
"sessions": {"min_correction": 0.7, "min_rule_confidence": 0.6, "min_events": 3, "min_sessions": 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"}
}
}