Split the fat files along the PostsModel pattern #193

Closed
opened 2026-11-16 18:15:42 +01:00 by AlexKucera · 0 comments
Owner

What to build

PostsModel.swift, WorkspaceView.swift, PostsPaneView.swift — the 2026-11-16 retro's most-re-read files (whole-file reads up to 65 KB; up to 6 re-reads of one file in a single session) — each split into cohesive extension files the way PostsModelPasses / PostsModelCards already split PostsModel. Mechanical, module-internal moves: symbols keep their names and module, zero call-site edits, zero behavior change. One commit per file so any single move reverts independently. Museion/AGENTS.md's workspace map gains the new file entries (DOX pass).

Acceptance criteria

  • Each of the three files lands under ~800 lines, or the remainder is genuinely cohesive with a ponytail: note saying why it stays
  • Zero behavior change: build + full unit suite green via scripts/full-test.sh; swiftformat + swiftlint clean
  • New files follow the domain-extension naming pattern; no symbol renames, no call-site edits
  • Museion/AGENTS.md map updated; one commit per source file

Blocked by

None (can start immediately).

[Generated by AI]

## What to build PostsModel.swift, WorkspaceView.swift, PostsPaneView.swift — the 2026-11-16 retro's most-re-read files (whole-file reads up to 65 KB; up to 6 re-reads of one file in a single session) — each split into cohesive extension files the way PostsModelPasses / PostsModelCards already split PostsModel. Mechanical, module-internal moves: symbols keep their names and module, zero call-site edits, zero behavior change. One commit per file so any single move reverts independently. Museion/AGENTS.md's workspace map gains the new file entries (DOX pass). ## Acceptance criteria - [ ] Each of the three files lands under ~800 lines, or the remainder is genuinely cohesive with a `ponytail:` note saying why it stays - [ ] Zero behavior change: build + full unit suite green via `scripts/full-test.sh`; swiftformat + swiftlint clean - [ ] New files follow the domain-extension naming pattern; no symbol renames, no call-site edits - [ ] Museion/AGENTS.md map updated; one commit per source file ## Blocked by None (can start immediately). [Generated by AI]
AlexKucera added the ready-for-agent label 2026-11-16 18:15:49 +01:00
Sign in to join this conversation.