Build S1: storage substrate — projects/ + archive/, type frontmatter #107
Notifications
Due Date
No due date set.
Blocks
#108 Build S2: library UI — project grouping, Archive view, in-app commands
AlexKucera/museion
#109 Build S3: outline type + outliner — block tree, LogSeq keys
AlexKucera/museion
Reference: AlexKucera/museion#107
Reference in new issue
Block a user
Part of #97.
Question
Build slice S1 of the v1.1 layout change (ADR-0012): the storage substrate under
projects/+archive/, Content Type as frontmatter. No UI change beyond what the paths force — the library keeps working over the new shape.Work
Post.scan: enumerateprojects/<name>/<id>/(two levels; skip non-piece dirs as today). Scanarchive/too — archived pieces stay openable/editable (#99).PostsModelFSEvents roots →projects/+archive/;bind(home:)createsprojects/where it today createsposts/.PostStorewrite paths (writeNew,overwrite,rename,trash,importFile, sidecar, cursor): take/derive(project, id); piece file stayspost.mdfor every type. New-piece target = selected project when a post is selected, else the default projectposts(zero-friction flow unchanged).availableSlug: global namespace — enumerateprojects/*/ANDarchive/(an archived slug must not be reused; restore would collide).type: poststamped bywriteNew+importFile(our-keys-win merge inmergedFrontmatter, alongsidepass_state/origin); absenttypereads leniently aspost. Post model gains the attribute.PostStoreTests,EditorSessionTestspathsposts/<id>→projects/posts/<id>; new cases for two-level scan, archive scan, global-slug-across-projects, type stamping/lenient read.projects/posts/<id>/. No migration machinery — the app never reads the oldposts/root (#103).Verification
xcodebuild testgreen; scan/watcher/slug/type behaviors covered per above.[Generated by AI]