{% extends "base.html" %} {% block title %}Protocol Explainability{% endblock %} {% block page_title %}Protocol Explainability{% endblock %} {% block page_subtitle %} Why the runtime acted, blocked, drifted, or asked for evidence {% endblock %} {% block header_actions %} /api/protocol {% endblock %} {% block content %} {% set compliance = snapshot.protocol_summary or {} %} {% set overall = compliance.overall_compliance_pct or 0 %} {% set debt = snapshot.debt_summary or {} %} {% set workflow = snapshot.workflow_summary or {} %} {% set goals = snapshot.goal_summary or {} %} {% set conditioned = snapshot.conditioned_learnings or [] %}
Compliance 7d
{{ "%.1f"|format(overall) }}%
Open Debt
{{ debt.open_total or 0 }}
Open Runs
{{ workflow.open_runs or 0 }}
Blocked Goals
{{ goals.blocked or 0 }}
Conditioned Files
{{ conditioned|length }}
{{ label }}
{% if item.required is defined %}required {{ item.required }}{% endif %} {% if item.total is defined %}total {{ item.total }}{% endif %} {% if item.executed is defined %} • executed {{ item.executed }}{% endif %} {% if item.logged is defined %} • logged {{ item.logged }}{% endif %} {% if item.captured is defined %} • captured {{ item.captured }}{% endif %} {% if item.done_tasks is defined %} • done {{ item.done_tasks }}{% endif %}
{{ severity }}
{{ debt.by_severity.get(severity, 0) }}
{{ item.evidence or 'No evidence summary recorded.' }}
No protocol debt recorded.
{% endfor %}{{ item.goal }}
{{ item.status }}{{ item.task_type }} • cortex={{ item.cortex_mode or 'n/a' }} • response={{ item.response_mode or 'n/a' }}
No protocol tasks yet.
{% endfor %}Open Runs
{{ workflow.open_runs or 0 }}
Blocked Runs
{{ workflow.blocked_runs or 0 }}
Waiting Approval
{{ workflow.waiting_approval or 0 }}
{{ item.goal }}
{{ item.status }}{{ item.workflow_kind }}{% if item.current_step_key %} • step={{ item.current_step_key }}{% endif %}{% if item.next_action %} • next={{ item.next_action }}{% endif %}
No workflow runs recorded.
{% endfor %}{{ item.title }}
{{ item.priority or 'normal' }}{{ item.applies_to }}
guard_hits={{ item.guard_hits or 0 }} • weight={{ "%.2f"|format(item.weight or 0) }}
No conditioned learnings active.
{% endfor %}Recent Checks
{{ snapshot.guard_summary.recent_checks or 0 }}
Blocking Hits
{{ snapshot.guard_summary.blocking_hits or 0 }}
No guard pressure recorded.
{% endfor %}