Repository navigation
epic: T27F content factory -- every reel distinct, derived from its own content #10560
Copy link
Copy link
Open
3 / 33 of 3 issues completedOpen
3 / 33 of 3 issues completed
Copy link
Labels
Description
The owner, 2026-10-19: every lesson reel shows almost the same picture, so there is no uniqueness. They want one universal template, a factory pattern, a content factory, instead of hand edits to code for each reel.
The diagnosis, from the specs: specs/t27f/lesson_reel.t27 says in its NOT CLAIMED block that the backdrop of every lesson reel is token_floor's physics world (glass balls in a tube), not a picture of the lesson, and that its frame labels are the physics reel's. Only the voice, the captions and the cards change between lessons 1 and 27. The template has one scene, and every item gets it.
Boundary
- In:
specs/t27f/(a new factory law plus the scene renderers it names),specs/skills/cards for TRI CLAW, thet27fskill, and thetriCLI entries that run the factory. - Out: the voice service, the music, the trinity site, and publishing to any social network. Publishing needs the owner's yes for each post.
User Scenarios
- The owner asks for the reels of course 0. The factory reads each lesson's own code and gives each reel a different scene: the code assembling, the spec as a diagram, tests lighting up, a trit field, loops orbiting, a branch splitting, data blocks stacking, modules linking, or invariants guarding.
- A new course or a blog post arrives as data. It gets distinct reels with no code edited by hand.
- TRI CLAW is asked for a post about a lesson. It picks the format the channel needs (tall or wide reel, square or 4:5 post, cover, carousel, X card, og image) from the same plan.
Requirements
- R1. A factory law (
specs/t27f/reel_factory.t27) maps an item's content features to a plan: archetype, accent, camera motion and layout, plus the formats it renders. - R2. Uniqueness is tested: no two items share a signature; adjacent items differ in at least 3 of its 4 fields; no archetype covers more than its cap; every archetype shows something the item has; no item gets a backdrop that comes from another item.
- R3. A renderer per archetype, in t27, run on the Railway lab. A still per lesson is rendered and compared pairwise, and pairs that are too similar fail.
- R4.
lesson_reel.t27takes its backdrop from the plan instead of token_floor. - R5. TRI CLAW skill cards cover making social visuals: the formats, the choice of archetype, the uniqueness gate and the publish consent.
- R6.
triCLI commands run the factory: print the plan, render the covers, and run the similarity gate.
Success Criteria
- The factory's tests pass on the lab with 0 vacuous.
- The 27 lesson stills, rendered from the plan, have pairwise SSIM under the gate, measured on the lab.
- The lesson 1 and lesson 14 reels show different scenes, and each one's hero is drawn from that lesson's own code.
Sub-issues are filed per requirement as the loop reaches them.
Requirements
- FR-001: A factory law at
specs/t27f/reel_factory.t27MUST map an item's content features to a plan containing archetype, accent, camera motion, layout, and the formats it renders. - FR-002: Uniqueness MUST be tested: no two items share a signature; adjacent items differ in at least 3 of 4 fields; no archetype exceeds its cap; every archetype reflects something the item has; no item receives a backdrop derived from another item.
- FR-003: A renderer per archetype, written in t27, MUST run on the Railway lab; a still per lesson MUST be rendered and compared pairwise, and pairs exceeding the similarity threshold MUST fail.
- FR-004:
specs/t27f/lesson_reel.t27MUST take its backdrop from the factory plan instead of token_floor's physics world. - FR-005: TRI CLAW skill cards under
specs/skills/MUST cover making social visuals: format selection, archetype choice, uniqueness gate, and publish consent. - FR-006:
triCLI commands MUST run the factory: print the plan, render covers, and execute the similarity gate.
Success Criteria
t27c specs/t27f/reel_factory.t27 --testexits 0 with 0 vacuous tests on the Railway lab.tri factory similarity-gate --course 0 --lab railwayexits 0 and reports 27 lesson stills with pairwise SSIM under the configured threshold.tri factory render --lesson 1 --format still --lab railwayandtri factory render --lesson 14 --format still --lab railwayproduce outputs whose hero elements are derived from lesson 1 and lesson 14 code respectively, verified bytri factory inspect --lesson 1 --lesson 14 --lab railwayexiting 0.
Reactions are currently unavailable
Activity
github-actions commentedon Oct 18, 2026
Closed by the issue-shape gate (specs/policy/issue_shape.t27, #7498): an issue must have the template's sections. Edit the body; an edit that passes reopens it.
FR-001: ... MUST ...exit 0, or a backticked commandt27f: reel_factory.t27 -- content features to a unique scene plan per…
t27f: beat clock -- reel beats cut where the voice changes, crossfaded (
t27f: reel_factory_plan.t27 -- print the factory's course-0 plan, and…
t27f: reel_beats.t27 -- every reel as open, main and close, no two th…
t27f: R4d -- mode 5 overlays live inside one scene, none on a beat cr…
t27f: R4f -- mode 5 holds the address for REEL_CTA_MIN_MS, cut 1 capp…
t27f: R4e -- mode 5 cards stay inside one scene, token_floor_mux take…
gHashTag commentedon Oct 19, 2026
Reopened by the self-heal of #11007. The issue-shape gate closed this issue with a queued run that judged an older body from its event payload; the current body passes
gen/c/policy/issue_shape.c, and the gate's own contract is that a passing body stays open. If the work is in fact finished or obsolete, close it as completed.gHashTag commentedon Oct 19, 2026
Part of mega epic #11038, the one map of every T27F and gen-UI track.
🤖 Generated with Claude Code