feat(supabase): R5.5 upload-sheet-assets in Rust, R5.4 caps and FLOOR clarification
Core rules curation::upload (manifest, local destination, bytes through the SVG reader, plan from observed state); binary upload-sheet-assets over ureq (handshake, no overwrite, confirm after verify, bounded retries, key never printed); pnpm assets:upload repointed, e2e:sheet-assets for the local stack. 4 MiB cap on changes.json and references.json. FLOOR clarification for audit prose with its negative proof.
This commit is contained in:
1 parent
637ea6334c
commit
2c445063a4
20 files changed
+1595
-21
No files matched your search
@@ -25,6 +25,9 @@ cli = ["pdf-read", "pdf-write"]
|
||||
# The anatomical pipeline (R5): legacy importer, curation, generated files and their
|
||||
# formatting, the `import-equine` tool. Never enabled by the wasm facade or the worker.
|
||||
curation = ["dep:sha2", "dep:icu_normalizer"]
|
||||
# The sheet-asset upload tool (R5.5): the `upload-sheet-assets` binary, a local-stack operator
|
||||
# tool. The rules are in `curation::upload`; only the binary reaches the network.
|
||||
upload = ["curation", "dep:ureq"]
|
||||
|
||||
[dependencies]
|
||||
serde.workspace = true
|
||||
@@ -36,6 +39,7 @@ ts-rs = { workspace = true, optional = true }
|
||||
miniz_oxide = { workspace = true, optional = true }
|
||||
sha2 = { workspace = true, optional = true }
|
||||
icu_normalizer = { workspace = true, optional = true }
|
||||
ureq = { workspace = true, optional = true }
|
||||
|
||||
[[bin]]
|
||||
name = "report-compare"
|
||||
@@ -47,6 +51,11 @@ name = "import-equine"
|
||||
path = "src/bin/import_equine.rs"
|
||||
required-features = ["curation"]
|
||||
|
||||
[[bin]]
|
||||
name = "upload-sheet-assets"
|
||||
path = "src/bin/upload_sheet_assets/main.rs"
|
||||
required-features = ["upload"]
|
||||
|
||||
[dev-dependencies]
|
||||
# Reads the PDFs the tests compare (the R3 fixtures and the R4 output): objects, streams,
|
||||
# annotations; never in the library.
|
||||
@@ -130,3 +139,15 @@ required-features = ["curation"]
|
||||
[[test]]
|
||||
name = "curation_markdown"
|
||||
required-features = ["curation"]
|
||||
|
||||
[[test]]
|
||||
name = "curation_caps"
|
||||
required-features = ["curation"]
|
||||
|
||||
[[test]]
|
||||
name = "curation_upload"
|
||||
required-features = ["curation"]
|
||||
|
||||
[[test]]
|
||||
name = "upload_tool"
|
||||
required-features = ["upload"]
|
||||
Reference in new issue
Block a user