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: text/1 presentation contract — text-only as the main mode, with a text projection for every surface (#2027) · Issue #2339 · developing-today/code

id: text/1 presentation contract — text-only as the main mode, with a text projection for every surface (#2027) #2339

New issue
Copy link
New issue
Copy link
Done
Done
id: text/1 presentation contract — text-only as the main mode, with a text projection for every surface (#2027)#2339
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statesource/creatorFiled by the new-issue-creator jobstatus/blockedQueue or user escalation statestatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Follow-up from the capability taxonomy v0 investigation (#2027, record: doc/2026-10-29T14-05-00Z_investigation_capability_taxonomy/, PR #2337).

Goal

Formalise text-only mode as the main presentation mode for agents and scripts: a text/1 contract plus a required text projection for every WorldSurface variant.

Why

parse_surface already accepts non-screen documents as legacy UTF-8 text, so text works today by accident. Agents and scripts are the primary consumers, text is what CI can assert without a renderer, and it is the degradation target every other surface needs.

Scope

  • Text(TextSurface) variant (kind: text) — UTF-8 lines, no escapes, no cursor addressing, no redraw, append semantics.
  • Width-aware wrapping, default 80, capped like MAX_SCREEN_WIDTH.
  • A text projection for Screen (existing render_ansi with colour stripped), Form, Media and Map, so no surface can exist without one.
  • Contract documentation in world_presentation.rs header and pkgs/id/ARCHITECTURE.md if it describes surfaces.

Acceptance

  • kind: text parses and round-trips; a surface without a text projection is rejected at the type level or by a test.
  • A test renders one program's Screen and Text documents and asserts the text projection is line-oriented and escape-free.
  • Legacy plain-string documents stay valid.

Out of scope

A styling/theme system, cursor animation, terminal detection heuristics.

Acceptance criteria

  • kind: text (Text/TextSurface) parses and round-trips: UTF-8 lines, no escapes, no cursor addressing, append semantics, width-aware wrapping (default 80, capped like MAX_SCREEN_WIDTH)
  • Every WorldSurface variant on main (Screen, Text, Form, Scene, Audio, Widget) has a text projection, enforced by the exhaustive, wildcard-free match in WorldSurface::text_projection. Media/Map are not variants — the Media remainder is design-first in id: media/1 presentation surface — design a Media WorldSurface variant with a text projection (#2339 remainder) #13679.
  • A test renders one program's Screen and Text documents and asserts the text projection is line-oriented and escape-free
  • Legacy plain-string documents stay valid; contract documented in the world_presentation.rs header (and pkgs/id/ARCHITECTURE.md if it describes surfaces)

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    status/needs-triageNot yet triaged; needs a first look
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-1184

  3. dezren39
    added
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 29, 2026
  4. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Intake review

    Related: parent investigation #2027 (record: PR #2337); siblings #2338-#2345 are the other taxonomy follow-ups

    Notes: Filed 2026-10-29T14:04Z from #2027. Still live: no open or merged PR implements it. Text works today only by accident (parse_surface legacy UTF-8 path); this makes it the main mode for agents/scripts and the degradation target for all other surfaces.

    Risks: If Form/Media/Map land before their text projections, surfaces exist that CI and agents cannot assert on — sequence this before or with #2340/#2342.

    Suggested approach: Add the Text variant + Screen projection via the existing render_ansi (colour stripped) first, then the remaining projections with the line-oriented test.

    🤖 Agent note · filed

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-10-29T14:30Z (09:30 CDT)
    • Found via: monitor reconciliation
    • Task: Duty 2 intake enrichment — acceptance criteria appended (original body preserved verbatim above it), labels normalized, meta/enriched applied. Still-live check this pass: no merged PR or fix commit explicitly resolving this issue was found; where a queue triage task owns verification, it is named in the notes.
    • Expectation: see the effort label; done = the appended acceptance criteria are met.
    • Links: this issue
  5. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  6. 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
    on Nov 1, 2026
  7. 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), OpenChamber scheduled lane
    • Session / ID: queue task 5771
    • Found via: queue claim
    • Task: Implement text/1 deterministic projections for the current WorldSurface variants while preserving legacy Screen UTF-8 behavior.
    • Expectation: effort m; done = projection behavior and focused tests passing, with any PR/CI state recorded.
    • Links: id: text/1 presentation contract — text-only as the main mode, with a text projection for every surface (#2027) #2339 · parent id: investigate: capability-based specialization — forms, location, media across web, ESP32/MQTT, and text/audio modes #2027; no existing PR found
  8. dezren39
    added
    queue/blockedQueue or user escalation state
    on Nov 1, 2026
  9. 150 remaining items

    Load more actions
  10. dezren39
    removed
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  11. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · duplicate follow-on cancelled

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane 262eb403-3347-4a7c-ba6b-e7bc263ca853
    • Task: 13995 (cancelled) — auto-spawned by the broker as a triage-doctrine follow-on when task 12057 completed.
    • Why cancelled: it is a byte-for-byte duplicate of task 12057 — same dedupe key repo-health:v1:triage:developing-today/code:issue:2339, same title and body. Task 12057 already recorded this issue's triage verdict (the comment above) and deliberately enqueued no fix packet, because the remaining text projections are gated on the Form (id: form.* capability + Form surface — structured input without program-supplied HTML (#2027) #2340) and Media (id: media.* — typed media artifacts by default, one bounded raw stream for realtime (#2027) #2342) surfaces existing. Re-running the same triage would only reproduce the same verdict.
    • Labels: queue/parked, status/parked and work/assigned removed — no queue task is in flight for this issue.
    • Links: task 12057 · task 13995 · issue id: text/1 presentation contract — text-only as the main mode, with a text projection for every surface (#2027) #2339
  12. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  13. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — both gates closed since the triage of record; remainder enqueued as task 19782

    • Agent: queue worker (repo-worker-code), lane code-e
    • Task: task 18225 — bulk-intake triage of issue id: text/1 presentation contract — text-only as the main mode, with a text projection for every surface (#2027) #2339
    • Fresh verification (2026-11-17, this run): issue id: text/1 presentation contract — text-only as the main mode, with a text projection for every surface (#2027) #2339 OPEN, no hard-stop labels. PR id: text/1 foundation — TextSurface + exhaustive WorldSurface text projection (#2339 first slice) #4840 verified MERGED. Gate issues verified this run: id: form.* capability + Form surface — structured input without program-supplied HTML (#2027) #2340 (Form surface) CLOSED, id: media.* — typed media artifacts by default, one bounded raw stream for realtime (#2027) #2342 (Media surface) CLOSED.
    • Triage of record stands, with its gate now cleared: task 12057 (2026-11-08) — first slice landed (PR id: text/1 foundation — TextSurface + exhaustive WorldSurface text projection (#2339 first slice) #4840: WorldSurface::Text, exhaustive text_projection() with no wildcard arm, tests on main), and it deliberately enqueued no fix packet because the remaining text projections were gated on the Form and Media surfaces existing. Both surfaces now exist (their issues closed), so the remainder is actionable.
    • Action taken this run: enqueued the remainder as task 19782 (small_fix, queued): add the Form and Media text projections to text_projection() in world_presentation.rs, keeping exhaustiveness, with projection tests mirroring the existing text tests. Fix dedupe slot verified free before enqueue.
    • Verdict: triaged, follow-on named above. Issue id: text/1 presentation contract — text-only as the main mode, with a text projection for every surface (#2027) #2339 stays OPEN until task 19782 lands.
  14. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1 — state: blocked (needs_input — packet premise partly stale), lane any-h, task 19782, at 2026-11-17T10:35Z

    Working task 19782 (the #2339 remainder packet: Form + Media text projections) against current main produced a split finding:

    Form half — already done on main. FormSurface::text_projection() exists in pkgs/id/crates/id-core/src/world_presentation.rs, the exhaustive WorldSurface::text_projection match already has its Self::Form arm (no wildcard), and a dedicated test (form_surface_parses_projects_and_rejects_unsafe_or_oversize_documents) asserts the exact projected lines. Nothing remains to implement for Form.

    Media half — the surface does not exist. There is no Media variant of WorldSurface anywhere in pkgs/id (the enum is Screen / Text / Form), and no kind: media presentation document is parsed. Gate #2342 delivered media.* capabilities — typed media artifacts in id-store — not a presentation surface, so there is no Media input for a projection to cover. (The same is true of the Map surface named in this issue's scope.) Adding a Media presentation variant is a design task — document shape, validation bounds, and the adapter contract — not a remainder fill-in, and it should not be invented inside a scoped fix packet.

    Decision needed (Drew / issue owner): either (a) re-scope this remainder to Form-only, in which case it is already satisfied on main and the packet can close with the evidence above, or (b) file a dedicated design+implementation packet for a Media (and possibly Map) WorldSurface variant, whose projection then lands with the variant under the existing exhaustive-match rule.

    Housekeeping: a targeted cargo test -p id-core --lib world_presentation run was started to confirm the Form test green, but the laptop's fleet build queue was saturated (load average ~113, build-lock held by other lanes), so the run was abandoned rather than left competing; the Form evidence above is from direct inspection of main. Task 19782 is blocked needs_input on the decision above.

  15. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    on Nov 17, 2026
  16. dezren39
    removed their assignment
    on Nov 20, 2026
  17. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Decision (UNBLOCK-393 sweep, under Drew's 2026-11-23 decision posture): BOTH — this remainder task is re-scoped to Form-only, and the Media half goes to a dedicated design packet.

    Why: the Form text projection is already on main (FormSurface::text_projection in pkgs/id, per the 2026-11-17 finding on this issue), so the Form scope is satisfied; no Media WorldSurface variant exists in pkgs/id, so Media is a design-first item, not an implementation remainder. Keeping this packet blocked on a nonexistent variant helps neither half. The picking-up worker should verify the Form projection against acceptance and complete; the Media variant design packet is the follow-on.

  18. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · Form half verified complete; Media half split to #13679 · task 19782 complete

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane oc-code-04.
    • Task: 19782 — the id: text/1 presentation contract — text-only as the main mode, with a text projection for every surface (#2027) #2339 remainder packet (Form + Media text projections), re-scoped to Form-only by the 2026-11-23 decision above.
    • Verification (this run, on main):
      • WorldSurface variants are Screen, Text, Form, Scene, Audio, Widget. WorldSurface::text_projection matches all six with no wildcard arm (compile-time enforcement intact).
      • FormSurface::text_projection() is present (pkgs/id/crates/id-core/src/world_presentation.rs), and form_surface_parses_projects_and_rejects_unsafe_or_oversize_documents asserts the exact projected lines, including rejection of escapes/HTML/CSS/oversize input.
      • cargo test -p id-core --lib world_presentation: 49 passed, 0 failed (laptop, via fleet-build-lock), including screen_and_text_projections_are_line_oriented_and_escape_free, text_parses_and_round_trips, and the scene/audio/widget projection tests.
    • Form half: satisfied — nothing remained to implement.
    • Media half: there is no Media (or Map) WorldSurface variant, and id: media.* — typed media artifacts by default, one bounded raw stream for realtime (#2027) #2342 delivered media.* artifacts/streams, not a presentation surface. Filed id: media/1 presentation surface — design a Media WorldSurface variant with a text projection (#2339 remainder) #13679 as the dedicated design-first packet (Media variant + validation + text projection, landing together under the exhaustive-match rule), and enqueued its triage packet as task 21457 in repo-health-code-pilot (same-pass filing rule).
    • Issue body: the acceptance checklist is updated to name the actual variants and all four items are ticked.
  19. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Closed as implemented.

  20. dezren39
    closed this as completedon Nov 23, 2026
  21. developing-today
    added
    status:done
    on Nov 23, 2026
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

    app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statesource/creatorFiled by the new-issue-creator jobstatus/blockedQueue or user escalation statestatus:donetask/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.