Repository navigation
Conversation
delete_tendon and delete_joint in spec_processing now import myo_sim.build.spec_edit lazily (MyoHub/myo_sim#209), raising an actionable ImportError on myo-sim 0.2.5. recursive_immobilize with remove_dependents uses the same delete_joint. The local _delete_actuator is dropped.
This was referenced Nov 23, 2026
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.
Category: cross-repository
MjSpecrefactor (blocked:myo-sim,stack:stackedon #748; Draft in Milestone3.2untilMyoHub/myo_sim#209ships in amyo-simrelease).Summary
Stacked on #748 (
fix/arm-reach-edit-v2-hand). Delegates generic, dependency-safeMjSpecjoint and tendon deletion inmyosuite/utils/spec_processing.py(delete_joint,delete_tendon) tomyo_sim.build.spec_edit(MyoHub/myo_sim#209), while keeping task-specificrecursive_immobilizeflags and the arm-reach, table-tennis, and MuscleMimic recipes in MyoSuite.Ownership & Reuse (
REVIEW.md)myo_sim(MyoHub/myo_sim#209,myo_sim.build.spec_edit) owns reusable, task-independentMjSpecstructural edits (delete_joint,delete_tendon);MyoSuite(myosuite/utils/spec_processing.py) retains thin lazy forwarding wrappers and task-recipe immobilization helpers.myo_sim.build.spec_edit.{delete_joint, delete_tendon}(MyoHub/myo_sim#209, requires MuJoCo >= 3.11 from Require MuJoCo 3.11 and mjlab 1.6 #928 to avoid copied-wrap null dereferences).49lines of in-tree actuator/tendon/joint dependency pruning (_delete_actuator, wrap cleanup) frommyosuite/utils/spec_processing.py.Compatibility, Release Gate & Checks
myosuite.utils.spec_processing.{delete_joint, delete_tendon}signatures and behavior onceMyoHub/myo_sim#209is installed.myo-sim==0.2.5does not yet includemyo_sim.build.spec_edit, so callingdelete_joint/delete_tendonon0.2.5raises an actionableImportErroracross the 26test_registry.pyenvironments that edit specs. Keep in Draft untilMyoHub/myo_sim#209is released andpyproject.tomlbumps themyo-simfloor.#748+MyoHub/myo_sim#209:test_myoedits_arm.py,test_hand_model_variants.py,test_tabletennis_cpu.py(23 passed, 3 skipped) and all 5AGENTS.mdverification modules (348 passed, 3 skipped), matching#748head identically.myo-sim==0.2.5: verified actionableImportErrorbehavior; GitHub CI (cpu,mjlab,docs,pre-commit) green.MyoHub/myo_sim#147(feat/hand-rebuild): Both#748alone and#748 + #927hit an access violation insidespec.compile()afteredit_fn_arm_reachingon MuJoCo 3.8.1 (resolved by MuJoCo 3.11 in Require MuJoCo 3.11 and mjlab 1.6 #928; re-verify with Tutorial 6_ID: implementation updates #147 on MuJoCo 3.11 before Tutorial 6_ID: implementation updates #147 lands).