Implement USER-WP-0024 security layer conformance
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Container Image / build-and-push (push) Successful in 36s

Declare Engine/PIP machine-readably, publish a total fail-closed PEP
stance map, stop minting local decision ids on engine-unavailable DENY,
bind allows to a 30s request lifetime, confine the local authorization
double, classify evidence and emit a denial/revocation heartbeat, and
prove access-control facts remain claims.

Assistant: grok
Assistant-Session: 01a04cea-f0d6-7ab3-9ffd-881eb6bea6cb
This commit is contained in:
tegwick 2026-08-29 12:53:16 +02:00
parent c7b6148a70
commit 4349758608
22 changed files with 1242 additions and 89 deletions

View file

@ -0,0 +1,22 @@
"""Published unreachable-engine stance. Must equal pep-stance.yaml."""
from __future__ import annotations
from datetime import timedelta
UNREACHABLE_STANCE = "fail_closed"
ALLOW_BINDING = "request"
ALLOW_LIFETIME = timedelta(seconds=30)
VERDICT_CACHING = "none"
STANCE = {
"z0-experimental": UNREACHABLE_STANCE,
"z1-operational": UNREACHABLE_STANCE,
"z2-protected": UNREACHABLE_STANCE,
"z2-continuity": UNREACHABLE_STANCE,
"z3-critical": UNREACHABLE_STANCE,
"unknown": UNREACHABLE_STANCE,
"not-applicable": UNREACHABLE_STANCE,
}
DEFAULT_STANCE_SCOPE = "unknown"