{% extends "base.html" %} {% block title %}Governance{% endblock %} {% block content %}

Governance Configuration

Three layers: hard constraints, gradient decisions, self-audit

{% if config %} {% set gov = config.governance %}
Domain
{{ config.get('domain', 'general') }}
Layer A Rules
{{ (gov.layer_a.get('universal', [])|length) + (gov.layer_a.get('rules', [])|length) }}
hard constraints
Layer B Rules
{{ gov.layer_b.rules|length }}
gradient thresholds
Kill Triggers
{{ config.get('kill_triggers', [])|length }}
emergency stops
Layer A: Hard Constraints

{{ gov.layer_a.description }}

{% if gov.layer_a.get('universal') %}

Universal Accountability Floor

{% endif %} {% if gov.layer_a.get('rules') %}

Domain Rules

{% endif %}
Layer B: Gradient Decisions

{{ gov.layer_b.description }}

{% for rule in gov.layer_b.rules %} {% endfor %}
Action Threshold Requires
{{ rule.action }} {% if rule.threshold_dollars is defined %} ${{ rule.threshold_dollars }} {% elif rule.threshold is defined %} {{ rule.threshold }} {% else %} — {% endif %} {{ rule.requires }}
Layer C: Self-Audit

{{ gov.layer_c.description }}

Frequency
{{ gov.layer_c.frequency }}
Checks
{% for check in gov.layer_c.get('checks', []) %} {{ check }}{% if not loop.last %}, {% endif %} {% endfor %}
{% if config.get('kill_triggers') %}
Kill Triggers
{% for trigger in config.kill_triggers %}
{% if trigger is mapping %} {{ trigger.trigger }} {% if trigger.action %} — {{ trigger.action }}{% endif %} {% else %} {{ trigger }} {% endif %}
{% endfor %}
{% endif %} {% else %}

No governance configuration found.

Run charter init to create charter.yaml for this project.

{% endif %} {% endblock %}