`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.
3.0 KiB
3.0 KiB
name, description
| name | description |
|---|---|
| aji-jev | Use when classifying failed Aji evaluation runs, deciding whether a spec, diagnostic, agent-bundle or documentation improvement is warranted, or when TypeSafe/Jev comes up in this repository. Covers `ajieval classify --suggest`, `calibrate` and `triage`, and the hard limits on where Jev may be used. |
Jev in Aji: advisory triage only
Jev (TypeSafe) is a System One classifier. It answers typed questions (choice, score, noul) about a small state and returns calibrated probabilities. In this repository it only suggests. The verifier, conformance tests and the owner decide.
Hard limits
- Only
tools/eval/. Never call Jev fromsrc/, the verifier, the interpreter,build.zig, CI gates or conformance verdicts. Aji is deterministic, and an external model is not. - Only failed runs of the
devandvalidationsets. Never send atest-set run, a held-out task or anything from the private benchmark repository (protocol §29, spec 14 §12).jev.check_sendableenforces this; do not bypass it. - No language change follows from a classification alone. Protocol §38 requires repeated failures across tasks and agents;
triageenforces this through the minimums intools/eval/triage.json. - Nothing during a frozen experiment. Pass
--plantotriage. Record observations withajieval journaland act only after the last cell has run. - Never tune the language to the M or C corpus or to one benchmark task.
Workflow
- For each failed dev/validation run:
python3 -m ajieval classify RUN --suggest. This needsTYPESAFE_API_KEY; never print or record it. - A human confirms or overrides the suggestion with
python3 -m ajieval classify RUN CATEGORY --cause CAUSE [--caught-by ...]. - Once enough runs have both a human label and a suggestion, run
python3 -m ajieval calibrate runs/. Propose"calibrated": trueand the thresholds intriage.jsonto the owner only when agreement among auto-accepted suggestions is high. Do not flip it yourself. - Run
python3 -m ajieval triage runs/ [--plan PLAN]. For each proposal, act according to its route:diagnostics: patch the message insrc/diag.ziganddocs/reference/error-codes.md, add a test, open a PR.agent_bundle/documentation: clarifydocs/agent/, the Quick Reference or the reference without changing meaning. Check the bundle growth (tools/agent_bundle_tokens.py).language: add an entry todocs/design/open-questions.mdwith the evidence (runs, tasks, agents, codes). Only the owner turns it into an RFC.harness: fixtools/eval/.task_ambiguity: run the task acceptance review (protocol §8).model_capability: nothing.
Changing the questions
The option descriptions in tools/eval/ajieval/jev.py are the classifier's input. A change there changes questions_hash, and suggestions made under different hashes must not be mixed in calibrate. Keep the descriptions atomic and literal: Jev reads instructions at face value and handles multi-hop reasoning poorly.