fix(domain): V1-2.2 second review round, linear walks, bounds, CSS loaders

Verifier ECARTS(3) and security PASS on 8294d54: one indexed walk per
view chain in sheet.edit, a set for referenced drawings, released
preview parses, xml:base and CSS loaders refused, fail-closed PI scan,
PI drawings rejected by the preview, the builder naming its cap.
This commit is contained in:
bchanot committed 2026-10-29 13:58:32 +01:00
1 parent 8294d5471c
commit ca31b787b6
13 files changed
+201 -36

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ export interface GlueModule {
/** A stored version being gathered (crates/wasm `PreviewBuilder`). */
export interface GluePreviewBuilder {
/** `false` past 16 drawings or a drawing over 2 MiB; the build then throws `caps: drawings`. */
/** `false` past 16 drawings or a drawing over 2 MiB; the build then throws `caps: drawing_bytes` or `caps: drawings`. */
add_drawing(assetId: string, sha256: string, bytes: Uint8Array): boolean
/** Consumes the builder; throws `<kind>: <detail>` (`invalid_document`, `drawing_missing`,
* `drawing_hash_mismatch`, `fingerprint_mismatch`, `caps`, `invalid_shape`, `invalid_json`). */