257 Commits
Author SHA1 Message Date
AlexKucera 8992e2ade5 chore: drop accidentally-committed profraw, ignore it 2026-10-05 17:41:44 +02:00
AlexKucera c410c99bf8 fix(editor): reading-mode layout + stale-reload defects (#71 follow-up)
Five root causes behind Alexander's calibration findings:

- Wrap to column: both canvases had a fixed 640pt text container —
  clipped instead of wrapping when the editor column is narrower
  (library + mentor open). widthTracksTextView = true now; measure
  polish can return with calibration.
- Tables: TextKit2 stacks NSTextTable rows vertically (each row its
  own content-width fragment — no grid). The reading canvas forces
  the TextKit1 bridge (replaceLayoutManager); probe-verified grid +
  column borders. Read-only canvas — nothing editing-grade lost.
- Heading-tail: a chunk like "# Title" followed by body lines (single
  newline, legal markdown) dropped everything after line one. The
  heading now renders, then the remaining lines as a soft-joined
  paragraph.
- Stale reload (data-loss vector): ProseTextView seeded from
  session.loadText (open-time snapshot) — after a reading⇄editing
  swap the recreated editor showed the pre-paste text, and a keystroke
  there flushed stale content over the user's real edits. Seeds from
  session.text (live) now.
- Quote one-char-per-line: did not reproduce after the layout fixes;
  root cause was the broken layout state above.

EditorSessionTests debounce flake (50ms margin under parallel load)
passed on both re-runs — timing margin, not a regression.

Full suite green (94 unit + UI smoke); lint clean.
2026-10-05 17:41:34 +02:00
AlexKucera 36858bcf1d docs(devlog): #71 session log 2026-10-05 15:52:40 +02:00
AlexKucera c4555ed810 docs(dox): record reading-mode surfaces in app + tests AGENTS.md (#71) 2026-10-05 15:52:03 +02:00
AlexKucera 4c91733e78 feat(editor): land reading toggle — render, interact, typography slots (S1.2 #71)
Map #20 execution child, built per decisions #68/#69/#70:

- ReadingPresenter: block-aware renderer (ADR-0010 stance) — blank-line
  split, one block per chunk; lists (bullets + ordered + nesting +
  auto-renumber via per-level counters — one rendering path), headings
  by level (h1 = slot size, h2 = 0.77x, ### = body+1, #### floors at
  bold body), HR via the editing syntaxOnly predicate, fenced code,
  blockquotes (QuoteTextBlock hairline), tables (NSTextTable 1px
  border, delimiter-row alignment), images (hover payload), links
  styled + retained. Footnotes stay fallback. Source ranges ride every
  block (click→edit map).
- ReadingSurface: read-only selectable NSTextView canvas (#68: a
  presentation of the same TextKit2 document). Tap with no selection
  after mouseDown returns = edit intent at the clicked block (the
  tracking-loop fix); ⌘-click opens links; scroll tracking feeds the
  flip-back caret; image hover NSPopover loads off-main.
- ProseTypography (#70): three role slots — Body / Headings / Code —
  each {face, size}, UserDefaults six values, member-based font
  resolution (family+weight lookup misresolves Concourse Book→Thin),
  silent system fallback; both prose surfaces read them; editing
  presenter's headings + dimmed syntax rewired through the slots.
- PostEditorView: Read⇄Edit toolbar button (far left) + View menu
  "Toggle Reading Mode" + ⌘R; reading state transient per open; drafts
  included (draft mirror); flip-back caret hint applied once per token.
- SettingsPaneView: Typography section — three slot rows (family
  picker incl. current face not in the installed list + size field).
- kitchen-sink.md (+png): corpus piece exercising constructs absent
  from the eight posts, per #69.

Verified: 94 unit tests (renderer classification, renumbering, source
ranges, fallbacks) + UI smoke; PERF-3k renders 128 blocks in ~17 ms;
live-app probe — Read renders kitchen-sink markers-hidden, renumbered,
byte-stable file after full round-trip; click-to-edit flips at the
clicked paragraph; typography ladder pixel-verified (20/15 ink px).
2026-10-05 15:51:28 +02:00
AlexKucera f2953ee07e feat(editor): land editor core — open, edit, autosave (S1.2)
CI / ci (push) Canceled after 0s
Posts open into the TextKit2 surface (ADR-0010 mode B) lifted from
the proven spike: styled source, scaled headings, dimmed syntax,
native undo/IME. One EditorSession per open post drives a ~1 s
debounced autosave (flush on selection change, window close, app
quit; ⌘S immediate), the Saved/Saving/Failed dot, and the per-post
.museion-state.json cursor sidecar that dies with the folder.
External edits raise an explicit Reload/Keep-Local alert — the
debounce never answers it for the writer, and drafts keep the
lazy-folder first-⌘S rule (#62).

Reviewer fanout fixes folded in: session teardown at every lifecycle
exit (rename flushes before the folder move; trash cancels the
debounce), draft ⌘S continues in place, conflict holds the debounce,
rescan's disk read off-main, ~35 lines of dead code out.

Closes #19
2026-10-05 10:56:33 +02:00
AlexKucera 530f852f75 feat(workspace): land Post lifecycle (S1.1)
CI / ci (push) Canceled after 0s
Posts become writable end to end per the #18 map decisions:
New Post holds an in-memory draft (folder appears only on first
save), first save stamps the flat frontmatter block the #17
reader already parses (pass_state First Draft, origin writer,
immutable after stamping), and the Post ID is the Title slug with
case-insensitive collision suffixes. Explicit Rename retitles the
# Title line and moves the folder (post.md stays); Delete goes to
Trash. A recursive FSEvents stream keeps the list mirroring
posts/ — external Finder edits included.

Editor is a deliberate TextEditor stub; #19's TextKit2 editor
replaces it in place while the lifecycle machinery below the view
survives the swap.

Two review rounds (standards/spec + finish-audit fanout) fixed:
watcher start-order bug, writeNew clobber race, overwrite
resurrecting vanished posts with reset origin, rename destroying
non-heading first lines, draft hijacking the editor, debounce
starvation under churn.

Tests: 75/75 (17 new). Closes #18.
2026-10-03 13:34:00 +02:00
AlexKucera de76a50cc6 fix(acp): repair mentor bridge for adapter 0.21.5
Two bugs after the engine update, both found via a live NDJSON
repro against the real binary:

session/new now requires mcpServers in the ACP SDK schema
(NewSessionRequest). Museion sent only cwd, the engine answered
-32602, the handshake threw, and the pane showed "the mentor
engine stopped" — a validation rejection dressed as a crash. Send
the honest empty list; Museion ships no MCP servers (#44
invariant, now pinned on the wire by a strict fake in tests).

The advisory version-drift note compared raw strings: the gate
records the derived version from `acp --version`
(0.21.5+2177.g735e426) while initialize answers the base version
(agentInfo.version -> 0.21.5), fabricating drift on every launch.
Compare base versions (strip +build metadata); real drift still
fires.

Wire facts re-verified against adapter 0.21.5; docs updated.
2026-10-02 11:32:49 +02:00
AlexKucera e5490ed290 Merge m1-home-posts-list: M1 Home & Posts list (#17)
CI / ci (push) Canceled after 0s
Workspace shell from the design contract: nav rail, Posts pane mirroring
the Home's posts/ on disk, Settings repoint, finish-audit fixes (off-main
scan, parser edges, dead code out). 56/56 tests.

[Generated by AI]

# Conflicts:
#	AGENTS.md
#	docs/devlog/INDEX.md
2026-10-01 15:53:59 +02:00
AlexKucera 14fb2ebb40 Merge spike/editor-presentation: editor substrate verdict (ADR-0010)
Three throwaway editor spikes (CodeEdit fork / TextKit2 / SwiftUI
blocks) plus the pinned corpus and ADR-0010 recording the TextKit2
mode-B verdict. Spike code is historical reference — the real editor
(#19) builds fresh from the ADR.

[Generated by AI]

# Conflicts:
#	AGENTS.md
#	docs/devlog/INDEX.md
2026-10-01 15:53:30 +02:00
AlexKucera 2bd5169322 docs(adr): record verdict — native TextKit2 prose editor (ADR-0010)
Closes #55 on the map: TextKit2 mode B wins by the tie-breaker (calm >
effort > proven-elsewhere); variable heading sizes + paragraph spacing
required, reading toggle block-aware, anchor re-proof satisfied live.
CodeEdit exits Museion; Classis pin untouched. Paper-grade polish is
iterative practice, not a deferred phase. Spike artifacts stay on this
branch for reference.

[Generated by AI]
2026-10-01 15:52:17 +02:00
AlexKucera efc97d061c chore: refresh GitNexus index block, fix devlog index count
CI / ci (push) Canceled after 0s
GitNexus analyze updated its managed AGENTS.md block (1308 symbols,
2519 relationships, 39 flows) and index artifacts. Devlog INDEX row
corrected to the post-audit 56-test count.

[Generated by AI]
2026-10-01 13:50:18 +02:00
AlexKucera 765d32d4d4 refactor(workspace): finish-audit fixes — off-main scan, parser edges, dead code out
Reviewers' findings on 804b588: scan moved off MainActor (Task.detached),
PostLibrary struct folded into Post.scan, hidden dirs and symlinked dirs
now actually skipped (test de-vacuated), unterminated frontmatter no longer
leaks as the Title, quoted YAML values unquoted, leading blank line before
--- tolerated, #-only body reads untitled, persisted Home validated
isFileURL. Dead code deleted: radiusLarge, editorMinWidth, homeKey,
PaneHeader trailing slot, Settings ScrollView, PostRow fill dance.
Tests 56/56, lint 0.

[Generated by AI]
2026-10-01 13:43:25 +02:00
AlexKucera 804b5889f6 feat(workspace): add M1 Home & Posts list — nav rail, posts mirror, Home repoint (fixes #17)
The post-gate main surface is the workspace shell from the design
contract: nav rail (Posts/Sessions/Learnings/Settings), Posts pane
mirroring <home>/posts/ on disk (Pass State groups, origin meta,
empty state; lazy folders skipped), Settings pane with repoint-only
Home picking (NSOpenPanel + UserDefaults, default ~/Documents/Museion
per b3daac9), placeholder panes until #28/#26. Column collapse
mirrors the export's media queries so narrow windows never clip.
Mentor pane becomes the fourth column (#14 surface preserved).

[Generated by AI]
2026-10-01 13:14:55 +02:00
AlexKucera 986f435762 spike(blocks): Spike C — SwiftUI block editor, live preview mode C (#54)
CI / ci (push) Canceled after 0s
2026-09-30 22:31:58 +02:00
AlexKucera f31af14ac4 spike(codeedit): Spike A — CodeEdit fork as prose editor (mode B) + Fix-Card anchor proof (#52)
- ProseTheme + regex prose pass (helm MonokaiHighlighter pattern): bold headings,
  dimmed markers, green-tinted quotes over tree-sitter markdown
- Anchor: whitespace-tolerant quote search → EmphasisManager outline + scroll/selection
- Reading toggle via AttributedString per-block renderer (Spike B stance)
- Self-check (--check) cwd-independent; PERF-3k anchor search 2.5 ms (Spike B: 2.4)
- Found: uniform font sizes + no paragraph spacing (substrate limits), don't-split
  after typographic apostrophe, ghost-doubling under emphasis+selection
2026-09-30 15:11:24 +02:00
AlexKucera d836083aec spike(textkit2): proper reading mode — per-block render hides markup (#53 follow-up)
CI / ci (push) Canceled after 0s
Blank-line split + inline markdown parse per paragraph; headings fonted by
level (bold serif). Single-Text .full parse flattened blocks and left
presentation intents unstyled; earlier 'breaks window creation' claim was an
AX misread — retracted. --check now asserts markup stays hidden.
2026-09-30 13:40:12 +02:00
AlexKucera dd3542a720 spike(textkit2): Spike B — NSTextView/TextKit2 custom-attribute prose editor (#53)
CI / ci (push) Canceled after 0s
- ProsePresenter: line-kind markdown→attributes (serif body 17pt, H1/H2/H3 26/21/18pt bold, dimmed mono syntax, paragraph spacing), whitespace-tolerant quote-anchor search
- EditorPane: NSViewRepresentable NSTextView, per-paragraph reattribute on edit, undo, non-contiguous layout, 640pt measure
- SpikeApp: Reading toggle (inline md render), anchor/stale-anchor demo, exact web-proto alert wording, --check self-test
- run.sh wraps SPM binary in .app (bare executables show no windows)
- assets/: verification screenshots

Wayfinder map #16 — throwaway spike, not for main.
2026-09-30 13:18:00 +02:00
AlexKucera b3daac9486 docs(home): default Museion Home to ~/Documents/Museion
CI / ci (push) Canceled after 0s
The Home default moves out of the account root into Documents. The app
is unsandboxed (ADR-0009), message: one-time macOS TCC consent for
Documents applies — recorded in ADR-0004. Contract docs (CONTEXT.md
glossary, PRD G5, visual prototype) follow the ADR.

[Generated by AI]
2026-09-30 11:25:05 +02:00
AlexKucera e5b7203906 feat(backup): add S2.6 daily profile backup (fixes #50)
One liveness-gated snapshot pass per launch, chained after provisioning:
gateway.pid pid-liveness + ps scan (skip while the engine runs), 24 h
age check, curated recursive copy (credentials and SQLite sidecars in;
logs/caches/locks out), atomic temp+rename install, keep last 7.
Restore stays manual copy-back in v1 — Help > Open Backup Folder and
a RESTORE.md written beside the snapshots.

[Generated by AI]
2026-09-30 11:24:58 +02:00
AlexKucera 3b3544e84d spike(corpus): pin eight-post prose corpus + PERF-3k for editor spikes
CI / ci (push) Canceled after 0s
Pinned byte-identical editing corpus for the substrate spikes (#51):
eight posts as clean markdown plus the ~3k-word perf concatenation.
Site chrome stripped; content faithful to source structure.

[Generated by AI]
2026-09-30 11:07:31 +02:00
AlexKuceraandClaude f21d3a6844 feat(acp): add M0 ACP bridge — engine child + mentor pane (fixes #14)
CI / ci (push) Canceled after 0s
Spawn hermes acp -p museion over NDJSON JSON-RPC stdio via a
hand-rolled thin client (no Swift SDK exists). The mentor debug
pane streams replies, renders fix-card tool calls as structured
cards (ADR-0006), cancels via session/cancel, tears down on quit
(willTerminate), and surfaces a restart prompt on engine crash —
never data loss. Version verify against state.json is advisory.

Fake ACP server test double (zsh speaking real NDJSON) covers
handshake, streaming + fix-card, drift, crash latch, cancel,
teardown. 36/36 tests green; finish-audit fixes included (wired
binaryPath, focus-loss teardown bug, double onCrash latch).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-09-16 18:57:41 +02:00
AlexKuceraandCipher c0b2cb0b93 feat(provisioning): add S2.1 pass with failure alert & retry (fixes #47, #48)
CI / ci (push) Canceled after 0s
Idempotent per-gate pass: create the museion Hermes profile only when
missing (exit-1 "already exists" = success), then additively seed the
bundled writing skills from seed-manifest.txt — temp-copy+rename, present
skills never touched, orphaned temps swept, manifest entries validated
kebab-case at the trust boundary.

Failures surface a separate phase-named alert ("couldn't set up the
writing profile" / "couldn't copy the writing skills"), never re-raising
the gate: excerpt behind Technical details (stdout per #43, stderr
fallback), Retry re-runs the whole pass, Not Now defers to the next
launch's silent retry. The card presents only after the gate sheet's
dismissal completes and snapshots its failure so a successful Retry
doesn't blank it mid-animation.

Provisioning writes nothing to the profile config (no mcp_servers entry,
#44) and leaves state.json engine-gate-only. 30/30 tests green.

Co-Authored-By: Cipher <cipher@babylondreams.de>
2026-09-05 15:03:01 +02:00
AlexKucera 67cf3d42e4 docs: register museion-tools via hermes mcp add, not provisioning
Provisioning must never write `mcp_servers` (#44), so MCP registration
moves to `hermes mcp add` once the mode exists (#23). PRD (G6, S2.4)
and ADR-0008 updated to match.
2026-09-03 18:29:57 +02:00
AlexKucera 753da2135a feat(gate): add Engine gate launch check (S2.1)
CI / ci (push) Canceled after 0s
Block every app launch behind an Engine gate per wayfinder map #12:
discover the user-installed hermes binary via the documented six-path
probe (#36), health-check it with acp --check (stdin closed, 5 s
per-candidate timeout, exit-status branching), version via
acp --version, and record every completed check in Application
Support state.json (#39). The gate is a blocking sheet with
checking/pass/fail cards (#38/#40), app-scoped so only the first
window per launch auto-checks (#41); an About window mirrors the
state file read-only. Provisioning (#13) has a stub seam at
onEnginePass. 12 unit tests drive the real Process path with fake
hermes binaries; build, tests, swiftformat, swiftlint all green.

Closes #42

[Generated by AI]
2026-09-03 14:53:39 +02:00
AlexKucera 232ac9d722 build: add build-and-run launch script
Adapt helm's build-and-run.sh to Museion: build via xcodebuild and
launch the app in place from DerivedData, killing any instance running
from that exact bundle first. Drop helm-specific bits (dev/prod product
name split, dSYM noise filter, provisioning flag, arch pin) that do not
apply to this project. Listed in the root AGENTS.md command block.
2026-09-03 14:23:00 +02:00
AlexKucera 1da294bf91 feat(prototype): add gate UI prototype
CI / ci (push) Canceled after 0s
Three gate variants (blocking sheet, gate window, inline banner)
for wayfinder #38's decision; variant A won. Throwaway SwiftUI
reference for #42 — not part of the app target.

Closes #38.
2026-09-03 13:17:17 +02:00
AlexKucera 4dd7b4a157 docs(agents): record tea blocked-by dependency API trap
Full IssueMeta required for issue dependencies; a minimal
{index:N} 404s misleadingly. Verified with a GET after POST.

Ref #42.
2026-09-03 13:17:16 +02:00
AlexKucera 292aad7a43 build: disable App Sandbox per ADR-0009
CI / ci (push) Canceled after 0s
Flip ENABLE_APP_SANDBOX to NO in both configurations: the engine
gate spawns the user-installed hermes binary and provisioning
writes outside any container. Hardened runtime stays ON for
Developer ID notarization. No entitlements file.

Closes #37.
2026-09-03 13:15:13 +02:00
AlexKucera ac1f9f100e feat(skills): add titles-and-hooks craft skill
CI / ci (push) Canceled after 0s
Distill the last empty craft-canon shelf from web data rather than
books, per the #4 research: BuzzSumo's 100M-headline study, the
PLOS ONE Upworthy A/B experiment, and Heath's curiosity-gap doctrine
as the hook generator. Eight diagnostic cards across the title
surface (takeaway, numbers, worn teases, mode, voice) and the hook
surface (gap, foothold, contract), each naming the finding it
stands on. Adjacent coverage respected: cold opens stay with
serif-writing, the piece-level key question with prose-craft #7.

Extend the sample Pass with FC-9 so the shelf demonstrably fires.

Closes #11
2026-08-28 17:57:36 +02:00
AlexKucera 7a54c6b803 feat(skills): add distilled craft canon skills
Distill the issue #4 shortlist top three into diagnostic skills that
fill the mentor's emptiest shelves, following the fiction-craft
pattern (symptom, why it fails, move, check):

- rhetoric (Heinrichs): argument and rhetoric, ten symptom-to-move
  cards plus the fallacy index
- reader-psychology (Williams): reader psychology and better-words
  doctrine as a nine-step diagnosis sequence, classic-style header
- prose-craft (Clark): fifteen generative tools across better-words,
  structure, humor, and revision; serif/deslop-covered tools dropped
  with the boundary documented

docs/sample-pass.md demonstrates all three firing as fix cards
(quote anchors per ADR-0006). Titles and hooks stays open: #11.

Closes #7
2026-08-28 17:33:13 +02:00
AlexKucera 934104c474 feat(skills): add micro-drill prompt-pack skill
Two-minute single-shelf drill offers riding the Pass finding that
motivates them; declined drills vanish and drill output never touches
the draft (issue #8). Also refreshes GitNexus index stats.
2026-08-28 15:42:35 +02:00
AlexKucera 92157a53ff feat(skills): add demonstrator doctrine skill
Master-study doctrine for mentor demonstrations: named-master
variants on the writer's own bounded span, each annotated and
cleared through the deslop gauntlet before display. The writer's
picked variant feeds Learnings as a signal of the winning pillar
voice.

Closes #3
2026-08-28 15:26:57 +02:00
AlexKucera 6813d88863 chore: ignore Claude Code artifacts
CI / ci (push) Canceled after 0s
CLAUDE.md and .claude/ are GitNexus bootstrap side-effects, not
project files.
2026-08-28 15:00:22 +02:00
AlexKucera 05e2a01365 feat(skills): add Pass and Session personas
Add the two container persona skills to the bundled set: Pass
(Chief 40 / Knife 30 / Coach 10 / Leader 10 / Sparring 8 / Sensei 5)
and Session (Coach 40 / Knife 30 / Sensei 10 / Sparring 10 / Chief 5 /
Leader 0). Warm-but-firm comes from the blend arithmetic, never a mood
adjective; the Knife floor is constant in both containers; Learnings
inform silently; critique calibrates against the writer voice anchor,
with drift called out as "yours are better".

Adds the ref/writing skills child AGENTS.md (the bundled set is now a
durable boundary) and its root index row.

Closes #2.
2026-08-28 15:00:22 +02:00
AlexKucera f0910d95b9 refactor(skills): strip serif to pure methodology
Remove the workspace hat from serif-writing's reference doc: session
reads (SOUL.md/USER.md), memory machinery, safety, and external-vs-
internal policy are host-agent territory; Hermes owns memory (PRD G13).
Delete all three capture systems (learning loop, .learnings capture,
memory system) including the OpenClaw-era coordination paths.

Union the two Pass-2 slip tables into one 14-row table under the
two-pass rule; SKILL.md now points at it. Fix the truncated file ending
and a typo in the Knife quick-reference. Amend the PRD bundled-set spec.

Follow-up to #5.
2026-08-28 14:00:52 +02:00
AlexKucera 9047e76007 refactor(skills): consolidate subtractive ai-tell rules into deslop
Move the 24-pattern catalog, vocabulary tiers, banned phrases/closers,
verb swaps, statistical signals, and em-dash policy out of serif-writing
into deslop (v1.1), making it the single subtractive rule set for the
bundled skills. Serif keeps the craft, deviation rules, and two-pass
rule, and now references deslop instead of duplicating it. Update the
PRD to match.
2026-08-28 13:35:06 +02:00
AlexKucera 012f2adda7 docs(prd): add bundled skill set spec and v2 parking lot
Fold the 2026-08-28 mentor-feel session and Sudowrite/Muse learnings
into the PRD: spec the G3a skill payload (merged deslop, personas,
demonstrator doctrine, drill pack, craft canon), collect deferred
items in a v2 parking lot, and refine S2.8/S3.2/S3.4 acceptance
criteria (single-dimension drills, card attention budget, editable
lint data) plus kind metering under token-cost risk.
2026-08-28 13:31:43 +02:00
AlexKucera cdb49a92c9 docs(writing-skills): replace humanizer and unslop with a single deslop skill
Consolidates three overlapping AI-writing cleanup references into one
skill covering content, language, style, filler, jargon, and plain
speech tells.
2026-08-28 13:31:19 +02:00
AlexKucera 3fd8f761c4 docs: add workspace UI design reference (ref/Web-Prototype) to PRD
Documents the OpenDesign handoff as the visual contract for the Mentor
Loop workspace, including build-from-tokens guidance and scope limits
(G12), so implementation follows the handoff geometry rather than a
loose reinterpretation.
2026-08-28 12:41:34 +02:00
AlexKucera d8546093d3 docs(ref): remove web-prototype context and prd reference files
The Museion planning glossary and PRD under ref/Web-Prototype/ are no
longer needed; the design direction they seeded has served its purpose.
2026-08-28 12:39:49 +02:00
AlexKucera da16ffc05a docs: fold mentor-feel brainstorm results into PRD and glossary
Record the 2026-08-28 brainstorming session output and Sudowrite/Muse
research, and ripple their decisions through the spec: correct the
"never composes" boundary in CONTEXT.md (real rule: no one-button
publish of mentor prose), add S2.8 micro-drills, S3.4 native deslop
lint, and G13 (mentor feel, personas, demonstrator doctrine, model
pin) to the PRD.
2026-08-28 12:31:21 +02:00
AlexKucera b9f7d11aba Set up Matt Pocock Skills 2026-08-28 12:30:36 +02:00
AlexKucera 8be10dfb5e added Museion Logo 2026-08-28 12:30:09 +02:00
AlexKucera e063e2ab99 Added prototype design 2026-08-28 11:38:31 +02:00
AlexKucera f1dbb93cfe Updated ref/ with new writing skills 2026-08-28 11:38:16 +02:00
AlexKucera b81aab72cb docs(prd): resolve grill-3 gaps, collapse M6
CI / ci (push) Canceled after 0s
Three grilling rounds sharpened the build-ready PRD; every
decision now lives in the ACs and the glossary, with nothing
silently assumed.

- Post ID: slug of the Title, untitled fallback, -2 suffixes
- Title: first non-empty line, publishes as the Micropub name
- Pass State advances on pass completion (engine turn end),
  never on card resolution; passes run in any order
- Stats capture at first pass of any kind; sessions never
  disqualify; Import asks Origin once (writer default)
- Pre-pass snapshots in passes/; delete moves to Trash; the
  engine gate reruns on every launch
- Pass prompts are Museion stubs - methodology stays in the
  skill stack; query_learnings decay-filters in museion-tools
- Research candidates live in their session (resumable,
  expendable per ADR-0007)
- category: frontmatter permitted but inert in v1
- M6 collapsed: the author judges illustrations, the mentor
  never assesses images; alt-text floor moved to S6.2;
  milestones renumbered M0-M6; G12 records the call

CONTEXT.md gains the Title term; Post ID, Research Note, Pass,
Pass State, Unaided First Draft, Import, and Learning sharpened.
2026-08-27 15:15:12 +02:00
AlexKucera 18f0ca6444 docs: synthesize best-of-both from the two grill sessions
Merge the decisions of both design-grill commits into one coherent
PRD/CONTEXT/ADR set. Session agreements (main 4616dd8, pi 87a6016)
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.
2026-08-27 14:42:38 +02:00
AlexKucera e466870303 Merge branch 'pi'
# Conflicts:
#	CONTEXT.md
#	PRD.md
#	docs/AGENTS.md
2026-08-27 14:40:11 +02:00
AlexKucera 87a6016cca docs: grill PRD to zero open questions
Run the 25-question design interview over the build-ready PRD and
close every frontier question. Eight of the PRD's own positions
reversed under scrutiny and are recorded in the audit trail as
G5-G7:

- one Museion Home (~/Museion, repoint-only) with folder-shaped
  content replaces "folder is the project" (ADR-0004)
- Learnings move into the Home, per content type; the engine owns
  nothing and stays swappable via a Museion-hosted MCP server
  (ADR-0005)
- sessions gain resume/compact and stay engine-owned; stats gain
  an immutable origin wall; decay runs on an output clock; the
  MEMORY.md import is struck (nothing to import)

Add CONTEXT.md pinning the domain language (23 terms) and bump
the docs/AGENTS.md ADR range to 0005.
2026-08-27 14:25:53 +02:00