Wayfinder map: Projects, Archive & Outline type (v1.1) #97

Closed
opened 2026-10-12 17:25:19 +02:00 by AlexKucera · 1 comment
Owner

Destination

Projects, Archive, and the Outline content type shipped: pieces live under projects/<name>/, finished projects fold away into archive/, and an outline (plain nested-bullet markdown, type: outline) can be created and edited with a keyboard-first outliner. Ends in a ready-for-agent build; this map stays OPEN until the build lands.

Notes

  • Tracker: Gitea via tea (docs/agents/issue-tracker.md — full IssueMeta for dependencies, [Generated by AI] last line on every written body).
  • Skills: grilling + domain-modeling for grilling tickets; prototype for prototypes; gitea-cli for all tracker ops.
  • Domain docs: CONTEXT.md glossary + docs/adr/. Ruling decisions: ADR-0012 (projects/archive layout, type-as-frontmatter — amends 0004), ADR-0013 (outliner as dedicated block surface — specializes 0010). Terms: Project, Archive, Outline adopted; Content Type rewritten as frontmatter attribute.
  • House pattern (#18/#22): this map carries ready-for-agent and doubles as the build ticket; it closes only when the build lands.
  • Build touchpoints: Post.scan + PostsModel FSEvents roots (posts/ → projects/ + archive/), PostsLibraryColumn grouping, PostStore write/rename/trash/import paths, EditorSession/SessionTarget, apex reading path (nested lists render today).
  • Language: English tickets and docs.

Decisions so far

  • Projects: project is the container, type demotes to frontmatter: layout is projects/<name>/<piece-id>/; Content Type becomes a frontmatter attribute (type: post | type: outline); Learnings stay per-type at the Home root, keyed off the attribute.
  • Archive: folder move to archive/, projects only: projects/<name>/ → archive/<name>/, Finder-visible, reversible; sidebar Archive section, still openable/editable. Per-post archiving was fog, later graduated — see #106.
  • Naming: adopt Project into the glossary: Project is canonical; the Museion Home avoid-list narrows to the possessive sense.
  • Outline: nested-bullet markdown, type: outline, inert wiki-links: one markdown file, indentation = nesting, inline markdown in node text; [[post-id]] allowed now as inert text — un-forecloses map 2's nodes-are-posts vision.
  • Outliner v1 scope: keyboard-first core: Tab/⇧Tab, ⌥↑/⌥↓ move node with subtree, fold/unfold. Drag-reorder + zoom-in → the second outline map.
  • Migration: no code — manual move, default project posts: the 4 dev posts move by hand to projects/posts/<id>/ when the build lands; no migration machinery — scan/watcher roots just switch to projects/ (+ archive/); slug namespace stays global; Finder is the v1 move/rename surface.
  • Library UI: serif project sections, nav-rail Archive, in-app project commands: variant B grouping (serif-15 project sections, Pass-State groups inside, rust edge-bar selection); Archive is a nav-rail destination with its own view; New Project + move-piece-between-projects are v1 in-app commands. Prototype: ref/prototypes/wf104-library-ui-prototype.html @ 135cc0a.
  • Outline editor: dedicated block view (variant B), LogSeq keys, block selection, text-only undo: tree of blocks + LogSeq semantics; one promoted NSTextView over the focused row; block-granular selection accepted, structural undo dropped from v1; fold keyed by node id. Storage per #101. Prototype: ref/prototypes/wf105-outline-editor-prototype.html @ 074f9af. Outliner specializes ADR-0010 via ADR-0013 — prose stays mode B.
  • Spec assembly: glossary + ADR updates, build split, ready-for-agent: CONTEXT.md gains Project/Outline/Archive (Content Type rewritten as frontmatter attribute); ADR-0012 + ADR-0013 written (notes on 0004/0010). Fog swept: apex nested lists suffice for outline reading; learnings partition = learnings/<type>/ off the attribute; import + New stamp type: post, absent reads as post, file stays post.md; commands in a File ▸ New submenu (Post ⌘N, Outline ⇧⌘N, Project ⌥⌘N), new pieces land in the selected project else posts; per-piece archive graduated — archive/<project>/<id>/ with in-app restore for pieces AND projects. Build split: S1 storage substrate (#107, frontier) → S2 library UI (#108) ∥ S3 outline + outliner (#109). Map carries ready-for-agent.
  • Build S1: storage substrate — projects/ + archive/, type frontmatter: two-level scan over projects/ + archive/, global slug namespace (archived slugs never reused); every write path resolves its folder from the id alone (folder(of:) with scan's skip guards + first-wins duplicate-id dedupe); type: post stamped on New/Import, absent reads as post; the 4 dev posts moved by hand (no migration machinery, per #103). Landed 3ca9d4e.
  • Build S2: library UI — project grouping, Archive view, in-app commands: variant B library — serif lowercase project heads with · N counts, collapse toggle, rust edge-bar selection, ✳ on outlines; Archive rail pane (Unarchive per project, Move Back per piece); File ▸ New Post ⌘N + New Project… ⌥⌘N; move/archive/restore/unarchive as pure folder moves behind a flushOrAbort gate, disk-derived state over scan snapshots. Two audit rounds, 22 findings closed; suite 144 green. Landed e55747e.
  • Build S3: outline type + outliner — block tree, LogSeq keys: OutlineTree lenient parse / canonical serialize over plain nested-bullet markdown + path-addressed structural ops (indent/outdent, parent-crossing ⌥ moves, batch sibling-only, Enter split); OutlineEditorView — one promoted NSTextView on the focused row, fold keyed by runtime UUID (session-scoped, never persisted), block selection, Esc via local event monitor (SwiftUI swallows it); ⇧⌘N New Outline; natural line box for outline rows (prose 1.8 leading caused focus jump — fixed, user-verified). Landed c23ee0f.

Not yet specified

(none — the destination shipped: S1 3ca9d4e, S2 e55747e, S3 c23ee0f landed on main.)

Out of scope

  • In-app project rename and whole-project moves stay Finder-side in v1 (unconfirmed default — pieces move in-app per #104, projects archive/restore in-app per #106); #103 ruled the one-time migration only, not the app surface.
  • Text-granular cross-block selection in the outliner (block-granular accepted, #105) and undo for structural edits (text undo only, #105).

Second outline map — trigger fired (build landed 2026-10-15); chart fresh when taken up:

  • TOC post type: outline nodes as posts, reordering reorders chapters
  • Outline → post conversion (plan a post as outline, then flesh it out)
  • In-post outlining (outliner affordances inside a normal post)
  • Drag-reorder and zoom-in/focus-subtree in the outliner

[Generated by AI]

## Destination Projects, Archive, and the Outline content type shipped: pieces live under `projects/<name>/`, finished projects fold away into `archive/`, and an outline (plain nested-bullet markdown, `type: outline`) can be created and edited with a keyboard-first outliner. Ends in a ready-for-agent build; this map stays OPEN until the build lands. ## Notes - Tracker: Gitea via `tea` (docs/agents/issue-tracker.md — full IssueMeta for dependencies, `[Generated by AI]` last line on every written body). - Skills: grilling + domain-modeling for grilling tickets; prototype for prototypes; gitea-cli for all tracker ops. - Domain docs: CONTEXT.md glossary + docs/adr/. Ruling decisions: ADR-0012 (projects/archive layout, type-as-frontmatter — amends 0004), ADR-0013 (outliner as dedicated block surface — specializes 0010). Terms: Project, Archive, Outline adopted; Content Type rewritten as frontmatter attribute. - House pattern (#18/#22): this map carries `ready-for-agent` and doubles as the build ticket; it closes only when the build lands. - Build touchpoints: Post.scan + PostsModel FSEvents roots (posts/ → projects/ + archive/), PostsLibraryColumn grouping, PostStore write/rename/trash/import paths, EditorSession/SessionTarget, apex reading path (nested lists render today). - Language: English tickets and docs. ## Decisions so far - [Projects: project is the container, type demotes to frontmatter](https://git.babylondreams.de/AlexKucera/museion/issues/98): layout is `projects/<name>/<piece-id>/`; Content Type becomes a frontmatter attribute (`type: post` | `type: outline`); Learnings stay per-type at the Home root, keyed off the attribute. - [Archive: folder move to archive/, projects only](https://git.babylondreams.de/AlexKucera/museion/issues/99): `projects/<name>/` → `archive/<name>/`, Finder-visible, reversible; sidebar Archive section, still openable/editable. Per-post archiving was fog, later graduated — see #106. - [Naming: adopt Project into the glossary](https://git.babylondreams.de/AlexKucera/museion/issues/100): Project is canonical; the Museion Home avoid-list narrows to the possessive sense. - [Outline: nested-bullet markdown, type: outline, inert wiki-links](https://git.babylondreams.de/AlexKucera/museion/issues/101): one markdown file, indentation = nesting, inline markdown in node text; `[[post-id]]` allowed now as inert text — un-forecloses map 2's nodes-are-posts vision. - [Outliner v1 scope: keyboard-first core](https://git.babylondreams.de/AlexKucera/museion/issues/102): Tab/⇧Tab, ⌥↑/⌥↓ move node with subtree, fold/unfold. Drag-reorder + zoom-in → the second outline map. - [Migration: no code — manual move, default project `posts`](https://git.babylondreams.de/AlexKucera/Museion/issues/103): the 4 dev posts move by hand to `projects/posts/<id>/` when the build lands; no migration machinery — scan/watcher roots just switch to `projects/` (+ `archive/`); slug namespace stays global; Finder is the v1 move/rename surface. - [Library UI: serif project sections, nav-rail Archive, in-app project commands](https://git.babylondreams.de/AlexKucera/museion/issues/104): variant B grouping (serif-15 project sections, Pass-State groups inside, rust edge-bar selection); Archive is a nav-rail destination with its own view; New Project + move-piece-between-projects are v1 in-app commands. Prototype: `ref/prototypes/wf104-library-ui-prototype.html` @ 135cc0a. - [Outline editor: dedicated block view (variant B), LogSeq keys, block selection, text-only undo](https://git.babylondreams.de/AlexKucera/Museion/issues/105): tree of blocks + LogSeq semantics; one promoted NSTextView over the focused row; block-granular selection accepted, structural undo dropped from v1; fold keyed by node id. Storage per #101. Prototype: `ref/prototypes/wf105-outline-editor-prototype.html` @ 074f9af. Outliner specializes ADR-0010 via ADR-0013 — prose stays mode B. - [Spec assembly: glossary + ADR updates, build split, ready-for-agent](https://git.babylondreams.de/AlexKucera/museion/issues/106): CONTEXT.md gains Project/Outline/Archive (Content Type rewritten as frontmatter attribute); ADR-0012 + ADR-0013 written (notes on 0004/0010). Fog swept: apex nested lists suffice for outline reading; learnings partition = `learnings/<type>/` off the attribute; import + New stamp `type: post`, absent reads as `post`, file stays `post.md`; commands in a File ▸ New submenu (Post ⌘N, Outline ⇧⌘N, Project ⌥⌘N), new pieces land in the selected project else `posts`; per-piece archive graduated — `archive/<project>/<id>/` with in-app restore for pieces AND projects. Build split: S1 storage substrate (#107, frontier) → S2 library UI (#108) ∥ S3 outline + outliner (#109). Map carries `ready-for-agent`. - [Build S1: storage substrate — projects/ + archive/, type frontmatter](https://git.babylondreams.de/AlexKucera/Museion/issues/107): two-level scan over `projects/` + `archive/`, global slug namespace (archived slugs never reused); every write path resolves its folder from the id alone (`folder(of:)` with scan's skip guards + first-wins duplicate-id dedupe); `type: post` stamped on New/Import, absent reads as post; the 4 dev posts moved by hand (no migration machinery, per #103). Landed `3ca9d4e`. - [Build S2: library UI — project grouping, Archive view, in-app commands](https://git.babylondreams.de/AlexKucera/Museion/issues/108): variant B library — serif lowercase project heads with `· N` counts, collapse toggle, rust edge-bar selection, ✳ on outlines; Archive rail pane (Unarchive per project, Move Back per piece); File ▸ New Post ⌘N + New Project… ⌥⌘N; move/archive/restore/unarchive as pure folder moves behind a `flushOrAbort` gate, disk-derived state over scan snapshots. Two audit rounds, 22 findings closed; suite 144 green. Landed `e55747e`. - [Build S3: outline type + outliner — block tree, LogSeq keys](https://git.babylondreams.de/AlexKucera/Museion/issues/109): `OutlineTree` lenient parse / canonical serialize over plain nested-bullet markdown + path-addressed structural ops (indent/outdent, parent-crossing ⌥ moves, batch sibling-only, Enter split); `OutlineEditorView` — one promoted NSTextView on the focused row, fold keyed by runtime UUID (session-scoped, never persisted), block selection, Esc via local event monitor (SwiftUI swallows it); ⇧⌘N New Outline; natural line box for outline rows (prose 1.8 leading caused focus jump — fixed, user-verified). Landed `c23ee0f`. ## Not yet specified (none — the destination shipped: S1 `3ca9d4e`, S2 `e55747e`, S3 `c23ee0f` landed on main.) ## Out of scope - In-app **project rename** and whole-project moves stay Finder-side in v1 (unconfirmed default — pieces move in-app per [#104](https://git.babylondreams.de/AlexKucera/museion/issues/104), projects archive/restore in-app per [#106](https://git.babylondreams.de/AlexKucera/museion/issues/106)); #103 ruled the one-time migration only, not the app surface. - Text-granular cross-block selection in the outliner (block-granular accepted, #105) and undo for structural edits (text undo only, #105). Second outline map — trigger fired (build landed 2026-10-15); chart fresh when taken up: - TOC post type: outline nodes as posts, reordering reorders chapters - Outline → post conversion (plan a post as outline, then flesh it out) - In-post outlining (outliner affordances inside a normal post) - Drag-reorder and zoom-in/focus-subtree in the outliner [Generated by AI]
AlexKucera added the wayfinder:map label 2026-10-12 17:25:19 +02:00
AlexKucera self-assigned this 2026-10-12 17:25:19 +02:00
AlexKucera added the ready-for-agent label 2026-10-12 19:33:22 +02:00
Author
Owner

Second outline map charted: Wayfinder map: Outliner II (#110). Seeds consumed: drag-reorder + zoom-in (S6), outline→post conversion (S4), in-post outlining (reshaped: prose-list shortcuts, S5), TOC (carved out — own third map, seed preserved in #110's Out of scope). MEDIUM-2 deferred item resolved as S7 (warn + offer prose mode).

[Generated by AI]

Second outline map charted: [Wayfinder map: Outliner II](https://git.babylondreams.de/AlexKucera/Museion/issues/110) (#110). Seeds consumed: drag-reorder + zoom-in (S6), outline→post conversion (S4), in-post outlining (reshaped: prose-list shortcuts, S5), TOC (carved out — own third map, seed preserved in #110's Out of scope). MEDIUM-2 deferred item resolved as S7 (warn + offer prose mode). [Generated by AI]
Sign in to join this conversation.