File size: 11,297 Bytes
7a44f61
b1f6b38
7a44f61
 
 
 
 
 
 
 
 
b1f6b38
cd6cf4e
 
 
 
 
 
b1f6b38
94f2e48
f847469
 
ac36699
 
 
6005c6d
 
bc871dd
 
 
 
 
 
 
 
 
 
cd6cf4e
7a44f61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bc871dd
7a44f61
bc871dd
7a44f61
bc871dd
 
 
7a44f61
 
 
 
 
 
 
 
 
 
 
 
f847469
 
 
 
 
 
 
7a44f61
cd6cf4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6005c6d
736a007
dcf634a
e89e109
5e1c357
ec28097
fad40dc
c3fd631
5bddffe
 
f847469
fa5d8cd
5b00f4c
f847469
d058707
31e85dd
 
0c16972
6005c6d
31e85dd
 
 
cd6cf4e
736a007
6005c6d
d058707
cd6cf4e
 
 
 
 
 
 
 
 
 
 
 
 
6005c6d
d058707
736a007
0c16972
ac36699
31e85dd
 
6005c6d
 
 
cd6cf4e
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
---
pretty_name: BlueMorpho
license: apache-2.0
tags:
  - ai-film-production
  - multi-agent
  - text-to-video
  - agent-orchestration
  - monitoring
---

# BlueMorpho

An automated film house that runs entirely inside one box: a 96 GB Blackwell GPU, 20 cores,
7 TB of local storage, and a crew of 29 seats in 11 departments.
It writes, casts, lights, scores, shoots, cuts and publishes 40-60 second vertical shorts — and it credits every frame to
the model that made it, because the credits are also the audit trail.

**The mirror:** https://huggingface.co/datasets/tkhjeff/BlueMorpho - the readable copy of this plan.

> **One editor.** A duplicated cell on 2026-11-22 was a network artefact, not a second agent - `ctx.cells` is the check.

> **Rule R24:** the Hub mirror is the readable copy of the plan and never lags. Every change ends
> with `python -m blue_morpho.publish`, which refuses to upload a house whose tests fail.

> **New here?** Read `docs/10-handbook.md` - it is the working manual.

