Repository navigation
0.10.0 - 2026-10-31
AI Operations Specification evaluation evidence export (roadmap v0.10).
Added
to_aios_evidence(report, run_id=..., targets=..., gate=...)returns an
AIOSEvidenceExportof AIOS0.4-draftevaluationevidence objects. Every
score, case verdict and optionalGateDecisionbecomes one evaluation whose
attributescarrycriterion,method(evaluator, version and type),
resultandscore, with oneevaluatesrelationship per mapped target and
anaiops.evaluation.completed(or.failed) event that names method,
criterion, targets and result.attach_aios_evidence(run, export)returns a copy of an AIOS Run artifact
with the evidence merged in, after checking the Run ID, that every
non-external target exists in the Run with the declared type, and that no ID
is already taken. It accepts a list of exports.agentic-evals aios export REPORTwith--run,--targets,
--default-target,--default-run,--gate,--allow-unmappedand
--id-prefix. Mapping and merge errors exit 2.- The
export-aios-evidenceskill playbook (18 skills). - A runnable example in
examples/aios/whose merged Run passes
deep-agentic-core-mcp'sspec.validate_artifactwith
conformance.aligned = true. CI regenerates it and fails on drift. docs/aios-evidence.md, plus CLI, API reference and contract updates.
Behavior
- The export never guesses. No target mapping, a mapping key that is not a
case in the report, or a case with no target raisesAIOSExportError(a
ValueError). Withallow_unmapped=Truesuch cases are left out and listed in
unmapped_cases. - A case with no observed output (no sample, or a live target that timed out
or errored) is not exported, because nothing in the Run could have been
judged. It needs no mapping and is listed inunobserved_cases. - A skipped score is exported with result
skipped, no score value and no
event. A judgment the judge could not deliver isunavailablewith no score,
and emitsaiops.evaluation.failed. Neither is ever exported as a pass. - Native report schema 1.0, its
$idand the gate decision shape are
unchanged. No runtime dependency is added and no sibling package is imported.
Tests
- The AIOS v0.4 run schemas and valid run example are vendored in
tests/fixtures/aios-v0.4/and compared with a siblingai-operations-spec
checkout (orAIOS_SPEC_PATH) when present. Exports are checked against the
schema and the P02, P03, P05, P06, P07, P08, P10 and P11 semantic rules, and
against MCP's validator when it is installed.
Documentation
- Three hosted use cases at https://deepagentlabs.io/agentic-evals/usecases/,
each with a browser-only illustration: a CLI release gate with a safety tag
floor, trace-aware tool order and argument checks, and a judge reliability
gate. Their files are inexamples/usecases/, andtests/test_usecases.py
keeps the pages' quoted files and outputs in step with the package.