# Interface ActionContext

Context for evaluating a policy decision.

interface ActionContext {
inputTrustTier: "1" | "2" | "3" | "4";
hasWriteAccess: boolean;
hasSecretAccess: boolean;
existingLabels?: ReadonlySet<string>;
}

- Defined in packages/nexus-agents/src/security/policy-gate.ts:56

##### Index

### Properties

inputTrustTier
hasWriteAccess
hasSecretAccess
existingLabels?

## Properties

### `Readonly` inputTrustTier

inputTrustTier: "1" | "2" | "3" | "4"

Trust tier of the primary input source.

- Defined in packages/nexus-agents/src/security/policy-gate.ts:58

### `Readonly` hasWriteAccess

hasWriteAccess: boolean

Whether the agent currently has write access to the repository.

- Defined in packages/nexus-agents/src/security/policy-gate.ts:60

### `Readonly` hasSecretAccess

hasSecretAccess: boolean

Whether the agent currently has access to secrets/tokens.

- Defined in packages/nexus-agents/src/security/policy-gate.ts:62

### `Optional` `Readonly` existingLabels

existingLabels?: ReadonlySet<string>

Set of labels that exist on the repository (for ProposeLabels validation).

- Defined in packages/nexus-agents/src/security/policy-gate.ts:64