feat: join audit-storage usage without inventing a booked Scaleway fact
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Ingest resource-control's August technical usage, omit nulls, and
reconcile forecast + usage + booked facts. Commissioning month reports
missing_booked_fact instead of 0.00. T05 still waits on the first invoice.
This commit is contained in:
tegwick 2026-08-15 20:32:55 +02:00
parent 75356ea19e
commit ac0949afd0
7 changed files with 426 additions and 1 deletions

View file

@ -26,6 +26,8 @@ uv run finhub import-ai-plan tests/fixtures/ai-plans.csv
uv run finhub ledger set-balance 12000
uv run finhub ledger import cloud tests/fixtures/cloud-costs.csv
uv run finhub ledger import ai-plan tests/fixtures/ai-plans.csv
uv run finhub ledger ingest-usage --resource resource:platform:audit-storage --source resource-control:data/actuals/2026-08.json tests/fixtures/platform-audit-storage-usage-2026-08.json
uv run finhub ledger reconcile-resource --resource resource:platform:audit-storage --period 2026-08
uv run finhub ledger commitments
uv run finhub ledger set-entitlement --provider anthropic --plan claude-max --period 2026-08 --unit plan --plan-label "Max 20x" --source vendor-plan
uv run finhub ledger plan-month --period 2026-08