# CAIN42 — ARGUS Architecture (Prompt 14, PROJECT ARGUS)

**Continuous Autonomous Assurance Fabric — Runtime Behavioral Authority, Continuous Re-Authorization, and
Independent Proof for Autonomous AI.**

Internal engineering document. **NOT** an appraisal, financing valuation, guarantee, or third-party audit.
Pre-revenue; no incorporation record; no patent filed. Physical systems are **SIMULATED**.

## Thesis

**AUTHORITY IS A LEASE, NOT A PERMISSION.**

An agent does not remain authorized merely because it was authorized once. Authorization must remain valid across
MODEL → MEMORY → SKILLS → TOOLS → POLICIES → DELEGATION → WORLD STATE → ENVIRONMENT → BEHAVIOR → EXECUTION PATH →
CONSEQUENCE → EXTERNAL EFFECT. If material state changes, authority must be reevaluated. If authority can no longer
be proven: **NO VERIFIED AUTHORITY → NO EXECUTION.** If behavior leaves the authorized envelope: **NO VERIFIED
BEHAVIOR → NO CONTINUED AUTONOMY.** If the evidence needed to justify continued autonomy becomes stale,
contradictory, correlated, or invalid: **NO SUFFICIENT EVIDENCE → RESTRICT, PAUSE, OR REAUTHORIZE.**

ARGUS is an evolution of CAIN-42/MCPGate; it is not a second CAIN and adds no new moat. It extends the existing
hosted governance pipeline with restriction-only stages.

## Continuous assurance state

```
Agent State + Authority State + Behavior State + Environment State + World State
+ Execution History + Evidence State + Consequence State
                        → CONTINUOUS ASSURANCE STATE
```

`ArgusAssuranceObject` (`cain/argus/assurance.py`) is the canonical, hashable, signable, replayable, versioned
carrier of that state. The assurance state is derived deterministically (`compute_assurance_state`), never from an
LLM's opinion.

## Components

| Component | File | Responsibility |
|---|---|---|
| `ArgusAssuranceObject` | `assurance.py` | canonical signed assurance state |
| `BehavioralAuthorityEnvelope` | `envelope.py` | machine-verifiable behavioral boundaries vs the actual path |
| `ExecutionPathAssurance` | `path.py` | path hash chaining, cumulative risk, composition invariance |
| `ContinuousReauthorizationEngine` | `reauthorization.py` | material change → authority impact → action ladder |
| `AutonomousAssuranceLease` | `lease.py` | renewable authority lease; no self-renewal/self-certification |
| `AssuranceVerifierMesh` | `verifier_mesh.py` | structural independence; disagreement never allows |
| `BehavioralDriftEngine` | `drift.py` | drift connected directly to authority |
| `MemoryAuthorityFirewall` | `memory_firewall.py` | no laundering / amplification / resurrection |
| `EvolutionAssuranceGovernor` | `evolution.py` | capability delta → authority/assurance impact |
| `world_model_assurance` | `evolution.py` | belief ≠ fabric-verified state |
| `PhysicalAssuranceAdapter` | `physical.py` | observation→state→authority→action→effect→receipt (SIMULATED) |
| `AssuranceStateMachine` | `state_machine.py` | UNASSESSED→…→RECERTIFIED, monotonic wrt revocation |
| Certificate + clean-room verifier | `receipt.py` | self-forgery-proof assurance certificate |
| 9 hosted stages | `hosted_stages.py` | restriction-only enforcement on the live MCP path |

## Production path

```
AGENT → IDENTITY → INTENT → AUTHORITY → ASSURANCE LEASE → BEHAVIORAL ENVELOPE →
CAIN DECISION → MCPGATE ENFORCEMENT → EXTERNAL ACTION → OBSERVED EFFECT →
ARGUS ASSURANCE UPDATE → CONTINUOUS MONITORING → DRIFT/CHANGE DETECTION →
REAUTHORIZATION → RESTRICTION/CONTINUE/REVOKE → VERIFIED RECEIPT → EVIDENCE
```

The decision path is live (`/mcp` tools/call; 9 ARGUS stages; 67/67 wire probes). Observation of a customer's
downstream effect and the enforcement of the certificate at the caller's edge remain the top blockers.

## Deployment stages

`OFF → OBSERVE → SHADOW → RESTRICTION_ONLY → ENFORCED → PRODUCTION_CANARY → PRODUCTION`. The live deployment is
`RESTRICTION_ONLY` (a stage can only add a refusal; ordinary traffic abstains). Enforcement is never silently
enabled.

## Reuse, not duplication

ARGUS reuses `cain.continuum.hosted_pipeline` (pipeline/registry/ledger), `cain.authority` (budget/prover),
`cain.dynasty` (evolution), `cain.omniscience` (commit gate/firewall), and the existing MCPGate enforcement path.
