Implement client cost attribution

This commit is contained in:
tegwick 2026-08-10 20:32:09 +02:00
parent d2b9bc4b32
commit 33883e0977
15 changed files with 362 additions and 21 deletions

View file

@ -68,7 +68,7 @@ authority.
```task
id: FIN-WP-0002-T01
status: todo
status: done
priority: high
state_hub_task_id: "904e9edc-a434-41e6-a4c7-ebb407469514"
```
@ -82,11 +82,19 @@ Cover unknown/unattributed values, uniqueness and period semantics,
corrections, migrations, validation, and backward compatibility for existing
service-level records.
Completed 2026-08-10: added a canonical validated external attribution key,
optional client/application/instance columns to `ServiceCost`, HostEurope CSV
ingestion and the SQLite ledger, additive migration for existing ledgers, and
currency-safe attributed reporting alongside the backward-compatible service
view. Partial or mismatched attribution is rejected; legacy rows remain
explicitly unattributed. Covered by the full test suite and documented in
`README.md`.
## Add engagement revenue and margin reporting
```task
id: FIN-WP-0002-T02
status: wait
status: todo
priority: high
state_hub_task_id: "f917bb0b-f44e-4642-9130-c1a004185180"
```