Skip to content

Swarm-notification version bump belongs in deform(), not the internal primitive#388

Merged
lmoresi merged 1 commit into
developmentfrom
bugfix/deform-version-bump-scope
Jul 22, 2026
Merged

Swarm-notification version bump belongs in deform(), not the internal primitive#388
lmoresi merged 1 commit into
developmentfrom
bugfix/deform-version-bump-scope

Conversation

@lmoresi

@lmoresi lmoresi commented Jul 22, 2026

Copy link
Copy Markdown
Member

Follow-up defect from composing the #379 stack (#381-#385) on development — a consumer the per-branch gates could not see: the snapshot system treats _mesh_version as its integrity key, and the #382 bump inside _deform_mesh also fired on the snapshot RESTORE path, so recovery refused its own snapshot (test_0007_snapshot_inmemory).

The bump moves to the public deform() — what users call, and the path that strands swarms — so internal primitive callers (snapshot restore, remesh transactions, movers) no longer perturb the version. The coords-callback path keeps its own bump for direct mesh.X.coords writes. Both consumers (swarm solve-entry re-bin; snapshot validity) verified: gate 435 passed including test_0007, and the #382 deform-notification regression test still passes through the public path.

Underworld development team with AI support from Claude Code

…he internal primitive

Composing the #379 stack on development surfaced a consumer the
per-branch gates could not see: the snapshot system treats
_mesh_version as its integrity key, and the #382 bump inside
_deform_mesh also fired on the snapshot RESTORE path — recovery then
refused its own snapshot (test_0007). The bump moves to the public
deform(), which is what users call and what strands swarms; internal
primitive callers (snapshot restore, remesh transactions, movers) no
longer perturb the version. The coords-callback path keeps its own
bump for direct mesh.X.coords writes.

Gate: 435 passed (test_0007 green again); swarm deform-notification
regression test still passes through the public path.

Underworld development team with AI support from Claude Code
Copilot AI review requested due to automatic review settings July 22, 2026 08:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@lmoresi
lmoresi merged commit 82bac94 into development Jul 22, 2026
2 checks passed
@lmoresi
lmoresi deleted the bugfix/deform-version-bump-scope branch July 22, 2026 08:26
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.

2 participants