---
title: "agent.decision@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/agent.decision"
updated: null
---

# agent.decision@1 · OpenVibe.Services

HTML: [agent.decision@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/agent.decision)

# AgentDecision `agent.decision@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: actor
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/agent/decision.v1.json`](/docs/contracts/agent.decision.json)

Gate and assessment decision. Inferred work defaults to observe: record ignore with would\_accept, never launch. Only an explicit human stop withdraws a mandate.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  | - `minLength 1` |
| `trigger_ids` | array of string | yes |  | - `minItems 1`<br>- `unique items`<br>- `items: minLength 1` |
| `policy_version` | string | yes |  | - `minLength 1` |
| `decision` | enum | yes |  | - `one of "accept", "stop", "ignore", "unavailable"` |
| `strength` | enum | yes |  | - `one of "explicit", "inferred"` |
| `direction` | object | yes |  | - `no other fields` |
| `direction.implementation_requested` | boolean | yes |  |  |
| `direction.target_basis` | enum | yes |  | - `one of "specified", "existing-standard", "undetermined"` |
| `direction.requires_design_decision` | boolean | yes |  |  |
| `direction.evidence` | array of object | yes |  | - `items: no other fields` |
| `direction.evidence[].trigger_id` | string | yes |  | - `minLength 1` |
| `direction.evidence[].quote` | string | yes |  | - `minLength 1` |
| `rule_assessments` | array of object | yes |  | - `items: no other fields` |
| `rule_assessments[].matched` | boolean | yes |  |  |
| `rule_assessments[].reason` | string | yes |  | - `minLength 1` |
| `rule_assessments[].rule_id` | string | yes |  | - `minLength 1` |
| `reason` | string |  |  | - `minLength 1` |
| `would_accept` | boolean |  |  |  |
| `ignored_from_card` | boolean |  |  |  |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: example

~~~~
{
  "id": "dec_1",
  "trigger_ids": [
    "trg_1"
  ],
  "policy_version": "1",
  "decision": "accept",
  "strength": "explicit",
  "direction": {
    "implementation_requested": true,
    "target_basis": "specified",
    "requires_design_decision": false,
    "evidence": [
      {
        "trigger_id": "trg_1",
        "quote": "Fix the bug"
      }
    ]
  },
  "rule_assessments": []
}
~~~~

Rejected: target-basis

~~~~
{
  "id": "dec_1",
  "trigger_ids": [
    "trg_1"
  ],
  "policy_version": "1",
  "decision": "accept",
  "strength": "explicit",
  "direction": {
    "implementation_requested": true,
    "target_basis": "guessed",
    "requires_design_decision": false,
    "evidence": [
      {
        "trigger_id": "trg_1",
        "quote": "Fix the bug"
      }
    ]
  },
  "rule_assessments": []
}
~~~~

Rejected: unknown

~~~~
{
  "id": "dec_1",
  "trigger_ids": [
    "trg_1"
  ],
  "policy_version": "1",
  "decision": "accept",
  "strength": "explicit",
  "direction": {
    "implementation_requested": true,
    "target_basis": "specified",
    "requires_design_decision": false,
    "evidence": [
      {
        "trigger_id": "trg_1",
        "quote": "Fix the bug"
      }
    ]
  },
  "rule_assessments": [],
  "unexpected": true
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('agent.decision@1', value);   // { valid, errors: [{ path, message }] }
~~~~
