Skip to content

id(roc): finish the example migration: tic-tac-toe -> RocJson, roc-counter -> Screen, adopt RocText #565

Closed

Description

@dezren39

What and why

Two examples still use older patterns (hand-built JSON and a plain-text view), and RocText is imported by no example. Examples are what authors copy, and two of them still show the old hand-built JSON and plain-text patterns.

Source

RPT = doc/2026-10-18T18-40-00Z_report_platform_world_state/2026-10-18T18-40-00Z_report_platform_world_state.md, REF = doc/2026-10-18T00-00-00Z_reference_platform_state/2026-10-18T00-00-00Z_reference_platform_state.md. Both are uncommitted reports in the platform-world-apps-migration worktree.

Current status

Not started. grep -n 'RocJson\|Screen' pkgs/id/examples/tic-tac-toe/main.roc pkgs/id/examples/roc-counter/main.roc finds nothing; grep -l RocText pkgs/id/examples/*/main.roc finds nothing.

Acceptance criteria

  • tic-tac-toe uses RocJson instead of hand-built JSON
  • roc-counter renders through Screen
  • At least one example imports RocText
  • Modules are rebuilt with the pinned compiler and example tests pass

Size

S

Prerequisites

Activity

  1. dezren39 commented on Oct 24, 2026

    @dezren39
    MemberAuthor

    id train triage (2026-10-24): blocked-on-#541 — example migration rebuilds the examples; #541 (F11.18) pins the Roc compiler first so the rebuilt artifacts are the pinned ones.

  2. added
    kind/featureNew feature or capability request
    source/humanFiled directly by a human
    priority/lowNice to have; do when convenient
    effort/sSmall: expected under 2 hours of work
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 26, 2026
  3. dezren39 commented on Oct 26, 2026

    @dezren39
    MemberAuthor

    Intake review

    Fleet-monitor intake pass (2026-10-26). Body already carries a full ## Acceptance criteria section, so this pass is label normalization plus a liveness check — no body edit.

    Verified live on main e3467560 (2026-10-26): grep -c 'RocJson\|Screen' pkgs/id/examples/tic-tac-toe/main.roc pkgs/id/examples/roc-counter/main.roc returns 0 for both files, and no example's main.roc imports RocText. The migration leftovers described in the issue are still exactly as filed.

    Related: prerequisite #541 (pinned Roc compiler + CI rebuild job) is itself still open and unenriched — the rebuild-with-pinned-compiler acceptance bullet cannot be verified until it lands. Sibling example-size work: #555.

    Risks / notes: low risk; examples are the copy-source for authors, so the patterns matter more than the size suggests. The two source reports cited in the body live in an uncommitted worktree per the body's own note — the issue body is self-contained enough to work from without them.

    Suggested approach: after #541 lands, migrate tic-tac-toe to RocJson and roc-counter to Screen in one PR, add RocText to the example where it fits most naturally, rebuild all examples with the pinned compiler, and run the example tests.

  4. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Oct 28, 2026
  5. 30 remaining items

  6. added
    mode/onlineFully doable remotely: design, config, code, cloud
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    queue/queuedHas a queued task in the Supabase agent queue
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 1, 2026
  7. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 30 (priority/low). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  8. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

  9. removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workenhancementNew feature or requestkind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmode/onlineFully doable remotely: design, config, code, cloudpriority/lowNice to have; do when convenientsource/humanFiled directly by a humantask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions