Start building

Files, storage and batch

FileAct folder exchange with ACKs

Model a FileAct-style application folder handoff with SHA-256-correlated ACK/NAK receipts and an archive-after-ACK rule. The folder adapter is not a FileAct network implementation. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.

  • Files → Files
  • Advanced
  • 8 min

Last verified 2026-10-31 at f4ce7d0 — simulation fixtures

Try this template in Studio

Studio activation is a one-time payment of USD 20.

Flow

Drawn at build time from the node positions in the template's process definitions. Numbered markers are the walkthrough stages.

Main processFileAct folder exchange with ACKs10 activities

Scroll sideways to see the whole flow.

Flow diagram of FileAct folder exchange with ACKs10 activities and 9 transitions: Synthetic input, Read local folder payload fixture, Hash exact transfer bytes, Publish outbound folder file, Read partner ACK fixture, Parse application ACK, Check supported subset and correlation, Publish archive receipt only after matching ACK, Reject unsupported or mismatched input, Return evidence.Synthetic inputstartRead local folderpayload fixturefile.read1Hash exact transferbytesbinary.sha2562Publish outboundfolder filefile.write3Read partner ACKfixturefile.read4Parse application ACKjson.parse5Check supported subsetand correlationchoicePublish archivereceipt only after…file.write6Reject unsupported ormismatched inputraise_errorReturn evidenceend
List the 10 activities and 9 transitions

Activities

  1. Synthetic input start
  2. Read local folder payload fixture file.read
  3. Hash exact transfer bytes binary.sha256
  4. Publish outbound folder file file.write
  5. Read partner ACK fixture file.read
  6. Parse application ACK json.parse
  7. Check supported subset and correlation choice
  8. Publish archive receipt only after matching ACK file.write
  9. Reject unsupported or mismatched input raise_error
  10. Return evidence end

Transitions

  • Synthetic input → Read local folder payload fixture (on success)
  • Read local folder payload fixture → Hash exact transfer bytes (on success)
  • Hash exact transfer bytes → Publish outbound folder file (on success)
  • Publish outbound folder file → Read partner ACK fixture (on success)
  • Read partner ACK fixture → Parse application ACK (on success)
  • Parse application ACK → Check supported subset and correlation (on success)
  • Check supported subset and correlation → Publish archive receipt only after matching ACK (condition)
  • Check supported subset and correlation → Reject unsupported or mismatched input (otherwise)
  • Publish archive receipt only after matching ACK → Return evidence (on success)

Walkthrough

  1. Read local folder payload fixtureModel a FileAct-style application folder handoff with SHA-256-correlated ACK/NAK receipts and an archive-after-ACK rule. The folder adapter is not a FileAct network implementation.
  2. Hash exact transfer bytesModel a FileAct-style application folder handoff with SHA-256-correlated ACK/NAK receipts and an archive-after-ACK rule. The folder adapter is not a FileAct network implementation.
  3. Publish outbound folder fileModel a FileAct-style application folder handoff with SHA-256-correlated ACK/NAK receipts and an archive-after-ACK rule. The folder adapter is not a FileAct network implementation.
  4. Read partner ACK fixtureModel a FileAct-style application folder handoff with SHA-256-correlated ACK/NAK receipts and an archive-after-ACK rule. The folder adapter is not a FileAct network implementation.
  5. Parse application ACKModel a FileAct-style application folder handoff with SHA-256-correlated ACK/NAK receipts and an archive-after-ACK rule. The folder adapter is not a FileAct network implementation.
  6. Publish archive receipt only after matching ACKModel a FileAct-style application folder handoff with SHA-256-correlated ACK/NAK receipts and an archive-after-ACK rule. The folder adapter is not a FileAct network implementation.

What you will practise

  • Model a FileAct-style application folder handoff with SHA-256-correlated ACK/NAK receipts and an archive-after-ACK rule. The folder adapter is not a FileAct network implementation.
  • Inspect exact output and rejection cases using synthetic fixtures.
  • Keep external-service acceptance separate from payment settlement.

Sample cases

3 cases with 10 assertions, run with python -m server.integration examples --all in simulation.

Happy path

Passed

Run this synthetic case with isolated local fixtures. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.

Expected result All declared value, outcome and trace checks must pass.

4/4 assertions

  • Run outcome
  • Verify /ack
  • Verify /sha256
  • Verify /network_delivery_proven

This sample run only; not a production certification.

Wrong digest

Expected failure verified

Run this synthetic case with isolated local fixtures. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.

Expected result All declared value, outcome and trace checks must pass.

3/3 assertions

  • Run outcome
  • Fail closed
  • No effect: archive

This sample run only; not a production certification.

Negative ack

Expected failure verified

Run this synthetic case with isolated local fixtures. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.

Expected result All declared value, outcome and trace checks must pass.

3/3 assertions

  • Run outcome
  • Fail closed
  • No effect: archive

This sample run only; not a production certification.

Prerequisites

Runtime
Cohuno runtime 1.27.0, the version recorded when these cases last passed.
Starter
Manual start; no listener.
Optional dependencies
None beyond the base runtime.
Simulation fixtures
  • swift_files_stub file · file.read, file.write
Every sample run replaces these connections with the fixtures defined in its case. A live run needs an operator to configure an authorized connection for each.
Verification details

Provenance

What was verified, and when. The content part changes whenever the pack, a process in its closure, the runtime version or a case result changes; the gallery check then fails until the gallery is regenerated and the changed templates are verified again.

Verified content

Pack SHA-256
e37d8250b64011743cb0cb52b5f9c8b3fb232f098bd97e4ff0c4faf892468550
Closure SHA-256
b2cd97e4717688d0907c871223f5181d42a3f507e2cbd480891e49edaaa3a07e
Runtime
1.27.0
Results
3/3 cases, 10/10 assertions, mode simulate, external calls: none.
Files in the closure
  • server/integration/example_packs/swift_fileact_folder.json
  • server/integration/templates/swift_fileact_folder.json

Verification event

Commit
f4ce7d08eedc90267b405ed1974344153a8b3a34
Verified at (UTC)
2026-10-31T21:19:21Z

How the Cohuno team reproduces this check

PYTHONPATH=. python -m server.integration examples --example swift_fileact_folder
PYTHONPATH=. python scripts/export_public_gallery.py --check