@switch (activePanel()) { @case ('agents') { @if (agentRows().length > 0) { @for (agent of agentRows(); track agent.id) { {{ agent.name }} {{ autonomyLabels[agent.autonomy] }} {{ agent.confidenceFloor }} @if (agent.status === 'draft') { — } @else { {{ agent.containment }}% } } } @else { No agent matches “{{ query() }}”. } } @case ('guardrails') { @if (guardrailRows().length > 0) { @for (policy of guardrailRows(); track policy.id) { {{ policy.rule }} {{ policy.profile }} {{ guardrailDirectionLabels[policy.direction] }} {{ policy.hits24h }} {{ policy.enabled ? 'Enabled' : 'Disabled' }} } } @else { No guardrail matches “{{ query() }}”. } } @case ('integrations') { @if (integrationRows().length > 0) { @for (integration of integrationRows(); track integration.id) { {{ integration.surface }} {{ integration.platform }} {{ agentName(integration.mappedAgentId) }} } } @else { No integration matches “{{ query() }}”. } } @case ('trail') {
@for (kind of trailKinds; track kind) { }
@if (trailRows().length > 0) { @for (entry of trailRows(); track entry.id) { {{ entry.at }} {{ agentName(entry.agentId) }} {{ entry.summary }} {{ entry.conversationId }} } } @else { No ledger entry matches this filter. } } } @switch (activePanel()) { @case ('agents') { @if (selectedAgent(); as agent) {

{{ agent.name }}

{{ agent.purpose }}

Configuration
Last 30 days @if (agent.status === 'draft') {

Never published — there is nothing to report yet.

} @else { }
} @else { Select an agent to see its configuration. } } @case ('guardrails') { @if (selectedGuardrail(); as policy) {

{{ policy.rule }}

{{ policy.profile }}

Policy
What it does

{{ policy.description }}

Most recent match {{ policy.lastMatch }} {{ policy.lastMatchAt }}
} @else { Select a guardrail to see its policy. } } @case ('integrations') { @if (selectedIntegration(); as integration) {

{{ integration.surface }}

{{ integration.platform }}

Routing
Capability

{{ integration.capability }}

{{ integration.detail }}

@if (integration.blocker) {
Before it can go live {{ integration.blocker }}
} @if (integration.mappedAgentId) { } } @else { Select an integration to see how it routes. } } @case ('trail') { @if (selectedTrail(); as entry) {

{{ entry.summary }}

{{ agentName(entry.agentId) }}

Entry
What happened

{{ entry.detail }}

Integrity

Append-only. A reversal or correction is written as a new entry — nothing in this ledger is edited or deleted.

} @else { Select an entry to see the full record. } } }