Post-Production Revision Closed-Loop
Feedback Triage and Impact Table
| User Feedback | Attribution Code | Affected Layers | Default Action |
|---|---|---|---|
| Subtitle typo/timing/font size | rev.text.track | text | Local text revision |
| Background music too loud/change track | rev.audio.mix | audio | One explicit audio change |
| Color cast/dark/cool tone | rev.color.look | color→audio→cover | Explicit correction/recipe change |
| Transition/order/rhythm | rev.edit.pacing | assemble→color→audio→text→cover | Local re-composition |
| Cover text/thumbnail | rev.cover.layout | cover | Local cover version |
| Title/label/CTA | rev.copy.tone | copy | Local copy layer |
| Explicitly named shot regeneration | rev.shot.content | shots and their downstream | Independent G8 new generation request |
| Cannot attribute | unclear | None | List actionable axes honestly, do not guess full redo |
Triage is based on the repository's deterministic REVISION_RULES; there is no default LLM quality evaluation. Only when the user actively names the need to change a shot does a new generation plan arise; component updates, old identity/clothing/quality/dialogue failures do not generate new generation authorization.
SOP: Impact → Snapshot → New Version
post-cli impact --project delivery/film-project.json --patch patch.json
post-cli reedit --project delivery/film-project.json --patch patch.json --dry-run
post-cli reedit --project delivery/film-project.json --patch patch.json --expected-version 1 --expected-project-sha256 <sha256>
- Triggered by explicit user revision request; run impact, record
layers/localOnly/shotRegeneration/costHint. Unknown patch keys or non-existent shot numbers must fail, silent ignore is prohibited. - Bind the actual version and SHA256 of the user-selected project;
dry-runprovidesexpectedVersion/expectedProjectSha256, and the write request carries the same pair of conditions. The receipt retains the base snapshot; if expired/changed, fail, do not silently refresh conditions. - Acquire a package-level exclusive lock and exclusively claim the new
versions/vNdirectory; recompute only affected layers according to dependency topology. Original shots/old versions are read-only; leave receipts in failure directories, do not grab residual locks or reuse already-occupied version numbers. - Before reuse, validate the original source SHA256 against the normalized current SHA256. Unnamed shots and unaffected layers are reused with evidence; if the source changes or processing fails, stop explicitly, cannot verify only cache while ignoring original file changes.
- After actual processing and requested export are complete, publish
film-project.jsonas the final commit; receipt recordsrebuilt/reusedper layer, actual file SHA256, time, and cost. - Consecutive v2→v3 use their own project directory for path rewriting; UHD uses target canvas, local normalization/export does not default to AI enhancement. Original program audio does not require new stem signatures; explicitly provided stems must be real and valid.
Version/Source/Concurrency Parameter Boundaries
expected_versionandexpected_project_sha256are a pair; version is a positive integer, SHA256 is the full 64 characters; expired requests returnrevision_conflict, do not auto-retry or switch endpoints.revision_busyretains the current exclusive state; residual locks require verification of actual status, cannot auto-preempt based on PID.- Original footage, base project, and old versions must never be overwritten; new versions are append-only. Real storage failures return
revision_io_failed, do not forge a completed commit. - Only when
audio_stems_by_shotis omitted is the original program default source used; explicitnull/false/empty or invalid mappings must fail before claiming a version, cannot silently degrade. - Explicitly replaced shots require real, readable new files and source authorization; original footage quality or nominal duration are not default revision gates.
- Paid regeneration must name shots and current G8/G-DLV5; changes only to subtitles, music, cover, color, and copy must not regenerate the entire film.
Named New Shot Path
If reedit does not receive a named new shot, it returns the plan and refuses execution (CLI exit 4); after obtaining actual new shots via an independent freeze request and G8, execute local revision using --shot SC-03=/path/new.mp4. Unnamed shots reuse source evidence. Default keeps original program audio; only explicit independent source replacement provides valid four-role sources.
Failure Modes (Symptom → Cause → Disposition)
| Symptom | Cause/First Check | Disposition |
|---|---|---|
| Project precondition expired | baseVersion/baseProjectSha256 | revision_conflict, save original request, verify current project and send explicit request |
| Package/version in use | Exclusive lock and claim record | revision_busy, do not grab lock or auto-retry |
| Replacement source or cache modified | Original source/normalized SHA256 | Source failure, stop, forbid forged reuse |
| Explicit stem mapping invalid | Shape, four roles, source signature/authorization | Request fails, do not degrade to default original sound or occupy a version |
| Required new shot not provided | Named regenerate and shotPaths | Return new generation plan/G8, no automatic spend |
| Actual FFmpeg/disk write failure | Command, stderr, storage | Leave failure directory and errors, do not commit project as success |
| User changes only one word but whole film recomputed | impact dependency layers | Local text revision request, reuse original shots and unaffected layers |
| User still dislikes old quality | Explicit feedback scope | Only execute new explicit change, no automatic review/redo |
Receipt, Experience, and Output
The receipt saves commit.runId/baseVersion/baseProjectSha256/newVersion/newProjectSha256, patch, impact, rebuilt/reused, and each reuse SHA256. Explain to the user what was changed, which original sources were adopted, actual local compute cost or explicit new rendering expenses. Do not pass off historical static time as this run's performance data.
Explicit style preferences go into authorized preference records, factual errors go into a defect pool, rework attribution goes into post/test records; these do not override the current frozen source and historical failures. Quality untested is null/qualityReviewed=false, completion is based on actual local processing and authorization.
Minimum audit-receipt structure:
{
"schemaVersion": "workloom.delivery-revision/v1",
"version": 2,
"commit": { "runId": "<claim-id>", "baseVersion": 1, "baseProjectSha256": "<base-project-sha256>", "version": 2, "projectSha256": "<new-project-sha256>" },
"patch": { "subtitles": { "zhText": "<explicit-new-text>" } },
"impact": { "layers": ["text"], "localOnly": true, "costHint": { "tokenCostDelta": 0 } },
"rebuilt": [{ "layer": "text", "variant": "warm-story" }],
"reused": [{ "layer": "shots", "shotId": "SC-02", "sha256": "<current-normalized-file-sha256>" }]
}
Field values must come from this actual project and receipt; the Chinese placeholders in the example must not be used as real SHA256 values. tokenCostDelta=0 only means local revision incurred no new shot submission; costs for user-requested dubbing, enhancement, or other external actions are recorded separately per actual call.
Process Metrics and Experience Usage
| Metric | Verifiable Measure | Source / Subsequent Use |
|---|---|---|
| Local revision rate | Actual revisions where impact.localOnly=true / Total actual revisions | revision records; do not use synthetic targets to claim achievement |
| Impact layer accuracy | Patch-corresponding dependency layers all completed, unaffected layers have reuse evidence | impact / rebuilt / reused; check if recomputation was missed |
| Reuse evidence completeness | Each reused item has current SHA256, shots also bind original source | Project and current files; detect cache or source tampering |
| Consecutive version readability | v2, v3 each have their own project path that can read actual output | Each version's film-project.json; verify relative path rewriting |
| Actual time and cost | Start/end time of this run and real external calls | Execution receipt; do not reuse a past real-time measurement |
| User choice and repeat revisions | Only count actual selection events and recurrence of same attribution | delivery.variant.selected / triage; improve next explicit recipe |
Hard subtitles cannot be turned off. When the user needs both a clean picture and a burned-in subtitle version, keep the clean master, then generate an explicit hard-subtitle copy; existing hard-subtitle material can be processed further, but you cannot promise to automatically remove old text or silently generate another segment.
Courses and exams are based on re-computable tasks: which local layer to change when music is too loud; which bytes should be kept when only changing subtitles; how to reconcile v2→v3 paths; why a failure is required if original footage is replaced but normalized cache is unchanged; how to separate user-named new shots from local revision traces.