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 — feat(id): migrate world apps to structured RocJson and Screen by dezren39 · Pull Request #234 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Oct 16, 2026

Copy link
Copy Markdown
Member

Summary

  • Migrates territory to use pf.RocJson for decoding player presence events (joined, left, participant.id, participant.name) instead of fragile string slicing.
  • Fixes lounge presence participant name decoding and updates its checked-in WASM binary.
  • Adds build.sh, README.md, and checked-in roc-screen.wasm for examples/roc-screen demonstrating the portable Screen cell grid protocol and Key input.
  • Adds a sandbox integration test checked_in_roc_screen_renders_structured_surface verifying structured screen parsing and cell grid content against world_presentation policy.
  • Rebuilds and validates all checked-in WASM binaries (territory.wasm, lounge.wasm, tic-tac-toe.wasm, roc-screen.wasm) using the roc and wasm-tools toolchains.
  • Decision record: doc/2026-10-16T13-00-00Z_feature_world_apps_structured_migration/2026-10-16T13-00-00Z_feature_world_apps_structured_migration.md.

Validation

  • cargo fmt --check, git diff --check: clean.
  • All 19 sandbox tests passed (checked_in_territory_plays_persists_and_rejoins, the_lounge_uses_the_capability_protocol, checked_in_roc_screen_renders_structured_surface, etc.).
  • All checked-in WASM modules validate import-free with wasm-tools.
  • Full library test suite passes.

Stacked on PR #233 (platform-world-cli-controls).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dezren39 added 24 commits October 14, 2026 05:04
@dezren39
feat(web): compile Roc sources from world page
0f21263
@dezren39
style(id): format Roc world architecture note
e529288
@dezren39
style(rust): align formatting check
23a7e7d
@dezren39
style(web): format Roc compiler client
a2c0cea
@dezren39
feat(id): add portable world screen presentations
17c813e
@dezren39
feat(id): add source-only world install policy
d6f7bed
@dezren39
fix(id): avoid unwrap in save cooldown limiter
ecfb36f
@dezren39
feat(id): add terminal keyboard input to web worlds
c046945
@dezren39
test(id): assert structured Roc screen output
5f3c78b
@dezren39
feat(id): add per-session world viewport and paste
98ef72d
@dezren39
test(id): align bulk sync deadline with runtime
5620054
@dezren39
feat(id): add bounded pure Roc JSON library
ff3c3a0
@dezren39
fix(id): avoid Roc JSON compiler warnings
d76e2a1
@dezren39
docs(id): mark world viewport slice complete
0b49841
@dezren39
feat(id): add terminal buffer capture interface
a9c916d
@dezren39
feat(id): record world module build provenance
5266c31
@dezren39
docs(id): record world provenance design
fd66aa0
@dezren39
feat(id): define per-world resource profiles
aa85501
@dezren39
feat(id): persist per-world resource profiles
73425b2
@dezren39
docs(id): update profile and CI status
fc7aaf3
@dezren39
docs(id): track capability ceiling follow-up
46cf975
@dezren39
feat(id): add world capability ceilings
6331dd6
@dezren39
feat(id): add world operator CLI controls for ceilings and profiles
8991b6e
@dezren39
feat(id): migrate world apps to structured RocJson and Screen
4f94598
@dezren39
dezren39 requested a review from a team as a code owner October 16, 2026 18:16
@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c8af310a-01b0-482a-a3c0-605f05c97448
📥 Commits

Reviewing files that changed from the base of the PR and between bbc7e21 and 52c662f.

⛔ Files ignored due to path filters: 8
  • pkgs/id/Cargo.lock is excluded by !**/*.lock
  • pkgs/id/examples/lounge/lounge.wasm is excluded by !**/*.wasm
  • pkgs/id/examples/roc-chat/roc-chat.wasm is excluded by !**/*.wasm
  • pkgs/id/examples/roc-counter/counter.wasm is excluded by !**/*.wasm
  • pkgs/id/examples/roc-grid/roc-grid.wasm is excluded by !**/*.wasm
  • pkgs/id/examples/roc-screen/roc-screen.wasm is excluded by !**/*.wasm
  • pkgs/id/examples/territory/territory.wasm is excluded by !**/*.wasm
  • pkgs/id/examples/tic-tac-toe/tic-tac-toe.wasm is excluded by !**/*.wasm
