Files, storage and batch
Excel receipts → subprocess reconciliation → CSV + table
End-to-end native file processing with saved, revision-pinned subprocesses. No AI calls or external services required in gallery simulation. Local qualification additionally exercises approved real temporary files.
Last verified 2026-10-31 at f4ce7d0 — simulation fixtures
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.
Scroll sideways to see the whole flow.
List the 11 activities and 10 transitions
Activities
- Start
start - Read inbound workbook bytes
file.read - Read Receipts sheet, preserving cell types
xlsx.read_workbook - Skip exactly the declared header row
data.mapper - Reconcile receipts with a pinned subprocess
foreach - Render full reconciliation CSV
csv.render - Write Excel table in standard mode
xlsx.write_workbook - Read generated table metadata and values
xlsx.read_workbook - Create reconciliation CSV
file.write - Create reconciliation workbook
file.write - Return verified result
end
Transitions
- Start → Read inbound workbook bytes (on success)
- Read inbound workbook bytes → Read Receipts sheet, preserving cell types (on success)
- Read Receipts sheet, preserving cell types → Skip exactly the declared header row (on success)
- Skip exactly the declared header row → Reconcile receipts with a pinned subprocess (on success)
- Reconcile receipts with a pinned subprocess → Render full reconciliation CSV (on success)
- Render full reconciliation CSV → Write Excel table in standard mode (on success)
- Write Excel table in standard mode → Read generated table metadata and values (on success)
- Read generated table metadata and values → Create reconciliation CSV (on success)
- Create reconciliation CSV → Create reconciliation workbook (on success)
- Create reconciliation workbook → Return verified result (on success)
Scroll sideways to see the whole flow.
List the 3 activities and 2 transitions
Activities
- Start
start - Compare exact integer cents, classify differences
data.mapper - Return verified result
end
Transitions
- Start → Compare exact integer cents, classify differences (on success)
- Compare exact integer cents, classify differences → Return verified result (on success)
Walkthrough
- Read ExcelLoad a named sheet from an integrity-checked XLSX envelope. The sample is synthetic; amounts are integer cents.
- Reconcile rowsCall one pinned subprocess per receipt and return matched, short or overpaid.
- Publish verified outputWrite a standard-mode Excel table, read its metadata back, then publish both files.
What you will practise
- Read typed worksheet rows and named Excel table metadata.
- Reconcile integer minor units inside an isolated subprocess.
- Use the standard XLSX writer for tables and cell-level features.
- Only explicitly authored formulas are formulas; supplied strings remain literal.
Sample cases
2 cases with 7 assertions, run with python -m server.integration examples --all in simulation.
Four invoices, three exceptions and a read-back verified table
PassedFour invoices, three exceptions and a read-back verified table — deterministic native engine; external file operations use fixtures in the gallery.
Expected result Four invoices, three exceptions and a read-back verified table. Each expected outcome is asserted.
5/5 assertions
- status
- /exceptions
- /rows/0/status
- /rows/3/status
- /table
This sample run only; not a production certification.
Invalid XLSX container prevents all downstream work
Expected failure verifiedInvalid XLSX container prevents all downstream work — deterministic native engine; external file operations use fixtures in the gallery.
Expected result Invalid XLSX container prevents all downstream work. Each expected outcome is asserted.
2/2 assertions
- status
- step_count
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
- openpyxl for Excel workbooks needed in every run, simulation included
- Simulation fixtures
pipeline_filesfile · file.read, file.write
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
cd488e044883baa451f67c4945d1ae43153aeb1218c5c068ddbee4f13d24dd80- Closure SHA-256
1915c415202bb930089a19a51e5a46edd22d4c353a8ac932c4b310c461d06829- Runtime
1.27.0- Results
- 2/2 cases, 7/7 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/excel_reconciliation_lab.jsonserver/integration/templates/fp_excel_to_csv.jsonserver/integration/templates/fp_reconcile_receipt.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 excel_reconciliation_lab PYTHONPATH=. python scripts/export_public_gallery.py --check