reclaim/flows
flemming-it 34c325e419 feat(flow): port flows to the chain-0.16 YAML syntax + add bytes-input variant
The earlier durchstich-gewo-14.yaml used the templated
${{ inputs.x }} syntax and rich input declarations
(type / required / description). chain 0.16 expects the
simpler $inputs.x form and flat 'inputs: { name: type }'
maps — see flows/hello.yaml in fai/chain. Rewritten to match.

Adds two siblings:

  - test-cohort.yaml: trivial stats.cohort_size-only smoke
    test. Confirms a Recl∆Im module loads, instantiates against
    the chain:platform/invoke@1.0.0 ABI, and writes a clean
    flow.completed event. Useful as the first test you run
    when wiring a fresh hub.

  - durchstich-from-file.yaml: end-to-end demo without the
    http.request permission dance. Takes the source XML as a
    bytes input (--input content=@./norm.xml), runs through
    text.akoma_normalize, stats.cohort_size and the
    system.approval gate, and writes the norm + cohort bag to
    the audit log. First end-to-end Recl∆Im flow that survives
    a hub restart with audit-trail intact.

Verified locally: chain run flows/test-cohort.yaml → flow.completed
in 5 ms; chain run flows/durchstich-from-file.yaml + approve →
flow.completed in 6 s, output bag carries normalized GewO §14
with paragraphs + source_sha256.

Signed-off-by: flemming-it <sf@flemming.it>
2026-06-18 15:38:23 +02:00
..
durchstich-from-file.yaml feat(flow): port flows to the chain-0.16 YAML syntax + add bytes-input variant 2026-06-18 15:38:23 +02:00
durchstich-gewo-14.yaml feat(flow): port flows to the chain-0.16 YAML syntax + add bytes-input variant 2026-06-18 15:38:23 +02:00
test-cohort.yaml feat(flow): port flows to the chain-0.16 YAML syntax + add bytes-input variant 2026-06-18 15:38:23 +02:00