Files
aji/docs/plan/conformance-suite.md
T
dev 72192c2331 spec: agent efficiency objectives and evaluation protocol
- spec 14: Model Capability Compression, design objectives (correctness
  externalization, small semantic surface, explicit semantics, local
  reasoning, machine repairability, deterministic feedback, bounded
  context / Agent Reference Bundle), economic objective, design review
  requirement, hypotheses H1-H6, non-goals, anti-overfitting rule
- docs/evaluation/protocol.md: Agent Language Evaluation Protocol 0.1
  (tasks T01-T10, maintenance and seeded-bug benchmarks, metrics,
  statistics, stages A-E, success and falsification criteria)
- docs/evaluation/README.md: integrity rules, stage readiness
- RFC process: mandatory Agent complexity impact section
- AGENTS.md: overarching objective and anti-overfitting rule
- plan: evaluation track E0-1..E-1; P8-7 integrates ajid with the
  scaffold; conformance plan points to the protocol
2026-10-04 15:36:32 +03:00

1.4 KiB

Conformance Suite

Reference programs

1. hello

Tests compiler/interpreter/runtime bootstrap.

2. file-copy

Tests:

  • file resources;
  • regions;
  • slices;
  • fallible I/O;
  • cleanup paths.

3. tcp-echo

Tests:

  • socket typestate;
  • tasks;
  • cancellation;
  • resource transfer.

4. append-log

Tests:

  • checksums;
  • bounded memory;
  • crash/recovery behavior;
  • explicit fsync;
  • serialization;
  • resource safety.

5. parallel-map

Tests:

  • slice partition proof;
  • scoped mutable borrows;
  • task join;
  • cancellation.

6. island-pipeline

Tests:

  • cyclic mutable graph;
  • channel transfer;
  • sender invalidation;
  • receiver ownership;
  • freeze and concurrent reads.

Negative verifier corpus

Must include:

  • use after move;
  • overlapping mutable borrows;
  • region reset with live reference;
  • use of prior region generation;
  • island internal reference escape;
  • non-Send transfer;
  • non-Share concurrent read;
  • task escape;
  • async buffer use while in flight;
  • invalid atomic ordering;
  • missing capability;
  • undeclared effect;
  • linear resource leak.

Concurrency stress modes

Run concurrency tests with:

1 worker
2 workers
N workers
deterministic schedule
randomized schedule
forced yield at synchronization points
slow consumer
cancellation during waits
I/O completion reordering

Agent benchmark

Superseded by the Agent Language Evaluation Protocol: ../evaluation/protocol.md (spec 14).