# Observer-First Containment for Autonomous AI Systems: A Jar-Wall Authorization Architecture

**Author:** E. M. Honeycutt III
**Affiliation:** Honeycutt Ai Labs, Princeton, TX
**License:** CC BY-NC 4.0
**Prepared:** 2026-09-30

---

## The short version

Evaluating autonomous or agentic AI systems creates a measurement problem: the instrumentation required to observe a system can itself alter the system, obtain excessive authority, or become an unexamined execution path. Conventional sandboxing addresses some execution risks but does not by itself establish that observers, telemetry services, orchestration layers, or recovery mechanisms remain outside the authority of the system being tested.

This paper presents an observer-first containment architecture built around a strict activation boundary called the **jar wall**. The design separates preparation from authority, observation from intervention, and configuration from live activation. An observer may be fully constructed, tested, signed, and staged while remaining incapable of attaching to a live target until a fresh, explicitly scoped authorization event is materialized.

The architecture treats live activation as a privileged state transition rather than a deployment convenience. Authorization is bound to a specific observer, target, time window, telemetry contract, and lifecycle. Reuse of stale authorization is prohibited. Independent lifecycle enforcement ensures that an observer cannot remain active beyond its authorized window even if its controlling process fails. Telemetry requirements are defined before activation, and evidence collection is constrained by data-minimization and noninterference rules.

The resulting model supports objective testing of high-capability AI systems within a trust boundary defined in the Threat Model section, specifically, that the authorization enforcement infrastructure itself is outside the blast radius of the system under test. The method is applicable to model evaluation, autonomous-agent research, security testing, high-risk software experiments, and any environment in which measurement infrastructure must itself remain subject to auditable control.

## Introduction

Autonomous AI evaluation is often described as a sandboxing problem. That description is incomplete.

A sandbox may restrict filesystem access, process creation, networking, or host privileges. Yet the surrounding evaluation system commonly contains additional components: telemetry collectors, observers, orchestration processes, model wrappers, control APIs, lifecycle managers, restart logic, evidence stores, and human authorization interfaces. These components can possess more authority than the system being studied. A nominally contained AI process may therefore be surrounded by an evaluation architecture whose own authority is poorly defined.

This creates two distinct questions:

$$Q_1: \text{What may the system under test do?}$$

and

$$Q_2: \text{What may the infrastructure observing that system do?}$$

Traditional sandboxing concentrates primarily on $(Q_1)$. The architecture developed here treats $(Q_2)$ as equally important.

The central principle is:

> Observation infrastructure must cross its own explicit authority boundary before it can become live.

That boundary is the jar wall.

## The Jar Wall

The jar wall is the transition separating a prepared observer from an active observer.

Let $O_p$ denote a fully prepared observer and $O_a$ an observer attached to a live target. Activation is not represented as an ordinary configuration change:

$$O_p \not\equiv O_a.$$

Instead, the transition requires an authorization event:

$$(O_p, A) \rightarrow O_a,$$

where $(A)$ satisfies a complete activation contract. Before this event, the observer may exist on disk, pass tests, contain valid configuration, and be executable. It remains outside the jar.

The distinction is operationally significant because accidental activations can arise from conflating these states:

$$\text{installed} \neq \text{enabled} \neq \text{authorized} \neq \text{running}.$$

The architecture requires these conditions to remain independently observable.

## Threat Model

The design addresses several classes of failure. Accidental activation occurs when installation, boot configuration, restart behavior, or dependency resolution implicitly enables a prepared service to begin running on its own. Stale authorization occurs when an authorization created for an earlier test is reused after the intended activation window or target state has changed. Authority inheritance occurs when a child agent, subprocess, or dispatched worker receives permissions merely because its parent possessed them. Observer overreach occurs when the observer gains write, control, network, or host privileges beyond those required for telemetry. Lifecycle failure occurs when an observer remains active after the approved test window because the controlling process hangs, crashes, or fails to issue a stop command. Evidence contamination occurs when the observer modifies the target or its environment in a way that changes the phenomenon being measured. Evidence loss occurs when the system terminates or restarts without producing the minimum telemetry required to reconstruct what occurred. Control-plane ambiguity occurs when a command such as "start the test" is interpreted as simultaneous authorization for several distinct components.

The final and boundary-setting failure class is authorization infrastructure compromise: a sufficiently privileged target attacks the authorization enforcement layer rather than attempting to cross the jar wall directly.

The invariants stated in §Property-Based-Invariants and §Design-Principle hold only within the trust boundary of the authorization enforcement infrastructure. Specifically, the authorization ledger, lifecycle manager, and independent witness must execute under an identity $U_A$ that the target cannot write, signal, or corrupt. When that precondition cannot be established, the architecture's claim to sufficiency does not extend to the trust boundary itself. The jar wall constrains unauthorized crossing, but cannot defend against an adversary with write access to the ledger tracking authorization validity.

