reclaim/flows/durchstich-from-file.yaml
flemming-it 0c536c5b91 fix(store): dash capability IDs + .chain bundles (chain catalog conformance)
chain's catalog charset (naming.rs check_segment, capability-namespaces.yaml)
allows only [a-z0-9-] per dot-segment — underscores are rejected by
`chain validate`. Repack all 8 modules with the dash capability form
(econ.skm-score, law.benefit-score, …) and align the store index, flows,
app strings and docs to match. Bundles now use the .chain extension
(content-addressed; legacy .fai would still install).

- store/store.yaml: name: dash, wasm_url .chain, refreshed sha256
- store/SHA256.txt: 8 new .chain hashes
- flows + app/lib + RUN.md + MACHBARKEITSSTUDIE.md: capability refs _ -> -
- left untouched: text_akoma_normalize.wasm artifact, DB field skm_score,
  backlog module law.skm_score

Signed-off-by: flemming-it <sf@flemming.it>
2026-06-20 00:11:39 +02:00

39 lines
941 B
YAML

# Vertikaler Durchstich, Variante "ohne http-Permission".
#
# Nimmt das Norm-XML als bytes-Input direkt entgegen (statt es
# über http.request zu ziehen). Sinnvoll für den ersten end-to-
# end-Test gegen den lokal laufenden Hub, wenn dessen Operator-
# Policy noch keine Allowlist für gesetze-im-internet.de hat.
#
# Aufruf:
# chain run flows/durchstich-from-file.yaml \
# --input content=@/tmp/gewo-14-mini.xml \
# --input cohort_id=berlin-kmu
name: durchstich-from-file
inputs:
content: bytes
cohort_id: text
steps:
- id: normalize
use: text.akoma-normalize@^0
with:
content: $inputs.content
mime: "application/xml"
- id: cohort
use: stats.cohort-size@^0
with:
cohort_id: $inputs.cohort_id
- id: review
use: system.approval@^0
with:
title: "Recl∆Im — Review GewO §14"
payload: $normalize.norm
outputs:
norm: $normalize.norm
cohort: $cohort.cohort