feat: ingest State Hub session tokens without booking them
Store mixed measured/estimated/superseded aggregates as session-token evidence. Map kinds onto the evidence-basis vocabulary, keep unknown months unknown, and refuse to post the snapshot as booked spend or resource-control usage.
This commit is contained in:
parent
22b21be552
commit
d343888a41
10 changed files with 578 additions and 1 deletions
|
|
@ -26,6 +26,8 @@ uv run finhub ledger import ai-plan tests/fixtures/ai-plans.csv
|
|||
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
|
||||
uv run finhub ledger ingest-session-tokens tests/fixtures/session-tokens-2026-08.json
|
||||
uv run finhub ledger session-tokens --period 2026-08
|
||||
uv run finhub ledger set-price --client acme --application portal --instance prod-01 --period 2026-07 --amount 100 --source agreement-2026-01
|
||||
uv run finhub ledger margins
|
||||
uv run finhub ledger allocations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue