@dragonbyte/dsh-drama-skills 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dragonbyte/dsh-drama-skills",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "DSH skill bundle for drama production: the script-to-video pipelines.",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",
@@ -9,7 +9,7 @@ This skill owns location prompt composition and prompt-specific QA, not an indep
9
9
 
10
10
  ## 1. Source of truth
11
11
 
12
- Resolve paths in the active project. Read project.md, the A3-approved series/visual-bible.md, the applicable visual-standard.md, the location asset card, and approved references. Load cinematic-asset-design-engine and prepare its Visual Design Brief. Read the applicable assets/references/environment-design.md and environment-layout.md. Consult asset-images for technical requirements and location-sheets for multi-view coverage. Read the camera plan if available.
12
+ Resolve paths in the active project. Read project.md, the A3-approved series/visual-bible.md, the applicable visual-standard.md, the location asset card, and approved references. Load cinematic-asset-design-engine and prepare its Visual Design Brief. Read the applicable pipeline-a-3-assets/references/environment-design.md and pipeline-a-3-assets/references/environment-layout.md. Consult asset-images for technical requirements and location-sheets for multi-view coverage. Read the camera plan if available.
13
13
 
14
14
  - Explicit user decisions and approved project rules govern the task. Flag conflicts before generation.
15
15
  - Visual Bible owns Image Style and Film Stock; Visual Standard stores the approved executable treatment. Generic skill defaults cannot replace them.
@@ -9,7 +9,7 @@ Create production-ready prop references for cinematic video production. This ski
9
9
 
10
10
  ## 1. Sources and precedence
11
11
 
12
- Read the approved series Visual Bible, adopted Image Treatment in Visual Standard, project rules, prop asset card, story requirements, `assets/references/prop-design.md`, and applicable `asset-images` technical requirements. Read approved reference images and existing prop states when available. Load `pipeline-a-3-cinematic-asset-design-engine` when required by the project contract.
12
+ Read the approved series Visual Bible, adopted Image Treatment in Visual Standard, project rules, prop asset card, story requirements, `pipeline-a-3-assets/references/prop-design.md`, and applicable `asset-images` technical requirements. Read approved reference images and existing prop states when available. Load `pipeline-a-3-cinematic-asset-design-engine` when required by the project contract.
13
13
 
14
14
  The contract owns execution, approval gates and the sheet rule; Ark's pixel and ratio limits are tool law (300–6000 px per side, longer side ≤ 2.5× the shorter); the prop design owns object identity; the Visual Bible and Visual Standard own aesthetic treatment. Explicit user-approved product identity and story details must survive prompt composition. Report conflicts or missing approvals before generation rather than silently overriding them.
15
15
 
@@ -47,7 +47,7 @@ Quote required text exactly, including capitalization, punctuation and line brea
47
47
 
48
48
  ## 7. Prompt construction
49
49
 
50
- Use English unless explicitly instructed otherwise. Follow `references/prompt.md`. Include adopted treatment, identity, design, materials/colors, state, view, lighting, format and targeted exclusions. Avoid repetition and irrelevant scene, dialogue or acting instructions. Suggested budgets: simple 500–900 characters; important 800–1500; complex 1000–1800; revisions 300–800. These are targets, not tool limits. Verify actual tool limits and preserve critical identity details over redundant style language.
50
+ Write the prompt in English even when the conversation or a fix request is in another language; preserve exact names and required visible text. Follow `references/prompt.md`. Include adopted treatment, identity, design, materials/colors, state, view, lighting, format and targeted exclusions. Avoid repetition and irrelevant scene, dialogue or acting instructions. Suggested budgets: simple 500–900 characters; important 800–1500; complex 1000–1800; revisions 300–800. These are targets, not tool limits. Verify actual tool limits and preserve critical identity details over redundant style language.
51
51
 
52
52
  ## 8. Tools and workflow
53
53
 
@@ -65,9 +65,9 @@ For episode shot design, use the shared editing methods for picture cuts, insert
65
65
  | Current question | Reference |
66
66
  | --- | --- |
67
67
  | The series' dramatic promise and expressive scale; understanding the episode's continuous performance and choosing its viewing relationships, camera language and rhythm | [Directing](references/directing.md) |
