All checks were successful
CI / Linux x86_64 (Forgejo) (push) Successful in 1m38s
provides.capability _ -> - so it passes `chain validate` and the hub store name-match. No behaviour change (capability validation is lint-only; the WASM is unchanged). Signed-off-by: flemming-it <sf@flemming.it>
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
schema_version: 3
|
|
provider: chain
|
|
name: law-benefit-score
|
|
version: 0.1.0
|
|
|
|
# 7-dimensional benefit score: Schutz/Markt/Rechtssicherheit/
|
|
# EU-Binnenmarkt/Sicherheit/Umwelt/Einnahmen — each 0..5.
|
|
#
|
|
# This is the ONE genuinely domain-bound module — the seven
|
|
# dimensions are juristisch-politisch konventioniert. It lives
|
|
# in `chain-modules-law/` once the org exists.
|
|
#
|
|
# v0.1.0 ships a simple uniform-input scorer: the flow supplies
|
|
# expert ratings; this module aggregates + normalises. v0.2
|
|
# integrates with `llm.chat` proposals + Juristen-review.
|
|
provides:
|
|
- capability: law.benefit-score
|
|
version: 0.1.0
|
|
|
|
inputs:
|
|
ratings:
|
|
type: json
|
|
description:
|
|
en: |
|
|
{ schutz, markt, rechtssicherheit, eu_binnenmarkt,
|
|
sicherheit, umwelt, einnahmen } — each 0..5.
|
|
Source field per dimension is recommended for the audit
|
|
log; pass `_sources: {dimension: source_label}` to surface
|
|
in the output report.
|
|
de: |
|
|
Bewertungen pro Dimension (0..5) + optional _sources.
|
|
|
|
outputs:
|
|
score:
|
|
type: json
|
|
description:
|
|
en: |
|
|
{ dimensions, total: 0..5, dispersion,
|
|
sources: {dimension: source_label?} }.
|
|
de: |
|
|
{ dimensions, total: 0..5, dispersion,
|
|
sources: {dimension: source_label?} }.
|
|
|
|
permissions: []
|