observatory stuff

This commit is contained in:
2026-06-22 23:05:05 +02:00
parent 1bdb518a94
commit 4ef04dd5e5
22 changed files with 1005 additions and 159 deletions

View File

@@ -4,37 +4,13 @@
**Purpose:** Auto-regulating market value exploring price engine.
**Domain:** helix_forge
**Domain:** financials
**Repo slug:** adaptive-pricing
**Topic ID:** `f39fa2a3-c491-414c-a91b-b4c5fcc6139c`
**Workplan prefix:** `ADAPTIVE-WP-`
---
## Dev Workflow
Framework docs live at the repo root. The Coulomb MVP implementation lives in
`projects/coulomb-pricing/observatory/` (stdlib Python 3.11+, no runtime deps;
`pytest` for tests). Run MVP commands from `projects/coulomb-pricing/`.
| Need | Command |
|------|---------|
| Python | `python3` (3.11+) |
| Install | none — stdlib only; for tests: `pip install pytest` |
| Test (MVP) | `cd projects/coulomb-pricing && python3 -m pytest -q` |
| Test (repo) | same as MVP until other packages exist |
| Lint / format | none configured — match surrounding style |
| Build | none |
| Run: economics dashboard | `cd projects/coulomb-pricing && python3 -m observatory --period YYYY-MM` |
| Run: observatory UI | `cd projects/coulomb-pricing && python3 -m observatory.server` → http://127.0.0.1:8765/ |
| Workplan / hub sync | `cd ~/state-hub && make fix-consistency REPO=adaptive-pricing REPO_PATH=~/adaptive-pricing` |
| Registry sanity | `grep -q '^version:' registry/indexes/capabilities.yaml && echo OK` |
**Verify a change before declaring it done:** run `python3 -m pytest` under
`projects/coulomb-pricing`, then `make fix-consistency` (expect PASS).
---
## State Hub Integration
The Custodian State Hub tracks work across all domains. Interact via HTTP REST —
@@ -176,8 +152,6 @@ get wrong.
**Canon:** `~/ops-warden/wiki/CredentialRouting.md` · catalog `~/ops-warden/registry/routing/catalog.yaml`
---
<!-- REPO-AGENTS-EXTENSIONS -->
<!-- Append repo-specific agent instructions below this marker.
The state-hub template sync preserves content after this line. -->