Operations ledger

Approvals {#if pendingApprovals.length}{pendingApprovals.length}{/if} Executions
Subject Action Risk Status Expires Decision {#each pendingApprovals as approval (approval.id)} {approval.subject ?? '—'} {approval.action} {approval.risk_class} {approval.status} {new Date(approval.expires_at).toLocaleString()} {:else} No pending approvals. {/each}
{#if decidedApprovals.length}

Recently decided

{#each decidedApprovals.slice(0, 20) as approval (approval.id)} {approval.subject ?? '—'} {approval.action} {approval.status} {approval.decided_at ? new Date(approval.decided_at).toLocaleString() : '—'} {/each}
{/if}
Target Action Status Correlation Started Actions {#each executions as execution (execution.id)} {execution.target ?? '—'} {execution.action} {execution.status} {execution.correlation_id} {execution.started_at ? new Date(execution.started_at).toLocaleString() : '—'} {#if ['proposed', 'approved', 'auto_approved', 'executing'].includes(execution.status)} {/if} {:else} No executions yet. {/each}