Implement export folder organization and manifest generation #32
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Spec sections 12.4 and 12.6 define the output layout and the manifest. The manifest is the
artifact that makes an export verifiable — the acceptance criterion is that it is
sufficient to verify every exported file.
Scope
Dated folder organization and
manifest.csvgeneration.Implementation notes
1983/1983-06/for month precision1983/1983-unknown-month/for year precision1980s-unknown-year/for decade precisionundated/only ininclude_unapprovedmodedeterministic disambiguation rule — never overwrite a file already written in this run,
and record the original filename in the manifest either way.
manifest.csvcolumns exactly per spec section 12.6:filename,original_filename,export_mode,decision_state,approved_date_low,approved_date_high,precision,approved_by,sha256_original,sha256_exported.documents what it produced.
from the manifest alone, with no access to the Circa database.
Done when
manifest.csvcarries every specified column with correct escapingReferences
docs/circa-spec.mdsections 12.4, 12.6Depends on: export execution, the EXIF writing pipeline.