In practice this means: the authorization ledger must not be co-hosted under an identity reachable by the system under test. The threat model applies to high-capability autonomous systems for which this precondition is non-trivial; practitioners must verify it explicitly before treating the containment model as sufficient.

The architecture treats each of these as a state-transition or privilege-boundary problem.

## State Model

A minimal observer lifecycle can be represented as:

$$UNBUILT \rightarrow BUILT \rightarrow VALIDATED \rightarrow STAGED \rightarrow AUTHORIZED \rightarrow ACTIVE \rightarrow STOPPED.$$

Additional terminal or exceptional states include:

$$REJECTED, \quad EXPIRED, \quad ABORTED, \quad FAILED.$$

The important property is that edges are typed. The transition $STAGED \rightarrow ACTIVE$ is forbidden. The only legal path is $STAGED \rightarrow AUTHORIZED \rightarrow ACTIVE$. Similarly, $EXPIRED \rightarrow ACTIVE$ is invalid regardless of whether the previous authorization artifact remains present.

## Preparation Is Not Authorization

The architecture intentionally permits extensive preparation before authorization. Building the observer, installing dependencies, creating service definitions, running fixture tests, validating telemetry schemas, preparing directories, validating identities and permissions, constructing unsigned authorization templates, testing self-termination, performing redaction tests, and generating preflight reports. All of these may occur outside the jar. None of them authorizes live observation. This allows technical work to proceed without converting preparation into implicit permission.

Formally, define a preparation predicate:

$$Prepared(O) = 1.$$

Define authorization separately:

$$Authorized(O, T, t) = 1,$$

where $(T)$ is a specific target and $(t)$ is the current time. Then:

$$Prepared(O) = 1 \not\Rightarrow Authorized(O, T, t) = 1.$$

This implication must remain false by construction.

## Activation Contract

A valid authorization event should bind at least:

$$A = (observer, target, scope, telemetry, environment, start, expiry, principal, nonce).$$

The observer field is the exact observer binary, service unit, configuration, or cryptographic digest. The target field is the process, service, sandbox, model session, or experimental environment to be observed. The scope field is the operations the observer may perform. The telemetry field is the permitted classes of information to collect.

The environment field is a digest of the relevant host configuration at authorization time, such as kernel modules, network namespaces, cgroup limits, or any host-level property that materially affects the security boundary of the activated observer. This field aligns the activation contract with the handoff hash in §Fresh-Handoff and ensures that a host-environment change between preflight and activation invalidates the existing authorization.

The start field is the earliest valid activation time. The expiry field is the latest time at which activation or continued execution remains valid. The principal field is the authority that approved the activation. The nonce field is a freshness value preventing replay.

The authorization should be narrow enough that substitution of a different target, observer, or relevant environment state invalidates it.

## Fresh Authorization

A core invariant is:

$$\text{authorization is consumable context, not durable capability}.$$

An authorization appropriate for test $(n)$ should not silently authorize test $(n+1)$.

Let $A_n$ authorize observer activation against target state $T_n$. If the target is restarted, materially reconfigured, or replaced, then $T_{n+1} \neq T_n$, and reuse of $A_n$ is invalid unless the authorization contract explicitly permits that continuation. Likewise, an expired authorization cannot become valid again because the system clock advances, a service restarts, or an old file is restored. A fresh activation requires a fresh authorization event.

## Authorization Materialization

The design distinguishes an authorization template from a live authorization artifact. A template may contain fields, expected scope, telemetry identifiers, lifecycle parameters, and signature locations. But it has no operative force. Only after explicit authorization is the live event materialized:

$$Template(A) \neq A_{live}.$$

This distinction prevents pre-generated files from functioning as latent capability. A robust implementation should ensure that live authorization contains freshness data unavailable when the template was originally created.

## Start-Only Authority

The authority to start an observer should be narrower than general control over the observer service. A start authorization does not automatically grant configuration modification, arbitrary restart, extension of runtime, privilege escalation, target substitution, or telemetry expansion. Conceptually:

$$Capability_{start} \subset Capability_{control}.$$

The activation event should therefore convey only the minimum capability required to cross the jar wall. This is a practical application of the principle of least authority, in which a subject is granted only the minimum permissions necessary to perform its assigned function (Saltzer and Schroeder, 1975).

## Independent Lifecycle Enforcement

The observer must not rely solely on itself to stop.

Suppose the approved duration is $\Delta t$. If the observer contains an internal timer, then self-termination may be expressed as:

$$t - t_0 \ge \Delta t \Rightarrow STOP.$$