📒 Files selected for processing: 76
  • .opencode/plans/phase-9-portable-platform.md
  • doc/2026-10-07T00-20-00Z_architecture_roc_worlds/2026-10-07T00-20-00Z_architecture_roc_worlds.md
  • doc/2026-10-14T19-39-30Z_architecture_portable_world_surfaces/2026-10-14T19-39-30Z_architecture_portable_world_surfaces.md
  • doc/2026-10-14T20-00-05Z_feature_source_only_world_installs/2026-10-14T20-00-05Z_feature_source_only_world_installs.md
  • doc/2026-10-14T20-10-00Z_feature_world_keyboard_parity/2026-10-14T20-10-00Z_feature_world_keyboard_parity.md
  • doc/2026-10-15T09-27-28Z_feature_roc_json/2026-10-15T09-27-28Z_feature_roc_json.md
  • doc/2026-10-15T16-00-00Z_feature_world_viewport_and_paste/2026-10-15T16-00-00Z_feature_world_viewport_and_paste.md
  • doc/2026-10-15T16-30-00Z_feature_terminal_buffer_capture/2026-10-15T16-30-00Z_feature_terminal_buffer_capture.md
  • doc/2026-10-16T09-00-00Z_feature_world_module_provenance/2026-10-16T09-00-00Z_feature_world_module_provenance.md
  • doc/2026-10-16T09-30-00Z_feature_world_module_provenance/2026-10-16T09-30-00Z_feature_world_module_provenance.md
  • doc/2026-10-16T10-00-00Z_feature_world_resource_profile/2026-10-16T10-00-00Z_feature_world_resource_profile.md
  • doc/2026-10-16T10-30-00Z_feature_durable_world_resource_profiles/2026-10-16T10-30-00Z_feature_durable_world_resource_profiles.md
  • doc/2026-10-16T11-00-00Z_feature_world_capability_ceilings/2026-10-16T11-00-00Z_feature_world_capability_ceilings.md
  • doc/2026-10-16T12-00-00Z_feature_world_cli_controls/2026-10-16T12-00-00Z_feature_world_cli_controls.md
  • doc/2026-10-16T13-00-00Z_feature_world_apps_structured_migration/2026-10-16T13-00-00Z_feature_world_apps_structured_migration.md
  • doc/2026-10-16T14-00-00Z_feature_screen_render_alignment/2026-10-16T14-00-00Z_feature_screen_render_alignment.md
  • doc/2026-10-16T15-00-00Z_feature_roc_grid/2026-10-16T15-00-00Z_feature_roc_grid.md
  • doc/2026-10-16T16-00-00Z_feature_roc_cap/2026-10-16T16-00-00Z_feature_roc_cap.md
  • doc/2026-10-16T17-00-00Z_feature_chat_history/2026-10-16T17-00-00Z_feature_chat_history.md
  • doc/2026-10-16T18-00-00Z_feature_records_readback/2026-10-16T18-00-00Z_feature_records_readback.md
  • doc/2026-10-16T18-30-00Z_feature_world_authoring_cli/2026-10-16T18-30-00Z_feature_world_authoring_cli.md
  • doc/2026-10-16T19-00-00Z_feature_guest_reflow/2026-10-16T19-00-00Z_feature_guest_reflow.md
  • doc/2026-10-16T19-30-00Z_feature_screen_widgets/2026-10-16T19-30-00Z_feature_screen_widgets.md
  • doc/2026-10-17T08-00-00Z_feature_world_roles_directory/2026-10-17T08-00-00Z_feature_world_roles_directory.md
  • pkgs/id/.cargo/config.toml
  • pkgs/id/Cargo.toml
  • pkgs/id/examples/lounge/README.md
  • pkgs/id/examples/lounge/build.sh
  • pkgs/id/examples/lounge/main.roc
  • pkgs/id/examples/roc-chat/README.md
  • pkgs/id/examples/roc-chat/build.sh
  • pkgs/id/examples/roc-chat/main.roc
  • pkgs/id/examples/roc-counter/main.roc
  • pkgs/id/examples/roc-grid/README.md
  • pkgs/id/examples/roc-grid/build.sh
  • pkgs/id/examples/roc-grid/main.roc
  • pkgs/id/examples/roc-screen/README.md
  • pkgs/id/examples/roc-screen/build.sh
  • pkgs/id/examples/roc-screen/main.roc
  • pkgs/id/examples/roc-world/README.md
  • pkgs/id/examples/roc-world/RocCap.roc
  • pkgs/id/examples/roc-world/RocGrid.roc
  • pkgs/id/examples/roc-world/RocJson.roc
  • pkgs/id/examples/roc-world/RocText.roc
  • pkgs/id/examples/roc-world/Screen.roc
  • pkgs/id/examples/roc-world/host/src/host.zig
  • pkgs/id/examples/roc-world/host/src/roc_platform_abi.zig
  • pkgs/id/examples/roc-world/platform.roc
  • pkgs/id/examples/territory/README.md
  • pkgs/id/examples/territory/build.sh
  • pkgs/id/examples/territory/main.roc
  • pkgs/id/examples/tic-tac-toe/build.sh
  • pkgs/id/examples/tic-tac-toe/main.roc
  • pkgs/id/src/cli.rs
  • pkgs/id/src/commands/serve.rs
  • pkgs/id/src/commands/world.rs
  • pkgs/id/src/lib.rs
  • pkgs/id/src/log_sync.rs
  • pkgs/id/src/main.rs
  • pkgs/id/src/sandbox.rs
  • pkgs/id/src/web/templates.rs
  • pkgs/id/src/web/world_ws.rs
  • pkgs/id/src/world.rs
  • pkgs/id/src/world_caps.rs
  • pkgs/id/src/world_compile.rs
  • pkgs/id/src/world_limits.rs
  • pkgs/id/src/world_net.rs
  • pkgs/id/src/world_presentation.rs
  • pkgs/id/src/world_session.rs
  • pkgs/id/src/world_ssh.rs
  • pkgs/id/src/world_store.rs
  • pkgs/id/web/src/world-keyboard.test.ts
  • pkgs/id/web/src/world-keyboard.ts
  • pkgs/id/web/src/world-surface.test.ts
  • pkgs/id/web/src/world-surface.ts
  • pkgs/id/web/src/world.ts
