# Limits, models, renders and measuring All numbers below are starting points from one pipeline. Start near them, then measure your own and adjust. ## Starting limits | What | Start near | Why | |---|---|---| | Context at which you do not begin a new feedback round | 250k tokens | Spend grows with context, and most of it sat above this line | | Context at which an orchestrator writes a hand-off note and ends | 300k tokens | Compacting more often than this saved nothing extra in a simulation on real transcripts | | Orchestrator shell calls per session | 140 | On reaching it: write the run state and the hand-off note, tell the human in one line, end | | Builder tool calls | 60 | Stop and return BLOCKED with the reason | | Chore helper tool calls | 25 | A chore is mechanical. If it needs more, it was not a chore | | Critic passes | one full pass, then at most one block-only recheck | Stop at PASS | | Cut laps and renders per video | 2 cut laps, 3 renders | Then ask the human once | | Prompt cache lifetime | about 5 minutes | A wait longer than that costs a cache rewrite, once | | A video is stale when it sits at an early stage | 2 h after its last update | Means intake is not finished | | A tool-blocked check | try once, then send it to the human or to a tooling session | Never loosen the check | The orchestrator re-reads a large fixed prefix on every turn: the built-in instructions, the tool and skill lists, the instruction files. If that prefix is large, tell the user which tools or instruction files could be trimmed and let them do it. ## A model per job Use names from your own setup. "Cheaper" means a mid-tier model, "cheapest" the smallest, "strongest" the top model. | Job | Model | |---|---| | Orchestrate a gate (a fresh session each time) | cheaper | | Build a video, apply the human's notes or the critic's fixes | cheaper | | Fix a named check failure, update the run state, move files, tick a tracker | cheapest | | Critic (see `short-form-critic`) | cheaper, max 2 iterations | | Captions | cheaper | | Motion graphics, 3D, explainer pieces | strongest | | Pipeline code | strongest, in its own session | ## Revision classes Every note is one of two classes. | Class | Covers | Goes to | |---|---|---| | **S** (skips the frames review) | A word, a headline, a caption text, label text, timing (a card or cue moves, a hold gets longer or shorter), cue anchors | Apply, re-render, critic, then show the change as a diff in the render review | | **G** (goes to the frames review) | The frame family of a beat, new, swapped or removed media, beats added, removed or reordered, a spoken line added or dropped, a new custom motion piece | Frames review first, then render | A mixed note is split. When unsure, it is G. The critic cannot downgrade a G note to S. ## Rendering Example values from a 16 GB laptop. They show the shape, not the numbers to copy. - Run heavy renders one at a time through a queue or a lock. Never two heavy renders at once. - Before you queue a render, check free disk with `df -h /`. Refuse a heavy start under about 10 GB free. - Under about 8 GB free, clear only caches that regenerate on demand and ask before deleting anything else. - Admit a new heavy job only while the 1-minute load average is under about 12, and wait about 30 s after the last start, because the load average lags. - A render that dies on a browser crash is retried once at half concurrency. - Keep the machine awake during a long render. - After any change to a rule, a layout or a tool, re-run the fast check on every pending spec in the same session, before you tell the human a rule is in force. - Keep a small set of delivered videos and replay it after every pipeline change. Swap the set when the pipeline changes enough that it no longer matches. ## Reading a spend report Measure from the session transcripts with a script. The script is plain code, not a model, and takes about a minute. For a comparable number, weight cache reads about 0.1 of fresh input, cache writes about 1.25, output about 5, and weight cheaper models lower. Plan accounting is not public: compare units week over week and do not convert them to a percent of your plan. | Line in the report | What it means | Fix | |---|---|---| | Opened outside the pipeline home | The session carried the full tool and skill load | Start in the project folder that holds only what the work needs | | Turns over the context line | The session ran too long | Split at the next gate | | Poll calls | `sleep`, `until`, `tail -f`, `pgrep`, or the same command shape run more than about 8 times | One foreground call, or one background run with a notification | | Cache expiries | A turn rewrote a big context after more than 5 minutes idle. A few are normal | Do not wait with a large context | | Runaway helpers | A helper over about 150 turns | Builders stop near 60 tool calls and return BLOCKED | | Expensive helpers outside motion design | A helper that inherited the strongest model | Name the model on every helper call | Report to the human in at most 10 lines: units and units per video against the last audit, the three biggest rule breaks by cost with the session and the one fix each points to, and which helper type cost the most. Then propose at most three changes. Each is one line: the rule or file and the expected effect. An approved change gets a dated line in your protocol.