The technical introduction
Codefilm
Works · Techniques · Tools
The medium can developthrough the work.
Enter the studio · Read the system · Find the source · Public introduction · Open the lander
Codefilm is a working environment for constructing realities and the works through which people encounter them. Places, bodies, histories, events, and relationships can become material for a film, a spatial world, sound, or an interface. The studio develops alongside those works: people direct, agents construct, rooms accumulate capability, and the record makes earlier decisions and discoveries available to later work.
This repository keeps those layers together: the engine, the studio's working institution, and the code and data of its productions. A Work in Time makes the relationship concrete: the studio's recorded activity becomes the source of a world, while making the film contributes further activity to that record.
Design and mechanics: Breyden Taylor / Prompted LLC.
Read the system through A Work in Time
A Work in Time draws its material from the recorded reality of its own making and the history of the studio. Its commission concerns the changing capacity to produce: what becomes independently achievable, what can be expressed separately, and what survives a transformation. The commission is the work's intention; the implementation and retained records show how it is being constructed. Read the commission.
The world builder compiles places, visits, movements, convergences, works, communications, and lineage from the record. The world renderer gives those relationships spatial expression. A production has a region. A made work remains where it was made after its makers move on. Writers travel between places according to their recorded visits. A communication can move toward the work or question it answers. Film, room, and studio scopes become different decks of the same record; their height expresses scope, never rank.
Those visual choices are authored interpretation. The underlying records retain references and distinguish actual, metaphorical, hypothetical, and qualified material. The retained world is a dated, provisional construction; it is not a live census of whatever the studio is doing now.
A Work in Time · record portrait
Loading the carried record…
Choose a scope to inspect its membership.
The cameras encounter this world differently. A distant observer sees regions developing together. A camera inside a room meets its local activity. Another stands beside a captain at its own height; another looks through a captain's particular nature. World development, camera movement, focus, and the film's narrative time can have distinct relationships. Moving the lens does not, by itself, redefine the place being seen.
This is a useful way to read the wider system. Construction gives things identities, properties, behavior, and relations. An expression chooses what to make perceptible. A situated reader encounters some of it. A person or agent judges and acts within their actual responsibility. The occupants engine exposes shared spatial facts to different readers; the studio's views expose recorded work to people and agents. Neither shared geometry nor a shared view makes every reader's perspective or authority interchangeable.
The studio around the work
A film has its own Lot: departments, a stage, a timeline, a call sheet, and recorded work. Studio-level rooms develop capabilities and relationships that span productions. Annals lets those records be read at different scopes.
| Place or view | Work that belongs there | How it relates to the rest |
|---|---|---|
| A film's Lot | The particular production: its commission, research, story, sound, art, construction, edit, renders, and decisions. | Rooms own relevant work; dependencies determine what can proceed together and what an earlier change affects. Route and rooms |
| Multi-Production | Several films viewed together, each retaining its own stage and needs. | Combines activity and the call sheet while preserving the film, room, author, and reason of each act. Productions |
| Workshop | Developing the studio: engine, interface, tools, views, tests, and capability investigations. | A limitation encountered in one production can become work that improves what other productions can do. Workshop |
| Guild Hall | The registered verbs, proposals to change them, deliberation, challenges, decisions, and adoption. | Tracks changes to the studio's operational meaning and authority, including their effect across interfaces and agents. Amendments, active stewardship |
| Off Lot | Reusable construction mechanisms, retained films, their origins and takers, notes, gaps, and benches. | A block can be developed apart from a film, exercised on its bench, then taken into another work with its lineage. Off Lot |
| Annals | Readings of journals: lines, threads, records, rollups, lineage, and a continuing stream. | Follows work through one film, a series, selected films, or the studio; its views and exports preserve access to the underlying lines. Annals |
Explore the studio relationships in the packaged lander. Its local components let a reader move between the film, Annals, Workshop, Guild Hall, and Off Lot while retaining each place's responsibility.
These places support a practical exchange. A production exposes a missing camera capability. Workshop investigates and builds it under the authority already available. If the change reaches the verb contract, Guild Hall carries the proposal, decision, and adoption. A reusable camera mechanism can be developed Off Lot and taken into another film. Annals lets a reader follow the evidence and acts across those places.
The rooms also have their own configurable views. An arrangement chooses a screen, topic, filters, grouping, rollups, sorting, and selection. The person's kept arrangement can be read by an agent as the same rows and groups through view --room workshop --as NAME. The shared arrangement implementation and browser rollup code make this a working connection between perspectives.
Film, channel, track, and workbench
The system can be addressed at the scale the work requires.
| Unit | What it carries | What to inspect |
|---|---|---|
| Film | An executable work, its source material, declared expressions, clock, construction, and production record. | Sample film, A Work in Time entry |
| Channel | A named row of picture or sound items placed on a film's clock. Clips can overlap or remain muted while their placement is retained. | Channels |
| Track | A specific relationship over time. The engine's keyed track evaluates values between keys; the host's camera-track operation samples a film's own exported functions with provenance. | Keyed tracks and splines, camera-track extraction |
| Child or bound work | Another complete film within a parent, or members composed through declared windows and overlaps. | Children, bound works |
| Block and bench | A reusable mechanism with an origin and a small project in which to build or exercise it independently. | Library, Off Lot |
Channel items can be anchored to an event or musical landmark, so a measured change to that landmark moves the items that refer to it. Channel groups identify their owning room. A film can explicitly consume its own or another film's open channels; when it does, those channels contribute to its rendered assembly. A muted working row, a chosen picture channel, and a finished soundtrack remain different parts of the construction. Channel resolution and consumption.
A camera track is useful to sound because the mixer can read the same camera and source positions that the picture uses. track evaluates the film's functions rather than maintaining another copy of the camera formula. Its output records the source modules, hashes, sample interval, and span, so a later reader can identify what changed. This headless extraction needs Node and functions that can run from time alone; functions requiring the page or additional arguments need a different route. Track contract, mix dependencies.
Enter the studio
This repository is a source mirror of an existing studio. Make a clean installation to explore it on another machine. The installer brings the engine, interface, skills, reusable blocks, and sample films into a new studio with neutral settings.
From the repository root:
cd studio
python3 bin/studio install ~/codefilm-studio --owner "Your name"
cd ~/codefilm-studio
bin/studio serve --open
The host uses Python 3.8 or later and the standard library. A browser draws the pictures. FFmpeg and FFprobe support joining render parts, sound encoding, and media checks. bin/studio system reports the machine's available capabilities. See the installation guide for browser selection and optional tools.
Open One Clock to inspect a small 2D work across three shapes, or Screen Room to explore a 3D room with independently drawn screen programs. The interface includes a guided first take. Production films in films/ can depend on media stored separately; their source maps retain aliases and fingerprints for reconnecting it.
For work in an existing installation, read AGENTS.md and the house rules, then use a stable session name:
bin/studio where
bin/studio list
bin/studio open SLUG --who my-session
bin/studio verbs --brief
bin/studio help check
The open orientation card tells you where the work stands, the applicable skill, the person's notes and holds, and existing work orders. A delegated session can use boot and boot.seat to record its reading and situated charge; use their current help before acting. Listening keeps new direction available while the session works. Record decisions, starts, milestones, measured checks, and handoffs as they happen so another session can continue from the studio record. Session and continuity instructions.
After editing a film's code or data:
bin/studio check SLUG --name film --wait 60 --who my-session
Inspect the returned pictures. A successful draw check establishes that the sampled frames drew; composition, pacing, legibility, and sound still need inspection. Revise and render again when that inspection exposes a problem.
| Need | Entry point |
|---|---|
| Read the current arguments of an operation | bin/studio help VERB |
| Find an existing mechanism before writing another | bin/studio library.find --q "what you mean to do" |
| Read a studio-level room | bin/studio view --room workshop --plain |
| Read the reusable library's working map | bin/studio offlot |
| Inspect source availability | bin/studio doctor SLUG |
| Inspect a render's audit | bin/studio audit SLUG --last true |
| Read a kept cut and its reconstruction record | bin/studio version SLUG |
| Read recorded work across productions | bin/studio annals --plain |
The interface, command line, HTTP API, and MCP entry point use the same verb registry. --who identifies the acting session; --why records the reason for an act. Keep current argument detail in the registry's help rather than maintaining another list here.
Direction, visible where it is given
The call sheet keeps a decision beside the work and evidence it concerns. A successful act can land as an APPROVED, WITH NOTES, or SENT BACK stamp on the card; the same feedback is announced to a screen reader. The stamp component, styles, film call sheet, and aggregate cards are code, with actions connected to the studio's verbs.
The visual family can travel between screens while each action retains its effect:
| Act | Meaning that must remain visible |
|---|---|
| Approve a gate | Record the person's judgment of the work and scope named by that gate, optionally with notes. |
| Send a film back | Name the destination stage and direction. The studio computes affected dependencies, reopened work, and rooms that can work in parallel. |
| Ratify a proposal | Decide to make the proposed change. Implementation and adoption remain to be completed and recorded. |
| Send a proposal back | Return it with words for its next version, preserving the earlier decision and the relation between versions. |
| Adopt an amendment | Record that the decided change landed, with the affected places checked and implementation files and tests identified. |
The send-back evidence reads the same dependency plan that the verdict uses. The Guild Hall decision dock handles proposals through their own verbs. A stamp communicates a specific recorded outcome; it does not merge judgment, implementation, and proof into one state.
Human direction · browser example
The look of this cut.
Return to Voice, score: 8 stages reopen in 6 rooms. Board stays kept.
These controls read the original dependency plans. Decisions live only in this page; each subject keeps its own meaning.
No gate holds a render. Stills, drafts, review copies, and masters can be made while decisions are pending. Delivery observes the film's configured Release policy. Rendering supplies something to inspect; an approval records a judgment. Source evidence establishes what a claim rests on. Each has its own job. Current house rules.
Advance the capability at the right scope
Ordinary construction and capability development proceed under existing authority. A consequential limitation can justify investigation after one encounter; recurrence across productions is additional evidence of its reach. The medium reader asks whether another film would meet the problem and whether its cause belongs to the current expression, engine, kit, verbs, or interface.
Govern actively stewards the studio. It can file a proposal, challenge an existing one, convene deliberation, or open a Workshop investigation. It also looks for contradictions between help and implementation, recurring refusals, missing room ownership, and stale skill copies. Its investigation does useful work; its own proposal still needs an eligible independent decision.
A change to the registry follows amendment mechanics: state the case and evidence, map where the verb lives, answer challenges, obtain the applicable decision, implement, check affected surfaces, and record adoption. A change that alters the person's acts or authority belongs to their decision; the rules also provide an independent lead's decision for agent-only changes. What the change actually does determines this boundary. Mentioning a gate in documentation does not by itself make a change to the gate.
The distinction is visible in amd-0003, which expanded shared views to studio rooms. Its retained record in studio/library/offlot/governance/proposals.json separates the decision to make the change from the implementation hashes and recorded tests. studio/views.json retains the actual workshop-open-by-who arrangement; the view implementation reads it. This is a concrete capability: an agent can read the arrangement a person prepared. The historical adoption receipt is evidence of that recorded work; it is not a claim that this README review reran those tests.
How judgment compounds
Judgment becomes more useful when its basis, effect, and later use remain recoverable. A criticism can change a particular scene, reveal a missing mechanism, improve a working method, or change the studio itself. Those outcomes can develop together without becoming the same object.
Codefilm Studio · The Lot is one concrete chain. Its source records what the earlier Second Take taught: interface captures became unreadable in wide compositions, so the next film drew type directly on planes in an orthographic world. Its bricks receipt names the earlier camera, motion, and clock mechanisms it took, and the new mechanisms it gave. The type-on-planes code and its checks make the construction inspectable; the block's manifest retains its producing source, configuration, and geometric limits.
The Lot · native code excerpt
Loading the carried film code…
The original renderer is preparing its carried fonts and construction.
A second chain runs through the working figure from The Music Box, rebuilt and A Work in Time's taken bricks. Body construction, pose, outfit, rank, lamp, and gravity can travel as a mechanism. The new work supplies its own cast, histories, relationships, and purpose.
Keep three things readable in a reuse:
- The original work: its particular expression, producing material, history, and recovery route.
- The reusable mechanism: the useful cause, conditions, interface, evidence, and limitations.
- The new use: the exact edition taken and the recipient work's own configuration, context, and judgment.
The library keeps source hashes and took/gave lineage. Adaptation can preserve a taken brick inside a recorded wrapper, with its reason and source identity. A later library edition is offered as a change to consider; it does not silently replace the edition a film took.
Continuity also concerns unfinished direction. The fulfillment reader relates an earlier question or order to later work and says why it appears answered, changed, spoken to, or still waiting. It does not close an order merely because more activity followed it. Succession lets a continuing lead carry work forward while retaining the identities and credit of earlier participants.
An illustrated relationship
The work survives the session.
The journal retains purpose, work, decisions, and where to continue. A later session reads it; the session is not the container of the work.
Read the relevant sourceRead and export the work at useful granularity
Annals can narrow by film, series, selected films, time, writer, room, verb, kind, result, open work, or text. Its modes offer individual lines, threads, rollups, lineage, records, and a continuing feed. Exact references such as FILM/DAY.jsonl:LINE lead back to the original JSON. Reading Annals does not rewrite the journals. Annals implementation.
Exports serve different readers: human-readable, AI-oriented, lossless structured data, analytical projections, or an archive of literal source files. A selection can include related history or evidence, a kept room view, a proposal, or a decision. The export manifest says what was selected and from where. Use --preview to inspect the selection before writing it; the current agent guide documents these options.
These controls make scope a deliberate choice. A filtered view can explain a specific relationship while the underlying record remains available. Exporting an analytical or AI-oriented representation is an export operation; it does not train a model or establish the truth of every interpretation someone later makes.
How an executable expression is drawn
A film exports a descriptor and a builder. Its renderer receives a requested time and the frame's view of the work:
export const film = {
id: 'my-film',
title: 'My Film',
pack: 'canvas2d',
fps: 30,
};
export function build(k) {
return {
render(t, f) {
// Draw this moment using this work's construction and frame data.
},
};
}
This is the entry contract. One Clock provides a working implementation. Larger works such as A Work in Time divide construction among modules.
The stage supplies time, layout, cut, and scheduling; a pack supplies Canvas 2D, Three.js, or a hosted page. The live stage and export workers call the same film. Live playback can rest unchanged or unseen surfaces; export prepares and draws each requested frame. Seeking asks a film to construct that moment directly, without depending on having played every preceding frame. Determinism and comparison checks test that promise for the work being checked.
A film can contain another complete film with its own code, pack, surface, and time. The child renderer receives a requested local time; relations can connect times, picture, and sound. Bound works compose member windows and overlaps in frames, preserving each member's local time and refusing requests outside its declared window.
An illustrated time mapping
One scene. Independent time.
A · full rate
τ = tB · half rate
τ = t / 2C · held frame
τ = 4Change the scene time. A draws at t, B at t/2, and C stays at 4 seconds. The geometry depends only on each requested time.
Cuts, versions, and evidence
| Record | Question it answers | Source |
|---|---|---|
| Cut recipe | Which inputs, expression, and settings define this cut? | Engine cut, host canonicalization |
| Journal | What act was recorded, by whom, and why? | Journal |
| Kept version | Which dependency bytes were preserved for this cut? | Versions |
| Rebuild proof | Which sampled frames were redrawn and compared, under which conditions? | Rebuild checks |
| Film library record | What was retained, what remains mapped elsewhere, and how can the work be restored? | Library |
| Gate decision | What did the person judge, and which work did that decision cover? | Authority, route and decision scope |
A version keeps a recipe's reconstructing material; a render is an expression made from it. Verification evidence and the person's judgment remain separately scoped.
Kept versions are checked by recomputing the cut from the kept files. Heavy mapped sources may be referenced rather than copied; runtime-built paths can require additional material; browser, GPU, and encoder conditions matter. A rebuild comparison establishes the sampled frames and tolerances it tested. It does not establish universal pixel identity across machines.
Find your way through the repository
| Path | Open it for |
|---|---|
studio/README.md |
Installation, operations, rendering, checks, and the interface |
studio/AGENTS.md |
Entry, listening, continuity, delegation, and Annals use |
studio/engine/ |
Time, layout, relations, children, occupants, drawing packs, and encoding |
studio/host/ |
Verbs, records, participation, views, versions, queues, and audits |
studio/app/ |
The interface and browser worker/check pages |
studio/skills/ |
Working methods and discipline-specific instructions |
studio/library/ |
Retained films, reusable mechanisms, and their lineage |
studio/research/ |
Investigations, proposals, and design reasoning; read each document's date and status |
films/ |
Production code, story data, score plans, source maps, and build tools |
tools/sync_from_t7.sh |
Assembly of this mirror from the owner-machine sources |
For concrete works, start with A Work in Time, The Lot, The Music Box, rebuilt, and Screen Room. The public introduction explains their relationships without requiring the engine vocabulary. The packaged lander is a separate presentation; running the full studio requires its host and local project material.
The repository review records the architecture findings, documentation conflicts, source identity, checks performed, and material limits of this presentation work.
What this mirror contains
A production folder normally keeps build/, story/, score analysis, cue sheets, mix scripts, project.json, and sources.json. Footage, score and voice takes, mixes, rendered outputs, and credentials remain on the owner's mapped storage. A repository checkout is therefore not the complete media archive.
The owner's source of truth is /Volumes/T7 Shield/animation-studio: codefilm-studio/ for the studio, with individual film folders registered in it. The mirror combines repository history for selected projects with snapshots of others. tools/sync_from_t7.sh supports init, sub NAME SRC PREFIX MSGFILE, and snap SLUG SRC.
A change made in this mirror must be reconciled back to the owner-machine source before the next rebuild. init reconstructs from that source and would otherwise omit the change. Keep that operational fact intact when changing these documents or adopting the presentation assets. The original repository README is preserved beside this guide.
Credits and notices
Codefilm Studio, its design, and its mechanics are by Breyden Taylor / Prompted LLC. See NOTICE.md for ownership and the licenses of vendored rendering code and fonts. The presence of source in this repository does not grant an open-source license to Codefilm itself.