feat(org): enforce Sentinel audit input contract with hard gate

This commit is contained in:
Chen Gu
2026-08-13 17:00:21 +08:00
parent c25288b0a1
commit 948a7c3d47
4 changed files with 100 additions and 0 deletions
@@ -229,5 +229,17 @@
"enabled": true,
"note": "User explicit instruction overrides role mapping immediately."
}
},
"contracts": {
"sentinel_audit_input": {
"enabled": true,
"version": "v1",
"contract_file": "org/ops/sentinel_audit_contract.v1.json",
"enforcement": "hard_gate",
"reject_on_missing_payload": true,
"reject_on_unreadable_refs": true,
"min_payload_chars": 500,
"error_code": "SENTINEL_INPUT_CONTRACT_MISSING"
}
}
}