Docs menuRules and Governance
Docs/Govern

Rules and Governance

Use policy rows, feature gates, audit events, and behavior alarms to keep agent work reviewable.

Governance layers

  • Action policies decide whether proposed operations are denied, auto-approved, or routed to human approval.
  • Memory review keeps durable context changes explicit.
  • Source configuration changes are modeled as admin-gated actions.
  • Audit records tie work to org, run, entity, actor, role, backend, and timestamps.
  • Feature gates turn advanced controls on per org or deployment.

Feature gates

OpenNeko can resolve feature availability from org features, OPENNEKO_FEATURES, and verified license state. Feature-gated rows may exist in the schema before the runtime behavior is active.

Feature keyControls
ssoPlugin-backed SSO signin flows
approvals_policyAdvanced approval policy behavior
audit_chainHash-chained audit recording and export
dual_identity_auditHuman plus agent identity audit context
install_policyInstall governance for plugins and skills
behavioral_alarmsBehavior threshold sweeps and alerts
security_profilesSecurity posture presets
vaultManaged secret storage
data_access_governanceData access governance controls
context_versioningPersonal memory layer resolution

Default admin actions

Default policies treat sensitive administration as approval work. User administration, source config, channel management, data-source management, and plugin install or uninstall are not ordinary background writes.

  • Use admin approver roles for source_config_admin and data_source_admin.
  • Keep plugin_management approval aligned with your deployment profile.
  • Leave external_default in approval_required mode unless a specific lower-priority policy is safer.
  • Prefer narrow action kinds over broad catch-all plugin operations.