The outliner grows into a full writing tool: drag-reorder and zoom-in/focus-subtree in the outline editor, prose-list shortcuts (Tab/⇧Tab, ⌥↑/⌥↓, visual collapse) in the prose editor, an in-place Convert to Post command with a transform choice, and a data-loss guard for mixed-content outline files. Ends in ready-for-agent slices; this map stays OPEN until every slice 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 decision tickets; prototype for the drag/zoom prototype; gitea-cli for all tracker ops.
House pattern (#18/#22/#97): this map carries ready-for-agent and doubles as the build umbrella; it closes only when all slices land. Slices close with their devlog as the record (docs/devlog/).
Slice order: S7 (data-loss guard) first, then S6, P1 → S4, S5 — the guard is the only slice touching existing user data.
Build touchpoints: OutlineTree/OutlinePresenter/OutlineEditorView (drag = path-addressed batch moves, zoom = presenter projection rooted at a node; folds session-scoped per ADR-0013), ProseTextView keyDown + ProsePresenter (list-line detection, collapse rendering), PostStore.overwrite (convert = type flip + body transform), PostsModel/PostsPaneView (session re-routing on type flip — lastDraftWasOutline machinery reversed), Post.scan (lenient type read unchanged).
Language: English tickets and docs.
Decisions so far
Build S7: mixed-content outline guard — LANDED 2026-10-15: warn + offer prose mode at open; outline mode only after explicit choice — no silent prose loss. Detector = OutlineTree.parsesWithLoss; ask fires in select over an EMPTY editor (flush discipline held); prose answer rides a proseOverridePostID routing override. Record: docs/devlog/20261015-issue111-outline-guard_log.md, landed in 0b172f7 (audit round included: reselect no-op, ask displacement).
Build S6: outliner interaction II — LANDED 2026-10-16: drag-reorder + zoom per the P1 verdict (variant A fat gaps — seams insert at the following row's depth, middle band = last child ring, invalid = dashed no-op, moved run = the selection; dblclick-bullet zoom in, breadcrumb/Esc out). Monitor-owned drag (no system session — Esc can't resolve as a drop), geometry via AppKit view-tree walk (SwiftUI 27 dropped the .window space). Record: docs/devlog/20261016-issue112-outline-interaction-ii_log.md; also realigned test deployment targets to 27.0 (8e70f69 had left them at 26.5 — tests couldn't link).
Prototype P1: drag + zoom interaction prototype: VERDICT — variant A (fat gaps): seams insert at the following block's depth, block-middle = last child; grip + body-drag selection coexistence, dblclick-bullet zoom chrome stand as built; a drop can never steal siblings (absorption impossible in line-insertion semantics). Full interaction contract in the ticket; prototype at ref/prototypes/wf113-drag-zoom-prototype.html (uncommitted).
Build S4: Convert to Post — LANDED 2026-10-16: in-place transform (id/folder/pass state/origin kept, type flips to post); writer picks verbatim bullets (default, lossless) vs headings ladder (## → ###### floor, deeper stays bullets; warns when it would drop prose); flush-first reopen routed prose via proseOverridePostID; one-way in v1. Audit round folded in: answer-time consent recheck, #67-conflict abort in the shared flushOrAbort (all flush-first ops), rescan identity gate, held guard ask dies on convert. Record: docs/devlog/20261016-issue114-convert-to-post_log.md, landed in c0513aa.
Build S5: prose-list shortcuts: basic shortcuts in prose (Tab/⇧Tab, ⌥↑/⌥↓, visual collapse) — NOT a 1:1 outliner translation, no blocks in prose (ADR-0010 stands).
Folds stay session-scoped (ADR-0013 unchanged) — small outlines, cheap to refold; see Notes.
Not yet specified
(none — the way to the destination is clear)
Out of scope
TOC / book assembly — its own third map, charted fresh when taken up (carved out mid-charting: the linkage fog is real). Seed from this charting: a separate type was imagined (type: toc); conversion would create level-1 blocks as individual Posts with lower levels as headings; needs depth on how posts and TOC blocks are linked and created; chapters re-order in the sidebar per TOC position; a Compile command stitches linked pieces in node order. Trigger: chart when book-scale work starts.
Fold persistence — session-scoped stands (ADR-0013); revisit only if a later map lands on-disk node identity.
Text-granular cross-block selection and structural undo in the outliner (carried over from map #97).
[Generated by AI]
## Destination
The outliner grows into a full writing tool: drag-reorder and zoom-in/focus-subtree in the outline editor, prose-list shortcuts (Tab/⇧Tab, ⌥↑/⌥↓, visual collapse) in the prose editor, an in-place Convert to Post command with a transform choice, and a data-loss guard for mixed-content outline files. Ends in ready-for-agent slices; this map stays OPEN until every slice 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 decision tickets; prototype for the drag/zoom prototype; gitea-cli for all tracker ops.
- Domain docs: CONTEXT.md glossary + docs/adr/ — ADR-0010 (prose TextKit2 mode B), ADR-0012 (type-as-frontmatter storage), ADR-0013 (outliner dedicated block surface). Prose-list shortcuts stay mode-B keybindings + rendering — no block substrate in prose.
- House pattern (#18/#22/#97): this map carries ready-for-agent and doubles as the build umbrella; it closes only when all slices land. Slices close with their devlog as the record (docs/devlog/).
- Slice order: S7 (data-loss guard) first, then S6, P1 → S4, S5 — the guard is the only slice touching existing user data.
- Build touchpoints: OutlineTree/OutlinePresenter/OutlineEditorView (drag = path-addressed batch moves, zoom = presenter projection rooted at a node; folds session-scoped per ADR-0013), ProseTextView keyDown + ProsePresenter (list-line detection, collapse rendering), PostStore.overwrite (convert = type flip + body transform), PostsModel/PostsPaneView (session re-routing on type flip — lastDraftWasOutline machinery reversed), Post.scan (lenient type read unchanged).
- Language: English tickets and docs.
## Decisions so far
- [Build S7: mixed-content outline guard](https://git.babylondreams.de/AlexKucera/Museion/issues/111) — LANDED 2026-10-15: warn + offer prose mode at open; outline mode only after explicit choice — no silent prose loss. Detector = OutlineTree.parsesWithLoss; ask fires in select over an EMPTY editor (flush discipline held); prose answer rides a proseOverridePostID routing override. Record: docs/devlog/20261015-issue111-outline-guard_log.md, landed in 0b172f7 (audit round included: reselect no-op, ask displacement).
- [Build S6: outliner interaction II](https://git.babylondreams.de/AlexKucera/Museion/issues/112) — LANDED 2026-10-16: drag-reorder + zoom per the P1 verdict (variant A fat gaps — seams insert at the following row's depth, middle band = last child ring, invalid = dashed no-op, moved run = the selection; dblclick-bullet zoom in, breadcrumb/Esc out). Monitor-owned drag (no system session — Esc can't resolve as a drop), geometry via AppKit view-tree walk (SwiftUI 27 dropped the .window space). Record: docs/devlog/20261016-issue112-outline-interaction-ii_log.md; also realigned test deployment targets to 27.0 (8e70f69 had left them at 26.5 — tests couldn't link).
- [Prototype P1: drag + zoom interaction prototype](https://git.babylondreams.de/AlexKucera/Museion/issues/113): VERDICT — variant A (fat gaps): seams insert at the following block's depth, block-middle = last child; grip + body-drag selection coexistence, dblclick-bullet zoom chrome stand as built; a drop can never steal siblings (absorption impossible in line-insertion semantics). Full interaction contract in the ticket; prototype at ref/prototypes/wf113-drag-zoom-prototype.html (uncommitted).
- [Build S4: Convert to Post](https://git.babylondreams.de/AlexKucera/Museion/issues/114) — LANDED 2026-10-16: in-place transform (id/folder/pass state/origin kept, type flips to post); writer picks verbatim bullets (default, lossless) vs headings ladder (## → ###### floor, deeper stays bullets; warns when it would drop prose); flush-first reopen routed prose via proseOverridePostID; one-way in v1. Audit round folded in: answer-time consent recheck, #67-conflict abort in the shared flushOrAbort (all flush-first ops), rescan identity gate, held guard ask dies on convert. Record: docs/devlog/20261016-issue114-convert-to-post_log.md, landed in c0513aa.
- [Build S5: prose-list shortcuts](https://git.babylondreams.de/AlexKucera/Museion/issues/115): basic shortcuts in prose (Tab/⇧Tab, ⌥↑/⌥↓, visual collapse) — NOT a 1:1 outliner translation, no blocks in prose (ADR-0010 stands).
- Folds stay session-scoped (ADR-0013 unchanged) — small outlines, cheap to refold; see Notes.
## Not yet specified
(none — the way to the destination is clear)
## Out of scope
- TOC / book assembly — its own third map, charted fresh when taken up (carved out mid-charting: the linkage fog is real). Seed from this charting: a separate type was imagined (`type: toc`); conversion would create level-1 blocks as individual Posts with lower levels as headings; needs depth on how posts and TOC blocks are linked and created; chapters re-order in the sidebar per TOC position; a Compile command stitches linked pieces in node order. Trigger: chart when book-scale work starts.
- Fold persistence — session-scoped stands (ADR-0013); revisit only if a later map lands on-disk node identity.
- Text-granular cross-block selection and structural undo in the outliner (carried over from map #97).
[Generated by AI]
Prose-list shortcuts are mode-B keybindings + rendering over the plain store — no block substrate in prose (ADR-0013 respected). Every structural edit is ONE range replacement: single undo step, caret rides natively.
Fold is view state keyed by marker-line position, re-keyed to the nearest same-marker parent on edit; the buffer never changes. Session-scoped, never persisted (per ADR-0013 posture).
Field findings for the record: SwiftUI-hosted TextKit2 never calls NSTextView.draw(_:), and every NSTextLayoutManager fragment query (bridge, lookup, enumeration) returns empty — chrome renders offscreen into a layer-contents image, geometry comes from firstRect(forCharacterRange:) (screen → window → view). Verified with live in-app counters; documented in Museion/AGENTS.md for the next surface that needs custom chrome.
Out-of-scope notes carried for future maps: fold persistence on-disk (session-scoped stands), "outline nodes as posts"/TOC vision, text-granular cross-block selection + structural undo in the outliner.
Closing the map — v1.2's Outliner II arc is done.
[Generated by AI]
Map complete — every slice landed on main:
- S4 Convert to Post — #114 (c0513aa)
- P1 prototype — #113
- S6 drag-reorder + zoom — #112 (21e2f27)
- S7 mixed-content guard — #111
- S5 prose-list shortcuts — #115 (c5c8749)
Decisions that shaped the final slice (S5, #115):
- Prose-list shortcuts are mode-B keybindings + rendering over the plain store — no block substrate in prose (ADR-0013 respected). Every structural edit is ONE range replacement: single undo step, caret rides natively.
- Fold is view state keyed by marker-line position, re-keyed to the nearest same-marker parent on edit; the buffer never changes. Session-scoped, never persisted (per ADR-0013 posture).
- Field findings for the record: SwiftUI-hosted TextKit2 never calls NSTextView.draw(_:), and every NSTextLayoutManager fragment query (bridge, lookup, enumeration) returns empty — chrome renders offscreen into a layer-contents image, geometry comes from firstRect(forCharacterRange:) (screen → window → view). Verified with live in-app counters; documented in Museion/AGENTS.md for the next surface that needs custom chrome.
Out-of-scope notes carried for future maps: fold persistence on-disk (session-scoped stands), "outline nodes as posts"/TOC vision, text-granular cross-block selection + structural undo in the outliner.
Closing the map — v1.2's Outliner II arc is done.
[Generated by AI]
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Destination
The outliner grows into a full writing tool: drag-reorder and zoom-in/focus-subtree in the outline editor, prose-list shortcuts (Tab/⇧Tab, ⌥↑/⌥↓, visual collapse) in the prose editor, an in-place Convert to Post command with a transform choice, and a data-loss guard for mixed-content outline files. Ends in ready-for-agent slices; this map stays OPEN until every slice lands.
Notes
Decisions so far
0b172f7(audit round included: reselect no-op, ask displacement).8e70f69had left them at 26.5 — tests couldn't link).c0513aa.Not yet specified
(none — the way to the destination is clear)
Out of scope
type: toc); conversion would create level-1 blocks as individual Posts with lower levels as headings; needs depth on how posts and TOC blocks are linked and created; chapters re-order in the sidebar per TOC position; a Compile command stitches linked pieces in node order. Trigger: chart when book-scale work starts.[Generated by AI]
Map complete — every slice landed on main:
c0513aa)21e2f27)c5c8749)Decisions that shaped the final slice (S5, #115):
Out-of-scope notes carried for future maps: fold persistence on-disk (session-scoped stands), "outline nodes as posts"/TOC vision, text-granular cross-block selection + structural undo in the outliner.
Closing the map — v1.2's Outliner II arc is done.
[Generated by AI]