Skip to content

Commit 790daeb

Browse files
V30 Gate 5: Stabilize journal reconciliation cards
Allow Terminal reconciliation cards to render historical or partial journal snapshots that predate object-storage fact projection while preserving the new object-storage section for current reports. Proof: pnpm --dir uapi exec jest --runTestsByPath tests/api/readReviewRoute.test.ts tests/api/pipelineHarnessRoute.test.ts tests/terminalPipelineHarnessClient.test.ts tests/terminalDepositReadWorkbench.test.ts tests/terminalTransactionQuery.test.ts tests/terminalTransactionReadModel.test.ts tests/terminalWalletBtcOperation.test.ts tests/terminalJournalReconciliation.test.ts tests/terminalOrganizationAuthority.test.ts tests/protocolCommercialBoundary.test.ts tests/terminalTransactionDetailCards.test.tsx tests/terminalTransactionDetailSnapshot.test.ts tests/terminalUxBrowserProof.test.tsx tests/pipelineExecutionLogHeader.test.tsx --runInBand; pnpm -C uapi exec jest --coverage; pnpm --dir uapi exec tsc --noEmit --pretty false
1 parent d0fd62f commit 790daeb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

uapi/app/terminal/TerminalTransactionJournalReconciliationCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface TerminalTransactionJournalReconciliationCardProps {
1616
reconciliation: TerminalJournalReconciliationSnapshot;
1717
}
1818

19-
function factRows(facts: TerminalJournalReconciliationFact[]) {
19+
function factRows(facts: readonly TerminalJournalReconciliationFact[] = []) {
2020
return facts.map((fact) => ({
2121
label: fact.label,
2222
value: `${fact.value} · ${fact.state}${fact.blocksContradictoryProjection ? ' · blocks contradictory projection' : ''}`,
@@ -30,7 +30,7 @@ function FactSection({
3030
}: {
3131
title: string;
3232
summary: string;
33-
facts: TerminalJournalReconciliationFact[];
33+
facts?: readonly TerminalJournalReconciliationFact[];
3434
}) {
3535
return (
3636
<section className="border-t border-white/8 pt-4">

0 commit comments

Comments
 (0)