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
This commit is contained in:
1 parent
72192c2331
commit
6eceb4405b
13 files changed
+470
-11
No files matched your search
@@ -4,7 +4,8 @@ Non-normative. Empirical validation of the Aji hypothesis stated in [spec 14](..
|
||||
|
||||
| Document | Purpose |
|
||||
|---|---|
|
||||
| [protocol.md](protocol.md) | Agent Language Evaluation Protocol 0.1: variables, tasks T01–T10, maintenance and seeded-bug benchmarks, metrics, statistics, stages A–E, success and falsification criteria |
|
||||
| [protocol.md](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/README.md) | Agent Reference Bundle: contents, measurement, growth policy, milestones |
|
||||
|
||||
## Integrity rules (protocol §7, §29; spec 14 §12)
|
||||
|
||||
@@ -23,4 +24,6 @@ Non-normative. Empirical validation of the Aji hypothesis stated in [spec 14](..
|
||||
| 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, an Aji run means an agent writing text AIR directly. Stage A therefore measures AIR as the agent-facing language; results must say so.
|
||||
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.
|
||||
@@ -1,7 +1,8 @@
|
||||
# Aji Agent Language Evaluation Protocol
|
||||
|
||||
Version: 0.1
|
||||
Version: 0.2
|
||||
Status: Proposed
|
||||
Changes in 0.2: T01–T10 are benchmark families (§9); Aji conditions `Aji/AIR` and `Aji/source` (§2); engineering smoke test before the pilot (§39a); stage order (§30a).
|
||||
Purpose: empirical validation of the Aji language hypothesis (spec 14)
|
||||
|
||||
# 1. Goal
|
||||
@@ -48,6 +49,15 @@ C
|
||||
|
||||
C is useful as a low-level baseline but is not required for every experiment.
|
||||
|
||||
Aji is evaluated as two separate conditions:
|
||||
|
||||
```text
|
||||
Aji/AIR the agent writes text AIR directly
|
||||
Aji/source the agent writes .aji source lowered to AIR (from Phase 6)
|
||||
```
|
||||
|
||||
Results MUST be labelled with the condition. Comparing the two answers whether an agent needs a high-level source language at all, or whether AIR is the better agent-facing interface while `.aji` serves humans.
|
||||
|
||||
## Model capability
|
||||
|
||||
At least four capability classes:
|
||||
@@ -241,7 +251,9 @@ Broken tasks are removed before results are examined.
|
||||
|
||||
---
|
||||
|
||||
# 9. Task classes
|
||||
# 9. Benchmark families
|
||||
|
||||
T01–T10 below are **benchmark families**, not concrete tasks. Each family names the properties it exercises and gives an illustrative task. The private corpus contains concrete tasks that instantiate a family with different wire formats, storage models, requirements and hidden mutations (for example a family T03 task might be "A17 Segmented Journal"). The published descriptions are therefore never the evaluated tasks, which keeps this protocol public without disclosing the held-out corpus (§7, §29).
|
||||
|
||||
## T01 — Binary Frame Decoder
|
||||
|
||||
@@ -1309,6 +1321,28 @@ No claims about concurrency yet.
|
||||
|
||||
---
|
||||
|
||||
# 30a. Order of work
|
||||
|
||||
```text
|
||||
E0-1 Agent Reference Bundle, baseline after Phase 2
|
||||
↓
|
||||
Phase 3 structured concurrency
|
||||
↓
|
||||
second bundle measurement
|
||||
↓
|
||||
private benchmark repository (in parallel, outside this repository)
|
||||
↓
|
||||
E0-3 harness
|
||||
↓
|
||||
engineering smoke test (§39a)
|
||||
↓
|
||||
Stage A pilot on Aji/AIR (§39)
|
||||
```
|
||||
|
||||
The full Stage A is deliberately run after the basic Phase 3, so that early benchmark work does not start shaping the language before its concurrency model exists.
|
||||
|
||||
---
|
||||
|
||||
# 31. Stage B — Phase 3 validation
|
||||
|
||||
After structured concurrency:
|
||||
@@ -1495,9 +1529,25 @@ Do not add syntax or instructions merely because one model struggled with one ta
|
||||
|
||||
---
|
||||
|
||||
# 39a. Engineering smoke test
|
||||
|
||||
Before the pilot, a small run checks the infrastructure, not the hypothesis:
|
||||
|
||||
```text
|
||||
2 families (e.g. binary frame decoding, append log)
|
||||
× 3 languages (Aji/AIR, Rust, Zig)
|
||||
× 3 model classes
|
||||
× 2 runs
|
||||
= 36 runs
|
||||
```
|
||||
|
||||
It verifies that task statements are equivalent across languages, the harness works, the Agent Reference Bundle is sufficient, token and cost accounting is right, traces are stored completely and prompts carry no bias. No result of the smoke test is reported as evidence.
|
||||
|
||||
---
|
||||
|
||||
# 39. First concrete experiment
|
||||
|
||||
As soon as RFC 0008 is implemented, run a pilot:
|
||||
After the smoke test (§39a), run a pilot:
|
||||
|
||||
```text
|
||||
tasks:
|
||||
|
||||
Reference in new issue
Block a user