Add the pure-Rust clawhdf5 crate (git dep, no C deps) and parse HDF5 .brain
blobs: pull fetches raw bytes, brain_from_blob branches on the magic byte
(JSON '{' vs HDF5 \x89HDF) and reads the same datasets (identity/agent_md,
soul_md, skills/skills_md, tool_defs_json) into the shared card normalizer.
All 19 of omar's HDF5 brains now pull + appear in the picker (was JSON-only).
Verified live: omar/rust-2024 yields real skills; list now 22 brains.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
- Idempotent hourly rollup (run_rollup, INSERT ... ON CONFLICT DO UPDATE into
analytics_rollups_hourly) + Tokio background task (startup then hourly)
- GET /v1/cards/{id}/analytics/geo — country-grouped visit counts
- GeoResolver trait: real MaxMind under the `geoip` feature, no-op default;
raw IP resolved then discarded (only hash + coarse country/city persisted)
- analytics_events now store country/city; rollups read query for the dashboard
2 new tests (geo grouping, rollup aggregation + idempotency); 75 backend tests.
fmt + clippy clean; geoip feature compiles.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>