docs(run): Live über den Store — install + end-to-end verification

Document installing the 8 published modules from chain-modules/reclaim
(Forgejo-raw) and the 2026-06-22 fresh-hub verification: test-cohort green
(cohort 180000) and durchstich-full running all 5 modules on real GewO XML
(plausible deontic tuples + readability), pausing at the approval gate.
Note durchstich-gewo-14 is blocked by http.request (chain bundled module,
wasm_url 404).

Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
flemming-it 2026-06-22 23:34:51 +02:00
parent 0c536c5b91
commit 244ae4c219

36
RUN.md
View file

@ -137,6 +137,42 @@ Im Flutter-Client den `MockRepository` durch eine `HubRepository`
(gRPC gegen `localhost:50051`) ersetzen — Interface bleibt gleich,
keine UI-Änderung nötig.
## Live über den Store
Die 8 Recl∆Im-Module sind publiziert unter
`chain-modules/reclaim` (Forgejo-raw, `.chain`-Bundles, unsigniert) und
lassen sich ohne lokalen WASM-Build direkt aus dem Store installieren:
```bash
chain store add "Recl∆Im" \
https://git.flemming.ai/chain-modules/reclaim/raw/branch/main/store.yaml
chain store refresh # fetcht den Store (8 Module)
chain store search # die 8 Capabilities erscheinen als `pub`
chain install stats.cohort-size text.akoma-normalize \
text.deontic-extract graph.citation-extract \
text.readability-score # Download von den Forgejo-raw-URLs
```
Capability-IDs sind **Dash-Form** (`econ.skm-score`, `law.benefit-score`, …);
der Store-`name:` entspricht exakt der gebündelten `provides.capability`.
**End-to-End verifiziert (2026-06-22, frischer isolierter Hub via Temp-`HOME`):**
- `chain run flows/test-cohort.yaml --input cohort_id=berlin-kmu`
→ grün, `cohort.count = 180000` (DESTATIS, Tier T1).
- `chain run flows/durchstich-full.yaml --input content=@gewo.xml --input cohort_id=berlin-kmu`
→ alle 5 Module laufen (`normalize → deontic → citations → cohort → frust`),
Flow pausiert am `system.approval`-Gate (Soll). Auf echter GewO-XML liefert
die Pipeline plausible deontische Tupel (OBLIGATION/PERMISSION, Confidence
0.70.85) und Lesbarkeit (`flesch_de ≈ 35`, `composite_frust ≈ 3.8`).
> GewO-Volltext-XML: `https://www.gesetze-im-internet.de/gewo/xml.zip`
> (die per-§-URL `…/gewo/__14.xml` liefert inzwischen 404).
> `durchstich-gewo-14.yaml` braucht zusätzlich `http.request` — dieses
> bundled-Modul ist derzeit nicht installierbar (chain-seitige `wasm_url`
> liefert 404; Handoff an chain offen). Nutze solange `durchstich-full`
> mit `--input content=@<norm>.xml`.
## Was Phase 0 NICHT enthält (bewusst)
- gRPC-Anbindung Flutter ↔ Hub (Woche 1)