> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ArmorContext

The Armor context: Claude Code's `classifier_context` (v1), with `auto_mode.{hard_deny,soft_deny,allow}` rules as strings or `{ id, instructions, threshold? }` objects and `auto_mode.environment` entries as `"Name: value"` strings or `{ name, value }` objects. `threshold` applies when Armor evaluates; when the provider evaluates natively (Anthropic dangerous-tool-use beta) rules are judged at the provider's own boundary.

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `auto_mode` | [Optional\[components.ArmorAutoMode\]](../components/armorautomode.mdx) | ➖ | N/A | |
| `v` | *float* | ✔️ | N/A | |
| `__pydantic_extra__` | Dict\[str, *Any*] | ➖ | N/A | \{ "auto\_mode": \{ "allow": \[], "environment": \[ "Trusted repo: github.com/acme/app" ], "hard\_deny": \[], "soft\_deny": \[ \{ "id": "secrets-in-vcs", "instructions": "Staging, committing or pushing a file that holds secrets, including indirectly through git add -A when the tree shows one." } ] }, "v": 1 } |
