Run folders and manifests
What every run writes, how to read the report and errors, and how the manifest makes a run auditable and repeatable.
Every run creates its own folder inside the output folder, named with the date, time and tool, for example 20261123-142137_file-inventory. Nothing is written into the input, and an output folder inside the input folder is refused.
D:\Matter\Reports\20261123-142137_file-inventory\
file-inventory.csv the report: one row per document
errors.csv everything that could not be processed, and why
manifest.json tool, version, settings, timings, counts and hashes
files\ anything the tool produces (copies, extracts, PDFs)
The report
The report is named after the tool (bates-stamp.csv, search.csv and so on) and has one row per document. Rows come out in a stable order whatever the parallelism, so the same input gives the same report. Some tools write extra reports beside it, such as not-found.csv, term-summary.csv or threads.csv; the app shows an Open … button for each, and each tool's guide lists them.
Reports are UTF-8 CSV files that open correctly in Excel, accents included. A cell that begins with =, +, - or @ is prefixed with ' so a hostile file name or email subject cannot run as an Excel formula.
errors.csv
Nothing fails silently. A file or folder that cannot be read or processed is listed in errors.csv with the reason, and the run carries on. If there were none, it has only its header row. A run ends with one of four statuses:
| Status | Meaning |
|---|---|
| Completed | Every document was processed. |
| Completed with errors | The run finished, but some items are listed in errors.csv. Read it before relying on the result. |
| Cancelled | You cancelled. Files in progress were finished, and the report and manifest cover what was done. |
| Failed | The run could not continue. |
manifest.json
The manifest is the audit record of the run. Keep it with the matter file. It records:
- the tool, its version and the edition used (not the licensee, so manifests can be shared);
- every setting, as used (passwords are never recorded);
- the machine, the Windows user, and the start and end times;
- the counts of documents processed and errors;
- the SHA-256 of each report the run wrote;
- the notes shown with the result;
- a
jobsection that can be run again.
Repeat a run
In the app, Load job or previous run… loads a manifest back into the form so you can check the settings and run again, perhaps on a new input folder. On the command line:
ltk run --job "D:\Matter\Reports\20261123-142137_file-inventory\manifest.json"
In-place mode
Four file tools can change the input itself: Flatten Folder Structure, Rename Files, Assign Document IDs and Delete By File Name. In-place mode is off by default and must be confirmed each time it is used (a dialog in the app, --confirm-in-place on the command line); it is never stored in a job file.
- Each change is written to
in-place-journal.csvand saved to disk before it is made, so even a crash leaves a record. - Files that are "removed" are moved into the run folder, not deleted.
- Try it on a copy first, and keep the journal with the manifest.
Free edition limit
Pro tools work on up to 25 documents per run in the free edition. The count is checked before the run starts: over the limit, the whole run is refused before anything is written. A run is always complete or never started, never a production with a gap.