Phase 2 is where you implement what you described. The Monaco editor opens with your approved spec displayed alongside it — the spec is the contract you are writing to, and it stays visible throughout. Your task is to write Python code that does what your spec says.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bcanata/maieutic/llms.txt
Use this file to discover all available pages before exploring further.
Key constraints
Autocomplete is explicitly disabled. Every feature that would generate or complete code for you — inline suggestions, parameter hints, word-based completions, tab completion, snippet suggestions — is turned off. This is intentional. The skill being trained is deliberate, considered code writing, not fluent use of an IDE’s autocomplete.input() prompts so you can test interactively without leaving the page.
The Opus chat panel
A chat panel sits alongside the editor throughout Phase 2. You can ask Opus questions at any time. Opus picks a mode for each message:- direct mode
- interrogative mode
Triggered by factual language or library questions that are independent of your current reasoning.Examples: “What is the syntax for a dictionary in Python?”, “What does
sorted() return?”, “How do I read a file line by line?”In direct mode, Opus answers concisely and may show a minimal example — not tied to your specific problem.When it is ambiguous whether a question is a reference question or a reasoning question, Opus leans interrogative — answering directly would substitute for your own thinking about your own problem.
Proposing a spec amendment
Sometimes you realise while coding that your Phase 1 spec was incomplete or wrong. Maieutic allows you to propose a formal amendment rather than silently changing course. Use the Revise plan button in the editor toolbar. Each amendment requires:- Amendment text — what you are changing in the spec.
- Justification — why you are changing it (the interface offers a set of categories: faster, simpler, more correct, or other).
Phase2Revision:
Autosave
The editor autosaves your code to the server automatically on every change (with a short debounce). If you close the browser mid-session, your code is preserved. You will resume exactly where you left off.Submitting
When you are satisfied, press Submit. Maieutic:- Persists your final code.
- Sends your spec and code to Opus for the intent-diff analysis.
- Transitions you to Phase 3 with the list of divergence questions.