+----------------------------------------------------------------------------------------------------------------------+
| Design with contracts. Use contracts to document and verify that code does no more and no less than it claims to do. |
+----------------------------------------------------------------------------------------------------------------------+
  \
   \     /)/)
        ( '')
        /  |
      o(___)
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot assigned dezren39 Oct 16, 2026
dezren39 added 3 commits October 16, 2026 19:14
@dezren39
feat(id): render world grids as portable styled screens
5c460b3
@dezren39
feat(id): add a bounds-checked Roc grid library
70a6a39
@dezren39
feat(id): add shared capability request bookkeeping
c268f63
dezren39 added 2 commits October 17, 2026 05:55
@dezren39
fix(id): cap cargo disk use in Nix checks
39ba884
@dezren39
docs(id): record that join-only participants can read chat
6ea6a0d
This was referenced Oct 17, 2026
feat(id): record world sessions to replayable fixtures #239
Merged
feat(id): add journaled scheduled events for worlds #243
Merged
fix(id): refuse a complete journal line this binary cannot read #244
Merged
@dezren39
fix(id): keep running Nix checks after one fails
799249c
This was referenced Oct 17, 2026
docs(id): plan phases 11 and 12 #246
Merged
feat(id): measure per-call guest fuel and guard it with budgets #247
Merged
fix(id): show world chat only to participants who may chat or read history #256
Merged
dezren39 added 4 commits October 18, 2026 07:37
@dezren39
Merge main into platform-world-apps-migration
1dcd5fd
Resolutions:
- web/mod.rs: take main's unwrap_or(Duration::ZERO) in the save limiter.
- world.rs: keep ModuleProvenance and SourceBuildProvenance; drop the local
  Isolation, which main moved to groups::worlds and re-exports.
- world_session.rs: keep main's per-viewer event projection and pass the
  viewport through to send_view.
- world.rs project_event_for: zero only the install seed, keeping provenance
  and any later event field; main's tests gain provenance: None.

Integration with the chat-visibility change (#256):
- chat.history now needs the right to read chat (CHAT or HISTORY), the same
  rule the event stream applies.
- new observer role: join + history.
@dezren39
docs(id): correct the rollback claim for journal entries
a195efb
@dezren39
docs(id): correct the rollback claim for journal entries
a452b8f
@dezren39
docs(id): record the chat-visibility resolution and the observer role
52c662f
@dezren39
dezren39 changed the base branch from platform-world-cli-controls to main October 18, 2026 12:38
@dezren39
dezren39 merged commit 228019a into main Oct 18, 2026
13 of 16 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the platform-world-apps-migration branch October 18, 2026 12:38
This was referenced Oct 18, 2026
feat(id): add portable world screen presentations #214
Closed
feat(id): add source-only world install policy #215
Closed
feat(id): add terminal keyboard input to web worlds #216
Closed
feat(id): add per-session world viewport and paste #219
Closed
feat(id): add terminal buffer capture interface #220
Closed
feat(id): add bounded pure Roc JSON library #221
Closed
feat(id): record world module build provenance #225
Closed
feat(id): define per-world resource profiles #226
Closed
feat(id): persist per-world resource profiles #228
Closed
feat(id): add world capability ceilings #231
Closed
feat(id): add world operator CLI controls for ceilings and profiles #233
Closed
@dezren39 dezren39 mentioned this pull request Oct 28, 2026
mcpx: a promise and a behaviour that disagree — every declared surface needs a guard that walks it (tracker) #1893
Closed
5 of 16 tasks
This was referenced Nov 9, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
Retroactive home for PR #234: feat(id): migrate world apps to structured RocJson and Screen #9223
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.