The repo contract says "SwiftFormat + SwiftLint must both stay clean", but five more error spots remain beyond PostsModel.swift (#146). All mechanical, zero behavior change — after this and #146, swiftlint is clean repo-wide on the app and test targets:
PostStore.swift: the PostStore enum body spans 354 against 350 — the same extension-move treatment as PostsModel's class body (a cohesive member group moves to a same-file or new-file extension; visibility widens private→internal only if the move crosses files). Note PostStore already carries documented same-file extensions — grow that pattern, don't invent a new one.
ProseListTextView.swift: six single-char locals (s, i, y, c) get real names.
ImageIngestTests.swift: one single-char local (i) gets a real name.
ProseList.swift (194-char line) and OutlineEditorView.swift (221-char line): wrap per house style.
PostStoreTests.swift: 1061 lines against 1000 — split at a natural suite boundary into a second file (house pattern: the MicropubTests → MicropubModelTests finish-audit split), keeping shared helpers internal to the original file.
Acceptance criteria
swiftlint lint Museion MuseionTests reports ZERO errors, and zero warnings on every touched file
swiftformat . clean
Build green; full MuseionTests suite green by xcresult executed count (573 at filing)
No behavior change anywhere (renames, wraps, and file moves only)
DOX pass on any file that gains or loses a documented contract (MuseionTests/AGENTS.md for the test split)
Blocked by
None (can start immediately — independent of #146, though landing both makes the repo-wide lint-clean claim true).
[Generated by AI]
## What to build
The repo contract says "SwiftFormat + SwiftLint must both stay clean", but five more error spots remain beyond PostsModel.swift (#146). All mechanical, zero behavior change — after this and #146, `swiftlint` is clean repo-wide on the app and test targets:
- `PostStore.swift`: the `PostStore` enum body spans 354 against 350 — the same extension-move treatment as PostsModel's class body (a cohesive member group moves to a same-file or new-file extension; visibility widens private→internal only if the move crosses files). Note PostStore already carries documented same-file extensions — grow that pattern, don't invent a new one.
- `ProseListTextView.swift`: six single-char locals (s, i, y, c) get real names.
- `ImageIngestTests.swift`: one single-char local (i) gets a real name.
- `ProseList.swift` (194-char line) and `OutlineEditorView.swift` (221-char line): wrap per house style.
- `PostStoreTests.swift`: 1061 lines against 1000 — split at a natural suite boundary into a second file (house pattern: the MicropubTests → MicropubModelTests finish-audit split), keeping shared helpers internal to the original file.
## Acceptance criteria
- [ ] `swiftlint lint Museion MuseionTests` reports ZERO errors, and zero warnings on every touched file
- [ ] `swiftformat .` clean
- [ ] Build green; full MuseionTests suite green by xcresult executed count (573 at filing)
- [ ] No behavior change anywhere (renames, wraps, and file moves only)
- [ ] DOX pass on any file that gains or loses a documented contract (MuseionTests/AGENTS.md for the test split)
## Blocked by
None (can start immediately — independent of #146, though landing both makes the repo-wide lint-clean claim true).
[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.
What to build
The repo contract says "SwiftFormat + SwiftLint must both stay clean", but five more error spots remain beyond PostsModel.swift (#146). All mechanical, zero behavior change — after this and #146,
swiftlintis clean repo-wide on the app and test targets:PostStore.swift: thePostStoreenum body spans 354 against 350 — the same extension-move treatment as PostsModel's class body (a cohesive member group moves to a same-file or new-file extension; visibility widens private→internal only if the move crosses files). Note PostStore already carries documented same-file extensions — grow that pattern, don't invent a new one.ProseListTextView.swift: six single-char locals (s, i, y, c) get real names.ImageIngestTests.swift: one single-char local (i) gets a real name.ProseList.swift(194-char line) andOutlineEditorView.swift(221-char line): wrap per house style.PostStoreTests.swift: 1061 lines against 1000 — split at a natural suite boundary into a second file (house pattern: the MicropubTests → MicropubModelTests finish-audit split), keeping shared helpers internal to the original file.Acceptance criteria
swiftlint lint Museion MuseionTestsreports ZERO errors, and zero warnings on every touched fileswiftformat .cleanBlocked by
None (can start immediately — independent of #146, though landing both makes the repo-wide lint-clean claim true).
[Generated by AI]