KLSWITCH · BILLS
What the provider charged, next to what this console measured for the same day. Nothing here is ever rewritten: closing a day adds what was charged and the difference from our own figure.
CHARGED ON THE DAYS CLOSED SO FAR
—
No day has been closed against a provider bill yet
NEEDS YOUR ATTENTION
Nothing right now.
Today is 2026-11-24. It is still open, or inside the provider lag, so it cannot be closed yet.
UPLOAD PROVIDER SETTLEMENT CSV
Columns: asset, day (YYYY-MM-DD), amount. One row per asset per UTC day — a window already on record is refused, never overwritten.
PROVIDER MAPPING · RAILWAY
Each mapping points one internal asset at the provider service that runs it. For the same window the worker reads Railway's own metered quantities for that service, prices them at the published rate card, and seals them beside the burn this console derived. The endpoint reports no invoice, so a variance means the two meters disagree, not that a bill has been settled.
OAUTH CONNECTION · RAILWAY
No workspace consent on record. The worker falls back to the static key, which only reaches the project the key belongs to. Connecting reads the whole workspace on the way back and ties every service it can recognise.
CALLBACK · https://klswitch-v2.base44.app/functions/railwayOAuth — this exact string must be registered as the redirect URI on the Railway OAuth client, and consent must be finished from the published app, not a preview.
WORKSPACE DISCOVERY · RAILWAY
Uses the workspace grant to list every project and service it reaches, then ties each unmapped asset to the one service whose name answers it. Nothing is matched when two services qualify.
No mapping yet, so the sync worker has no provider to query and mints nothing.
SETTLE FROM PROVIDER · RAILWAY
Asks Railway what it metered for each asset on each UTC day, prices it at the published rate card, and books that figure as the window's bill. The derivation stays where it was: the difference posts as a revision, never as a correction of the measurement.
Every closed window with a derivation already has a provider figure on record.
| ASSET · WINDOW | MEASURED | BILLED | Δ |
|---|---|---|---|
| TOTAL VARIANCE | $0.0000 |
No window has a measurement or a bill yet. The journal only shows days where a sample arrived.
Every window with a bill is already ratified.
SYSTEM LOG · CHAIN HEAD PER ASSET
No asset holds a sealed chain yet.
These are the digests the external witness has pinned. Editing any entry recomputes a head that no longer matches the pin, which is the whole point of publishing it.
Showing the last 7 days of the journal. Δ is billed minus measured: positive means the provider charged more than this console projected, negative means less. Last journal day read: 2026-11-24. No window yet has both numbers, so there is no delta to report.