# 2026-06-12-completed-changes-archive/reorganize-long-files
dir: 2026-06-12-completed-changes-archive/reorganize-long-files

index: 2026-06-12-completed-changes-archive/reorganize-long-files/.pi-map.index.md

## role
This is an archived project planning directory documenting a completed structural refactoring initiative to decompose monolithic frontend pages and backend routers into thinner, more maintainable modules.
## files
- .openspec.yaml | Configuration file tracking a completed project task for reorganizing long files
- proposal.md | Proposes a structural refactoring to split monolithic frontend pages and backend routers into thinner orchestrators with extracted components/services, restoring a thin-page/thin-router/fat-component pattern. | dep: React components, FastAPI routers, WebSocket, Docker, git services
- spec.md | A specification document defining a pure structural refactoring to split monolithic frontend pages/backend routers and CSS into smaller, focused components and services without changing any behavior or API contracts. | dep: React, CSS Modules, WebSocket, FastAPI/Flask routers, TypeScript, Vite
- tasks.md | Tracks the completion status of a codebase reorganization initiative to slim long files by extracting components and services into dedicated modules.
## arch
Task-driven documentation pattern using YAML configuration, markdown specs (proposal/spec/tasks), and a strict separation of planning artifacts from implementation, following a "thin orchestrator/fat component" modular decomposition strategy with zero-behavior-change refactoring constraints.
## tags
components, services, long, .openspec, structural, refactoring, split, monolithic
## symbols
-
## workflows
-
## dirty
-