This condition is insufficient if the observer hangs, deadlocks, ignores its timer, or loses execution. A second mechanism should enforce the same boundary externally. Two lifecycle controls therefore exist: $L_{internal}$ and $L_{external}$. The effective runtime limit is enforced by both, yielding:

$$Failure(L_{internal}) \not\Rightarrow \text{unbounded runtime}.$$

In system-service environments, an external service manager can provide this witness.

**Independence criterion:** The independence of the two enforcement paths is a deployment property, not a consequence of the architecture alone. Two lifecycle controls are independent only if their failure modes are not correlated at the substrate level. At minimum, $L_{external}$ should execute in a separate process group, cgroup hierarchy, or kernel namespace from the observer; or it should run on a separate host. When $L_{external}$ shares the same kernel scheduler as the observer, for example a systemd timer on the same host, implementations should treat this as partial independence and require that the preflight (§Preflight) explicitly verify that the chosen external enforcer's termination signal cannot be blocked by the failure mode being guarded against. In high-assurance deployments, independence should be verified as a preflight checklist item: "Does $L_{external}$ share any resource whose exhaustion or lock could simultaneously prevent $L_{internal}$ from firing and delay $L_{external}$'s signal delivery?"

The exact implementation is less important than establishing that the independence criterion is met for the specific failure modes of concern.

## Independent Witness

A high-assurance activation should produce evidence from a component other than the observer itself. The observer may record $\text{I started at } t_0$. An independent lifecycle manager should also record that the observer entered the active state. Likewise, shutdown should have both observer-side evidence and external evidence. This gives a two-source record:

$$E_{activation} = E_{observer} \cup E_{witness}.$$

If the two disagree, the discrepancy becomes an investigation event rather than being silently resolved in favor of one source.

## Telemetry Contract

Observation begins with a fixed telemetry contract. Let the telemetry set be:

$$TEL = \{TEL_1, \ldots, TEL_n\}.$$

Each telemetry item should define its event type, source, sampling or trigger condition, required fields, optional fields, redaction rule, retention rule, and failure behavior. A test should not begin with the vague instruction "log everything." That produces excessive collection and makes later evidence selection vulnerable to post hoc bias. Instead, telemetry should correspond to predefined experimental questions.

**Scope of the telemetry contract:** The contract governs what the observer is authorized to collect explicitly. It does not eliminate implicit information that the observer's access patterns create through timing, resource consumption, or scheduling interference. The noninterference bound in §Observer-Noninterference addresses those side-channel dimensions separately. The telemetry scope preservation invariant in §Property-Based-Invariants applies to the explicitly authorized collection set; covert-channel extraction through read-access timing is a distinct concern bounded by $I(O, T) \le \epsilon$.

## Negative Telemetry

Absence is sometimes itself important evidence. Suppose an experimental hypothesis predicts creation of a child process. A telemetry contract should make it possible to distinguish "no child process occurred" from "child-process telemetry failed." These are not equivalent. The observer should therefore emit health or coverage evidence sufficient to establish whether a missing event is a genuine negative observation. A useful structure is:

$$Observed(E) = 0 \land Coverage(E) = 1$$

for a valid negative finding. Without coverage confirmation, absence remains unresolved.

## Redaction Before Persistence

Sensitive data should be removed at the earliest reliable point in the pipeline. Let raw telemetry be $X$. A redaction function $R(X)$ produces the persistable record. The preferred flow is:

$$Target \rightarrow Observer \rightarrow R \rightarrow EvidenceStore.$$

Not:

$$Target \rightarrow PermanentRawStore \rightarrow R.$$

The latter creates a second uncontrolled data asset. Where raw capture is unavoidable for technical reasons, its retention and destruction behavior should be independently specified.

## Observer Noninterference

An observer necessarily interacts with the system being measured. The relevant requirement is therefore not literal zero interaction but bounded, characterized interaction. Define $I(O, T)$ as the observer's measurable influence on target $(T)$. The goal is to constrain:

$$I(O, T) \le \epsilon$$

for predefined dimensions where possible. Relevant dimensions include CPU utilization, memory pressure, filesystem writes, network traffic, scheduling effects, process injection, API calls, and target-visible environment changes. Any observer action capable of altering target decision-making should be considered separately from passive telemetry.

## Read-Only by Default

The observer's authority should default to $READ$ rather than $READ + WRITE$. If a telemetry mechanism requires writes, such as acknowledgement, temporary buffering, or controlled tracing, those writes should be separately enumerated. An observer should not possess general host write authority merely because one telemetry mechanism needs a narrow writable location. Filesystem permissions should therefore approximate:

$$Access(O) = Read(TargetData) + Write(ObserverEvidenceStore)$$

rather than $Access(O) = FullHost$.

