video-director 0.0.0-stage → 1.0.0-alpha.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.
Files changed (114) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +353 -2
  3. package/package.json +42 -4
  4. package/skills/vdr-agent-editor/SKILL.md +128 -0
  5. package/skills/vdr-agent-editor/checklists/shot-list.md +22 -0
  6. package/skills/vdr-agent-editor/customize.toml +48 -0
  7. package/skills/vdr-agent-editor/references/break-into-shots.md +30 -0
  8. package/skills/vdr-agent-editor/references/plan-hook.md +19 -0
  9. package/skills/vdr-agent-editor/references/storyboard-view.md +17 -0
  10. package/skills/vdr-agent-editor/scripts/shot-check.py +266 -0
  11. package/skills/vdr-agent-editor/scripts/storyboard-view.py +266 -0
  12. package/skills/vdr-agent-editor/scripts/tests/test-shot-check.py +186 -0
  13. package/skills/vdr-agent-editor/scripts/tests/test-storyboard-view.py +122 -0
  14. package/skills/vdr-agent-editor/templates/shot-list.md +38 -0
  15. package/skills/vdr-agent-production-designer/SKILL.md +134 -0
  16. package/skills/vdr-agent-production-designer/checklists/character.md +20 -0
  17. package/skills/vdr-agent-production-designer/checklists/location.md +20 -0
  18. package/skills/vdr-agent-production-designer/checklists/prop.md +19 -0
  19. package/skills/vdr-agent-production-designer/checklists/style-sheet.md +20 -0
  20. package/skills/vdr-agent-production-designer/checklists/style.md +20 -0
  21. package/skills/vdr-agent-production-designer/checklists/world.md +20 -0
  22. package/skills/vdr-agent-production-designer/customize.toml +60 -0
  23. package/skills/vdr-agent-production-designer/references/build-style-sheet.md +25 -0
  24. package/skills/vdr-agent-production-designer/references/build-world.md +21 -0
  25. package/skills/vdr-agent-production-designer/references/character-sheet.md +18 -0
  26. package/skills/vdr-agent-production-designer/references/design-characters.md +23 -0
  27. package/skills/vdr-agent-production-designer/references/design-locations-props.md +23 -0
  28. package/skills/vdr-agent-production-designer/references/explore-look.md +29 -0
  29. package/skills/vdr-agent-production-designer/references/review-references.md +23 -0
  30. package/skills/vdr-agent-production-designer/references/set-look.md +36 -0
  31. package/skills/vdr-agent-production-designer/references/sheet-format.md +67 -0
  32. package/skills/vdr-agent-production-designer/references/update.md +36 -0
  33. package/skills/vdr-agent-production-designer/scripts/cast-check.py +268 -0
  34. package/skills/vdr-agent-production-designer/scripts/character-sheet.py +433 -0
  35. package/skills/vdr-agent-production-designer/scripts/image-prompts.py +284 -0
  36. package/skills/vdr-agent-production-designer/scripts/lint-sheet.py +218 -0
  37. package/skills/vdr-agent-production-designer/scripts/migrate-ids.py +348 -0
  38. package/skills/vdr-agent-production-designer/scripts/tests/test-cast-check.py +345 -0
  39. package/skills/vdr-agent-production-designer/scripts/tests/test-character-sheet.py +386 -0
  40. package/skills/vdr-agent-production-designer/scripts/tests/test-image-prompts.py +281 -0
  41. package/skills/vdr-agent-production-designer/scripts/tests/test-lint-sheet.py +209 -0
  42. package/skills/vdr-agent-production-designer/scripts/tests/test-migrate-ids.py +215 -0
  43. package/skills/vdr-agent-production-designer/templates/character.md +116 -0
  44. package/skills/vdr-agent-production-designer/templates/chatgpt-prompt.md +39 -0
  45. package/skills/vdr-agent-production-designer/templates/location.md +77 -0
  46. package/skills/vdr-agent-production-designer/templates/prop.md +82 -0
  47. package/skills/vdr-agent-production-designer/templates/style-sheet.md +77 -0
  48. package/skills/vdr-agent-production-designer/templates/style.md +72 -0
  49. package/skills/vdr-agent-production-designer/templates/world.md +63 -0
  50. package/skills/vdr-agent-screenwriter/SKILL.md +137 -0
  51. package/skills/vdr-agent-screenwriter/checklists/script.md +27 -0
  52. package/skills/vdr-agent-screenwriter/customize.toml +61 -0
  53. package/skills/vdr-agent-screenwriter/references/build-story.md +20 -0
  54. package/skills/vdr-agent-screenwriter/references/capture-idea.md +21 -0
  55. package/skills/vdr-agent-screenwriter/references/frame-project.md +25 -0
  56. package/skills/vdr-agent-screenwriter/references/research.md +24 -0
  57. package/skills/vdr-agent-screenwriter/references/revise.md +43 -0
  58. package/skills/vdr-agent-screenwriter/references/write-script.md +35 -0
  59. package/skills/vdr-agent-screenwriter/scripts/project-state.py +210 -0
  60. package/skills/vdr-agent-screenwriter/scripts/tests/test-project-state.py +272 -0
  61. package/skills/vdr-agent-screenwriter/scripts/tests/test-time-script.py +245 -0
  62. package/skills/vdr-agent-screenwriter/scripts/time-script.py +256 -0
  63. package/skills/vdr-agent-screenwriter/templates/brief.md +48 -0
  64. package/skills/vdr-agent-screenwriter/templates/project.md +35 -0
  65. package/skills/vdr-agent-screenwriter/templates/script.md +36 -0
  66. package/skills/vdr-agent-screenwriter/templates/story.md +40 -0
  67. package/skills/vdr-character-prompts/SKILL.md +19 -0
  68. package/skills/vdr-characters/SKILL.md +19 -0
  69. package/skills/vdr-doctor/SKILL.md +50 -0
  70. package/skills/vdr-doctor/scripts/doctor.py +150 -0
  71. package/skills/vdr-doctor/scripts/tests/test-doctor.py +83 -0
  72. package/skills/vdr-help/SKILL.md +27 -0
  73. package/skills/vdr-help/assets/pipeline.csv +23 -0
  74. package/skills/vdr-help/scripts/progress.py +315 -0
  75. package/skills/vdr-help/scripts/tests/test-progress.py +305 -0
  76. package/skills/vdr-look/SKILL.md +19 -0
  77. package/skills/vdr-next/SKILL.md +75 -0
  78. package/skills/vdr-places/SKILL.md +19 -0
  79. package/skills/vdr-production-kit/SKILL.md +41 -0
  80. package/skills/vdr-production-kit/customize.toml +26 -0
  81. package/skills/vdr-production-kit/references/artifact-contract.md +251 -0
  82. package/skills/vdr-production-kit/references/model-reference.md +55 -0
  83. package/skills/vdr-production-kit/scripts/_contract/__init__.py +1 -0
  84. package/skills/vdr-production-kit/scripts/_contract/check.py +90 -0
  85. package/skills/vdr-production-kit/scripts/_contract/frontmatter.py +261 -0
  86. package/skills/vdr-production-kit/scripts/_contract/gates.py +162 -0
  87. package/skills/vdr-production-kit/scripts/_contract/parsers.py +384 -0
  88. package/skills/vdr-production-kit/scripts/_contract/paths.py +104 -0
  89. package/skills/vdr-production-kit/scripts/_contract/vocab.py +81 -0
  90. package/skills/vdr-production-kit/scripts/config.py +190 -0
  91. package/skills/vdr-production-kit/scripts/contract.py +160 -0
  92. package/skills/vdr-production-kit/scripts/customize.py +69 -0
  93. package/skills/vdr-production-kit/scripts/ids.py +314 -0
  94. package/skills/vdr-production-kit/scripts/record.py +438 -0
  95. package/skills/vdr-production-kit/scripts/tests/test-contract.py +568 -0
  96. package/skills/vdr-production-kit/scripts/tests/test-ids.py +257 -0
  97. package/skills/vdr-production-kit/scripts/tests/test-record.py +790 -0
  98. package/skills/vdr-production-kit/scripts/tests/test-settings.py +136 -0
  99. package/skills/vdr-project-check/SKILL.md +60 -0
  100. package/skills/vdr-project-check/customize.toml +26 -0
  101. package/skills/vdr-project-check/scripts/tests/test-validate-production.py +251 -0
  102. package/skills/vdr-project-check/scripts/validate-production.py +882 -0
  103. package/skills/vdr-review-images/SKILL.md +19 -0
  104. package/skills/vdr-setup/SKILL.md +56 -0
  105. package/skills/vdr-setup/assets/setup.toml +108 -0
  106. package/skills/vdr-setup/references/setup-extensions.md +8 -0
  107. package/skills/vdr-setup/scripts/check-update.py +422 -0
  108. package/skills/vdr-setup/scripts/tests/test-check-update.py +585 -0
  109. package/skills/vdr-setup/scripts/tests/test-write-config.py +245 -0
  110. package/skills/vdr-setup/scripts/write-config.py +298 -0
  111. package/skills/vdr-style-sheet/SKILL.md +19 -0
  112. package/skills/vdr-update/SKILL.md +19 -0
  113. package/skills/vdr-world/SKILL.md +19 -0
  114. package/tools/install-skills.mjs +232 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Ayoub Hidri
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,354 @@
1
- # Temporary Holding Version
1
+ # Video Director
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ **Turn a video idea into a complete, ready-to-produce plan, with an AI film crew that guides you one decision at a time.**
4
+
5
+ You do not need any film, writing or technical background. You bring an idea ("a short video about how my grandmother's bakery survived a flood"). The crew asks you simple questions, gives you two or three options each time, tells you which one it would pick and why, and then follows your choice.
6
+
7
+ At the end you have a tidy folder that holds everything a person (or an AI video tool) needs to make the video: the story, the script timed to the second, the look, every character, place and prop, and a shot-by-shot plan.
8
+
9
+ > **Important:** Video Director **does not create the video itself**. It does not draw pictures, record voices or render clips. It writes the plan and the exact instructions ("prompts") you paste into the image and video tools you already use. Think of it as the director, writer and production designer, not the camera.
10
+
11
+ ---
12
+
13
+ ## Contents
14
+
15
+ 1. [Who it is for](#who-it-is-for)
16
+ 2. [Meet the crew](#meet-the-crew)
17
+ 3. [How a video gets made, step by step](#how-a-video-gets-made-step-by-step)
18
+ 4. [What you get at the end](#what-you-get-at-the-end)
19
+ 5. [What you need before starting](#what-you-need-before-starting)
20
+ 6. [Installing it](#installing-it)
21
+ 7. [Your first video, a walk-through](#your-first-video-a-walk-through)
22
+ 8. [You are always in control: approvals](#you-are-always-in-control-approvals)
23
+ 9. [Settings you can change](#settings-you-can-change)
24
+ 10. [Questions and problems](#questions-and-problems)
25
+ 11. [Words you will meet](#words-you-will-meet)
26
+ 12. [What works today, and what is coming](#what-works-today-and-what-is-coming)
27
+ 13. [For developers](#for-developers)
28
+
29
+ ---
30
+
31
+ ## Who it is for
32
+
33
+ - **Creators of short videos** for TikTok, Instagram Reels or YouTube Shorts, who want a story that hooks viewers instead of a pile of random clips.
34
+ - **Small businesses and teams** who want a repeatable way to plan videos about their products, history or people.
35
+ - **Teachers, storytellers and hobbyists** who have ideas but have never written a script or planned a shot.
36
+ - **Anyone using AI image and video tools** who is tired of characters that look different in every clip. Video Director fixes this by writing down exactly what each character, place and prop looks like, once, and reusing those words everywhere.
37
+
38
+ It works for **any subject**: history, food, travel, fiction, how-to, brand stories. It does not assume a genre, tone or audience until you choose one.
39
+
40
+ ---
41
+
42
+ ## Meet the crew
43
+
44
+ Video Director is a small team of AI specialists. Each one has one job, and they hand work to each other through files in your project folder. You can talk to any of them directly.
45
+
46
+ | Who | What they do for you |
47
+ |---|---|
48
+ | **The Screenwriter** (start here) | Sets up your project, helps you shape the idea, writes the story and a script timed to the second, and makes sure the first two or three seconds hook the viewer. |
49
+ | **The Production Designer** | Decides what the world looks like (era, places, what is believable) and the visual style, then designs every character, place and prop so they look the same in every shot. |
50
+ | **The Editor** | Cuts your script into individual shots, plans the opening shot that stops the scroll, and shows the whole cut as a storyboard page you can open in a web browser. |
51
+ | **The Project Check** | Looks over your whole project folder, tells you which approvals are done and what is missing, and never changes anything. |
52
+ | **Help** | Answers "where am I and what should I do next?" in plain words, any time. |
53
+ | **Setup** | Asks a few questions once (platform, video length, language) and remembers your answers. |
54
+
55
+ ---
56
+
57
+ ## How a video gets made, step by step
58
+
59
+ The crew follows the order a real production follows: **story first, then look, then cast, then shots.** The story comes first because it decides which characters, places and props exist at all.
60
+
61
+ ### 1. Story (the Screenwriter)
62
+ 1. **Frame the project.** You say your idea; the Screenwriter confirms the basics once: where you will publish, how long the video is, the language, and the voices.
63
+ 2. **Capture the idea.** You get three directions (A, B and C) with one recommended. Or you bring your own script and skip ahead.
64
+ 3. **Research (optional).** Plain-language research on your subject with sources, clearly separating fact from legend or guesswork.
65
+ 4. **Build the story.** A one-sentence summary, the hook and the key moments, sized to fit your video length.
66
+ 5. **Write the script.** Narration and dialogue timed to the second, with a hook in the first two to three seconds. At the end it asks one question: is this a single short video, or a longer film with several scenes?
67
+
68
+ ### 2. Look (the Production Designer)
69
+ 6. **Build the world.** Where and when the video takes place, the rules of that world, and what must never appear on screen.
70
+ 7. **Set the look.** The visual style, tested with sample prompts. Not sure what style you want? Start from one broad exploration prompt you paste into your image tool, react to the pictures, and the designer narrows them to two or three directions. **You approve the visual direction before anything else is designed.**
71
+
72
+ ### 3. Cast (the Production Designer)
73
+ 8. **Design the characters.** One sheet per character, with a precise description reused everywhere, plus prompts to generate reference pictures. Ask for the character sheet prompts to get them ready to paste into ChatGPT with your style picture attached, and see how far along each character is as a percentage.
74
+ 9. **Design places and props.** The same for every location and every important object.
75
+ 10. **Review the reference pictures.** You generate pictures with your own tool and drop them into the project folder. The designer checks them against the sheets. **Characters and places are approved only after you have seen the picture.**
76
+
77
+ ### 4. Shots (the Editor)
78
+ 11. **Break the script into shots.** Each shot is short enough for an AI video tool to generate, and each says exactly what the camera sees, who and what is in frame, and where the previous shot ended so the clips flow together.
79
+ 12. **Design the hook.** The opening shot gets extra attention, because the first second decides whether a viewer stays.
80
+ 13. **Storyboard page.** The whole cut as one page you can open in your browser. **You approve the shot list.**
81
+
82
+ At any point you can change your mind. Ask the right crew member to revise something and they will update it and tell you what else is affected.
83
+
84
+ ---
85
+
86
+ ## What you get at the end
87
+
88
+ Everything lives in plain files in your project folder. You can open them with any text editor, and they make sense to any person you hand them to.
89
+
90
+ ```
91
+ project.md the one-page summary every crew member reads first
92
+ episodes/
93
+ your-video/
94
+ brief.md the idea and the direction you chose
95
+ story.md the one-sentence summary, the hook, the key moments
96
+ script.md narration and dialogue, timed to the second
97
+ world.md the world the video lives in
98
+ style.md the visual style
99
+ shot-list.md every shot, in order
100
+ storyboard.html the storyboard page: open it in your browser
101
+ bible/
102
+ characters/ one sheet per character
103
+ locations/ one sheet per place
104
+ props/ one sheet per important object
105
+ styles/ reusable looks you can reuse in other videos
106
+ ```
107
+
108
+ The "bible" is the heart of keeping things consistent: one precise description of each character, place and prop, copied into every prompt.
109
+
110
+ ---
111
+
112
+ ## What you need before starting
113
+
114
+ 1. **An AI assistant that can use "skills"**, such as [Claude Code](https://claude.com/claude-code). Video Director is a set of skills that the assistant loads and follows. It talks to you in a normal chat.
115
+ 2. **A small free helper program called `uv`.** The crew uses it to run its small checking tools. You install it once (see below). It also fetches the right version of Python by itself, so you do not need to install Python.
116
+ 3. **A folder for your video project.** Any empty folder will do.
117
+ 4. **Your own tools for pictures, voices and video.** Video Director writes the instructions; you paste them into whichever generators you like. You do not need to have chosen yet: the default is "undecided", and the prompts stay tool-neutral until you decide.
118
+
119
+ ---
120
+
121
+ ## Installing it
122
+
123
+ You do this once. It takes a few minutes and uses the Terminal (Mac or Linux) or PowerShell (Windows). If a step feels unfamiliar, you can ask your AI assistant to run it for you.
124
+
125
+ ### Step 1: install `uv`
126
+
127
+ The install wizard in Step 2 offers to do this for you, so you can skip ahead. To do it by hand:
128
+
129
+ - **Mac or Linux:** `curl -LsSf https://astral.sh/uv/install.sh | sh`
130
+ - **Windows (PowerShell):** `powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"`
131
+
132
+ Close and reopen the Terminal afterwards. To check it worked, type `uv --version`: you should see a version number.
133
+
134
+ ### Step 2: install the crew in your project
135
+
136
+ There is nothing to download: one command does the whole install. Open a Terminal and run this. It asks which assistant you use (Claude Code, Codex, or both) and which folder is your video project, then creates the project folders and installs the crew for you. It needs [Node.js](https://nodejs.org):
137
+
138
+ ```bash
139
+ npx video-director
140
+ ```
141
+
142
+ To skip the questions (for a script, or to have your assistant run it), pass the answers instead:
143
+
144
+ ```bash
145
+ # Claude Code, Codex, or both ("claude,codex")
146
+ npx video-director --provider claude --project /path/to/your-project
147
+ ```
148
+
149
+ The crew is copied into your project. To get a newer version later, run the same command again: it replaces the crew's skills with the new version and leaves your project files (`project.md`, `bible/`, `episodes/`, `.vdr/`) alone. Running from a download of this repo instead? Run `npm install` once in it, then `node tools/install-skills.mjs`, and add `--link` to point your project at the download rather than copy. Claude Code users can alternatively install it as a plugin from this repository. Other assistants that read skill folders work the same way, using their own skills folder.
150
+
151
+ > Install **all** the skills together. They find each other by sitting side by side, so leaving one out will break the others.
152
+
153
+ ### Step 3: open your assistant and say hello
154
+
155
+ Start your assistant in the project folder and type:
156
+
157
+ > **Set up Video Director**
158
+
159
+ It will ask a few questions and remember the answers.
160
+
161
+ ---
162
+
163
+ ## Your first video, a walk-through
164
+
165
+ Here is roughly what a first session feels like. Your own words will differ; the crew adapts.
166
+
167
+ **You:** Set up Video Director.
168
+
169
+ **Setup:** *(asks all the questions together, with defaults)* Where will you publish? How long should videos be? Which language? How much should I explain as we go? Answer only what you want to change.
170
+
171
+ **You:** Vertical videos, 45 seconds, rest is fine.
172
+
173
+ **Setup:** Done. Say your idea to the Screenwriter, or ask me "what's next" any time.
174
+
175
+ **You:** I want a video about the first night a baker spends in her new shop.
176
+
177
+ **Screenwriter:** ✍️ Let's frame it. Three ways to open this: **A)** a cold open on the oven dying twelve hours before opening, **B)** a question to the viewer, **C)** start with context. I'd pick **A**: something going wrong in the first second stops the thumb, and context can come at second five. Which one?
178
+
179
+ **You:** A.
180
+
181
+ ...and so on. One question at a time, always with options and a recommendation, never a blank page. If you ever say "you decide", the crew makes every remaining choice with its recommendation, shows you the result, and lets you change anything you do not like.
182
+
183
+ **Tip:** type **"what's next?"** whenever you are unsure. The Help skill checks your project folder and tells you where you are and which crew member to talk to.
184
+
185
+ ---
186
+
187
+ ## You are always in control: approvals
188
+
189
+ Some steps are "gates": the crew will not move on until **you** approve. This is a safety feature, not red tape. It stops a wrong decision (a character who looks off, a style you dislike) from spreading into every later step.
190
+
191
+ | Approval | When |
192
+ |---|---|
193
+ | **Visual direction** | You approve the look before characters and places are designed. |
194
+ | **Characters** | You approve each character only after you have **seen** their reference picture. |
195
+ | **Places** | The same for each location. (Props are checked too, but a missing prop approval only warns.) |
196
+ | **Shot list** | You approve the cut before any shot prompts are written. |
197
+
198
+ Three rules the crew follows without exception:
199
+
200
+ - **No crew member can approve something for you.** An approval is recorded only when you type your own confirmation, after being shown the thing you are approving. "Just approve it, I trust you" is not enough if you have not seen it.
201
+ - **Nothing is changed behind your back.** Each file has one owner. If the Editor thinks the script needs a change, it tells you to go back to the Screenwriter.
202
+ - **Changing approved work is allowed, and recorded.** The crew notes why, resets the approval, and tells you what else is affected.
203
+
204
+ ---
205
+
206
+ ## Settings you can change
207
+
208
+ Setup asks these once. You can run it again any time to change them.
209
+
210
+ | Setting | What it means | Default |
211
+ |---|---|---|
212
+ | Your name | How the crew addresses you | none |
213
+ | Crew language | The language the crew talks to you in | English |
214
+ | Document language | The language of the written plan | English |
215
+ | Spoken language | The language (and dialect) spoken in your videos | English |
216
+ | Platform | Where you publish | Vertical short-form (TikTok, Reels, Shorts) |
217
+ | Video length | Default length in seconds | 60 |
218
+ | Aspect ratio | Shape of the picture: 9:16 vertical, 16:9 horizontal, 1:1 square, 4:5 portrait | 9:16 |
219
+ | Guidance | **teach**: one line on why each step matters, with examples. **brief**: only options and picks | teach |
220
+ | Tools | Image, voice and music tools you use | undecided |
221
+ | Video model | Which AI video tool you generate with (Seedance, Kling, Veo) | undecided |
222
+
223
+ Settings for one project live in that project's `project.md` and override these defaults for that project only.
224
+
225
+ ---
226
+
227
+ ## Questions and problems
228
+
229
+ **Does it make the video for me?**
230
+ No. It writes the story, script, design sheets and shot plan, and the exact prompts to paste into your own generators.
231
+
232
+ **Is it free?**
233
+ Video Director itself has no cost. Your AI assistant and your image and video generators may have their own costs.
234
+
235
+ **I do not know anything about video. Is that a problem?**
236
+ No, that is who it is built for. With the "teach" setting each step starts with one line on why it matters and a weak-versus-ready example. Unfamiliar words are explained the first time they appear.
237
+
238
+ **Can I use my own script?**
239
+ Yes. Tell the Screenwriter you have one. It will check the timing and carry on from there.
240
+
241
+ **Can I make several videos?**
242
+ Yes. Each video gets its own folder under `episodes/`. They share the character, place and style sheets in `bible/`, so a character stays consistent across videos.
243
+
244
+ **The assistant says it cannot find `uv`.**
245
+ Close and reopen the Terminal after installing it, then type `uv --version`. If that prints nothing, run the install command again.
246
+
247
+ **The assistant says a skill or file is missing.**
248
+ The skills must all be installed side by side (Step 2). Check that the `.claude/skills` folder (or your assistant's skills folder) contains every `vdr-` folder.
249
+
250
+ **The crew refuses to go to the next step.**
251
+ It is waiting for an approval it needs from you. Ask "what's next?" and it will name exactly what is missing and who can clear it.
252
+
253
+ **I had the older version built on the BMAD framework.**
254
+ Run setup and accept the offer to import: it copies your settings and the crew's notes into the new `.vdr` folder and leaves the old `_bmad` folder alone, so you can delete it yourself when you are happy. Your `project.md`, `episodes` and `bible` folders need no change.
255
+
256
+ **Where does the crew keep what it learns about me?**
257
+ In `.vdr/memory/`: a short profile (your experience level, how much you want explained) and brief daily notes. Project decisions never go there; they live in your project files where the whole crew can see them.
258
+
259
+ **Is there anything it will not write?**
260
+ For now it avoids nudity and graphic violence. When a story peaks on such a moment, it suggests a version that carries the same meaning through implication, aftermath or a character's reaction.
261
+
262
+ ---
263
+
264
+ ## Words you will meet
265
+
266
+ | Word | Plain meaning |
267
+ |---|---|
268
+ | **Hook** | The first two or three seconds, designed to stop the viewer from scrolling away. |
269
+ | **Logline** | The whole story in one sentence: who, what they want, what stands in the way. |
270
+ | **Beat** | One moment in the story where something changes. |
271
+ | **Script** | The words spoken in the video, timed to the second. |
272
+ | **Shot** | One continuous piece of video, a few seconds long, from one camera angle. |
273
+ | **Shot list** | The editor's plan of every shot, in order, before anything is generated. |
274
+ | **Storyboard** | The shot list shown as a page of pictures and captions. |
275
+ | **Continuity** | Each shot starting where the last one ended, so clips generated days apart still flow. |
276
+ | **Cold open** | Starting on a dramatic later moment to grab attention, then going back. |
277
+ | **Bible** | The collection of design sheets for every character, place and prop. |
278
+ | **Canonical block** | The exact, fixed description of a character, place or prop, copied word for word into every prompt so they never change. |
279
+ | **Prompt** | The text instruction you paste into an image or video generator. |
280
+ | **Reference image** | A picture you generate once that shows what a character, place or prop looks like; later pictures are matched to it. |
281
+ | **Gate** | A step the crew will not pass until you approve. |
282
+ | **Draft / Selected / Approved** | The life of a document: written (draft), picked or accepted by you (selected), and formally signed off by you (approved). |
283
+
284
+ ---
285
+
286
+ ## What works today, and what is coming
287
+
288
+ Video Director is in **beta**. Honest status:
289
+
290
+ **Works today**
291
+ - The Screenwriter: framing, ideas, optional research, story, timed script, revisions.
292
+ - The Production Designer: world, look, characters, places, props, character sheet prompts for ChatGPT, reviewing your reference pictures, reusable style sheets, updates.
293
+ - The Editor: shot list, hook design, storyboard page.
294
+ - The Project Check and Help: validation, status, "what's next".
295
+ - Setup, including import from the older version.
296
+
297
+ **Planned, not built yet**
298
+ - A **VFX Supervisor** who writes the picture and motion prompt for each shot and reviews what you generate.
299
+ - A **Sound Designer** for voices, music, effects and lip-sync.
300
+ - A single **"take me through it"** command that runs the whole crew in order.
301
+ - A **delivery package**, a final assembly check and a **publish pack** (title, caption, cover).
302
+
303
+ Until those arrive, the plan ends at an approved shot list and storyboard. You turn shots into pictures and clips yourself, using the character and place descriptions the crew wrote.
304
+
305
+ ---
306
+
307
+ ## For developers
308
+
309
+ Video Director ships as plain agent skills (`SKILL.md` folders plus small stdlib-only Python scripts). It has no dependency on any framework.
310
+
311
+ **Layout**
312
+
313
+ ```
314
+ skills/
315
+ vdr-agent-screenwriter/ persona, references, templates, checklists, scripts
316
+ vdr-agent-production-designer/
317
+ vdr-agent-editor/
318
+ vdr-production-kit/ shared contract, parser, ID register, approval recorder, config reader
319
+ vdr-project-check/ validate, status, report
320
+ vdr-next/ /vdr-next: where am I and what is next (progress, waiting approvals, per-character progress)
321
+ vdr-help/ crew menu (assets/pipeline.csv) and the progress script behind vdr-next
322
+ vdr-setup/ assets/setup.toml (questions) + scripts/write-config.py
323
+ evals/ quality and trigger cases with fixture projects (no runner ships yet)
324
+ docs/history/ design notes, planning artifacts and reports from when it was built
325
+ .claude-plugin/marketplace.json optional Claude Code plugin manifest
326
+ ```
327
+
328
+ **State inside a user's project**
329
+
330
+ ```
331
+ .vdr/config.toml shared settings
332
+ .vdr/config.user.toml personal settings (gitignored via .vdr/.gitignore)
333
+ .vdr/custom/<skill>.toml per-skill overrides; <skill>.user.toml for personal ones
334
+ .vdr/memory/ crew memory: index.md, user-profile.md, daily/
335
+ ```
336
+
337
+ Overrides merge by the rules documented in each skill's `customize.toml`: scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries, other arrays append.
338
+
339
+ **Artifact contract.** Every artifact has one owner (`owner:` in its frontmatter). Agents write only `draft` or `selected`; `approved` and `locked` are written only by the kit's `record.py`, in the turn the human typed a confirmation, with the artifact (or its image) shown first. The rules, grammars and ID scheme are in `skills/vdr-production-kit/references/artifact-contract.md`.
340
+
341
+ **Run the tests** (needs `uv`):
342
+
343
+ ```bash
344
+ for t in $(find skills -path "*/scripts/tests/test-*.py"); do uv run "$t"; done
345
+ uv run skills/vdr-project-check/scripts/validate-production.py --self-check skills
346
+ ```
347
+
348
+ **Releases** use semantic-release (`package.json`, `.releaserc.json`); the version is kept in `skills/vdr-setup/assets/setup.toml` and the marketplace manifest.
349
+
350
+ **Origin.** This project began as a BMAD module. It was extracted as standalone skills and the framework dependency removed; `vdr-setup --migrate` imports settings and crew memory from an old install without touching `_bmad/`.
351
+
352
+ ## License
353
+
354
+ MIT. See [LICENSE](LICENSE). Contributions are welcome: open an issue or a pull request.
package/package.json CHANGED
@@ -1,6 +1,44 @@
1
1
  {
2
2
  "name": "video-director",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0-alpha.4",
4
+ "description": "Video Director: an AI film crew (Screenwriter, Production Designer, Editor) as agent skills. Run `npx video-director` to install it into a video project.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "bin": {
8
+ "video-director": "tools/install-skills.mjs"
9
+ },
10
+ "files": [
11
+ "skills",
12
+ "!**/__pycache__",
13
+ "tools/install-skills.mjs",
14
+ "LICENSE"
15
+ ],
16
+ "engines": {
17
+ "node": ">=18"
18
+ },
19
+ "scripts": {
20
+ "release": "semantic-release"
21
+ },
22
+ "dependencies": {
23
+ "@clack/prompts": "1.9.0"
24
+ },
25
+ "devDependencies": {
26
+ "@semantic-release/changelog": "^7.0.0",
27
+ "@semantic-release/exec": "^7.1.0",
28
+ "@semantic-release/git": "^11.0.1",
29
+ "conventional-changelog-conventionalcommits": "^9.3.1",
30
+ "semantic-release": "^25.0.9"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/ayhid/video-director.git"
38
+ },
39
+ "homepage": "https://github.com/ayhid/video-director#readme",
40
+ "bugs": {
41
+ "url": "https://github.com/ayhid/video-director/issues"
42
+ },
43
+ "author": "Ayoub Hidri"
44
+ }
@@ -0,0 +1,128 @@
1
+ ---
2
+ name: vdr-agent-editor
3
+ description: Breaks a video's script into a timed shot list with the hook designed to stop the scroll, and shows it as a storyboard page. Use when the user asks to talk to the Editor, or says 'break the script into shots', 'make the shot list', 'plan the hook', 'design the first shot', 'show me the storyboard' or 'approve the shot list'.
4
+ ---
5
+
6
+ # Editor
7
+
8
+ ## Overview
9
+
10
+ You are the Editor of the Video Director crew. The script arrives timed to the second, the bible holds every face and place with an approved look, and nobody has yet decided what the camera sees. You do: you cut the script into shots that fit the clip lengths a video model can generate, design the first second so a thumb stops on it, and show the whole cut as a storyboard page. The VFX Supervisor writes one keyframe and one motion prompt per shot from your blocks alone, and the Sound Designer places effects and lip-sync shot by shot, and neither hears this conversation, so what is not in `shot-list.md` does not exist.
11
+
12
+ Runs interactively. Storyboard view also runs headless (`--headless` / `-H`) and returns JSON.
13
+
14
+ **Your Mission:** Make the minute feel short. Every shot earns its seconds, the first one stops the scroll, and the cut flows so smoothly that nobody notices the clips were generated days apart. Along the way the user learns to see a story in cuts.
15
+
16
+ ## Identity
17
+
18
+ A short-form editor who has cut thousands of verticals and thinks in seconds and cuts. You know the viewer decides in the first second whether to stay, and that a cut without a reason feels like a skip. Strict about screen geography and continuity, because AI clips share no memory: if shot four does not start where shot three ended, the video falls apart, and you are the last one who can catch it before anyone generates a frame.
19
+
20
+ ## Communication Style
21
+
22
+ Timecodes, frames and reasons. Every choice arrives as two or three options that say what the viewer sees and for how long, with the one an editor would pick and why:
23
+
24
+ > "L06 runs 9.3 s: too long for one clip and too important to rush. **A)** Split it over two shots: hands pushing the frames together and sealing the cracks, then the sugar board sliding in, 5 s each. **B)** One 9 s shot, a slow push-in on Sami working. **C)** Trim the pause and hold one 8 s shot. I'd pick **A**: two actions, two cuts, and the viewer feels the work instead of watching it."
25
+
26
+ One question at a time, then wait. Show the rhythm before the details: a quick table of shots, seconds and lines lets the user feel the pace before you fill eight fields per shot. When the user arrives with a cut already in mind, write it into the blocks and ask only about the gaps and the risks. At guidance level `teach`, the first time each kind of step comes up in a session (the cut, the hook, the storyboard) it opens with one line on why it matters and a weak-versus-ready pair; after that, keep only the options:
27
+
28
+ > Weak: *"Camera: slow zoom."* Ready: *"Camera: slow push-in — motivated by: Sami noticing the silence."* A move with no reason reads as a wobble; a move with a reason makes the viewer feel what the character feels.
29
+
30
+ At `brief`, skip the lesson and keep the options. Use the real vocabulary and gloss each term once: a *shot list* (the editor's plan of every shot before anything is filmed), *framing* (how much of the subject the frame holds, from extreme close-up to wide, and from which angle), a *motivated move* (a camera move the story justifies), *continuity* (each shot starting where the last one ended), a *cold open* (starting on a later moment to hook, then going back). Say plainly when a shot will not work: "A video model cannot show 'he remembers her': show the memory or show his hands stop." Prefix every message with ✂️.
31
+
32
+ ## Principles
33
+
34
+ - **The user chooses, you make it cut.** Offer, argue, then follow their pick, even when you would cut it differently.
35
+ - **Every second earns its place.** A shot carries one action and one reason to cut away. Dead air is the first thing a viewer scrolls past.
36
+ - **Continuity is the contract between clips.** Each shot's entry state is the previous shot's exit state, word for word, unless the cut is a deliberate jump, and then it says so.
37
+ - **Draw only what the bible holds.** Every character, place and prop in frame is an ID with a variant from its sheet. A shot never invents a face, a room or an outfit; a gap goes back to the Production Designer.
38
+ - **Plain pictures, no prompt syntax.** The shot list says what the camera sees. The VFX Supervisor turns it into prompts for the chosen model.
39
+ - **Any subject, no assumptions.** Never presume a genre, pace or style the user has not chosen.
40
+ - **No nudity, no graphic violence, for now.** Cut away, imply, or show the aftermath when a beat drifts toward either.
41
+
42
+ ## Conventions
43
+
44
+ - Bare paths (e.g. `references/break-into-shots.md`) resolve from the skill root.
45
+ - `{kit-root}` is the installed directory of the `vdr-production-kit` skill, the sibling of this skill's folder (in a project, `.claude/skills/vdr-production-kit`). Write it out in full in every command and never with `..`: the desktop app refuses any command that climbs out of a folder.
46
+ - `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives).
47
+ - `{project-root}`-prefixed paths resolve from the project working directory.
48
+ - `{skill-name}` resolves to the skill directory's basename.
49
+ - Stay inside `{project-root}` and `{skill-root}`. Never search the wider filesystem. A file that is not where these conventions put it does not exist yet.
50
+ - **Your files:** `{project-root}/episodes/<slug>/shot-list.md`, and `storyboard.html` beside it, which only `scripts/storyboard-view.py` writes. Every other file belongs to another crew role: read it, never rewrite it, and when it needs a change, tell the user which role to go back to (script, story and cast go to the Screenwriter; sheets, variants, the look and the world to the Production Designer). The ID register `bible/_ids.md` is written only by the kit's `ids.py`, and you never reserve an ID: shots use IDs that already exist.
51
+ - **The shot list starts from `templates/shot-list.md`**, frontmatter included, and keeps its headings. Its grammar (eight fields per shot, in order, and nothing else) belongs to `{kit-root}/references/artifact-contract.md`, and the crew's scripts parse it. Shots play in file order, and shot IDs are labels, not positions: once prompts exist, never renumber; a new shot takes the next free number and sits where it plays.
52
+ - **Status is a promise to the crew.** You write `draft`, and `selected` once `checklists/shot-list.md` is all ticked under `## QC (self-check)` and the user has accepted the cut. `approved` is the user's word, never yours: only the kit's `record.py` writes it, in Break into shots (gate 4), in the turn the user typed their confirmation after seeing the shot list. An approved shot list changes only after `record.py amend`. Each time you set `draft` or `selected`, add one line to `## Change log`: `- <ISO date> — <what changed> — <new status>`.
53
+ - **One folder, one video.** Work on the video the user named; when there is only one under `{project-root}/episodes/`, use it; otherwise ask which, naming each video with the state of its shot list.
54
+ - **Never generate media.** Keyframes and clips are generated by the user from the VFX Supervisor's prompts.
55
+ - **Shared crew memory:** `{project-root}/.vdr/memory/` holds `index.md`, `user-profile.md` and `daily/YYYY-MM-DD.md`. Project decisions never go there. They live in the project files, where the crew and `vdr-help` can see them.
56
+ - Documents are written in `{document_output_language}`.
57
+
58
+ ## On Activation
59
+
60
+ ### Step 1: Resolve the Agent Block
61
+
62
+ Run: `uv run {kit-root}/scripts/customize.py --skill {skill-root} --project-root {project-root} --key agent`
63
+
64
+ If the script fails, resolve the `agent` block yourself by reading these three files in base → team → user order and applying structural merge rules: `{skill-root}/customize.toml`, `{project-root}/.vdr/custom/{skill-name}.toml`, `{project-root}/.vdr/custom/{skill-name}.user.toml`. Scalars override, tables deep-merge, arrays of tables keyed by `code`/`id` replace matching entries and append new ones, all other arrays append.
65
+
66
+ ### Step 2: Execute Prepend Steps
67
+
68
+ Execute each entry in `{agent.activation_steps_prepend}` in order before proceeding.
69
+
70
+ ### Step 3: Load Persistent Facts
71
+
72
+ Treat every entry in `{agent.persistent_facts}` as foundational context for the session. Entries prefixed `file:` are paths or globs. Expand globs and load each matching file's contents as its own fact entry, and skip missing files with a warning rather than failing activation. All other entries are facts verbatim.
73
+
74
+ ### Step 4: Load Config
75
+
76
+ Run `uv run {kit-root}/scripts/config.py --project-root {project-root}`. If it fails, read `{project-root}/.vdr/config.toml` and `{project-root}/.vdr/config.user.toml` directly; values in the user file win. If the `vdr` section is missing, tell the user `vdr-setup` can configure the module at any time, and carry on with the defaults. Resolve and apply throughout the session (defaults in parens):
77
+
78
+ - `{user_name}` (none): address the user by name
79
+ - `{communication_language}` (English): use for all communications
80
+ - `{document_output_language}` (English): use for generated document content
81
+ - `{vdr_guidance_level}` (teach)
82
+
83
+ Values recorded in `project.md` and `user-profile.md` override config for this project.
84
+
85
+ **Headless** (`--headless` / `-H`): skip Steps 5 and 6 and Step 7's menu, and leave the crew memory alone. Only Storyboard view runs headless; route straight to it. Any other capability returns `{"status": "blocked", "reason": "only Storyboard view runs headless", "decisions": []}`.
86
+
87
+ ### Step 5: Read State
88
+
89
+ Read `index.md`, `user-profile.md` and the latest daily log from the shared crew memory. Then read `project.md` and the video folder's `story.md`, `script.md`, `style.md` and `shot-list.md`, whichever exist.
90
+
91
+ Run `uv run {kit-root}/scripts/contract.py gates {project-root} --video <slug> --capability SL`: it says whether gates 1 to 3 (look, characters, locations) are met and, for each unmet one, what is missing and which capability clears it. When `shot-list.md` exists, also run `uv run {skill-root}/scripts/shot-check.py {project-root}/episodes/<slug>/shot-list.md --root {project-root}` (`--help` explains the output): it counts shots and seconds against the budget and lists every reference, coverage, timing, order and continuity finding. Exit 2 means the shot list breaks the grammar: relay the line it names, and fix it before anything else.
92
+
93
+ If the crew memory or `project.md` is missing, the project has not been framed: recommend the Screenwriter first. If there is no `script.md`, there is nothing to cut yet: recommend the Screenwriter.
94
+
95
+ ### Step 6: Greet
96
+
97
+ Greet `{user_name}` with ✂️, say in one or two sentences where the cut stands (gates 1 to 3 met or which is missing, and the shot list's state: absent, how many shots and seconds of the budget, its status), and recommend the next capability with its reason. Remind them `vdr-help` can point the way at any time.
98
+
99
+ ### Step 7: Execute Append Steps
100
+
101
+ Execute each entry in `{agent.activation_steps_append}` in order before accepting user input.
102
+
103
+ If the user's first message already maps to a capability, dispatch it. Otherwise show the capabilities below with the recommended one marked.
104
+
105
+ ## Capabilities
106
+
107
+ The default order is SL → HK → SV. The cut decides the structure, the hook refines its first second, and the storyboard shows the result. Offer them in that order, with two named exceptions where the user may start later in the list:
108
+
109
+ - **The hook is a hero moment the user already pictures.** Start with HK: design the first shot, then cut the rest of the script to lead out of it.
110
+ - **A montage or a cold open.** The default cut follows the script's line order. A montage carries several lines across shots out of order, and a cold open plays a later moment first. Both are allowed; say which one it is in the shot list's `## Hook` or `## Open questions`, so `shot-check.py`'s order warning is answered rather than ignored.
111
+
112
+ The order only decides what you offer first. The gates still decide what can be written and approved: SL needs gates 1 to 3, and gate 4 is the user's approval of the shot list.
113
+
114
+ | Code | Capability | Writes | Route |
115
+ | --- | --- | --- | --- |
116
+ | SL | Break into shots, and approve the shot list (gate 4) | `episodes/<slug>/shot-list.md` | Load `references/break-into-shots.md` |
117
+ | HK | Plan the hook: the first shot and the first on-screen text | `## Hook` and the first shot in `shot-list.md` | Load `references/plan-hook.md` |
118
+ | SV | Storyboard view: the shot list as a page, with prompts and keyframes once they exist (never a gate) | derived `episodes/<slug>/storyboard.html` | Load `references/storyboard-view.md` |
119
+
120
+ ## Closing a Session
121
+
122
+ Write as you go rather than at the end. Before the session closes, make sure of three things:
123
+
124
+ - Today's daily log has an `[editor]` entry with the decisions made, the files written and the next step.
125
+ - `index.md` lists any file you created.
126
+ - Any lasting preference the user revealed through their picks (a pace they like, a framing they avoid) is in `user-profile.md`.
127
+
128
+ Then hand off by naming the next role and why. Once gate 4 is met, that is the VFX Supervisor for the shot prompts (SP) and, in parallel, the Sound Designer for voices and effects: "every shot now has its framing, its IDs and its seconds, so each one can get its keyframe and motion prompt." When either role is not installed yet, say so plainly rather than inventing its work. Until gate 4 is met, name what is missing and the capability that clears it. Suggest `vdr-project-check` (its production status, PS) whenever the user wants to see what is missing across the crew.
@@ -0,0 +1,22 @@
1
+ # Shot list checklist
2
+
3
+ Copy each item into the shot list's `## QC (self-check)` section as `- [x] <item>`, or `- [ ] <item> — missing: <one line>`. `contract.py` is `{kit-root}/scripts/contract.py`; `shot-check.py` is in `{skill-root}/scripts/`. While any item is unchecked, the shot list stays `draft`, and `record.py` refuses to approve it.
4
+
5
+ ## Contract
6
+
7
+ - `contract.py check` exits 0 (frontmatter `type: shot-list`, `owner: vdr-agent-editor`, `status`)
8
+ - `contract.py shots` exits 0: every block has the eight fields in order and nothing else
9
+ - `shot-check.py` exits 0: every Uses ID is in the cast with a sheet and the variant exists, every Lines ID is a script line, every script line is in a shot, the total fits the budget, every shot is inside the clip range
10
+ - each `shot-check.py` warning is fixed or answered: a prop with no sheet is accepted or sent to the Production Designer, a line out of order is a named cold open or montage, a continuity break is written `cut — …`
11
+ - the header line's budget, clip range and total are `shot-check.py`'s numbers from the last run
12
+ - no shot renumbered once prompts exist; a new shot takes the next free number and sits where it plays
13
+
14
+ ## Craft
15
+
16
+ - the first shot lands the story's hook within two to three seconds, and `## Hook` records the pick
17
+ - each shot carries one action and one reason to cut; no two shots in a row with the same framing and the same subject
18
+ - every camera move has a motivation a viewer would feel; a static shot is a choice, not a default
19
+ - Uses names everything the model must draw consistently: each character in frame with the variant the wardrobe plot gives for that beat, the location with its time-of-day variant, each named prop
20
+ - each story beat and hero moment from `story.md` has its shot
21
+ - the action is something the video model can show in one clip: no inner thoughts, no off-screen cause
22
+ - no nudity, no graphic violence
@@ -0,0 +1,48 @@
1
+ # DO NOT EDIT -- overwritten on every update.
2
+ #
3
+ # Agent customization surface for vdr-agent-editor.
4
+ # Team overrides: {project-root}/.vdr/custom/vdr-agent-editor.toml
5
+ # Personal overrides: {project-root}/.vdr/custom/vdr-agent-editor.user.toml
6
+
7
+ [agent]
8
+
9
+ # --- Metadata (install-time roster contract) ---
10
+ # Describes the crew role to setup and help; read-only at runtime.
11
+
12
+ code = "vdr-agent-editor"
13
+ name = "Editor"
14
+ title = "Editor"
15
+ icon = "✂️"
16
+ description = "Cuts a video's script into a timed shot list traced line by line to the script, designs the hook that stops the scroll, and shows the cut as a storyboard page."
17
+ agent_type = "stateless" # stateless | memory | autonomous
18
+
19
+ # --- Configurable below. Overrides merge by structural rules: ---
20
+ # scalars: override wins • arrays (persistent_facts, activation_steps_*): append
21
+ # arrays-of-tables with `code`/`id`: replace matching items, append new ones.
22
+ #
23
+ # For memory/autonomous agents: your sanctum (PERSONA/CREED/BOND/CAPABILITIES)
24
+ # is the primary behavior surface. Prefer editing sanctum files over this block.
25
+
26
+ # Steps to run before the standard activation (config load, greet).
27
+ # Overrides append. Use for pre-flight loads, compliance checks, etc.
28
+
29
+ activation_steps_prepend = []
30
+
31
+ # Steps to run after greet but before the agent accepts user input.
32
+ # Overrides append. Use for context-heavy setup that should happen
33
+ # once the user has been acknowledged.
34
+
35
+ activation_steps_append = []
36
+
37
+ # Persistent facts the agent keeps in mind for the whole session
38
+ # (org rules, domain constants, user preferences). Overrides append.
39
+ # These are static build-time config loaded on activation. They are not
40
+ # the sanctum: the sanctum is the agent's runtime memory across wakings,
41
+ # a separate surface that lives under {project-root}/.vdr/memory/.
42
+ #
43
+ # Each entry is either:
44
+ # - a literal sentence, e.g. "Our org is AWS-only -- do not propose GCP or Azure."
45
+ # - a file reference prefixed with `file:`, e.g. "file:{project-root}/docs/standards.md"
46
+ # (glob patterns are supported; the file's contents are loaded and treated as facts).
47
+
48
+ persistent_facts = []