Appearance
How a piece runs today
This page shows what actually happens to a piece, from collection to the review queue and Discover, as it runs on 25 November 2026. Every step names its file and version, so it can be checked. The other pipeline pages describe the approved model; where they say "later" or "not yet", this page is the current state. The Daily Briefing is a separate path (the Daily Briefing).
The chain
- What starts a run. A person runs
scripts/classification/run_bench.py --purpose rung --gounder a written cap in the spend ledger. Nothing in the admin can start a run yet. Eight runs have been made, from 14 to 24 November, each recorded inclassification_runs. - Video speech first. When a video is collected, its speech is transcribed: YouTube through
batch_orchestrator.py, TikTok, Instagram reels and Meta ads throughvideo_after_collect.py, each callingbackend/services/transcribe_on_collect.py, which startsscripts/classification/transcribe_videos.pyunder its own written cap;transcribe_videos.py --collected-since <day>sweeps anything collected another way (a video's speech first). A classification run does not transcribe: it refuses a video with no transcript that is not marked "no speech". - Settle the inputs.
backend/services/classification_input.pygathers exactly what the channel's input rule names (docs/atlas/_data/channel-inputs.json, version 8) and refuses a piece that does not have enough to classify (table below). - First look.
gpt-4.1-mini, prompt first-pass/3, decides only the content type and, for a website page, the page role. - Route. The route table, routes/6, picks the instructions for that kind of piece (how routes are keyed).
- Analyse.
gpt-5.4-minianswers the contract piece/3 with the compiled vocabulary c44d738603cf (prompt analysis module /2 when pictures are sent). - Check. The validator, classification-validator/6, keeps an answer, drops it with a reason, or parks it when its confidence is under 0.7 (the cut-off).
- Results, then the store. Every answer is saved in
classification_resultswith the model, prompt, route, contract and vocabulary versions;content_store_piecethen writes the main tables. - Where it shows. The review Queue, and Discover, which lists a piece once it holds a valid classification in the current format.
What each channel needs
| Channel | Collected by | Enough to classify (channel-inputs/8) |
|---|---|---|
| YouTube | batch_orchestrator.py (normalises, cuts frames and transcribes) | a video or frames, and a title |
| Website page | landing_ingest.py | page text of more than 200 characters |
| TikTok | tiktok_ingest.py, then video_after_collect.py | a video and a caption or transcript |
instagram_ingest.py; its reels then go through video_after_collect.py | a video or image, and a caption | |
| Meta ad library | meta_ad_ingest.py, then video_after_collect.py | a video or image; ad text when the library gave one |
| LinkedIn ad library | linkedin_ad_ingest.py | a video or image |
| X | twitter_x_ingest.py | post text; media when the post has it |
| An image | its collector | the image and a caption of more than 20 characters |
The source scheduler is off (since 8 June 2026), so collection runs when a collector is started (monitoring).
What is generated from the docs and what is written by hand
- Generated from the registry: the compiled vocabulary (
docs/atlas/_data/compiled-vocabulary.json, byscripts/vocabulary/compile_vocabulary.py), that is, which values the model may choose and their definitions. - Written by hand: which lists are asked (the contract
docs/atlas/_data/contracts/piece-3.json), the route table and what each module asks (docs/atlas/_data/routes.json), the input rules (channel-inputs.json), and the prompt text (backend/services/classification_prompts.py). - Joe ruled on 25 November that the repo files become the one master and everything else is generated from them (the one master); that build is still to come.
See approved, offered and asked for how a value reaches the model.
Defined but not run
- Moments (
moment/1): never run; the last moment was saved on 13 July by the retired pipeline. - Campaign analysis (
grouping/1): never run. - The next piece contract (
piece/4): not written yet. - The image-in-grouping and pricing routes: in routes/6, never matched yet.