feat(domain): R4.2e OD-3 value cap (400,000), rescue-copy guard, 1 GiB linear ceiling, budget measurements
json_js::MAX_JSON_VALUES from the R4.2e measurements (CAP envelope 39,652 values, 612-leaf export 23,803; ~100 B of tree per value, a 16 MiB dense document 784 MiB with the cap off, 16 MiB with it); draft.restore refuses an over-budget copy as invalid; --max-memory 1 GiB proven to trap on the proofs build; cargo pdf_budget prints the value table, the Node budget suite prints the per-class cost (fresh instance, W4 asserted).
This commit is contained in:
1 parent
f8579bc19a
commit
6ee04c96c5
13 files changed
+599
-14
No files matched your search
@@ -52,6 +52,10 @@ export async function nodeCoreRuntime(
|
||||
export interface ProofModule extends GlueModule {
|
||||
panic_for_test(): void
|
||||
recurse_for_test(depth: number): number
|
||||
/** R4.2e: the PDF import with the OD-3 value cap off (the linear ceiling proof). */
|
||||
import_pdf_unbounded_for_test(bundle: string, bytes: Uint8Array): string
|
||||
/** R4.2e: allocates `mib` MiB, the linear ceiling proof. */
|
||||
allocate_for_test(mib: number): number
|
||||
}
|
||||
|
||||
/** A fresh, initialised glue of the proofs build, outside any runtime (R0 proofs). */
|
||||
|
||||
Reference in new issue
Block a user