Skip to content

Gouvernance Lite

First-party addon shipped with arka-deck. Cortex remains the rule source of truth; arka-deck is the executor. Mission Guardian progressively replaces the mission-critical governance promise — Gouvernance Lite remains a local policy and followup brick.

FieldValue
Manifestaddons/gouvernance-lite/manifest.json
Entrypointaddons/gouvernance-lite/src/index.ts
Familycapability
Maturitybeta
LicenseApache 2.0

Gouvernance Lite turns Cortex rules into concrete execution policies inside arka-deck. The user chooses when to inject, what to inject, within which budget, then simulates the result before starting a session. The module never copies governance truth: Cortex remains the brain, arka-deck orchestrates local execution.

  • Per-project policy: enable or disable governance, choose the level, keep a dedicated configuration per project.
  • Configuration wizard: manual path or path prepared for the governance-policy-designer worker (worker-ready, live call conditioned on Cortex delivery).
  • Custom profiles: save family/budget/level profiles for reuse within the project.
  • Visible token budget: context cost estimate before applying with a conservative approximation.
  • Simulate before saving: preview the injection plan on the draft policy without disk persistence.
  • Cortex followup: tracks decisions, actions, risks, deliverables, drift and audit trail; syncable to Cortex.
StepDetail
Cortex manifestarka-deck loads the rule index, families and versions from Cortex, then caches by registry_version.
Event matrixEach mapping links a runtime event to a moment, action, rule mode, families and budget.
Targeted snippetsThe planner asks Cortex only for selected rules, in label_short or label_long.
Strict budgetIf the plan exceeds maxRules or maxChars, rules are skipped and an alert is exposed.
Followup syncchat/tool/memory events feed a structured local followup, syncable to Cortex.
  • Local TOON rendering.
  • Local rule truth (Cortex remains authoritative).
  • Autonomous policy mutation (upcoming, conditioned on Cortex worker delivery).
  • Mission-critical guardrails → covered by Mission Guardian.
  • Host: arka-deck (local webapp).
  • Rule source: Cortex governance manifest + rule snippets.
  • Runtime: works across arka-deck chat runtimes via the BeforeTurnAugmenter mechanism.