Commit eb760ab
authored
refactor: rename persistence -> platform_store + v1 cleanup (#599 PR3/3)
## Summary
Final PR (3 of 3) for #599. Renames the slim control-plane store to its real
role, refreshes CLAUDE.md, and removes the last v1 stragglers.
- git mv codeframe/persistence -> codeframe/platform_store; updated all 31
imports across codeframe/, tests/, scripts/, plus CI yaml + active docs
(CONTRIBUTING.md, PRD.md, TESTING.md) and the embedded Python in
tests/e2e/global-setup.ts (caught by codex).
- CLAUDE.md: dropped stale codeframe/server/ references (Legacy rule + repo-
structure tree line); refreshed tests/agents/ note now that only
dependency_resolver remains.
- Stragglers: removed orphan sample_project_config fixture, deleted the 5
remaining #597-era v1 tests, un-ignored and fixed tests/api/test_health_endpoint.py
(live /health coverage restored), emptied root collect_ignore.
- Pre-existing PR2 leftovers caught by CodeRabbit: deleted
tests/blockers/test_blocker_expiration_simple.py and
tests/lib/test_metrics_tracker.py (both referenced removed Database methods
/ dropped tables; both deselected by -m v2, so prior CI green was misleading).
## Validation
- Tests: pytest -m v2 green (2824 passed); Backend + Frontend CI green
- Lint/Type: ruff + mypy clean (181 files); CI Code Quality green
- Collect: pytest --collect-only clean (3424); zero active references to
codeframe.persistence remain
- Boot: TestClient /health -> 200
- Cross-family review: codex (1 P2 fixed) + CodeRabbit (2 inline Major fixed)
- claude-bot advisory: 4 minor (3 fixed, 1 partly rebutted -- the
flagged "dead" Database guard in tests/ui/conftest.py is actually used by
the running_server fixture; simplified to a direct import)
- Demo: all 12 PR3 + 9 cumulative #599 acceptance criteria verified
## Cumulative -- #599 fully complete across PRs #602 + #603 + #604
- [x] No legacy multi-agent classes remain (PR1)
- [x] core/project.py + dead dirs removed (PR1)
- [x] Database exposes only control-plane methods (PR2)
- [x] persistence -> platform_store rename + CLAUDE.md (PR3)
- [x] codeframe serve boots (every PR)
- [x] pytest --collect-only clean; pytest -m v2 green (every PR)
- [x] cf --help + golden path; ruff + mypy clean (every PR)
- [x] Plan engine kept (verified live via engine_registry -> BuiltinPlanAdapter)
Closes #599.1 parent fa992f3 commit eb760ab
45 files changed
Lines changed: 56 additions & 3360 deletions
File tree
- .github/workflows
- codeframe
- auth
- cli
- core
- lib
- persistence
- platform_store
- repositories
- ui
- routers
- scripts
- tests
- api
- auth
- blockers
- cli
- e2e
- integration
- lib
- ui
- unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
| 624 | + | |
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 77 | + | |
81 | 78 | | |
82 | 79 | | |
83 | 80 | | |
| |||
89 | 86 | | |
90 | 87 | | |
91 | 88 | | |
92 | | - | |
93 | 89 | | |
94 | 90 | | |
95 | 91 | | |
| |||
128 | 124 | | |
129 | 125 | | |
130 | 126 | | |
131 | | - | |
132 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
133 | 130 | | |
134 | 131 | | |
135 | 132 | | |
136 | 133 | | |
137 | 134 | | |
138 | | - | |
| 135 | + | |
139 | 136 | | |
140 | 137 | | |
141 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments