# Recl∆Im module store index — source of truth before publish.
#
# Canonical host (chain Studio's "Recl∆Im hinzufügen" button + hub fetch):
#   https://git.flemming.ai/chain-modules/reclaim/raw/branch/main/store.yaml
# Decision by chain 2026-06-19: Forgejo-raw is canonical (Studio was already
# wired to it; reclaim publishes via plain `git push`, no SSH to the mirror).
#
# STATUS (2026-06-20). Per chain: publish UNSIGNED for now —
# `require_signatures` is off by default; FAI_SIGNING_KEY untouched;
# a Recl∆Im-own signing key + per-store pinning come later.
#   * sha256     — REAL, from local `chain pack` of each module.
#                  Bundles staged in store/bundles/, hashes mirrored
#                  in store/SHA256.txt. Bundles are UNSIGNED.
#   * signature  — intentionally absent for now (see above).
#   * wasm_url   — Forgejo raw URLs in this repo under bundles/.
#                  Publish = commit store.yaml + bundles/*.chain and
#                  `git push` to chain-modules/reclaim (main).
#
# NAMING NOTE (2026-06-20): capability IDs are the source of truth and the
# store `name:` must match the bundled `provides.capability` EXACTLY
# (resolution is string-exact). chain's catalog charset (`naming.rs`
# `check_segment`, `capability-namespaces.yaml`) allows only `[a-z0-9-]`
# per dot-segment — NO underscore. So all 8 modules were repacked with the
# DASH form (`econ.skm-score`, `law.benefit-score`, …) and this index
# mirrors that. (The `chain validate` lint enforces dash; pack/install do
# not — but we conform to the catalog rather than rely on lax gates.)
#
# EXTENSION NOTE (2026-06-20): bundles use the `.chain` extension (current
# convention, `bundle.rs` BUNDLE_EXT). Bundles are content-addressed by
# sha256, so the extension is cosmetic and legacy `.fai` would also
# install — but we match the current convention.

schema_version: 1

