This page preserves the original bootstrap thesis from the period when APE was the system's working name. Inquiry is the current public identity; "APE builds APE" survives here only as historical shorthand for the self-hosting bootstrap and the lore of the sub-agents.
ape_cli evolved from a mental model into a machine-verifiable contract. The versions map to a discrete progression — each stage earned the next by surviving real use.
The author directed a default AI coding agent stage-by-stage, manually enforcing the Analyze → Plan → Execute cycle through conversational discipline. No tooling existed. The methodology lived entirely in a human's mental model.
The mental model was codified into a prompt. ape.agent.md formalized states, transitions, and sub-agent roles. The prompt became the transition function — executable, if imperfectly.
ape.agent.md, commit diffs of prompt evolution.Deploy infrastructure (iq host get) stabilized as a single-host Copilot deployment. The cycle became self-enforcing — the agent refused to skip states, demanded issue numbers, required user gates. The system began constraining its own development.
docs/issues/NNN-slug/ artifacts; current cycles use cleanrooms/NNN-slug/.Runtime infrastructure arrived: FSM transition contract (YAML), programmatic transitions with precondition validation (iq fsm transition), declarative effects, and evolution infrastructure (.inquiry/config.yaml, cleanrooms/<branch>/mutations.md). The contract says what's legal; tests prove the contract holds. The system now named Inquiry is used to build itself — the original bootstrap thesis called this "APE builds APE" because APE was the project's working name at the time.
transition_contract.yaml, passing CLI + VS Code suites, tagged releases, and the issue/PR history.Snapshot from the current repository state. Everything listed here is grounded in the repo, its tags, or the validated package test surfaces.
cleanrooms/NNN-slug/ today
When evolution.enabled is true, DARWIN reads the cycle's artifacts and files concrete mutation proposals as GitHub issues. The collapse from the original lore roster into today's live five was driven by these proposals — every deprecation is logged, with reasoning.
The mutations aren't theoretical. The live roster — DEWEY, SOCRATES, DESCARTES, ADA, DARWIN — exists as it does because DARWIN proposed absorbing MARCOPOLO into SOCRATES, replacing SUNZI with DESCARTES's method, restoring ADA as EXECUTE's operator once the project learned that workflow belongs in phase contracts, and eventually making IDLE's operator explicit as DEWEY.
Honest accounting. The bootstrap is empirical but incomplete. Three gaps block the paper.
metrics.yaml capturing time-to-plan, plan completion rate, test pass delta, or reviewer overrides. Roadmap item #72.
The live repository now keeps its forward-looking doctrine in the architecture, roadmap, and active specs. This page remains as a public research narrative rather than an index into an internal research tree.
The FSM, the transition contract, and how Inquiry turns thinking tools into operational method.
The live five-agent roster — DEWEY, SOCRATES, DESCARTES, ADA, DARWIN — and the larger cast it replaced.
How DARWIN works, what it collects, and why it's off by default.