BE-PR-010: deprecate feat_task_id — retain column, read-only compat

- Updated model docstring with full deprecation strategy
- Updated column comment to mark as deprecated (BE-PR-010)
- Updated schema/router comments for deprecation clarity
- Added deprecation doc: docs/BE-PR-010-feat-task-id-deprecation.md
- feat_task_id superseded by Task.source_proposal_id (BE-PR-008)
This commit is contained in:
zhi
2026-03-30 12:49:52 +00:00
parent 08461dfdd3
commit 90d1f22267
4 changed files with 87 additions and 12 deletions

View File

@@ -297,7 +297,7 @@ class ProposalResponse(ProposalBase):
project_id: int
created_by_id: Optional[int] = None
created_by_username: Optional[str] = None
feat_task_id: Optional[str] = None # DEPRECATED — will be removed after BE-PR-008
feat_task_id: Optional[str] = None # DEPRECATED (BE-PR-010): legacy field, read-only. Use generated_tasks instead.
created_at: datetime
updated_at: Optional[datetime] = None