Skip to content

feat(id): add a playable, manually stepped Cells guest - #13587

Open
dezren39 wants to merge 1 commit into
mainfrom
feat/id-cells-13558
Open

dezren39 wants to merge 1 commit into
mainfrom
feat/id-cells-13558

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Implements #13558 for the ID first-app program (#13240). A manually stepped Conway glider uses the existing pure Rust Plaza SDK on a fixed 5×5 board and a dead exterior. Players can edit the seed, step and reset. State is reflected in a row-major record and portable screen. A versioned snapshot reopens in a fresh instance. No binary or external guest dependency is committed.

The normal Rust-example recipe includes the new standalone crate. The guest-authoring and build reference chapters document it. The four-generation Wasm oracle uses literal expected coordinates and separately verifies the screen, manual clocks, seed edits, and checkpoint recovery.

Focused GitHub-hosted Fleet dispatch against the PR commit will be linked here. Closes #13558.

{
  "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:09:32Z",
    "session_id": null,
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code-worktrees/id-cells-13558",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code-worktrees/id-cells-13558",
      "repo": "developing-today/code",
      "branch": "feat/id-cells-13558",
      "sha": "c3d1afa3737a7a1898dabb7517db06deeddd3e40"
    },
    "auth_subject": "agent-next-25-local",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

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

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 22 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: c9865527-8a0f-4d9e-84a9-0d7520cb4bfc
Commits

Reviewing files that changed from the base of the PR and between a5ed02d and c3d1afa.

Files ignored due to path filters: 1

  • pkgs/id/examples/rust-cells/Cargo.lock is excluded by !**/*.lock
Files selected for processing: 7

  • pkgs/id/book/development/add-a-guest.md
  • pkgs/id/book/development/building.md
  • pkgs/id/examples/rust-cells/Cargo.toml
  • pkgs/id/examples/rust-cells/README.md
  • pkgs/id/examples/rust-cells/src/lib.rs
  • pkgs/id/examples/rust-cells/verify-glider.mjs
  • pkgs/id/justfile
  • 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T18:12:08.519270Z c3d1afa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c3d1afa373

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +159 to +164
#[test]
fn test_dead_exterior_and_in_place_update_oracle() {
// The top-edge blinker loses its out-of-bounds northern birth.
let mut m = Cells::restore(b"1:0:###......................");
m.step();
assert_eq!(m.snapshot(), "1:1:.#....#..................");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add generated tests for board and snapshot invariants

The new board state machine and snapshot decoder are covered exclusively by fixed examples: these two Rust tests and the four-generation JavaScript glider oracle. This violates the testing doctrine in AGENTS.md, which requires property tests for invariants and model-based tests where a specification exists. Arbitrary editable boards and valid snapshots remain outside that coverage. Add generated snapshot/restore round-trip checks and compare generated board transitions against an independent bounded B3/S23 reference model; retain the existing examples as smoke coverage.

AGENTS.md reference: AGENTS.md:L37-L39

Useful? React with 👍 / 👎.

@dezren39

Copy link
Copy Markdown
Member Author

Batch B disposition (oc-code-08, task 21623): not merged this run. Verification needs the laptop shell route, which is down from this lane (bridge hello shell leg: broker connection refused). Rebase of this conflicting branch would need a force push, which this batch excludes, so the next step is a merge-main-in commit once verification is reachable. Named blocker: the PR's own verification (Rust/Fleet dispatch or mdBook build) cannot be run from this lane right now, so it is not merged unverified. Resume when a shell route to the laptop answers.

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): implement the bounded Cells glider as a playable Plaza guest

1 participant