Key Define V06.1.1
| Error Message | Likely Cause | Solution |
|---------------|--------------|----------|
| KEY_VERSION_MISMATCH | Referencing a key defined in a newer major version | Run key_define_migrate --target=V06.1.1 |
| KEY_INJECTION_DETECTED | Key contains slashes, spaces, or control chars | Sanitize input using km.sanitize_key(input) |
| INHERITANCE_LOOP | Circular parent-child definition | Redefine hierarchy; use km.detect_cycles() |
Version 6.1.0 introduced a critical bug where recursive key aliases (e.g., order_id → transaction_id → payment_id → order_id) would cause infinite loops, crashing the resolution service. V06.1.1 implements a hard TTL (Time-To-Live) of 5 hops and a 200ms timeout per alias chain. Key Define V06.1.1
Every definition must include a plausible contradiction — a real-world scenario, no matter how rare, that would force the definition to revise.
If no such scenario exists, the definition is not a key; it is a creed. | Error Message | Likely Cause | Solution

