- 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
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: mlugg/setup-zig@v2
|
|
with:
|
|
version: 0.17.0
|
|
- run: zig fmt --check build.zig build.zig.zon src tools tests/extended
|
|
- run: zig build test --summary all
|
|
- run: zig build conformance
|
|
- run: zig build conformance -- --stress 200
|
|
- run: zig build && python3 tests/hosted/smoke.py
|
|
- run: zig-out/bin/aji run --grant out=io.write --grant heap=mem.alloc:64 docs/agent/syntax-example.air
|
|
- run: zig build agent-reference
|
|
- name: Evaluation harness self-tests
|
|
run: cd tools/eval && python3 -m unittest discover tests
|
|
- name: Agent Reference Bundle tokens (non-blocking)
|
|
continue-on-error: true
|
|
run: pip install --quiet tiktoken tokenizers && python3 tools/agent_bundle_tokens.py
|
|
- run: zig-out/bin/aji run --manifest examples/packages/hello/aji.toml | grep -q '"stdout":"hello, aji\\n"'
|
|
|
|
# Long-running tests, kept out of the main job.
|
|
extended:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: mlugg/setup-zig@v2
|
|
with:
|
|
version: 0.17.0
|
|
- run: zig build test-extended --summary all
|
|
- run: zig build conformance -- --collect-every-step
|
|
- run: zig build conformance -- --stress 20 --collect-every-step
|