From 81057b5b9f8efd40e2e5eb6962445d12621efd39 Mon Sep 17 00:00:00 2001 From: kikashy Date: Mon, 26 Oct 2026 15:25:45 -0400 Subject: [PATCH 1/2] Complete retained-column Draft custody and role limits Use exact retained-frame input references and sole case/response text custody. Specify complete artifact budgets and package-bound role selection, with paired readers and handwritten refusal controls. Refs Judgment-Pack/judgment-pack-agent#171. Signed-off-by: kikashy --- rfcs/0029-retained-column-conversions.md | 375 +- rfcs/retained-column-conversion/README.md | 86 +- rfcs/retained-column-conversion/cases.json | 18721 ++++++++++++++-- rfcs/retained-column-conversion/check.py | 236 +- .../contract.schema.json | 271 +- rfcs/retained-column-conversion/examples.json | 211 +- rfcs/retained-column-conversion/reader.mjs | 61 +- rfcs/retained-column-conversion/reader.py | 176 +- 8 files changed, 17861 insertions(+), 2276 deletions(-) diff --git a/rfcs/0029-retained-column-conversions.md b/rfcs/0029-retained-column-conversions.md index 92487e9..ccfe895 100644 --- a/rfcs/0029-retained-column-conversions.md +++ b/rfcs/0029-retained-column-conversions.md @@ -216,24 +216,51 @@ preparation is emitted. Preview and claim-admissibility prototypes are not prepa New successful/omitted applications add closed `columnTransformation` lineage with exactly `contractVersion:"1"`, `column`, `input`, `result`, and conditional `researchIdentity` for selected original research declarations. Input is exactly `{state:"missing"}` or -`{state:"present",json:}`. For ordinary columns `json` is the compact -JSON encoding of the retained structured string -or null in `frame.values`: UTF-8 non-ASCII remains literal, C0 controls, quote and backslash -are JSON-escaped, and no optional whitespace or solidus escaping is added. This is not a -claim to recover request spelling that the legacy host discarded. Research uses the exact -retained `valueJson`, including its whitespace and numeric spelling. Missing raw `valueJson` -is missing input; explicit `"null"` and empty `""` raw text are present inputs with different -bytes, even when their selected original type subsequently gives the same issue. Result -is exactly `{state:"value",json:}` or -`{state:"omitted",reason:"missing"|"blank"|"legacy-null"|"unavailable"}`. -Research identity is exactly `{recipeRevision,fieldSha256}`; hash is `sha256:` plus lower-case -SHA-256 over the exact UTF-8 fieldJson. The representation is inline: every input/result copy -counts at its serialized location; no -pooling, digest substitution or implied reference resolution is selected. Offline recomputation -derives all members from the supplied frame, never trusting retained result members. The Draft -readers expose this recomputation for successful/omitted canon-admissible previews only, not -a whole preparation verifier. Complete preparation/signature accounting and integration into -the existing preparation schema remain prerequisites. No failed execution gains success lineage. +`{state:"present",ref:{frameSha256:,location:"values"|"research-value"}}`. +The reference is closed: no inline `json`, URI, extra column, fallback or other member. +`frameSha256` is `sha256:` plus lower-case SHA-256 of the exact retained frame UTF-8 +object token, including internal whitespace, escapes and number spelling. It is not a +hash of a decoded or canonicalized frame. `columnTransformation.column` selects the exact +case-sensitive column; the checked rule, existing target source/read identity and source +pointer bind the frame occurrence. Generated occurrences additionally retain their existing +source/profile/request/receipt binding. Equal frame hashes never authorize interchanging +occurrences, sources, profiles or receipts. Hashes convey custody identity, not authority. + +For `location:"values"`, resolve the selected structured string or null in that occurrence's +`frame.values` to compact JSON: UTF-8 non-ASCII stays literal, C0 controls, quote and backslash +are escaped, and no optional whitespace or solidus escaping is added. This does not recover +request spelling discarded by a legacy host. For `location:"research-value"`, resolve the +selected field's exact retained `valueJson` string contents, including whitespace and numeric +spelling. The location must agree with the checked rule's kind. An absent column or absent +raw `valueJson` is missing input; a present reference to it refuses. Explicit `"null"` and +empty raw text are present and distinct even when conversion later refuses or omits them. +Missing input must have exactly `{state:"missing"}`; it cannot stand in for a present value. + +The retained acquisition or case is the only resolution source. Do not search by digest, +fetch a URI, use a network or external digest store, substitute unsigned data or fall back +to current declarations/values. Unresolved, substituted, wrong-location, wrong-column and +wrong-source references refuse with `read-failed` after existing source admission checks. +Malformed outer shapes retain their ordinary refusal. A verification/export bundle must +include the exact retained occurrence under its existing custody and authority contract; +a standalone fragment is unverifiable. Transient decoding must never replace retained bytes. +Preview may separately expose selected input JSON for inspection; that diagnostic is not +the preparation wire format or an execution authorization. + +Every target retains result exactly `{state:"value",json:}` or +`{state:"omitted",reason:"missing"|"blank"|"legacy-null"|"unavailable"}`, plus all its +existing target metadata and conditional research identity. Research identity remains +exactly `{recipeRevision,fieldSha256}`, hashing the exact UTF-8 `fieldJson`. Result JSON +remains inline and its aggregate serialized bytes still count. Offline recomputation +resolves the bound occurrence, reruns the checked conversion and compares the complete +fragment; neither a reference nor retained result is accepted as truth. The `lineage` and +`verifyLineage` probes derive/compare these fragments from their actual raw frame tokens. +They explicitly do not authenticate source context or verify a whole preparation. Existing +source/read/profile/receipt checks remain required, including when two frames hash equally. +No failed execution gains success lineage. Integration with the production preparation +schema, independent verification and complete preparation/signature accounting remains required. + +This amends an unadopted Draft proposal, not a released `retained-column/1` contract. New +exact schema/corpus pins are required; old closed readers gain no implicit support. Existing envelope versions and historical optional-member absence stay unchanged; old closed readers refuse unsupported lineage. Rules enter read/dialect identity. Frame identity and complete original declaration inventory commitments bind the checked projection; source/recipe identities @@ -261,10 +288,10 @@ permit zero. The structural schema cannot inspect numeric spelling; the readers | Role | Exactly required limit members | Owner and meaning | | --- | --- | --- | | document-validation | documentBytes, frameBytes | Runtime checks document/target coverage and retained frame only. | -| preview | documentBytes, combinedBytes, frameBytes | Runner conversion preview; not preparation support. | -| preparation | documentBytes, combinedBytes, frameBytes, preparationBytes, recordBytes | Runner complete preparation and signed record accounting. | -| preparation-verification | documentBytes, combinedBytes, frameBytes, preparationBytes, recordBytes | Offline verifier's independently supported complete input/preparation/record bounds. | -| producer-carrier | originalSnapshotBytes, carrierBytes, grantBytes, adapterStdoutBytes, responseBytes | Producer's exact acquired snapshot and complete wrapper/grant/adapter stdout/signed response transport. | +| preview | documentBytes, combinedBytes, frameBytes, profilesBytes, requestBodyBytes, inputReplyBytes | Runner complete preview request/reply and trusted profiles, not preparation support. | +| preparation | documentBytes, combinedBytes, frameBytes, preparationBytes, recordBytes, profilesBytes, requestBodyBytes, inputReplyBytes, releaseStoredBytes, runStoredBytes, exportBaseBytes, exportWireBytes | Runner complete preparation, record, storage and export boundaries. | +| preparation-verification | documentBytes, combinedBytes, frameBytes, preparationBytes, recordBytes, profilesBytes, requestBodyBytes, inputReplyBytes, releaseStoredBytes, runStoredBytes, exportBaseBytes, exportWireBytes | Offline verifier independently supports the complete retained bundle, replay and export bounds. | +| producer-carrier | originalSnapshotBytes, carrierBytes, grantBytes, adapterStdoutBytes, responseBytes, profilesBytes | Producer's exact snapshot, complete wrapper/grant/stdout/signed response and trusted profiles. | These limits count each complete serialized artifact, including punctuation, escaping, provenance and signatures, rather than selected payload members. A document limit applies separately to @@ -281,8 +308,11 @@ an empty array grants nothing. Every declared entry must have the required role no unknown members. An absent capability or unmatched exact identity is `capability-unsupported`; an unknown contract, role or profile also fails with `capability-unsupported`. Malformed shapes, missing limits and duplicate identities give `input-malformed`. The selected role's artifact -sizes must all be present as nonnegative safe integers; each must fit the lower of caller-required -and reported limits, otherwise `input-over-bound`. Known unsupported support is refused before +sizes must all be present as nonnegative safe integers; each must fit the minimum of the selected +profile cap, caller-required maximum and reported maximum, otherwise `input-over-bound`. A larger +report or caller maximum cannot enlarge the selected profile. Separate published and bound documents +are each tested against documentBytes; the probe sizes report the largest one, while combinedBytes +counts both actual occurrences. Production readers measure each occurrence themselves. Known unsupported support is refused before artifact admission, grant creation, dispatch or evaluation; it cannot pass because a payload is tiny. For a supported identity, malformed declarations and over-bound inputs keep the existing validation/diagnostic order. The executable `admission` probe checks this declaration and size @@ -294,15 +324,75 @@ Runtime 0.39.0-alpha.1 has no such support. No capability is inferred from carri approval, phase, acquisition, mixed-origin, cancellation, unknown-ack/no-retry and CAS guards remain with their present owners. +### Closed selection before larger reads + +The optional selected-profile envelope is exactly +`{contract:"retained-column/1",spec:{version,revision,schemaSha256,corpusSha256},profile,roles}`. +It is a separate selector, not a capability entry: it contains no caller maxima, route names, +producer registration or host-version override. `roles` is nonempty, duplicate-free and follows +this fixed order: `document-validation`, `preview`, `preparation`, `preparation-verification`, +`producer-carrier`, omitting unused roles. Unknown identity/profile/role refuses as +`capability-unsupported`; an extra member, repeated role or noncanonical order is `input-malformed`. +Every operation independently requires its complete role set from trusted local operation metadata. +A selector omitting any of those roles refuses even when every reported payload size is tiny. +Producer grammar support remains an exact additional capability check; selecting a role does not +register a profile, verify a receipt or authenticate a producer. + +The consumer compares the complete tuple to an immutable expected manifest installed with its +trusted package. Agreement between an untrusted caller and capability report cannot install a +revision. The schema/corpus digests live in that external manifest; the schema does not contain +its own digest, and the corpus does not hash itself. Draft prototype constants are visibly +synthetic test installation pins, granting no product support. The final actual revision and +schema/corpus bytes must be selected only after the artifact set is frozen and reviewed. + +A transport conveys and validates this bounded selector before reading a body beyond ordinary +limits. Header/route encoding is an adapter detail; this RFC specifies no Runner route name. +Validate exact installed identity, required roles and supported profile before the larger read, +then apply lower caller/reporter limits and every artifact guard before acquisition, grants, +dispatch or evaluation. Persist the exact selector as optional `conversionContract` on the +enclosing source input and preparation, and retain it through release/run and checkpoint/source-operation +custody. It is outside the closed inner case/response custody slot. Existing complete-object +signing/binding includes it. Offline verification, +replay, storage and export revalidate it against their trusted installed manifest. They cannot +infer selection from body contents, carrier numbers, frame hashes or an installed binary version. +An absent selector keeps ordinary legacy behavior and bytes; it never opts an old artifact into +new limits. No new signing domain or authority follows from the selector. + ### Proposed complete carrier amendment (pending adoption) -The candidate byte table is document 1048576/2097152 and combined -6291456/12582912 for base/extended respectively. It is a conservative proposal for -the complete carrier layout below, not an implemented or adopted limit. The earlier -4194304/8388608 and 5242880/8388608 combined candidates do not establish full parity. -Other Core rows, including target counts, parser node/string work budgets, nesting and -preparation/record 8388608/16777216, do not change by implication. Preparation/record -accounting remains an adoption prerequisite; document byte expansion alone does not prove it. +The selected Draft proposal below supersedes the earlier 6/12 MiB combined, 3 MiB +signed-response and 8/16 MiB preparation targets. It is a scoped proposed contract for the +pinned asserted CSV/URL and reviewed generated-record projection, not implemented product +support or normative adoption. Extended remains conditional on all existing Extended requirements; +prototype examples and doubled arithmetic do not establish end-to-end Extended preparation. +Document-validation support is a separate role: this amendment does not remove an existing +Runtime document-only Extended implementation or infer Runner support from it. +Ordinary/legacy limits remain unchanged. All entries are complete UTF-8 byte counts. + +| Limit member / counted artifact | Base | Extended, conditional | +| --- | ---: | ---: | +| documentBytes, each published/bound document | 1048576 | 2097152 | +| frameBytes, additionally within combined | 2097152 | 4194304 | +| combinedBytes, complete counted documents/bindings/case/acquisitions | 12582912 | 25165824 | +| originalSnapshotBytes, exact original producer snapshot | 524288 | 524288 | +| carrierBytes, complete four-member generated carrier | 3145728 | 3145728 | +| grantBytes, complete separately selected new-channel grant | 3145728 | 3145728 | +| adapterStdoutBytes, complete new-channel stdout | 3145728 | 3145728 | +| responseBytes, complete signed response before retention | 5242880 | 5242880 | +| preparationBytes, complete preparation | 16777216 | 33554432 | +| recordBytes, complete audit record line, signature sidecar separately bounded | 9437184 | 17825792 | +| profilesBytes, complete trusted profiles document | 81920 | 163840 | +| requestBodyBytes, complete incoming preview/prepare/run body | 16777216 | 33554432 | +| inputReplyBytes, complete preparation/inputs-next reply | 37748736 | 75497472 | +| releaseStoredBytes, complete retained release | 41943040 | 83886080 | +| runStoredBytes, complete stored run | 41943040 | 83886080 | +| exportBaseBytes, complete version-2-shaped base including parsed audit | 75497472 | 150994944 | +| exportWireBytes, complete version 3/4/5 wire including sidecars | 90177536 | 176160768 | + +This does not replace a global MaxBody, canonical parser bound or legacy producer channel. +Existing counts, nesting, node/string work, target coverage, claim admissibility and signature +rules remain independently required. A consumer must implement every applicable boundary before +advertising the corresponding role; a frame, preview or transport probe cannot establish it. An asserted projection appends the retained frame and keeps the complete original `origin.originalValues`, its other provenance, prepared values and sibling acquisitions. @@ -337,6 +427,45 @@ source/recipe artifacts, reviews, original receipts and publication identities remain available under their actual retention contracts. A new signed wrapper binds the new projection; it does not retroactively authenticate an old snapshot digest. +### Sole exact-text preparation sources + +On the new generated producer path, a source value is exactly one of +`{response:}` and +`{retainedResponseJson:}`. The signed envelope retains +its existing closed `{result,receipt,salts}` grammar and all receipt/salts validation. +No snapshot sibling, second response form, null/empty text, case variant or extra member +is permitted. The text must parse as that duplicate-free envelope, never a surrogate +object containing a partial result. Initial object input is admitted through the ordinary +source checks; successful Draft preparation retains only the exact received envelope text. +Previously retained exact text is checked by the same acquisition reader. Parsing may be +transient, but serializing both representations or replacing text by a canonical re-encoding +is forbidden. Canonical result signatures authenticate content; they do not authenticate +outer whitespace or the raw frame token. Raw envelope/frame hashes remain separate custody +identities. `originalSnapshotJson` remains authenticated as string content of the canonical +result. The existing producer-v2 grammar and full original-inventory preconditions below +remain necessary before successful generated lineage. + +Asserted input has the corresponding **case custody slot**: existing `case:` or +`retainedCaseJson:`, exclusively. The enclosing input's +existing mapping, sources, import, binding and other permitted siblings keep their ordinary +grammar; this alternative does not create an arbitrary extra-member allowance. It preserves +the complete case once, including original values, provenance and the appended frame. +Initial case object admission remains available; successful Draft preparation with retained +case conversions changes that slot to exact text. Consumers transiently materialize it at +the existing case-reading boundary; exports and stored records keep the sole text. Duplicate +names, nonobjects, dual representations, null/empty/wrong-case members and unsupported use +refuse. Ordinary historical inputs and absent optional members keep their existing behavior. +No universal JSON marshaler change, canonical raw-frame rehash or provenance deletion is +permitted to conceal compaction. Preserve the actual selected frame token through HTTP, +preparation retention, storage, offline verification and export. + +The companion `preparationSource` and `assertedCaseCustody` schemas are fragment schemas; +receipt/salts internals and enclosing ordinary input members remain their existing contracts. +`retainSource:{source}` and `retainCase:{source}` probes demonstrate only closed custody slots +and exact text restoration. Empty receipt/salts in a labelled example establish no signature, +profile, producer, freshness or acquisition validity. The probes do not prepare or execute. +Their line bound is an experimental harness bound, not a negotiated production byte limit. + ### Proposed producer grammar and complete original inventory The generated wrapper remains exactly the four members above. Its signature domain remains @@ -480,43 +609,128 @@ fix the retained paths and run-id grammar; and resolves the original declaration revision. None of these current paths implements the new full history/inventory comparison or the proposed adapter version `2`. Those remain real producer work. -For the pinned supported Desk producer the original snapshot is at most 524288 bytes. -Its compact Go representation has no literal C0 controls or unescaped `<`, `>` or `&`, -and its UTF-8 non-ASCII is retained by the actual downstream canonical encoder. Hence a -quoted exact snapshot of S bytes takes at most 2*S+2 bytes in these encoders. This is not -a bound for arbitrary JSON string encoders: escaping every non-ASCII character can exceed -2*S+2. The producer must fix and test its encoding rather than infer this bound from JSON. -A conservative frame proof charges at most three times disjoint retained component bytes, -plus a 65536-byte structure/provenance reserve. The tighter two-times charge applies only -when the pinned 30-field, ASCII-name producer constraints are separately verified. - -Let C be the former complete combined bound (2097152/4194304), and G the conservative -document growth (895104/1790080). One changed counted dialect gives an asserted bound -2*C+G+65536 = 5154944/10244224. With a retained generated snapshot S<=524288 and the -conservative frame charge, its bound is C+G+4*S+65536 = 5154944/8147072. -Pinned Desk's asserted 2097152-byte producer cap gives 5154944/8147072, but cannot justify -the generic extended asserted case. A Core-sized extended asserted source-shaped witness -is 4194304 bytes before projection and 8871801 after appending the frame, above 8388608. -This is a counterexample to that proposed ceiling, not a real Desk/Runner admission run. - -Published execution can count a published dialect in `source.import` beside its bound -`source.mapping`. Budget both changed copies: adding a further G gives conservative -complete-carrier maxima 6050048/12034304, below 6291456/12582912. Original immutable -publications are not rewritten; the proposed derivative needs a fresh identity and explicit -publication/binding workflow. All other original acquisitions, arguments, salts, receipts, -signatures, provenance and binding copies remain counted. Unchanged fixed-length digests -and signatures do not grow merely because their contents change. Additional changed -document copies or independently growing receipt/binding metadata need explicit accounting; -these formulas are not permission to omit them or to make unsupported-input claims. - -The generated channel also needs its own transport contract. Keep the old 524288-byte -snapshot and 1048576-byte grant boundaries for the legacy channel. For the new pinned closed -profile, a 3145728-byte bound for each complete grant, adapter stdout and signed response -is a candidate: the conservative wrapper is at most 2687104 bytes and an additional -65536-byte receipt reserve gives 2752640. This is separate from the combined bound. -The currently pinned 1048576-byte Gateway default stdout and 2097152-byte Desk response -limits cannot be assumed to admit it. Generic profiles with larger receipts or original -snapshots have not been proved by this calculation and must not be silently narrowed. +### Complete serialization-layer accounting (proof still required) + +Count the bytes of each **actual complete serialized artifact** with its selected encoder. +Let `Q_E(t)` be the UTF-8 byte length of JSON string encoding exact text `t` using encoder E, +including its surrounding quotes. Each nested serialization applies its own Q; a decoded +byte length is never a substitute. For a serializer that leaves scalar non-ASCII literal, +uses short escapes where available and no optional escapes, Q equals raw UTF-8 length plus +2, plus 1 for each quote/backslash/short-escaped control, plus 5 for every other C0 control. +An encoder using HTML, Unicode or solidus escapes needs its actual additional charge. +Encoder behavior must be pinned and tested at every transition, including outer stores. + +The pinned original snapshot bound remains 524288 bytes. The pinned compact Go snapshot +has no literal C0 controls or unescaped `<`, `>` or `&`; its downstream canonical encoder +keeps UTF-8 non-ASCII literal. Thus its first string encoding obeys `Q_E(S)<=2*|S|+2` +for those encoders. This bound does not cover arbitrary encoders or a second quoting layer. +A prior projection estimate charged up to three times disjoint retained components plus +65536 structure bytes (two times only under separately verified 30-field ASCII-name +constraints). That estimate is not a proof for complete signed-response text or case text. + +The accounting ledger must follow all these layers without dropping a copy: + +| Artifact | Bytes that must actually be charged | +| --- | --- | +| Published and bound documents | Each complete changed document, including rule spelling/escaping; count both `source.import` publication and bound `source.mapping` when present, and every binding document/copy. Immutable original publications keep their identities. | +| Asserted case | Complete original case/provenance/prepared values plus appended frame; after retention charge `Q_E(exactCaseText)` and the `retainedCaseJson` member/container, once at each real embedding. | +| Generated carrier | All four wrapper members, including `Q_E(originalSnapshotJson)`, exact frame and full inventory. Carrier/frame limits remain additional constraints within the combined bound. | +| Grant and adapter stdout | Their complete wire forms, including any wrapper/string escaping, metadata, arguments, salts, receipts and protocol delimiters that their transport counts. Measure each separately. | +| Signed response | Complete envelope `result`, `receipt`, `salts`, signature and all ordinary metadata; check its raw transport bytes before decoding. | +| Retained source | `Q_E(exactSignedEnvelopeText)` plus the `retainedResponseJson` member/container. Do not add an object copy or charge only the decoded envelope. | +| Complete combined input | Actual retained source/case custody slot, both documents and bindings, all sibling acquisitions, arguments, salts, receipts, signatures and provenance at their serialized locations. No extra allocation outside this bound. | +| Preparation | Complete actual preparation, target/source/read metadata, all per-target reference fragments, inline applied results or omission reasons, conditional identities, basis arrays and signatures/commitments. Count repeated output values and metadata even when input refs share a frame. | +| Verification/export and signed record | Each complete actual enclosing artifact, including every source/input/preparation/record copy and every further escaped text layer it really stores. A preparation-sized fragment is not proof for its export or record. | + +For a given unchanged input, compute growth by replacing each old serialized custody slot +with its actual new serialized slot and adding growth of **both** documents and any new +metadata; preserve every unaffected sibling. For complete preparation/export/record, measure +their actual separately emitted bytes rather than deriving a maximum from the combined bound. +Fixed-length hashes/signatures do not grow merely when content changes, but their containers, +independently growing inventories, basis arrays, result JSON and further embedded copies do. +All role limits apply together; fitting one 3 MiB transport does not prove complete combined, +preparation, record, storage or export support. Never enlarge global request, parser or canonical bounds +by implication, clip inputs, omit provenance or narrow previously usable spelling/type scope. + +The previous `6050048/12034304` combined estimates counted two changed document copies but +omitted the complete signed-envelope/case string retention layer. They are superseded as +complete-envelope evidence. The complete-artifact proposal above replaces those targets; +it has conditional accounting evidence, not actual product-boundary proof. The old 524288 +snapshot, 1048576 grant and ordinary channel limits remain unchanged; a new producer channel +requires its own reviewed selection. Generic larger profiles/receipts are not inferred. + +The accounting domain is the existing pinned Desk projection, preserving all five conversions, +eight original field types, original unfiltered values/declarations, opaque provenance, omission +and availability distinctions and every old sibling. This is an analysis of that compatibility +domain, not a restriction of generic retained-column syntax or permission to discard data. +The actual old complete input jointly bounds variable components at C=2097152/4194304, with +F=256/512 fact targets, E=128/256 evidence targets and L=F+E. The existing producer's 524288-byte +snapshot, 100 columns, 160-byte column names, 16000-byte cells and complete old response bound +are used together. The new producer must load and compare the complete original history inventory. +A successful extraction cannot prove that this history was loaded. + +For the fixed compact Go / literal-UTF8 JavaScript producer families, Q is the actual downstream +Go JSON string encoding, including quotes. The old compact Go text has Q(t)<=2|t|+2. Literal +JavaScript HTML is charged by its Go-equivalent component size for this inequality only; raw +custody bytes are never rewritten. Every further text embedding applies Q again. Arbitrary +pretty printers or ASCII-inflating encoders need separate accounting; consumers still measure +their actual bytes. A generic 64 KiB receipt allowance is not assumed. Old metadata stays inside +C; only bounded new tuple spelling/profile bookkeeping is charged separately. + +A conservative per-document growth G=F*2977+E*1011+4096 gives G=895616/1787136. +Two changed published/bound documents each add G. The asserted complete combined bound is +4*C+2*G+65536 = 10245376/20417024. With S=524288, generated carrier +W<=5*S+65536+256=2687232, generated frame<=3*S+65536=1638400, and complete response +R<=min(C,2097152)+W+4096=4788480. The old gateway may normalize escapes; subtracting the +raw snapshot length from the old response would be invalid. Retaining the sole exact response +string gives combined<=C+min(C,2097152)+2*W+8192+2*G+65536 = 11433728/15313920. +These inequalities charge the second string layer explicitly. They fit the proposed 12/24 MiB +combined caps; raw response fits 5 MiB, while carrier/grant/stdout fit their separate 3 MiB caps. + +Preparation must also count basis repeated L+1 times, inline results and every target's +metadata. Under the unchanged old aggregate prepared-value budget U<=C, the conservative bound is +65536+10240*L+(L+1)*(12*L+1)+3*C+8*F*1024+1549*E+2*F += 14359553/32192513, below 16/32 MiB. The old normalizer could emit preparations that its +offline verifier refused, so old offline acceptance is not assumed as a preparation bound. +The record proposal charges old record bytes plus 2*F+65536, giving 8454656/16843776 below +9/17 MiB. This provisional record lemma depends on actual Runtime preserving its existing trace +shape; restored negative-zero endpoints can add bytes. It does not assert record byte/hash identity +or waive the answer-change review gate. Actual Runtime boundary evidence remains required. + +A verification bundle retains independent release.sample and run.input plus release.inputMapping. +Count both complete new input/preparation copies and the third mapping. With old export base +V0=8/16 MiB and selected A=12/24 MiB, T=16/32 MiB, M=1/2 MiB: +release<=V0+A+T+M+65536=38862848/77660160; +stored run<=V0+A+T+4*F+65536=37815296/75565056; +export base<=V0+2*(A+T)+M+6*F+131072=68290048/136449024. +For versions 3/4/5, raw audit bytes are additionally base64 alongside parsed audit. Complete +wire<=selected exportBaseBytes+4*ceil(selected recordBytes/3)+65536 +=88145920/174828204, fitting 86/168 MiB. Existing bounded signature sidecar, chain and checkpoint +remain separately checked, with version-aware base exclusions. An adapter that embeds the whole +export as JSON text must apply Q again; these wire caps do not authorize that different transport. + +These are conservative analytic bounds and actual encoder checks on structural fragments. +They are not authenticated product admissions, maximum end-to-end runs or adoption evidence. +Every source assumption, whole-artifact boundary, lower caller limit and one-over refusal must +be confirmed by the actual selected producer, Runtime and Runner before declaring support. + +A focused Runner witness now exercises the unchanged ordinary authenticated input entry +with one 16000-TAB asserted column reused by 256 distinct text targets. The pinned Desk pure +normalizer/qualification/preparation bodies retain the column and omit all blank prepared +values; the ordinary Runner entry accepts its 50844-byte request and emits a 1322969-byte +preparation that passes offline preparation checking, plus a 1406838-byte checked export. +This is the actual ordinary path in the candidate Runner, not a historical binary or full +Desk server/browser/persistence run. The corresponding projected request is 97559 bytes and +refuses at the unchanged 8388608-byte preparation limit. Its compact selected input JSON has +32002 bytes; each nested inline JSON string is `3*16000+6=48006` bytes, so input copies alone +charge `256*48006=12289536` bytes. The 13186521-byte diagnostic preparation and 13331607-byte +diagnostic export are assembled refused artifacts, not accepted/emitted candidate outputs. +Replacing only input states by the closed references measures 924633 diagnostic preparation +bytes; every target result, metadata and basis remains counted. This refutes inline-input +sufficiency for that admitted ordinary case, but proves neither reference-path admission nor +Base/Extended maxima. The real reference path, complete original-snapshot escaping families, +maximum siblings/bindings/results and boundary/one-over artifacts remain production gates. +The adjacent tiny serializer fixtures establish exact counts only for those encoders/inputs. Before acquisition, grant creation or evaluation, consumers require the exact adopted Spec identity, `retained-column/1`, the selected profile and every role-specific reported limit: @@ -537,10 +751,11 @@ production gates. No normative adoption or support claim follows from this amend Negotiate the companion profile before byte-bound processing or any acquisition/evaluation. Known unsupported profiles give `profile-unsupported`; unknown profiles are malformed. Apply -Core §4.1's combined dialect/case/acquisition ceiling (2097152 base, 4194304 extended bytes), -dialect ceiling (131072/262144), target counts (256/512 facts, 128/256 evidence), document -nesting (64/128) and preparation ceiling (8388608/16777216). A frame is additionally bounded -by the selected combined ceiling; it does not get an extra allocation outside it. Fixed new +Core §4.1's ordinary combined dialect/case/acquisition ceiling (2097152 base, 4194304 extended +bytes), dialect ceiling (131072/262144) and preparation ceiling (8388608/16777216) unless an +exactly selected implemented retained-column role applies the scoped table above. Target counts +(256/512 facts, 128/256 evidence), document nesting (64/128) and independent work budgets remain. +A frame is additionally bounded by the selected frame and combined ceilings; it does not get an extra allocation outside it. Fixed new frame limits are 1000 values, 1000 declaration entries, 1000 field entries, 16000 bytes per raw column string, 16384 per fieldJson, nesting 32 inside fieldJson and nesting 64 inside retained raw values (the existing research duplicate reader limit). @@ -587,7 +802,7 @@ conditional document/combined proposal above is the Draft candidate, with no adopted production ceiling selected; no installed ceiling is silently waived. The prototypes check exact snapshot restoration, explicit Draft capability declarations, frame -parsing, embedded raw parsing, conversions and inline lineage fragments only. They do not claim +parsing, embedded raw parsing, conversions and reference lineage fragments and sole-text custody slots only. They do not claim actual transport admission, whole acquisition/preparation accounting or production negotiation. ## Alternatives @@ -628,7 +843,10 @@ an implementation makes a broader availability claim. ## Conformance The adjacent cases cover each kind, eight original declarations, absence/null/blank/status, -original precision/negative zero, invalid forms and current claim refusal. Additional structural, +original precision/negative zero, invalid forms and current claim refusal. Closed input +references, exact response/case text custody and wrong digest/location/column/unresolved +references have paired handwritten cases. Equal-frame wrong-source refusal requires the +production source-binding reader; these local probes authenticate no source. Additional structural, duplicate/scalar, version, tie, exponent/range ordering and byte-bound probes are handwritten. The check harness runs both readers on identical requests and asserts expected outputs; expected results are never generated from a reader. Structural schema probes are separate from semantic @@ -658,8 +876,10 @@ this draft does not record them as completed or silently modify GOVERNANCE.md. - Keep the compatibility claim tied to the pinned supported ingress/storage boundary. If a broader arbitrary-host raw-byte importer is intended, review an explicit byte-preserving representation; do not infer that new surface from the isolated legacy validation helper. -- Ratify the leaf union, number tie algorithm/legacy issue mapping, historical-null rule and - conditional lineage before adopting any normative files. +- Ratify the leaf union, number tie algorithm/legacy issue mapping, historical-null rule, + closed input references, sole exact response/case custody and conditional lineage before + adopting any normative files. Pin new exact schema/corpus identities; no released contract + is reinterpreted by this Draft amendment. - The bounded number/helper comparison now passes, including underflow, decimal ties and range/exponent diagnostic precedence. Actual Desk tool-path comparison remains separate; extracted helpers and same-author readers establish no independent whole-application evidence. @@ -667,7 +887,8 @@ this draft does not record them as completed or silently modify GOVERNANCE.md. reviewed ceiling amendment, or a revised closed compact encoding (for example shared rule declarations where applicable). Deduplication must also cover distinct-rule worst cases; no clipping or narrowed spellings is acceptable. Complete the maximum previously usable - combined-envelope proof for the selected option. Existing extended ceilings alone do not fit + combined-envelope, preparation and signed-record proof for the selected option, including + nested response/case text escaping and repeated inline results/metadata. Existing extended ceilings alone do not fit the witness, and current production readers' extended support is not implied. - Implement and independently verify the proposed production original-inventory precondition and complete signed snapshot/frame relation, then integrate conditional lineage with the existing diff --git a/rfcs/retained-column-conversion/README.md b/rfcs/retained-column-conversion/README.md index d889645..51f322e 100644 --- a/rfcs/retained-column-conversion/README.md +++ b/rfcs/retained-column-conversion/README.md @@ -25,9 +25,11 @@ the existing frame bound. The bounded line channel remains 4200000 bytes. `{admission:{capabilities,required,sizes}}` checks the RFC's closed role-specific shape and exact trusted expected Spec/schema/corpus pins before any callback. `required` is a complete capability entry with the caller's limits; every role-applicable size is required. The effective bound is -the lower caller/reporter maximum per member. This is an admission-contract probe, not evidence +the minimum of the selected profile cap and lower caller/reporter maximum per member. The +expected identity is an explicitly synthetic installed-package fixture constant, independent of +caller/reporter agreement; it is not a real schema self-hash or support declaration. This is an admission-contract probe, not evidence that reported sizes came from real production artifacts or that a production role is supported. -`{lineage:{rule,frame,profile?}}` derives the closed inline fragment and refuses issues or noncanon +`{lineage:{rule,frame,profile?}}` derives the closed reference fragment and refuses issues or noncanon values as `read-failed`. No failed application receives success lineage. Run `python3 -B rfcs/retained-column-conversion/check.py --carrier-only` for the focused changed @@ -39,8 +41,9 @@ both readers. Examples show full asserted-origin append and distinct published/b they are labelled fragments, not producer admission runs. Schema member/alternative removal controls cover the new closed shapes; duplicate names and byte semantics require the readers. -The conditional document 1/2 MiB, combined 6/12 MiB and standalone producer transport 3 MiB -figures remain proposals. Preparation/record 8/16 MiB accounting, actual producer transport, +The selected Draft table is document 1/2 MiB, frame 2/4 MiB, combined 12/24 MiB, carrier/grant/ +stdout 3 MiB, response 5 MiB, preparation 16/32 MiB and record 9/17 MiB. Complete profiles, +HTTP/reply, storage and exports have separate table rows. These are proposals. Actual producer transport, original inventory commitments in complete receipts, Runtime/Runner integration, independent production recomputation, exact-head CI/review and normative adoption remain prerequisites. @@ -75,3 +78,78 @@ indexes, and edits set a literal `value` or `remove:true`; the driver never invo a reader to produce an expected value. `wireJson`, where present, fixes the exact received serialization for raw-frame identity. This avoids duplicating the entire snapshot/inventory for each negative case while retaining exact expanded wire data. + + +Run `python3 -B rfcs/retained-column-conversion/check.py --references-only` for this amendment's +focused checks. Present preparation input is exactly +`{state:"present",ref:{frameSha256:,location:"values"|"research-value"}}`; +missing is exactly `{state:"missing"}`. Parent `column` and the existing checked source/read/pointer +select the occurrence. Equal digests do not authorize different source/profile/receipt occurrences. +`values` resolves compact string/null JSON; `research-value` resolves exact `valueJson` contents. +Results, omission reasons, metadata and conditional original research identities remain per target. +Preview diagnostics may show input JSON, but inline input JSON is no longer preparation syntax. + +`{verifyLineage:{rule,frame,transformation,profile?}}` compares the complete recomputed fragment. +It returns `acquisition:"not-verified"` on consistency: it authenticates no source, receipt or +history. Actual raw frame tokens are extracted before any reserialization; no `frameJson`, +network/digest-store lookup, canonical rehash or fallback is introduced. A standalone fragment +without its retained bound occurrence remains unverifiable. Production wrong-source checks +must retain the existing read/profile/receipt bindings even when frame bytes are equal. + +`{retainSource:{source}}` checks the closed generated custody slot, exactly `{response:}` OR `{retainedResponseJson:}`. It returns sole +exact text. `signedResponseFragment` closes `{result,receipt,salts}` only; the existing full +receipt/salts schema, frozen request, signature, profile, producer inventory and freshness +verification remain mandatory. Labelled empty receipt/salts objects are intentionally only +structural examples. `retainCase:{source}` checks the case custody slot, `{case:}` OR +`{retainedCaseJson:}`, and returns sole exact text. This slot's +closure does not remove permitted enclosing mapping/source/import siblings. Both probes reject +dual forms, null/empty/wrong-case text, duplicate names and nonobjects. Their line bound is a +prototype limit; they provide no production admission, preparation or supported-role claim. + +Successful production Draft retention must preserve the exact envelope/case and frame through +HTTP, storage, offline verification and export, materializing transient objects only. Hashes +identify raw custody, while existing signatures bind canonical result content; outer whitespace +is not signed. The original snapshot string remains authenticated canonical result content. +The complete original case/provenance and producer-v2 inventory guards remain unchanged. + +The RFC's serialization ledger charges every JSON string layer, both changed documents, +bindings, siblings, provenance, receipts/signatures and all per-target results/basis metadata. +`--references-only` includes tiny encoder-specific byte measurements and changed safeguard +controls, while reusing unchanged producer guard evidence. The former combined arithmetic +omitted exact-text escaping and no longer supplies complete-envelope maxima. The earlier +6/12 MiB combined, 3 MiB response and 8/16 MiB preparation targets are superseded by the +complete table above. Conditional arithmetic/encoder evidence is not actual product-boundary +proof, adopted ceilings or established parity. The ordinary Runner TAB witness and diagnostic +reference substitution motivate this amendment; they do not establish actual reference-path +preparation or global bounds. Full integrated checklist/CI, independent review, producer/consumer +integration, normative disposition and immutable adoption identities remain separate work. + + +Run `python3 -B rfcs/retained-column-conversion/check.py --limits-only` for the affected cap, +role and selector slice. Handwritten exact-cap/one-over expectations cover all complete-artifact +members, caller/reporter lower limits, independent profile caps and matching but untrusted +identity tuples. The driver calls both actual admission functions with effect counters and +removes each changed safeguard at its intended assertion. It does not allocate maximum-size +product artifacts; `sizes` remains an instrumented reported-size seam. The prior reference, +producer and conversion expectations are preserved, and their unchanged suites are not repeated +by this focused option. The stable integrated default gate also includes the new cap slice. + +`selectionFragment` is the closed `{contract,spec,profile,roles}` envelope. Roles are unique and +in the RFC's fixed five-role order. `{selection:{selector,role}}` probes one trusted endpoint-role +requirement before the callback. Real hosts obtain the complete role set from local operation +metadata, compare to their trusted installed package, validate before a larger read, and persist +the exact selector as optional enclosing `conversionContract` across source/preparation/release/run/ +checkpoint custody. It does not relax the inner closed case/response slot; existing complete-object +signing/binding includes it. No route/header or +base64 encoding is normative here. Absence preserves ordinary behavior; body fields, binary +versions and equal frame hashes cannot infer selection. Extended examples test conditional Draft +grammar only and grant no end-to-end Extended preparation support. Runtime document-validation +may separately implement Extended; that does not infer a Runner role or remove existing behavior. + +The complete ledger explicitly counts the sole retained case/response JSON string escaping, +independent release.sample and run.input copies, third input mapping, record delta and raw-audit +base64 sidecars. Source-shaped arithmetic and structural encoder probes are evidence for the +proposal only. Product boundaries, trusted producer history, actual Runtime record behavior, +ordinary defaults, independent review, immutable pins and normative adoption remain parent-owned +integration/release gates. No complete #171 or published support claim follows from these files. diff --git a/rfcs/retained-column-conversion/cases.json b/rfcs/retained-column-conversion/cases.json index b5119da..a66b931 100644 --- a/rfcs/retained-column-conversion/cases.json +++ b/rfcs/retained-column-conversion/cases.json @@ -877,1898 +877,6546 @@ } ], "interfaceCases": [ - {"id":"carrier-negative-zero","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{\"value\":-0}","originalSnapshotSha256":"sha256:9c42950cfdae8b61c50c4abc09ce4eaf0ddf4b607f8324d8f1f07e8fd2c93b20","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"originalSnapshotJson":"{\"value\":-0}","originalSnapshotSha256":"sha256:9c42950cfdae8b61c50c4abc09ce4eaf0ddf4b607f8324d8f1f07e8fd2c93b20","originalSnapshotBytes":12}}, - {"id":"carrier-positive-zero","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{\"value\":0}","originalSnapshotSha256":"sha256:23d7b286bd429460b92a2a1c21b6afc34110446c5034c17363fda363aa0a7c5d","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"originalSnapshotJson":"{\"value\":0}","originalSnapshotSha256":"sha256:23d7b286bd429460b92a2a1c21b6afc34110446c5034c17363fda363aa0a7c5d","originalSnapshotBytes":11}}, - {"id":"carrier-exponent-escaped","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{ \"value\":1e3,\"label\":\"\\u00e9\" }\n","originalSnapshotSha256":"sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"originalSnapshotJson":"{ \"value\":1e3,\"label\":\"\\u00e9\" }\n","originalSnapshotSha256":"sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87","originalSnapshotBytes":33}}, - {"id":"carrier-integer-unicode","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{\"value\":1000,\"label\":\"\u00e9\"}","originalSnapshotSha256":"sha256:4b695b28cee6df187fe2b9aee32ba201c2b0f3e335ffb6f681b194a3b69ad123","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"originalSnapshotJson":"{\"value\":1000,\"label\":\"\u00e9\"}","originalSnapshotSha256":"sha256:4b695b28cee6df187fe2b9aee32ba201c2b0f3e335ffb6f681b194a3b69ad123","originalSnapshotBytes":27}}, - {"id":"carrier-legacy-surrogate","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{\"legacy\":\"\\ud800\"}","originalSnapshotSha256":"sha256:b6a6140a9226b40b57decd7d8c5739d0b8973ee306c095185d4f6cfac52b0ab1","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"originalSnapshotJson":"{\"legacy\":\"\\ud800\"}","originalSnapshotSha256":"sha256:b6a6140a9226b40b57decd7d8c5739d0b8973ee306c095185d4f6cfac52b0ab1","originalSnapshotBytes":19}}, - {"id":"carrier-digest","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{ \"value\":1e3,\"label\":\"\\u00e9\" }\n","originalSnapshotSha256":"sha256:0000000000000000000000000000000000000000000000000000000000000000","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"refusal":"snapshot-digest"}}, - {"id":"carrier-object-embedding","request":{"restore":{"contractVersion":"1","originalSnapshotJson":{"value":1000},"originalSnapshotSha256":"sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"refusal":"input-malformed"}}, - {"id":"carrier-missing-digest","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{ \"value\":1e3,\"label\":\"\\u00e9\" }\n","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"refusal":"input-malformed"}}, - {"id":"carrier-unknown-member","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{ \"value\":1e3,\"label\":\"\\u00e9\" }\n","originalSnapshotSha256":"sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}},"snapshot":{}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"refusal":"input-malformed"}}, - {"id":"carrier-version","request":{"restore":{"contractVersion":"2","originalSnapshotJson":"{ \"value\":1e3,\"label\":\"\\u00e9\" }\n","originalSnapshotSha256":"sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"refusal":"input-malformed"}}, - {"id":"carrier-asserted-frame","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{ \"value\":1e3,\"label\":\"\\u00e9\" }\n","originalSnapshotSha256":"sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87","retained":{"contractVersion":"1","origin":"asserted","values":{"Eligible":"NO","Evidence":"absent","Historical":null},"research":null}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"refusal":"input-malformed"}}, - {"id":"carrier-snapshot-one-over","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{ \"value\":1e3,\"label\":\"\\u00e9\" }\n","originalSnapshotSha256":"sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":32,"carrierBytes":3145728}},"expected":{"refusal":"input-over-bound"}}, - {"id":"carrier-duplicate-snapshot","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{\"a\":0,\"a\":1}","originalSnapshotSha256":"sha256:8bad01d70be2cb2a3ec527d5412ca6bf6f8d4e4023331f9ecafe5cb682e33b94","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"refusal":"input-malformed"}}, - {"id":"carrier-non-object","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"[]","originalSnapshotSha256":"sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"refusal":"input-malformed"}}, - {"id":"carrier-complete-at","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{ \"value\":1e3,\"label\":\"\\u00e9\" }\n","originalSnapshotSha256":"sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":663}},"expected":{"originalSnapshotJson":"{ \"value\":1e3,\"label\":\"\\u00e9\" }\n","originalSnapshotSha256":"sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87","originalSnapshotBytes":33}}, - {"id":"carrier-complete-over","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{ \"value\":1e3,\"label\":\"\\u00e9\" }\n","originalSnapshotSha256":"sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":662}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-document-validation-base","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"document-validation","limits":{"documentBytes":1048576,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"document-validation","limits":{"documentBytes":1048576,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"frameBytes":2097152}}},"expected":{"admitted":true}}, - {"id":"admission-over-document-validation-base-documentBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"document-validation","limits":{"documentBytes":1048576,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"document-validation","limits":{"documentBytes":1048576,"frameBytes":2097152}},"sizes":{"documentBytes":1048577,"frameBytes":2097152}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-document-validation-base-frameBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"document-validation","limits":{"documentBytes":1048576,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"document-validation","limits":{"documentBytes":1048576,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"frameBytes":2097153}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-document-validation-extended","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"document-validation","limits":{"documentBytes":2097152,"frameBytes":4194304}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"document-validation","limits":{"documentBytes":2097152,"frameBytes":4194304}},"sizes":{"documentBytes":2097152,"frameBytes":4194304}}},"expected":{"admitted":true}}, - {"id":"admission-over-document-validation-extended-documentBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"document-validation","limits":{"documentBytes":2097152,"frameBytes":4194304}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"document-validation","limits":{"documentBytes":2097152,"frameBytes":4194304}},"sizes":{"documentBytes":2097153,"frameBytes":4194304}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-document-validation-extended-frameBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"document-validation","limits":{"documentBytes":2097152,"frameBytes":4194304}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"document-validation","limits":{"documentBytes":2097152,"frameBytes":4194304}},"sizes":{"documentBytes":2097152,"frameBytes":4194305}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-preview-base","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"admitted":true}}, - {"id":"admission-over-preview-base-documentBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048577,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preview-base-combinedBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291457,"frameBytes":2097152}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preview-base-frameBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097153}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-preview-extended","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preview","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preview","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304}},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304}}},"expected":{"admitted":true}}, - {"id":"admission-over-preview-extended-documentBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preview","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preview","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304}},"sizes":{"documentBytes":2097153,"combinedBytes":12582912,"frameBytes":4194304}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preview-extended-combinedBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preview","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preview","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304}},"sizes":{"documentBytes":2097152,"combinedBytes":12582913,"frameBytes":4194304}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preview-extended-frameBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preview","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preview","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304}},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194305}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-preparation-base","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}},"expected":{"admitted":true}}, - {"id":"admission-over-preparation-base-documentBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048577,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-base-combinedBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048576,"combinedBytes":6291457,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-base-frameBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097153,"preparationBytes":8388608,"recordBytes":8388608}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-base-preparationBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388609,"recordBytes":8388608}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-base-recordBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388609}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-preparation-extended","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}},"expected":{"admitted":true}}, - {"id":"admission-over-preparation-extended-documentBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097153,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-extended-combinedBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097152,"combinedBytes":12582913,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-extended-frameBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194305,"preparationBytes":16777216,"recordBytes":16777216}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-extended-preparationBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777217,"recordBytes":16777216}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-extended-recordBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777217}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-preparation-verification-base","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}},"expected":{"admitted":true}}, - {"id":"admission-over-preparation-verification-base-documentBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048577,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-verification-base-combinedBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048576,"combinedBytes":6291457,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-verification-base-frameBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097153,"preparationBytes":8388608,"recordBytes":8388608}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-verification-base-preparationBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388609,"recordBytes":8388608}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-verification-base-recordBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388609}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-preparation-verification-extended","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}},"expected":{"admitted":true}}, - {"id":"admission-over-preparation-verification-extended-documentBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097153,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-verification-extended-combinedBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097152,"combinedBytes":12582913,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-verification-extended-frameBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194305,"preparationBytes":16777216,"recordBytes":16777216}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-verification-extended-preparationBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777217,"recordBytes":16777216}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-preparation-verification-extended-recordBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777217}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-producer-carrier-base","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"admitted":true}}, - {"id":"admission-over-producer-carrier-base-originalSnapshotBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524289,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-producer-carrier-base-carrierBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145729,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-producer-carrier-base-grantBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145729,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-producer-carrier-base-adapterStdoutBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145729,"responseBytes":3145728}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-producer-carrier-base-responseBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145729}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-producer-carrier-extended","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"admitted":true}}, - {"id":"admission-over-producer-carrier-extended-originalSnapshotBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524289,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-producer-carrier-extended-carrierBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145729,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-producer-carrier-extended-grantBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145729,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-producer-carrier-extended-adapterStdoutBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145729,"responseBytes":3145728}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-over-producer-carrier-extended-responseBytes","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145729}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-absent","request":{"admission":{"capabilities":{"conversionContracts":[]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-missing-role","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-unknown-role","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"execution","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-unknown-contract","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/2","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-unknown-profile","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"huge","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-unsupported-role","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"document-validation","limits":{"documentBytes":1048576,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-missing-limit","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-extra-limit","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-extra-member","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152},"semanticValidation":true}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-weak-limit","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291455,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"input-over-bound"}}, - {"id":"admission-duplicate-entry","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-identity-version","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-other","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-identity-revision","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-identity-schemaSha256","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:3333333333333333333333333333333333333333333333333333333333333333","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-identity-corpusSha256","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:4444444444444444444444444444444444444444444444444444444444444444"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"lineage-original-revision7","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","json":"-0"},"result":{"state":"value","json":"-0"},"researchIdentity":{"recipeRevision":"recipe:7","fieldSha256":"sha256:4d1437f1903fcd9600171a17dd483464d441b3946d809aaa69690a56a6a8bd81"}}}, - {"id":"original-revision-mismatch","request":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:8","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"expected":{"issues":["research-declaration"],"claimAdmissible":false}}, - {"id":"original-declaration-unavailable","request":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":null,"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"expected":{"issues":["research-declaration"],"claimAdmissible":false}}, - {"id":"original-raw-absent","request":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"expected":{"issues":["research-type"],"claimAdmissible":false}}, - {"id":"original-raw-null","request":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"null"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"expected":{"issues":["research-type"],"claimAdmissible":false}}, - {"id":"original-raw-empty","request":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":""},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"expected":{"issues":["research-type"],"claimAdmissible":false}}, - {"id":"original-unavailable-before-raw","request":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"missing","valueJson":"bad"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"expected":{"issues":[],"omitted":"unavailable","claimAdmissible":false}}, - {"id":"original-legacy-surrogate-preview","request":{"rule":{"contractVersion":"1","column":"B","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"expected":{"issues":[],"valueJson":"\"\\ud800\"","claimAdmissible":false}}, - {"id":"lineage-legacy-surrogate-refused","request":{"lineage":{"rule":{"contractVersion":"1","column":"B","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}}},"expected":{"refusal":"read-failed"}}, - {"id":"lineage-asserted-missing","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"text"},"frame":{"contractVersion":"1","origin":"asserted","values":{},"research":null}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"missing"},"result":{"state":"omitted","reason":"missing"}}}, - {"id":"lineage-asserted-null","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"text"},"frame":{"contractVersion":"1","origin":"asserted","values":{"A":null},"research":null}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","json":"null"},"result":{"state":"omitted","reason":"legacy-null"}}}, - {"id":"lineage-asserted-empty","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"text"},"frame":{"contractVersion":"1","origin":"asserted","values":{"A":""},"research":null}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","json":"\"\""},"result":{"state":"omitted","reason":"blank"}}}, - {"id":"lineage-asserted-text","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"text"},"frame":{"contractVersion":"1","origin":"asserted","values":{"A":"\u00e9\n"},"research":null}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","json":"\"\u00e9\\n\""},"result":{"state":"value","json":"\"\u00e9\\n\""}}}, - {"id":"admission-different-known-profile","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-role-wrong-type","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":[],"limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-limit-wrong-type","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":"6291456","frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-limit-zero","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":0,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-missing-size","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"frameBytes":2097152}}},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-negative-size","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":-1,"frameBytes":2097152}}},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-missing-spec-pin","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preview","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152}}},"expected":{"refusal":"input-malformed"}}, - {"id":"lineage-unavailable-raw-missing","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"missing"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"missing"},"result":{"state":"omitted","reason":"unavailable"},"researchIdentity":{"recipeRevision":"recipe:7","fieldSha256":"sha256:4d1437f1903fcd9600171a17dd483464d441b3946d809aaa69690a56a6a8bd81"}}}, - {"id":"lineage-unavailable-raw-null","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"missing","valueJson":"null"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","json":"null"},"result":{"state":"omitted","reason":"unavailable"},"researchIdentity":{"recipeRevision":"recipe:7","fieldSha256":"sha256:4d1437f1903fcd9600171a17dd483464d441b3946d809aaa69690a56a6a8bd81"}}}, - {"id":"lineage-unavailable-raw-empty","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"missing","valueJson":""},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","json":""},"result":{"state":"omitted","reason":"unavailable"},"researchIdentity":{"recipeRevision":"recipe:7","fieldSha256":"sha256:4d1437f1903fcd9600171a17dd483464d441b3946d809aaa69690a56a6a8bd81"}}}, - {"id":"carrier-generated-full-provenance","request":{"restore":{"contractVersion":"1","originalSnapshotJson":"{\"origin\":{\"source\":\"source:original\",\"recipeRevision\":\"recipe:7\",\"receipt\":\"receipt:original\"},\"values\":{\"A\":\"-0\",\"B\":\"legacy\"},\"acquisitions\":[{\"source\":\"sibling:1\",\"receipt\":\"receipt:sibling\"}],\"fields\":{\"A\":{\"status\":\"supported\",\"valueJson\":\"-0\"},\"B\":{\"status\":\"interpretation\",\"valueJson\":\"\\\"\\\\ud800\\\"\"}}}","originalSnapshotSha256":"sha256:db9ac0beecaec9714510fc3fa66677564b6dcf1c6fee754d43d343a07ff24f9b","retained":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}},"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"originalSnapshotJson":"{\"origin\":{\"source\":\"source:original\",\"recipeRevision\":\"recipe:7\",\"receipt\":\"receipt:original\"},\"values\":{\"A\":\"-0\",\"B\":\"legacy\"},\"acquisitions\":[{\"source\":\"sibling:1\",\"receipt\":\"receipt:sibling\"}],\"fields\":{\"A\":{\"status\":\"supported\",\"valueJson\":\"-0\"},\"B\":{\"status\":\"interpretation\",\"valueJson\":\"\\\"\\\\ud800\\\"\"}}}","originalSnapshotSha256":"sha256:db9ac0beecaec9714510fc3fa66677564b6dcf1c6fee754d43d343a07ff24f9b","originalSnapshotBytes":310}}, - {"id":"lineage-malformed-null","request":{"lineage":null},"expected":{"refusal":"input-malformed"}}, - {"id":"lineage-malformed-array","request":{"lineage":[]},"expected":{"refusal":"input-malformed"}}, - {"id":"lineage-malformed-empty","request":{"lineage":""},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-malformed-null","request":{"admission":null},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-malformed-array","request":{"admission":[]},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-malformed-empty","request":{"admission":""},"expected":{"refusal":"input-malformed"}}, - {"id":"restore-malformed-null","request":{"restore":null,"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"refusal":"input-malformed"}}, - {"id":"restore-malformed-array","request":{"restore":[],"profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"refusal":"input-malformed"}}, - {"id":"restore-malformed-empty","request":{"restore":"","profile":"base","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728}},"expected":{"refusal":"input-malformed"}}, - {"id":"admission-producer-grammar","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728},"producerGrammar":"desk-reviewed-input/1"}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728},"producerGrammar":"desk-reviewed-input/1"},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"admitted":true}}, - {"id":"admission-producer-missing-grammar","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728},"producerGrammar":"desk-reviewed-input/1"},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-producer-unknown-grammar","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728},"producerGrammar":"other/1"}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728},"producerGrammar":"desk-reviewed-input/1"},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-producer-missing-conversion-contracts","request":{"admission":{"capabilities":{},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"producer-carrier","limits":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728},"producerGrammar":"desk-reviewed-input/1"},"sizes":{"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":3145728}}},"expected":{"refusal":"capability-unsupported"}}, - {"id":"admission-grammar-preparation-base","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608},"producerGrammar":"desk-reviewed-input/1"}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608},"producerGrammar":"desk-reviewed-input/1"},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}},"expected":{"admitted":true}}, - {"id":"admission-grammar-preparation-extended","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216},"producerGrammar":"desk-reviewed-input/1"}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216},"producerGrammar":"desk-reviewed-input/1"},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}},"expected":{"admitted":true}}, - {"id":"admission-grammar-preparation-verification-base","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608},"producerGrammar":"desk-reviewed-input/1"}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"base","role":"preparation-verification","limits":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608},"producerGrammar":"desk-reviewed-input/1"},"sizes":{"documentBytes":1048576,"combinedBytes":6291456,"frameBytes":2097152,"preparationBytes":8388608,"recordBytes":8388608}}},"expected":{"admitted":true}}, - {"id":"admission-grammar-preparation-verification-extended","request":{"admission":{"capabilities":{"conversionContracts":[{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216},"producerGrammar":"desk-reviewed-input/1"}]},"required":{"contract":"retained-column/1","spec":{"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"},"profile":"extended","role":"preparation-verification","limits":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216},"producerGrammar":"desk-reviewed-input/1"},"sizes":{"documentBytes":2097152,"combinedBytes":12582912,"frameBytes":4194304,"preparationBytes":16777216,"recordBytes":16777216}}},"expected":{"admitted":true}} - ], - "producerCases": [ { - "id": "producer-original-type-text" + "id": "carrier-negative-zero", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{\"value\":-0}", + "originalSnapshotSha256": "sha256:9c42950cfdae8b61c50c4abc09ce4eaf0ddf4b607f8324d8f1f07e8fd2c93b20", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } + }, + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 + } + }, + "expected": { + "originalSnapshotJson": "{\"value\":-0}", + "originalSnapshotSha256": "sha256:9c42950cfdae8b61c50c4abc09ce4eaf0ddf4b607f8324d8f1f07e8fd2c93b20", + "originalSnapshotBytes": 12 + } }, { - "id": "producer-original-type-integer", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "Integer" - } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "column" - ], - "value": "Integer" - }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "-0" - }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "-0" + "id": "carrier-positive-zero", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{\"value\":0}", + "originalSnapshotSha256": "sha256:23d7b286bd429460b92a2a1c21b6afc34110446c5034c17363fda363aa0a7c5d", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "researchIdentity", - "fieldSha256" - ], - "value": "sha256:eb500d8bd1a106b052e2963f12263e75b1cf0e4d593a7d1a6fd3651c1715db8a" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 } - ] + }, + "expected": { + "originalSnapshotJson": "{\"value\":0}", + "originalSnapshotSha256": "sha256:23d7b286bd429460b92a2a1c21b6afc34110446c5034c17363fda363aa0a7c5d", + "originalSnapshotBytes": 11 + } }, { - "id": "producer-original-type-decimal", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "Decimal" - } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "column" - ], - "value": "Decimal" - }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "\"1.2300\"" + "id": "carrier-exponent-escaped", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "originalSnapshotSha256": "sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "\"1.2300\"" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 + } + }, + "expected": { + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "originalSnapshotSha256": "sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87", + "originalSnapshotBytes": 33 + } + }, + { + "id": "carrier-integer-unicode", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{\"value\":1000,\"label\":\"é\"}", + "originalSnapshotSha256": "sha256:4b695b28cee6df187fe2b9aee32ba201c2b0f3e335ffb6f681b194a3b69ad123", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "researchIdentity", - "fieldSha256" - ], - "value": "sha256:1e96f41174e008b55a85766badc3a1b474145b5dae98709713c83285b99d898c" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 } - ] + }, + "expected": { + "originalSnapshotJson": "{\"value\":1000,\"label\":\"é\"}", + "originalSnapshotSha256": "sha256:4b695b28cee6df187fe2b9aee32ba201c2b0f3e335ffb6f681b194a3b69ad123", + "originalSnapshotBytes": 27 + } }, { - "id": "producer-original-type-boolean", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "Boolean" + "id": "carrier-legacy-surrogate", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{\"legacy\":\"\\ud800\"}", + "originalSnapshotSha256": "sha256:b6a6140a9226b40b57decd7d8c5739d0b8973ee306c095185d4f6cfac52b0ab1", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } + }, + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "column" - ], - "value": "Boolean" + }, + "expected": { + "originalSnapshotJson": "{\"legacy\":\"\\ud800\"}", + "originalSnapshotSha256": "sha256:b6a6140a9226b40b57decd7d8c5739d0b8973ee306c095185d4f6cfac52b0ab1", + "originalSnapshotBytes": 19 + } + }, + { + "id": "carrier-digest", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "originalSnapshotSha256": "sha256:0000000000000000000000000000000000000000000000000000000000000000", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "false" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 + } + }, + "expected": { + "refusal": "snapshot-digest" + } + }, + { + "id": "carrier-object-embedding", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": { + "value": 1000 + }, + "originalSnapshotSha256": "sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "false" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "carrier-missing-digest", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "researchIdentity", - "fieldSha256" - ], - "value": "sha256:6bbd6a1d2d192a87512cb5e5477aca6a6e30f90580ff2e8022172abf26b748f7" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 } - ] + }, + "expected": { + "refusal": "input-malformed" + } }, { - "id": "producer-original-type-text-list", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "List" + "id": "carrier-unknown-member", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "originalSnapshotSha256": "sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + }, + "snapshot": {} + }, + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "column" - ], - "value": "List" + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "carrier-version", + "request": { + "restore": { + "contractVersion": "2", + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "originalSnapshotSha256": "sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "[]" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "carrier-asserted-frame", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "originalSnapshotSha256": "sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87", + "retained": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "Eligible": "NO", + "Evidence": "absent", + "Historical": null + }, + "research": null + } }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "[]" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "carrier-snapshot-one-over", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "originalSnapshotSha256": "sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "researchIdentity", - "fieldSha256" - ], - "value": "sha256:b83dd6a3e1df1b8605aff28ae3bb6e3bbd9a5a072adf6421cb5fda9f997cc023" + "profile": "base", + "limits": { + "originalSnapshotBytes": 32, + "carrierBytes": 3145728 } - ] + }, + "expected": { + "refusal": "input-over-bound" + } }, { - "id": "producer-original-type-range", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "Range" - } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "column" - ], - "value": "Range" - }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "{\"min\":\"1.00\",\"max\":\"2.0\"}" - }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "{\"min\":\"1.00\",\"max\":\"2.0\"}" + "id": "carrier-duplicate-snapshot", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{\"a\":0,\"a\":1}", + "originalSnapshotSha256": "sha256:8bad01d70be2cb2a3ec527d5412ca6bf6f8d4e4023331f9ecafe5cb682e33b94", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "researchIdentity", - "fieldSha256" - ], - "value": "sha256:d463e0f77bf2c28fa7c6c2fcd70c2aab4ce341e99486f1a25eca6642166d0a46" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 } - ] + }, + "expected": { + "refusal": "input-malformed" + } }, { - "id": "producer-original-type-string", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "String" - } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "column" - ], - "value": "String" - }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "\"\"" - }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "\"\"" + "id": "carrier-non-object", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "[]", + "originalSnapshotSha256": "sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "researchIdentity", - "fieldSha256" - ], - "value": "sha256:60e84d0fe0de00c95ffed8b8a36d4dc798118c29efed18dac23449f47ca8be39" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 } - ] + }, + "expected": { + "refusal": "input-malformed" + } }, { - "id": "producer-original-type-number", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "Number" - } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "column" - ], - "value": "Number" - }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "-0" + "id": "carrier-complete-at", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "originalSnapshotSha256": "sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "-0" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 663 + } + }, + "expected": { + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "originalSnapshotSha256": "sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87", + "originalSnapshotBytes": 33 + } + }, + { + "id": "carrier-complete-over", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "originalSnapshotSha256": "sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } }, - { - "path": [ - "transformation", - "researchIdentity", - "fieldSha256" - ], - "value": "sha256:78fc205fa9a01e82bb0442bffd41f6c3e8ccd611d655d490c252f4c8c2a99898" + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 662 } - ] + }, + "expected": { + "refusal": "input-over-bound" + } }, { - "id": "producer-kind-text", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "kind" - ], - "value": "text" + "id": "admission-document-validation-base", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "researchIdentity" - ], - "remove": true + }, + "expected": { + "admitted": true + } + }, + { + "id": "admission-over-document-validation-base-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048577, + "frameBytes": 2097152 + } } - ] + }, + "expected": { + "refusal": "input-over-bound" + } }, { - "id": "producer-kind-decimal", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "Decimal" - }, - { - "path": [ - "generatedConsistency", - "rule", - "kind" - ], - "value": "decimal" + "id": "admission-over-document-validation-base-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048576, + "frameBytes": 2097153 + } } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "researchIdentity" - ], - "remove": true - }, - { - "path": [ - "transformation", - "column" - ], - "value": "Decimal" - }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "\"1.2300\"" - }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "\"1.2300\"" + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-document-validation-extended", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + }, + "sizes": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } } - ] + }, + "expected": { + "admitted": true + } }, { - "id": "producer-kind-number", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "Number" - }, - { - "path": [ - "generatedConsistency", - "rule", - "kind" - ], - "value": "number" + "id": "admission-over-document-validation-extended-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + }, + "sizes": { + "documentBytes": 2097153, + "frameBytes": 4194304 + } } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "researchIdentity" - ], - "remove": true - }, - { - "path": [ - "transformation", - "column" - ], - "value": "Number" - }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "\"-0\"" - }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "-0" - } - ] + }, + "expected": { + "refusal": "input-over-bound" + } }, { - "id": "producer-kind-boolean", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "Boolean" - }, - { - "path": [ - "generatedConsistency", - "rule", - "kind" - ], - "value": "boolean" - }, - { - "path": [ - "generatedConsistency", - "rule", - "trueValue" - ], - "value": "true" - }, - { - "path": [ - "generatedConsistency", - "rule", - "falseValue" - ], - "value": "false" + "id": "admission-over-document-validation-extended-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + }, + "sizes": { + "documentBytes": 2097152, + "frameBytes": 4194305 + } } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "researchIdentity" - ], - "remove": true - }, - { - "path": [ - "transformation", - "column" - ], - "value": "Boolean" - }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "\"false\"" - }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "false" + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-preview-base", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } } - ] + }, + "expected": { + "admitted": true + } }, { - "id": "producer-kind-evidence-availability", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "Evidence" - }, - { - "path": [ - "generatedConsistency", - "rule", - "kind" - ], - "value": "evidence-availability" + "id": "admission-over-preview-base-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048577, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } } - ], - "expectedPatch": [ - { - "path": [ - "transformation", - "researchIdentity" - ], - "remove": true - }, - { - "path": [ - "transformation", - "column" - ], - "value": "Evidence" - }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "\"present\"" - }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "\"present\"" + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-over-preview-base-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291457, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } } - ] + }, + "expected": { + "refusal": "input-over-bound" + } }, { - "id": "producer-omitted-unselected-declaration", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields" - ], - "value": [ - { - "name": "Text", - "fieldJson": "{\"type\":\"text\",\"name\":\"Text\",\"description\":\"A \\u0042 / kept\"}" + "id": "admission-over-preview-base-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Integer", - "fieldJson": "{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"}" + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097153, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-preview-extended", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Decimal", - "fieldJson": "{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"}" + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "admission-over-preview-extended-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Boolean", - "fieldJson": "{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"}" + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + }, + "sizes": { + "documentBytes": 2097153, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-over-preview-extended-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "List", - "fieldJson": "{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"}" + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582913, + "frameBytes": 4194304, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-over-preview-extended-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Range", - "fieldJson": "{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"}" + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194305, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-preparation-base", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "String", - "fieldJson": "{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"}" + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "admission-over-preparation-base-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Number", - "fieldJson": "{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"}" + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 } - ] - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:6dc48a2dc5e7c7119c4377754526a6164390c0106557b36cc59aa461aff5f4bc" + }, + "sizes": { + "documentBytes": 1048577, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "refusal": "input-over-bound" } }, { - "id": "producer-extra-declaration", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields" - ], - "value": [ - { - "name": "Text", - "fieldJson": "{\"type\":\"text\",\"name\":\"Text\",\"description\":\"A \\u0042 / kept\"}" + "id": "admission-over-preparation-base-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Integer", - "fieldJson": "{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"}" + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291457, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-over-preparation-base-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Decimal", - "fieldJson": "{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"}" + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097153, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-over-preparation-base-preparationBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Boolean", - "fieldJson": "{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"}" + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388609, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-over-preparation-base-recordBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "List", - "fieldJson": "{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"}" + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388609, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-preparation-extended", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Range", - "fieldJson": "{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"}" + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "admission-over-preparation-extended-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "String", - "fieldJson": "{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"}" + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097153, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-over-preparation-extended-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Number", - "fieldJson": "{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"}" + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582913, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-over-preparation-extended-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Evidence", - "fieldJson": "{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}" + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194305, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-over-preparation-extended-preparationBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" }, - { - "name": "Extra", - "fieldJson": "{\"name\":\"Extra\",\"type\":\"text\"}" + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 } - ] - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:680ffbb2a99ce0a0577e0faeed3c8a9b06da5ccd5c2d546469ffbb3299e209ac" + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777217, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "refusal": "input-over-bound" } }, { - "id": "producer-reordered-declarations", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 0, - "name" - ], - "value": "Evidence" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 0, - "fieldJson" - ], - "value": "{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 1, - "name" - ], - "value": "Number" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 1, - "fieldJson" - ], - "value": "{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 2, - "name" - ], - "value": "String" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 2, - "fieldJson" - ], - "value": "{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 3, - "name" - ], - "value": "Range" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 3, - "fieldJson" - ], - "value": "{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 5, - "name" - ], - "value": "Boolean" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 5, - "fieldJson" - ], - "value": "{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 6, - "name" - ], - "value": "Decimal" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 6, - "fieldJson" - ], - "value": "{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 7, - "name" - ], - "value": "Integer" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 7, - "fieldJson" - ], - "value": "{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 8, - "name" - ], - "value": "Text" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 8, - "fieldJson" - ], - "value": "{\"type\":\"text\",\"name\":\"Text\",\"description\":\"A \\u0042 / kept\"}" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:c227d6757513533c9b93770f98ed22eed4bcbe63dbcb5d155d59ad9218530a79" + "id": "admission-over-preparation-extended-recordBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777217, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "refusal": "input-over-bound" } }, { - "id": "producer-unselected-description", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 7, - "fieldJson" - ], - "value": "{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Changed unselected\"}" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:3504a7050aaa6a156a66f166dcf75d365344818cd68d0f3ea137fc55d8328692" + "id": "admission-preparation-verification-base", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "admitted": true } }, { - "id": "producer-semantic-equal-escape-changed", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "fields", - 0, - "fieldJson" - ], - "value": "{\"type\":\"text\",\"name\":\"Text\",\"description\":\"A B / kept\"}" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:5d2be429514f3e61c69bb39001aaccaaaadbae29c939e39dd4bb135f646166e3" + "id": "admission-over-preparation-verification-base-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048577, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "refusal": "input-over-bound" } }, { - "id": "producer-current-frame-revision", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "recordRecipeRevision" - ], - "value": "sha256:6ac1dde4e2cb90262060258a1cb1ee5ba2538f4822f427fb24110e9fbcbb69cf" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:fb457571371329a04b1fade5f1d7d7fc9061df62963bc088c1b774bcf70c9e49" + "id": "admission-over-preparation-verification-base-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291457, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "refusal": "input-over-bound" } }, { - "id": "producer-current-declaration-revision", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "recipeRevision" - ], - "value": "sha256:6ac1dde4e2cb90262060258a1cb1ee5ba2538f4822f427fb24110e9fbcbb69cf" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:bb405f4e16e2f1540c86e2e60b40640f1cbb83adea9e9e3ed2fde0d8e43ffcf5" + "id": "admission-over-preparation-verification-base-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097153, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "refusal": "input-over-bound" } }, { - "id": "producer-original-revision-missing", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:04042ad5b63806097cb0659c82e79e5df4d75d0afad863ff7529c1bba62ce98e" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:afe407f6b0cc167e8acece6172f8fa5bd285a2d28cc285bbc843007170dffa8e" + "id": "admission-over-preparation-verification-base-preparationBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388609, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "input-malformed" + "refusal": "input-over-bound" } }, { - "id": "producer-record-original-revision-mismatch", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":8,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:b04dfc4d28d5ad95484a01425164f7f7edf655e86c02d74cf8bba75381959198" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:ca450043b392071ef63ae4f97b2dbf7bcad0b504532cf1ba46bcbf5c4440e3c8" + "id": "admission-over-preparation-verification-base-recordBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388609, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "refusal": "input-over-bound" } }, { - "id": "producer-run-id-invalid", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_not-a-supported-id\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_not-a-supported-id\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:d5f624385882c468d63959c5dc3cf48e12fc45d8a3f1f2d4d67c517cc12851dd" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:ed94ef25281680ed9024c61fd0be27f8b229121003abffce66c29fa03cf441a6" + "id": "admission-preparation-verification-extended", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "input-malformed" + "admitted": true } }, { - "id": "producer-version-not-literal-integer", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7e0,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7e0,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:029d8697207f336d06f82ba36f0c2f00c2265b5b3aa0ba2de1d001313a839eea" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:fbbb8d37532788686ac488c4dcb4fcbf2b94bd134c16a7a729850d248bd7cdd6" + "id": "admission-over-preparation-verification-extended-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097153, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "input-malformed" + "refusal": "input-over-bound" } }, { - "id": "producer-original-fields-missing", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"notFields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:4d8102da1d96389e9bd6cc17ceca5042d6ae808242044f7ad84a27f599371a74" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:d7a3a3efdcf5199177c19903120e0efd136b4ac2b3b5e5e0282f2e9edb866bae" + "id": "admission-over-preparation-verification-extended-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582913, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "input-malformed" + "refusal": "input-over-bound" } }, { - "id": "producer-filtered-values-substitution", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "Integer" - ], - "remove": true - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "Decimal" - ], - "remove": true - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "Boolean" - ], - "remove": true - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "List" - ], - "remove": true - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "Range" - ], - "remove": true - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "String" - ], - "remove": true - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "Number" - ], - "remove": true - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "Evidence" - ], - "remove": true - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "Text" - ], - "value": "filtered visible" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:dec0c2a30ea2608c883da6897605e7af94bf2384f29905d85faf4ce4869900e7" + "id": "admission-over-preparation-verification-extended-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194305, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "refusal": "input-over-bound" } }, { - "id": "producer-zero-spelling-changed", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "fields", - "Integer", - "valueJson" - ], - "value": "0" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:a6ec27e3321e8b5e4fd15e9400cc6f778b6c7990ac8da6cb53df1d6de18b07ec" + "id": "admission-over-preparation-verification-extended-preparationBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777217, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "refusal": "input-over-bound" } }, { - "id": "producer-status-changed", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "fields", - "Boolean", - "status" - ], - "value": "missing" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:79a9715441fadd67b75df40914d14dd5da81f9da691f87a90dd0fa47f058a489" + "id": "admission-over-preparation-verification-extended-recordBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777217, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "refusal": "input-over-bound" } }, { - "id": "producer-typed-field-omitted", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "fields", - "Number" - ], - "remove": true - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:de2e06b3d161e7f255719d26618b510ef254bd1e9b96743aaf80b5a64063a06b" + "id": "admission-producer-carrier-base", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } } - ], + }, "expected": { - "refusal": "read-failed" + "admitted": true } }, { - "id": "producer-wrong-trusted-source", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "trustedProducer", - "source" - ], - "value": "other-source" + "id": "admission-over-producer-carrier-base-originalSnapshotBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524289, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } } - ], + }, "expected": { - "refusal": "profile-mismatch" + "refusal": "input-over-bound" } }, { - "id": "producer-asserted-trust", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "trustedProducer", - "class" - ], - "value": "asserted" + "id": "admission-over-producer-carrier-base-carrierBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145729, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } } - ], + }, "expected": { - "refusal": "profile-mismatch" + "refusal": "input-over-bound" } }, { - "id": "producer-record-trust", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "trustedProducer", - "class" - ], - "value": "record" + "id": "admission-over-producer-carrier-base-grantBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145729, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } } - ], + }, "expected": { - "refusal": "profile-mismatch" + "refusal": "input-over-bound" } }, { - "id": "producer-old-adapter", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "trustedProducer", - "adapter", - "version" - ], - "value": "1" + "id": "admission-over-producer-carrier-base-adapterStdoutBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145729, + "responseBytes": 3145728, + "profilesBytes": 0 + } } - ], + }, "expected": { - "refusal": "profile-mismatch" + "refusal": "input-over-bound" } }, { - "id": "producer-wrong-profile-digest", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "sourceBinding", - "profileDigest" - ], - "value": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" + "id": "admission-over-producer-carrier-base-responseBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145729, + "profilesBytes": 0 + } } - ], + }, "expected": { - "refusal": "profile-mismatch" + "refusal": "input-over-bound" } }, { - "id": "producer-unknown-grammar", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "trustedProducer", - "retainedColumnProducer", - "grammar" - ], - "value": "other/1" + "id": "admission-producer-carrier-extended", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } } - ], + }, "expected": { - "refusal": "capability-unsupported" + "admitted": true } }, { - "id": "producer-frame-origin-forged", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "origin" - ], - "value": "asserted" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:68cd89447354e38028c2e8ff1858a3ed6933a8b3237635ca495324d7913371fd" + "id": "admission-over-producer-carrier-extended-originalSnapshotBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524289, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } } - ], + }, "expected": { - "refusal": "input-malformed" + "refusal": "input-over-bound" } }, { - "id": "producer-updated-frame-old-receipt", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\"changed\",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\"changed\",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:00dacd4cd2c331a555ff9e2be0539e3e72256fef65617a34b9446bc73a673f99" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "Text" - ], - "value": "changed" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "fields", - "Text", - "valueJson" - ], - "value": "\"changed\"" + "id": "admission-over-producer-carrier-extended-carrierBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145729, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } } - ], + }, "expected": { - "refusal": "acquisition-invalid" + "refusal": "input-over-bound" } }, { - "id": "producer-duplicate-snapshot-key", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"cl\\u0061ss\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:4e9f48488441eca4b1f2dde38b0375e0e77776250716532d1a5c75b3beafd005" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:dcbe654b3137f922cb4fe820efdcc1633e280287e21d750e3fefa313f5e5874d" + "id": "admission-over-producer-carrier-extended-grantBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145729, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } } - ], + }, "expected": { - "refusal": "input-malformed" + "refusal": "input-over-bound" } }, { - "id": "producer-duplicate-nested-key", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"x\":1,\"\\u0078\":2}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:4b4cdd463cfb015c751ceec805c50405e3df6a4df6f36806084553ddb062b2bd" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:c867f92b9a9126be8e0959dbea823293b6a30030f0fe8699f34b9d0721703f75" + "id": "admission-over-producer-carrier-extended-adapterStdoutBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145729, + "responseBytes": 3145728, + "profilesBytes": 0 + } } - ], + }, "expected": { - "refusal": "input-malformed" + "refusal": "input-over-bound" } }, { - "id": "producer-duplicate-declaration-name", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:324b0b3ab4736cba4d1cbaa3ca96e10275a67da1e5ea734725979d96bf0f5cf4" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:3ce6a241f21d0c4aead23da0cfb4b9adedfed7e3b05650c51ecf261a3cec8c4e" + "id": "admission-over-producer-carrier-extended-responseBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145729, + "profilesBytes": 0 + } } - ], + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-absent", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-missing-role", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, "expected": { "refusal": "input-malformed" } }, { - "id": "producer-unavailable-absent", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"missing\",\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:7a489b2c5ba033f1bd8dde3c3dfc6426c395645120a2dd6c305a7e051e3aa526" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "fields", - "Boolean", - "valueJson" - ], - "remove": true - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "fields", - "Boolean", - "status" - ], - "value": "missing" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:b401945245ba15164f6c5d43fd8b897325ebd85f4e282ab1e0889469a4c5445c" - }, - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "Boolean" + "id": "admission-unknown-role", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "execution", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } } - ], - "expectedPatch": [ - { - "path": [ - "originalSnapshotSha256" - ], - "value": "sha256:7a489b2c5ba033f1bd8dde3c3dfc6426c395645120a2dd6c305a7e051e3aa526" + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-unknown-contract", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/2", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-unknown-profile", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "huge", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-unsupported-role", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-missing-limit", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "admission-extra-limit", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "admission-extra-member", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + }, + "semanticValidation": true + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "admission-weak-limit", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291455, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "admission-duplicate-entry", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "admission-identity-version", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-other", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-identity-revision", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-identity-schemaSha256", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:3333333333333333333333333333333333333333333333333333333333333333", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-identity-corpusSha256", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:4444444444444444444444444444444444444444444444444444444444444444" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + {"id":"lineage-original-revision7","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","ref":{"frameSha256":"sha256:9a36aa91e6097c7828dd0fa69cf1b2b1842ffcff01f61fd96267b1ad54933987","location":"research-value"}},"result":{"state":"value","json":"-0"},"researchIdentity":{"recipeRevision":"recipe:7","fieldSha256":"sha256:4d1437f1903fcd9600171a17dd483464d441b3946d809aaa69690a56a6a8bd81"}}}, + { + "id": "original-revision-mismatch", + "request": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "research-value" }, - { - "path": [ - "frameSha256" - ], - "value": "sha256:59453fa223eddd68728a4128c690aeafdeee1bff9971e53a54fafaa77856480a" + "frame": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:8", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } + }, + "expected": { + "issues": [ + "research-declaration" + ], + "claimAdmissible": false + } + }, + { + "id": "original-declaration-unavailable", + "request": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "research-value" }, - { - "path": [ - "projection", - "fields", - "Boolean", - "valueJson" - ], - "remove": true + "frame": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": null, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } + }, + "expected": { + "issues": [ + "research-declaration" + ], + "claimAdmissible": false + } + }, + { + "id": "original-raw-absent", + "request": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "research-value" }, - { - "path": [ - "projection", - "fields", - "Boolean", - "status" - ], - "value": "missing" + "frame": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } + }, + "expected": { + "issues": [ + "research-type" + ], + "claimAdmissible": false + } + }, + { + "id": "original-raw-null", + "request": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "research-value" }, - { - "path": [ - "transformation", - "column" - ], - "value": "Boolean" + "frame": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "null" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } + }, + "expected": { + "issues": [ + "research-type" + ], + "claimAdmissible": false + } + }, + { + "id": "original-raw-empty", + "request": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "research-value" }, - { - "path": [ - "transformation", - "input", - "json" - ], - "remove": true + "frame": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } + }, + "expected": { + "issues": [ + "research-type" + ], + "claimAdmissible": false + } + }, + { + "id": "original-unavailable-before-raw", + "request": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "research-value" }, - { - "path": [ - "transformation", - "input", - "state" - ], - "value": "missing" + "frame": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "missing", + "valueJson": "bad" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } + }, + "expected": { + "issues": [], + "omitted": "unavailable", + "claimAdmissible": false + } + }, + { + "id": "original-legacy-surrogate-preview", + "request": { + "rule": { + "contractVersion": "1", + "column": "B", + "kind": "research-value" }, + "frame": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } + }, + "expected": { + "issues": [], + "valueJson": "\"\\ud800\"", + "claimAdmissible": false + } + }, + {"id":"lineage-legacy-surrogate-refused","request":{"lineage":{"rule":{"contractVersion":"1","column":"B","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"supported","valueJson":"-0"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}}},"expected":{"refusal":"read-failed"}}, + {"id":"lineage-asserted-missing","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"text"},"frame":{"contractVersion":"1","origin":"asserted","values":{},"research":null}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"missing"},"result":{"state":"omitted","reason":"missing"}}}, + {"id":"lineage-asserted-null","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"text"},"frame":{"contractVersion":"1","origin":"asserted","values":{"A":null},"research":null}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","ref":{"frameSha256":"sha256:f46ab73a50de36aec1c34e96116a0389177b729d474cf63fadbb5e7b6f92c331","location":"values"}},"result":{"state":"omitted","reason":"legacy-null"}}}, + {"id":"lineage-asserted-empty","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"text"},"frame":{"contractVersion":"1","origin":"asserted","values":{"A":""},"research":null}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","ref":{"frameSha256":"sha256:46d099cd734f95d5cf8894bd73d76148dc23422546704d92682bb8e738ea6f29","location":"values"}},"result":{"state":"omitted","reason":"blank"}}}, + {"id":"lineage-asserted-text","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"text"},"frame":{"contractVersion":"1","origin":"asserted","values":{"A":"\u00e9\n"},"research":null}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","ref":{"frameSha256":"sha256:bc2a3e40a1ea0942a11b12f0b4b141543e2fa434cd2c0fa6ef67d8dbb9783c47","location":"values"}},"result":{"state":"value","json":"\"\u00e9\\n\""}}}, + { + "id": "admission-different-known-profile", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-role-wrong-type", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": [], + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-limit-wrong-type", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": "6291456", + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "admission-limit-zero", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 0, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "admission-missing-size", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "admission-negative-size", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": -1, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "admission-missing-spec-pin", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0 + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + {"id":"lineage-unavailable-raw-missing","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"missing"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"missing"},"result":{"state":"omitted","reason":"unavailable"},"researchIdentity":{"recipeRevision":"recipe:7","fieldSha256":"sha256:4d1437f1903fcd9600171a17dd483464d441b3946d809aaa69690a56a6a8bd81"}}}, + {"id":"lineage-unavailable-raw-null","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"missing","valueJson":"null"},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","ref":{"frameSha256":"sha256:3b9ac18e5679000430ac87f13bf16ea58752dc22640ced6d6ed9a6e684b6e608","location":"research-value"}},"result":{"state":"omitted","reason":"unavailable"},"researchIdentity":{"recipeRevision":"recipe:7","fieldSha256":"sha256:4d1437f1903fcd9600171a17dd483464d441b3946d809aaa69690a56a6a8bd81"}}}, + {"id":"lineage-unavailable-raw-empty","request":{"lineage":{"rule":{"contractVersion":"1","column":"A","kind":"research-value"},"frame":{"contractVersion":"1","origin":"generated","values":{"A":"-0","B":"legacy"},"research":{"recordRecipeRevision":"recipe:7","declaration":{"recipeRevision":"recipe:7","fields":[{"name":"A","fieldJson":"{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}"},{"name":"B","fieldJson":"{\"name\":\"B\",\"type\":\"string\"}"}]},"fields":{"A":{"status":"missing","valueJson":""},"B":{"status":"interpretation","valueJson":"\"\\ud800\""}}}}}},"expected":{"contractVersion":"1","column":"A","input":{"state":"present","ref":{"frameSha256":"sha256:c74c6c4edda614fe67733bd0c5683bd394e01eb9c2f33c20496f3f06c7097ee7","location":"research-value"}},"result":{"state":"omitted","reason":"unavailable"},"researchIdentity":{"recipeRevision":"recipe:7","fieldSha256":"sha256:4d1437f1903fcd9600171a17dd483464d441b3946d809aaa69690a56a6a8bd81"}}}, + { + "id": "carrier-generated-full-provenance", + "request": { + "restore": { + "contractVersion": "1", + "originalSnapshotJson": "{\"origin\":{\"source\":\"source:original\",\"recipeRevision\":\"recipe:7\",\"receipt\":\"receipt:original\"},\"values\":{\"A\":\"-0\",\"B\":\"legacy\"},\"acquisitions\":[{\"source\":\"sibling:1\",\"receipt\":\"receipt:sibling\"}],\"fields\":{\"A\":{\"status\":\"supported\",\"valueJson\":\"-0\"},\"B\":{\"status\":\"interpretation\",\"valueJson\":\"\\\"\\\\ud800\\\"\"}}}", + "originalSnapshotSha256": "sha256:db9ac0beecaec9714510fc3fa66677564b6dcf1c6fee754d43d343a07ff24f9b", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } + }, + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 + } + }, + "expected": { + "originalSnapshotJson": "{\"origin\":{\"source\":\"source:original\",\"recipeRevision\":\"recipe:7\",\"receipt\":\"receipt:original\"},\"values\":{\"A\":\"-0\",\"B\":\"legacy\"},\"acquisitions\":[{\"source\":\"sibling:1\",\"receipt\":\"receipt:sibling\"}],\"fields\":{\"A\":{\"status\":\"supported\",\"valueJson\":\"-0\"},\"B\":{\"status\":\"interpretation\",\"valueJson\":\"\\\"\\\\ud800\\\"\"}}}", + "originalSnapshotSha256": "sha256:db9ac0beecaec9714510fc3fa66677564b6dcf1c6fee754d43d343a07ff24f9b", + "originalSnapshotBytes": 310 + } + }, + {"id":"lineage-malformed-null","request":{"lineage":null},"expected":{"refusal":"input-malformed"}}, + {"id":"lineage-malformed-array","request":{"lineage":[]},"expected":{"refusal":"input-malformed"}}, + {"id":"lineage-malformed-empty","request":{"lineage":""},"expected":{"refusal":"input-malformed"}}, + { + "id": "admission-malformed-null", + "request": { + "admission": null + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "admission-malformed-array", + "request": { + "admission": [] + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "admission-malformed-empty", + "request": { + "admission": "" + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "restore-malformed-null", + "request": { + "restore": null, + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "restore-malformed-array", + "request": { + "restore": [], + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "restore-malformed-empty", + "request": { + "restore": "", + "profile": "base", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728 + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "admission-producer-grammar", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + }, + "producerGrammar": "desk-reviewed-input/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "admission-producer-missing-grammar", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-producer-unknown-grammar", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + }, + "producerGrammar": "other/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-producer-missing-conversion-contracts", + "request": { + "admission": { + "capabilities": {}, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 81920 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 3145728, + "profilesBytes": 0 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "admission-grammar-preparation-base", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + }, + "producerGrammar": "desk-reviewed-input/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "admission-grammar-preparation-extended", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + }, + "producerGrammar": "desk-reviewed-input/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "admission-grammar-preparation-verification-base", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + }, + "producerGrammar": "desk-reviewed-input/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 6291456, + "frameBytes": 2097152, + "preparationBytes": 8388608, + "recordBytes": 8388608, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "admission-grammar-preparation-verification-extended", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + }, + "producerGrammar": "desk-reviewed-input/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 12582912, + "frameBytes": 4194304, + "preparationBytes": 16777216, + "recordBytes": 16777216, + "profilesBytes": 0, + "requestBodyBytes": 0, + "inputReplyBytes": 0, + "releaseStoredBytes": 0, + "runStoredBytes": 0, + "exportBaseBytes": 0, + "exportWireBytes": 0 + } + } + }, + "expected": { + "admitted": true + } + } + ], + "producerCases": [ + { + "id": "producer-original-type-text" + , "expectedPatch":[ { "path": [ "transformation", - "result", - "json" + "input" ], - "remove": true - }, + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "research-value" + } + } + } + ]}, + { + "id": "producer-original-type-integer", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "rule", + "column" + ], + "value": "Integer" + } + ], + "expectedPatch": [ { "path": [ "transformation", - "result", - "state" + "column" ], - "value": "omitted" + "value": "Integer" }, { "path": [ "transformation", "result", - "reason" + "json" ], - "value": "unavailable" + "value": "-0" }, { "path": [ @@ -2776,60 +7424,77 @@ "researchIdentity", "fieldSha256" ], - "value": "sha256:6bbd6a1d2d192a87512cb5e5477aca6a6e30f90580ff2e8022172abf26b748f7" + "value": "sha256:eb500d8bd1a106b052e2963f12263e75b1cf0e4d593a7d1a6fd3651c1715db8a" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "research-value" + } + } } ] }, { - "id": "producer-unavailable-null", + "id": "producer-original-type-decimal", "requestPatch": [ { "path": [ "generatedConsistency", - "carrier", - "originalSnapshotJson" + "rule", + "column" ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"missing\",\"value\":null,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, + "value": "Decimal" + } + ], + "expectedPatch": [ { "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" + "transformation", + "column" ], - "value": "sha256:1a7e66b3a08cec8bdedf1d608a33ea416500b9c4c94a17c6c3ace0f60b8e47c5" + "value": "Decimal" }, { "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "fields", - "Boolean", - "status" + "transformation", + "result", + "json" ], - "value": "missing" + "value": "\"1.2300\"" }, { "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "fields", - "Boolean", - "valueJson" + "transformation", + "researchIdentity", + "fieldSha256" ], - "value": "null" + "value": "sha256:1e96f41174e008b55a85766badc3a1b474145b5dae98709713c83285b99d898c" }, { "path": [ - "generatedConsistency", - "receiptResultDigest" + "transformation", + "input" ], - "value": "sha256:fb649a9d0105e67c0a8d404fc3d295e70991b6b7363dbd6fcfefd374f736ebf5" - }, + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "research-value" + } + } + } + ] + }, + { + "id": "producer-original-type-boolean", + "requestPatch": [ { "path": [ "generatedConsistency", @@ -2842,72 +7507,120 @@ "expectedPatch": [ { "path": [ - "originalSnapshotSha256" + "transformation", + "column" ], - "value": "sha256:1a7e66b3a08cec8bdedf1d608a33ea416500b9c4c94a17c6c3ace0f60b8e47c5" + "value": "Boolean" }, { "path": [ - "frameSha256" + "transformation", + "result", + "json" ], - "value": "sha256:286b7fa4642d919bc9dc8f4683f72675975de3c0f0cfdc1b1b705a9af2b8fc74" + "value": "false" }, { "path": [ - "projection", - "fields", - "Boolean", - "status" + "transformation", + "researchIdentity", + "fieldSha256" ], - "value": "missing" + "value": "sha256:6bbd6a1d2d192a87512cb5e5477aca6a6e30f90580ff2e8022172abf26b748f7" }, { "path": [ - "projection", - "fields", - "Boolean", - "valueJson" + "transformation", + "input" ], - "value": "null" - }, + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "research-value" + } + } + } + ] + }, + { + "id": "producer-original-type-text-list", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "rule", + "column" + ], + "value": "List" + } + ], + "expectedPatch": [ { "path": [ "transformation", "column" ], - "value": "Boolean" + "value": "List" }, { "path": [ "transformation", - "input", + "result", "json" ], - "value": "null" + "value": "[]" }, { "path": [ "transformation", - "result", - "json" + "researchIdentity", + "fieldSha256" ], - "remove": true + "value": "sha256:b83dd6a3e1df1b8605aff28ae3bb6e3bbd9a5a072adf6421cb5fda9f997cc023" }, { "path": [ "transformation", - "result", - "state" + "input" ], - "value": "omitted" + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "research-value" + } + } + } + ] + }, + { + "id": "producer-original-type-range", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "rule", + "column" + ], + "value": "Range" + } + ], + "expectedPatch": [ + { + "path": [ + "transformation", + "column" + ], + "value": "Range" }, { "path": [ "transformation", "result", - "reason" + "json" ], - "value": "unavailable" + "value": "{\"min\":\"1.00\",\"max\":\"2.0\"}" }, { "path": [ @@ -2915,84 +7628,181 @@ "researchIdentity", "fieldSha256" ], - "value": "sha256:6bbd6a1d2d192a87512cb5e5477aca6a6e30f90580ff2e8022172abf26b748f7" + "value": "sha256:d463e0f77bf2c28fa7c6c2fcd70c2aab4ce341e99486f1a25eca6642166d0a46" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "research-value" + } + } } ] }, { - "id": "producer-availability-absent", + "id": "producer-original-type-string", "requestPatch": [ { "path": [ "generatedConsistency", - "carrier", - "originalSnapshotJson" + "rule", + "column" ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"absent\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, + "value": "String" + } + ], + "expectedPatch": [ { "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" + "transformation", + "column" ], - "value": "sha256:516048df9328b4027408bc01a2ba64dcd0dba859b9e15f78ee26a2cac8442699" + "value": "String" }, { "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "Evidence" + "transformation", + "result", + "json" ], - "value": "absent" + "value": "\"\"" }, { "path": [ - "generatedConsistency", - "receiptResultDigest" + "transformation", + "researchIdentity", + "fieldSha256" ], - "value": "sha256:230689081da8fe78c98cd1e31bc4779e38ee64def2b6215dcc5692a050e16efb" + "value": "sha256:60e84d0fe0de00c95ffed8b8a36d4dc798118c29efed18dac23449f47ca8be39" }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "research-value" + } + } + } + ] + }, + { + "id": "producer-original-type-number", + "requestPatch": [ { "path": [ "generatedConsistency", "rule", "column" ], - "value": "Evidence" + "value": "Number" + } + ], + "expectedPatch": [ + { + "path": [ + "transformation", + "column" + ], + "value": "Number" + }, + { + "path": [ + "transformation", + "result", + "json" + ], + "value": "-0" + }, + { + "path": [ + "transformation", + "researchIdentity", + "fieldSha256" + ], + "value": "sha256:78fc205fa9a01e82bb0442bffd41f6c3e8ccd611d655d490c252f4c8c2a99898" }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "research-value" + } + } + } + ] + }, + { + "id": "producer-kind-text", + "requestPatch": [ { "path": [ "generatedConsistency", "rule", "kind" ], - "value": "evidence-availability" + "value": "text" } ], "expectedPatch": [ { "path": [ - "originalSnapshotSha256" + "transformation", + "researchIdentity" ], - "value": "sha256:516048df9328b4027408bc01a2ba64dcd0dba859b9e15f78ee26a2cac8442699" + "remove": true }, { "path": [ - "frameSha256" + "transformation", + "input" ], - "value": "sha256:e6cd75757aa8f19324b4b8cd26728bc936a091decfb1874218fed2515175e9d1" - }, + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "values" + } + } + } + ] + }, + { + "id": "producer-kind-decimal", + "requestPatch": [ { "path": [ - "projection", - "values", - "Evidence" + "generatedConsistency", + "rule", + "column" ], - "value": "absent" + "value": "Decimal" }, + { + "path": [ + "generatedConsistency", + "rule", + "kind" + ], + "value": "decimal" + } + ], + "expectedPatch": [ { "path": [ "transformation", @@ -3005,433 +7815,10100 @@ "transformation", "column" ], - "value": "Evidence" + "value": "Decimal" }, { "path": [ "transformation", - "input", + "result", "json" ], - "value": "\"absent\"" + "value": "\"1.2300\"" }, { "path": [ "transformation", - "result", - "json" + "input" ], - "value": "\"absent\"" + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "values" + } + } + } + ] + }, + { + "id": "producer-kind-number", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "rule", + "column" + ], + "value": "Number" + }, + { + "path": [ + "generatedConsistency", + "rule", + "kind" + ], + "value": "number" + } + ], + "expectedPatch": [ + { + "path": [ + "transformation", + "researchIdentity" + ], + "remove": true + }, + { + "path": [ + "transformation", + "column" + ], + "value": "Number" + }, + { + "path": [ + "transformation", + "result", + "json" + ], + "value": "-0" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "values" + } + } + } + ] + }, + { + "id": "producer-kind-boolean", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "rule", + "column" + ], + "value": "Boolean" + }, + { + "path": [ + "generatedConsistency", + "rule", + "kind" + ], + "value": "boolean" + }, + { + "path": [ + "generatedConsistency", + "rule", + "trueValue" + ], + "value": "true" + }, + { + "path": [ + "generatedConsistency", + "rule", + "falseValue" + ], + "value": "false" + } + ], + "expectedPatch": [ + { + "path": [ + "transformation", + "researchIdentity" + ], + "remove": true + }, + { + "path": [ + "transformation", + "column" + ], + "value": "Boolean" + }, + { + "path": [ + "transformation", + "result", + "json" + ], + "value": "false" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "values" + } + } + } + ] + }, + { + "id": "producer-kind-evidence-availability", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "rule", + "column" + ], + "value": "Evidence" + }, + { + "path": [ + "generatedConsistency", + "rule", + "kind" + ], + "value": "evidence-availability" + } + ], + "expectedPatch": [ + { + "path": [ + "transformation", + "researchIdentity" + ], + "remove": true + }, + { + "path": [ + "transformation", + "column" + ], + "value": "Evidence" + }, + { + "path": [ + "transformation", + "result", + "json" + ], + "value": "\"present\"" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "values" + } + } + } + ] + }, + { + "id": "producer-omitted-unselected-declaration", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields" + ], + "value": [ + { + "name": "Text", + "fieldJson": "{\"type\":\"text\",\"name\":\"Text\",\"description\":\"A \\u0042 / kept\"}" + }, + { + "name": "Integer", + "fieldJson": "{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"}" + }, + { + "name": "Decimal", + "fieldJson": "{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"}" + }, + { + "name": "Boolean", + "fieldJson": "{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"}" + }, + { + "name": "List", + "fieldJson": "{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"}" + }, + { + "name": "Range", + "fieldJson": "{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"}" + }, + { + "name": "String", + "fieldJson": "{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"}" + }, + { + "name": "Number", + "fieldJson": "{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"}" + } + ] + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:6dc48a2dc5e7c7119c4377754526a6164390c0106557b36cc59aa461aff5f4bc" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-extra-declaration", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields" + ], + "value": [ + { + "name": "Text", + "fieldJson": "{\"type\":\"text\",\"name\":\"Text\",\"description\":\"A \\u0042 / kept\"}" + }, + { + "name": "Integer", + "fieldJson": "{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"}" + }, + { + "name": "Decimal", + "fieldJson": "{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"}" + }, + { + "name": "Boolean", + "fieldJson": "{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"}" + }, + { + "name": "List", + "fieldJson": "{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"}" + }, + { + "name": "Range", + "fieldJson": "{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"}" + }, + { + "name": "String", + "fieldJson": "{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"}" + }, + { + "name": "Number", + "fieldJson": "{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"}" + }, + { + "name": "Evidence", + "fieldJson": "{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}" + }, + { + "name": "Extra", + "fieldJson": "{\"name\":\"Extra\",\"type\":\"text\"}" + } + ] + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:680ffbb2a99ce0a0577e0faeed3c8a9b06da5ccd5c2d546469ffbb3299e209ac" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-reordered-declarations", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 0, + "name" + ], + "value": "Evidence" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 0, + "fieldJson" + ], + "value": "{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 1, + "name" + ], + "value": "Number" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 1, + "fieldJson" + ], + "value": "{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 2, + "name" + ], + "value": "String" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 2, + "fieldJson" + ], + "value": "{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 3, + "name" + ], + "value": "Range" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 3, + "fieldJson" + ], + "value": "{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 5, + "name" + ], + "value": "Boolean" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 5, + "fieldJson" + ], + "value": "{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 6, + "name" + ], + "value": "Decimal" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 6, + "fieldJson" + ], + "value": "{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 7, + "name" + ], + "value": "Integer" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 7, + "fieldJson" + ], + "value": "{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 8, + "name" + ], + "value": "Text" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 8, + "fieldJson" + ], + "value": "{\"type\":\"text\",\"name\":\"Text\",\"description\":\"A \\u0042 / kept\"}" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:c227d6757513533c9b93770f98ed22eed4bcbe63dbcb5d155d59ad9218530a79" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-unselected-description", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 7, + "fieldJson" + ], + "value": "{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Changed unselected\"}" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:3504a7050aaa6a156a66f166dcf75d365344818cd68d0f3ea137fc55d8328692" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-semantic-equal-escape-changed", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "fields", + 0, + "fieldJson" + ], + "value": "{\"type\":\"text\",\"name\":\"Text\",\"description\":\"A B / kept\"}" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:5d2be429514f3e61c69bb39001aaccaaaadbae29c939e39dd4bb135f646166e3" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-current-frame-revision", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "recordRecipeRevision" + ], + "value": "sha256:6ac1dde4e2cb90262060258a1cb1ee5ba2538f4822f427fb24110e9fbcbb69cf" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:fb457571371329a04b1fade5f1d7d7fc9061df62963bc088c1b774bcf70c9e49" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-current-declaration-revision", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "recipeRevision" + ], + "value": "sha256:6ac1dde4e2cb90262060258a1cb1ee5ba2538f4822f427fb24110e9fbcbb69cf" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:bb405f4e16e2f1540c86e2e60b40640f1cbb83adea9e9e3ed2fde0d8e43ffcf5" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-original-revision-missing", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:04042ad5b63806097cb0659c82e79e5df4d75d0afad863ff7529c1bba62ce98e" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:afe407f6b0cc167e8acece6172f8fa5bd285a2d28cc285bbc843007170dffa8e" + } + ], + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "producer-record-original-revision-mismatch", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":8,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:b04dfc4d28d5ad95484a01425164f7f7edf655e86c02d74cf8bba75381959198" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:ca450043b392071ef63ae4f97b2dbf7bcad0b504532cf1ba46bcbf5c4440e3c8" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-run-id-invalid", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_not-a-supported-id\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_not-a-supported-id\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:d5f624385882c468d63959c5dc3cf48e12fc45d8a3f1f2d4d67c517cc12851dd" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:ed94ef25281680ed9024c61fd0be27f8b229121003abffce66c29fa03cf441a6" + } + ], + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "producer-version-not-literal-integer", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7e0,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7e0,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:029d8697207f336d06f82ba36f0c2f00c2265b5b3aa0ba2de1d001313a839eea" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:fbbb8d37532788686ac488c4dcb4fcbf2b94bd134c16a7a729850d248bd7cdd6" + } + ], + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "producer-original-fields-missing", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"notFields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:4d8102da1d96389e9bd6cc17ceca5042d6ae808242044f7ad84a27f599371a74" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:d7a3a3efdcf5199177c19903120e0efd136b4ac2b3b5e5e0282f2e9edb866bae" + } + ], + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "producer-filtered-values-substitution", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "Integer" + ], + "remove": true + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "Decimal" + ], + "remove": true + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "Boolean" + ], + "remove": true + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "List" + ], + "remove": true + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "Range" + ], + "remove": true + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "String" + ], + "remove": true + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "Number" + ], + "remove": true + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "Evidence" + ], + "remove": true + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "Text" + ], + "value": "filtered visible" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:dec0c2a30ea2608c883da6897605e7af94bf2384f29905d85faf4ce4869900e7" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-zero-spelling-changed", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "fields", + "Integer", + "valueJson" + ], + "value": "0" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:a6ec27e3321e8b5e4fd15e9400cc6f778b6c7990ac8da6cb53df1d6de18b07ec" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-status-changed", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "fields", + "Boolean", + "status" + ], + "value": "missing" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:79a9715441fadd67b75df40914d14dd5da81f9da691f87a90dd0fa47f058a489" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-typed-field-omitted", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "fields", + "Number" + ], + "remove": true + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:de2e06b3d161e7f255719d26618b510ef254bd1e9b96743aaf80b5a64063a06b" + } + ], + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "producer-wrong-trusted-source", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "trustedProducer", + "source" + ], + "value": "other-source" + } + ], + "expected": { + "refusal": "profile-mismatch" + } + }, + { + "id": "producer-asserted-trust", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "trustedProducer", + "class" + ], + "value": "asserted" + } + ], + "expected": { + "refusal": "profile-mismatch" + } + }, + { + "id": "producer-record-trust", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "trustedProducer", + "class" + ], + "value": "record" + } + ], + "expected": { + "refusal": "profile-mismatch" + } + }, + { + "id": "producer-old-adapter", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "trustedProducer", + "adapter", + "version" + ], + "value": "1" + } + ], + "expected": { + "refusal": "profile-mismatch" + } + }, + { + "id": "producer-wrong-profile-digest", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "sourceBinding", + "profileDigest" + ], + "value": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" + } + ], + "expected": { + "refusal": "profile-mismatch" + } + }, + { + "id": "producer-unknown-grammar", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "trustedProducer", + "retainedColumnProducer", + "grammar" + ], + "value": "other/1" + } + ], + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "producer-frame-origin-forged", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "origin" + ], + "value": "asserted" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:68cd89447354e38028c2e8ff1858a3ed6933a8b3237635ca495324d7913371fd" + } + ], + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "producer-updated-frame-old-receipt", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\"changed\",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\"changed\",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:00dacd4cd2c331a555ff9e2be0539e3e72256fef65617a34b9446bc73a673f99" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "Text" + ], + "value": "changed" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "fields", + "Text", + "valueJson" + ], + "value": "\"changed\"" + } + ], + "expected": { + "refusal": "acquisition-invalid" + } + }, + { + "id": "producer-duplicate-snapshot-key", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"cl\\u0061ss\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:4e9f48488441eca4b1f2dde38b0375e0e77776250716532d1a5c75b3beafd005" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:dcbe654b3137f922cb4fe820efdcc1633e280287e21d750e3fefa313f5e5874d" + } + ], + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "producer-duplicate-nested-key", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"x\":1,\"\\u0078\":2}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:4b4cdd463cfb015c751ceec805c50405e3df6a4df6f36806084553ddb062b2bd" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:c867f92b9a9126be8e0959dbea823293b6a30030f0fe8699f34b9d0721703f75" + } + ], + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "producer-duplicate-declaration-name", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:324b0b3ab4736cba4d1cbaa3ca96e10275a67da1e5ea734725979d96bf0f5cf4" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:3ce6a241f21d0c4aead23da0cfb4b9adedfed7e3b05650c51ecf261a3cec8c4e" + } + ], + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "producer-unavailable-absent", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"missing\",\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:7a489b2c5ba033f1bd8dde3c3dfc6426c395645120a2dd6c305a7e051e3aa526" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "fields", + "Boolean", + "valueJson" + ], + "remove": true + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "fields", + "Boolean", + "status" + ], + "value": "missing" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:b401945245ba15164f6c5d43fd8b897325ebd85f4e282ab1e0889469a4c5445c" + }, + { + "path": [ + "generatedConsistency", + "rule", + "column" + ], + "value": "Boolean" + } + ], + "expectedPatch": [ + { + "path": [ + "originalSnapshotSha256" + ], + "value": "sha256:7a489b2c5ba033f1bd8dde3c3dfc6426c395645120a2dd6c305a7e051e3aa526" + }, + { + "path": [ + "frameSha256" + ], + "value": "sha256:59453fa223eddd68728a4128c690aeafdeee1bff9971e53a54fafaa77856480a" + }, + { + "path": [ + "projection", + "fields", + "Boolean", + "valueJson" + ], + "remove": true + }, + { + "path": [ + "projection", + "fields", + "Boolean", + "status" + ], + "value": "missing" + }, + { + "path": [ + "transformation", + "column" + ], + "value": "Boolean" + }, + { + "path": [ + "transformation", + "result", + "json" + ], + "remove": true + }, + { + "path": [ + "transformation", + "result", + "state" + ], + "value": "omitted" + }, + { + "path": [ + "transformation", + "result", + "reason" + ], + "value": "unavailable" + }, + { + "path": [ + "transformation", + "researchIdentity", + "fieldSha256" + ], + "value": "sha256:6bbd6a1d2d192a87512cb5e5477aca6a6e30f90580ff2e8022172abf26b748f7" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "missing" + } + } + ] + }, + { + "id": "producer-unavailable-null", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"missing\",\"value\":null,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:1a7e66b3a08cec8bdedf1d608a33ea416500b9c4c94a17c6c3ace0f60b8e47c5" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "fields", + "Boolean", + "status" + ], + "value": "missing" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "fields", + "Boolean", + "valueJson" + ], + "value": "null" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:fb649a9d0105e67c0a8d404fc3d295e70991b6b7363dbd6fcfefd374f736ebf5" + }, + { + "path": [ + "generatedConsistency", + "rule", + "column" + ], + "value": "Boolean" + } + ], + "expectedPatch": [ + { + "path": [ + "originalSnapshotSha256" + ], + "value": "sha256:1a7e66b3a08cec8bdedf1d608a33ea416500b9c4c94a17c6c3ace0f60b8e47c5" + }, + { + "path": [ + "frameSha256" + ], + "value": "sha256:286b7fa4642d919bc9dc8f4683f72675975de3c0f0cfdc1b1b705a9af2b8fc74" + }, + { + "path": [ + "projection", + "fields", + "Boolean", + "status" + ], + "value": "missing" + }, + { + "path": [ + "projection", + "fields", + "Boolean", + "valueJson" + ], + "value": "null" + }, + { + "path": [ + "transformation", + "column" + ], + "value": "Boolean" + }, + { + "path": [ + "transformation", + "result", + "json" + ], + "remove": true + }, + { + "path": [ + "transformation", + "result", + "state" + ], + "value": "omitted" + }, + { + "path": [ + "transformation", + "result", + "reason" + ], + "value": "unavailable" + }, + { + "path": [ + "transformation", + "researchIdentity", + "fieldSha256" + ], + "value": "sha256:6bbd6a1d2d192a87512cb5e5477aca6a6e30f90580ff2e8022172abf26b748f7" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:286b7fa4642d919bc9dc8f4683f72675975de3c0f0cfdc1b1b705a9af2b8fc74", + "location": "research-value" + } + } + } + ] + }, + { + "id": "producer-availability-absent", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"absent\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:516048df9328b4027408bc01a2ba64dcd0dba859b9e15f78ee26a2cac8442699" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "Evidence" + ], + "value": "absent" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:230689081da8fe78c98cd1e31bc4779e38ee64def2b6215dcc5692a050e16efb" + }, + { + "path": [ + "generatedConsistency", + "rule", + "column" + ], + "value": "Evidence" + }, + { + "path": [ + "generatedConsistency", + "rule", + "kind" + ], + "value": "evidence-availability" + } + ], + "expectedPatch": [ + { + "path": [ + "originalSnapshotSha256" + ], + "value": "sha256:516048df9328b4027408bc01a2ba64dcd0dba859b9e15f78ee26a2cac8442699" + }, + { + "path": [ + "frameSha256" + ], + "value": "sha256:e6cd75757aa8f19324b4b8cd26728bc936a091decfb1874218fed2515175e9d1" + }, + { + "path": [ + "projection", + "values", + "Evidence" + ], + "value": "absent" + }, + { + "path": [ + "transformation", + "researchIdentity" + ], + "remove": true + }, + { + "path": [ + "transformation", + "column" + ], + "value": "Evidence" + }, + { + "path": [ + "transformation", + "result", + "json" + ], + "value": "\"absent\"" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:e6cd75757aa8f19324b4b8cd26728bc936a091decfb1874218fed2515175e9d1", + "location": "values" + } + } + } + ] + }, + { + "id": "producer-availability-unknown", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"unknown\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:e4866ac57ce1aabf403a9aef302f6d53d53add86853b4274d7ceb96c6b79e741" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "values", + "Evidence" + ], + "value": "unknown" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:a3e6dcbf9b0826353d6aba20167e76dd93a6bb86e770e99d0c3a287a6815912c" + }, + { + "path": [ + "generatedConsistency", + "rule", + "column" + ], + "value": "Evidence" + }, + { + "path": [ + "generatedConsistency", + "rule", + "kind" + ], + "value": "evidence-availability" + } + ], + "expectedPatch": [ + { + "path": [ + "originalSnapshotSha256" + ], + "value": "sha256:e4866ac57ce1aabf403a9aef302f6d53d53add86853b4274d7ceb96c6b79e741" + }, + { + "path": [ + "frameSha256" + ], + "value": "sha256:775394053b4489fb881c6b1a2ba96abdc6d587f34086478769a59e143d07ae4a" + }, + { + "path": [ + "projection", + "values", + "Evidence" + ], + "value": "unknown" + }, + { + "path": [ + "transformation", + "researchIdentity" + ], + "remove": true + }, + { + "path": [ + "transformation", + "column" + ], + "value": "Evidence" + }, + { + "path": [ + "transformation", + "result", + "json" + ], + "value": "\"unknown\"" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:775394053b4489fb881c6b1a2ba96abdc6d587f34086478769a59e143d07ae4a", + "location": "values" + } + } + } + ] + }, + { + "id": "producer-revision-boundary-1", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":1,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":1,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:2c0c1589d4e4d7245a483dc680570976793bd11391ed41a0d22c076897a72a00" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "recordRecipeRevision" + ], + "value": "sha256:2ad9735e6b3b81add9fa85447209c1104b85708c81a6694ea83d607e6bc15ca2" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "recipeRevision" + ], + "value": "sha256:2ad9735e6b3b81add9fa85447209c1104b85708c81a6694ea83d607e6bc15ca2" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:5a88b51911f607c70cc530c704ce668cc964180919765f6d909968c5d6f67183" + } + ], + "expectedPatch": [ + { + "path": [ + "originalSnapshotSha256" + ], + "value": "sha256:2c0c1589d4e4d7245a483dc680570976793bd11391ed41a0d22c076897a72a00" + }, + { + "path": [ + "frameSha256" + ], + "value": "sha256:a1e85c3dd9f3ea55d8afba10d4568c9c5e3a69ae2ab5308d73ea6b8b7db35810" + }, + { + "path": [ + "revisionIdentity" + ], + "value": "sha256:2ad9735e6b3b81add9fa85447209c1104b85708c81a6694ea83d607e6bc15ca2" + }, + { + "path": [ + "projection", + "recipeVersion" + ], + "value": 1 + }, + { + "path": [ + "projection", + "recordRecipeVersion" + ], + "value": 1 + }, + { + "path": [ + "transformation", + "researchIdentity", + "recipeRevision" + ], + "value": "sha256:2ad9735e6b3b81add9fa85447209c1104b85708c81a6694ea83d607e6bc15ca2" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:a1e85c3dd9f3ea55d8afba10d4568c9c5e3a69ae2ab5308d73ea6b8b7db35810", + "location": "research-value" + } + } + } + ] + }, + { + "id": "producer-revision-boundary-9007199254740991", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":9007199254740991,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":9007199254740991,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:846acccd4ba99ed32bfbd72c86b76ea94cf9d430e2dea4ebe8c58a7b96276418" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "recordRecipeRevision" + ], + "value": "sha256:195f78bf3c5a40044ebe16d52f934a9edb9f5665ac93c6bec7525d939adcb18e" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "recipeRevision" + ], + "value": "sha256:195f78bf3c5a40044ebe16d52f934a9edb9f5665ac93c6bec7525d939adcb18e" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:0ba64b795fb9c175b5272b6abab9cf46486eaeac62aec7b6b51186c0b4dc9ca8" + } + ], + "expectedPatch": [ + { + "path": [ + "originalSnapshotSha256" + ], + "value": "sha256:846acccd4ba99ed32bfbd72c86b76ea94cf9d430e2dea4ebe8c58a7b96276418" + }, + { + "path": [ + "frameSha256" + ], + "value": "sha256:eabb4bad72c9859b47186ff9d39ef89ba7f0f3573bdc880a390ba22ea0c8e3fc" + }, + { + "path": [ + "revisionIdentity" + ], + "value": "sha256:195f78bf3c5a40044ebe16d52f934a9edb9f5665ac93c6bec7525d939adcb18e" + }, + { + "path": [ + "projection", + "recipeVersion" + ], + "value": 9007199254740991 + }, + { + "path": [ + "projection", + "recordRecipeVersion" + ], + "value": 9007199254740991 + }, + { + "path": [ + "transformation", + "researchIdentity", + "recipeRevision" + ], + "value": "sha256:195f78bf3c5a40044ebe16d52f934a9edb9f5665ac93c6bec7525d939adcb18e" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:eabb4bad72c9859b47186ff9d39ef89ba7f0f3573bdc880a390ba22ea0c8e3fc", + "location": "research-value" + } + } + } + ] + }, + { + "id": "producer-escaped-frame-identity", + "expectedPatch": [ + { + "path": [ + "frameSha256" + ], + "value": "sha256:6e1ee80662772a061f8a00d1b32fef99259ce06a5973770ff3abd94836b0ca72" + }, + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:6e1ee80662772a061f8a00d1b32fef99259ce06a5973770ff3abd94836b0ca72", + "location": "research-value" + } + } + } + ], + "wireJson": "{\"generatedConsistency\":{\"carrier\":{\"contractVersion\":\"1\",\"originalSnapshotJson\":\"{\\\"version\\\":1,\\\"class\\\":\\\"generated\\\",\\\"preparationId\\\":\\\"prep_synthetic\\\",\\\"recipeVersion\\\":8,\\\"qualification\\\":null,\\\"prepared\\\":{\\\"ignored\\\":\\\"not raw input\\\"},\\\"record\\\":{\\\"id\\\":\\\"record_synthetic\\\",\\\"name\\\":\\\"Synthetic\\\",\\\"sourceId\\\":\\\"source_synthetic\\\",\\\"row\\\":1,\\\"class\\\":\\\"generated\\\",\\\"status\\\":\\\"ready\\\",\\\"values\\\":{\\\"Text\\\":\\\" A \\\",\\\"Integer\\\":\\\"-0\\\",\\\"Decimal\\\":\\\"1.2300\\\",\\\"Boolean\\\":\\\"false\\\",\\\"List\\\":\\\"[]\\\",\\\"Range\\\":\\\"{\\\\\\\"min\\\\\\\":\\\\\\\"1.00\\\\\\\",\\\\\\\"max\\\\\\\":\\\\\\\"2.0\\\\\\\"}\\\",\\\"String\\\":\\\"\\\",\\\"Number\\\":\\\"-0\\\",\\\"Evidence\\\":\\\"present\\\"},\\\"research\\\":{\\\"runId\\\":\\\"research_11111111111111111111111111111111\\\",\\\"recipeVersion\\\":7,\\\"entity\\\":{\\\"id\\\":\\\"entity_synthetic\\\",\\\"kind\\\":\\\"record\\\",\\\"name\\\":\\\"Synthetic\\\",\\\"url\\\":\\\"https://example.test/\\\",\\\"fields\\\":{\\\"Text\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":\\\" A \\\",\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Integer\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":-0,\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Decimal\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":\\\"1.2300\\\",\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Boolean\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":false,\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"List\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":[],\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Range\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"},\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"String\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":\\\"\\\",\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Number\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":-0,\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Evidence\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":\\\"present\\\",\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"}}}}},\\\"values\\\":{\\\"Text\\\":\\\"filtered visible\\\"},\\\"research\\\":{\\\"id\\\":\\\"research_11111111111111111111111111111111\\\",\\\"recipeVersion\\\":7,\\\"recipe\\\":{\\\"version\\\":1,\\\"target\\\":\\\"records\\\",\\\"fields\\\":[{ \\\"type\\\" : \\\"text\\\", \\\"name\\\" : \\\"Text\\\", \\\"description\\\" : \\\"A \\\\u0042 / kept\\\" },{\\\"name\\\":\\\"Integer\\\",\\\"type\\\":\\\"integer\\\",\\\"description\\\":\\\"Original integer\\\"},{\\\"name\\\":\\\"Decimal\\\",\\\"type\\\":\\\"decimal\\\",\\\"description\\\":\\\"Original decimal\\\"},{\\\"name\\\":\\\"Boolean\\\",\\\"type\\\":\\\"boolean\\\",\\\"description\\\":\\\"Original boolean\\\"},{\\\"name\\\":\\\"List\\\",\\\"type\\\":\\\"text-list\\\",\\\"description\\\":\\\"Original list\\\"},{\\\"name\\\":\\\"Range\\\",\\\"type\\\":\\\"range\\\",\\\"description\\\":\\\"Original range\\\"},{\\\"name\\\":\\\"String\\\",\\\"type\\\":\\\"string\\\",\\\"description\\\":\\\"Historical string\\\"},{\\\"name\\\":\\\"Number\\\",\\\"type\\\":\\\"number\\\",\\\"description\\\":\\\"Historical number\\\"},{\\\"name\\\":\\\"Evidence\\\",\\\"type\\\":\\\"text\\\",\\\"description\\\":\\\"Availability\\\"}],\\\"criteria\\\":[],\\\"ai\\\":{},\\\"limits\\\":{}},\\\"intent\\\":\\\"Opaque original intent\\\",\\\"createdAt\\\":\\\"2026-01-01T00:00:00Z\\\",\\\"approvedLimits\\\":{},\\\"budgetApprovals\\\":[],\\\"workflowApproval\\\":null,\\\"modelResponses\\\":[],\\\"sources\\\":[]},\\\"reviews\\\":[],\\\"legacyOpaque\\\":{\\\"escaped\\\":\\\"\\\\ud800\\\"}}\",\"originalSnapshotSha256\":\"sha256:059b04e2781eea91f1d1f529fdbd5f6da1d1e731acab7309615b99a7ec52f4ea\",\"retained\":{\"contractVersion\":\"1\",\"origin\":\"generated\",\"values\":{\"\\u0054ext\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"recordRecipeRevision\":\"sha256:2fffc39ce48e5ecf531123cbcf65ff4dac679c044a25c681ecd44bc2fb28daed\",\"declaration\":{\"recipeRevision\":\"sha256:2fffc39ce48e5ecf531123cbcf65ff4dac679c044a25c681ecd44bc2fb28daed\",\"fields\":[{\"name\":\"Text\",\"fieldJson\":\"{\\\"type\\\":\\\"text\\\",\\\"name\\\":\\\"Text\\\",\\\"description\\\":\\\"A \\\\u0042 / kept\\\"}\"},{\"name\":\"Integer\",\"fieldJson\":\"{\\\"name\\\":\\\"Integer\\\",\\\"type\\\":\\\"integer\\\",\\\"description\\\":\\\"Original integer\\\"}\"},{\"name\":\"Decimal\",\"fieldJson\":\"{\\\"name\\\":\\\"Decimal\\\",\\\"type\\\":\\\"decimal\\\",\\\"description\\\":\\\"Original decimal\\\"}\"},{\"name\":\"Boolean\",\"fieldJson\":\"{\\\"name\\\":\\\"Boolean\\\",\\\"type\\\":\\\"boolean\\\",\\\"description\\\":\\\"Original boolean\\\"}\"},{\"name\":\"List\",\"fieldJson\":\"{\\\"name\\\":\\\"List\\\",\\\"type\\\":\\\"text-list\\\",\\\"description\\\":\\\"Original list\\\"}\"},{\"name\":\"Range\",\"fieldJson\":\"{\\\"name\\\":\\\"Range\\\",\\\"type\\\":\\\"range\\\",\\\"description\\\":\\\"Original range\\\"}\"},{\"name\":\"String\",\"fieldJson\":\"{\\\"name\\\":\\\"String\\\",\\\"type\\\":\\\"string\\\",\\\"description\\\":\\\"Historical string\\\"}\"},{\"name\":\"Number\",\"fieldJson\":\"{\\\"name\\\":\\\"Number\\\",\\\"type\\\":\\\"number\\\",\\\"description\\\":\\\"Historical number\\\"}\"},{\"name\":\"Evidence\",\"fieldJson\":\"{\\\"name\\\":\\\"Evidence\\\",\\\"type\\\":\\\"text\\\",\\\"description\\\":\\\"Availability\\\"}\"}]},\"fields\":{\"Text\":{\"status\":\"supported\",\"valueJson\":\"\\\" A \\\"\"},\"Integer\":{\"status\":\"supported\",\"valueJson\":\"-0\"},\"Decimal\":{\"status\":\"supported\",\"valueJson\":\"\\\"1.2300\\\"\"},\"Boolean\":{\"status\":\"supported\",\"valueJson\":\"false\"},\"List\":{\"status\":\"supported\",\"valueJson\":\"[]\"},\"Range\":{\"status\":\"supported\",\"valueJson\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\"},\"String\":{\"status\":\"supported\",\"valueJson\":\"\\\"\\\"\"},\"Number\":{\"status\":\"supported\",\"valueJson\":\"-0\"},\"Evidence\":{\"status\":\"supported\",\"valueJson\":\"\\\"present\\\"\"}}}}},\"profile\":\"base\",\"limits\":{\"originalSnapshotBytes\":524288,\"carrierBytes\":3145728},\"trustedProducer\":{\"id\":\"reviewed-columns\",\"profileDigest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"class\":\"generated\",\"source\":\"desk-inputs\",\"authority\":\"synthetic-trusted-host\",\"shape\":\"mcp\",\"endpoint\":\"desk-local:reviewed-inputs\",\"adapter\":{\"name\":\"jpack-desk/reviewed-input\",\"version\":\"2\",\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"},\"tools\":[\"read_reviewed_input\"],\"retainedColumnProducer\":{\"contractVersion\":\"1\",\"grammar\":\"desk-reviewed-input/1\"}},\"sourceBinding\":{\"kind\":\"operation\",\"profile\":\"reviewed-columns\",\"profileDigest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"},\"receiptResultDigest\":\"sha256:4e8a6ba130e89f25231ce9b54c6062a1bf6e773762b7d41929839319d11f43c4\",\"rule\":{\"contractVersion\":\"1\",\"column\":\"Text\",\"kind\":\"research-value\"}}}" + }, + { + "id": "producer-null-carrier", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier" + ], + "value": null + } + ], + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "producer-null-trust", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "trustedProducer" + ], + "value": null + } + ], + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "producer-nonscalar-status", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotJson" + ], + "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":[],\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "originalSnapshotSha256" + ], + "value": "sha256:fca776bd6116127a8205e8be1bf08f873be6b942cace10426c1131eb75eb316d" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:93984f2cc75d67a2562c965876f4057a72e0c3f3452c65af8dd3ef4dd14fd9c5" + } + ], + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "producer-extended-small-consistency", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "profile" + ], + "value": "extended" + } + ] + , "expectedPatch":[ + { + "path": [ + "transformation", + "input" + ], + "value": { + "state": "present", + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "research-value" + } + } + } + ]}, + { + "id": "producer-current-both-frame-revisions", + "requestPatch": [ + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "recordRecipeRevision" + ], + "value": "sha256:6ac1dde4e2cb90262060258a1cb1ee5ba2538f4822f427fb24110e9fbcbb69cf" + }, + { + "path": [ + "generatedConsistency", + "carrier", + "retained", + "research", + "declaration", + "recipeRevision" + ], + "value": "sha256:6ac1dde4e2cb90262060258a1cb1ee5ba2538f4822f427fb24110e9fbcbb69cf" + }, + { + "path": [ + "generatedConsistency", + "receiptResultDigest" + ], + "value": "sha256:23f10df115410791decfad68a7c4ca87a88e5fab7573f98f75dae2635986ddac" + } + ], + "expected": { + "refusal": "read-failed" + } + } + ], + "referenceCases": [ + { + "id": "reference-exact-raw-frame", + "request": { + "lineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + } + } + }, + "expected": { + "contractVersion": "1", + "column": "A", + "input": { + "state": "present", + "ref": { + "frameSha256": "sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a", + "location": "values" + } + }, + "result": { + "state": "value", + "json": "\"\u00e9\\n\"" + } + }, + "wireJson": "{\"lineage\":{\"rule\":{\"contractVersion\":\"1\",\"column\":\"A\",\"kind\":\"text\"},\"frame\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null }}}" + }, + { + "id": "reference-resolves-retained-occurrence", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + }, + "transformation": { + "contractVersion": "1", + "column": "A", + "input": { + "state": "present", + "ref": { + "frameSha256": "sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a", + "location": "values" + } + }, + "result": { + "state": "value", + "json": "\"\u00e9\\n\"" + } + } + } + }, + "expected": { + "consistent": true, + "acquisition": "not-verified" + }, + "wireJson": "{\"verifyLineage\":{\"rule\":{\"contractVersion\":\"1\",\"column\":\"A\",\"kind\":\"text\"},\"frame\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null },\"transformation\":{\"contractVersion\":\"1\",\"column\":\"A\",\"input\":{\"state\":\"present\",\"ref\":{\"frameSha256\":\"sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a\",\"location\":\"values\"}},\"result\":{\"state\":\"value\",\"json\":\"\\\"\\u00e9\\\\n\\\"\"}}}}" + }, + { + "id": "reference-wrong-digest", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + }, + "transformation": { + "contractVersion": "1", + "column": "A", + "input": { + "state": "present", + "ref": { + "frameSha256": "sha256:0000000000000000000000000000000000000000000000000000000000000000", + "location": "values" + } + }, + "result": { + "state": "value", + "json": "\"\u00e9\\n\"" + } + } + } + }, + "expected": { + "refusal": "read-failed" + }, + "wireJson": "{\"verifyLineage\":{\"rule\":{\"contractVersion\":\"1\",\"column\":\"A\",\"kind\":\"text\"},\"frame\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null },\"transformation\":{\"contractVersion\":\"1\",\"column\":\"A\",\"input\":{\"state\":\"present\",\"ref\":{\"frameSha256\":\"sha256:0000000000000000000000000000000000000000000000000000000000000000\",\"location\":\"values\"}},\"result\":{\"state\":\"value\",\"json\":\"\\\"\\u00e9\\\\n\\\"\"}}}}" + }, + { + "id": "reference-wrong-location", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + }, + "transformation": { + "contractVersion": "1", + "column": "A", + "input": { + "state": "present", + "ref": { + "frameSha256": "sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a", + "location": "research-value" + } + }, + "result": { + "state": "value", + "json": "\"\u00e9\\n\"" + } + } + } + }, + "expected": { + "refusal": "read-failed" + }, + "wireJson": "{\"verifyLineage\":{\"rule\":{\"contractVersion\":\"1\",\"column\":\"A\",\"kind\":\"text\"},\"frame\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null },\"transformation\":{\"contractVersion\":\"1\",\"column\":\"A\",\"input\":{\"state\":\"present\",\"ref\":{\"frameSha256\":\"sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a\",\"location\":\"research-value\"}},\"result\":{\"state\":\"value\",\"json\":\"\\\"\\u00e9\\\\n\\\"\"}}}}" + }, + { + "id": "reference-unknown-location", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + }, + "transformation": { + "contractVersion": "1", + "column": "A", + "input": { + "state": "present", + "ref": { + "frameSha256": "sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a", + "location": "uri" + } + }, + "result": { + "state": "value", + "json": "\"\u00e9\\n\"" + } + } + } + }, + "expected": { + "refusal": "read-failed" + }, + "wireJson": "{\"verifyLineage\":{\"rule\":{\"contractVersion\":\"1\",\"column\":\"A\",\"kind\":\"text\"},\"frame\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null },\"transformation\":{\"contractVersion\":\"1\",\"column\":\"A\",\"input\":{\"state\":\"present\",\"ref\":{\"frameSha256\":\"sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a\",\"location\":\"uri\"}},\"result\":{\"state\":\"value\",\"json\":\"\\\"\\u00e9\\\\n\\\"\"}}}}" + }, + { + "id": "reference-wrong-column", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + }, + "transformation": { + "contractVersion": "1", + "column": "B", + "input": { + "state": "present", + "ref": { + "frameSha256": "sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a", + "location": "values" + } + }, + "result": { + "state": "value", + "json": "\"\u00e9\\n\"" + } + } + } + }, + "expected": { + "refusal": "read-failed" + }, + "wireJson": "{\"verifyLineage\":{\"rule\":{\"contractVersion\":\"1\",\"column\":\"A\",\"kind\":\"text\"},\"frame\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null },\"transformation\":{\"contractVersion\":\"1\",\"column\":\"B\",\"input\":{\"state\":\"present\",\"ref\":{\"frameSha256\":\"sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a\",\"location\":\"values\"}},\"result\":{\"state\":\"value\",\"json\":\"\\\"\\u00e9\\\\n\\\"\"}}}}" + }, + { + "id": "reference-inline-copy", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + }, + "transformation": { + "contractVersion": "1", + "column": "A", + "input": { + "state": "present", + "json": "\"\u00e9\\n\"" + }, + "result": { + "state": "value", + "json": "\"\u00e9\\n\"" + } + } + } + }, + "expected": { + "refusal": "read-failed" + }, + "wireJson": "{\"verifyLineage\":{\"rule\":{\"contractVersion\":\"1\",\"column\":\"A\",\"kind\":\"text\"},\"frame\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null },\"transformation\":{\"contractVersion\":\"1\",\"column\":\"A\",\"input\":{\"state\":\"present\",\"json\":\"\\\"\\u00e9\\\\n\\\"\"},\"result\":{\"state\":\"value\",\"json\":\"\\\"\\u00e9\\\\n\\\"\"}}}}" + }, + { + "id": "reference-unresolved", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + }, + "transformation": { + "contractVersion": "1", + "column": "A", + "input": { + "state": "missing" + }, + "result": { + "state": "value", + "json": "\"\u00e9\\n\"" + } + } + } + }, + "expected": { + "refusal": "read-failed" + }, + "wireJson": "{\"verifyLineage\":{\"rule\":{\"contractVersion\":\"1\",\"column\":\"A\",\"kind\":\"text\"},\"frame\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null },\"transformation\":{\"contractVersion\":\"1\",\"column\":\"A\",\"input\":{\"state\":\"missing\"},\"result\":{\"state\":\"value\",\"json\":\"\\\"\\u00e9\\\\n\\\"\"}}}}" + }, + { + "id": "reference-changed-result", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + }, + "transformation": { + "contractVersion": "1", + "column": "A", + "input": { + "state": "present", + "ref": { + "frameSha256": "sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a", + "location": "values" + } + }, + "result": { + "state": "value", + "json": "\"changed\"" + } + } + } + }, + "expected": { + "refusal": "read-failed" + }, + "wireJson": "{\"verifyLineage\":{\"rule\":{\"contractVersion\":\"1\",\"column\":\"A\",\"kind\":\"text\"},\"frame\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null },\"transformation\":{\"contractVersion\":\"1\",\"column\":\"A\",\"input\":{\"state\":\"present\",\"ref\":{\"frameSha256\":\"sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a\",\"location\":\"values\"}},\"result\":{\"state\":\"value\",\"json\":\"\\\"changed\\\"\"}}}}" + }, + { + "id": "reference-extra-metadata", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + }, + "transformation": { + "contractVersion": "1", + "column": "A", + "input": { + "state": "present", + "ref": { + "frameSha256": "sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a", + "location": "values" + } + }, + "result": { + "state": "value", + "json": "\"\u00e9\\n\"" + }, + "extra": "unsupported" + } + } + }, + "expected": { + "refusal": "read-failed" + }, + "wireJson": "{\"verifyLineage\":{\"rule\":{\"contractVersion\":\"1\",\"column\":\"A\",\"kind\":\"text\"},\"frame\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null },\"transformation\":{\"contractVersion\":\"1\",\"column\":\"A\",\"input\":{\"state\":\"present\",\"ref\":{\"frameSha256\":\"sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a\",\"location\":\"values\"}},\"result\":{\"state\":\"value\",\"json\":\"\\\"\\u00e9\\\\n\\\"\"},\"extra\":\"unsupported\"}}}" + }, + { + "id": "reference-compacted-frame-refused", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + }, + "transformation": { + "contractVersion": "1", + "column": "A", + "input": { + "state": "present", + "ref": { + "frameSha256": "sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a", + "location": "values" + } + }, + "result": { + "state": "value", + "json": "\"\u00e9\\n\"" + } + } + } + }, + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "reference-substituted-frame", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "changed" + }, + "research": null + }, + "transformation": { + "contractVersion": "1", + "column": "A", + "input": { + "state": "present", + "ref": { + "frameSha256": "sha256:0499b2a42e8fbc6a26dca2e2a63060ca977dde0f4c2b7fa77b6b6808f54f017a", + "location": "values" + } + }, + "result": { + "state": "value", + "json": "\"\u00e9\\n\"" + } + } + } + }, + "expected": { + "refusal": "read-failed" + } + }, + { + "id": "source-response-to-sole-text", + "request": { + "retainSource": { + "source": { + "response": { + "result": { + "contractVersion": "1", + "originalSnapshotJson": "{\"n\":1e3,\"s\":\"\\u00e9\"}", + "originalSnapshotSha256": "sha256:0000000000000000000000000000000000000000000000000000000000000000", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "\u00e9\n" + }, + "research": { + "recordRecipeRevision": "recipe:1", + "declaration": null, + "fields": {} + } + } + }, + "receipt": {}, + "salts": {} + } + } + } + }, + "expected": { + "retainedResponseJson": "{ \"result\":{\"contractVersion\":\"1\",\"originalSnapshotJson\":\"{\\\"n\\\":1e3,\\\"s\\\":\\\"\\\\u00e9\\\"}\",\"originalSnapshotSha256\":\"sha256:0000000000000000000000000000000000000000000000000000000000000000\",\"retained\":{ \"contractVersion\":\"1\", \"origin\":\"generated\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":{\"recordRecipeRevision\":\"recipe:1\",\"declaration\":null,\"fields\":{}} }}, \"receipt\":{}, \"salts\":{} }" + }, + "wireJson": "{\"retainSource\":{\"source\":{\"response\":{ \"result\":{\"contractVersion\":\"1\",\"originalSnapshotJson\":\"{\\\"n\\\":1e3,\\\"s\\\":\\\"\\\\u00e9\\\"}\",\"originalSnapshotSha256\":\"sha256:0000000000000000000000000000000000000000000000000000000000000000\",\"retained\":{ \"contractVersion\":\"1\", \"origin\":\"generated\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":{\"recordRecipeRevision\":\"recipe:1\",\"declaration\":null,\"fields\":{}} }}, \"receipt\":{}, \"salts\":{} }}}}" + }, + { + "id": "source-sole-text", + "request": { + "retainSource": { + "source": { + "retainedResponseJson": "{ \"result\":{\"contractVersion\":\"1\",\"originalSnapshotJson\":\"{\\\"n\\\":1e3,\\\"s\\\":\\\"\\\\u00e9\\\"}\",\"originalSnapshotSha256\":\"sha256:0000000000000000000000000000000000000000000000000000000000000000\",\"retained\":{ \"contractVersion\":\"1\", \"origin\":\"generated\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":{\"recordRecipeRevision\":\"recipe:1\",\"declaration\":null,\"fields\":{}} }}, \"receipt\":{}, \"salts\":{} }" + } + } + }, + "expected": { + "retainedResponseJson": "{ \"result\":{\"contractVersion\":\"1\",\"originalSnapshotJson\":\"{\\\"n\\\":1e3,\\\"s\\\":\\\"\\\\u00e9\\\"}\",\"originalSnapshotSha256\":\"sha256:0000000000000000000000000000000000000000000000000000000000000000\",\"retained\":{ \"contractVersion\":\"1\", \"origin\":\"generated\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":{\"recordRecipeRevision\":\"recipe:1\",\"declaration\":null,\"fields\":{}} }}, \"receipt\":{}, \"salts\":{} }" + } + }, + { + "id": "case-object-to-sole-text", + "request": { + "retainCase": { + "source": { + "case": { + "origin": { + "originalValues": { + "A": "\t" + }, + "n": 1000.0 + }, + "retained": { + "contractVersion": "1", + "origin": "asserted", + "values": { + "A": "\u00e9\n" + }, + "research": null + } + } + } + } + }, + "expected": { + "retainedCaseJson": "{ \"origin\":{\"originalValues\":{\"A\":\"\\t\"},\"n\":1e3}, \"retained\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null } }" + }, + "wireJson": "{\"retainCase\":{\"source\":{\"case\":{ \"origin\":{\"originalValues\":{\"A\":\"\\t\"},\"n\":1e3}, \"retained\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null } }}}}" + }, + { + "id": "case-sole-text", + "request": { + "retainCase": { + "source": { + "retainedCaseJson": "{ \"origin\":{\"originalValues\":{\"A\":\"\\t\"},\"n\":1e3}, \"retained\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null } }" + } + } + }, + "expected": { + "retainedCaseJson": "{ \"origin\":{\"originalValues\":{\"A\":\"\\t\"},\"n\":1e3}, \"retained\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null } }" + } + }, + { + "id": "retainSource-dual", + "request": { + "retainSource": { + "source": { + "retainedResponseJson": "{ \"result\":{\"contractVersion\":\"1\",\"originalSnapshotJson\":\"{\\\"n\\\":1e3,\\\"s\\\":\\\"\\\\u00e9\\\"}\",\"originalSnapshotSha256\":\"sha256:0000000000000000000000000000000000000000000000000000000000000000\",\"retained\":{ \"contractVersion\":\"1\", \"origin\":\"generated\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":{\"recordRecipeRevision\":\"recipe:1\",\"declaration\":null,\"fields\":{}} }}, \"receipt\":{}, \"salts\":{} }", + "response": {} + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainSource-sibling", + "request": { + "retainSource": { + "source": { + "retainedResponseJson": "{ \"result\":{\"contractVersion\":\"1\",\"originalSnapshotJson\":\"{\\\"n\\\":1e3,\\\"s\\\":\\\"\\\\u00e9\\\"}\",\"originalSnapshotSha256\":\"sha256:0000000000000000000000000000000000000000000000000000000000000000\",\"retained\":{ \"contractVersion\":\"1\", \"origin\":\"generated\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":{\"recordRecipeRevision\":\"recipe:1\",\"declaration\":null,\"fields\":{}} }}, \"receipt\":{}, \"salts\":{} }", + "snapshot": {} + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainSource-null", + "request": { + "retainSource": { + "source": { + "retainedResponseJson": null + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainSource-empty", + "request": { + "retainSource": { + "source": { + "retainedResponseJson": "" + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainSource-wrongcase", + "request": { + "retainSource": { + "source": { + "RetainedResponseJson": "{ \"result\":{\"contractVersion\":\"1\",\"originalSnapshotJson\":\"{\\\"n\\\":1e3,\\\"s\\\":\\\"\\\\u00e9\\\"}\",\"originalSnapshotSha256\":\"sha256:0000000000000000000000000000000000000000000000000000000000000000\",\"retained\":{ \"contractVersion\":\"1\", \"origin\":\"generated\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":{\"recordRecipeRevision\":\"recipe:1\",\"declaration\":null,\"fields\":{}} }}, \"receipt\":{}, \"salts\":{} }" + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainSource-nonobject", + "request": { + "retainSource": { + "source": { + "retainedResponseJson": "[]" + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainSource-duplicate", + "request": { + "retainSource": { + "source": { + "retainedResponseJson": "{\"a\":1,\"a\":2}" + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainCase-dual", + "request": { + "retainCase": { + "source": { + "retainedCaseJson": "{ \"origin\":{\"originalValues\":{\"A\":\"\\t\"},\"n\":1e3}, \"retained\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null } }", + "case": {} + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainCase-sibling", + "request": { + "retainCase": { + "source": { + "retainedCaseJson": "{ \"origin\":{\"originalValues\":{\"A\":\"\\t\"},\"n\":1e3}, \"retained\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null } }", + "snapshot": {} + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainCase-null", + "request": { + "retainCase": { + "source": { + "retainedCaseJson": null + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainCase-empty", + "request": { + "retainCase": { + "source": { + "retainedCaseJson": "" + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainCase-wrongcase", + "request": { + "retainCase": { + "source": { + "RetainedCaseJson": "{ \"origin\":{\"originalValues\":{\"A\":\"\\t\"},\"n\":1e3}, \"retained\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null } }" + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainCase-nonobject", + "request": { + "retainCase": { + "source": { + "retainedCaseJson": "[]" + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "retainCase-duplicate", + "request": { + "retainCase": { + "source": { + "retainedCaseJson": "{\"a\":1,\"a\":2}" + } + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "reference-labelled-boolean-example", + "request": { + "lineage": { + "rule": { + "contractVersion": "1", + "column": "Eligible", + "kind": "boolean", + "trueValue": "YES", + "falseValue": "NO" + }, + "frame": { + "contractVersion": "1", + "origin": "generated", + "values": { + "Eligible": "YES" + }, + "research": { + "recordRecipeRevision": "recipe:1", + "declaration": { + "recipeRevision": "recipe:1", + "fields": [ + { + "name": "Eligible", + "fieldJson": "{\"name\":\"Eligible\",\"type\":\"boolean\",\"description\":\"Retained original declaration.\"}" + } + ] + }, + "fields": { + "Eligible": { + "status": "supported", + "valueJson": "false" + } + } + } + } + } + }, + "expected": { + "contractVersion": "1", + "column": "Eligible", + "input": { + "state": "present", + "ref": { + "frameSha256": "sha256:5e15070ee22fcb46096f162d845f4604a16523515a61fe089211339ec08529bf", + "location": "values" + } + }, + "result": { + "state": "value", + "json": "true" + } + } + }, + { + "id": "reference-null-frame", + "request": { + "verifyLineage": { + "rule": { + "contractVersion": "1", + "column": "A", + "kind": "text" + }, + "frame": null, + "transformation": {} + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "reference-null-probe", + "request": { + "verifyLineage": null + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "reference-empty-probe", + "request": { + "verifyLineage": {} + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "reference-missing-transformation", + "request": { + "verifyLineage": { + "rule": {}, + "frame": {} + } + }, + "expected": { + "refusal": "input-malformed" + } + } + ], + "capCases": [ + { + "id": "caps-base-document-validation", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-over-base-document-validation-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048577, + "frameBytes": 2097152 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-document-validation-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048576, + "frameBytes": 2097153 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-base-preview", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-over-base-preview-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048577, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preview-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582913, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preview-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097153, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preview-profilesBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81921, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preview-requestBodyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777217, + "inputReplyBytes": 37748736 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preview-inputReplyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preview", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748737 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-base-preparation", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-over-base-preparation-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048577, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582913, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097153, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-preparationBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777217, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-recordBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437185, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-profilesBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81921, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-requestBodyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777217, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-inputReplyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748737, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-releaseStoredBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943041, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-runStoredBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943041, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-exportBaseBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497473, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-exportWireBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177537 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-base-preparation-verification", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-over-base-preparation-verification-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048577, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-verification-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582913, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-verification-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097153, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-verification-preparationBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777217, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-verification-recordBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437185, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-verification-profilesBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81921, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-verification-requestBodyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777217, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-verification-inputReplyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748737, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-verification-releaseStoredBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943041, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-verification-runStoredBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943041, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-verification-exportBaseBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497473, + "exportWireBytes": 90177536 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-preparation-verification-exportWireBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177537 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-base-producer-carrier", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-over-base-producer-carrier-originalSnapshotBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524289, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-producer-carrier-carrierBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145729, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-producer-carrier-grantBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145729, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-producer-carrier-adapterStdoutBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145729, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-producer-carrier-responseBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242881, + "profilesBytes": 81920 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-base-producer-carrier-profilesBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81921 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-extended-document-validation", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + }, + "sizes": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-over-extended-document-validation-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + }, + "sizes": { + "documentBytes": 2097153, + "frameBytes": 4194304 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-document-validation-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "document-validation", + "limits": { + "documentBytes": 2097152, + "frameBytes": 4194304 + } + }, + "sizes": { + "documentBytes": 2097152, + "frameBytes": 4194305 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-extended-preview", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-over-extended-preview-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + }, + "sizes": { + "documentBytes": 2097153, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preview-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165825, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preview-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194305, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preview-profilesBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163841, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preview-requestBodyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554433, + "inputReplyBytes": 75497472 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preview-inputReplyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preview", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497473 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-extended-preparation", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-over-extended-preparation-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097153, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165825, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194305, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-preparationBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554433, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-recordBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825793, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-profilesBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163841, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-requestBodyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554433, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-inputReplyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497473, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-releaseStoredBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886081, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-runStoredBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886081, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-exportBaseBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994945, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-exportWireBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160769 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-extended-preparation-verification", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-over-extended-preparation-verification-documentBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097153, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-verification-combinedBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165825, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-verification-frameBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194305, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-verification-preparationBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554433, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-verification-recordBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825793, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-verification-profilesBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163841, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-verification-requestBodyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554433, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-verification-inputReplyBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497473, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-verification-releaseStoredBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886081, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-verification-runStoredBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886081, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-verification-exportBaseBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994945, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-preparation-verification-exportWireBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160769 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-extended-producer-carrier", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-over-extended-producer-carrier-originalSnapshotBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524289, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-producer-carrier-carrierBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145729, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-producer-carrier-grantBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145729, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-producer-carrier-adapterStdoutBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145729, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-producer-carrier-responseBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242881, + "profilesBytes": 163840 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-over-extended-producer-carrier-profilesBytes", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163841 + } + } + }, + "expected": { + "refusal": "input-over-bound" + } + }, + { + "id": "caps-untrusted-agreement-version", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "arbitrary-host-version", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "arbitrary-host-version", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "caps-untrusted-agreement-revision", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "ffffffffffffffffffffffffffffffffffffffff", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "ffffffffffffffffffffffffffffffffffffffff", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "caps-untrusted-agreement-schemaSha256", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "caps-untrusted-agreement-corpusSha256", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048576, + "frameBytes": 2097152 + } } - ] + }, + "expected": { + "refusal": "capability-unsupported" + } }, { - "id": "producer-availability-unknown", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"unknown\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:e4866ac57ce1aabf403a9aef302f6d53d53add86853b4274d7ceb96c6b79e741" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "values", - "Evidence" - ], - "value": "unknown" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:a3e6dcbf9b0826353d6aba20167e76dd93a6bb86e770e99d0c3a287a6815912c" - }, - { - "path": [ - "generatedConsistency", - "rule", - "column" - ], - "value": "Evidence" - }, - { - "path": [ - "generatedConsistency", - "rule", - "kind" - ], - "value": "evidence-availability" + "id": "selection-all-roles", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preparation" } - ], - "expectedPatch": [ - { - "path": [ - "originalSnapshotSha256" - ], - "value": "sha256:e4866ac57ce1aabf403a9aef302f6d53d53add86853b4274d7ceb96c6b79e741" - }, - { - "path": [ - "frameSha256" - ], - "value": "sha256:775394053b4489fb881c6b1a2ba96abdc6d587f34086478769a59e143d07ae4a" - }, - { - "path": [ - "projection", - "values", - "Evidence" - ], - "value": "unknown" - }, - { - "path": [ - "transformation", - "researchIdentity" - ], - "remove": true - }, - { - "path": [ - "transformation", - "column" - ], - "value": "Evidence" - }, - { - "path": [ - "transformation", - "input", - "json" - ], - "value": "\"unknown\"" - }, - { - "path": [ - "transformation", - "result", - "json" - ], - "value": "\"unknown\"" + }, + "expected": { + "selected": true + } + }, + { + "id": "selection-extra", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ], + "extra": true + }, + "role": "preparation" } - ] + }, + "expected": { + "refusal": "input-malformed" + } }, { - "id": "producer-revision-boundary-1", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":1,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":1,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:2c0c1589d4e4d7245a483dc680570976793bd11391ed41a0d22c076897a72a00" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "recordRecipeRevision" - ], - "value": "sha256:2ad9735e6b3b81add9fa85447209c1104b85708c81a6694ea83d607e6bc15ca2" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "recipeRevision" - ], - "value": "sha256:2ad9735e6b3b81add9fa85447209c1104b85708c81a6694ea83d607e6bc15ca2" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:5a88b51911f607c70cc530c704ce668cc964180919765f6d909968c5d6f67183" + "id": "selection-profile", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "future", + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preparation" } - ], - "expectedPatch": [ - { - "path": [ - "originalSnapshotSha256" - ], - "value": "sha256:2c0c1589d4e4d7245a483dc680570976793bd11391ed41a0d22c076897a72a00" - }, - { - "path": [ - "frameSha256" - ], - "value": "sha256:a1e85c3dd9f3ea55d8afba10d4568c9c5e3a69ae2ab5308d73ea6b8b7db35810" - }, - { - "path": [ - "revisionIdentity" - ], - "value": "sha256:2ad9735e6b3b81add9fa85447209c1104b85708c81a6694ea83d607e6bc15ca2" - }, - { - "path": [ - "projection", - "recipeVersion" - ], - "value": 1 - }, - { - "path": [ - "projection", - "recordRecipeVersion" - ], - "value": 1 - }, - { - "path": [ - "transformation", - "researchIdentity", - "recipeRevision" - ], - "value": "sha256:2ad9735e6b3b81add9fa85447209c1104b85708c81a6694ea83d607e6bc15ca2" + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "selection-unknown-role", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "future" + ] + }, + "role": "preparation" + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "selection-duplicate-role", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "preparation", + "preparation" + ] + }, + "role": "preparation" + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "selection-order", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "preparation", + "preview" + ] + }, + "role": "preparation" + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "selection-missing-required-role", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "preview" + ] + }, + "role": "preparation" + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "selection-empty-roles", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [] + }, + "role": "preparation" + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "selection-limits-forbidden", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ], + "limits": { + "documentBytes": 1048576, + "frameBytes": 2097152, + "combinedBytes": 12582912, + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } + }, + "role": "preparation" + } + }, + "expected": { + "refusal": "input-malformed" + } + }, + { + "id": "selection-untrusted-version", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "other", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preparation" } - ] + }, + "expected": { + "refusal": "capability-unsupported" + } }, { - "id": "producer-revision-boundary-9007199254740991", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":9007199254740991,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":\"supported\",\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":9007199254740991,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:846acccd4ba99ed32bfbd72c86b76ea94cf9d430e2dea4ebe8c58a7b96276418" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "recordRecipeRevision" - ], - "value": "sha256:195f78bf3c5a40044ebe16d52f934a9edb9f5665ac93c6bec7525d939adcb18e" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "recipeRevision" - ], - "value": "sha256:195f78bf3c5a40044ebe16d52f934a9edb9f5665ac93c6bec7525d939adcb18e" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:0ba64b795fb9c175b5272b6abab9cf46486eaeac62aec7b6b51186c0b4dc9ca8" + "id": "selection-untrusted-revision", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "ffffffffffffffffffffffffffffffffffffffff", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preparation" } - ], - "expectedPatch": [ - { - "path": [ - "originalSnapshotSha256" - ], - "value": "sha256:846acccd4ba99ed32bfbd72c86b76ea94cf9d430e2dea4ebe8c58a7b96276418" - }, - { - "path": [ - "frameSha256" - ], - "value": "sha256:eabb4bad72c9859b47186ff9d39ef89ba7f0f3573bdc880a390ba22ea0c8e3fc" - }, - { - "path": [ - "revisionIdentity" - ], - "value": "sha256:195f78bf3c5a40044ebe16d52f934a9edb9f5665ac93c6bec7525d939adcb18e" - }, - { - "path": [ - "projection", - "recipeVersion" - ], - "value": 9007199254740991 - }, - { - "path": [ - "projection", - "recordRecipeVersion" - ], - "value": 9007199254740991 - }, - { - "path": [ - "transformation", - "researchIdentity", - "recipeRevision" - ], - "value": "sha256:195f78bf3c5a40044ebe16d52f934a9edb9f5665ac93c6bec7525d939adcb18e" + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "selection-untrusted-schemaSha256", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preparation" } - ] + }, + "expected": { + "refusal": "capability-unsupported" + } }, { - "id": "producer-escaped-frame-identity", - "expectedPatch": [ - { - "path": [ - "frameSha256" - ], - "value": "sha256:6e1ee80662772a061f8a00d1b32fef99259ce06a5973770ff3abd94836b0ca72" + "id": "selection-untrusted-corpusSha256", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "profile": "base", + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preparation" } - ], - "wireJson": "{\"generatedConsistency\":{\"carrier\":{\"contractVersion\":\"1\",\"originalSnapshotJson\":\"{\\\"version\\\":1,\\\"class\\\":\\\"generated\\\",\\\"preparationId\\\":\\\"prep_synthetic\\\",\\\"recipeVersion\\\":8,\\\"qualification\\\":null,\\\"prepared\\\":{\\\"ignored\\\":\\\"not raw input\\\"},\\\"record\\\":{\\\"id\\\":\\\"record_synthetic\\\",\\\"name\\\":\\\"Synthetic\\\",\\\"sourceId\\\":\\\"source_synthetic\\\",\\\"row\\\":1,\\\"class\\\":\\\"generated\\\",\\\"status\\\":\\\"ready\\\",\\\"values\\\":{\\\"Text\\\":\\\" A \\\",\\\"Integer\\\":\\\"-0\\\",\\\"Decimal\\\":\\\"1.2300\\\",\\\"Boolean\\\":\\\"false\\\",\\\"List\\\":\\\"[]\\\",\\\"Range\\\":\\\"{\\\\\\\"min\\\\\\\":\\\\\\\"1.00\\\\\\\",\\\\\\\"max\\\\\\\":\\\\\\\"2.0\\\\\\\"}\\\",\\\"String\\\":\\\"\\\",\\\"Number\\\":\\\"-0\\\",\\\"Evidence\\\":\\\"present\\\"},\\\"research\\\":{\\\"runId\\\":\\\"research_11111111111111111111111111111111\\\",\\\"recipeVersion\\\":7,\\\"entity\\\":{\\\"id\\\":\\\"entity_synthetic\\\",\\\"kind\\\":\\\"record\\\",\\\"name\\\":\\\"Synthetic\\\",\\\"url\\\":\\\"https://example.test/\\\",\\\"fields\\\":{\\\"Text\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":\\\" A \\\",\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Integer\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":-0,\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Decimal\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":\\\"1.2300\\\",\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Boolean\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":false,\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"List\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":[],\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Range\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"},\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"String\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":\\\"\\\",\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Number\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":-0,\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"},\\\"Evidence\\\":{\\\"status\\\":\\\"supported\\\",\\\"value\\\":\\\"present\\\",\\\"sources\\\":[],\\\"note\\\":\\\"opaque source note\\\"}}}}},\\\"values\\\":{\\\"Text\\\":\\\"filtered visible\\\"},\\\"research\\\":{\\\"id\\\":\\\"research_11111111111111111111111111111111\\\",\\\"recipeVersion\\\":7,\\\"recipe\\\":{\\\"version\\\":1,\\\"target\\\":\\\"records\\\",\\\"fields\\\":[{ \\\"type\\\" : \\\"text\\\", \\\"name\\\" : \\\"Text\\\", \\\"description\\\" : \\\"A \\\\u0042 / kept\\\" },{\\\"name\\\":\\\"Integer\\\",\\\"type\\\":\\\"integer\\\",\\\"description\\\":\\\"Original integer\\\"},{\\\"name\\\":\\\"Decimal\\\",\\\"type\\\":\\\"decimal\\\",\\\"description\\\":\\\"Original decimal\\\"},{\\\"name\\\":\\\"Boolean\\\",\\\"type\\\":\\\"boolean\\\",\\\"description\\\":\\\"Original boolean\\\"},{\\\"name\\\":\\\"List\\\",\\\"type\\\":\\\"text-list\\\",\\\"description\\\":\\\"Original list\\\"},{\\\"name\\\":\\\"Range\\\",\\\"type\\\":\\\"range\\\",\\\"description\\\":\\\"Original range\\\"},{\\\"name\\\":\\\"String\\\",\\\"type\\\":\\\"string\\\",\\\"description\\\":\\\"Historical string\\\"},{\\\"name\\\":\\\"Number\\\",\\\"type\\\":\\\"number\\\",\\\"description\\\":\\\"Historical number\\\"},{\\\"name\\\":\\\"Evidence\\\",\\\"type\\\":\\\"text\\\",\\\"description\\\":\\\"Availability\\\"}],\\\"criteria\\\":[],\\\"ai\\\":{},\\\"limits\\\":{}},\\\"intent\\\":\\\"Opaque original intent\\\",\\\"createdAt\\\":\\\"2026-01-01T00:00:00Z\\\",\\\"approvedLimits\\\":{},\\\"budgetApprovals\\\":[],\\\"workflowApproval\\\":null,\\\"modelResponses\\\":[],\\\"sources\\\":[]},\\\"reviews\\\":[],\\\"legacyOpaque\\\":{\\\"escaped\\\":\\\"\\\\ud800\\\"}}\",\"originalSnapshotSha256\":\"sha256:059b04e2781eea91f1d1f529fdbd5f6da1d1e731acab7309615b99a7ec52f4ea\",\"retained\":{\"contractVersion\":\"1\",\"origin\":\"generated\",\"values\":{\"\\u0054ext\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"recordRecipeRevision\":\"sha256:2fffc39ce48e5ecf531123cbcf65ff4dac679c044a25c681ecd44bc2fb28daed\",\"declaration\":{\"recipeRevision\":\"sha256:2fffc39ce48e5ecf531123cbcf65ff4dac679c044a25c681ecd44bc2fb28daed\",\"fields\":[{\"name\":\"Text\",\"fieldJson\":\"{\\\"type\\\":\\\"text\\\",\\\"name\\\":\\\"Text\\\",\\\"description\\\":\\\"A \\\\u0042 / kept\\\"}\"},{\"name\":\"Integer\",\"fieldJson\":\"{\\\"name\\\":\\\"Integer\\\",\\\"type\\\":\\\"integer\\\",\\\"description\\\":\\\"Original integer\\\"}\"},{\"name\":\"Decimal\",\"fieldJson\":\"{\\\"name\\\":\\\"Decimal\\\",\\\"type\\\":\\\"decimal\\\",\\\"description\\\":\\\"Original decimal\\\"}\"},{\"name\":\"Boolean\",\"fieldJson\":\"{\\\"name\\\":\\\"Boolean\\\",\\\"type\\\":\\\"boolean\\\",\\\"description\\\":\\\"Original boolean\\\"}\"},{\"name\":\"List\",\"fieldJson\":\"{\\\"name\\\":\\\"List\\\",\\\"type\\\":\\\"text-list\\\",\\\"description\\\":\\\"Original list\\\"}\"},{\"name\":\"Range\",\"fieldJson\":\"{\\\"name\\\":\\\"Range\\\",\\\"type\\\":\\\"range\\\",\\\"description\\\":\\\"Original range\\\"}\"},{\"name\":\"String\",\"fieldJson\":\"{\\\"name\\\":\\\"String\\\",\\\"type\\\":\\\"string\\\",\\\"description\\\":\\\"Historical string\\\"}\"},{\"name\":\"Number\",\"fieldJson\":\"{\\\"name\\\":\\\"Number\\\",\\\"type\\\":\\\"number\\\",\\\"description\\\":\\\"Historical number\\\"}\"},{\"name\":\"Evidence\",\"fieldJson\":\"{\\\"name\\\":\\\"Evidence\\\",\\\"type\\\":\\\"text\\\",\\\"description\\\":\\\"Availability\\\"}\"}]},\"fields\":{\"Text\":{\"status\":\"supported\",\"valueJson\":\"\\\" A \\\"\"},\"Integer\":{\"status\":\"supported\",\"valueJson\":\"-0\"},\"Decimal\":{\"status\":\"supported\",\"valueJson\":\"\\\"1.2300\\\"\"},\"Boolean\":{\"status\":\"supported\",\"valueJson\":\"false\"},\"List\":{\"status\":\"supported\",\"valueJson\":\"[]\"},\"Range\":{\"status\":\"supported\",\"valueJson\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\"},\"String\":{\"status\":\"supported\",\"valueJson\":\"\\\"\\\"\"},\"Number\":{\"status\":\"supported\",\"valueJson\":\"-0\"},\"Evidence\":{\"status\":\"supported\",\"valueJson\":\"\\\"present\\\"\"}}}}},\"profile\":\"base\",\"limits\":{\"originalSnapshotBytes\":524288,\"carrierBytes\":3145728},\"trustedProducer\":{\"id\":\"reviewed-columns\",\"profileDigest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"class\":\"generated\",\"source\":\"desk-inputs\",\"authority\":\"synthetic-trusted-host\",\"shape\":\"mcp\",\"endpoint\":\"desk-local:reviewed-inputs\",\"adapter\":{\"name\":\"jpack-desk/reviewed-input\",\"version\":\"2\",\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"},\"tools\":[\"read_reviewed_input\"],\"retainedColumnProducer\":{\"contractVersion\":\"1\",\"grammar\":\"desk-reviewed-input/1\"}},\"sourceBinding\":{\"kind\":\"operation\",\"profile\":\"reviewed-columns\",\"profileDigest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"},\"receiptResultDigest\":\"sha256:4e8a6ba130e89f25231ce9b54c6062a1bf6e773762b7d41929839319d11f43c4\",\"rule\":{\"contractVersion\":\"1\",\"column\":\"Text\",\"kind\":\"research-value\"}}}" + }, + "expected": { + "refusal": "capability-unsupported" + } }, { - "id": "producer-null-carrier", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier" - ], - "value": null + "id": "caps-reported-capacity-does-not-raise-profile", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048577, + "frameBytes": 2097152 + } + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "document-validation", + "limits": { + "documentBytes": 1048577, + "frameBytes": 2097152 + } + }, + "sizes": { + "documentBytes": 1048577, + "frameBytes": 2097152 + } } - ], + }, "expected": { - "refusal": "input-malformed" + "refusal": "input-over-bound" } }, { - "id": "producer-null-trust", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "trustedProducer" - ], - "value": null + "id": "selection-extended-conditional", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preparation" } - ], + }, "expected": { - "refusal": "input-malformed" + "selected": true } }, { - "id": "producer-nonscalar-status", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotJson" - ], - "value": "{\"version\":1,\"class\":\"generated\",\"preparationId\":\"prep_synthetic\",\"recipeVersion\":8,\"qualification\":null,\"prepared\":{\"ignored\":\"not raw input\"},\"record\":{\"id\":\"record_synthetic\",\"name\":\"Synthetic\",\"sourceId\":\"source_synthetic\",\"row\":1,\"class\":\"generated\",\"status\":\"ready\",\"values\":{\"Text\":\" A \",\"Integer\":\"-0\",\"Decimal\":\"1.2300\",\"Boolean\":\"false\",\"List\":\"[]\",\"Range\":\"{\\\"min\\\":\\\"1.00\\\",\\\"max\\\":\\\"2.0\\\"}\",\"String\":\"\",\"Number\":\"-0\",\"Evidence\":\"present\"},\"research\":{\"runId\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"entity\":{\"id\":\"entity_synthetic\",\"kind\":\"record\",\"name\":\"Synthetic\",\"url\":\"https://example.test/\",\"fields\":{\"Text\":{\"status\":[],\"value\":\" A \",\"sources\":[],\"note\":\"opaque source note\"},\"Integer\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Decimal\":{\"status\":\"supported\",\"value\":\"1.2300\",\"sources\":[],\"note\":\"opaque source note\"},\"Boolean\":{\"status\":\"supported\",\"value\":false,\"sources\":[],\"note\":\"opaque source note\"},\"List\":{\"status\":\"supported\",\"value\":[],\"sources\":[],\"note\":\"opaque source note\"},\"Range\":{\"status\":\"supported\",\"value\":{\"min\":\"1.00\",\"max\":\"2.0\"},\"sources\":[],\"note\":\"opaque source note\"},\"String\":{\"status\":\"supported\",\"value\":\"\",\"sources\":[],\"note\":\"opaque source note\"},\"Number\":{\"status\":\"supported\",\"value\":-0,\"sources\":[],\"note\":\"opaque source note\"},\"Evidence\":{\"status\":\"supported\",\"value\":\"present\",\"sources\":[],\"note\":\"opaque source note\"}}}}},\"values\":{\"Text\":\"filtered visible\"},\"research\":{\"id\":\"research_11111111111111111111111111111111\",\"recipeVersion\":7,\"recipe\":{\"version\":1,\"target\":\"records\",\"fields\":[{ \"type\" : \"text\", \"name\" : \"Text\", \"description\" : \"A \\u0042 / kept\" },{\"name\":\"Integer\",\"type\":\"integer\",\"description\":\"Original integer\"},{\"name\":\"Decimal\",\"type\":\"decimal\",\"description\":\"Original decimal\"},{\"name\":\"Boolean\",\"type\":\"boolean\",\"description\":\"Original boolean\"},{\"name\":\"List\",\"type\":\"text-list\",\"description\":\"Original list\"},{\"name\":\"Range\",\"type\":\"range\",\"description\":\"Original range\"},{\"name\":\"String\",\"type\":\"string\",\"description\":\"Historical string\"},{\"name\":\"Number\",\"type\":\"number\",\"description\":\"Historical number\"},{\"name\":\"Evidence\",\"type\":\"text\",\"description\":\"Availability\"}],\"criteria\":[],\"ai\":{},\"limits\":{}},\"intent\":\"Opaque original intent\",\"createdAt\":\"2026-01-01T00:00:00Z\",\"approvedLimits\":{},\"budgetApprovals\":[],\"workflowApproval\":null,\"modelResponses\":[],\"sources\":[]},\"reviews\":[],\"legacyOpaque\":{\"escaped\":\"\\ud800\"}}" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "originalSnapshotSha256" - ], - "value": "sha256:fca776bd6116127a8205e8be1bf08f873be6b942cace10426c1131eb75eb316d" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:93984f2cc75d67a2562c965876f4057a72e0c3f3452c65af8dd3ef4dd14fd9c5" + "id": "caps-base-preparation-generated-grammar", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + }, + "producerGrammar": "desk-reviewed-input/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } } - ], + }, "expected": { - "refusal": "input-malformed" + "admitted": true } }, { - "id": "producer-extended-small-consistency", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "profile" - ], - "value": "extended" + "id": "caps-base-preparation-verification-generated-grammar", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + }, + "producerGrammar": "desk-reviewed-input/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "preparation-verification", + "limits": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "documentBytes": 1048576, + "combinedBytes": 12582912, + "frameBytes": 2097152, + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 + } } - ] + }, + "expected": { + "admitted": true + } }, { - "id": "producer-current-both-frame-revisions", - "requestPatch": [ - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "recordRecipeRevision" - ], - "value": "sha256:6ac1dde4e2cb90262060258a1cb1ee5ba2538f4822f427fb24110e9fbcbb69cf" - }, - { - "path": [ - "generatedConsistency", - "carrier", - "retained", - "research", - "declaration", - "recipeRevision" - ], - "value": "sha256:6ac1dde4e2cb90262060258a1cb1ee5ba2538f4822f427fb24110e9fbcbb69cf" - }, - { - "path": [ - "generatedConsistency", - "receiptResultDigest" - ], - "value": "sha256:23f10df115410791decfad68a7c4ca87a88e5fab7573f98f75dae2635986ddac" + "id": "caps-base-producer-carrier-generated-grammar", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + }, + "producerGrammar": "desk-reviewed-input/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 81920 + } } - ], + }, "expected": { - "refusal": "read-failed" + "admitted": true + } + }, + { + "id": "caps-extended-preparation-generated-grammar", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + }, + "producerGrammar": "desk-reviewed-input/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-extended-preparation-verification-generated-grammar", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + }, + "producerGrammar": "desk-reviewed-input/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "preparation-verification", + "limits": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "documentBytes": 2097152, + "combinedBytes": 25165824, + "frameBytes": 4194304, + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "caps-extended-producer-carrier-generated-grammar", + "request": { + "admission": { + "capabilities": { + "conversionContracts": [ + { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + }, + "producerGrammar": "desk-reviewed-input/1" + } + ] + }, + "required": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "extended", + "role": "producer-carrier", + "limits": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + }, + "producerGrammar": "desk-reviewed-input/1" + }, + "sizes": { + "originalSnapshotBytes": 524288, + "carrierBytes": 3145728, + "grantBytes": 3145728, + "adapterStdoutBytes": 3145728, + "responseBytes": 5242880, + "profilesBytes": 163840 + } + } + }, + "expected": { + "admitted": true + } + }, + { + "id": "selection-preparation-only", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "preparation" + ] + }, + "role": "preparation" + } + }, + "expected": { + "selected": true } } ] diff --git a/rfcs/retained-column-conversion/check.py b/rfcs/retained-column-conversion/check.py index 1f41ff5..438bc75 100644 --- a/rfcs/retained-column-conversion/check.py +++ b/rfcs/retained-column-conversion/check.py @@ -149,10 +149,9 @@ def visit(value, path): ('original-declaration-revision', 'original-revision-mismatch', "declaration['recipeRevision'] != research['recordRecipeRevision']", 'False', 'd.recipeRevision!==r.recordRecipeRevision', 'false'), - ('lineage-raw-number', 'lineage-original-revision7', - "original = {'state':'present', 'json':entry['valueJson']}", - "original = {'state':'present', 'json':entry['valueJson'].replace('-0', '0')}", - "input={state:'present',json:e.valueJson};", "input={state:'present',json:e.valueJson.replace('-0','0')};") + ('lineage-reference-location', 'lineage-original-revision7', + "'location':'research-value'", "'location':'values'", + "location:'research-value'", "location:'values'") ] for command in commands: name = Path(command[-1]).name @@ -207,7 +206,7 @@ def visit(value, path): print(f'{name}: removal {title} detected at {label} expected={json.dumps(case["expected"], ensure_ascii=True, separators=(",", ":"))} got={json.dumps(got, ensure_ascii=True, separators=(",", ":"))}') print(f'{name}: {len(cases)} changed-interface fixtures + duplicate-name/3 limit-token refusals + {len(admission_cases)} callback-order probes + {len(removal)} safeguard-removal probes PASS') print(f'Draft carrier/capability schema: {mutations} member/alternative-removal controls PASS') - print('Scope: exact UTF8 restoration, original declarations, inline lineage and Draft capability admission only; no producer, preparation, independent-authorship or adopted-limit claim.') + print('Scope: exact UTF8 restoration, original declarations, reference lineage and Draft capability admission only; no producer, preparation, independent-authorship or adopted-limit claim.') @@ -363,6 +362,227 @@ def visit(value, path): print(f'Draft producer projection schema: {controls} member/alternative-removal controls PASS') print('Scope: snapshot/frame consistency and portable identities only; acquisition:not-verified, history:not-checked; no producer, preparation or adoption evidence.') +def check_references(replay_changed_outputs=True): + """Only changed reference/custody behavior; reuse unchanged guard evidence.""" + cases = list(DATA['referenceCases']) + if replay_changed_outputs: + cases += [c for c in DATA['interfaceCases'] if 'lineage' in c['request']] + # Generated consistency outputs now contain references; exercise their exact + # handwritten corpus without repeating its unchanged guard-removal matrix. + if replay_changed_outputs: + cases += [expand_producer_case(c) for c in DATA['producerCases']] + encode = lambda c: ((c.get('wireJson') or json.dumps(c['request'], ensure_ascii=True, separators=(',', ':'))) + '\n').encode() + fragments = [EXAMPLES[k] for k in ('lineageFragment', 'preparationSourceFragment', 'retainedSourceFragment', 'assertedCaseCustodyFragment')] + fragments += [c['expected'] for c in cases if 'input' in c['expected']] + fragments.append({'case':{'retained':EXAMPLES['assertedFrame']}}) + for c in DATA['referenceCases']: + if 'refusal' not in c['expected']: + for probe in ('retainSource','retainCase'): + if probe in c['request']: + VALIDATOR.validate(c['request'][probe]['source']) + VALIDATOR.validate(c['expected']) + for f in fragments: + VALIDATOR.validate(f) + # Closed input/retention alternatives have positive carriers for every new + # member/enum, including missing and both reference locations. + missing = {'contractVersion':'1','column':'A','input':{'state':'missing'},'result':{'state':'omitted','reason':'missing'}} + fragments.append(missing) + controls = 0 + for definition in ('inputReference', 'input', 'preparationSource', 'assertedCaseCustody', 'signedResponseFragment'): + def visit(value, path): + nonlocal controls + if isinstance(value, dict): + changes=[] + if value.get('additionalProperties') is False: + changes += [('member', k) for k in value.get('properties', {})] + changes += [('enum', v) for v in value.get('enum', [])] + if 'const' in value: + changes.append(('const', None)) + for kind,key in changes: + changed=copy.deepcopy(SCHEMA); node=changed['$defs'][definition] + for token in path: node=node[token] + if kind=='member': del node['properties'][key] + elif kind=='enum': node['enum']=[v for v in node['enum'] if v!=key] + else: node['const']='__removed_draft_alternative__' + validator=jsonschema.Draft202012Validator(changed) + assert any(not validator.is_valid(f) for f in fragments), (definition,path,kind,key) + controls += 1 + for key,child in value.items():visit(child,path+[key]) + elif isinstance(value,list): + for index,child in enumerate(value):visit(child,path+[index]) + visit(SCHEMA['$defs'][definition], []) + by_id={c['id']:c for c in cases} + # Changed safeguards only: exact raw digest, full fragment verification, + # sole response/case source, exact-text return. Both readers must miss the + # intended assertion when that guard is removed; setup errors do not count. + removals=[ + ('raw-frame-custody','reference-exact-raw-frame', + 'frame_digest = digest(raw_frame_text)', 'frame_digest = digest(json.dumps(frame, ensure_ascii=True, separators=(\',\', \':\')))', + 'const frameDigest=digest(f[RAW_TOKEN]);', 'const frameDigest=digest(JSON.stringify(f));'), + ('complete-reference-recomputation','reference-wrong-location', + "if probe['transformation'] != expected:", 'if False:', + "if (!same(transformation,expected)) fail('read-failed');", 'if (false) fail(\'read-failed\');'), + ('sole-response-text','retainSource-dual', + "closed(source, ['retainedResponseJson'])", "closed(source, ['retainedResponseJson'], ['response'])", + "closed(s,['retainedResponseJson']);", "closed(s,['retainedResponseJson'],['response']);"), + ('sole-case-text','retainCase-dual', + "closed(source, ['retainedCaseJson'])", "closed(source, ['retainedCaseJson'], ['case'])", + "closed(s,['retainedCaseJson']);", "closed(s,['retainedCaseJson'],['case']);"), + ('exact-case-custody','case-sole-text', + "return {'retainedCaseJson':text}", "return {'retainedCaseJson':json.dumps(parse(text, strict=False), default=lambda v: v.text, separators=(',', ':'))}", + "return {retainedCaseJson:text};", "return {retainedCaseJson:JSON.stringify(parse(text,{strict:false}))};"), + ('exact-response-custody','source-sole-text', + "return {'retainedResponseJson':envelope}", "return {'retainedResponseJson':json.dumps(parsed, default=lambda v: v.text, separators=(',', ':'))}", + "return {retainedResponseJson:envelope};", "return {retainedResponseJson:JSON.stringify(parsed)};") + ] + for command in ([sys.executable,'-B',str(HERE/'reader.py')], [os.environ.get('RFC0029_NODE','node'),str(HERE/'reader.mjs')]): + name=Path(command[-1]).name + done=subprocess.run(command,input=b''.join(encode(c) for c in cases),stdout=subprocess.PIPE,stderr=subprocess.PIPE,timeout=30) + assert done.returncode==0,(name,done.stderr.decode()[:1000]) + outputs=[json.loads(line) for line in done.stdout.splitlines()] + assert len(outputs)==len(cases),(name,len(outputs),len(cases)) + for c,got in zip(cases,outputs):assert got==c['expected'],(name,c['id'],got,c['expected']) + source=(HERE/name).read_text() + for title,label,pb,pa,jb,ja in removals: + before,after=(pb,pa) if name.endswith('.py') else (jb,ja) + assert source.count(before)==1,(name,title,'mutation target') + changed=source.replace(before,after) + invocation=[command[0],'-B','-c',changed] if name.endswith('.py') else [command[0],'--input-type=module','-e',changed] + result=subprocess.run(invocation,input=encode(by_id[label]),stdout=subprocess.PIPE,stderr=subprocess.PIPE,timeout=5) + assert result.returncode==0,(name,title,'setup',result.stderr.decode()[:500]) + got=json.loads(result.stdout) + assert got!=by_id[label]['expected'],(name,title,'intended assertion did not fail') + print(f'{name}: changed safeguard {title} detected at {label} expected={json.dumps(by_id[label]["expected"],ensure_ascii=True,separators=(",",":"))} removedGot={json.dumps(got,ensure_ascii=True,separators=(",",":"))}') + print(f'{name}: {len(cases)} reference/custody/changed-output cases + {len(removals)} intended removals PASS') + # Serialization-layer accounting for the two exact handwritten source texts. + # These are encoder-specific fixture measurements, never global maxima. + for label,key in [('source-sole-text','retainedResponseJson'),('case-sole-text','retainedCaseJson')]: + text=by_id[label]['expected'][key] + q=lambda value:json.dumps(value,ensure_ascii=False,separators=(',',':')).encode() + raw=len(text.encode());quoted=len(q(text));slot=len(q({key:text}));outer=len(q({'source':{key:text},'sibling':{'kept':True}})) + # Independent lexical charges for this pinned literal-UTF8 encoder. + extra=sum(1 if c in '\b\t\n\f\r' else 5 for c in text if ord(c)<32) + assert quoted==raw+2+text.count(chr(34))+text.count(chr(92))+extra + assert slot==quoted+len(q(key))+3 # braces and colon + assert outer==slot+35 # exact source key + kept sibling/container + assert quoted>raw and slot>quoted and outer>slot + print(f'fixture {key}: raw={raw} quoted={quoted} custody-slot={slot} complete-test-envelope-with-sibling={outer}') + print(f'Draft reference/source schema: {controls} changed member/alternative controls PASS') + print('Scope: Draft fragments, raw custody, source union and local reference consistency; no source authentication, complete preparation maxima, production support or adoption claim.') + + +def check_limits(): + """Selected Draft caps/selector only; no repeated conversion or producer checks.""" + cases = DATA['capCases'] + [c for c in DATA['interfaceCases'] if 'admission' in c['request']] + by_id = {c['id']: c for c in cases} + encode = lambda v: (json.dumps(v, ensure_ascii=True, separators=(',', ':'))+'\n').encode() + commands = [[sys.executable, '-B', str(HERE/'reader.py')], + [os.environ.get('RFC0029_NODE', 'node'), str(HERE/'reader.mjs')]] + VALIDATOR.validate(EXAMPLES['selectionFragment']) + VALIDATOR.validate(EXAMPLES['capabilitiesFragment']) + # Every added limit member and selector field/enum must be carried by positive fixtures. + fragments = [EXAMPLES['selectionFragment'], EXAMPLES['capabilitiesFragment']] + [c['request']['selection']['selector'] for c in DATA['capCases'] if c['expected'].get('selected')] + controls = 0 + def remove_controls(definition, node, path=()): + nonlocal controls + if isinstance(node, dict): + candidates = [('properties', k) for k in node.get('properties', {})] if node.get('additionalProperties') is False else [] + candidates += [('enum', k) for k in node.get('enum', [])] + for kind, value in candidates: + changed = copy.deepcopy(SCHEMA); at = changed['$defs'][definition] + for part in path: at = at[part] + if kind == 'properties': del at[kind][value] + else: at[kind] = [x for x in at[kind] if x != value] + assert any(not jsonschema.Draft202012Validator(changed).is_valid(f) for f in fragments), (definition, path, kind, value) + controls += 1 + for key, child in node.items(): remove_controls(definition, child, path+(key,)) + elif isinstance(node, list): + for i, child in enumerate(node): remove_controls(definition, child, path+(i,)) + for definition in ('selection', 'conversionCapability'): remove_controls(definition, SCHEMA['$defs'][definition]) + mutations = [ + ('installed-identity', 'caps-untrusted-agreement-revision', + "if required['spec'] != INSTALLED_SPEC:", 'if False:', + "if (!installedSpec(r.spec))", 'if (false)'), + ('selected-profile-ceiling', 'caps-reported-capacity-does-not-raise-profile', + "if actual > PROFILE_CAPS[required['profile']][key]:", 'if False:', + 'if (a>BigInt(PROFILE_CAPS[r.profile][k]))', 'if (false)'), + ('prebody-installed-identity', 'selection-untrusted-revision', + "s['spec'] != INSTALLED_SPEC", 'False', + '!installedSpec(s.spec)', 'false'), + ('selected-endpoint-role', 'selection-missing-required-role', + "if not isinstance(probe['role'], str) or probe['role'] not in s['roles']:", 'if False:', + "if (typeof p.role!=='string' || !s.roles.includes(p.role))", 'if (false)'), + ('canonical-role-order', 'selection-order', + "s['roles'] != [r for r in order if r in s['roles']]", 'False', + 'JSON.stringify(s.roles)!==JSON.stringify(order.filter(r=>s.roles.includes(r)))', 'false'), + ('selector-closed-shape', 'selection-limits-forbidden', + "closed(s, ['contract', 'spec', 'profile', 'roles'])", "closed(s, ['contract', 'spec', 'profile', 'roles'], ['limits'])", + "closed(s,['contract','spec','profile','roles'])", "closed(s,['contract','spec','profile','roles'],['limits'])") + ] + for command in commands: + name=Path(command[-1]).name; source=(HERE/name).read_text() + result=subprocess.run(command,input=b''.join(encode(c['request']) for c in cases),stdout=subprocess.PIPE,stderr=subprocess.PIPE,timeout=20) + assert result.returncode == 0, (name, result.stderr.decode()[:500]) + rows=[json.loads(line) for line in result.stdout.splitlines()] + assert len(rows)==len(cases), (name, len(rows),len(cases)) + for case, got in zip(cases,rows): assert got==case['expected'], (name,case['id'],got,case['expected']) + # Real admission/selection functions with instrumented effect seams. The endpoint role + # argument models trusted route metadata, never capability bytes in the larger body. + if name.endswith('.py'): + instrument=source[:source.index("if __name__ == '__main__':")]+''' +for line in sys.stdin: + effects=[] + try: + r=parse(line) + answer=admit(r['admission'],lambda: effects.append(1)) if 'admission' in r else select(r['selection'],lambda: effects.append(1)) + except Refusal as exc: answer={'refusal':str(exc)} + print(json.dumps({'answer':answer,'effects':len(effects)})) +''' + invocation=[command[0],'-B','-c',instrument] + else: + instrument=source[:source.index('// Fatal UTF8')]+''' +let input=''; for await(const chunk of process.stdin) input+=chunk; +for(const line of input.trimEnd().split('\\n')) { + let effects=0,answer; + try { const r=parse(line); answer=Object.hasOwn(r,'admission') ? admit(r.admission,()=>effects++) : select(r.selection,()=>effects++); } + catch(e) { if(!(e instanceof Refusal)) throw e; answer={refusal:e.message}; } + process.stdout.write(JSON.stringify({answer,effects})+'\\n'); +} +''' + invocation=[command[0],'--input-type=module','-e',instrument] + result=subprocess.run(invocation,input=b''.join(encode(c['request']) for c in cases),stdout=subprocess.PIPE,stderr=subprocess.PIPE,timeout=20) + assert result.returncode==0,(name,'callback setup',result.stderr.decode()[:500]) + rows=[json.loads(line) for line in result.stdout.splitlines()] + assert len(rows)==len(cases) + for case,got in zip(cases,rows): + expected=case['expected']; effects=int(expected.get('admitted',False) or expected.get('selected',False)) + assert got=={'answer':expected,'effects':effects},(name,case['id'],'effect order',got) + for label, case_id, py_before, py_after, js_before, js_after in mutations: + before,after=(py_before,py_after) if name.endswith('.py') else (js_before,js_after) + assert source.count(before)==1,(name,label,'mutation target') + changed=source.replace(before,after) + invocation=[command[0],'-B','-c',changed] if name.endswith('.py') else [command[0],'--input-type=module','-e',changed] + case=by_id[case_id] + result=subprocess.run(invocation,input=encode(case['request']),stdout=subprocess.PIPE,stderr=subprocess.PIPE,timeout=5) + assert result.returncode==0,(name,label,'mutation setup',result.stderr.decode()[:500]) + got=json.loads(result.stdout) + assert got!=case['expected'],(name,label,'intended assertion did not fail') + print(f'{name}: removed {label} at {case_id} expected={case["expected"]} removedGot={got}') + print(f'{name}: {len(cases)} changed cap/selector/role fixtures and callback probes; {len(mutations)} intended safeguard removals PASS') + print(f'Draft cap/selector schema: {controls} member/enum removal controls PASS') + print('Scope: synthetic installed identity and reported-size admission only; no actual artifact boundary, supported product role, Extended support or normative adoption claim.') + + +if '--limits-only' in sys.argv: + check_limits() + sys.exit(0) + + +if '--references-only' in sys.argv: + check_references() + sys.exit(0) + + if '--inventory-only' in sys.argv: check_inventory() sys.exit(0) @@ -373,6 +593,8 @@ def visit(value, path): sys.exit(0) +check_limits() + requests, expected, labels, schema_valid = [], [], [], [] def add(label,request,want): @@ -401,7 +623,7 @@ def register_case(c): result={'state':'value','json':want['valueJson']} if 'valueJson' in want else {'state':'omitted','reason':want['omitted']} lineage={'contractVersion':'1','column':request['rule']['column'],'input':{'state':'missing'},'result':result} if 'inputJson' in c: - lineage['input']={'state':'present','json':c['inputJson']} + lineage['input']={'state':'present','ref':{'frameSha256':'sha256:'+'0'*64,'location':'research-value' if c['kind']=='research-value' else 'values'}} if c['kind']=='research-value': lineage['researchIdentity']={'recipeRevision':'recipe:1','fieldSha256':'sha256:'+'0'*64} schema_valid.append(lineage) @@ -611,3 +833,5 @@ def visit_members(value,path): check_interfaces() check_inventory() + +check_references(replay_changed_outputs=False) diff --git a/rfcs/retained-column-conversion/contract.schema.json b/rfcs/retained-column-conversion/contract.schema.json index 645ab5b..f006154 100644 --- a/rfcs/retained-column-conversion/contract.schema.json +++ b/rfcs/retained-column-conversion/contract.schema.json @@ -327,13 +327,13 @@ "state": { "const": "present" }, - "json": { - "type": "string" + "ref": { + "$ref": "#/$defs/inputReference" } }, "required": [ "state", - "json" + "ref" ], "additionalProperties": false } @@ -578,12 +578,30 @@ "type": "integer", "minimum": 1, "maximum": 9007199254740991 + }, + "profilesBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "requestBodyBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "inputReplyBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 } }, "required": [ "documentBytes", "combinedBytes", - "frameBytes" + "frameBytes", + "profilesBytes", + "requestBodyBytes", + "inputReplyBytes" ], "additionalProperties": false } @@ -642,6 +660,41 @@ "type": "integer", "minimum": 1, "maximum": 9007199254740991 + }, + "profilesBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "requestBodyBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "inputReplyBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "releaseStoredBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "runStoredBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "exportBaseBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "exportWireBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 } }, "required": [ @@ -649,7 +702,14 @@ "combinedBytes", "frameBytes", "preparationBytes", - "recordBytes" + "recordBytes", + "profilesBytes", + "requestBodyBytes", + "inputReplyBytes", + "releaseStoredBytes", + "runStoredBytes", + "exportBaseBytes", + "exportWireBytes" ], "additionalProperties": false }, @@ -711,6 +771,41 @@ "type": "integer", "minimum": 1, "maximum": 9007199254740991 + }, + "profilesBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "requestBodyBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "inputReplyBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "releaseStoredBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "runStoredBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "exportBaseBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 + }, + "exportWireBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 } }, "required": [ @@ -718,7 +813,14 @@ "combinedBytes", "frameBytes", "preparationBytes", - "recordBytes" + "recordBytes", + "profilesBytes", + "requestBodyBytes", + "inputReplyBytes", + "releaseStoredBytes", + "runStoredBytes", + "exportBaseBytes", + "exportWireBytes" ], "additionalProperties": false }, @@ -780,6 +882,11 @@ "type": "integer", "minimum": 1, "maximum": 9007199254740991 + }, + "profilesBytes": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991 } }, "required": [ @@ -787,7 +894,8 @@ "carrierBytes", "grantBytes", "adapterStdoutBytes", - "responseBytes" + "responseBytes", + "profilesBytes" ], "additionalProperties": false }, @@ -1156,6 +1264,146 @@ "transformation" ], "additionalProperties": false + }, + "inputReference": { + "type": "object", + "properties": { + "frameSha256": { + "type": "string", + "pattern": "^sha256:[0-9a-f]{64}$" + }, + "location": { + "enum": [ + "values", + "research-value" + ] + } + }, + "required": [ + "frameSha256", + "location" + ], + "additionalProperties": false + }, + "signedResponseFragment": { + "type": "object", + "description": "Envelope structure only; receipt/salts must separately satisfy the existing acquisition schema and verification. No signature validation is implied.", + "properties": { + "result": { + "$ref": "#/$defs/generatedCarrier" + }, + "receipt": { + "type": "object" + }, + "salts": { + "type": "object" + } + }, + "required": [ + "result", + "receipt", + "salts" + ], + "additionalProperties": false + }, + "preparationSource": { + "oneOf": [ + { + "type": "object", + "properties": { + "response": { + "$ref": "#/$defs/signedResponseFragment" + } + }, + "required": [ + "response" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "retainedResponseJson": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "retainedResponseJson" + ], + "additionalProperties": false + } + ] + }, + "assertedCaseCustody": { + "description": "Only the case custody slot; existing enclosing source mapping/sources/import siblings remain counted and unchanged. Embedded retainedCaseJson must parse as a duplicate-free UTF8 JSON object.", + "oneOf": [ + { + "type": "object", + "properties": { + "case": { + "type": "object" + } + }, + "required": [ + "case" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "retainedCaseJson": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "retainedCaseJson" + ], + "additionalProperties": false + } + ] + }, + "selection": { + "description": "Exact installed-package selector, carried before a larger body read and persisted for offline custody. No caller maxima or inferred support. Roles use the fixed canonical order; readers enforce ordering and installed identity.", + "type": "object", + "properties": { + "contract": { + "const": "retained-column/1" + }, + "spec": { + "$ref": "#/$defs/specIdentity" + }, + "profile": { + "enum": [ + "base", + "extended" + ] + }, + "roles": { + "type": "array", + "minItems": 1, + "maxItems": 5, + "uniqueItems": true, + "items": { + "enum": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + } + } + }, + "required": [ + "contract", + "spec", + "profile", + "roles" + ], + "additionalProperties": false } }, "oneOf": [ @@ -1194,6 +1442,15 @@ }, { "$ref": "#/$defs/generatedConsistencyResult" + }, + { + "$ref": "#/$defs/preparationSource" + }, + { + "$ref": "#/$defs/assertedCaseCustody" + }, + { + "$ref": "#/$defs/selection" } ] } diff --git a/rfcs/retained-column-conversion/examples.json b/rfcs/retained-column-conversion/examples.json index f64968f..eab4932 100644 --- a/rfcs/retained-column-conversion/examples.json +++ b/rfcs/retained-column-conversion/examples.json @@ -71,7 +71,10 @@ "column": "Eligible", "input": { "state": "present", - "json": "\"YES\"" + "ref": { + "frameSha256": "sha256:5e15070ee22fcb46096f162d845f4604a16523515a61fe089211339ec08529bf", + "location": "values" + } }, "result": { "state": "value", @@ -162,8 +165,11 @@ "role": "preview", "limits": { "documentBytes": 1048576, - "combinedBytes": 6291456, - "frameBytes": 2097152 + "combinedBytes": 12582912, + "frameBytes": 2097152, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736 } }, { @@ -178,8 +184,11 @@ "role": "preview", "limits": { "documentBytes": 2097152, - "combinedBytes": 12582912, - "frameBytes": 4194304 + "combinedBytes": 25165824, + "frameBytes": 4194304, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472 } }, { @@ -194,10 +203,17 @@ "role": "preparation", "limits": { "documentBytes": 1048576, - "combinedBytes": 6291456, + "combinedBytes": 12582912, "frameBytes": 2097152, - "preparationBytes": 8388608, - "recordBytes": 8388608 + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 } }, { @@ -212,10 +228,17 @@ "role": "preparation", "limits": { "documentBytes": 2097152, - "combinedBytes": 12582912, + "combinedBytes": 25165824, "frameBytes": 4194304, - "preparationBytes": 16777216, - "recordBytes": 16777216 + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 } }, { @@ -230,10 +253,17 @@ "role": "preparation-verification", "limits": { "documentBytes": 1048576, - "combinedBytes": 6291456, + "combinedBytes": 12582912, "frameBytes": 2097152, - "preparationBytes": 8388608, - "recordBytes": 8388608 + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 } }, { @@ -248,10 +278,17 @@ "role": "preparation-verification", "limits": { "documentBytes": 2097152, - "combinedBytes": 12582912, + "combinedBytes": 25165824, "frameBytes": 4194304, - "preparationBytes": 16777216, - "recordBytes": 16777216 + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 } }, { @@ -269,7 +306,8 @@ "carrierBytes": 3145728, "grantBytes": 3145728, "adapterStdoutBytes": 3145728, - "responseBytes": 3145728 + "responseBytes": 5242880, + "profilesBytes": 81920 } }, { @@ -287,7 +325,8 @@ "carrierBytes": 3145728, "grantBytes": 3145728, "adapterStdoutBytes": 3145728, - "responseBytes": 3145728 + "responseBytes": 5242880, + "profilesBytes": 163840 } }, { @@ -302,10 +341,17 @@ "role": "preparation", "limits": { "documentBytes": 1048576, - "combinedBytes": 6291456, + "combinedBytes": 12582912, "frameBytes": 2097152, - "preparationBytes": 8388608, - "recordBytes": 8388608 + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 }, "producerGrammar": "desk-reviewed-input/1" }, @@ -321,10 +367,17 @@ "role": "preparation", "limits": { "documentBytes": 2097152, - "combinedBytes": 12582912, + "combinedBytes": 25165824, "frameBytes": 4194304, - "preparationBytes": 16777216, - "recordBytes": 16777216 + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 }, "producerGrammar": "desk-reviewed-input/1" }, @@ -340,10 +393,17 @@ "role": "preparation-verification", "limits": { "documentBytes": 1048576, - "combinedBytes": 6291456, + "combinedBytes": 12582912, "frameBytes": 2097152, - "preparationBytes": 8388608, - "recordBytes": 8388608 + "preparationBytes": 16777216, + "recordBytes": 9437184, + "profilesBytes": 81920, + "requestBodyBytes": 16777216, + "inputReplyBytes": 37748736, + "releaseStoredBytes": 41943040, + "runStoredBytes": 41943040, + "exportBaseBytes": 75497472, + "exportWireBytes": 90177536 }, "producerGrammar": "desk-reviewed-input/1" }, @@ -359,10 +419,17 @@ "role": "preparation-verification", "limits": { "documentBytes": 2097152, - "combinedBytes": 12582912, + "combinedBytes": 25165824, "frameBytes": 4194304, - "preparationBytes": 16777216, - "recordBytes": 16777216 + "preparationBytes": 33554432, + "recordBytes": 17825792, + "profilesBytes": 163840, + "requestBodyBytes": 33554432, + "inputReplyBytes": 75497472, + "releaseStoredBytes": 83886080, + "runStoredBytes": 83886080, + "exportBaseBytes": 150994944, + "exportWireBytes": 176160768 }, "producerGrammar": "desk-reviewed-input/1" }, @@ -381,7 +448,8 @@ "carrierBytes": 3145728, "grantBytes": 3145728, "adapterStdoutBytes": 3145728, - "responseBytes": 3145728 + "responseBytes": 5242880, + "profilesBytes": 81920 }, "producerGrammar": "desk-reviewed-input/1" }, @@ -400,7 +468,8 @@ "carrierBytes": 3145728, "grantBytes": 3145728, "adapterStdoutBytes": 3145728, - "responseBytes": 3145728 + "responseBytes": 5242880, + "profilesBytes": 163840 }, "producerGrammar": "desk-reviewed-input/1" } @@ -750,7 +819,10 @@ "column": "Text", "input": { "state": "present", - "json": "\" A \"" + "ref": { + "frameSha256": "sha256:228ee51e667ef31afbbba90d7a4e7025250cc20b1c7f2fbb0a414f1e00a5392c", + "location": "research-value" + } }, "result": { "state": "value", @@ -784,5 +856,74 @@ "grammar": "desk-reviewed-input/1" } }, - "producerContextNote": "Synthetic independently supplied trust/digest inputs demonstrate consistency only; acquisition and original history are not verified by the prototype." + "producerContextNote": "Synthetic independently supplied trust/digest inputs demonstrate consistency only; acquisition and original history are not verified by the prototype.", + "preparationSourceFragment": { + "response": { + "result": { + "contractVersion": "1", + "originalSnapshotJson": "{ \"value\":1e3,\"label\":\"\\u00e9\" }\n", + "originalSnapshotSha256": "sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87", + "retained": { + "contractVersion": "1", + "origin": "generated", + "values": { + "A": "-0", + "B": "legacy" + }, + "research": { + "recordRecipeRevision": "recipe:7", + "declaration": { + "recipeRevision": "recipe:7", + "fields": [ + { + "name": "A", + "fieldJson": "{\"name\":\"A\",\"type\":\"number\",\"description\":\"Original declaration.\"}" + }, + { + "name": "B", + "fieldJson": "{\"name\":\"B\",\"type\":\"string\"}" + } + ] + }, + "fields": { + "A": { + "status": "supported", + "valueJson": "-0" + }, + "B": { + "status": "interpretation", + "valueJson": "\"\\ud800\"" + } + } + } + } + }, + "receipt": {}, + "salts": {} + } + }, + "retainedSourceFragment": { + "retainedResponseJson": "{\"result\":{\"contractVersion\":\"1\",\"originalSnapshotJson\":\"{ \\\"value\\\":1e3,\\\"label\\\":\\\"\\\\u00e9\\\" }\\n\",\"originalSnapshotSha256\":\"sha256:2bcde75a108ddd8533fbd9736b09bf9117f5393612073bab4b022a04eb3ffd87\",\"retained\":{\"contractVersion\":\"1\",\"origin\":\"generated\",\"values\":{\"A\":\"-0\",\"B\":\"legacy\"},\"research\":{\"recordRecipeRevision\":\"recipe:7\",\"declaration\":{\"recipeRevision\":\"recipe:7\",\"fields\":[{\"name\":\"A\",\"fieldJson\":\"{\\\"name\\\":\\\"A\\\",\\\"type\\\":\\\"number\\\",\\\"description\\\":\\\"Original declaration.\\\"}\"},{\"name\":\"B\",\"fieldJson\":\"{\\\"name\\\":\\\"B\\\",\\\"type\\\":\\\"string\\\"}\"}]},\"fields\":{\"A\":{\"status\":\"supported\",\"valueJson\":\"-0\"},\"B\":{\"status\":\"interpretation\",\"valueJson\":\"\\\"\\\\ud800\\\"\"}}}}},\"receipt\":{},\"salts\":{}}" + }, + "sourceRetentionNote": "Structure fragments only. Empty receipt/salts do not authenticate an acquisition. Existing signature/profile/request/freshness checks remain required.", + "assertedCaseCustodyFragment": { + "retainedCaseJson": "{ \"origin\":{\"originalValues\":{\"A\":\"\\t\"},\"n\":1e3}, \"retained\":{ \"contractVersion\":\"1\", \"origin\":\"asserted\", \"values\":{\"A\":\"\\u00e9\\n\"}, \"research\":null } }" + }, + "selectionFragment": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": "base", + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + } } diff --git a/rfcs/retained-column-conversion/reader.mjs b/rfcs/retained-column-conversion/reader.mjs index a320f54..0512d96 100644 --- a/rfcs/retained-column-conversion/reader.mjs +++ b/rfcs/retained-column-conversion/reader.mjs @@ -257,13 +257,12 @@ function preview(rule,frame) { return cmp(decimalRat(v),selected)===0 ? result(v) : issue('number-precision'); } // Draft-only interfaces. No maxima below are production defaults. -const ROLE_LIMITS = { - 'document-validation':['documentBytes','frameBytes'], - preview:['documentBytes','combinedBytes','frameBytes'], - preparation:['documentBytes','combinedBytes','frameBytes','preparationBytes','recordBytes'], - 'preparation-verification':['documentBytes','combinedBytes','frameBytes','preparationBytes','recordBytes'], - 'producer-carrier':['originalSnapshotBytes','carrierBytes','grantBytes','adapterStdoutBytes','responseBytes'] -}; +const ROLE_LIMITS = {"document-validation":["documentBytes","frameBytes"],"preview":["documentBytes","combinedBytes","frameBytes","profilesBytes","requestBodyBytes","inputReplyBytes"],"preparation":["documentBytes","combinedBytes","frameBytes","preparationBytes","recordBytes","profilesBytes","requestBodyBytes","inputReplyBytes","releaseStoredBytes","runStoredBytes","exportBaseBytes","exportWireBytes"],"preparation-verification":["documentBytes","combinedBytes","frameBytes","preparationBytes","recordBytes","profilesBytes","requestBodyBytes","inputReplyBytes","releaseStoredBytes","runStoredBytes","exportBaseBytes","exportWireBytes"],"producer-carrier":["originalSnapshotBytes","carrierBytes","grantBytes","adapterStdoutBytes","responseBytes","profilesBytes"]}; +// Synthetic trusted installation fixture, never request/report authority. +const INSTALLED_SPEC = {"version":"draft-rfc0029","revision":"0000000000000000000000000000000000000000","schemaSha256":"sha256:1111111111111111111111111111111111111111111111111111111111111111","corpusSha256":"sha256:2222222222222222222222222222222222222222222222222222222222222222"}; +const PROFILE_CAPS = {"base":{"documentBytes":1048576,"frameBytes":2097152,"combinedBytes":12582912,"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":5242880,"preparationBytes":16777216,"recordBytes":9437184,"profilesBytes":81920,"requestBodyBytes":16777216,"inputReplyBytes":37748736,"releaseStoredBytes":41943040,"runStoredBytes":41943040,"exportBaseBytes":75497472,"exportWireBytes":90177536},"extended":{"documentBytes":2097152,"frameBytes":4194304,"combinedBytes":25165824,"originalSnapshotBytes":524288,"carrierBytes":3145728,"grantBytes":3145728,"adapterStdoutBytes":3145728,"responseBytes":5242880,"preparationBytes":33554432,"recordBytes":17825792,"profilesBytes":163840,"requestBodyBytes":33554432,"inputReplyBytes":75497472,"releaseStoredBytes":83886080,"runStoredBytes":83886080,"exportBaseBytes":150994944,"exportWireBytes":176160768}}; +const installedSpec=s=>Object.keys(INSTALLED_SPEC).every(k=>s[k]===INSTALLED_SPEC[k]); + function positive(v,zero=false) { if (!(v instanceof JsonNumber) || v.text.length>17 || !full(INT,v.text)) fail(); const n=BigInt(v.text); if (n<(zero ? 0n : 1n) || n>SAFE) fail(); return n; @@ -288,7 +287,7 @@ function admit(p,effect=()=>{}) { closed(p.capabilities,['conversionContracts']); const entries=p.capabilities.conversionContracts; if (!Array.isArray(entries) || entries.length>32) fail(); - const r=p.required; capability(r); const identities=new Set(); let selected; + const r=p.required; capability(r); if (!installedSpec(r.spec)) fail('capability-unsupported'); const identities=new Set(); let selected; const identity=e=>JSON.stringify([e.contract,e.spec.version,e.spec.revision,e.spec.schemaSha256,e.spec.corpusSha256,e.profile,e.role,e.producerGrammar??null]); for (const e of entries) { capability(e); const id=identity(e); if (identities.has(id)) fail(); identities.add(id); @@ -298,11 +297,24 @@ function admit(p,effect=()=>{}) { closed(p.sizes,ROLE_LIMITS[r.role]); for (const k of ROLE_LIMITS[r.role]) { const a=positive(p.sizes[k],true), x=positive(r.limits[k]), y=positive(selected.limits[k]); + if (a>BigInt(PROFILE_CAPS[r.profile][k])) fail('input-over-bound'); if (a>(x{}) { + closed(p,['selector','role']); const s=p.selector; + closed(s,['contract','spec','profile','roles']); closed(s.spec,['version','revision','schemaSha256','corpusSha256']); + if (s.contract!=='retained-column/1' || !installedSpec(s.spec) || !Object.hasOwn(PROFILE_CAPS,s.profile)) fail('capability-unsupported'); + const order=Object.keys(ROLE_LIMITS); + if (!Array.isArray(s.roles) || s.roles.length<1 || s.roles.length>order.length) fail(); + if (s.roles.some(r=>typeof r!=='string' || !Object.hasOwn(ROLE_LIMITS,r))) fail('capability-unsupported'); + if (new Set(s.roles).size!==s.roles.length || JSON.stringify(s.roles)!==JSON.stringify(order.filter(r=>s.roles.includes(r)))) fail(); + if (typeof p.role!=='string' || !s.roles.includes(p.role)) fail('capability-unsupported'); + effect(); return {selected:true}; +} + function restore(r) { closed(r,['restore','profile','limits']); closed(r.limits,['originalSnapshotBytes','carrierBytes']); const maxSnapshot=positive(r.limits.originalSnapshotBytes), maxCarrier=positive(r.limits.carrierBytes), c=r.restore; @@ -319,12 +331,13 @@ function restore(r) { function lineage(r,rawFrameBytes) { closed(r,['rule','frame'],['profile']); validate(r.rule,r.frame,Object.hasOwn(r,'profile') ? r.profile : 'base',rawFrameBytes); const p=preview(r.rule,r.frame); if (p.issues.length || (Object.hasOwn(p,'valueJson') && !p.claimAdmissible)) fail('read-failed'); - const column=r.rule.column,f=r.frame; let input={state:'missing'}, researchIdentity; + const column=r.rule.column,f=r.frame; if (typeof f[RAW_TOKEN]!=='string') fail('read-failed'); + const frameDigest=digest(f[RAW_TOKEN]); let input={state:'missing'}, researchIdentity; if (r.rule.kind==='research-value') { - const e=f.research.fields[column]; if (e && Object.hasOwn(e,'valueJson')) input={state:'present',json:e.valueJson}; + const e=f.research.fields[column]; if (e && Object.hasOwn(e,'valueJson')) input={state:'present',ref:{frameSha256:frameDigest,location:'research-value'}}; const field=f.research.declaration.fields.find(e=>e.name===column); researchIdentity={recipeRevision:f.research.recordRecipeRevision,fieldSha256:digest(field.fieldJson)}; - } else if (Object.hasOwn(f.values,column)) input={state:'present',json:JSON.stringify(f.values[column])}; + } else if (Object.hasOwn(f.values,column)) input={state:'present',ref:{frameSha256:frameDigest,location:'values'}}; const result=Object.hasOwn(p,'valueJson') ? {state:'value',json:p.valueJson} : {state:'omitted',reason:p.omitted}; const answer={contractVersion:'1',column,input,result}; if (researchIdentity) answer.researchIdentity=researchIdentity; return answer; @@ -409,9 +422,35 @@ function generatedConsistency(p) { frameSha256:digest(f[RAW_TOKEN]),revisionIdentity:revision,projection:source,transformation}; } +function verifyLineage(p) { + closed(p,['rule','frame','transformation'],['profile']); + const {transformation,...request}=p, expected=lineage(request,typeof p[RAW_MEMBERS]?.frame==='string' ? bytes(p[RAW_MEMBERS].frame) : undefined); + const same=(a,b)=>a===b || (object(a) && object(b) && Object.keys(a).length===Object.keys(b).length && Object.keys(a).every(k=>Object.hasOwn(b,k) && same(a[k],b[k]))); + if (!same(transformation,expected)) fail('read-failed'); + return {consistent:true,acquisition:'not-verified'}; +} +function retainCase(p) { + closed(p,['source']); const s=p.source; let text; + if (object(s) && Object.keys(s).length===1 && Object.hasOwn(s,'case')) text=s[RAW_MEMBERS].case; + else {closed(s,['retainedCaseJson']); text=s.retainedCaseJson; if (typeof text!=='string' || !text) fail();} + if (!object(parse(text,{strict:false}))) fail(); + return {retainedCaseJson:text}; +} +function retainSource(p) { + closed(p,['source']); const s=p.source; let envelope; + if (object(s) && Object.keys(s).length===1 && Object.hasOwn(s,'response')) envelope=s[RAW_MEMBERS].response; + else {closed(s,['retainedResponseJson']); envelope=s.retainedResponseJson; if (typeof envelope!=='string' || !envelope) fail();} + const parsed=parse(envelope,{strict:false}); closed(parsed,['result','receipt','salts']); + if (!['result','receipt','salts'].every(k=>object(parsed[k]))) fail(); + return {retainedResponseJson:envelope}; +} function handle(r) { + if (object(r) && Object.keys(r).length===1 && Object.hasOwn(r,'verifyLineage')) return verifyLineage(r.verifyLineage); + if (object(r) && Object.keys(r).length===1 && Object.hasOwn(r,'retainCase')) return retainCase(r.retainCase); + if (object(r) && Object.keys(r).length===1 && Object.hasOwn(r,'retainSource')) return retainSource(r.retainSource); if (object(r) && Object.keys(r).length===1 && Object.hasOwn(r,'generatedConsistency')) return generatedConsistency(r.generatedConsistency); if (object(r) && Object.hasOwn(r,'restore')) return restore(r); + if (object(r) && Object.keys(r).length===1 && Object.hasOwn(r,'selection')) return select(r.selection); if (object(r) && Object.keys(r).length===1 && Object.hasOwn(r,'admission')) return admit(r.admission); if (object(r) && Object.keys(r).length===1 && Object.hasOwn(r,'lineage')) return lineage(r.lineage,r[FRAME_SIZE]); if (object(r) && Object.keys(r).length===1 && Object.hasOwn(r,'binary64Hex')) { diff --git a/rfcs/retained-column-conversion/reader.py b/rfcs/retained-column-conversion/reader.py index 7b7a71d..0c8a339 100644 --- a/rfcs/retained-column-conversion/reader.py +++ b/rfcs/retained-column-conversion/reader.py @@ -353,13 +353,82 @@ def result(raw): # Draft-only interfaces. Reported maxima are negotiated input, not adopted ceilings. -ROLE_LIMITS = { - 'document-validation': ('documentBytes', 'frameBytes'), - 'preview': ('documentBytes', 'combinedBytes', 'frameBytes'), - 'preparation': ('documentBytes', 'combinedBytes', 'frameBytes', 'preparationBytes', 'recordBytes'), - 'preparation-verification': ('documentBytes', 'combinedBytes', 'frameBytes', 'preparationBytes', 'recordBytes'), - 'producer-carrier': ('originalSnapshotBytes', 'carrierBytes', 'grantBytes', 'adapterStdoutBytes', 'responseBytes'), -} +ROLE_LIMITS = {'document-validation': ('documentBytes', 'frameBytes'), + 'preview': ('documentBytes', + 'combinedBytes', + 'frameBytes', + 'profilesBytes', + 'requestBodyBytes', + 'inputReplyBytes'), + 'preparation': ('documentBytes', + 'combinedBytes', + 'frameBytes', + 'preparationBytes', + 'recordBytes', + 'profilesBytes', + 'requestBodyBytes', + 'inputReplyBytes', + 'releaseStoredBytes', + 'runStoredBytes', + 'exportBaseBytes', + 'exportWireBytes'), + 'preparation-verification': ('documentBytes', + 'combinedBytes', + 'frameBytes', + 'preparationBytes', + 'recordBytes', + 'profilesBytes', + 'requestBodyBytes', + 'inputReplyBytes', + 'releaseStoredBytes', + 'runStoredBytes', + 'exportBaseBytes', + 'exportWireBytes'), + 'producer-carrier': ('originalSnapshotBytes', + 'carrierBytes', + 'grantBytes', + 'adapterStdoutBytes', + 'responseBytes', + 'profilesBytes')} +# Synthetic trusted installation fixture; never supplied by a request/report. +INSTALLED_SPEC = {'version': 'draft-rfc0029', + 'revision': '0000000000000000000000000000000000000000', + 'schemaSha256': 'sha256:1111111111111111111111111111111111111111111111111111111111111111', + 'corpusSha256': 'sha256:2222222222222222222222222222222222222222222222222222222222222222'} +PROFILE_CAPS = {'base': {'documentBytes': 1048576, + 'frameBytes': 2097152, + 'combinedBytes': 12582912, + 'originalSnapshotBytes': 524288, + 'carrierBytes': 3145728, + 'grantBytes': 3145728, + 'adapterStdoutBytes': 3145728, + 'responseBytes': 5242880, + 'preparationBytes': 16777216, + 'recordBytes': 9437184, + 'profilesBytes': 81920, + 'requestBodyBytes': 16777216, + 'inputReplyBytes': 37748736, + 'releaseStoredBytes': 41943040, + 'runStoredBytes': 41943040, + 'exportBaseBytes': 75497472, + 'exportWireBytes': 90177536}, + 'extended': {'documentBytes': 2097152, + 'frameBytes': 4194304, + 'combinedBytes': 25165824, + 'originalSnapshotBytes': 524288, + 'carrierBytes': 3145728, + 'grantBytes': 3145728, + 'adapterStdoutBytes': 3145728, + 'responseBytes': 5242880, + 'preparationBytes': 33554432, + 'recordBytes': 17825792, + 'profilesBytes': 163840, + 'requestBodyBytes': 33554432, + 'inputReplyBytes': 75497472, + 'releaseStoredBytes': 83886080, + 'runStoredBytes': 83886080, + 'exportBaseBytes': 150994944, + 'exportWireBytes': 176160768}} def positive(value, zero=False): @@ -409,6 +478,8 @@ def admit(probe, effect=lambda: None): fail() required = probe['required'] capability(required) + if required['spec'] != INSTALLED_SPEC: + fail('capability-unsupported') identities = set() selected = None for entry in entries: @@ -425,12 +496,34 @@ def admit(probe, effect=lambda: None): closed(probe['sizes'], ROLE_LIMITS[required['role']]) for key in ROLE_LIMITS[required['role']]: actual = positive(probe['sizes'][key], zero=True) + if actual > PROFILE_CAPS[required['profile']][key]: + fail('input-over-bound') if actual > min(positive(required['limits'][key]), positive(selected['limits'][key])): fail('input-over-bound') effect() # The only effect seam: every refusal above precedes the caller callback. return {'admitted': True} +def select(probe, effect=lambda: None): + closed(probe, ['selector', 'role']) + s = probe['selector'] + closed(s, ['contract', 'spec', 'profile', 'roles']) + closed(s['spec'], ['version', 'revision', 'schemaSha256', 'corpusSha256']) + if s['contract'] != 'retained-column/1' or s['spec'] != INSTALLED_SPEC or not isinstance(s['profile'], str) or s['profile'] not in PROFILE_CAPS: + fail('capability-unsupported') + order = list(ROLE_LIMITS) + if not isinstance(s['roles'], list) or not 1 <= len(s['roles']) <= len(order): + fail() + if any(not isinstance(r, str) or r not in ROLE_LIMITS for r in s['roles']): + fail('capability-unsupported') + if len(set(s['roles'])) != len(s['roles']) or s['roles'] != [r for r in order if r in s['roles']]: + fail() + if not isinstance(probe['role'], str) or probe['role'] not in s['roles']: + fail('capability-unsupported') + effect() + return {'selected': True} + + def restore(request, raw_carrier_text): closed(request, ['restore', 'profile', 'limits']) closed(request['limits'], ['originalSnapshotBytes', 'carrierBytes']) @@ -457,10 +550,13 @@ def restore(request, raw_carrier_text): 'originalSnapshotBytes': length(snapshot)} -def lineage(request, raw_frame_bytes=None): +def lineage(request, raw_frame_text=None): closed(request, ['rule', 'frame'], ['profile']) rule, frame = request['rule'], request['frame'] - validate(rule, frame, request.get('profile', 'base'), raw_frame_bytes) + if raw_frame_text is None: + fail('read-failed') + validate(rule, frame, request.get('profile', 'base'), length(raw_frame_text)) + frame_digest = digest(raw_frame_text) output = preview(rule, frame) if output['issues'] or ('valueJson' in output and not output['claimAdmissible']): fail('read-failed') @@ -471,11 +567,11 @@ def lineage(request, raw_frame_bytes=None): research = frame['research'] entry = research['fields'].get(column) if entry is not None and 'valueJson' in entry: - original = {'state':'present', 'json':entry['valueJson']} + original = {'state':'present', 'ref':{'frameSha256':frame_digest, 'location':'research-value'}} field = next(e for e in research['declaration']['fields'] if e['name'] == column) identity = {'recipeRevision':research['recordRecipeRevision'], 'fieldSha256':digest(field['fieldJson'])} elif column in frame['values']: - original = {'state':'present', 'json':json.dumps(frame['values'][column], ensure_ascii=False, separators=(',', ':'))} + original = {'state':'present', 'ref':{'frameSha256':frame_digest, 'location':'values'}} result = {'state':'value', 'json':output['valueJson']} if 'valueJson' in output else {'state':'omitted', 'reason':output['omitted']} answer = {'contractVersion':'1', 'column':column, 'input':original, 'result':result} if identity is not None: @@ -690,22 +786,74 @@ def generated_consistency(probe, carrier_text): fail('read-failed') if frame['values'] != source['values'] or research['fields'] != source['fields']: fail('read-failed') - transformation = lineage({'rule':probe['rule'], 'frame':frame, 'profile':probe['profile']}, raw_frame_size(carrier_text, 'retained')) + transformation = lineage({'rule':probe['rule'], 'frame':frame, 'profile':probe['profile']}, source_member(carrier_text, 'retained')) return {'consistent':True, 'acquisition':'not-verified', 'history':'not-checked', 'originalSnapshotSha256':probe['carrier']['originalSnapshotSha256'], 'frameSha256':digest(source_member(carrier_text, 'retained')), 'revisionIdentity':revision, 'projection':source, 'transformation':transformation} +def verify_lineage(probe, raw_probe_text): + closed(probe, ['rule', 'frame', 'transformation'], ['profile']) + expected = lineage({k:v for k,v in probe.items() if k != 'transformation'}, source_member(raw_probe_text, 'frame')) + # Equality is over the complete closed fragment, including target column, + # reference location/custody digest, result and conditional original identity. + if probe['transformation'] != expected: + fail('read-failed') + return {'consistent':True, 'acquisition':'not-verified'} + + +def retain_case(probe, raw_probe_text): + closed(probe, ['source']) + source = probe['source'] + if isinstance(source, dict) and set(source) == {'case'}: + text = source_member(source_member(raw_probe_text, 'source'), 'case') + else: + closed(source, ['retainedCaseJson']) + text = source['retainedCaseJson'] + if not isinstance(text, str) or not text: + fail() + if not isinstance(parse(text, strict=False), dict): + fail() + return {'retainedCaseJson':text} + + +def retain_source(probe, raw_probe_text): + closed(probe, ['source']) + source = probe['source'] + if isinstance(source, dict) and set(source) == {'response'}: + envelope = source_member(source_member(raw_probe_text, 'source'), 'response') + else: + closed(source, ['retainedResponseJson']) + envelope = source['retainedResponseJson'] + if not isinstance(envelope, str) or not envelope: + fail() + # Structure only: the ordinary acquisition reader still verifies the full + # receipt/salts grammar, signature, frozen request, profile and freshness. + parsed = parse(envelope, strict=False) + closed(parsed, ['result', 'receipt', 'salts']) + if not all(isinstance(parsed[k], dict) for k in ('result', 'receipt', 'salts')): + fail() + return {'retainedResponseJson':envelope} + + def handle(request, raw_frame_bytes=None, raw_carrier_text=None, raw_lineage_text=None): + if isinstance(request, dict) and set(request) == {'verifyLineage'}: + return verify_lineage(request['verifyLineage'], source_member(raw_lineage_text, 'verifyLineage')) + if isinstance(request, dict) and set(request) == {'retainCase'}: + return retain_case(request['retainCase'], source_member(raw_lineage_text, 'retainCase')) + if isinstance(request, dict) and set(request) == {'retainSource'}: + return retain_source(request['retainSource'], source_member(raw_lineage_text, 'retainSource')) if isinstance(request, dict) and set(request) == {'generatedConsistency'}: return generated_consistency(request['generatedConsistency'], raw_carrier_text) if isinstance(request, dict) and 'restore' in request: return restore(request, raw_carrier_text) + if isinstance(request, dict) and set(request) == {'selection'}: + return select(request['selection']) if isinstance(request, dict) and set(request) == {'admission'}: return admit(request['admission']) if isinstance(request, dict) and set(request) == {'lineage'}: - return lineage(request['lineage'], raw_frame_size(raw_lineage_text) if raw_lineage_text is not None else None) + return lineage(request['lineage'], source_member(raw_lineage_text, 'frame') if raw_lineage_text is not None else None) if isinstance(request, dict) and set(request) == {'binary64Hex'}: text = request['binary64Hex'] if not isinstance(text, str) or not re.fullmatch('[0-9a-f]{16}', text): @@ -743,7 +891,7 @@ def handle(request, raw_frame_bytes=None, raw_carrier_text=None, raw_lineage_tex raw_carrier = source_member(source_member(text, 'generatedConsistency'), 'carrier') else: raw_carrier = raw_frame_size(text, 'restore', as_text=True) if isinstance(request, dict) and 'restore' in request else None - output = handle(request, raw_frame_size(text) if isinstance(request, dict) and 'frame' in request else None, raw_carrier, raw_frame_size(text, 'lineage', as_text=True) if isinstance(request, dict) and 'lineage' in request else None) + output = handle(request, raw_frame_size(text) if isinstance(request, dict) and 'frame' in request else None, raw_carrier, raw_frame_size(text, 'lineage', as_text=True) if isinstance(request, dict) and 'lineage' in request else text) except (Refusal, UnicodeError) as exc: output = {'refusal': str(exc) if isinstance(exc, Refusal) else 'input-malformed'} print(json.dumps(output, ensure_ascii=True, separators=(',', ':'))) From ade3914b0b81ef299e5b9a8d6147f37ff3f0976c Mon Sep 17 00:00:00 2001 From: kikashy Date: Mon, 26 Oct 2026 15:51:40 -0400 Subject: [PATCH 2/2] Reject nonstring retained conversion profiles and complete schema coverage Signed-off-by: kikashy --- rfcs/retained-column-conversion/cases.json | 200 +++++++++++++++++++++ rfcs/retained-column-conversion/check.py | 56 +++++- rfcs/retained-column-conversion/reader.mjs | 2 +- 3 files changed, 248 insertions(+), 10 deletions(-) diff --git a/rfcs/retained-column-conversion/cases.json b/rfcs/retained-column-conversion/cases.json index a66b931..6f0e6b9 100644 --- a/rfcs/retained-column-conversion/cases.json +++ b/rfcs/retained-column-conversion/cases.json @@ -17910,6 +17910,206 @@ "expected": { "selected": true } + }, + { + "id": "selection-profile-type-array-base", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": [ + "base" + ], + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preview" + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "selection-profile-type-array-extended", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": [ + "extended" + ], + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preview" + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "selection-profile-type-empty-array", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": [], + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preview" + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "selection-profile-type-object", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": {}, + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preview" + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "selection-profile-type-null", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": null, + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preview" + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "selection-profile-type-number", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": 0, + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preview" + } + }, + "expected": { + "refusal": "capability-unsupported" + } + }, + { + "id": "selection-profile-type-boolean", + "request": { + "selection": { + "selector": { + "contract": "retained-column/1", + "spec": { + "version": "draft-rfc0029", + "revision": "0000000000000000000000000000000000000000", + "schemaSha256": "sha256:1111111111111111111111111111111111111111111111111111111111111111", + "corpusSha256": "sha256:2222222222222222222222222222222222222222222222222222222222222222" + }, + "profile": true, + "roles": [ + "document-validation", + "preview", + "preparation", + "preparation-verification", + "producer-carrier" + ] + }, + "role": "preview" + } + }, + "expected": { + "refusal": "capability-unsupported" + } } ] } diff --git a/rfcs/retained-column-conversion/check.py b/rfcs/retained-column-conversion/check.py index 438bc75..4410ddb 100644 --- a/rfcs/retained-column-conversion/check.py +++ b/rfcs/retained-column-conversion/check.py @@ -16,6 +16,12 @@ jsonschema.Draft202012Validator.check_schema(SCHEMA) VALIDATOR = jsonschema.Draft202012Validator(SCHEMA) +# The default all-definition coverage loop must carry the closed custody/selection alternatives. +GLOBAL_SCHEMA_EXAMPLES = [EXAMPLES[k] for k in ( + 'generatedFrame', 'assertedFrame', 'lineageFragment', 'generatedCarrier', 'capabilitiesFragment', + 'preparationSourceFragment', 'retainedSourceFragment', 'assertedCaseCustodyFragment', 'selectionFragment')] +GLOBAL_SCHEMA_EXAMPLES.append({'case': {'retained': EXAMPLES['assertedFrame']}}) + def fixture(case): column = case.get('column', 'Column') @@ -362,7 +368,7 @@ def visit(value, path): print(f'Draft producer projection schema: {controls} member/alternative-removal controls PASS') print('Scope: snapshot/frame consistency and portable identities only; acquisition:not-verified, history:not-checked; no producer, preparation or adoption evidence.') -def check_references(replay_changed_outputs=True): +def check_references(replay_changed_outputs=True, schema_only=False): """Only changed reference/custody behavior; reuse unchanged guard evidence.""" cases = list(DATA['referenceCases']) if replay_changed_outputs: @@ -373,6 +379,8 @@ def check_references(replay_changed_outputs=True): cases += [expand_producer_case(c) for c in DATA['producerCases']] encode = lambda c: ((c.get('wireJson') or json.dumps(c['request'], ensure_ascii=True, separators=(',', ':'))) + '\n').encode() fragments = [EXAMPLES[k] for k in ('lineageFragment', 'preparationSourceFragment', 'retainedSourceFragment', 'assertedCaseCustodyFragment')] + # Schema coverage must not depend on replaying producer-reader outputs. + fragments.append(EXAMPLES['producerConsistency']['expected']['transformation']) fragments += [c['expected'] for c in cases if 'input' in c['expected']] fragments.append({'case':{'retained':EXAMPLES['assertedFrame']}}) for c in DATA['referenceCases']: @@ -411,6 +419,9 @@ def visit(value, path): elif isinstance(value,list): for index,child in enumerate(value):visit(child,path+[index]) visit(SCHEMA['$defs'][definition], []) + if schema_only: + print(f'Draft reference/source schema: {controls} existing member/alternative controls PASS') + return by_id={c['id']:c for c in cases} # Changed safeguards only: exact raw digest, full fragment verification, # sole response/case source, exact-text return. Both readers must miss the @@ -471,9 +482,16 @@ def visit(value, path): print('Scope: Draft fragments, raw custody, source union and local reference consistency; no source authentication, complete preparation maxima, production support or adoption claim.') -def check_limits(): +def check_limits(selector_types_only=False): """Selected Draft caps/selector only; no repeated conversion or producer checks.""" cases = DATA['capCases'] + [c for c in DATA['interfaceCases'] if 'admission' in c['request']] + type_cases = [c for c in DATA['capCases'] if c['id'].startswith('selection-profile-type-')] + for case in type_cases: + assert not VALIDATOR.is_valid(case['request']['selection']['selector']), ('selector-profile-schema', case['id']) + if selector_types_only: + following = next(c for c in DATA['capCases'] if c['id'] == 'selection-preparation-only') + # Each malformed request is followed by a known valid request in the same process. + cases = [entry for case in type_cases for entry in (case, following)] by_id = {c['id']: c for c in cases} encode = lambda v: (json.dumps(v, ensure_ascii=True, separators=(',', ':'))+'\n').encode() commands = [[sys.executable, '-B', str(HERE/'reader.py')], @@ -498,7 +516,8 @@ def remove_controls(definition, node, path=()): for key, child in node.items(): remove_controls(definition, child, path+(key,)) elif isinstance(node, list): for i, child in enumerate(node): remove_controls(definition, child, path+(i,)) - for definition in ('selection', 'conversionCapability'): remove_controls(definition, SCHEMA['$defs'][definition]) + if not selector_types_only: + for definition in ('selection', 'conversionCapability'): remove_controls(definition, SCHEMA['$defs'][definition]) mutations = [ ('installed-identity', 'caps-untrusted-agreement-revision', "if required['spec'] != INSTALLED_SPEC:", 'if False:', @@ -557,7 +576,11 @@ def remove_controls(definition, node, path=()): for case,got in zip(cases,rows): expected=case['expected']; effects=int(expected.get('admitted',False) or expected.get('selected',False)) assert got=={'answer':expected,'effects':effects},(name,case['id'],'effect order',got) - for label, case_id, py_before, py_after, js_before, js_after in mutations: + active_mutations = [] if selector_types_only else list(mutations) + if name.endswith('.mjs'): + active_mutations.append(('selector-profile-string-guard', 'selection-profile-type-array-base', + '', '', "typeof s.profile!=='string' || ", '')) + for label, case_id, py_before, py_after, js_before, js_after in active_mutations: before,after=(py_before,py_after) if name.endswith('.py') else (js_before,js_after) assert source.count(before)==1,(name,label,'mutation target') changed=source.replace(before,after) @@ -568,18 +591,26 @@ def remove_controls(definition, node, path=()): got=json.loads(result.stdout) assert got!=case['expected'],(name,label,'intended assertion did not fail') print(f'{name}: removed {label} at {case_id} expected={case["expected"]} removedGot={got}') - print(f'{name}: {len(cases)} changed cap/selector/role fixtures and callback probes; {len(mutations)} intended safeguard removals PASS') - print(f'Draft cap/selector schema: {controls} member/enum removal controls PASS') + print(f'{name}: {len(cases)} changed cap/selector/role fixtures and callback probes; {len(active_mutations)} intended safeguard removals PASS') + print(f'Draft selector wrong-type profiles: {len(type_cases)} schema refusals PASS') + if not selector_types_only: + print(f'Draft cap/selector schema: {controls} member/enum removal controls PASS') print('Scope: synthetic installed identity and reported-size admission only; no actual artifact boundary, supported product role, Extended support or normative adoption claim.') +if '--selector-types-only' in sys.argv: + check_limits(selector_types_only=True) + sys.exit(0) + + if '--limits-only' in sys.argv: check_limits() sys.exit(0) if '--references-only' in sys.argv: - check_references() + schema_only = '--schema-only' in sys.argv + check_references(replay_changed_outputs=not schema_only, schema_only=schema_only) sys.exit(0) @@ -593,7 +624,8 @@ def remove_controls(definition, node, path=()): sys.exit(0) -check_limits() +if '--global-schema-only' not in sys.argv: + check_limits() requests, expected, labels, schema_valid = [], [], [], [] @@ -709,7 +741,7 @@ def refused(label,mutate,code='input-malformed'): schema_valid.extend([c['request'], c['expected']]) schema_valid.append(EXAMPLES['producerGrammarBinding']) -for value in [EXAMPLES['generatedFrame'],EXAMPLES['assertedFrame'],EXAMPLES['lineageFragment'],EXAMPLES['generatedCarrier'],EXAMPLES['capabilitiesFragment']]: +for value in GLOBAL_SCHEMA_EXAMPLES: schema_valid.append(value) for fragment in schema_valid: VALIDATOR.validate(fragment) @@ -760,6 +792,12 @@ def visit_members(value,path): for i,child in enumerate(value):visit_members(child,path+[i]) visit_members(SCHEMA['$defs'][definition],[]) +if '--global-schema-only' in sys.argv: + print(f'Default global schema coverage: {enum_mutations} enum and {member_mutations} member-removal controls PASS, including signedResponseFragment.result') + check_references(replay_changed_outputs=False, schema_only=True) + sys.exit(0) + + # Only transport-byte admission is probed here, not a complete old/new envelope comparison. raw_at=copy.deepcopy(base) values=raw_at['frame']['values'] diff --git a/rfcs/retained-column-conversion/reader.mjs b/rfcs/retained-column-conversion/reader.mjs index 0512d96..43c2b07 100644 --- a/rfcs/retained-column-conversion/reader.mjs +++ b/rfcs/retained-column-conversion/reader.mjs @@ -306,7 +306,7 @@ function admit(p,effect=()=>{}) { function select(p,effect=()=>{}) { closed(p,['selector','role']); const s=p.selector; closed(s,['contract','spec','profile','roles']); closed(s.spec,['version','revision','schemaSha256','corpusSha256']); - if (s.contract!=='retained-column/1' || !installedSpec(s.spec) || !Object.hasOwn(PROFILE_CAPS,s.profile)) fail('capability-unsupported'); + if (s.contract!=='retained-column/1' || !installedSpec(s.spec) || typeof s.profile!=='string' || !Object.hasOwn(PROFILE_CAPS,s.profile)) fail('capability-unsupported'); const order=Object.keys(ROLE_LIMITS); if (!Array.isArray(s.roles) || s.roles.length<1 || s.roles.length>order.length) fail(); if (s.roles.some(r=>typeof r!=='string' || !Object.hasOwn(ROLE_LIMITS,r))) fail('capability-unsupported');