Legacy integration note: this page documents an AI SAFE² sovereign-runtime example, not the current NEXUS SDK or Sovereign Payment Gateway contract.
The Make runtime adds scenario-level state beyond the standard Love Equation:
status = guard.get_status()
# {
# "love_score": 96.0,
# "alignment_band": "GREEN",
# "violations": 2,
# "ops_count": 47, # ← operations consumed this run
# "turn_count": 3, # ← AI Agent turns consumed
# "external_context": True, # ← webhook/external content ingested
# "chain_length": 2
# }
# At start of each scenario run
guard.clear_external_context()
guard._ops_count = 0
guard._turn_count = 0
# Module 1: Webhook trigger
guard.scan_webhook_payload(payload, "whk-orders") # sets external_context = True
# Module 3: AI Agent output gate
guard.scan_module_output(output, "AI Agent", 3)
# Module 4: HTTP connector
guard.scan_http_module(url, "POST", body)
# At end of run
report = guard.compliance_report()
guard.clear_external_context()
status = guard.get_status()
if status["alignment_band"] != "GREEN":
print(f"MAKE SCENARIO BLOCKED: Band={status['alignment_band']}")
sys.exit(1)
print(f"Scenario cleared: Love Score={status['love_score']}")
from enforcement.ai_safe2_engine import AISAFE2Engine
from enforcement.sovereign_make import MakeSovereignRuntime
shared_engine = AISAFE2Engine(session_id="mesh-session-001")
make_guard = MakeSovereignRuntime()
make_guard._engine = shared_engine # inject for unified score
{"ts":"2026-06-20T14:41:00Z","control":"P1.T1.2","severity":"CRITICAL",
"message":"[MK.WHK.INJECT] Injection in 'webhook[whk-orders]'",
"chain_hash":"a3f9..."}
{"ts":"2026-06-20T14:41:05Z","control":"P1.T2.5","severity":"CRITICAL",
"message":"[MK.MCP.ACCOUNT] Critical MCP scope(s): ['organizations:write']",
"chain_hash":"b8e2..."}