Skip to content

id(worlds): ship playable Mind Map guest for mind-map/same-label-distinct-nodes #13609

Done

Description

@dezren39

Part of #13240 and #5955. Ship a playable Mind Map guest for the existing ID world runtime. The checked-in acceptance vectors name this scenario as mind-map/same-label-distinct-nodes. The playbook defines task goals and shell substitutions. Cells is tracked separately in #13558.

Behavior and scope

Distinguish nodes by stable ID. Preserve the typed cross-link when a node moves or changes label. Reject the single-history cycle without changing the tree. Preserve positions; concurrent reparent semantics remain a separate design decision.

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 4 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":"AddCrossLink","source":"U","target":"V","event":"l1"} linked {"root":"R","nodes":[{"id":"P","name":"North","parent":"R","position":[0,1]},{"id":"Q","name":"South","parent":"R","position":[2,1]},{"id":"R","name":"World","parent":null,"position":[1,0]},{"id":"U","name":"Archive","parent":"P","position":[0,2]},{"id":"V","name":"Archive","parent":"Q","position":[2,2]}],"cross_links":[{"from":"U","to":"V"}]}
{"kind":"Reparent","id":"U","new_parent":"Q","event":"p1"} moved {"root":"R","nodes":[{"id":"P","name":"North","parent":"R","position":[0,1]},{"id":"Q","name":"South","parent":"R","position":[2,1]},{"id":"R","name":"World","parent":null,"position":[1,0]},{"id":"U","name":"Archive","parent":"Q","position":[0,2]},{"id":"V","name":"Archive","parent":"Q","position":[2,2]}],"cross_links":[{"from":"U","to":"V"}]}
{"kind":"Rename","id":"U","name":"Inbox","event":"r1"} renamed {"root":"R","nodes":[{"id":"P","name":"North","parent":"R","position":[0,1]},{"id":"Q","name":"South","parent":"R","position":[2,1]},{"id":"R","name":"World","parent":null,"position":[1,0]},{"id":"U","name":"Inbox","parent":"Q","position":[0,2]},{"id":"V","name":"Archive","parent":"Q","position":[2,2]}],"cross_links":[{"from":"U","to":"V"}]}
{"kind":"Reparent","id":"Q","new_parent":"U","event":"p2"} refused-cycle {"root":"R","nodes":[{"id":"P","name":"North","parent":"R","position":[0,1]},{"id":"Q","name":"South","parent":"R","position":[2,1]},{"id":"R","name":"World","parent":null,"position":[1,0]},{"id":"U","name":"Inbox","parent":"Q","position":[0,2]},{"id":"V","name":"Archive","parent":"Q","position":[2,2]}],"cross_links":[{"from":"U","to":"V"}]}

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:18:23Z",
    "session_id": "ses_e5df66d9171ffep7fEOY244Cs7",
    "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

    Triage verdict: valid and ready for implementation; not a small edit, returned for real work.

    Verified this shift:

    Routing: implementation follow-on mirroring the #13587 shape (Roc guest, verify script against the 4 literal vectors, README, owning book-chapter/coverage update, Fleet verification run URL attached). Estimate effort/m (one guest, same size as Cells). Labels left as found.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Follow-on triage revalidation (task 21415): task 21409 (lane code-g) verdict stands — valid, ready for implementation, not a small edit.

    Re-verified fresh: issue OPEN, labels unchanged, no duplicates (no mind-map guest PR exists), parents #13240/#5955 OPEN, evidence branch docs/id-rd-13240-20261123 present at b9d8177. One flag for the implementing lane: the delivery-shape precedent PR #13587 (Cells guest, sibling #13558) is still OPEN/unmerged — check its state before mirroring the shape. No new packet filed here (coverage follow-on machinery holds the routing key); no live implementation task exists yet. Labels left as found.

  5. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Triage revalidation (task 21415, lane code-h): prior verdicts stand — valid, ready for implementation, not a small edit.

    Re-verified fresh: issue OPEN, labels unchanged (kind/feature, app/id, epic/id-program), no assignees, no mind-map guest PR exists, parents #13240/#5955 OPEN, precedent PR #13587 (Cells guest) still OPEN/unmerged — implementing lane should check its state before mirroring the shape. No live implementation task queued/claimed/parked for this issue. Labels left as found.

  6. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Lane code-f (queue task 21448): claim check 2026-11-23. Parking, no code change - precedent PR #13587 (Cells guest) is still OPEN (mergeable UNKNOWN), and this packet's contract is to mirror it after merge, not to change or pre-empt it. No mind-map guest PR exists per triage; nothing to supersede yet. Will resume on #13587 merge.

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/featurestatus:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions