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(web): world presenter residual width divergences vs unicode-width 0.2.2 — 2529 code points in classes #1581 never scoped (trigrams, CJK radicals, format chars) · Issue #2962 · developing-today/code

id(web): world presenter residual width divergences vs unicode-width 0.2.2 — 2529 code points in classes #1581 never scoped (trigrams, CJK radicals, format chars) #2962

New issue
Copy link
New issue
Copy link
Closed
#4491
Closed
id(web): world presenter residual width divergences vs unicode-width 0.2.2 — 2529 code points in classes #1581 never scoped (trigrams, CJK radicals, format chars)#2962
#4491
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)

Description

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

Problem

After the #1581 fix (PR #2945), the TS world presenter (pkgs/id/web/src/world-surface.ts) and the Rust validator (pkgs/id/src/world_presentation.rs, unicode-width 0.2.2) still disagree on the alone width of 2529 single code points — classes #1581 never scoped. Same failure mode as #1581: a Rust-valid screen can fall back to raw text in the browser (TS refuses a width the Rust side admitted), or TS accepts a width Rust refused.

Evidence (gathered 2026-10-31, queue task 1842)

Exhaustive differential: the real graphemeWidth from world-surface.ts (driven under bun) vs UnicodeWidthStr::width on the pinned unicode-width 0.2.2 (standalone Rust probe), every code point U+0020..U+2FFFF, alone and +U+FE0E. The PR #2945 work zeroed all #1581/FE0E divergences (57 alone + 93 FE0E fixed, zero new); the residual alone-width mismatches, by class:

