Merge the decisions of both design-grill commits into one coherent PRD/CONTEXT/ADR set. Session agreements (main4616dd8, pi87a6016) reconciled per the merge grill session: - G5 content layout: Museion Home root (pi) + flat posts/<post id>/ post.md shape with lazy creation and first-save slug (main); explicit Rename moves the folder; Import copies (ADR-0004) - G6 writing tools: in-app Swift MCP server museion-tools (main, ADR-0008) with the minimal surface query_learnings + submit_fix_cards, Museion-driven passes, native stats (pi) - G7 learnings: <home>/learnings/<type>/, one file per learning (main), engine owns nothing, fresh start (pi) (ADR-0005) - G8 decay: 10-pass output clock (pi) with per-learning resurface_after frontmatter override (main) - G9 trust: pi's enumerated defaults incl. never-do list - fix-card transport stays typed + quote-anchored (ADR-0006); state ownership / engine swap pinned (ADR-0007) ADRs renumbered 0004-0008 (both sessions had claimed 0004/0005); audit-trail G-entries rewritten as merged records G5-G11; CONTEXT.md glossary unioned (26 terms) with Project/Post Type dropped in favor of Home/Content Type; MEMORY.md import struck (verified: nothing to import); stale 'project' wording removed from M1 and S8.2.
625 B
625 B
0006 — Fix cards travel as typed MCP tool calls
Mentor findings reach the app as typed tool calls — the fix-card schema is the tool's argument schema — rendered from ACP tool-call events, never parsed out of streamed prose. Anchors are quote-based (exact substring + occurrence + context), so edits between issue and accept degrade to a loud no-match, never a wrong-span patch. One schema serves the card UI, the apply-write, and learning promotion; M0's round-trip test exercises exactly this rail. Rejected: prose parsing (fragile, untyped) and file-watching spools (cards are conversation events, not artifacts).