type
Database Table
title
roles
description
One row per role — its soul (voice and boundaries) and the exact MCP tools it may use.
tags
data, roles, auth
status
stable
generated
crm-bot/deepseek-v4.1-flash · Fri Oct 30 2026 16:20:00 GMT+0100 (Central European Standard Time)
verified
process:live-probe · Fri Oct 30 2026 16:20:00 GMT+0100 (Central European Standard Time)

Schema

CREATE TABLE roles (
	name            TEXT PRIMARY KEY,
	title           TEXT NOT NULL DEFAULT '',
	soul            TEXT NOT NULL DEFAULT '',
	tools           TEXT NOT NULL DEFAULT '[]',   -- JSON array of MCP tool names
	builtin         INTEGER NOT NULL DEFAULT 0,
	can_grant_roles INTEGER NOT NULL DEFAULT 0,
	created_by      TEXT NOT NULL DEFAULT '',
	created_at      TEXT NOT NULL,
	updated_at      TEXT NOT NULL
);

Semantics

Invariants

Rendered from nx-master/data-model/roles.md · OKF bundle · regenerate with npm run render