# CAIN-42 E25 — IP Forensic (engineering inventory)

**Engineering analysis only. No patentability, novelty or valuation determination. Counsel required.**

## New E25 mechanisms

| ID | Mechanism | Implementation | Evidence | Differentiation |
|---|---|---|---|---|
| E25-IP-01 | Governed control loop with post-execution governance | `cain/e25/control_loop/loop.py` | `E25_CONTROL_LOOP_PROOF.json` | connects authorization→execution→**observed outcome→reassessment**, not just enforcement |
| E25-IP-02 | Action-outcome attestation with deviation classes | `control_loop/outcome.py` | `E25_POST_EXECUTION_RESULTS.json` | authorized≠actual and expected≠observed detected; exit-0 is not success |
| E25-IP-03 | Epistemic guard on observation layers | `control_loop/loop.py` | `tests/e25` | a PREDICTED/SIMULATED/UNKNOWN layer cannot be recorded as OBSERVED |
| E25-IP-04 | Dynamic authority reassessment (attenuate-only) | `control_loop/reassessment.py` | `E25_REASSESSMENT_RESULTS.json` | CONTINUE/ATTENUATE/PAUSE/REAUTH/REVOKE/ABORT/RECOVER; never grants |
| E25-IP-05 | Governed policy lifecycle + history-preserving rollback | `policy_lifecycle.py` | `E25_POLICY_LIFECYCLE_RESULTS.json` | rollback mints a new version; prior history never erased |
| E25-IP-06 | Governed adaptation pipeline | `control_loop/reassessment.py` | `E25_ADAPTATION_RESULTS.json` | observation→…→release; no model self-authorization |
| E25-IP-07 | Delegation with authority+expiration conservation | `delegation.py` | `tests/e25` | child ⊆ parent and child expiry ≤ parent; transfer = attenuated child |
| E25-IP-08 | Minimum governance set + adaptive paths + escalation | `orchestration.py` | `E25_ORCHESTRATION_RESULTS.json` | product selection by consequence; selection cannot expand authority |
| E25-IP-09 | Atomic governance commit for non-execution changes | `governance_tx.py` | `tests/e25` | policy/capability/revocation/recovery commit atomically or abort |
| E25-IP-10 | Control-loop certificate + clean-room verifier | `verification/e25/cleanroom/verifier.py` | `E25_CONTROL_LOOP_PROOF.json` | independently reconstructs *why allowed* and *what happened after* |
| E25-IP-11 | Invariant family I109–I130 | `cain/e25/invariants.py` | `E25_INVARIANTS.json` | 22 runtime checks across post-execution/adaptation/delegation/recovery |

## Composition with E20–E24
E25's value is the **closed loop**: E22 binds authority to state and executes; E25 observes the actual
action, compares it to the authorized action and the expected outcome, classifies deviation and
consequence, and reassesses authority — while adaptation remains a proposal and recovery cannot
resurrect authority. Any re-implementation must make the certificate, the deviation engine, the
reassessment and the clean-room verifier agree.

## Prior-art questions
Outcome attestation, capability attenuation, policy lifecycle, and shadow deployment are individually
known patterns; the candidate is their **composition under a single non-self-authorizing authority
model with independent verification**.

## Public disclosure
E23/E24/E25 bundles are published for verifiability; counsel must account for the disclosure date.
