PhysicsRegistry — discovery, descriptors, and change events
Labels: architecture, physics, registry, project:newton
Milestone: PROJECT: Newton
Summary
Design and implement a PhysicsRegistry that discovers DOM nodes, stores typed descriptors (type, tag, attrs, origins), emits change events on layout/resize, and serves as the single source of truth for activation/reset/inspector.
Acceptance Criteria
Tests (write first)
PhysicsRegistry — discovery, descriptors, and change events
Labels: architecture, physics, registry, project:newton
Milestone: PROJECT: Newton
Summary
Design and implement a PhysicsRegistry that discovers DOM nodes, stores typed descriptors (type, tag, attrs, origins), emits change events on layout/resize, and serves as the single source of truth for activation/reset/inspector.
Acceptance Criteria
.cloth-enabled,.rigid-dynamic,.rigid-staticand nodes with data-phys-* or data-cloth-* attributesregistry:add,registry:update,registry:removewith prior/next descriptorsTests (write first)
registry:update