feat: add unified asset retry endpoint
Some checks failed
Build and Push Docker Images / changes (push) Has been cancelled
Build and Push Docker Images / build-backend (push) Has been cancelled
Build and Push Docker Images / build-frontend (push) Has been cancelled
Build and Push Docker Images / build-admin-frontend (push) Has been cancelled
Some checks failed
Build and Push Docker Images / changes (push) Has been cancelled
Build and Push Docker Images / build-backend (push) Has been cancelled
Build and Push Docker Images / build-frontend (push) Has been cancelled
Build and Push Docker Images / build-admin-frontend (push) Has been cancelled
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
|
||||
## 2.1 Current Progress Snapshot
|
||||
|
||||
**Updated**: 2026-04-17 evening
|
||||
**Updated**: 2026-04-18 morning
|
||||
|
||||
### What Has Been Completed
|
||||
|
||||
@@ -54,35 +54,43 @@
|
||||
- `0009_add_story_generation_statuses.py`
|
||||
- `0010_add_story_audio_cache_path.py`
|
||||
- 已完成一轮后端回归验证:`backend/` 下 `pytest -q` 结果为 `53 passed`
|
||||
- 已修复 admin-frontend 构建阻塞,主前端与管理端前端均可生产构建
|
||||
- 已落地首版统一资产重试入口:`POST /api/stories/{story_id}/assets/retry`
|
||||
|
||||
### What Is In Progress
|
||||
|
||||
- 统一状态模型已落地,但统一 service workflow 仍未真正收束成单一路径
|
||||
- 普通故事、完整生成、绘本生成仍存在多条 service / API 路径
|
||||
- 资产补全虽然已经支持图片与音频状态,但“统一重试入口”尚未实现
|
||||
- 资产补全已经具备统一重试入口首版,但仍需要继续抽象统一补全过程和 generation job 边界
|
||||
|
||||
### What Is Still Pending
|
||||
|
||||
- admin-frontend 的处理决策与演示范围收敛
|
||||
- Provider 的 Capability / Provider / Routing Policy 边界整理
|
||||
- Week 2 可直接执行的开发任务表
|
||||
- 演示 checklist 与最终收尾策略
|
||||
|
||||
### Remote Checkpoint Scope
|
||||
|
||||
当前远端已同步一个阶段性 checkpoint:
|
||||
当前远端已同步到 2026-04-17 晚间 WIP 快照:
|
||||
|
||||
- Commit: `a97a2fe`
|
||||
- Message: `feat: persist story generation states and cache audio`
|
||||
- Commit: `b8d3cb4`
|
||||
- Message: `wip: snapshot full local workspace state`
|
||||
|
||||
这个 checkpoint **不是今天下午所有本地修改的全集**。它只覆盖以下主线:
|
||||
这个 checkpoint 包含 `a97a2fe` 的统一状态模型主线,也包含后续文档治理和接手机制整理:
|
||||
|
||||
- 统一生成状态模型
|
||||
- Storybook 按 ID 恢复
|
||||
- 故事列表/详情/绘本页状态展示
|
||||
- 音频缓存与状态语义修正
|
||||
- `docs/` 信息架构整理
|
||||
- 求职版 PRD、统一生成工作流 PRD、Week 1 backlog、文档状态盘点
|
||||
- `AGENTS.md` 接手说明
|
||||
|
||||
当前工作区里仍存在其他未提交、本机独有的改动,周末换电脑后不会自动带过去。
|
||||
2026-04-18 在个人电脑接手时已确认:
|
||||
|
||||
- 本地 `main` 与 `origin/main` 对齐
|
||||
- 工作树起始状态干净
|
||||
- Gitea HTTPS 推送凭据已配置并通过 dry-run 验证
|
||||
|
||||
---
|
||||
|
||||
@@ -171,7 +179,7 @@
|
||||
| W1-05 | Product / Backend | 定义统一工作流下的 API / 数据结构影响 | 接口与模型变更清单 | P0 | 0.5d | In Progress |
|
||||
| W1-06 | Product / Backend | 梳理 Provider 概念层:Capability / Provider / Routing Policy | 分层图与术语表 | P1 | 0.5d | Pending |
|
||||
| W1-07 | Product / Frontend | 梳理 Storybook 当前问题与恢复方案 | 恢复方案说明 | P0 | 0.5d | Done |
|
||||
| W1-08 | Product / Frontend | 确认 admin 前端是修复、裁剪还是暂时降级 | 决策记录 | P0 | 0.5d | Pending |
|
||||
| W1-08 | Product / Frontend | 确认 admin 前端是修复、裁剪还是暂时降级 | 决策记录 | P0 | 0.5d | Done |
|
||||
| W1-09 | Planning | 产出 Week 2 开发任务清单 | 下周 backlog | P1 | 0.5d | In Progress |
|
||||
| W1-10 | Review | 形成求职演示版检查清单 | 演示清单 | P1 | 0.5d | Pending |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user