Skip to content

fix(safety): enforce runtime velocity, effort, and workspace limits#248

Open
rylinjames wants to merge 1 commit into
mainfrom
fix/actionguard-runtime-limits
Open

fix(safety): enforce runtime velocity, effort, and workspace limits#248
rylinjames wants to merge 1 commit into
mainfrom
fix/actionguard-runtime-limits

Conversation

@rylinjames

Copy link
Copy Markdown
Collaborator

Summary

  • enforce configured effort limits in ActionGuard.check_single()
  • enforce velocity deltas across action chunks while avoiding cascades after non-velocity clamps
  • add explicit workspace_indices mapping so workspace bounds are enforced only when action axes are known
  • cover effort, velocity, workspace, and opt-in workspace behavior in guard tests

Tests

  • PYTHONPATH=$PWD/src /Users/romirjain/Desktop/building\ projects/fastcrest/tether/.venv/bin/python -m pytest tests/test_guard.py tests/test_action_guard_embodiment.py tests/test_guard_trip_integration.py -p no:cacheprovider
  • /Users/romirjain/Desktop/building\ projects/fastcrest/tether/.venv/bin/ruff check src/tether/safety/guard.py tests/test_guard.py
  • PYTHONPATH=$PWD/src /Users/romirjain/Desktop/building\ projects/fastcrest/tether/.venv/bin/python -m py_compile src/tether/safety/guard.py

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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