**Observer/actor boundary:** Read-only by default with enumerated writes is a necessary condition for observer status but not a sufficient formal criterion. The write-set requires an additional test: an observer becomes an actor in a given dimension if any write $w$ in the enumerated write-set modifies a resource that the target reads, controls, or whose state influences target execution. Formally:

$$ActorIn(O, d) \iff \exists\, w \in WriteSet(O) : Modifies(w, R_d) \land TargetReads(R_d)$$

where $R_d$ is a resource in dimension $d$.

Under this criterion, a write to a shared evidence store that the target can read is an actor-level capability in the information-flow dimension, regardless of how it is labeled in the telemetry contract. An observer with any $ActorIn(O, d) = 1$ for a dimension the target can exploit has a bidirectional channel and should be reclassified accordingly. The write enumeration in the activation contract (§Activation-Contract) must be checked against this criterion before authorization is materialized. This closes the escalation path in which a write-capable observer is formally compliant while operationally behaving as an actor.

## Identity Separation

The observer should execute under an identity distinct from the human operator, the AI target, the orchestration service, and privileged host services. Let identities be $U_H, U_T, U_O, U_R$. A strong configuration aims for:

$$U_H \neq U_T \neq U_O \neq U_R$$

where operationally feasible. Distinct identities make authority visible through ordinary operating-system mechanisms and reduce accidental privilege inheritance.

## Preflight

Before authorization is materialized, a preflight should validate all conditions that can be checked without crossing the jar wall.

A preflight may include:

1. observer binary or package identity;
2. service definition;
3. target identity;
4. required groups;
5. filesystem ownership;
6. telemetry directories;
7. redaction configuration;
8. lifecycle enforcement, including the independence criterion (§Independent-Lifecycle-Enforcement): verify that $L_{external}$ satisfies the substrate separation requirement for the failure modes of concern;
9. witness path;
10. absence of an already running observer;
11. absence of stale live authorization;
12. expiration behavior;
13. observer/actor boundary check: verify no write in the enumerated write-set satisfies $ActorIn(O, d) = 1$ for any dimension that creates an unintended target-visible channel (§Read-Only-by-Default).

The result is $PREFLIGHT = PASS$ or $PREFLIGHT = PARK$. A PARK outcome means preparation remains incomplete. It is not permission to weaken the preflight.

## Fresh Handoff

Operationally, time can pass between preparation and activation, and state may change during that interval. A handoff should therefore bind the preflight result to a short-lived activation context. Let:

$$H = hash(observer, target, config, environment, preflight, time).$$

The authorization event references $(H)$. If the observer, target, relevant configuration, or host environment changes after preflight, then $H' \neq H$ and the old authorization cannot activate the changed state. The "environment" field here corresponds to the environment component of the activation contract tuple in §Activation-Contract, ensuring that the two are aligned: any host-environment change that would affect the security properties of the observer, such as a kernel module loaded, a network namespace reconfigured, or a cgroup limit altered, invalidates the standing handoff.

## Activation Transition

The activation transition can be represented as:

