Skip to content

sim/mujoco: MjSpec stage 7 - remove feature flag, delete mjcf_builder.py (#121) #126

@cagataycali

Description

@cagataycali

Part of #121. See IDEA.md stage 7.

Goal

Final cleanup. By this point (Stages 3-6 done) the SpecBuilder path is proven equivalent in CI.

Checklist

  • Remove STRANDS_SIM_USE_MJSPEC env var and the Simulation._use_mjspec() helper.
  • Delete strands_robots/simulation/mujoco/mjcf_builder.py.
  • Audit scene_ops.py for any remaining dead helpers (_save_and_patch_xml, _patch_xml_paths, etc.) - target <500 LOC total.
  • Remove any remaining if self._use_mjspec(): branches.
  • Update AGENTS.md if scene-building conventions change.
  • Update CHANGELOG.
  • Verify grep -r "f'<" strands_robots/simulation/mujoco/ is empty.

Acceptance

  • scene_ops.py < 500 LOC.
  • No MJCFBuilder references anywhere in source or tests.
  • CI green (same tests, just the spec path only).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions