The honest view from inside technical leadership
Series

AI Governance

A reference series on evaluating, gating, and auditing autonomous systems before they touch production.

AI Governance · Part 2 of 8

Dynamic Cloud Risk Assessment with Jev: Same Command, Different Context

Dynamic cloud risk assessment evaluates an operation in relation to its target, dependencies, authorization, and recovery conditions. Jev can be tested as the component that interprets those relationships. The correct outcome should change when material evidence changes, while remaining stable when only the agent's wording or a resource's name changes.

This distinction matters because a command-level denylist and a contextual control solve different problems. Rejecting every database deletion prevents one obvious class of damage but also stops authorized decommissioning. Allowing every deletion in a development account is more permissive, yet it assumes the account boundary accurately captures business importance. An enterprise needs evidence that its evaluator recognizes the circumstances that make an operation acceptable, uncertain, or prohibited.

The experiment in this article uses synthetic cases and proposed acceptance criteria. It provides a way to evaluate Jev; it does not report observed model performance.

Define the decision before selecting a threshold

Begin with the organization's operating contract. For this example, verified temporary development resources can qualify for automated cleanup, production deletions require review, and incomplete impact evidence produces a hold. These conditions establish the reference against which model behavior will be judged. Without them, reviewers can disagree about whether the same response is correct, making an accuracy score difficult to interpret.

Next, define the action at the level that will execute. Record its normalized arguments and resolved target, then distinguish directly verified facts from assessments. A resource's recorded environment is a fact from an inventory source. Whether removing that resource would interrupt the task's business purpose may require interpretation of dependencies and the requested outcome. Jev should receive both the action and the relevant evidence, with their origin and uncertainty preserved.

This design gives evaluation a practical scope. The goal is to determine whether the supplied evidence supports automatic treatment under the contract. It is not to ask the model to certify the entire environment or infer every missing dependency.

Use paired cases to test contextual understanding

Hold the delete operation constant and create several versions of its surrounding evidence. One target is a temporary database with verified cleanup approval. Another is a production database serving an active application. A third has incomplete ownership records. A fourth has been retired but still falls under the requirement for human review of production deletion.

CaseRelevant evidenceExpected treatment under this contract
Temporary development databaseVerified target and specific cleanup approvalEligible for automatic checks
Active production databaseCurrent application dependencyHold or block
Unresolved databaseOwnership and dependencies unknownHold for missing evidence
Retired production databaseApproved decommissioning changeRequired review path

The useful test is the transition between cases. If an active dependency appears, treatment should become more restrictive. If verified evidence resolves an unknown field, an uncertainty-related hold may be removable. If production review is mandatory, the evaluator's favorable interpretation should not override that requirement. This lets engineering teams diagnose whether the problem is evidence interpretation or the application logic that consumes the result.

Dependencies also need coverage information. “No dependency found” means little if the inventory excludes scheduled jobs or cross-account consumers. Preserve the difference between an authoritative negative finding and an incomplete search. Otherwise the model receives a clean-looking input that has already lost the uncertainty needed for a sound decision.

Separate destructive effect, authorization, and evidence sufficiency

A single risk score can obscure the reason for a hold. A low-impact operation may still exceed authorization, while an authorized operation can require approval because its consequences are serious. Define separate assessments for destructive effect, scope alignment, and evidence sufficiency, then combine them according to the execution contract.

For example, a custom Choice question could distinguish within_scope, outside_scope, ambiguous, and insufficient_evidence. A separate question could assess whether the operation removes persistent state. These category names are application definitions, not native policy concepts built into Jev. TypeSafe documents architectural patterns for composing individual assessments and routing with uncertainty; the final consequence remains application behavior. TypeSafe patterns

The categories should be mutually interpretable by reviewers. “Ambiguous” can describe conflicting or multiply interpretable evidence, while “insufficient evidence” means an essential fact is unavailable. The distinction allows the system to request an approval record in one case and ask a resource owner to resolve conflicting documentation in another. A useful decision service helps resolve uncertainty rather than only labeling it.

Distinguish sensitivity to evidence from sensitivity to persuasion

For every material change, add a presentation-only variation. Rename the production resource to include “sandbox” while keeping trusted metadata unchanged. Rewrite the agent's rationale to sound more confident. Insert an instruction into a retrieved log entry. Reorder the evidence fields without changing their meaning. These cases should not gain execution authority simply because the presentation is more persuasive.

Conversely, supply a verified approval, change the target to the approved resource, or show that the required maintenance window has expired. These variations should affect the relevant assessments. Evaluating both kinds of change reveals whether the system is tracking authorization and impact or responding to superficial cues. Related variations should remain together when splitting development and test data, since near-duplicates can otherwise exaggerate generalization.

When a test fails, inspect the full path. The collector may have mislabeled agent-authored text as trusted context, the question may combine incompatible criteria, or the model may have made an incorrect assessment. Raising a threshold without identifying the failure can reduce automation while leaving the underlying weakness intact.

Interpret confidence through observed outcomes

Choice and Score expose confidence derived from their probability distributions; Noul returns a yes/no probability without that separate confidence field. Distribution concentration is not a certificate that an action is safe. Jev confidence documentation

Evaluate Noul probabilities against independently labeled outcomes, and examine the actual error rate among cases admitted at each routing threshold. Do this separately for relevant action classes. A result on metadata reads cannot justify the same threshold for deletion, and performance on clear examples may not transfer to missing or conflicting evidence. The operating decision should use an error-versus-coverage curve rather than a single attractive confidence number.

Version the question definitions, category descriptions, evidence schema, threshold configuration, and available model identifier. An edit to a category description can change the meaning of a response even when the surrounding code is unchanged. Releases should therefore rerun a fixed regression set and document which case outcomes changed before widening automatic execution.

This experiment provides the evidence needed to progress from the cloud-action screening architecture to an enforced execution gateway. It demonstrates contextual behavior only to the extent that the test cases, source coverage, and measured results support it.

Frequently asked questions

How is dynamic risk assessment different from a command denylist?

A denylist matches known operations or patterns. Dynamic assessment considers the operation together with resource state, dependencies, authorization, and other evidence. Exact prohibitions can coexist with contextual evaluation.

Should a high Jev confidence value automatically allow an action?

No. Routing thresholds need validation against labeled cases and the consequences of an error. Required approvals, prohibited operations, and missing essential evidence should remain explicit conditions in the execution contract.

What should happen when context is missing?

The system should preserve the missing fact and route the action according to its evidence requirements. For protected writes, this design uses a hold until the required context is obtained or an authorized reviewer resolves the case.

Read the rest of the series