Rust TS count examples
2 1 2295 U+17A4 (Khmer vowel), U+2630..U+2637 (trigrams)
1 2 76 U+2E9A, U+2EF4..U+2EFA (CJK radicals inside TS's broad 0x2E80..0x303E / 0x3040..0x33FF wide ranges)
0 1 143 U+00AD, U+0605, U+061C, U+070F, U+0890..U+0891, U+08E2 (format/invisible chars)
0 2 13 U+302A..U+302F (ideographic tone marks), U+3099, U+309A
1 0 1 U+2D7F
3 1 1 U+17D8

Reproduction is mechanical: rebuild the two probes (a ~30-line Rust binary pinned to unicode-width = "=0.2.2" dumping cp / alone / +FE0E, and a bun script importing graphemeWidth) and diff — counts above must reproduce exactly against PR #2945's head or later main.

Reachability note (why this needs triage, not a blind table sync)

The Rust validator admits only graphemes of width 1..=2 per cell, so classes with Rust width 2 / TS 1 are reachable in principle (e.g. a screen cell U+2630 at columns: 2 is Rust-valid and TS-refused). Other classes may be unreachable: U+17D8 is Rust width 3 alone (never admittable as a lone cell), and some rust=0 classes may be excluded upstream by the presenter's control-char refusal. Each class needs a disposition before table surgery on 2529 code points is justified.

Acceptance criteria

  • Each residual class above is dispositioned reachable-as-a-cell or unreachable, with the reasoning recorded (single-grapheme admission, control-char refusal, segmenter behavior in clusters — clusters may differ from the alone table)
  • Reachable classes are fixed in world-surface.ts with parity tests in world-surface.test.ts, re-verified by the exhaustive differential (target: zero alone and +FE0E mismatches outside proven-unreachable classes)
  • id(web): world presenter still mis-measures ⬛/⭕, narrow-base skin tones, composed Hangul jamo and long graphemes — #1431's folded-in classes survived its fix, and the 16-unit symbol cap has no Rust twin #1581 / PR id(web): grapheme-width parity remainders for the world presenter (#1581) #2945 are not reopened — this issue covers only the residual classes

Filed by the queue worker (Lane B, task 1842) from evidence gathered fixing the Codex P2 on PR #2945; a queue triage task keyed to this issue carries the same evidence.

Activity

Next
  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    queue/queuedHas a queued queue task
    on Oct 31, 2026
  2. github-actions
    assigned
    dezren39
    on Oct 31, 2026
  3. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  4. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code)
    • Session / ID: OpenChamber scheduled lane, task 4251
    • Found via: queue claim · repo-health-code-pilot
    • Task: Triage reachability of the residual single-code-point width mismatches and enqueue the reachable fix scope.
    • Expectation: m — disposition each class, post evidence, enqueue a fix packet for reachable cases.
    • Links: PR id(web): grapheme-width parity remainders for the world presenter (#1581) #2945 (merged); no branch yet
  5. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — every residual class dispositioned (2,372 reachable / 157 unreachable-alone)

    • Agent: queue worker (repo-worker-code), lane D (completing the triage resumed from the earlier claim's reproduced checkpoint)
    • Session / ID: queue task 4251 (triage), completed 2026-11-01
    • Method: exhaustive differential — every code point U+0020..U+2FFFF alone and +U+FE0E, TS graphemeWidth (world-surface.ts) vs UnicodeWidthStr::width on pinned unicode-width 0.2.2 (194,528 scalars scanned) — plus a Bun probe of the real renderWorldSurface for representative points. Admission frame: the Rust presenter admits a single-grapheme cell only at widths 1..=2 (world_presentation.rs), so a class is reachable-as-a-cell exactly when Rust's alone-width is 1 or 2 and TS disagrees.
    • REACHABLE — fix routed:
      • rust=2 / ts=1 — 2,295 points (e.g. trigrams U+2630..U+2637, Khmer U+17A4): Rust admits them as 2-wide cells; TS measures 1, so the presenter refuses the Rust-shaped placement (probe: U+2630 rejected at its Rust width). TS must measure 2.
      • rust=1 / ts=2 — 76 points (CJK radicals inside TS's broad 0x2E80..0x303E / 0x3040..0x33FF wide ranges, e.g. U+2E9A, U+2EF4..U+2EFA): Rust admits at 1; TS demands 2 (probe: U+2E9A rejected). TS must measure 1.
      • rust=1 / ts=0 — 1 point (U+2D7F): Rust admits at 1; TS treats it as zero-width (probe: rejected). TS must measure 1.
    • UNREACHABLE alone — no fix (documented):
      • rust=0 / ts=1 — 143 format chars (e.g. U+00AD, U+0605, U+061C): Rust width 0 is outside the 1..=2 admission window, so no Rust-valid screen can contain one as a cell; TS's 1 is never exercised for an admitted cell.
      • rust=0 / ts=2 — 13 points (U+302A..U+302F ideographic tone marks, U+3099, U+309A): same reasoning (probe: U+302A form unreachable from Rust).
      • rust=3 / ts=1 — 1 point (U+17D8): Rust alone-width 3 exceeds the admission window; never a cell alone.
      • Cluster behaviour is separate from alone-width parity; multi-codepoint / FE0F scope is id(web): world presenter widens every U+FE0F cluster to 2 — a letter+VS16 cell (a️) is Rust-valid at columns 1 but renderWorldSurface refuses the whole screen #3265's, explicitly not this issue.
    • Routing: fix packet enqueued as queue task 5514 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:2962) scoped to the 2,372 reachable points, with the differential re-run as its oracle (reachable mismatches → 0; residual exactly the 157 unreachable points). id(web): world presenter still mis-measures ⬛/⭕, narrow-base skin tones, composed Hangul jamo and long graphemes — #1431's folded-in classes survived its fix, and the 16-unit symbol cap has no Rust twin #1581 and PR id(web): grapheme-width parity remainders for the world presenter (#1581) #2945 are not reopened.
    • Links: issue id(web): world presenter residual width divergences vs unicode-width 0.2.2 — 2529 code points in classes #1581 never scoped (trigrams, CJK radicals, format chars) #2962 · fix task 5514 · PR id(web): grapheme-width parity remainders for the world presenter (#1581) #2945
  6. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 1, 2026
  7. 75 remaining items

  8. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 2, 2026
  9. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    Picked up: OpenChamber scheduled lane claimed repo-health-code-pilot task 5514.

    • Agent: repo-worker-code; lane 7b47536b-c162-444c-be8a-3a9538cc4cb5
    • Fresh state: id(web): world presenter residual width divergences vs unicode-width 0.2.2 — 2529 code points in classes #1581 never scoped (trigrams, CJK radicals, format chars) #2962 is OPEN; PR fix(id/web): presenter width parity for the 2372 reachable code points (#2962) #4491 is OPEN on task branch queue/5514-2962-width-parity; guard check is QUEUED, started 2026-11-02T17:34:58Z. No hard-stop labels.
    • Next: CI has exceeded the five-minute poll window, so park and resume by checking the guard. No source/worktree changes this run.
    • Links: fix(id/web): presenter width parity for the 2372 reachable code points (#2962) #4491 · task 5514
  10. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    Parked: Task 5514 parked for 20 minutes because PR #4491's basic OpenCode metered-provider guard remains QUEUED beyond the five-minute poll window.

    • Agent: repo-worker-code; OpenChamber scheduled lane 7b47536b-c162-444c-be8a-3a9538cc4cb5
    • Fresh evidence: id(web): world presenter residual width divergences vs unicode-width 0.2.2 — 2529 code points in classes #1581 never scoped (trigrams, CJK radicals, format chars) #2962 OPEN; PR fix(id/web): presenter width parity for the 2372 reachable code points (#2962) #4491 OPEN on queue/5514-2962-width-parity; no held, user/owned, do-not-merge, or do-not-auto-edit labels. Existing CI/test evidence remains from the prior checkpoint; no new tests run.
    • Resume: recheck the guard; if green, revalidate issue/PR and merge only if the task-owned PR is still eligible, then complete as fixed_merged.
    • Queue labels: queue/parked, status/parked, work/assigned.
    • Links: fix(id/web): presenter width parity for the 2372 reachable code points (#2962) #4491 · task 5514
  11. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 2, 2026
  12. dezren39
    added a commit that references this issue on Nov 2, 2026

    fix(id/web): presenter width parity for the 2372 reachable code points (

    c9f0309
  13. dezren39
    closed this as completedin #4491on Nov 2, 2026
  14. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 2, 2026
  15. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    {"schema":"agent-note:v1","type":"status","stage":"done","task_id":5514,"lane":"code-d","worker":"repo-worker-code","note":"Merged on resume: PR #4491 (squash c9f0309) syncs WIDE_RANGES in world-surface.ts with unicode-width 0.2.2 for the three reachable classes (2295 points to width 2, 76 CJK-radical points to width 1, U+2D7F to width 1). Exhaustive differential re-run documented on the PR: 0 reachable mismatches alone and +U+FE0E; residual is exactly the unreachable-alone points. Codex review of head acad12b completed with no findings; checks SUCCESS/NEUTRAL."}

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)kind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)

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.