Normalize repo metadata and sync docs

This commit is contained in:
codex
2026-07-02 10:21:02 +02:00
parent 0a38def5a5
commit 327d3c551b
13 changed files with 182 additions and 50 deletions

View File

@@ -13,6 +13,8 @@ Then call the MCP tool for richer cross-domain context when MCP tools are expose
```
get_domain_summary("financials")
```
Repo-specific work tracking still syncs through topic
`f39fa2a3-c491-414c-a91b-b4c5fcc6139c` (`helix-forge`).
If MCP tools are unavailable in the current agent session, use the REST API:
```bash
curl -s "http://127.0.0.1:8000/state/summary" | python3 -m json.tool
@@ -44,7 +46,7 @@ For each file with `status: ready`, `active`, or `blocked`, note pending
**Step 4 — Present brief**
1. **Active workstreams** for `financials` — title, task counts, blocking decisions
1. **Repo-relevant workstreams** under topic `helix-forge` — title, task counts, blocking decisions
2. **Pending tasks** from `workplans/` + any `[repo:adaptive-pricing]` hub tasks
3. **Goal guidance** — if `goal_guidance` in summary:
- `needs_workplan`: surface as top action — *"Repo goal '{title}' has no workplan yet"*
@@ -73,12 +75,16 @@ curl -s -X POST http://127.0.0.1:8000/progress/ \
If workplan files were modified, ensure the local copy is up to date first:
```bash
git -C <repo_path> pull --ff-only
cd ~/state-hub && make fix-consistency REPO=adaptive-pricing
statehub fix-consistency
```
For repos where implementation runs on a remote machine (e.g. CoulombCore),
use the combined target which pulls before fixing:
Fallback when the CLI is unavailable:
```bash
cd ~/state-hub && make fix-consistency-remote REPO=adaptive-pricing
/home/worsch/state-hub/.venv/bin/python /home/worsch/state-hub/custodian_cli.py \
fix-consistency --repo adaptive-pricing --repo-path /home/worsch/adaptive-pricing
```
Legacy wrapper:
```bash
cd ~/state-hub && make fix-consistency REPO=adaptive-pricing
```
**C-15** (DB task ahead of file) is normal in multi-machine workflows — writeback
will sync the file to match DB. **C-16** (repo behind remote) blocks all writes