Skip to content

id(worlds): ship playable Colony guest for colony/two-deliveries #13605

Open

Description

@dezren39

Part of #13240 and #5955. Ship a playable Colony guest for the existing ID world runtime. The checked-in acceptance vectors name this scenario as colony/two-deliveries. The playbook defines task goals and shell substitutions. Cells is tracked separately in #13558.

Behavior and scope

Implement hauling on the 4×2 board. Mining removes one adjacent ore while leaving the worker in place. A full pack refuses mining. Deposit is allowed only on the stockpile. Conserve the two ore across cells, one-slot pack and stockpile.

Use the standard import-free Plaza ABI v1 guest entry points and a supported pinned SDK. Prefer the existing Roc platform for the pure definition. The Rust twin is an available host-neutral alternative where its independently verified build path fits this slice. Keep I/O, admission, grants, clocks and input deduplication at the existing boundaries. The regular ID host must load and play the built guest. Add a README and update the owning book chapter or first-app coverage in the same PR.

Independent acceptance

Carry out the 8 logical steps on the supplied initial state. The expected intermediate states are literal domain projections in the vector; do not derive expected values from the guest.

Input Expected outcome Expected state
{"kind":"Mine","direction":"E","event":"m1"} extracted {"worker":[1,1],"ore_cells":[[1,0]],"pack_ore":1,"stored_ore":0,"phase":"working"}
{"kind":"Mine","direction":"N","event":"m2"} pack-full {"worker":[1,1],"ore_cells":[[1,0]],"pack_ore":1,"stored_ore":0,"phase":"working"}
{"kind":"Walk","direction":"W","event":"w1"} moved {"worker":[0,1],"ore_cells":[[1,0]],"pack_ore":1,"stored_ore":0,"phase":"working"}
{"kind":"Deposit","event":"d1"} stored {"worker":[0,1],"ore_cells":[[1,0]],"pack_ore":0,"stored_ore":1,"phase":"working"}
{"kind":"Walk","direction":"E","event":"w2"} moved {"worker":[1,1],"ore_cells":[[1,0]],"pack_ore":0,"stored_ore":1,"phase":"working"}
{"kind":"Mine","direction":"N","event":"m3"} extracted {"worker":[1,1],"ore_cells":[],"pack_ore":1,"stored_ore":1,"phase":"working"}
{"kind":"Walk","direction":"W","event":"w3"} moved {"worker":[0,1],"ore_cells":[],"pack_ore":1,"stored_ore":1,"phase":"working"}
{"kind":"Deposit","event":"d2"} supply-goal-met {"worker":[0,1],"ore_cells":[],"pack_ore":0,"stored_ore":2,"phase":"supplied"}

Restore a snapshot into a new instance, inspect a portable view and compare the next accepted operation through the regular host. Distinguish temporary UI state, guest-domain records, and host deduplication/permissions in the assertions. Submit the smallest targeted verification to Fleet on GitHub-hosted plan quota and attach the run URL. No physical device, hosted deployment or broader platform claim follows from the fixture.

Premise checked against current example and packaged-app paths, the existing Cells implementation, and issue/PR searches for these scenario names and related mechanics. No equivalent dedicated issue was found in those searches.

{
  "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-23T18:17:24Z",
    "session_id": "ses_e5df66f67aeffeYN72FAQwrLwu",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "fbf0b57f2bd3baf6c602e97551435ec3321c0fe3"
    },
    "auth_subject": "agent-next-19-local",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    kind/feature
    app/id
    epic/id-program
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Triaged (lane code-g, 2026-11-23) — valid feature request, routed to implementation; not a small fix.

    Fresh state check:

    • Issue OPEN, no hard-stop labels, no assignees; no open PR mentions it (id(worlds): ship playable Colony guest for colony/two-deliveries #13605 / colony / two-deliveries all return empty).
    • Acceptance fixture colony/two-deliveries exists in pkgs/id/book/research/evidence/app-vectors.json only at pinned commit b9d8177a6cf; that file is NOT yet on main (the docs branch docs/id-rd-13240-20261123 is unmerged). Implementation must not derive vectors from a merged copy until that lands.
    • No Colony guest exists yet. Existing related examples: pkgs/id/examples/roc-world (Roc platform + ABI docs), pkgs/id/examples/rust-world; first-app-poc is only a README. No Mine/Deposit/pack_ore/stored_ore domain code exists.

    Route: real implementation work (feature slice), not a triage-sized edit. It needs the 8-step hauling guest on the 4×2 board (pack capacity 1, stockpile deposit, supply goal 2) against ABI v1, host load/play through the regular ID host, README + owning book chapter, and remote Fleet verification with a run URL. Blocking prerequisites to resolve first: the docs/vectors PR merge (fixture of record), plus parent tracking #13240/#5955 (Cells stays separate in #13558).

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Slice 1 landed as #13769: pure Rust domain twin pkgs/id/examples/rust-colony, replaying the colony/two-deliveries oracle (evidence at b9d8177, PR #13582). Still open: Roc guest, wasm build, host wiring, book chapter, Fleet remote run. Next slice: the Roc guest, once #13582 is on main so the fixture can be cited from main.

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/idepic/id-programkind/feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions