@dragonbyte/dsh-drama-skills 0.1.3 → 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.3",
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
 
@@ -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. |
@@ -58,5 +58,16 @@ Khâu B10 (sửa video) không có skill riêng: lỗi ở mức dựng (cắt b
58
58
  - B3 `pipeline-a-4-storyboard`: `blocking.md`, `cinematography.md`, `editing.md`, `review.md`, `output.md`
59
59
  - B7 `pipeline-a-5-prompts`: `prompt-writing.md`, `output.md`, `review.md`, và 2 file trong `references/examples/`
60
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.
61
- - 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.
62
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
  ```
@@ -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