Repository navigation
feat(skill): v2.8.0 七项能力补齐 - #6
Merged
Merged
Conversation
调研结论:本项目差异化资产是成片级量化(check_seams/qa_batch 已量化到指标级), 最弱的是往上游的账与影响面,七项能力的优先级据此排定。 外部对标:Toonflow 资产 revision 与制作台账、huobao 任务状态机与只查不重生成、 waoowaoo UsageCost 与 checkpoint、zenstory evaluations 三层评估与对标测量器。 社区痛点三源交叉:改一处推倒重来是最高频抱怨,视频生成占成本 92-97% 且废片照付。 实施方案按依赖与风险分三批:第一批 P1-4/P1-6/P0-1,第二批 P0-2/P1-5, 第三批 P0-3/P2-7。
按 docs/implementation-plan-p0-p2.md 三批实施,补齐「账」与「影响面」两块空白。 P0-1 任务台账:新增 task_ledger.py,submit/result/cancel 记事件,recover 只查 不重生成,report 汇总已花与失败浪费;数据落 _tasks.jsonl 事件溯源。studio.py status 增成本节(浪费超 10% 重生预算时告警),无台账时整节不显示。 P0-2 改稿影响面:新增 impact_graph.py,从分镜 @引用与 S-* 引用建「素材→镜→段」 三向索引,query 直接给重出清单并按改稿回流表推出成片需重剪。studio.py status --impact 查询、check 检测 _impact.json 过期(警告不失败)。check_scene_plates.py 的 S-* 正则提为模块级 SCENE_REF_RE 供复用,行为不变。 P0-3 审查规则表:新增 review-rubric.md(五范围 27 条,每条指到脚本或写明人工 判定项、四档结论)与 review_check.py(只查记录是否空壳:结论自洽、每条有证据、 PROVISIONAL 须写明缺什么)。评估门禁 quality_gate 未实施,需真实多版本产出校准。 P1-4 提示词血缘:manifest.py 加 normalize_prompt/prompt_hash 与 prompt_sha256、 prompt_source 字段,verify 增哈希比对——版号相同但正文改了报「同名不同内容」, 补上原先唯一能被忘升版号绕过的门禁。老清单无哈希降级警告,--strict-hash 可升级, 另加 backfill-hash 回填存量。 P1-5 对标测量器:新增 measure_ref.py,ffmpeg 场景检测测时长/切点/镜长,probe 与 diff 让参考片与自家成片走同一函数才可比;拿不到原片明确报错不估数。 P1-6 成本估算:新增 estimate_cost.py,读分镜 JSON 数镜 × 实测单价 + 重试余量, 未知档位报错不猜;selftest 解析参考文档断言常量不漂移。 P2-7 原著结构索引:新增 novel_index.py 与 novel-adaptation.md,编码识别、章节切分、 情节点带 quote+offset 可回查、分集章节区间建议;用 CREATIVE_WORDS 黑名单在代码层 锁住与 onlyshot-drama 的职责边界。 脚本 22→28,CI 清单与状态行同步;触发示例 50→58 类。 取舍:不引入数据库(jsonl + 文件哈希已覆盖同级语义)、不做 Web 前端(v2.0.0 决策 仍成立)、不自建模型调用层(estimate_cost 只算不调)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
按
docs/implementation-plan-p0-p2.md三批实施,补齐「账」与「影响面」两块空白。新增能力
task_ledger.pyimpact_graph.pyreview-rubric.md+review_check.pymanifest.pymeasure_ref.pyestimate_cost.pynovel_index.py+novel-adaptation.md关键改动
manifest.py加prompt_sha256:补上原先唯一能被「忘升版号」绕过的门禁,版号相同但正文改了会报「同名不同内容」studio.py增成本视图、--impact查询、init --novel、审查与原著软提示验证
走查抓到并修复三个真问题(均已补 selftest 锁死):场景 state 的
@day-crowd被素材正则误判、_novel/index.json被当分镜扫入、短镜头合并方向错。未实施
P0-3 第二阶段的质量评估门禁(
quality_gate.py)——需真实多版本产出才能校准,方案里已标注。