Skip to content

t27f: reel_factory.t27 -- content features to a unique scene plan per item #10561

Closed as not planned

Description

@gHashTag

Part of #10560 (R1 + R2).

The 27 lesson reels share one backdrop: token_floor's physics world. This issue adds the factory law that gives each item its own scene, derived from its own content and checked for uniqueness by tests.

Boundary

  • In: a new specs/t27f/reel_factory.t27, its seal, its t27b ledger row, and a row in specs/t27f/frontend.t27's header that points at it.
  • Out: the renderers of the archetypes (R3) and rewiring lesson_reel.t27 (R4). Those are later issues.

User Scenarios

  1. The lab prints the plan of course 0 with t27c run specs/t27f/reel_factory.t27. That gives one row per lesson: its archetype, accent, motion, layout and features.
  2. A reviewer reads the tests and sees that uniqueness is checked over all 27 lessons, not asserted.

Requirements

  • Features are counted from each lesson's code in reel_topics.t27 (keywords at word boundaries). They are never typed by hand per lesson.
  • The archetype is the best-scoring one that the lesson has content for, is not the previous lesson's archetype, and is not over its cap.
  • The accent comes from the course module. The motion is t mod 4 and the layout is t mod 3.
  • The output formats are tall and wide reels, a square post, a 4:5 post, a cover, a carousel, an X card and an og image. Each has its size and its carousel slide count.
  • The anomaly gate for R3 is a SSIM ceiling between any two rendered stills.

Success Criteria

  • t27c test-report on the lab: every test passes, 0 vacuous.
  • Witness tests tie the keyword table to real lessons: the test-block lesson has tests, the loops lesson has loops, the structs lesson has data, and so on.
  • t27c seal --verify matches. The t27b row reads pass.

Activity

  1. added a commit that references this issue on Oct 18, 2026
    eb7a850
  2. gHashTag commented on Oct 18, 2026

    @gHashTag
    OwnerAuthor

    Note for scenario 1: t27c has no run subcommand. The plan now prints from a separate module, specs/t27f/reel_factory_plan.t27 (#10573, PR #10580): generate it with t27c gen and execute the zig output. The earlier claim that a printing main is refused by t27b came from a lab t27b built before #10455; a fresh build accepts it.

  3. added
    shape-refusedClosed by the issue-shape gate (specs/policy/issue_shape.t27); a passing edit reopens it
    on Oct 18, 2026
  4. github-actions commented on Oct 18, 2026

    @github-actions
    Contributor

    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.

    • missing: ## Requirements -- numbered obligations, FR-001: ... MUST ...
    • missing: ## Success Criteria -- an outcome a machine can settle: a number with a unit, a backticked file, exit 0, or a backticked command
  5. added 3 commits that reference this issue on Oct 18, 2026
    480e8dc
    9514c30
    c09e46b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    shape-refusedClosed by the issue-shape gate (specs/policy/issue_shape.t27); a passing edit reopens it

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions