Add SQLite-backed cost ledger with import/summary CLI, cron-friendly evaluate command with federation emit, and dogfood evidence artefact generation from fixture CSVs.
38 lines
No EOL
1.3 KiB
Markdown
38 lines
No EOL
1.3 KiB
Markdown
# Fin Hub
|
||
|
||
Resource viability hub for the FOS federation — budgets, commitments, burn rate,
|
||
runway projection, and token spend tracking.
|
||
|
||
Fin-hub extends `hub-core` with financial models and read surfaces. Generic hub
|
||
primitives (domains, repos, messages, progress events) come from hub-core;
|
||
fin-specific models (budget, commitment, burn rate, runway, token spend) live
|
||
here.
|
||
|
||
## Status
|
||
|
||
MVP complete (`CUST-WP-0025` T22–T26): models, CSV ingest, runway CLI, FOS
|
||
coupling, RaaS packaging draft. Operational hardening tracked in
|
||
`workplans/FIN-WP-0001-runway-operations-lane.md`.
|
||
|
||
## Quick Start
|
||
|
||
```bash
|
||
cd /home/worsch/fin-hub
|
||
uv sync
|
||
uv run pytest
|
||
uv run finhub runway --balance 12000 --monthly-burn 2100,2200,2000
|
||
uv run finhub ledger import cloud tests/fixtures/cloud-costs.csv
|
||
uv run finhub evaluate
|
||
uv run finhub evidence --seed-fixtures
|
||
uv run finhub import-cloud tests/fixtures/cloud-costs.csv
|
||
uv run finhub ops-costs tests/fixtures/hosteurope.csv
|
||
```
|
||
|
||
Cross-hub coupling (`--emit`) posts non-secret progress events to dev-hub when
|
||
`STATE_HUB_API` is reachable.
|
||
|
||
## Related Workplans
|
||
|
||
- `the-custodian/workplans/CUST-WP-0025-fos-hub-bootstrap.md` — umbrella
|
||
- `canon/constitution/bootstrap-protocol_v0.1.md` — funding and roles
|
||
- `canon/projects/railiance/business-model-canvas_v0.1.md` — monetization path |