GeezerVison is showing github.com — feat(id): Sketch guest domain model for sketch/redo-as-new-stroke (#13608) by dezren39 · Pull Request #13651 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Refs #13608.
Adds the standalone Plaza ABI v1 guest crate pkgs/id/examples/rust-sketch on the Rust SDK (examples/rust-world), modelled on rust-counter:
- Transient draft state:
BeginDraft/AppendDraftVertices keep preview geometry out of records and snapshots.
- Immutable strokes:
ConfirmStroke only commits the draft of the participant that began it.
- Owner-scoped undo:
UndoOwnStroke tombstones only the caller's own stroke; retained geometry stays available to its owner.
- Copy with provenance:
CopyOwnStroke assigns a fresh ID, copies retained or visible geometry of the caller's own stroke only, and records copy_of.
- Idempotent redelivery: accepted event IDs are folded, so a repeated delivery of the same event does not rewrite state.
Oracle
The three unit tests assert the literal projections from the issue's six-step acceptance table (not derived from the guest), plus snapshot/restore-of-portable-view and a denied cross-participant copy. cargo test, cargo fmt --check and ./build.sh (wasm32, checked-in sketch.wasm) pass locally.
Scope
This slice is the guest domain model and its build. Host load/play, the targeted Fleet verification run, and the book-chapter/justfile wiring remain a follow-up slice; #13608 stays open for them. No justfile or book files are touched here, which keeps it clear of the in-flight Cells guest (#13587).
{
"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-23T19:37:37Z",
"session_id": "ses_e5df717b72effeaO478j1EZj50",
"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": "ab82a4d76c06c3b1e3f23527bd803183efc1c013"
},
"auth_subject": "oc-code-02",
"stamped_by": "fleet 0.1.0 (native)"
}
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Standalone Plaza ABI v1 guest crate on the Rust SDK implementing the
six-step sketch/redo-as-new-stroke acceptance vector: transient draft
geometry, immutable confirmed strokes, owner-scoped undo tombstones,
copy-with-fresh-id and provenance, and folded-event redelivery. The
literal-projection unit tests come from the issue's checked-in vector.
This slice covers the guest domain model and build only; the host
load/play fixture and its Fleet verification remain a follow-up slice,
so #13608 stays open.
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 59 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:
5ddfa2e0-0da4-43bd-aa57-83ef0a2c65e8
Commits
-
Reviewing files that changed from the base of the PR and between ab82a4d and f2611d8.
Files ignored due to path filters: 2
-
pkgs/id/examples/rust-sketch/Cargo.lock is excluded by !**/*.lock
pkgs/id/examples/rust-sketch/sketch.wasm is excluded by !**/*.wasm
Files selected for processing: 4
-
pkgs/id/examples/rust-sketch/Cargo.toml
pkgs/id/examples/rust-sketch/README.md
pkgs/id/examples/rust-sketch/build.sh
pkgs/id/examples/rust-sketch/src/lib.rs
- 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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
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.
|