The Clipped-ReLU DEL Authorization Function

Status: PROPOSED CANON v1.0 (2026-08-11) — governance surface under CONSTITUTION.md Article VI; this document becomes canon when the owner merges its review PR, and its per-action-class parameterization remains [Roadmap] until built. Owner decision 11 (clipped-ReLU DEL as canon) is decided by that merge. Sources: docs/product/SIGNAL_SHOPIFY_MASTER_v4.md §2.6, §3.2; docs/product/SIGNAL_OVERVIEW_v5.md §2.6; CONSTITUTION.md II.1/III.6; OPERATING_SYSTEM.md Art. 2.4/4; the shipped demo gate # MIZ OKI 3.5/mizoki_runtime/demo_signal.py (documented read-only — demo behavior is NOT modified by this document; demo surfaces ship only via the owner-approved site dispatch).

1. The function

For every action class c:

authority_c = min(cap_c, max(0, DEL_score − threshold_c))

2. Threshold ownership — floors are not configurable downward

3. Mechanical demotion — never discretionary

4. The shipped gate, documented from source — [Validated] at miniature scale

# MIZ OKI 3.5/mizoki_runtime/demo_signal.py implements this function's shape at demo scale, deterministically (seed-replayable; same seed → byte-identical run). Documented values, read from the module on 2026-08-11:

ReLU gate (ReLUGate) — signal admission before planning:

score = max(0, uplift) × confidence × ln(1 + sample_size)

with three floors, each emitting a visible failure reason:

Floor Constant Value
Uplift GATE_UPLIFT_FLOOR 0.05 (5%)
Confidence GATE_CONFIDENCE_FLOOR 0.70
Sample GATE_SAMPLE_FLOOR n = 15

Guardrail battery (GuardrailSet.evaluate) — validation of each planned action, checks in source order:

  1. budget_swing_cap — budget actions capped at ±20% (BUDGET_SWING_CAP_PCT)
  2. bid_swing_cap — bid actions capped at ±30% (BID_SWING_CAP_PCT)
  3. confidence_floor — decision confidence ≥ 0.70 (CONFIDENCE_FLOOR)
  4. sample_floor — supporting conversions ≥ 15 (SAMPLE_FLOOR)
  5. rollback_ready — rollback token minted before execution

Any failed check blocks the action before execution (blocked_by names the rule); each scenario seeds one deliberate block so the veto is always visible; surviving actions rank by expected_value × confidence; executions run dry_run with rollback tokens; a pure-veto run holds ("No move earned execution this run — the desk held"). The margin-proportional clip and per-class cap_c/threshold_c registry are not in the demo — the demo is the gate + guardrails miniature, [Validated]; per-class parameterization is [Roadmap].

5. ACT-991 — the canonical example

The governed-decision class this function generalizes, proven end to end on live Cloud Run (run 2ebf83c1, 24/24 steps — verified result 2026-07-27; the proposal itself is an illustrative scenario): DEL score 84 against threshold 80 → margin 4 — a barely-cleared score; the $45k proposal exceeded the $25k media autonomous ceiling → routed approval-required to a named human; the authorization issued was signed, expiring, single-use, bound to the exact proposed action (tampering → 422, second redeem → 409); Stage-3 recommend-only recorded intent without executing. Under the clipped-ReLU reading: small margin ⇒ smallest reversible authority; ceilings and gates bind regardless of score.

6. Intent-model promotion gates (F8.1) — canonical thresholds

The gates that decide whether an intent model may leave observe-only are canonical and identical everywhere (CONSTITUTION III.6; overview §2.6; capabilities doc Stage 2):

7. Build state — what exists vs. what this canonizes

Element State
DCP DEL ≥ 80.0 floor, eligibility states, $25k media ceiling, MDES bands, two-key rule Deployed & live-verified (OPERATING_SYSTEM Art. 2.4/4; run 2ebf83c1)
Demo-scale ReLU gate + 5-guardrail battery [Validated] (deterministic, test-pinned; AcquisitionShowcaseTestCase fails the build on drift)
Promotion gates as constitutional thresholds Active law (CONSTITUTION III.6); enforcement on the BQML path is the hysteresis/shadow machinery of cells 33–36
Per-action-class threshold_c / cap_c registry, margin-proportional clip in the DCP [IN BUILD — not started]; lands with P2–P3 covenant work
Merchant covenant raise-only threshold mechanism [IN BUILD — not started]; requires the covenant service (P3)
Auto-demotion wiring from Brier telemetry to merchant action classes [IN BUILD — not started]; today's demotion path is platform-level observe-only reversion

No claim in this document upgrades any capability's label; the platform ceiling remains built, pre-benchmark.

← All docsView source on GitHub →