agents-lab

Local-first lab for reusable AI-agent primitives and the curated pi-stack.

View on GitHub

Evidence Ladder

Status: operating guide for evidence-first work.

This guide defines how agents-lab turns a claim into evidence. It complements 0.8 Scope Boundary: the boundary says which ring a capability belongs to; this ladder says what proof is needed before the project can claim progress.

Principle

A result is strong when another agent or maintainer can reproduce the same conclusion without knowing the conversation that produced it.

That means every promoted claim should have:

Level 0: Conversation Only

Use this for thinking, triage and direction-setting.

Evidence shape:

Promotion trigger:

Promote to Level 1 by writing a guide, research note, board task or primitive.

Level 1: Written Boundary

Use this when the important outcome is conceptual clarity.

Evidence shape:

Current examples:

This level proves alignment, not runtime behavior.

Level 2: Deterministic Local Check

Use this for claims about docs, package metadata, boundaries and static/runtime contracts that can be checked without external services.

Evidence shape:

Canonical checks:

pnpm run docs:site:smoke
pnpm run docs:package:check
pnpm run test:pi-stack:user-surface
pnpm run test:engine:boundary
pnpm run engine:boundary:audit
pnpm run release:package:smoke
pnpm run release:readiness:v0.8.0:json

This level proves the local contract is coherent. It does not prove UX quality, provider quality or long-run autonomy.

Level 3: Runtime Readiness Packet

Use this when the claim depends on current local runtime state.

Evidence shape:

Canonical checks:

pnpm run pi:runtime:health:json
pnpm run pi:dev:pressure:json
pnpm run pi:artifact:audit
pnpm run subagent:readiness
pnpm run decoupling:maturity:json

This level proves that the current environment can continue a bounded class of work. It does not prove that the capability should become a default.

Level 4: Benchmark Or Canary Packet

Use this for claims about quality, speed, cost, routing, worker behavior or model/provider suitability.

Evidence shape:

Canonical checks and families:

pnpm run benchmark:context
pnpm run calibrate:repro
pnpm run agent-run:driver-canaries
pnpm run test:agent-run:drivers

Existing research families:

This level proves a bounded behavior under a known setup. It does not promote a setting, provider, bridge or orchestration mode by itself.

Level 5: Promotion Decision

Use this when a capability should move closer to the default path.

Evidence shape:

Required questions:

  1. Which ring does this belong to: baseline, lab, advanced operation or research?
  2. What breaks if it stays opt-in?
  3. What breaks if it becomes default?
  4. Which command proves it still works after a fresh checkout?
  5. Which claim must remain explicitly out of scope?

Promotion may update defaults only after the evidence answers those questions.

First Result Set For 0.8.x

To make agents-lab results repeatable and reviewable, prioritize this small set:

Result Evidence Non-claim
Baseline release readiness is green pnpm run release:readiness:v0.8.0:json Does not approve tag or publish
Public/docs navigation is coherent pnpm run docs:site:smoke + pnpm run docs:package:check Does not prove every research page is current
Default user surface is small and dogfooded pnpm run test:pi-stack:user-surface + pnpm run pi-stack:user-surface Does not prove every opt-in extra is good or every public claim is ready
Engine boundary stays portable pnpm run engine:boundary:audit Does not mean Refarm adapter exists
Runtime can continue bounded local work pnpm run pi:runtime:health:json Does not authorize long-run autonomy
Worker envelope is bounded pnpm run agent-run:driver-canaries Does not authorize broad swarm/colony
Context economy can be compared pnpm run benchmark:context Does not create a universal context rule
Host checkout/cache bridge is worth building future read-only discovery packet Does not authorize broad host scans

Host Checkout And Cache Bridge Evidence

The bridge should start as Level 4 evidence, not as default runtime behavior.

Minimum first packet:

A good first benchmark question is:

Can an agent inside the agents-lab container find and summarize the operator’s approved adjacent/cache checkouts well enough to compare local evidence against ecosystem references without manual path gymnastics?

Passing that question once proves usefulness. Passing it in two real workflows makes it a candidate for a primitive or tool.

Claim Discipline

Do not write public claims like these without Level 4 or Level 5 evidence:

Prefer narrower claims: