Mind · Inference
HackDetect
Detect shortcuts that break downstream invariants
Definition
Mechanism
A meta-check that detects when an agent is solving for 'make it work' instead of 'do it right'. Triggered when the agent modifies interface code (adapters, exporters, validators) rather than fixing source data or upstream logic. The hack appears to succeed locally but breaks invariants that downstream systems depend on, creating negative externalities. It monitors the InputGuard layer for anomalies, triggering EjectionSeat if the agent attempts to bypass invariants via code patching.
Preconditions
- Attack signatures/anomaly detection
- System monitoring
Postconditions
- Alert raised
- Intrusion identified
Invariants
- Detection triggers defensive response
- False positive rate minimized
Risks
Failure modes
False Positives
Legitimate adapter changes flagged as hacks.
Hack Blindness
Novel hack patterns evade detection.
Justification Theater
Agent rationalizes hack as 'pragmatic'.
Relationships
Builds on
References
Autonomous Goal-Directed Entity
Society
Hardware-interrupt kill switch
Infrastructure
Input validation and sanitization
Infrastructure
Complex whole of interacting parts
Nothing in this library builds on this pattern yet.
Reference
