7 Commits
Author SHA1 Message Date
devandClaude Opus 5.5 0e98638bc6 eval: gobang as a Track B native agent
gobang, the Aji-native harness, joins Codex, Claude Code and OpenCode in
ajieval native. Like them it is an agent product: its runs are never
evidence for H4. Model ids choose the provider: claude-* the Anthropic
API, any other GLM via z.ai, fixture:PATH a scenario without network
(self-tests).

gobang reaches the model over its API, so the key's variable is passed
into the sandbox environment; NativeAgent.env supplies it, its value
never enters the run record, and a missing key stops the run before
anything is created. Tool processes run in gobang's own networkless
bubblewrap sandbox, so no shell wrapper is used. The transcript is
gobang's journal: usage, tool calls and the model come from its events,
the repair metrics from its toolchain tools (aji_check, aji_run,
run_tests with aji's exit codes), and its documentation tools count as
reads of /docs files.

Checked end to end on dev-echo (aji_source) with a fixture model: the
dev evaluator accepts the solution, the workspace holds only the
solution, and the first-check and first-test metrics are exact. With a
fake key the run reaches z.ai from the sandbox and ends INFRA_FAILED
(auth) without the key in any file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 15:00:36 +03:00
dev c2c238d9b1 M checkpoints recorded; harness statuses; memory test split; P6A-12
- results note docs/evaluation/results/2026-10-06-m-checkpoints.md:
  both checkpoints, owner's assessment (IR-tax closed at the engineering
  level, layer 7 GO; cost hypothesis open); plan status and order
- P6A-12: source type-check completeness (E1001 reached the verifier
  from a source run); not a layer 7 blocker
- harness: metrics.agent_status (max_tokens for a reply cut at its
  length limit, provider_rate_limited for 429/usage limits) and
  metrics.evaluation_status (accepted/rejected/evaluator_error/
  infrastructure_failure/not_evaluated), kept apart; termination records
  max_tokens; checkpoint rows show both; evaluator contract: an
  infrastructure failure sets "infrastructure": true
- interpreter memory test: fast form (20k-320k iterations, 256 KiB
  threshold via Options.collect_threshold) in zig build test; full form
  (100k/1M/4M) in zig build test-extended; CI job 'extended' also runs
  conformance with --collect-every-step
2026-10-05 17:43:55 +03:00
dev 3e2d9b63a7 P6A-8: Source Reference Bundle and harness profile aji_source
- source bundle: a /docs directory with QUICK.md (Quick Reference plus a
  where-to-read table), language/*.md, diagnostics/errors.md and the AIR
  bundle only under air/; built from docs/agent/source-bundle.txt
  (> output files, @manifest includes) by zig build agent-reference
- Quick Reference examples are checked: every aji block must be an
  excerpt of a conformance program in tests/conformance/source/quickref
  (zig build test fails otherwise); QR fixes found by the check
  (mut d = data, region not auto-borrowed, statement/borrow blocks that
  could not verify, io_error match)
- frontend: task.*/channel.*/mutex.* are not-yet-implemented, not E7006
- aji lower --stats: mechanical_air_eliminated_raw and _normalized (each
  byte-string materialization counted as one constant; spec 15 §11)
- harness: profile aji_source (doc_groups), per-file and per-group docs
  metrics on distinctive lines, profile columns (tool calls, lowered AIR
  raw/normalized, docs files read, IR-form and type-mismatch counts),
  dev-echo aji_source variant, scripted run and test, source token report
- plan: P6A-8 done, P6A-9 criteria; Q-021/Q-022 resolved; unsafe block
  deferred
2026-10-05 13:16:51 +03:00
dev 2ee1ff192f eval: evaluator environment, evaluator.log, ajieval evaluate
The evaluator now receives AJIEVAL_LANGUAGE, AJIEVAL_TOOLCHAIN_PATH and
AJIEVAL_TOOLCHAIN_DIRS (the toolchain exactly as the agent's sandbox had
it), its full output is saved as evaluator.log in the run directory, and
ajieval evaluate runs an evaluator on any workspace exactly as the
harness does. harness.md documents what a sandboxing evaluator should do
(bind the toolchain dirs, private CARGO_HOME + --offline, build without
the agent's target/ and caches, report infrastructure failures
distinctly).
2026-10-04 19:40:23 +03:00
dev 93cf553a77 eval: Track B repair metrics from transcripts, ajieval summary, authoring prompts
- native runs derive toolchain invocations, failed verifier/test cycles,
  first check and first public test from the transcript's shell commands
  (exit codes, per-language diagnostic patterns in the profiles)
- ajieval summary: shareable PASS/FAIL matrix per task, per-cell metrics
  (verified, first attempt, repair cycles, tool calls, time, unique
  bundle, context via tools, provider cached/uncached, classification,
  caught by) and aggregates by language and agent
- benchmark-authoring.md: owner's prompts for the benchmark author and
  the per-language reference implementers, order of work, re-gate rule,
  no commits to this repository between freeze and the 18th run, what
  comes back to the language developer
2026-10-04 18:03:27 +03:00
dev 8b7911669d Track B: networkless shell, context metrics, freeze, journal
- Claude Code and OpenCode: system shells replaced inside the sandbox by
  wrappers that run every command in a nested bubblewrap with an empty
  network namespace and no resolver socket; the CLI keeps its backend
  connection. dev-netprobe (new dev task) passes for all three agents:
  no network, no DNS from the shell
- context metrics for both tracks: provider input (cached/uncached),
  cumulative context through the tool loop, unique reference tokens and
  bundle coverage; report shows them; no dollar cost for Track B
- ajieval freeze: frozen state (clean Aji commit, binary, bundle,
  toolchains, docs, CLI versions and config fingerprints, tasks,
  evaluator, limits) and a shuffled cell order; matrix verifies it and
  runs cells sequentially in that order; ajieval journal
- docs: benchmark-authoring.md (roles, clean-context brief, E-G
  checklist); harness.md, protocol §39b, plan updated
2026-10-04 17:58:32 +03:00
dev 00cbb65447 E-N0: native-agent mode (Track B) and the native dev-echo gate
ajieval native: Codex, Claude Code and OpenCode in bubblewrap with a
shared network (backend only matters), a fresh HOME holding only the
credential file and a harness-written minimal config (no user skills,
MCP, memory, agents, plugins, global instructions), /work, read-only
/docs and toolchain; evaluator and Aji repository invisible. Codex:
workspace-write sandbox (shell without network), web search and product
features off. Claude Code: tools Bash/Read/Edit/Write, strict MCP,
slash commands off. OpenCode: pure, no MCP, webfetch/websearch/task off.
Record aji-eval-native/1: CLI version, requested/transcript model,
effort, account mode, config, command line, times, transcript, usage
(normalized), patch, final repository, verdict.

Gate on dev-echo (Aji/AIR) accepted for all three: codex 0.160.0 +
gpt-6.1-sol (high), Claude Code 2.1.288 + claude-opus-5-5 (high),
OpenCode 1.18.34 + zai-coding-plan/glm-5.3-flash. Protocol §39b and
plan: Track B first (E-N0 done, E-N 18 runs), Track A after analysis.
2026-10-04 17:48:43 +03:00