68
- | Understanding the screenplay's enacted interaction, emotional course and meaningful timing when choosing its observation or identifying a writing gap | [Performance design](../screenplay/references/performance-design.md) |
68
+ | Understanding the screenplay's enacted interaction, emotional course and meaningful timing when choosing its observation or identifying a writing gap | [Performance design](../pipeline-a-2-screenplay/references/performance-design.md) |
69
69
  | Concrete camera choices: viewing and information relationships, composition, camera angles and movement, optics and focus, and light | [Camera techniques](references/camera-techniques.md) |
70
- | Picture cuts, inserts, action continuity across Shots and the realization of selected time treatments | [Editing](../storyboard/references/editing.md) |
70
+ | Picture cuts, inserts, action continuity across Shots and the realization of selected time treatments | [Editing](../pipeline-a-4-storyboard/references/editing.md) |
71
71
  | The complete shared image style and its application to actual scene occupation, spatial/material character, light and color | [Visual direction](references/visual-direction.md) |
72
72
  | Separate complete Series Direction and Visual Bible documents, or one complete episode Shot sequence proceeding directly to Scene Storyboards | [Output specification](references/output.md) |
73
73
 
@@ -34,10 +34,10 @@ Load References according to the shooting judgments the current task requires. A
34
34
 
35
35
  | Discipline | Reference | Questions Addressed |
36
36
  | --- | --- | --- |
37
- | Understanding the Adopted Performance, as Needed | [performance-design.md](../screenplay/references/performance-design.md) | What the screenplay's behavior, emotional experience and shared timing mean, what must remain perceptible, and whether a missing relationship needs screenplay revision. |
37
+ | Understanding the Adopted Performance, as Needed | [performance-design.md](../pipeline-a-2-screenplay/references/performance-design.md) | What the screenplay's behavior, emotional experience and shared timing mean, what must remain perceptible, and whether a missing relationship needs screenplay revision. |
38
38
  | Blocking | [blocking.md](references/blocking.md) | How ongoing activity, bodily support and contact shape positions, facing, eyelines and routes, and how people continue through entrances, exits and changing views. |
39
39
  | Cinematography | [cinematography.md](references/cinematography.md) | How each adopted view makes the written bodily, vocal and relational experience perceptible through visible surfaces, framing, optics, occlusion, movement, focus and light, including reception during speech and its continuing effects. |
40
- | Cinematographic Techniques, as Needed | [camera-techniques.md](../director/references/camera-techniques.md) | What the director's adopted techniques mean, the conditions they require, and the concrete shooting problems to resolve while preserving that visual language. |
40
+ | Cinematographic Techniques, as Needed | [camera-techniques.md](../pipeline-a-4-director/references/camera-techniques.md) | What the director's adopted techniques mean, the conditions they require, and the concrete shooting problems to resolve while preserving that visual language. |
41
41
  | Editing | [editing.md](references/editing.md) | How the director's adopted changes of view and rhythm become actual action phases, connection points, sound relationships and the chosen treatment of time. |
42
42
  | Output | [output.md](references/output.md) | The handoff basis, Scene photography setup, Shot overview and execution cards, including incoming connections, in-scene state and visibility, opening-frame descriptions and dynamic descriptions. |
43
43
  | Independent Review | [review.md](references/review.md) | Whether the actual described images and sounds preserve the source performance and adopted direction, whether continuous physical states and visibility agree, and where a concrete correction belongs. |
@@ -16,7 +16,7 @@ Judge the result by fidelity, intelligibility and continuity. Clear wording may
16
16
  - **Actual continuation:** For an extension, the actual adopted preceding video. When the user has supplied observations or explicitly enabled picture review, include the available account and evidence of completed and continuing actions, reached relationships and uncertainty. The planned ending remains part of the filming design, not an observation of the result.
17
17
  - **Provided references:** The current interval's Image/Audio tags, their subjects, depicted states or complementary views, timbre owners and purposes, with the actual materials and relevant design descriptions.
18
18
  - **Exact content and brief:** The adopted audible dialogue with its speakers, delivery and relation to the assigned views, including any intended interruption, repetition or replay; required sounds and exclusions, the current interval's applicable adopted image treatment and selected film stock from Visual Bible, and any explicitly fixed continuation or other wording. The complete Storyboard supplies the local photographic realization and the adopted dramatic, performance and rhythm choices needed here.
