2.0 KiB
2.0 KiB
openspec/changes/archive/2026-06-12-completed-changes-archive/reorganize-long-files
dir: openspec/changes/archive/2026-06-12-completed-changes-archive/reorganize-long-files
index: openspec/changes/archive/2026-06-12-completed-changes-archive/reorganize-long-files/.pi-map.index.md
role
This package archives the completed specification for a structural refactoring initiative that decomposed monolithic frontend pages and backend routers into smaller, focused components and services.
files
- .openspec.yaml | Defines a completed project specification named "reorganize-long-files" with start and completion dates
- proposal.md | Proposes a structural refactoring to split monolithic frontend pages and backend routers into thin orchestrators and extracted components/services, restoring a thin-page/thin-router/fat-component pattern.
- spec.md | This file specifies a pure structural refactoring plan to decompose monolithic frontend pages, CSS, and backend routers into smaller, focused components and services without changing any behavior or API contracts. | dep: React, React Router, CSS Modules, WebSocket, FastAPI, Python services architecture
- tasks.md | Tracks the completion status of a code reorganization initiative to slim down long backend routers and frontend pages by extracting components and services into dedicated files. | dep: spec.md, api/tool/tool_instances.py, api/tool/tool_lifecycle.py, api/system/terminal.py, services/git/operations.py, services/config/crud_service.py, services/config/resolver_service.py, pages/ToolWorkshopPage.tsx, pages/ConfigProfilesPage.tsx, pages/TerminalPage.tsx, pages/WorkspaceDetailPage.tsx, components/features/terminal/, components/features/workspace/, main.py
arch
Specification-driven refactoring using a proposal-spec-tasks workflow pattern with YAML metadata tracking, mandating pure structural decomposition (thin orchestrators, fat extracted components) while preserving all behavioral and API contracts.
tags
pages, py, services, components, api, tsx, frontend, backend