§5 — Documentation campaign: 25-name stratified pilot (landed 2026-07-17)

Evergreen: model-selection-and-global-refine §5. The pilot is the first live use of the §4 campaign engine. Scaled batches are gated on lead approval of the manifest and the measured cost below.

Quick status

ItemStatusEvidence
Revalidation sweep (pre-campaign)✓ shipped436 re-stamped; derived quarantines 62 → 10 (4 unit defects + 6 genuine audit findings); accepted-stage quarantines 125
Stratified pilot selection (--campaign-pilot N)✓ shippedimas-codex 0882e417 — domain round-robin, defect-class rotation, deterministic seed; 7 tests
Full-campaign manifest (dry-run)✓ generated2,288 names → 23 batches of 100; per-predicate audit 2,260 / typical-values 1,257 / estimator 779 / padding 676 / quarantined 125
25-name pilot (live)✓ converged1 batch: 24/25 docs accepted (96% ≥ 90% gate), 0 banned-prose reintroductions, 0 name drift
Campaign cost telemetry fix✓ shippedimas-codex 763a5a14 — drain returns pool-session spend; ceiling now accounts real dollars (pilot had logged $0.00)
Banned-prose vocab relocation✓ shippedimas-codex a469501d — neutral prose_policy module; production no longer imports from the benchmark module
Scaled batches (23 × 100)⏸ awaiting lead approvaldecision inputs below

Pilot composition

Deterministic stratified sample (seed 0) drawn from the 2,288-name selection: all 18 physics domains represented (2 names from the larger domains, 1 from the smaller), defect classes rotated within each domain. Predicate mix: audit 21, typical-values 13, estimator-recipe 9, procedural-padding 5, quarantined 3. The same seed reproduces the identical member set in the live run — the manifest the lead reviews is exactly what runs.

Pilot outcome

Gate axisThresholdMeasuredVerdict
Docs acceptance≥ 90%24/25 = 96%PASS
Banned prose reintroduced00 (grep-audit on all 25 refreshed docs)PASS
Name-identity drift00 (all 25 still accepted under the same id)PASS
Provenancefull25/25 campaign_docs_refine change events; 23/25 DocsRevision snapshots (2 members had no prior documentation — nothing to snapshot, benign)PASS

The single unaccepted name, minimum_magnetic_field, sits at docs_stage='drafted' — the $10 pilot budget cap stopped the pools before its final review cycle. Any subsequent docs drain (including the first scaled batch) completes it; no defect.

Pilot spend by phase (graph-billed run 02313084, $10.43 total) — CORRECTED 2026-07-18 refine_docs (healthy)$2.00 · ~20 calls refine_docs (livelock waste)$5.55 · 39 calls on 2 names review_docs$1.82 · 81 calls generate_docs$1.06 · 30 calls Refine convergence is healthy where persist succeeds: ~30% of names needed refinement, almost all fixed in ONE cycle (scores 0.637 → 0.762 → 1.000). 53% of pilot spend was a claim-race livelock: paid refine calls whose persist no-oped (token/stage mismatch), concentrated on 2 quarantined members (perturbed_particle_energy 27 calls $4.35; vertical_coordinate_of_constraint_position 12 calls $1.20). 20 refine replicas racing a 1–2-name eligible set. As-run $0.42/name; healthy-path ≈ $0.20/name. Fix gates the scale-up — see the hardening followups in the evergreen plan.
Corrected cost attribution (the original figure mis-attributed a July-8 session's phases). Refine dominance is a concurrency defect, not a convergence cost.

Refinement quality (samples the lead can spot-check)

Three before/after pairs from the pilot (full text in the graph; prior text preserved in DocsRevisions):

Scale-up decision inputs (for the lead)

InputValue
Selection2,288 accepted names (post-sweep), 23 batches of 100
Measured unit cost$0.42/name as run, but 53% of spend was the refine claim-race livelock (see corrected figure) — healthy-path cost ≈ $0.20/name (seats: docs-gen luna, refine gpt-5.5, review quorum unchanged)
Full-campaign projectionas-run rate ≈ $850–960; post-livelock-fix ≈ $400–500 for the full spec, ≈ $300–380 for the docs-fixable spec — the fix gates the launch
Suggested caps if approvedper-batch --campaign-batch-cost-cap 50, campaign --campaign-cost-ceiling 1000, gate 0.90 unchanged
Cheaper alternatives(a) narrow the spec to prose only (1,384 names ≈ $520–580), deferring pure-audit fixes; (b) run domain-by-domain tranches with review between tranches; (c) accept as-is — quality evidence at 96%/0/0 is strong
Command (full, as piloted)imas-codex sn run --source dd --campaign all --include-accepted --campaign-batch-cost-cap 50 --campaign-cost-ceiling 1000

Commits

RepoSHAWhat
imas-codex0882e417stratified campaign pilot selection (physics-domain round-robin, defect-class rotation, manifest per-domain + pilot marker)
imas-codex763a5a14campaign batches account real pool-session spend; drift note moved after embed preflight; stale clear-gate test patches removed
imas-codexa469501dbanned-prose policy vocabulary moved to neutral prose_policy module