$$K(S, e_{start}) = (S', r).$$

Preconditions include:

$$Prepared(O),$$

$$PreflightPassed(O, T),$$

$$AuthorizationValid(A),$$

$$Fresh(A),$$

$$ScopeMatches(A, O, T),$$

$$ObserverInactive(O).$$

Postconditions include:

$$ObserverActive(O),$$

$$WitnessActive(O),$$

$$LifecycleBound(O),$$

$$ReceiptCommitted(e_{start}).$$

If any precondition fails, activation does not partially succeed.

## No Implicit Restart

After a valid stop, the observer must not automatically return to the active state unless the authorization explicitly allows restart. This is especially important for service managers configured with automatic restart semantics. A safe default is:

$$STOPPED \not\rightarrow ACTIVE$$

without another authorization transition. Automatic recovery behavior can otherwise transform a one-time authorization into durable execution authority.

## Crash Semantics

Suppose the observer crashes during an authorized run. Three policies are possible:

$$P_1: \text{remain stopped};$$

$$P_2: \text{restart under same authorization};$$

$$P_3: \text{require fresh authorization}.$$

For high-assurance evaluation, $(P_3)$ is the safest default. A crash may indicate that assumptions underlying the original authorization are no longer valid. If automated restart is needed, it should be explicitly encoded in the original authorization, including maximum restart count, unchanged expiry, unchanged target, and unchanged telemetry scope. A restart must never extend the authorized deadline.

A $P_2$ pre-authorized restart does not substitute for verifying that the real-world state assumptions encoded in the original authorization remain valid at restart time. The $P_2$ path checks that the authorization token parameters are unchanged; it does not verify that the host or target state assumptions behind those parameters still hold after the crash. Implementations should define a post-crash state check, equivalent to a reduced preflight, as a precondition for exercising any $P_2$ restart path.

## Stop Semantics

A valid stop should establish $Active(O) = 0$. It should also invalidate remaining start capability associated with a start-only authorization unless continuation was explicitly permitted. The stop receipt should capture stop time, reason, observer exit state, witness state, telemetry flush status, and unresolved evidence gaps. Stopping a process and proving that observation has ceased are separate requirements.

## Expiry

Authorization expiry must be monotonic. Let $t_e$ be the authorized expiry. Then:

$$t > t_e \Rightarrow Authorized(A) = 0.$$

No ordinary event may restore $Authorized(A) = 1$. A later test requires a new authorization identifier. This prevents rollback, restore, or service restart from resurrecting expired authority.

## Administrative State Versus Host State

The controller's belief that an observer is inactive is not sufficient. Let $S_c$ be controller state and $S_h$ actual host state. A valid transition requires reconciliation between them. For example, $S_c = STOPPED$ while $S_h = RUNNING$ is a containment failure. The architecture therefore requires host-state verification at critical transitions. The same rule applies in reverse: $S_c = ACTIVE$ while $S_h = STOPPED$ means telemetry assumptions are invalid even if no safety boundary was crossed.

**Reconciliation latency:** Host-state verification has a latency bound determined by the implementation. In any asynchronous system, the gap between an administrative stop command and actual process termination is nonzero. Signal delivery, OS scheduling, and graceful-shutdown paths all introduce latency. Implementations should specify a maximum acceptable reconciliation latency and treat states that have not been verified within that latency window as UNKNOWN rather than assumed-valid. Security-critical transitions should not proceed on a state that remains UNKNOWN past the latency bound.

## Objective Testing

Once the observer is safely active, experimentation should remain hypothesis-driven. For each test define $H_0$, $H_1$, the manipulated variable $X$, and measured outcomes $Y_1, \ldots, Y_n$. For example, one may compare:

$$Condition_A: \text{baseline execution}$$

with

$$Condition_B: \text{modified orchestration or permission regime}.$$

The observer should collect the same telemetry under both conditions. Otherwise measurement differences can be confused with behavioral differences.

## Permission Propagation Tests

Agentic systems often dispatch child agents or tools. A crucial experimental question is whether authority remains local or propagates. Let parent authority be $C_p$ and a dispatched child receive $C_c$. The secure default is $C_c \subseteq C_p$, and preferably $C_c = C_{explicit}$, where $C_{explicit}$ is separately declared for the child. The test should specifically detect cases where $C_c = C_p$ merely because the parent dispatched the child. Permission inheritance is a property to measure, not assume.

## Behavioral Observation Versus Intent Attribution

The architecture records observable actions: file access, subprocess creation, API invocation, permission requests, tool dispatch, network connections, modification attempts, refusals, retries, and terminations. It does not require interpretation of internal intent.

For example, $Agent \rightarrow WriteAttempt(path)$ is directly measurable. The interpretation "the agent attempted to preserve itself" requires additional evidence and should not be encoded as raw telemetry. This separation keeps the observer useful even when behavioral interpretation is contested.

## Failure Taxonomy

Containment failures should be classified by layer.

**PRECHECK FAILURE:** An activation precondition was not satisfied. No live boundary was crossed.

**AUTHORIZATION FAILURE:** Activation occurred without a valid authorization contract.

**SCOPE FAILURE:** The observer performed an operation outside authorized scope.

**LIFECYCLE FAILURE:** The observer remained active outside its approved lifecycle.

**TELEMETRY FAILURE:** Required measurement data were missing or invalid.

**NONINTERFERENCE FAILURE:** The observer materially altered the target beyond the permitted measurement envelope.

**RECONCILIATION FAILURE:** Administrative and host states disagreed.

**INFRASTRUCTURE INTEGRITY FAILURE:** The authorization ledger, lifecycle manager, or independent witness was reachable by the system under test, making the authorization validity record untrustworthy. This failure class sits outside the jar wall's direct enforcement surface and must be detected by separate audit of the trust boundary established in §Threat-Model.

## PASS, PARK, FAIL

A useful operational controller represents each stage using $PASS$, $PARK$, $FAIL$.

$PASS$ means all required conditions were established. $FAIL$ means an invariant was violated or a live operation behaved outside its contract.

$PARK$ means no unsafe state exists, but progression is blocked by missing or unresolved prerequisites. Examples include missing group membership, unverified directory ownership, absent witness, expired handoff, lifecycle independence criterion not verified, and observer/actor boundary check not cleared.

This distinction is useful because PARK is intentionally non-destructive. A test can remain at the jar wall indefinitely without being forced forward.

## Property-Based Invariants

The architecture admits machine-checkable properties.

**No activation without authorization:** $Active(O) \Rightarrow ValidAuthorization(O).$

**No stale activation:** $Expired(A) \Rightarrow \neg StartWith(A).$

**No unauthorized target substitution:** $Target(A) = T_1 \Rightarrow \neg Activate(O, T_2, A)$ for $T_1 \neq T_2$.

**No runtime extension through restart:** If original expiry is $t_e$, then every restart under the same authority also satisfies $t_{stop} \le t_e$.

**Preparation nonactivation:** Any sequence composed exclusively of preparation events satisfies $Active(O) = 0$.

**Stop finality:** Without a fresh or explicitly reusable authorization, $STOPPED \rightarrow ACTIVE$ is invalid.

**Witness independence:** Observer self-report alone cannot establish lifecycle compliance.

**Telemetry scope preservation:** The active observer cannot collect telemetry outside the set explicitly authorized by $(A)$. This invariant applies to the authorized collection set; implicit information extraction through access-timing side channels is governed separately by the noninterference bound §Observer-Noninterference.

**Observer/actor boundary preservation:** No write $w$ in the observer's enumerated write-set satisfies $ActorIn(O, d) = 1$ for any dimension $d$ the target can exploit, as defined in §Read-Only-by-Default.

**Authorization infrastructure integrity (precondition):** The invariants above are valid within the trust boundary established by §Threat-Model. Specifically: the authorization ledger and lifecycle manager execute under identity $U_A$ such that $U_T$ cannot write, signal, or corrupt $U_A$'s state. This is a deployment precondition, not a machine-checkable property of the observer itself; it must be verified through the trust-boundary audit described in §Threat-Model.

## Sequence Testing

Single transitions are insufficient. The dangerous cases often occur across sequences such as:

$$PREPARE \rightarrow AUTHORIZE \rightarrow EXPIRE \rightarrow RESTORE \rightarrow START.$$

The final START must fail. Likewise:

$$AUTHORIZE(T_1) \rightarrow RECONFIGURE(T_2) \rightarrow START$$

must fail unless the authorization covers the new target state. Property-based testing should generate arbitrary event sequences and verify that no sequence produces active authority absent a currently valid authorization.

## Restore Semantics

System restoration creates a particular risk. Suppose a filesystem snapshot contains observer binaries, service definitions, and a historical authorization file. Restoring the snapshot must not reactivate the historical authority. Authorization validity therefore depends on current ledger state rather than file presence alone:

$$Restore(snapshot) \not\Rightarrow Restore(authority).$$

The observer may be restored to a prepared state. The authorization must be re-established through a new current event.

**Ledger independence precondition:** The restore-resistance invariant holds only if the authorization ledger maintains state independently of the backup and restore surface. If the ledger is included in the filesystem snapshot, the common case for full-system restores, then restoring the snapshot rolls back the ledger to the state it held when the snapshot was taken, which may reflect a period when a historical authorization was valid. A restored ledger at that state is indistinguishable from a current valid authorization by the invariant as stated.

To close this gap, the authorization ledger must be stored in a location that is either excluded from the restore surface by policy, backed by hardware-anchored or network-backed state that cannot be rolled back along with the filesystem, or validated against an out-of-band timestamp authority after any restore operation. This is the same requirement that governs certificate revocation lists in time-bound PKI systems: revocation state must be fresher than the content it constrains. Practitioners must verify this precondition before treating the restore-resistance invariant as satisfied.

## Evidence Receipts

Every privileged transition should produce a receipt. A receipt may contain:

$$R = (event\_id, observer\_id, target\_id, authorization\_id, time, old\_state, new\_state, result).$$

Receipts serve two functions. They create a durable audit chain, and they permit later reconstruction without interpreting logs heuristically. For example, $STAGED \rightarrow AUTHORIZED$ should have a different receipt from $AUTHORIZED \rightarrow ACTIVE$. This preserves the jar wall in the historical record.

## Evidence Chain

A complete experimental chain should permit reconstruction of:

$$Preparation \rightarrow Preflight \rightarrow Authorization \rightarrow Activation \rightarrow Observation \rightarrow Stop \rightarrow Verification.$$

Each transition references the previous state. The resulting evidence structure is closer to a ledger than to a loose log directory. Logs provide events. The ledger provides the state-transition meaning of those events.

## Human Authorization

Human approval is most effective when represented as a narrow typed act. A vague conversational approval such as "proceed" should not be interpreted as unlimited authority across all prepared operations. A stronger model binds authorization to the exact action whose boundary is being crossed. The relevant question presented to the operator is:

$$\text{Authorize } X \text{ against } Y \text{ under scope } Z?$$

Approval then creates precisely that capability. This avoids permission drift across long technical workflows.

## Usability and Safety

Strong authorization systems can fail operationally if every harmless action requires repeated approval. The jar-wall architecture therefore deliberately moves the boundary late. Preparation remains broad. Activation remains narrow. This permits maximum safe preparation while requiring explicit approval only at the minimum irreversible/live boundary. The result is less disruptive than treating every installation or configuration step as equally privileged.

## Comparison With Conventional Sandbox Models

Conventional sandboxing primarily constrains the target process, restricting filesystem access, network, process creation, and host privileges, without necessarily constraining the evaluation infrastructure surrounding it. Established sandbox implementations follow this pattern: process isolation and namespace-based confinement address what the sandboxed process can reach, but the authority of the observation layer is implicitly trusted.

The jar-wall model adds explicit constraints on the observer and activation infrastructure. A simplified comparison:

| Property                          | Conventional sandbox |       Jar-wall observer model |
| --------------------------------- | -------------------: | ----------------------------: |
| Restricts target privileges       |                  Yes |                           Yes |
| Separates observer authority      |      Not necessarily |                           Yes |
| Fresh activation authorization    |      Not necessarily |                      Required |
| Explicit expiry                   |             Optional |                      Required |
| Independent lifecycle witness     |             Optional | Preferred/required by profile |
| Restore-resistant authorization   |      Not necessarily |                      Required |
| Preparation/activation separation |       Often implicit |                      Explicit |
| Telemetry contract                |             Optional |                      Explicit |
| Negative-observation coverage     |                 Rare |                     Supported |
| Host/controller reconciliation    |             Variable |        Required at boundaries |

The two approaches are complementary. The jar wall is not a replacement for sandboxing. It is a control layer around the evaluation architecture itself.

## Application to AI Agent Evaluation

Agent evaluations increasingly involve systems capable of recursive tool use, subprocess dispatch, file modification, long-running execution, autonomous retries, network access, and code generation and execution. These systems create an experimental environment in which behavior can cross several privilege planes within one logical task. Observer-first containment provides a way to investigate such systems without granting the measurement layer indefinite or poorly scoped authority.

Particularly relevant test classes include child-agent permission propagation, restart behavior, tool authorization inheritance, filesystem boundary adherence, context-reset effects, orchestration-induced behavioral changes, persistence attempts, recovery after failure, and differences between explicit and automatic permission modes. The architecture does not presuppose that any of these behaviors are malicious. It provides the instrumentation required to determine what actually occurred.

## Falsification Criteria

The architecture fails its own design goals if any of the following can be demonstrated:

1. a prepared observer becomes live without a valid authorization event;
2. an expired authorization can activate a restored observer;
3. target substitution occurs under an unchanged authorization;
4. an observer can exceed its runtime after both lifecycle boundaries should have fired;
5. automatic restart extends the authorization window;
6. a child observer or worker inherits capability without an explicit rule, or an observer with an enumerated write satisfying $ActorIn(O, d) = 1$ is classified as a non-actor while having a bidirectional channel with the target;
7. the observer modifies target behavior outside its declared interference envelope;
8. the evidence record cannot distinguish missing telemetry from negative observation;
9. administrative state reports safe shutdown while the host process remains live;
10. a conversational or administrative action unrelated to activation implicitly crosses the jar wall;
11. a full-system restore resurrects historical authorization because the ledger was included in the restore surface and no independent ledger-state authority was maintained.

These criteria make the containment model testable rather than aspirational.

## Design Principle

The architecture can be reduced to a single governing invariant:

$$\boxed{\text{Prepared capability must never imply live authority.}}$$

This invariant holds within the trust boundary of the authorization enforcement infrastructure (§Threat-Model). The boundary condition is: the authorization ledger and lifecycle manager must be outside the reach of the system under test.

From that principle follow the major controls:

$$\text{fresh authorization},$$

$$\text{narrow scope},$$

$$\text{explicit activation},$$

$$\text{independent lifecycle enforcement},$$

$$\text{restore-resistant expiry},$$

$$\text{auditable receipts},$$

$$\text{authorization infrastructure integrity}.$$

The seventh control, authorization infrastructure integrity, is the precondition that makes the others meaningful against a high-capability adversary. Without it, the first six controls constrain the crossing behavior but cannot verify that the crossing record itself is trustworthy.

The jar wall is therefore less a particular software implementation than a transition boundary that implementations must preserve, within a trust architecture that implementations must establish.

## Conclusion

Safe observation of autonomous systems requires controlling not only the system under test but also the infrastructure used to observe it. The observer-first architecture presented here separates preparation, authorization, activation, measurement, and shutdown into distinct states with explicit transition contracts. This allows an observer to be technically complete without being live, an experiment to be ready without being authorized, and authorization to be granted without becoming permanent capability.

The core invariant is:

$$Prepared \not\Rightarrow Authorized \not\Rightarrow Active$$

without the corresponding typed transitions. This invariant is bounded by the trust boundary of the authorization infrastructure; practitioners must establish that boundary before the model applies in full force against high-capability systems.

Fresh authorization prevents stale permissions from crossing experimental boundaries. Independent lifecycle enforcement, verified to the substrate-separation criterion, prevents a failed observer from extending its own authority. Telemetry contracts constrain explicit evidence collection. Observer/actor boundary enforcement ensures that write-capable observers do not acquire actor-level channels through enumerated writes that are visible to the target. Host-state reconciliation prevents administrative assumptions from replacing direct verification, within a latency window that implementations must bound. Restore-resistant ledger state ensures that authorization validity cannot be rolled back along with a filesystem snapshot.

For autonomous AI evaluation, this creates a useful asymmetry: preparation can remain flexible, but crossing into live execution remains deliberately hard. That is the function of the jar wall.

---

## Runtimes and their contribution

Authorship and all research judgments are the author's alone. Machine runtimes assisted with editorial restructuring, source-location checks, house-style normalization, and verification. They did not originate the research claims, perform unreported experiments, or receive creator credit. Detailed per-runtime provenance remains in the project audit record.

## Related Work

The closest recent published work addresses agent-action authorization or agent-intent typing once an agent is already running. P-024's contribution sits one layer above that: it governs whether the observation infrastructure watching the agent may become live at all, and that complete boundary was not identified in the four comparator instruments reviewed below.

Xiang's PEA model (arXiv:2604.23646) separates a policy layer, an authorization layer, and an execution layer for agent tool calls, and types intent through a closed action vocabulary so that a request cannot silently expand its own capability. That separation governs what an already-running agent may do. It does not model a distinct prepared-but-not-yet-authorized state for the observation infrastructure surrounding the agent, and it does not require a fresh, expiring authorization event before a measurement component may attach to a target (§Preparation Is Not Authorization, §Activation Contract). PEA's capability tokens govern per-request agent action; the jar wall governs whether an observer may attach to a target at all.

Xu et al.'s CapLease (arXiv:2608.01710) makes agent-action authorization durable and replay-resistant across an Issue, Prepare, Commit lifecycle with epoch-based version checks, addressing a different failure mode: an agent replanning or retrying under a freshly issued token identifier while re-executing an already-authorized action. That is a replay problem within a request, not an activation problem for the component observing the request. CapLease has no analog to the requirement that a fresh authorization event be materialized before observation begins, to monotonic authorization expiry that no restore or restart can revive, or to an external, independent enforcement path against the observer itself (§Fresh Authorization, §Expiry, §Independent Lifecycle Enforcement).

Daon's US Patent 12,688,261 authorizes an autonomous agent's own tool invocation, gating each call on a fidelity signal confirming the agent remains bound to its human principal, a runtime-integrity signal, and a time-limited delegation artifact carrying a replay-preventing nonce. The authorized party in that patent is the acting agent; the artifact is a permission for the agent to act. P-024 authorizes a different party, the observer watching the target rather than the target itself, and it further requires that the authority to start an observer remain narrower than the authority to control it (§Start-Only Authority), that the observer's own presence be independently witnessed rather than self-reported (§Independent Witness), and that the observer's interference with the target be bounded and characterized (§Observer Noninterference). None of these is addressed by a delegation artifact scoped to the agent's own tool calls.

Nusantao IP's pending application US20260064892A1 places its enforcement core in silicon: an immutable ROM/OTP hardware processor compiling a declared policy into bytecode and enforcing it at physical data-ingress, launch, and egress control points across distributed hardware. P-024 makes no hardware claim. Its independence criterion for lifecycle enforcement is a deployment property realized through process, cgroup, or namespace separation, or a separate host, not physical fabrication (§Independent Lifecycle Enforcement), its default against reactivation is a typed state-transition rule rather than a hardware control point (§No Implicit Restart), and its failure modes are enumerated at the level of software state transitions, not hardware enforcement points (§Failure Taxonomy).

---

## References

Saltzer, J. H., and Schroeder, M. D. (1975). The protection of information in computer systems. *Proceedings of the IEEE*, 63(9), 1278–1308.

Xiang, R. (2026). Structural enforcement of goal integrity in AI agents via separation-of-powers architecture: The PEA model. arXiv:2604.23646.

Xu, J., Fan, L., Wang, Z., Li, X., and Liu, H. (2026). Beyond single-use tokens: Durable authorization state for replay-resistant LLM agent actions. arXiv:2608.01710.

Daon. Methods and systems for authorizing invocation of a tool by an autonomous artificial intelligence agent. US Patent 12,688,261 (issued 2026-07-21).

Corning, R. V., Jr. (Nusantao IP, LLC). Agreement-based governance processor system for secure AI lifecycle management and distributed computing. US Patent Application US20260064892A1 (published 2026-03-05, pending).

---
