@pwngh/economy-lab
    Preparing search index...

    Type Alias CapacityReport

    The capacity gauges behind the scale knobs, read live from the store. Every null means the store does not offer that gauge — unknown, never zero. advisories are stated facts against CAPACITY_THRESHOLDS (documented, not configurable per call): the system informs, the host decides; no advisory ever changes behavior.

    type CapacityReport = {
        accruals: { oldestPendingAgeMs: number | null; pendingMinor: string };
        advisories: ReadonlyArray<string>;
        checkpoint: {
            ageMs: number | null;
            at: number | null;
            count: number | null;
        };
        historySize: number
        | null;
        reproof: { ageMs: number | null; rotatedAt: number | null };
        reservations: { accounts: number | null; capped: boolean };
        sessions: { capped: boolean; count: number | null };
        tables: {
            accruals: number | null;
            idempotency: number | null;
            movements: number | null;
            outbox: number | null;
            sagas: number | null;
            sales: number | null;
        };
    }
    Index
    accruals: { oldestPendingAgeMs: number | null; pendingMinor: string }

    Accrual drain backlog: pending total (minor units, encoded) and oldest row age.

    advisories: ReadonlyArray<string>

    Stated facts (never actions) the thresholds below produced from the gauges.

    checkpoint: { ageMs: number | null; at: number | null; count: number | null }

    Latest sealed checkpoint: when, how many account heads, and its age.

    historySize: number | null

    Total postings (newest commit sequence) — the partitioning/archival signal.

    reproof: { ageMs: number | null; rotatedAt: number | null }

    Rolling re-proof: the verified-through watermark and its age; null before the first rotation.

    reservations: { accounts: number | null; capped: boolean }

    Shared reservation counter footprint: accounts with a row (null = no shared counter).

    sessions: { capped: boolean; count: number | null }

    Netting journal footprint: distinct session ids, counted up to the cap (null = no gauge).

    tables: {
        accruals: number | null;
        idempotency: number | null;
        movements: number | null;
        outbox: number | null;
        sagas: number | null;
        sales: number | null;
    }

    Secondary-table row counts (every value null when the store offers no size gauge): the unbounded growth surfaces the retention sweep and host policy govern.