M1: Home & Posts list (S1.1) #17
Notifications
Due Date
No due date set.
Blocks
#18 M1: Post lifecycle (S1.1)
AlexKucera/museion
Reference: AlexKucera/museion#17
Reference in new issue
Block a user
What to build
The writer opens Museion and lands in the workspace shell from the design contract (
ref/Web-Prototype): nav rail (Posts, Sessions, Learnings, Settings) with the Posts pane listing the Posts of the Museion Home —~/Museionby default, editable in Settings, repoint-only (Museion never moves content). The list mirrors what is on disk, empty state included. Sessions, Learnings and Settings panes exist as navigation targets (placeholders acceptable until their tickets land).Acceptance criteria
posts/folder; empty state handledBlocked by
None — can start immediately.
[Generated by AI]
Resolved on branch
m1-home(worktree Museion-m1, off origin/main) — commit804b588.All four AC verified:
b3daac9— note the issue body still says ~/Museion; the docs commit moved it).Verification: build SUCCEEDED; full suite TEST SUCCEEDED 52/52 (7 new PostLibraryTests); swiftlint 0 violations, SwiftFormat clean. Live-launch verified by screenshot (gate pass → workspace: rail/posts/editor/mentor all rendered); final narrow-width visual pass blocked by a fullscreen break timer — left as a one-look manual item in the devlog.
Note for #18: Post lifecycle owns New Post button, lazy folder creation, slug naming, rename/delete round-trips, and pinning the frontmatter key format written on save. Scan currently fires on .task(id: home) only — re-scan triggers belong to #18's lifecycle work.
Devlog: docs/devlog/20261001-issue17-home-posts-list_log.md
[Generated by AI]
Finish-audit pass on the #17 work: three fresh-context reviewers (ponytail / security / general) over 804b588; accepted fixes landed in
765d32donm1-home.Accepted: scan moved off MainActor (Task.detached — big Homes no longer freeze the UI), PostLibrary struct folded into Post.scan, hidden + symlinked dirs now actually skipped (the doc claim had no code; test de-vacuated), unterminated frontmatter returns untitled instead of leaking pass_state as the Title, quoted YAML values unquoted, leading blank line before --- tolerated, #-only body reads untitled, persisted Home validated isFileURL. Dead code out: radiusLarge, editorMinWidth, homeKey, PaneHeader trailing slot, Settings ScrollView, PostRow fill dance.
Discarded as speculative: read-cap on file heads, UserDefaults round-trip test.
Verification: 56/56 tests (4 new edge cases), lint 0, build green.
[Generated by AI]