Not built yet. PROMPT.md is the prompt to build it from.
Split out of Lab 21. The labs are meant to be built and learned from by our own coding agent, not Amp (D-23). This lab asks whether that agent can do the spec-extract step: read a fixed prototype session transcript plus its diff, and write docs/specs/<layer>/<pack>.md and docs/decisions.jsonl in a scratch repo.
The checks the build should end with:
| Check | What it shows |
|---|---|
specs-valid | check-specs.ts --root <scratch> passes on what the agent wrote |
planted-behaviors-present | Each behavior planted in the fixture session (for example \"Mounted dirs are read-only\", \"A2A needs a bearer token\") has a matching criterion or invariant |
person-decisions-credited | A choice the fixture's person made is recorded with author.role: \"person\" |
Offline it uses a scripted faux agent; the real question needs --live --model mycel:<id>.
Prompt
Coding-Agent Prompt · Ready to Paste
Build `examples/24-agent-distils-specs/run.ts`. Fixtures: a short prototype session transcript (JSONL) and its diff, in which the person decides two things and the code establishes three behaviors. Copy the spec-extract skill (`.agents/skills/spec-extract/`) into a mkdtemp scratch repo with an empty `docs/` bootstrapped by `check-specs.ts --init`. Run umwelten's pi-durable coding agent (`runCodingBenchmark`'s session machinery in `packages/evaluation/src/coding/`, CodingTools scoped to the scratch repo) with the skill's instructions and the fixtures. Then print one PASS/FAIL line per check and exit 1 on any failure: specs-valid (check-specs passes); planted-behaviors-present (each of the three behaviors matches a criterion or invariant, by keywords listed in the fixture); person-decisions-credited (both decisions appear with author.role "person"). Offline, script a faux agent that writes a known-good result; `--live --model mycel:<id>` runs a Mycel model (D-28). Strict TypeScript, no `any`. README frontmatter (status built) and FINDINGS.md.
Works in Pi, Claude Code, Codex & Antigravity
Offline mock first →
--live opt-in