> **Current state:** the house can write, shoot and watch back.
>
> * **Camera LIVE.** `Wan2.2-TI2V-5B` rendered the first plate - 832x480, 49 frames, seed 4417,
>   **16.3 s, 23.9 GB VRAM peak** - with a reproduction record beside it (`plates/shot01.json`).
> * **Eyes LIVE.** The video assist watched that plate and scored it **7/10**, and its critique was
>   right: the brief asked for a keeper at the lantern window and the render has none. `G1` passed
>   at exactly the floor.
> * **The loop is closed:** render -> watch -> score -> fix -> re-render.
> * **Two seats are VACANT** pending screen tests (senior critic, writers' room) -
>   see `docs/12-the-standard.md`. Nothing may be credited in a vacant seat.

## Picking this up (resume protocol)

Anyone - human or agent - who arrives cold should be able to continue the house from this section
alone. There is no other state to find.

**1. Read the design, in this order.** `00-charter` (why) -> `01-org-chart` (who) ->
`02-role-charters` (their jobs) -> `03-engine-roster` (what they run on) -> `04-production-rules`
(the law). Everything else is reference.

**2. Ask the ledger what actually happened.** The ledger is the only state that cannot lie:

```bash
cd /marimo/blue-morpho
python -m blue_morpho.monitor report    # box health, gate states, seat activity
```

**3. Know exactly where the house stands.**

| | state | evidence |
|---|---|---|
| Eyes | **working** | `vision_model` cell loaded 8.8B; it graded a real frame at 5.0/10 |
| Writers' room | **working** | 9 departments wrote `the-beam-answers-back` into `production.json` |
| Monitor | **working** | `blue_morpho/monitor.py`, 12 real events on disk |
| Camera | **working** | `Wan2.2-TI2V-5B` rendered `plates/shot01.mp4` in 16.3 s at 23.9 GB peak |
| Sound | **blocked** | two seats on non-commercial licences (see `03-engine-roster.md`) |
| Gates | **G1 passed** | hook scored 7.0 (floor 7.0) on `shots[1]`; G0, G2, G3, G4 still `not run` |

**4. Continue at Phase 2.5** (`07-roadmap.md`): the loop is closed, so now **raise the hook
score**. Render best-of-N takes with `blue_morpho.takes`, let the eyes pick, and re-render with each
returned `fix`. The current plate scored exactly 7.0 - the floor, not a good film.

**5. Record every act in the ledger.** If it is not an event, it did not happen:

```python
from blue_morpho.monitor import Monitor
Monitor().record("film-slug", "cinematographer", "Camera", "rendered",
                 artifact="shots[1]", engine="LTX-Video", model_rev="<rev>", seed=1234,
                 inputs_hash="<hash>", duration_s=8.4, vram_peak_mb=21000, result="ok")
```

**Open decisions carried into the next session:**

1. ~~Two agents are editing the same notebook.~~ **Resolved 2026-11-22:** the duplicated cells were a
   network artefact, not a second agent. One editor only.
2. ~~Licence sign-offs.~~ **Signed 2026-11-22** by the Studio Head as *"human being"*: LTX-Video,
   Illustrious-XL and NoobAI-XL are hired, the last two carrying a monetization flag on their credits.
3. **Storage target** for finished masters is still open: local disk (7 TB) versus Hub.
4. **Camera for hero shots**: LTX-Video was signed for iteration; Wan2.2-T2V-A14B remains scheduled
   with expert offload for hero shots.

## The house

```
            THE STUDIO HEAD (the human)  -  owns the final cut, nothing ships without them
                                  |
            +---------------------v---------------------+
            |  DEVELOPMENT       Executive Producer     |  G0 greenlight
            |  DIRECTION         Director / Coordinator |  owns the shoot loop (plain Python)
            +---------------------+---------------------+
                                  |  the bible: production.json - one dict, one owner per key
   +----------+-----------+-------+----+-----------+----------+
 STORY       CAST       ART         LIGHT      SOUND      CAMERA
 Author      Casting    Production  DoP/Gaffer Sound      Cinematographer
 Narration   Voice Bank Designer    Colorist   Composer   Storyboard
 Continuity  Lip-sync   Set Dresser            Foley
 Compliance  NPCs                             Mixer
   +----------+-----------+------------+-----------+----------+
                                  |
            +---------------------v---------------------+
            |  POST   Editor - VFX - Titles & Thumbnails |  G2 continuity - G3 licence - G4 QC
            |  RELEASE Publisher - Analyst               |
            |  OPS     DevOps - Archivist                |
            +-------------------------------------------+
```

## Repo layout

| path | what it is |
|---|---|
| `docs/00-charter.md` | why the house exists, what it refuses to be, what "done" means |
| `docs/01-org-chart.md` | departments, reporting lines, the gates, how work is handed off |
| `docs/02-role-charters.md` | every seat's job description (the literal system prompt it runs on) |
| `docs/03-engine-roster.md` | who runs on what model, and why — with licence findings |
| `docs/04-production-rules.md` | the rules of the house |
| `docs/05-monitoring.md` | the monitoring system: ledger, gates, health, alerts |
| `docs/06-credits.md` | how a credit is earned, computed and rendered |
| `docs/07-roadmap.md` | the phases, in build order, with model choices |
| `docs/08-research-notes.md` | what this design learned from, and what it rejects |
| `docs/assets/crew.json` | **generated** — the seat ledger, dumped from the live notebook |
| `docs/assets/licenses.json` | **generated** — licence check results |
| `docs/09-audit.md` | the adversarial audit: this design vs FilMaster, OpenMontage, and real crews |
| `docs/11-hiring.md` | the hiring standard, the refusals, and the GPU call sheet |
| `docs/24-industrial-crew.md` | the full industrial crew: 71 roles mapped onto our seats, and the 14 we lack |
| `docs/29-studio-compendium.md` | the complete studio compendium: character bible, visual style bible, cross-lane transition, prompt engineering, crew covenant |
| `docs/28-advanced-craft.md` | advanced craft: post-production & sound, multi-agent governance, licensing, notebook hygiene, critic rubric, pre-release checklist |
| `docs/35-consolidated-compendium.md` | the consolidated compendium from Parts VIII-XIII: continuity pillars, pacing, sound, pre-release gates |
| `docs/27-master-manual.md` | **THE MASTER MANUAL** — the complete curriculum, crew doctrine, technical architecture, and production bible |
| `docs/26-playbook.md` | **THE PLAYBOOK** — the Studio Head's operating blueprint, recorded verbatim |
| `docs/21-curriculum.md` | the industry's curriculum mapped onto our seats - and the gaps it exposes |
| `docs/20-quality.md` | the quality correction: what we ran wrong, measured before/after, and the workflow-era finding |
| `docs/18-blueprint.md` | **THE RECIPE** - every department, the standards, the 24-step procedure, and the honest gaps |
| `productions/` | the production bibles - one per film, authored before a frame is rendered |
| `history/` | **the minutes**: a generated timeline of everything the machine recorded, and the session history |
| `docs/19-decisions.md` | the decision register: what only the human could decide, signed |
| `docs/15-collaboration.md` | master and student, main and coworker - the staffing chart |
| `docs/13-mcp.md` | **GENERATED** - the MCP surface: tools, resources, seat prompts, the job model |
| `docs/14-repo-map.md` | **GENERATED** - every file, every dependency, every reference project |
| `docs/12-the-standard.md` | **only elites live here**: precision, screen tests, the office inventory |
| `docs/10-handbook.md` | **the working manual** - the day, the rules, and the care of the crew |
| `blue_morpho/mcp_server.py` | the MCP server: 18 tools, 5 resources, 9 seat prompts |
| `blue_morpho/jobs.py` | the job registry - expensive work is submitted and polled, never awaited |
| `blue_morpho/camera.py` · `eyes.py` · `shoot.py` · `takes.py` | the camera, the eyes, and the shoot loop |
| `blue_morpho/monitor.py` | the monitoring layer: append-only ledger, rollups, gates, health |
| `blue_morpho/hiring.py` | the hiring committee: licence vetting, headroom, the call sheet |
| `blue_morpho/wellbeing.py` | the care rules as enforced code: turnaround, shift limits, headroom, stand-downs |
| `blue_morpho/tests/` | 83 tests - the honesty properties of the ledger and the care rules |
| `schema/event.schema.json` | the ledger event schema |

## Quickstart

```bash
cd /marimo/blue-morpho
python -m blue_morpho.monitor report      # box health, gates, seat activity
python -m blue_morpho.monitor health      # the box alone
python -m blue_morpho.monitor gates the-beam-answers-back
```

The ledger lives at `ledger/events.jsonl`, is append-only, and every report is derived from it.

```bash
python -m unittest discover -s blue_morpho/tests -t .        # 83 tests, <0.5s
python -m blue_morpho.hiring plan                           # the GPU call sheet
python -m blue_morpho.hiring office                          # who lives here, and who is a stray
python -m blue_morpho.publish check                        # is the Hub mirror in sync?
python -m blue_morpho.mcp_server                             # serve the house over MCP (stdio)
python -m blue_morpho.mcp_server --http 9000                 # ...or streamable HTTP on localhost
python -c "from blue_morpho import wellbeing; print(wellbeing.report())"
```

## Two things here are generated, not written

`docs/assets/crew.json` and `docs/03-engine-roster.md` come from the notebook's `CREW` object, so the
written credits cannot drift from the code that enforces them. Regenerate rather than edit.

## Read this before spending money on it

* YouTube pays only after **1,000 subscribers + 4,000 watch hours** (or 10M Shorts views in 90 days).
  Nothing here earns anything until that clears.
* YouTube requires **disclosing realistic synthetic content**, and penalises **mass-produced or
  repetitive** uploads. A house that makes the same video forty times is a policy violation with a
  GPU bill. See `docs/00-charter.md`.
* Two seats in the original ledger ran on **non-commercial** models. They are blocked from monetized
  work until replaced. See `docs/03-engine-roster.md`.