modules:
  - name: text.akoma-normalize
    versions:
      - version: 0.1.0
        status: published
        wasm_url: https://git.flemming.ai/chain-modules/reclaim/raw/branch/main/bundles/text-akoma-normalize-0.1.0.chain
        sha256: 1c17771f632a5562534afc0e2420f8d05009cd988bf05899e8d53b3e550bf826
    tagline:
      en: "Normalize legal documents to Akoma Ntoso"
      de: "Rechtsdokumente nach Akoma Ntoso normalisieren"
    description:
      en: "Normalises heterogeneous legal sources (gesetze-im-internet XML, EUR-Lex FORMEX, landesrecht-berlin HTML) into a structured Akoma Ntoso 1.0 (OASIS LegalDocML) representation."
      de: "Normalisiert heterogene Rechtsquellen (gesetze-im-internet-XML, EUR-Lex-FORMEX, landesrecht-berlin-HTML) in eine strukturierte Akoma-Ntoso-1.0-Darstellung (OASIS LegalDocML)."
    category: text-processing
    tags: [legal, german, akoma-ntoso, offline-capable]
    license: Apache-2.0
    repository: https://git.flemming.ai/chain-modules/text-akoma-normalize

  - name: text.deontic-extract
    versions:
      - version: 0.1.0
        status: published
        wasm_url: https://git.flemming.ai/chain-modules/reclaim/raw/branch/main/bundles/text-deontic-extract-0.1.0.chain
        sha256: decf49eb8098a202ab858e868b122620eb55b58e2cc464ba0bbb61025defca4b
    tagline:
      en: "Extract duties, prohibitions and permissions from norms"
      de: "Pflichten, Verbote und Erlaubnisse aus Normen extrahieren"
    description:
      en: "Extracts atomic deontic statements (obligation / prohibition / permission) from a normalised norm. Useful far beyond law — contracts, ISO standards, internal policies."
      de: "Extrahiert atomare deontische Aussagen (Pflicht / Verbot / Erlaubnis) aus einer normalisierten Norm. Auch jenseits des Rechts nützlich — Verträge, ISO-Normen, interne Richtlinien."
    category: text-processing
    tags: [legal, german, nlp, offline-capable]
    license: Apache-2.0
    repository: https://git.flemming.ai/chain-modules/text-deontic-extract

  - name: graph.citation-extract
    versions:
      - version: 0.1.0
        status: published
        wasm_url: https://git.flemming.ai/chain-modules/reclaim/raw/branch/main/bundles/graph-citation-extract-0.1.0.chain
        sha256: dd1e9bd7c45d29804f5ab4360f6ff9d8d2ab608299633dff438eaa5f81807463
    tagline:
      en: "Build typed citation graphs from legal text"
      de: "Typisierte Zitationsgraphen aus Rechtstext bauen"
    description:
      en: "Extracts typed citations (cites, verweist_iVm, …) from German legal text per the Coupette 2021 schema. Citation graphs also fit scientific papers, patents and case law."
      de: "Extrahiert typisierte Zitationen (cites, verweist_iVm, …) aus deutschem Rechtstext nach dem Coupette-2021-Schema. Zitationsgraphen passen auch zu Papers, Patenten und Rechtsprechung."
    category: data
    tags: [legal, german, graph, offline-capable]
    license: Apache-2.0
    repository: https://git.flemming.ai/chain-modules/graph-citation-extract

  - name: text.readability-score
    versions:
      - version: 0.1.0
        status: published
        wasm_url: https://git.flemming.ai/chain-modules/reclaim/raw/branch/main/bundles/text-readability-score-0.1.0.chain
        sha256: 382d470f3243dd02b2da6f210fee9573f5ab64e9439358a74af34a0f8167a5b6
    tagline:
      en: "Composite readability and complexity score"
      de: "Komposit-Score für Lesbarkeit und Komplexität"
    description:
      en: "Composite readability score for any text — DE-adapted Flesch + reference depth + verb distance. Flags hard-to-read government letters, terms & conditions, abstracts."
      de: "Komposit-Lesbarkeitsscore für beliebige Texte — DE-adaptierter Flesch + Verweistiefe + Verbdistanz. Markiert schwer lesbare Behördenbriefe, AGB und Abstracts."
    category: text-processing
    tags: [german, readability, analytics, offline-capable]
    license: Apache-2.0
    repository: https://git.flemming.ai/chain-modules/text-readability-score

  - name: stats.cohort-size
    versions:
      - version: 0.1.0
        status: published
        wasm_url: https://git.flemming.ai/chain-modules/reclaim/raw/branch/main/bundles/stats-cohort-size-0.1.0.chain
        sha256: 321458faa4e8c7a2c016409052b00f89a22a3486c28ec4dccd3586426ef7037c
    tagline:
      en: "Resolve addressee cohort sizes"
      de: "Größe von Adressaten-Kohorten ermitteln"
    description:
      en: "Resolves the size of an addressee cohort (e.g. 'Berlin SMEs by WZ code'). v0.1 ships a stub table for the pilot cohorts; v0.2 adds a DESTATIS GENESIS-API adapter."
      de: "Ermittelt die Größe einer Adressaten-Kohorte (z. B. 'Berliner KMU nach WZ-Code'). v0.1 mit Stub-Tabelle für die Pilot-Kohorten; v0.2 mit DESTATIS-GENESIS-API-Adapter."
    category: data
    tags: [statistics, german, government, offline-capable]
    license: Apache-2.0
    repository: https://git.flemming.ai/chain-modules/stats-cohort-size

  - name: graph.shapley-attribution
    versions:
      - version: 0.1.0
        status: published
        wasm_url: https://git.flemming.ai/chain-modules/reclaim/raw/branch/main/bundles/graph-shapley-attribution-0.1.0.chain
        sha256: 0d776294f86d8e397149efb18100543ea3951129780fed85ad9d1243ec146800
    tagline:
      en: "Shapley-style attribution on weighted graphs"
      de: "Shapley-Attribution auf gewichteten Graphen"
    description:
      en: "Splits a target node's blame or credit among its ancestors on a weighted norm/citation graph. v0.1 proportional fallback; v0.2 full Shapley value for ≤32-node neighbourhoods."
      de: "Verteilt 'Schuld' oder 'Verdienst' eines Zielknotens auf seine Vorgänger in einem gewichteten Norm-/Zitationsgraphen. v0.1 proportional; v0.2 voller Shapley-Wert für ≤32-Knoten-Nachbarschaften."
    category: data
    tags: [graph, analytics, attribution, offline-capable]
    license: Apache-2.0
    repository: https://git.flemming.ai/chain-modules/graph-shapley-attribution

  - name: econ.skm-score
    versions:
      - version: 0.1.0
        status: published
        wasm_url: https://git.flemming.ai/chain-modules/reclaim/raw/branch/main/bundles/econ-skm-score-0.1.0.chain
        sha256: dda50b045ab3b054fe71c81c8510a15e58a4da1a8218a7961e7b014854f0d125
    tagline:
      en: "Standard Cost Model (SKM) bureaucracy cost"
      de: "Standardkostenmodell (SKM) — Bürokratiekosten"
    description:
      en: "Standard Cost Model — P×F×T×h per duty, summed across a duty list (German NKR method). The EU- and OECD-recognised methodology for bureaucracy-cost measurement, used by NL ATR, UK RPC, EU REFIT."
      de: "Standardkostenmodell — P×F×T×h je Pflicht, summiert über eine Pflichtenliste (NKR-Methode). EU- und OECD-anerkannte Methodik zur Bürokratiekostenmessung, genutzt von NL ATR, UK RPC, EU REFIT."
    category: data
    tags: [economics, legal, government, offline-capable]
    license: Apache-2.0
    repository: https://git.flemming.ai/chain-modules/econ-skm-score

  - name: law.benefit-score
    versions:
      - version: 0.1.0
        status: published
        wasm_url: https://git.flemming.ai/chain-modules/reclaim/raw/branch/main/bundles/law-benefit-score-0.1.0.chain
        sha256: 4f02c2695640ba92fe7cd8dc263bcdd024ceeaa1c1ef29848286ec16135e0f50
    tagline:
      en: "7-dimensional regulatory benefit score"
      de: "7-dimensionaler Nutzen-Score für Regulierung"
    description:
      en: "Seven-dimensional benefit score (protection / market / legal-certainty / EU-single-market / safety / environment / revenue), each 0–5. Domain-bound: the dimensions are legally-politically conventioned."
      de: "Siebendimensionaler Nutzen-Score (Schutz / Markt / Rechtssicherheit / EU-Binnenmarkt / Sicherheit / Umwelt / Einnahmen), je 0–5. Domänengebunden: die Dimensionen sind juristisch-politisch konventioniert."
    category: data
    tags: [legal, german, policy, offline-capable]
    license: Apache-2.0
    repository: https://git.flemming.ai/chain-modules/law-benefit-score

services: []
flows: []
