# Step 7 — Implementation Detail 1. `render_mermaid` draws a left-to-right flowchart with every Element (name and product) and every Relationship (its kind) exactly once. Node ids are generated, and characters Mermaid reserves are stripped from labels, so any graph step 3 accepts renders. 2. `submit_deliverable` adds `architecture.mmd` to the Target architecture's attachments when it accepts the submission. No Specialist draws it. 3. Removed: the `architecture_diagram` Deliverable, `agents/diagrammer.md` and its bundle entries. 4. `/generate` keeps its `mermaid_diagram` key, now read from the Target architecture. The packager is told to embed that attachment unchanged. The local `mermaid_check` tool stays in the bundle; the evaluation still uses it. Tests: `tests/execution/test_requirements_chain.py`, "the diagram is a view of the graph".