E0-3: language-neutral agent scaffold and run recorder

tools/eval (stdlib Python): one agent loop, system prompt and tool set
(list/read/write/edit files, run, finish) for every language; language
profiles for aji_air, rust, zig carry only toolchain invocation, docs
location and command classification; bubblewrap sandbox without
network, read-only toolchain and /docs; providers: Anthropic Messages,
OpenAI-compatible (incl. local servers), scripted; run record per
protocol §28 (hashes, versions, limits, hardware, seed, all events,
patches, commands, final repository, first-generation snapshot,
evaluator verdicts, cost); metrics §14-§17; resumable matrix plans;
report (VSR, repair cycles, context, cost per correct solution);
classify (§27 categories, caught-by, smoke-test causes).

docs/evaluation/harness.md (task format for the private benchmark
repository, evaluator contract, record schema); dev-tasks/dev-echo
(harness development task, no benchmark family); smoke plan shape for
the owner's E-S choice (binary/stream parser, bounded pipeline);
self-tests in CI
This commit is contained in:
dev committed 2026-10-04 17:17:43 +03:00
1 parent d2932bd75a
commit b49003bdb9
38 files changed
+1735 -5

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
{
"name": "aji_air",
"display": "Aji (condition Aji/AIR: text AIR format 0)",
"toolchain": {
"binaries": ["${REPO}/zig-out/bin/aji"],
"version": [["${REPO}/zig-out/bin/aji", "features"]]
},
"docs": {"env": "AJI_EVAL_AJI_DOCS", "default": "${REPO}/zig-out/agent/reference-bundle.md"},
"source_extensions": [".air"],
"instructions": "Language: Aji, written directly as text AIR format 0 (`.air` files).\nToolchain: `aji check FILE.air` verifies a module and prints diagnostics as JSON lines; `aji run [--grant P=KIND[:SCOPE]]... [--stdin TEXT] FILE.air` verifies and runs `@main` in the deterministic profile and prints one JSON run record; `aji features` lists the supported AIR features; `aji --help` lists all commands.\nDocumentation: the Aji Agent Reference Bundle is in /docs (read-only). It is the complete reference for writing AIR.",
"classify": {"check": ["aji check"], "build": [], "test": ["aji run"]}
}
+13
View File
@@ -0,0 +1,13 @@
{
"name": "rust",
"display": "Rust",
"toolchain": {
"bind_command": ["rustc", "--print", "sysroot"],
"version": [["rustc", "--version"], ["cargo", "--version"]]
},
"docs": {"env": "AJI_EVAL_RUST_DOCS", "default": ""},
"source_extensions": [".rs"],
"instructions": "Language: Rust (stable toolchain, standard library only; no network, so no crates.io dependencies).\nToolchain: `cargo build`, `cargo test`, `cargo run`, `rustc`. Cargo works offline (`--offline` is implied by the environment).\nDocumentation: pinned local Rust documentation is in /docs (read-only), if present.",
"env": {"CARGO_NET_OFFLINE": "true"},
"classify": {"check": ["cargo check"], "build": ["cargo build", "rustc"], "test": ["cargo test", "cargo run"]}
}
+12
View File
@@ -0,0 +1,12 @@
{
"name": "zig",
"display": "Zig",
"toolchain": {
"binaries": ["zig"],
"version": [["zig", "version"]]
},
"docs": {"env": "AJI_EVAL_ZIG_DOCS", "default": ""},
"source_extensions": [".zig"],
"instructions": "Language: Zig (the pinned toolchain below; standard library only; no network).\nToolchain: `zig build`, `zig build test`, `zig build run`, `zig run FILE.zig`, `zig test FILE.zig`.\nDocumentation: pinned local Zig documentation is in /docs (read-only), if present.",
"classify": {"check": ["zig ast-check"], "build": ["zig build-exe", "zig build"], "test": ["zig build test", "zig test", "zig build run", "zig run"]}
}