Repository navigation
FE-1882: Convert Petrinaut entity IDs to UUIDs - #9958
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
kube
added this pull request to stack #9937
October 6, 2026 23:49
kube
force-pushed
the
claude/convert-entity-ids-to-uuids
branch
from
October 7, 2026 01:53
9d48ad9 to
bb845ce
Compare
kube
force-pushed
the
claude/convert-entity-ids-to-uuids
branch
from
October 7, 2026 03:07
bb845ce to
103b47f
Compare
kube
force-pushed
the
claude/convert-entity-ids-to-uuids
branch
from
October 7, 2026 03:35
103b47f to
92aadef
Compare
kube
marked this pull request as ready for review
October 7, 2026 03:36
kube
force-pushed
the
claude/convert-entity-ids-to-uuids
branch
from
October 8, 2026 12:06
e64f41c to
785cd86
Compare
kube
force-pushed
the
claude/convert-entity-ids-to-uuids
branch
from
October 8, 2026 12:57
785cd86 to
4eea616
Compare
kube
force-pushed
the
claude/convert-entity-ids-to-uuids
branch
from
October 8, 2026 15:58
4eea616 to
5ba511c
Compare
CiaranMn
previously approved these changes
Oct 8, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a1ad806. Configure here.
…the website tests
…convert reporting metric ids
…and share one id schema
…orded nets, and split the release note
CiaranMn
approved these changes
Oct 9, 2026
This branch was successfully deployed
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.

Summary
Before this PR, net and subnet ids and newly created entity ids were UUIDs. Places, transitions, types, type elements, parameters, equations, scenarios, metrics and component instances loaded from a document, or given by a host or an assistant, kept their ids, such as
place__queueorp1.Converts every entity id the same way as net ids: a UUID passes through lowercased, and any other id becomes its UUIDv5 in the same fixed namespace. Core converts each id together with every reference to it when a document, file, clipboard payload, recording or manifest loads. Mutation, command, assistant tool and experiment inputs convert the same way. CLI selectors and Brunch history match old ids against converted ones. Same legacy id always maps to the same UUID, so references converted at different boundaries stay linked.
Links
Changes
Petrinaut core
canonicalizePetrinautIdsconverts every entity id and every reference to itcanonicalizeArcIdconverts the ids inside a generated arc id__proto__instead of rejecting themPetrinaut
Website
CLI
HASH
Brunch
reportedByMetricIdlike their metric idsReview fixes
petrinautIdSchematoPetrinautId("adhoc-scenario")namesIdKnown issues
Test coverage
petrinaut-id.test.ts:ai.test.ts:parse-sdcpn-file.test.ts:commands.test.ts,optimization.test.ts,host.test.ts,actual-mode.test.ts:create-petrinaut-optimization-run-handler.test.ts:net-change-attribution.test.ts,draft-experiment.test.ts:How to test