000 Init · Kernel Session
arif_initIgnite or resume a governed session. Returns session_id and session_token required for subsequent operations. Modes: init (default new session), preflight (inspect existing session state), resume (continue active session), validate (re-check credentials), canary (transport probe), triage (read session state), epoch_open/epoch_seal (bracket a long working window), light (minimal session), opt_out (privacy opt-out). Outputs: session credentials and allowed next tools. To END a governed session, call arif_seal(mode=session_close) — session closure is a ledger event, not an init mode.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"intent": "<intent>"
},
"name": "arif_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | What to do: 'init' (default) starts a new governed session; 'preflight' checks an existing session's state without creating one; 'resume' re-attaches to the session in session_id; 'validate' re-checks credentials; 'canary' is a transport probe; 'triage' (session health preflight — inspects active session state, holds, and next safe kernel verb; distinct from arif_route's task intent ranking); 'epoch_open'/'epoch_seal' bracket a long working window; 'light' is a minimal session; 'opt_out' records a privacy opt-out. | init |
| nonce | No | One-time random string (e.g. a UUID) making this request unique; protects against replay of the same call. | |
| intent | Yes | Required. Plain-language statement of what this session is for, e.g. 'repair the failing MCP tests'. A session without a stated purpose is refused (F1 Amanah). Recorded for audit. | |
| context | No | JSON object of background facts to bind into the session, e.g. {"repo": "arifOS", "task": "fix-tests"}. | |
| tooling | No | JSON list of the tools you can use, e.g. ["Bash", "Read"] — lets the kernel scope what it will permit you. Also accepts an object like {"requested_capabilities": [...]}. | |
| actor_id | No | Your agent identity, e.g. 'kimi-code/FI-008' or 'claude/sonnet'. Recorded in the audit log so this action is attributed to you. | |
| evidence | No | JSON list of facts you have already verified, e.g. [{"fact": "pytest 299 passed", "source": "CI run"}] — carried into the session record. Also accepts a single object. | |
| verbosity | No | How detailed responses should be: 'minimal' (default), 'standard', or 'full'. | minimal |
| session_id | No | Session id returned by arif_init (looks like 'sess-…'). Pass it on every call after init so the action is attributed to your governed session. | |
| agent_token | No | ||
| agent_policy | No | JSON constraints on your own behavior, e.g. {"autonomy": "reversible_only", "forbidden": ["git push"]}. | |
| actor_signature | No | Cryptographic signature over the request, if your agent holds a key — proves the call genuinely came from actor_id. Omit if you have no key. | |
| ack_irreversible | No | Set true to acknowledge that session records are permanent audit artifacts and cannot be deleted afterwards. | |
| requested_authority | No | The highest class of action you may take: 'OBSERVE_ONLY' (read-only, default) or a higher governed class granted by your policy. | OBSERVE_ONLY |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| tool | Yes | ||
| result | Yes | ||
| status | Yes | ||
| delta_S | No | ||
| reasons | Yes | ||
| actor_id | No | ||
| timestamp | Yes | ||
| session_id | No | ||
| nine_signal | Yes | ||
| output_policy | No | ||
| stage_progression | No | ||
| philosophical_anchor | No |