feat(v2.4): 切换计划与开发任务主写

This commit is contained in:
2026-07-08 12:34:33 +08:00
parent 5f5a211c99
commit 1bf630a7bc
21 changed files with 1612 additions and 28 deletions

View File

@@ -143,15 +143,15 @@
- Produces: `/api/v1/versions/:versionId/plans` and `/api/v1/versions/:versionId/dev-tasks`.
- Produces: minimal relational `WorkActivityService.record()` for successful plan/task domain actions.
- [ ] Add failing backend tests for VersionPlan create/update/status/complete writing `version_plans`.
- [ ] Add failing backend tests for DevTask create/update/status/block/unblock/transfer writing `dev_tasks` by `(id, versionId)`.
- [ ] Add failing backend tests proving status changes create `work_activities` records and mark Xiaobao summaries dirty.
- [ ] Add failing frontend tests proving plan/task stores write domain APIs and append activity evidence from API responses.
- [ ] Implement VersionPlan and DevTask modules using existing frontend workflow rules as the contract.
- [ ] Add minimal WorkActivity service and reuse V2.3 dirty-summary strategy.
- [ ] Switch version plan and dev task stores to domain writes with AppData fallback read only.
- [ ] Run targeted tests and full gates.
- [ ] Commit: `feat(v2.4): 切换计划与开发任务主写`.
- [x] Add failing backend tests for VersionPlan create/update/status/complete writing `version_plans`.
- [x] Add failing backend tests for DevTask create/update/status/block/unblock/transfer writing `dev_tasks` by `(id, versionId)`.
- [x] Add failing backend tests proving status changes create `work_activities` records and mark Xiaobao summaries dirty.
- [x] Add failing frontend tests proving plan/task stores write domain APIs and append activity evidence from API responses.
- [x] Implement VersionPlan and DevTask modules using existing frontend workflow rules as the contract.
- [x] Add minimal WorkActivity service and reuse V2.3 dirty-summary strategy.
- [x] Switch version plan and dev task stores to domain writes with AppData fallback read only.
- [x] Run targeted tests and full gates.
- [x] Commit: `feat(v2.4): 切换计划与开发任务主写`.
### Task 5: V2.4.4 TestCase / Bug Main Writes