Skip to content

spec(t27f): reel host entry points so a wasm host can draw stills #9980

Closed as not planned

Description

@gHashTag

Problem

specs/t27f/reel.t27 (#9966, issue #9965) computes the reel's cell positions, camera, screen mapping and cell style, but nothing outside the compiler can run those bodies. gen-js emits constants only, and a wasm export can carry only scalars, so a host such as the t27 MCP server cannot draw a still without re-implementing the math by hand.

Ask

Add scalar host entry points to reel.t27:

  • corner_dx and corner_dy: the six hexagon corners;
  • demo_frames, demo_scene_at and demo_still: the demo reel's frame clock;
  • demo_sx, demo_sy, demo_r, demo_corner_sx and demo_corner_sy: camera composed with the screen mapping.

With these, a host only draws what the entry points return.

Done when

  • The entry points have test blocks in the spec.
  • Negative controls are killed.
  • gHashTag/t27-mcp t27f_view draws the demo still from a wasm build of the Zig output.

Boundary

specs/t27f/reel.t27 only. No compiler changes, no generated files.

Activity

  1. added
    shape-refusedClosed by the issue-shape gate (specs/policy/issue_shape.t27); a passing edit reopens it
    on Oct 17, 2026
  2. github-actions commented on Oct 17, 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: ## User Scenarios -- at least one Given/When/Then scenario
    • 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
  3. added a commit that references this issue on Oct 17, 2026
    f055775
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