Files
aji/docs/evaluation
dev 6eceb4405b E0-1: Agent Reference Bundle and Phase 2 baseline
- docs/agent/bundle.txt: minimal AIR reference by file and section
  (grammar, instructions, types, traps, verifier rules, resources,
  effects, capabilities, intrinsics, heap/regions, unsafe, runtime
  contract, diagnostics and registries); syntax-example.air verifies
  and runs
- zig build agent-reference: deterministic bundle and report (files,
  sections, bytes, lines, words); section extraction ignores fenced code
- tools/agent_bundle_tokens.py: cl100k_base, o200k_base and Qwen2.5 BPE
  counts; growth warnings >10 % and review >20 % against history.json
- baseline after Phase 2: 104 250 bytes, 16 197 words, ~27.3k tokens
- CI builds the bundle and counts tokens (non-blocking)
- evaluation protocol 0.2: benchmark families, Aji/AIR and Aji/source
  conditions, 36-run engineering smoke test, order of work
- RFC template and AGENTS.md: report bundle growth
2026-10-04 15:44:26 +03:00
..

Evaluation

Non-normative. Empirical validation of the Aji hypothesis stated in spec 14: that the language, verifier and runtime take over enough reasoning for weaker models to write correct systems software at lower cost (Model Capability Compression).

Document Purpose
protocol.md Agent Language Evaluation Protocol 0.2: variables, benchmark families T01–T10, conditions Aji/AIR and Aji/source, maintenance and seeded-bug benchmarks, metrics, statistics, stages A–E, success and falsification criteria
../agent/README.md Agent Reference Bundle: contents, measurement, growth policy, milestones

Integrity rules (protocol §7, §29; spec 14 §12)

  • This public repository contains only the protocol and dev material. Hidden tests, evaluators and reference implementations of the validation and test sets live in a separate private benchmark repository.
  • Agents used to develop the language (including the agent working in this repository) MUST NOT see the held-out corpus.
  • Language features MUST NOT be introduced to improve a specific benchmark task; benchmark failures are classified first (protocol §38).
  • Negative results are kept and reported (protocol §37).

Stages and language milestones

Stage Tasks Requires Status
A — Phase 2 validation T01–T04 Phase 2 (heap, regions, resources, capabilities, effects, deterministic I/O) language ready; infrastructure pending (plan E0)
B — Phase 3 validation T05–T07 Phase 3 (structured concurrency, schedule exploration) blocked on Phase 3
C — Atomic validation T08, litmus repair Phase 5 (atomics, memory model) blocked on Phase 5
D — Systems integration T09, T10 Phases 3–5; stable features blocked
E — Maintenance campaign M1–M8 on T03, T07, T09, T10 D blocked

Until the source language (Phase 6) exists, Aji runs use the condition Aji/AIR: the agent writes text AIR directly. This is a deliberate experiment, not a stopgap: if AIR alone helps weaker models, that is strong evidence, and after Phase 6 Aji/source is compared against Aji/AIR.

Order (protocol §30a): bundle baseline (done) → Phase 3 → second bundle measurement → private benchmark repository (in parallel) → harness → 36-run smoke test (§39a) → 108-run Stage A pilot.