docs: fold design-grill decisions into PRD

Record the twelve build-time decisions from the grill session so
M0 starts with no open questions:

- PRD: project layout, tools host, learnings home/scope, trust
  defaults, decay numbers, post-id naming, token storage (G5-G7
  plus seven stories patched)
- CONTEXT.md: project glossary (17 terms)
- ADR-0004 critique memory lives in the project, not the profile
- ADR-0005 fix cards travel as typed MCP tool calls
- ADR-0006 writing tools ship as in-app Swift MCP server
This commit is contained in:
AlexKucera committed 2026-08-26 21:49:58 +02:00
1 parent 92cd748d00
commit 4616dd80df
7 files changed
+86 -8

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ Owned by the root AGENTS.md contract.
## Local Contracts
- ADRs live in `docs/adr/`, sequentially numbered `NNNNN-slug.md` (currently `0001`–`0003`: stack, license, forge/CI).
- ADRs live in `docs/adr/`, sequentially numbered `NNNNN-slug.md` (currently `0001`–`0006`: stack, license, forge/CI, critique-memory home, fix-card transport, writing-tools host).
- ADR format follows the domain-modeling skill's `ADR-FORMAT.md`: short title + 1–3 sentences; optional Considered Options / Consequences only when they earn their place.
## Work Guidance
@@ -0,0 +1,3 @@
# Critique memory lives in the project, not the Hermes profile
Museion keeps two memory systems deliberately separate. The mentor's own automated memory lives inside the `museion` Hermes profile, is owned by Hermes, and is never read or written by Museion. The writer's deliberate learnings are plain markdown in the project's `learnings/` folder — git-diffable, portable with the body of work, importable from the hand-maintained MEMORY.md. The profile holds *how* to critique (skills, config); the project holds *what* was learned. Consequence: G4 profile snapshots do not back up learnings — git does; moving machines takes both.
@@ -0,0 +1,3 @@
# Fix cards travel as structured MCP tool calls
Mentor findings reach the app as typed tool calls from a Hermes-side MCP writing tool — the fix-card schema is the tool's argument schema — rendered from ACP tool-call events, never parsed out of streamed prose. 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).
@@ -0,0 +1,3 @@
# Writing tools are an in-app Swift MCP server
Museion's writing tools (fix-card submit, edit-pass runner, critique-memory query/promote, draft stats) ship inside the app binary, exposed as a stdio MCP server and registered into the `museion` profile at provisioning (`hermes mcp add museion-tools --command …`). One signed artifact, native file access, stats logic shared with the M4 UI, and the fix-card tool exists from M0. Rejected: a separate Python server (second runtime to ship and sign) and skills-only (Q: cards would need prose parsing — reversing later rewrites the card path). Model/provider stays user-managed in the profile's own config — Museion never touches it.