Repository navigation
feat(id): Sketch guest domain model for sketch/redo-as-new-stroke (#13608) - #13651
Merged
Merged
Conversation
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 reachedYou'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. View limit details
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Refs #13608.
Adds the standalone Plaza ABI v1 guest crate
pkgs/id/examples/rust-sketchon the Rust SDK (examples/rust-world), modelled onrust-counter:BeginDraft/AppendDraftVerticeskeep preview geometry out of records and snapshots.ConfirmStrokeonly commits the draft of the participant that began it.UndoOwnStroketombstones only the caller's own stroke; retained geometry stays available to its owner.CopyOwnStrokeassigns a fresh ID, copies retained or visible geometry of the caller's own stroke only, and recordscopy_of.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 --checkand./build.sh(wasm32, checked-insketch.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
justfileor 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-botwith what you need.