19
- - **Assignment and protection:** The requested role, authorized changes, protected content and requested language.
19
+ - **Assignment and protection:** The requested role, authorized changes, protected content and the language of the spoken dialogue. The Prompt's own language is never a requested variable: it is English.
20
20
  - **Revision evidence:** The current complete Prompt, requested changes, protected scope and feedback. For an observed-video repair, include the actual submitted text and references, predecessor media and the observed discrepancy, separately from the intended source.
21
21
 
22
22
  Read the complete Scene Storyboard to understand the event across cuts, while finalizing only the current interval. It may contain several complete Shots; sharing a Prompt does not merge those views. A later interval becomes writable when its actual predecessor is available and adopted; a picture assessment is not a default prerequisite. Missing media or conflicting reference purposes require their owner's decision.
@@ -59,4 +59,4 @@ For authoring or revision, deliver one complete final Prompt for the current ass
59
59
 
60
60
  An independent review returns the inspected scope, concrete findings with source Scene, Shot or utterance locations, the content that must be preserved and the responsible repair layer. A finding identifies the actual missing or conflicting passage, rather than treating correctly named Shots and speakers as proof that their encounter remains intact. Textual readiness, reference availability and any observed media result are separate conclusions.
61
61
 
62
- Follow the task's requested language while keeping spoken wording and adopted visible text in their original language and preserving the speaker's identity and designated timbre. Identify an explicit conflict with protected wording rather than silently translating it.
62
+ Write the Prompt itself in English whatever language the task or conversation is in. `Dialogue language` declares the language of the spoken words inside the film, not the language of the Prompt, so a Vietnamese film still carries an English body. Keep only spoken wording in `{}`, adopted visible text, and proper names in their original language, and preserve the speaker's identity and designated timbre. Identify an explicit conflict with protected wording rather than silently translating it.
@@ -47,6 +47,27 @@ Khâu B10 (sửa video) không có skill riêng: lỗi ở mức dựng (cắt b
47
47
  - **Mỗi cảnh:** clip 1 = R2V (prompt + ảnh asset); clip k ≥ 2 = extension với @Video 1 = clip k-1 **đã được chấp nhận**, prompt kiểu R2V + asset tương ứng. Cảnh mới bắt đầu lại bằng R2V. Render lại clip k-1 thì clip k trở đi phải làm lại.
48
48
  - **Model:** mặc định `dreamina-seedance-2-5-flash-261115`; clip có trên 10 ref (ảnh + video + audio) dùng `dreamina-seedance-2-5-260628`. Luôn truyền `model`.
49
49
  - **Cổng:** duyệt tài liệu không phải quyền chi tiền; mỗi ảnh và mỗi lần render cần xác nhận riêng; "test" = dừng ở prompt.
50
+ - **Prompt luôn viết bằng tiếng Anh.** Prompt video (B7) và prompt ảnh asset (B5: nhân vật, bối cảnh, đạo cụ) viết tiếng Anh, bất kể user trao đổi bằng ngôn ngữ nào và bất kể `Dialogue language` ghi gì — dòng đó khai ngôn ngữ **thoại trong phim**, không phải ngôn ngữ prompt. Chỉ ba thứ giữ nguyên ngôn ngữ gốc: lời thoại trong `{}`, chữ hiển thị đã chốt, và tên riêng.
50
51
  - **B7:** trước khi viết prompt, đọc `series/visual-standard.md` (dòng `Visual style:` 422 ký tự LOCKED, khối AVOID) và `series/prompt-template.md` (khung settings 5 dòng, bảng `@Audio`); prompt video **không** dùng `Avoid:` — chỉ giữ dòng `Restrictions` chuẩn.
51
- - Load skill của khâu **trước** khi làm khâu đó; làm theo skill đó cho phương pháp và định dạng đầu ra; lưu đầu ra vào đường dẫn trong contract mục 2.
52
+ - **Đọc `references/` của khâu trước khi làm khâu đó.** `SKILL.md` của mỗi skill khâu chỉ nêu phạm vi và liệt kê reference; **định dạng đầu ra bắt buộc nằm trong `references/output.md`** (mục "Professional References" gọi nó là "output format" theo từng tác vụ). Một sản phẩm viết khi chưa đọc reference của khâu đó là **bản nháp chưa hợp lệ**, kể cả khi trông đúng và đã render ra hình. Danh sách file cần đọc của từng khâu:
53
+ - A1 `pipeline-a-1-outline`: `method.md`, `output.md`
54
+ - A2 `pipeline-a-1-split-episodes`: `method.md`, `output.md`
55
+ - B1 `pipeline-a-2-screenplay`: `screenplay-authoring.md`, `performance-design.md`, `output.md`
56
+ - A3/B4/B5 `pipeline-a-3-assets`: `planning-and-reuse.md`, `character-design.md`, `environment-design.md`, `environment-layout.md`, `prop-design.md`, `voice-design.md`, `output.md`; cộng `references/prompt.md` của skill prompt ảnh đang dùng
57
+ - A3/B2 `pipeline-a-4-director`: `directing.md`, `visual-direction.md`, `camera-techniques.md`, `output.md`
58
+ - B3 `pipeline-a-4-storyboard`: `blocking.md`, `cinematography.md`, `editing.md`, `review.md`, `output.md`
59
+ - B7 `pipeline-a-5-prompts`: `prompt-writing.md`, `output.md`, `review.md`, và 2 file trong `references/examples/`
60
+ Ghi lại file đã đọc trong `fission/<version>/series/READ-RECEIPTS.md` ngay khi đọc xong, kèm số dòng; không đánh dấu khi chưa mở file thật.
52
61
  - Cập nhật `production-status.md` sau mỗi khâu; phiên sau kiểm lại file thật.
62
+
63
+ ## Giao việc và review mỗi khâu
64
+
65
+ | Bước | Ai | Việc |
66
+ |---|---|---|
67
+ | 1 | Agent điều phối | Mở agent 1. Giao: viết mới hay sửa, tên skill, file đầu vào (contract mục 1), góp ý (nếu sửa), nơi lưu (contract mục 2). Không giao thêm cách viết. |
68
+ | 2 | Agent 1 | Load skill. Đọc hết mọi file `SKILL.md` trỏ tới cho việc này: method, output, review, examples, workflows, ảnh mẫu, file/skill khác được trỏ tới; file có điều kiện thì đọc khi đúng điều kiện. Đọc hết file đầu vào. Viết, lưu. |
69
+ | 3 | Agent 2 | Chỉ ở khâu thuộc contract mục 1d. Load cùng skill, chế độ review. Đọc file đầu vào + bài của agent 1. Ghi lỗi: vị trí, khâu phải sửa. Không sửa bài. |
70
+ | 4 | Agent điều phối | Có lỗi → agent 1 sửa, hoặc về khâu gây lỗi (contract mục 8) → agent 2 review lại. Hết lỗi → user duyệt (nếu có cổng) hoặc sang khâu sau. |
71
+
72
+ - Agent điều phối không tự viết tài liệu của khâu.
73
+ - Agent 1 không tự review bài mình.
@@ -9,16 +9,16 @@ Mọi skill khâu của luồng `pipeline-a-orchestrator` tuân theo file này.
9
9
  | A0 | Khởi tạo dự án, settings | quy trình (không skill) — mục 10 | yêu cầu user | `source/original.md`, `project.md`, `production-status.md` |
10
10
  | A1 | Outline | `pipeline-a-1-outline` (user gửi, nguyên văn) | `project.md`, `source/original.md` | `series/outline.md` |
11
11
  | A2 | Chia tập (chỉ khi có nguyên tác đầy đủ) | `pipeline-a-1-split-episodes` (user gửi, nguyên văn) | outline đã duyệt, nguyên tác | `series/episodes/ep<NN>-source.md`, `series/episodes/allocation.json` (định dạng JSON theo `pipeline-a-1-split-episodes` output.md) |
12
- | A3 | Series Direction + Visual Bible | `pipeline-a-4-director` (phạm vi dự án) | outline đã duyệt | `series/direction.md`, `series/visual-bible.md` |
13
- | A4 | Bối cảnh dùng chung | `pipeline-a-3-assets` (user gửi; shared environments) — **prompt ảnh: `pipeline-a-3-location-prompt`** | visual bible | `assets/<location>.md` (card + layout + góc) |
12
+ | A3 | Series Direction + Visual Bible | `pipeline-a-4-director` (phạm vi dự án) | outline đã duyệt, `project.md`, `source/original.md` (nếu có) | `series/direction.md`, `series/visual-bible.md` |
13
+ | A4 | Bối cảnh dùng chung | `pipeline-a-3-assets` (user gửi; shared environments) — **prompt ảnh: `pipeline-a-3-location-prompt`** | `series/visual-bible.md`, outline đã duyệt (hoặc nguyên tác), các `assets/*.md` đã có | `assets/<location>.md` (card + layout + góc) |
14
14
  | B0 | Mở run tập / fork run | quy trình (không skill) — mục 10 | dự án đã có | dòng tập + run trong `production-status.md` |
15
- | B1 | Screenplay | `pipeline-a-2-screenplay` (user gửi, nguyên văn) | outline, ep source (nếu có), state-out tập trước | `script/ep<NN>.md` |
16
- | B2 | Shot plan tập | `pipeline-a-4-director` (phạm vi tập) | screenplay đã duyệt | `storyboards/ep<NN>/direction.md` |
17
- | B3 | Storyboard từng Scene | `pipeline-a-4-storyboard` (user gửi, nguyên văn) | shot plan đã duyệt | card mỗi Scene trong `storyboards/ep<NN>/scenes/S<NN>.md` |
18
- | B4 | Asset planning tập | `pipeline-a-3-assets` (user gửi; whole-episode) | storyboard **mọi** Scene | `assets/ep<NN>-plan.md` + `assets/<entity>.md` |
15
+ | B1 | Screenplay | `pipeline-a-2-screenplay` (user gửi, nguyên văn) | outline, ep source (nếu có), state-out tập trước, các yêu cầu kịch tính/diễn xuất liên quan trong `series/direction.md` | `script/ep<NN>.md` |
16
+ | B2 | Shot plan tập | `pipeline-a-4-director` (phạm vi tập) | screenplay đã duyệt (toàn tập), `series/direction.md`, `series/visual-bible.md`, `assets/<location>.md` của các nơi trong tập (nếu có) | `storyboards/ep<NN>/direction.md` |
17
+ | B3 | Storyboard từng Scene | `pipeline-a-4-storyboard` (user gửi, nguyên văn) | shot plan đã duyệt, Scene tương ứng trong `script/ep<NN>.md`, Image Style trong `series/visual-bible.md`, `assets/<location>.md` của nơi trong Scene (nếu có), State Out của Scene trước | card mỗi Scene trong `storyboards/ep<NN>/scenes/S<NN>.md` |
18
+ | B4 | Asset planning tập | `pipeline-a-3-assets` (user gửi; whole-episode) | storyboard **mọi** Scene, `script/ep<NN>.md`, `storyboards/ep<NN>/direction.md`, `series/visual-bible.md`, các `assets/*.md` đã có | `assets/ep<NN>-plan.md` + `assets/<entity>.md` |
19
19
  | B5 | Chuẩn bị asset (sinh ảnh, voice, đăng ký) | quy trình (không skill) — mục 10; thiết kế do `pipeline-a-3-assets` viết; **prompt ảnh nhân vật theo `pipeline-a-3-character-prompt`; prompt ảnh bối cảnh theo `pipeline-a-3-location-prompt`; prompt ảnh đạo cụ theo `pipeline-a-3-prop-prompt`** | asset plan đã duyệt | ảnh/voice + `.ark.json` Active |
20
20
  | B6 | Chia segment (render unit) | `pipeline-a-5-clip-segmentation` (user 21/11/2026) | storyboard + asset ready | `storyboards/ep<NN>/segments.md` + `fission_save_clip_plan` từng clip |
21
- | B7 | Prompt cho segment hiện tại | `pipeline-a-5-prompts` (user gửi, nguyên văn) | segment, card, asset Active; **bắt buộc đọc `series/visual-standard.md` (dòng `Visual style:` LOCKED + AVOID)**, `series/prompt-template.md` (khung settings 5 dòng + bảng `@Audio`), `series/visual-bible.md` (film stock + Image Style); clip k-1 đã chấp nhận nếu là extension | `storyboards/ep<NN>/clip_<NN>[_r<R>]_prompt.md` |
21
+ | B7 | Prompt cho segment hiện tại | `pipeline-a-5-prompts` (user gửi, nguyên văn) | segment, **toàn bộ** `storyboards/ep<NN>/scenes/S<NN>.md` của Scene, asset Active; **bắt buộc đọc `series/visual-standard.md` (dòng `Visual style:` LOCKED + AVOID)**, `series/prompt-template.md` (khung settings 5 dòng + bảng `@Audio`), `series/visual-bible.md` (film stock + Image Style); clip k-1 đã chấp nhận nếu là extension | `storyboards/ep<NN>/clip_<NN>[_r<R>]_prompt.md` |
22
22
  | B8 | Render | quy trình (không skill) — mục 1b + 6 + 7 + 10 | prompt đã duyệt + xác nhận user | MP4 + `.seedance.json` |
23
23
  | B9 | Duyệt hình — user tự xem clip ngoài luồng | — (không có bước agent duyệt hình) | MP4 | quyết định của user: chấp nhận, hoặc clip cần render lại |
24
24
  | B10 | Sửa video có sẵn | **Bỏ — không có skill riêng (user 20/11/2026).** Lỗi nhỏ (dư giây, đuôi chết, sai khung) → `media_edit` trim/frame, miễn phí; lỗi nội dung → quay về khâu sớm nhất (mục 8) rồi render revision mới | review có lỗi | MP4 mới cạnh bản gốc |
@@ -43,6 +43,12 @@ Cảnh mới → lại bắt đầu bằng R2V.
43
43
  - Tool: R2V `fission_submit_video`; extension `fission_register_ark_edit_video_asset` (MP4 đã duyệt) → `fission_check_ark_asset` Active → `fission_submit_video_extend` với `referenceVideoUri`, `assetUris`, prompt bắt đầu `Extend @Video 1 forward`.
44
44
  - Chưa xác minh: video extension trả về chỉ phần mới hay gồm cả phần cũ → kiểm bằng `media_probe` + frame ở lần đầu; nếu có phần trùng thì cắt bằng `media_edit` khi ghép.
45
45
 
46
+ ## 1d. Review độc lập
47
+
48
+ - Có review (agent 2): A1, A2, A3, A4, B1, B2, B3 (từng Scene), B4, B7 (từng clip).
49
+ - Không review agent: B5, B6, B8, B9 — user tự duyệt.
50
+ - Biên bản lưu `audits/`: phạm vi soát, lỗi + vị trí (Scene/Shot/câu thoại), khâu phải sửa. Không lỗi → ghi "không có lỗi" + phạm vi.
51
+
46
52
  ## 2. Thư mục (gốc: `fission/<version>/` trong thư mục làm việc)
47
53
 
48
54
  ```
@@ -79,8 +85,8 @@ File chấm (`.*.seedance.json`, `.*.ark.json`, `.ark-group.json`) và MP4 đã
79
85
 
80
86
  - Screenplay: heading `## S<NN> | INT/EXT · <bối cảnh> | <thời điểm> | Estimated <N> seconds`; thoại `@Tên[cách nói]{lời}`; âm thanh `<…>`; `[STATE-IN]`, `[STATE-OUT]`, `[HOOK-OUT]`.
81
87
  - Storyboard card 10 mục: Screenplay Location and Purpose · Action Process · Dialogue and Sound Mapping · Shot Scale and Composition · Camera Position and Viewing Direction · Camera Movement · Focus and Lighting · Opening Frame Description · Dynamic Prompt · Reference Materials; kèm Estimated Duration (có phép tính), State In/Out, Risk.
82
- - Prompt: heading shot `Shot1|7s` (2.5 có span giây); tối đa 15000 ký tự (tool từ chối trước khi gửi) nhưng khi có ảnh giữ ngắn (~≤1000 ký tự phần mô tả). Viết `Tên's (Image 4)`, không `Tên (Image4)'s`.
83
- - Ngôn ngữ: tài liệu theo ngôn ngữ user; prompt ảnh/video tiếng Anh; thoại giữ ngôn ngữ nói.
88
+ - Prompt: heading shot `Shot1|7s` (2.5 có span giây); tối đa 15000 ký tự (tool từ chối trước khi gửi). Đó là **trần duy nhất**, không kèm ngân sách riêng kiểu "có ảnh thì giữ ≤1.000 ký tự": mô tả đã chốt ở storyboard phải sang nguyên vẹn, cắt nó là mất nội dung được bảo vệ chứ không phải "cho gọn". Viết `Tên's (Image 4)`, không `Tên (Image4)'s`.
89
+ - Ngôn ngữ: tài liệu theo ngôn ngữ user; **prompt ảnh/video luôn tiếng Anh** — kể cả khi user trao đổi bằng ngôn ngữ khác và kể cả khi dòng `Dialogue language` khai ngôn ngữ thoại khác (dòng đó nói về thoại trong phim, không phải ngôn ngữ prompt); lời thoại trong `{}`, chữ hiển thị đã chốt và tên riêng giữ nguyên ngôn ngữ nói.
84
90
 
85
91
  ## 5. Nhịp thoại (không có code kiểm — skill là chốt chặn)
86
92
 
@@ -102,6 +108,9 @@ Ba điều trong đó phải biết kể cả khi không đọc: khâu ghép (B1
102
108
  | Vị trí đứng, đường đi, góc máy cụ thể, điểm cắt, ai thấy gì | B3 |
103
109
  | Ngoại hình, trạng thái, layout bối cảnh, thiếu góc | B4/B5 |
104
110
  | Prompt diễn đạt sai khi thiết kế đúng (segment chưa adopt) | B7, sửa trong cùng run |
111
+ | Sản phẩm sai định dạng vì khâu đó chưa đọc `references/` của skill | Chính khâu đó — viết lại sau khi đọc, không sửa bằng cách đoán từ sản phẩm mẫu |
112
+
113
+ Một khâu chỉ được coi là **XONG** khi mọi file `references/` mà skill của khâu đó liệt kê đã được mở thật và ghi vào `series/READ-RECEIPTS.md`. Thiếu dấu đọc thì sản phẩm là bản nháp, không phải đầu ra; các khâu sau chép lại cái sai và phải làm lại từ khâu sớm nhất, không phải từ chỗ phát hiện.
105
114
 
106
115
  ## 9. Skill khâu do user cung cấp
107
116
 
@@ -25,7 +25,7 @@ Phần này tách khỏi `contract.md` để một ticket dừng ở **B7** —
25
25
  | Duyệt outline (A1), direction/visual bible (A3), screenplay (B1), shot plan (B2), asset plan (B4) | user, bằng câu trả lời cho đúng tài liệu đó |
26
26
  | Sinh từng ảnh / voice (B5) | user yêu cầu đích danh |
27
27
  | Render từng segment/revision (B8) | user xác nhận đúng clip + revision + prompt sha256 + thứ tự ref |
28
- | Audit độc lập | teammate không viết tài liệu đó |
28
+ | Audit độc lập (mục 1d) — chạy **trước** cổng user của khâu đó | agent 2 (không phải agent 1 đã viết tài liệu đó) |
29
29
 
30
30
  Duyệt tài liệu không bao giờ là quyền chi tiền. “Test” = dừng ở prompt.
31
31
 
@@ -86,5 +86,5 @@ Một đoạn ngắn **không tiêu đề** nêu mục đích của ảnh refere
86
86
  2. `Visual style` đúng 422 ký tự, một dòng, không lẫn phủ định hay bố cục.
87
87
  3. `Light` viết riêng cho cảnh này và đủ 4 thành phần (key · fill · kết quả trên người · ràng buộc cảnh); không dùng `low/dim/moody/backlit` mà thiếu fill; mặt và da phải đọc được, không mâu thuẫn `Visual style`.
88
88
  4. Không có nhạc nền / tiếng nền / ambience; nếu kịch bản cần tiếng nền làm nguyên nhân truyện thì hỏi lại user.
89
- 5. Prompt ≤14.000 ký tự; clip có ảnh giữ phần mô tả ~≤1.000 ký tự.
89
+ 5. Prompt ≤15.000 ký tự (trần duy nhất, do `fission_submit_video` chặn trước khi gửi tiền). Không có ngân sách ký tự nào khác: **không cắt** mô tả đã chốt ở storyboard để "cho gọn" — bỏ nội dung không gian/hành động được bảo vệ là lỗi nặng hơn prompt dài. Nếu prompt vượt 15.000 thì đó là dấu hiệu chọn sai segment, không phải lý do nén.
90
90
  6. Đã ghi prompt ra `storyboards/ep<NN>/clip_<NN>_prompt.md` và ghi sha256 để user xác nhận trước khi render.