Skip to content

feat(registry): support callable env factories - #1097

Merged
TATP-233 merged 1 commit into
dev/issue-1042-manager-based-apifrom
feat/issue-1096-callable-env-factory
Aug 18, 2026
Merged

feat(registry): support callable env factories#1097
TATP-233 merged 1 commit into
dev/issue-1042-manager-based-apifrom
feat/issue-1096-callable-env-factory

Conversation

@TATP-233

Copy link
Copy Markdown
Collaborator

Summary

  • define one EnvFactory contract for existing class constructors and plain function factories
  • make register_env / env preserve factory identity and make registry.make() pass the materialized cfg, num_envs, and selected backend_type
  • fail closed at the Registry boundary when a callable returns a non-ABEnv value; preserve config materialization, override, validation, and backend-selection order

Refs #1096
Umbrella #1042
Architecture: ADR-0006, ADR-0004

Scope

  • 4 files
  • 128 additions / 24 deletions / 104 net lines
  • no Manager-Based backend adapter, production Go2 registration, Hydra, training script, runner, backend, or IPC changes
  • existing class registrations and backend behavior remain compatible across MuJoCo, MJWarp, Motrix, and Drake

Validation

@TATP-233
TATP-233 merged commit a1282f5 into dev/issue-1042-manager-based-api Aug 18, 2026
@TATP-233
TATP-233 deleted the feat/issue-1096-callable-env-factory branch August 18, 2026 09:23
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.

1 participant