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>
This commit is contained in:
flemming-it 2026-06-20 00:11:39 +02:00
parent c51ef0e004
commit 0c536c5b91
11 changed files with 104 additions and 96 deletions

View file

@ -7,7 +7,7 @@
# + frust + cohort, also die Form, die HubRepository.list() in der
# Recl∆Im-App in Evaluation-Objekte übersetzt.
#
# NICHT enthalten: econ.skm_score und law.benefit_score. Beide
# NICHT enthalten: econ.skm-score und law.benefit-score. Beide
# Module lesen ihren Tupel-/Ratings-Input über `require_json`,
# d.h. sie erwarten ein Payload::Json. In einem Flow lässt sich
# ein Json-Wert aber nur aus einem vorhergehenden Step-Output
@ -35,28 +35,28 @@ inputs:
steps:
- id: normalize
use: text.akoma_normalize@^0
use: text.akoma-normalize@^0
with:
content: $inputs.content
mime: "application/xml"
- id: deontic
use: text.deontic_extract@^0
use: text.deontic-extract@^0
with:
norm: $normalize.norm
- id: citations
use: graph.citation_extract@^0
use: graph.citation-extract@^0
with:
norm: $normalize.norm
- id: cohort
use: stats.cohort_size@^0
use: stats.cohort-size@^0
with:
cohort_id: $inputs.cohort_id
- id: frust
use: text.readability_score@^0
use: text.readability-score@^0
with:
norm: $normalize.norm
graph: $citations.citations
@ -65,11 +65,11 @@ steps:
# nach dem Fix gilt — `inputs:` oben um `duties: json` /
# `ratings: json` ergänzen und mit --input duties=… speisen:
# - id: skm
# use: econ.skm_score@^0
# use: econ.skm-score@^0
# with:
# duties: $inputs.duties
# - id: benefit
# use: law.benefit_score@^0
# use: law.benefit-score@^0
# with:
# ratings: $inputs.ratings