GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(roc): finish the example migration: tic-tac-toe -> RocJson, roc-counter -> Screen, adopt RocText · Issue #565 · developing-today/code

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

New issue
Copy link
New issue
Copy link
Closed
Closed
id(roc): finish the example migration: tic-tac-toe -> RocJson, roc-counter -> Screen, adopt RocText#565
Copy link
Assignees
dezren39
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

Description

@dezren39
dezren39
opened on Oct 22, 2026
Issue body actions

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 §2 'Migration leftovers'
  • doc/2026-10-16T13-00-00Z_feature_world_apps_structured_migration/

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

  • id(roc): F11.18 pin the Roc compiler for checked-in example modules and rebuild them in CI #541 — D1-018 F11.18 Pinned Roc compiler for checked-in example modules + CI rebuild job

Activity

Next
  1. dezren39
    added
    enhancementNew feature or request
    on Oct 22, 2026
  2. github-actions
    assigned
    dezren39
    on Oct 22, 2026
  3. dezren39 commented on Oct 24, 2026

    @dezren39
    dezren39
    on Oct 24, 2026
    MemberAuthor
    More actions

    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.

  4. dezren39
    added a commit that references this issue on Oct 25, 2026

    docs(id): Phase 14 plan — close-out: finish, measure, verify, open th…

    ee67188
  5. dezren39
    added
    kind/featureNew feature or capability request
    source/humanFiled directly by a human
    status/needs-triageNot yet triaged; needs a first look
    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
  6. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    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.

  7. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Oct 28, 2026
  8. 30 remaining items

  9. dezren39
    added
    mode/onlineFully doable remotely: design, config, code, cloud
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 1, 2026
  10. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    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

  11. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-b
    • Session / ID: task 7583 (repo-health-code-pilot triage), shift 2026-11-03T12:20Z
    • Found via: queue claim
    • Task: Triage of issue id(roc): finish the example migration: tic-tac-toe -> RocJson, roc-counter -> Screen, adopt RocText #565 at current main — verdict: already done; closing with evidence. (An earlier done note from task 2637 recorded the fix but the issue was never closed; this note closes that gap.)
    • Evidence (fresh, current main c7a02b6):
      • PR id(roc): finish the example migration — tic-tac-toe -> RocJson, roc-counter -> Screen, adopt RocText (#565) #2970 MERGED 2026-10-31 (merge commit c1b9052) — "finish the example migration — tic-tac-toe -> RocJson, roc-counter -> Screen, adopt RocText (id(roc): finish the example migration: tic-tac-toe -> RocJson, roc-counter -> Screen, adopt RocText #565)"; its body records roc check clean on both examples, both build.sh rebuilds + wasm-tools validate passed, and cargo test --lib -- counter tic_tac_toe 10 passed / 0 failed.
      • Criterion 1 (tic-tac-toe uses RocJson): the example was later moved to pkgs/id/apps/tic-tac-toe/ by PR feat(id): package tic-tac-toe as the first apps/ folder + host discovery (#2324) #3926 (commit df3f836, 2026-11-01, for id: PoC: package tic-tac-toe as the first apps/ folder — app.toml + host discovery #2324); on current main pkgs/id/apps/tic-tac-toe/program/main.roc line 3 import pf.RocJson, lines 65-68 build the records object with RocJson.Object — the hand-built JSON is gone.
      • Criterion 2 (roc-counter renders through Screen): pkgs/id/examples/roc-counter/main.roc line 3 import pf.Screen, lines 33-34 Screen.boxed(...) / Screen.render_json(Screen.put_text(...)).
      • Criterion 3 (at least one example imports RocText): roc-counter line 4 import pf.RocText, used at line 16 (RocText.trim(ev)).
      • Criterion 4 (rebuilt with pinned compiler, tests pass): prerequisite id(roc): F11.18 pin the Roc compiler for checked-in example modules and rebuild them in CI #541 is CLOSED (pinned Roc compiler + CI rebuild job landed); PR id(roc): finish the example migration — tic-tac-toe -> RocJson, roc-counter -> Screen, adopt RocText (#565) #2970 rebuilt both checked-in .wasm artifacts and its tests passed as recorded above.
    • Expectation: issue id(roc): finish the example migration: tic-tac-toe -> RocJson, roc-counter -> Screen, adopt RocText #565 closed as completed; task 7583 completed as already_done. No follow-up fix task needed.
    • Links: PR id(roc): finish the example migration — tic-tac-toe -> RocJson, roc-counter -> Screen, adopt RocText (#565) #2970 · PR feat(id): package tic-tac-toe as the first apps/ folder + host discovery (#2324) #3926 · prerequisite id(roc): F11.18 pin the Roc compiler for checked-in example modules and rebuild them in CI #541
  12. dezren39
    closed this as completedon Nov 3, 2026
  13. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    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

  • @dezren39
    dezren39

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.