Skip to content

Conversation

@kevinzakka
Copy link
Collaborator

Summary

  • Move all *TermCfg classes from manager_term_config.py to their respective manager files (e.g., ActionTermCfgaction_manager.py)
  • Move ManagerTermBaseCfg to manager_base.py and delete the now-empty manager_term_config.py
  • Add comprehensive docstrings to all config classes and manager classes
  • Unify API: change commands/curriculum from | None = None to field(default_factory=dict) for consistency with other manager configs
  • Update all is not None checks to truthy checks across ~15 files
  • Export all config classes from managers/__init__.py

Test plan

  • make check passes (ruff format, ruff check, ty check, pyright)
  • make test-fast passes (368 tests)

🤖 Generated with Claude Code

Move all *TermCfg classes from manager_term_config.py to their respective
manager files (ActionTermCfg → action_manager.py, EventTermCfg → event_manager.py,
etc.) and ManagerTermBaseCfg to manager_base.py. Delete the now-empty
manager_term_config.py.

Changes:
- Add docstrings to all config classes with field-level documentation
- Add docstrings to all manager classes (ActionManager, EventManager, etc.)
- Document function-based vs class-based terms in ManagerTermBaseCfg
- Unify API: change commands/curriculum from `| None = None` to
  `field(default_factory=dict)` for consistency with other manager configs
- Update all `is not None` checks to truthy checks across ~15 files
- Add "can be empty" notes to optional config fields
- Export all config classes from managers/__init__.py
- Update imports in docs and all dependent files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@kevinzakka kevinzakka requested a review from brentyi January 6, 2026 12:16
Document all fields in ObservationGroupCfg with clear descriptions of
their purpose and behavior.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Copy link
Collaborator

@brentyi brentyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Address review comment: prefer len(dict) > 0 over truthiness checks
for better explicitness.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@kevinzakka kevinzakka merged commit 7e184e6 into main Jan 6, 2026
9 checks passed
@kevinzakka kevinzakka deleted the manager-cleanup branch January 6, 2026 13:17
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.

3 participants