Skip to content

fix(lic): workspace import members parse + multiline def params#69

Open
cap-jmk-real wants to merge 3 commits into
mainfrom
cursor/fix-import-multiline-params-57b4
Open

fix(lic): workspace import members parse + multiline def params#69
cap-jmk-real wants to merge 3 commits into
mainfrom
cursor/fix-import-multiline-params-57b4

Conversation

@cap-jmk-real
Copy link
Copy Markdown
Contributor

Summary

Fixes import physics.rigid resolving to std/physics/rigid.li instead of packages/li-physics-rigid (workspace members parser matched [workspace]). Adds multiline def parameter parsing and composable rigid integrate smoke.

Agent continuation

  1. Read docs/release-notes/2026-05-19-workspace-import-and-multiline-def.md.
  2. Merge after CI green; supersede draft PR fix(physics): var RigidBody param for rigid integrate + composable smoke #68 (docs-only gap).
  3. Next: composable physics.runtime step smoke; mirror sync for physics packages.
  4. Blocked on: li-physics-* org mirrors (lic [Ecosystem gap] Publish li-std-physics-* org mirrors (12 packages) #50).

Breaking

N/A — matches documented workspace-first imports.

Release note: docs/release-notes/2026-05-19-workspace-import-and-multiline-def.md

parse_workspace_members now reads the array after 'members =', not the
[workspace] section header, so import physics.* resolves to packages/*.

Parser accepts newlines and indentation inside def(...) parameter lists.

Composable import_physics_runtime runs rigid_integrate smoke; relativity
package uses var float for velocity forwarded into lorentz_gamma.
Enables packages/li-physics-runtime and other libs that use  without
a value in -> unit bodies (e.g. early exit in physics_rigid_substep).
@cap-jmk-real cap-jmk-real marked this pull request as ready for review May 19, 2026 21:50
Avoid int/float division in physics_step via substep_inv; use var world params
for borrowck. Full lic build of li-physics-runtime still segfaults in codegen
(while + struct field updates) — tracked for follow-up; CI composable rigid OK.
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