Sentinel Reflex
Pain signals fire reflex arcs that deny raw git, force MCP commits, and clear only after real remediation — consistency with fewer wasted retries.
How you use it
Install hooks so raw git commit cannot bypass MCP. On pain: read sentinel_status, fix the cited violation, then sentinel_enforce / sentinel_clear — never clear-first.
Token savings
Blocks the most expensive failure mode: ungoverned commits that force rework, doctor repair, and long “how did this land?” sessions. One deny beats a weekend of archaeology.
Consistency
Violations become reflexes with the same outcome every time — deny, redirect, or remediate — until the underlying rule is satisfied.
In action
Shell tries raw git commit -m …
Interactive demo
Pain signal feed
Violations
Raw git commit
→ Block + redirect to tower-gov MCP
Live feed appends simulated pain signals. Select a violation to pulse the reflex arc.
Simulated behavior only — does not execute proprietary AGS engine code.
Diagram
Example usage
# Conceptual reflex
pain: commit:raw_git
reflex: gate.commit_msg
action: deny
# MCP
sentinel_status {}
sentinel_enforce {}
# after remediation:
sentinel_clear { "painId": "commit:raw_git" } Docs →- sentinel_status
- sentinel_get
- sentinel_enforce
- sentinel_clear