API文档维护Agent
|
312dad7497
|
feat: Phase 2 查重后端 API 实现
六边形架构分层实现:
Domain 层:
- DuplicationRecord / DuplicateSegment 实体
- 状态机生命周期 (pending→processing→completed/failed)
Ports 层:
- DuplicationRecordRepository Protocol
Adapters 层:
- SQLAlchemyDuplicationRecordRepository 完整实现
- DuplicationRecordModel / DuplicationSegmentModel ORM 模型
Application 层:
- UploadForDuplicationUseCase (上传查重)
- ListDuplicationRecordsUseCase (记录列表)
- GetDuplicationDetailUseCase (详情查询)
- DeleteDuplicationRecordUseCase (删除)
- RetryDuplicationUseCase (重新查重)
API 层:
- POST /api/v1/duplication/upload (上传视频查重)
- GET /api/v1/duplication/records (记录列表)
- GET /api/v1/duplication/records/{id} (详情含片段)
- DELETE /api/v1/duplication/records/{id} (删除)
- POST /api/v1/duplication/records/{id}/retry (重新查重)
Alembic 迁移:
- 011_add_duplication_tables.py (duplication_records + duplication_segments)
API 契约与前端 feat/phase2-duplication-ui (PR#75) 完全对齐。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
2026-06-28 16:12:46 +08:00 |
|
Xiaoxia AI
|
34353506d7
|
fix(web): restore project workspace context
|
2026-06-22 13:19:45 +08:00 |
|
Xiaoxia AI
|
bfbaddbd9a
|
style: normalize python formatting gates
|
2026-06-21 06:52:19 +08:00 |
|
Xiaoxia AI
|
642d01eee4
|
feat(phase7): prefer presigned generated video downloads
|
2026-06-18 20:49:31 +08:00 |
|
Xiaoxia AI
|
758c2c7e13
|
feat(phase7): align asset flow and scaffold generation pipeline
|
2026-06-18 19:59:37 +08:00 |
|
Xiaoxia AI
|
a8177c1268
|
feat: add asset classification pipeline
- domain: ClassificationJob entity with AssetClassification enum (scenic, product, person, animal, food, tech, sport, music, other)
- ports: ClassificationJobRepository interface
- application: SubmitClassificationJobUseCase
- adapters: InMemoryClassificationJobRepository
- worker: classify_asset task with mock classification logic
- tests: full classification pipeline test
- all 8 integration tests passing
|
2026-06-15 15:39:28 +08:00 |
|
Xiaoxia AI
|
b5a62ee9a3
|
feat: initial SaaS scaffold
- domain: User, Workspace, Project, AssetLibrary, Asset, IngestJob
- ports: repository interfaces
- application: use cases
- adapters: in-memory
- API: FastAPI 5 routes
- worker: Celery ingest_asset
- tests: 4 passing
|
2026-06-15 15:17:40 +08:00 |
|