Skip to content

id(worlds): ship playable Burrow guest for burrow/detour-to-exit - #14453

Open
developing-today-fleet[bot] wants to merge 3 commits into
mainfrom
felix/13603-burrow-guest
Open

developing-today-fleet[bot] wants to merge 3 commits into
mainfrom
felix/13603-burrow-guest

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Refs #13603. Do not merge yet: the guest and all source work are complete and the guest build is verified remotely, but the host replay suite cannot compile until #14315 (the 2026-11-24 grouped cargo bump) lands — see Verification.

What is new

  • pkgs/id/examples/roc-burrow/: main.roc on the pinned Roc platform (Plaza ABI v1 entry points, no new SDK), build.sh (pinned roc-toolchain guard, wasm-opt plus strip plus validate), README.md, and the checked-in import-free burrow.wasm.
  • Guest semantics: 4x3 board, digger at (0,1), soil at (1,1), (2,1), (2,2), rock at (3,1), exit at (3,2). Dig enters orthogonally adjacent soil and clears it exactly once; the rock is impassable (blocked-rock); the exit accepts entry only once three clears are banked (blocked-exit before, escaped after). Host (participant 0) events are ignored; the event tag is host journal deduplication metadata and the guest does not read it. records and snapshot publish the same domain document (digger, soil, cleared_count, phase, outcome); the view is a semantic text grid (A digger, s soil, # rock, X exit, . open floor) with remaining soil and quota as text.
  • Host tests checked_in_burrow_replays_detour_to_exit and checked_in_burrow_snapshot_restore_and_scope_distinctions (crates/id-worlds/src/sandbox.rs, the roc-mind-map placement): the five-step literal vector from app-vectors.json replayed through the regular host, snapshot restored into a fresh instance with the next operations compared, and the scope distinctions asserted (host events, view vs records keys, unexercised refusals). Expected states are literal copies of the vector projections, never derived from the guest.
  • Registration: scripts/rebuild-roc-examples.sh and the tests/toolchain_pin.rs example list (9 to 10). Book coverage: first-apps.md (10 to 11 apps), guests-and-shells.md, development/add-a-guest.md.
  • Cells (id(worlds): implement the bounded Cells glider as a playable Plaza guest #13558) untouched. No new dependencies.

Verification

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T15:50:09Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "c11f41086f57d626be7eb582763b721f8f557408"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Show it working
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

felix added 3 commits November 24, 2026 15:05
Roc guest in examples/roc-burrow on the Plaza ABI v1 platform: dig clears
adjacent soil exactly once, the rock is impassable, the exit opens only
after three clears. records and snapshot publish the same domain
document; the view is a semantic text grid.

Host load/play fixture tests/burrow_host_play.rs replays the five-step
literal vector from app-vectors.json through id::sandbox, with
snapshot-restore and next-operation comparison. Registration in
scripts/rebuild-roc-examples.sh and tests/toolchain_pin.rs; book
coverage in first-apps, guests-and-shells and add-a-guest (11 Roc apps).

The checked-in burrow.wasm follows in a separate commit once the remote
build produces it.
…13603)

Built remotely on GitHub-hosted runners (fleet-command run 45424814764)
with Roc nightly-2026-10-04-130536d, the version pinned in
pkgs/id/nix/roc-version; wasm-tools validate confirms the import-free
module. 179372 bytes.
Move the host load/play fixture into crates/id-worlds/src/sandbox.rs,
the roc-mind-map precedent for Roc guests: the facade-level integration
test cannot build while #14315 keeps id-cli unbuildable on main, while
the sandbox suite needs only id-worlds. Two tests: the five-step
literal-vector replay with the semantic text grid, and
snapshot-restore with the scope distinctions (host events, view vs
records, refusals).
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1819874f-e84c-4e1e-982c-43e40e313f0a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id(worlds): ship playable Burrow guest for burrow/detour-to-exit

0 participants