Dashboard › institutional-transition-lab › Distillation
eaf0aa73-490e-49a1-b586-5f173195ea66["lore_tm_v1_RUMMdRu0lg0K-Gtwu-oaPJ61wndxolfz1HB2seP_qKk","lore_tm_v1_UbxX2bbvSR0X93p5yKRDpogMIOiWXG2d1ATHXgcaRfA","lore_tm_v1_aOz8SuHzU-XKTyPkWN1HS2EReObTKysgQfaaHbkRsgs","lore_tm_v1_HhbdheGL1L9PkF47ZO5SMaIe4DDeJ2CczUWao4FPJZ8","lore_tm_v1_xs0-LhiWO1gmCpTvQTOH0ll83I1yRAfZuQIW5HAgkg8","lore_tm_v1_dpUpu99-t7MqL2_HW5jOXNKJJ9193weQ0HUg49LHvRA","lore_tm_v1_7yBR_BKDR1e1wmhmF6wQ73c0gjPS-sU_ETDPLItl0Os","lore_tm_v1_ein1N3fNQAH2SI7zNo9iGQgo_hevE0oLweHRh3mm2fA","lore_tm_v1_lJSrz3GjykaMsFHVQwawxmaL3iyZExMeSTAQanAytTg","lore_tm_v1_rbOW7LygfrBvzwPJUhdJPRs_qoQJc8i7tGzuhC76Wm8","lore_tm_v1_3zaSb4HKFpS7pdhH7ZP5W1VdsG4WM9l-_aOjYQcO1D8","lore_tm_v1_99kzId6jwakYAS7XYW1QR5G4SaL2iy1tkIkkhc81n5g","lore_tm_v1_L0-yVARnMC-PTD6Xxfi-_Zdv8hmhLKXUz5xqZsP0oN0","lore_tm_v1_8diipoGplRfLCTjZgg-ucPIvSRBGdDyNRz5tZvYWzLA","lore_tm_v1_j753P4N79TLkxB8vvKu2WnClLaCzRuOHg3F2226lPNs","lore_tm_v1_bg-FKB_4fXTFFPN3hSU8vjdiR12NaOjwraaqwBOXyJM","lore_tm_v1_QhBDBuWANfJ00pchQ1I7X4t4Yx0UpvHmvoOINidCBLM","lore_tm_v1_1eEv8vpNl4Z-p3Re5ai9CpEOc8PKKvWWQMZ_fk9H_dc","lore_tm_v1_uh8jL7_-BaEPMuB1oMIHVQue7lBaBcOqtcswZEXodvA","lore_tm_v1_8puOl85r7noYL1HsXbyGXSA1kOXhm_0CP7P8rsl6AnQ","lore_tm_v1_--7orpk4sSr_IArkROMelOE8z2yQCQb0ozLUE6t6Shw","lore_tm_v1_lNLLdQ0J6hiWonhmoENTVDE8pQy4qJix4IF5x0qC8dQ","lore_tm_v1_wK48WB6SjS9dkjsfk2ikMCKpJYh32tRHAsN7qPTgTYA","lore_tm_v1_eM8VFPZKKYiS_stG9pyUZFQzDVgKyAQZha2lrbj_pzI","lore_tm_v1__RhWTVElycvvgq8C_jtDUVnxoC947PyBLBOMO4SLCKs","lore_tm_v1_cN2RWXY55skTzoXeTg1rZ-nD0yrGlzRMrGusv-1Nxj0","lore_tm_v1_pjs3dLo8hBz_UsEH8OOvjknmMeA4uI69AsF5URXdsaw","lore_tm_v1_dlEULkZwSwBw0ipf-DxlkdxQbBOJ9N0jAQSUhNBB7L4","lore_tm_v1_qdosWzke8TwTd5Lz-KHNNq51_1muAAxcKEciyLroH3Y","lore_tm_v1_CLglEIBOgduTnodradcVM6c-xlRT5XnYKW5oNbh8-e4","lore_tm_v1_HbDehnYcuwrI4Q_O5DVMMz9ndKx3rVZW6d5vbK4FBAE","lore_tm_v1_gScziA7KBMt9_uKt9JO3euaJBWMdgGbhzFo_jm-Dk40"]
Date: Sep 9, 2026
archive.open(info).read(...) at src/institution_lab/governance_adjudication.py:201-202 trusts ZipExtFile; the later byte comparison at :203-206 “never checks whether the compression stream reached its native end marker.” Parsing proceeds at :209 and :215.ZIP_DEFLATED, ZIP_BZIP2, and ZIP_LZMA streams were accepted for both required members with native decompressor eof=False, and all downstream parsers were invoked.ValueError before _parse_json_object() runs.governance_adjudication.py:202 can raise native exceptions, while :207-208 catches only zipfile.BadZipFile. A reserved DEFLATE block type produced zlib.error: invalid block type for either required member; parsing was skipped and source/archive context managers closed.ValueError retaining the decompressor exception as its cause, no parser invocation, and closed source/archive handles.governance_adjudication.py:181-198; stored-payload CRC mismatch wrapped as invalid-ZIP ValueError at :207-208; valid-CRC bytes differing from durable bytes rejected at :205-206; nested context managers at :180 and :201 closed handles after wrapped CRC and raw decompressor failures.tests/test_governance_adjudication.py:729-773 and one duplicate-name case at :883-905, but no required-member CRC, corrupt-stream, truncated-stream, or cleanup regressions. Narrow result: 2 passed, 76 deselected; audit edited no files and returned DO-NOT-MERGE.9hgz0w9t was cancelled and replaced by 3l51xgoe, scheduled for 15 minutes with issue #4-only instructions: validate/integrate only schema-valid uncontaminated Terraform PR 34103; wait for JSON/pin, ZIP declared-limit, and actual-byte audits; then add fail-first regressions for substantive CLI, descriptor, ZIP metadata, and required-stream findings; never poll, duplicate, or overlap; retry once after a first empty result and replace only twice-empty reviewers.control_event / product, “never a change in institutional authority.”terraform-github-pr-34103: “Never used another record,” existing fragment, prior review, memory, outcomes, transition dates, reports, detectors, web evidence, or desired results./tmp/opencode/terraform-pr-34103-clean-v2.json with SHA-256 fb1fbde64527ea72c38d189ab2f15a4abaa2288dc5fefb05b3828ac975edfa96; decision accept from terra_advisory; graph diff basis: terra_advisory, added: [], removed: []; power changes: none.pr_metadata "merged": true, "merged_at": "2023-10-17T14:19:12Z".files_listing_complete=true, patch_selection_truncated=false, and patch_unavailable_count=0; the two changed files could not be inspected directly.$defs.reviewer, $defs.record, coding schema/date formats, quote grounding, exact terra_advisory payload identity, exact graph diff, and all four requested frozen hashes; no prohibited package field appeared and no repository file was edited by the reviewer./tmp/opencode/terraform-pr-34103-clean-v2.json returned keys schema_version, design_status, reviewers, records; sole ID terraform-github-pr-34103; sole decision accept; errors: [].record_class: control_event, event_kind: product, title Backport HCL v2.19.0 into v1.6, announced_on: 2023-10-17, effective_on: 2023-10-17, affected_scope: Terraform v1.6, body_patch_relation: body_only, power_changes: [], confidence 0.87, and ambiguity that absent implementing patch content prevents checking detailed contents.cases/review/oss-governance-adjudication-v1/fragments/terraform-pr-34103.json, durably integrating PR 34103.terraform-pr-34103.json, terraform-pr-34096.json, terraform-prs-23-24.json, terraform-issues-19-21.json, valkey-36-40.json, valkey-31-33.json, terraform-c.json, opentofu-10-18.json, valkey-34-35.json, opentofu-pr-1650.json, opentofu-a1.json, and opentofu-a2.json.schema/governance-adjudication-v1.schema.json requires exactly 40 records (minItems: 40, maxItems: 40), top-level fields schema_version, adjudication_id, design_status, transition_dates_excluded, outcome_data_used, inputs, reviewers, and records, plus nine frozen input-pin fields under inputs._parse_json_object() only supplies parse_constant at src/institution_lab/governance_adjudication.py:129-135; 1e9999 follows Python’s float path and becomes inf. canonical_sha256() rejects inf at :80-87, but “only documents always pass through canonicalization at lines 209-211”; coding packages and adjudication schemas leave the parser with non-finite values at :215-216.b'{"value":1e9999}'; require _parse_json_object() to raise ValueError; add a parse_float callback rejecting any conversion that yields a non-finite value.governance_adjudication.py:908-915, evaluates all six payload reads at :916-924, and only validates the manifest inside _verify_input_payloads() at :167. With an invalid artifact_id, observed read order was adjudication.json, input-manifest.json, artifact.zip, documents.json, coding-package.json, protocol.md, coding-schema.json, adjudication-schema.json._read_regular_file() calls while running the CLI with a structurally valid but incorrectly pinned manifest; assert only the manifest is read before the frozen-pin error; parse and validate the manifest before reading adjudication or any payload.test_cli_validates_the_same_bytes_it_verifies() at tests/test_governance_adjudication.py:783-794 patches unused verify_input_manifest(), while main() directly invokes _verify_input_payloads() at governance_adjudication.py:916; probe recorded zero wrapper calls. The test passed only because the initial forged document already disagreed with documents_file_sha256, so it did not test a mid-validation swap._read_regular_file() rather than verify_input_manifest(), mutate the document after its first read, assert it was read exactly once, and prove hashing, parsing, and validation all use the captured snapshot.governance_adjudication.py:30-55 and checked for exact keys, strict integer IDs, and frozen values at :143-154; per-field substitution coverage exists at tests/test_governance_adjudication.py:651-669; nested duplicate keys and explicit NaN, Infinity, and -Infinity are rejected at :116-135; all four scoped JSON inputs reject arrays at :138-140, though only the manifest had a direct committed regression.inf, CLI payload reads before bad-pin rejection, and a snapshot test patching an unused hook—and deferred shared-module/test edits while two ZIP-limit audits remained active.cases/review/oss-governance-adjudication-v1.inputs.json.fragment_count: 12, reviewer_count: 12, record_count: 40, no duplicate reviewers or records, IDs in frozen order, no schema errors, and no semantic errors.accept: 25, revise: 8, reject: 3, abstain: 4; class counts were announced_institutional_change: 1, control_event: 13, effective_institutional_change: 6, no_event: 13, and proposal_only: 3.closed: opentofu-github-pr-2830, opentofu-github-pr-2953, opentofu-github-pr-2959, and valkey-github-issue-4276.ses_f7b4202e2ffeYjI7JhdsV1eOKU so adjudication content would not be reinterpreted and audited code would not be edited.MAX_ARCHIVE_MEMBER_BYTES and MAX_ARCHIVE_EXPANDED_BYTES at src/institution_lab/governance_adjudication.py:68-69 do not bound true decoder output: the loop reads once at :201-202, measures only returned bytes at :203-204, and maintains no aggregate actual-output counter across :194 and :201-204.3.12.3, ZipExtFile clips returned data to the declared size while BZIP2 and LZMA may decompress the entire supplied compressed chunk first. Probe result: encoded_expansion=16777217 declared=1 returned=1 next_read=0 peak_traced=47587880; actual expansion exceeded the 16 MiB member limit although line 203 observed one byte, allowing compression-bomb CPU/memory exhaustion before checks.encoded_expansion=1 declared=8 returned=1 next_read=0.monkeypatch; construct BZIP2 and LZMA streams expanding to member_limit + 1 while declared length matches a short valid prefix, and reject based on actual expansion. 2. Use two streams each below member limit but collectively above a lowered aggregate limit, rejecting during the second stream. 3. Use a stream shorter than declared and require explicit stream-length error. 4. Keep fixtures small/compressible so current-code failures do not consume substantial memory.ZipExtFile.read() internally completes partial compressed reads—a one-byte-at-a-time probe returned 32768 after 46 underlying partial reads—and nested context managers close source/archive on ordinary read errors; synthetic OSError produced source_closed=True archive_closed=True and propagated.MAX_ARCHIVE_MEMBER_BYTES / MAX_ARCHIVE_EXPANDED_BYTES; actual-limit audit edited no files and returned DO-NOT-MERGE.ZipExtFile clips returned bytes.MAX_INPUT_BYTES = 16 * 1024 * 1024, MAX_ARTIFACT_BYTES = 32 * 1024 * 1024, MAX_ARCHIVE_MEMBERS = 128, MAX_ARCHIVE_MEMBER_BYTES = 16 * 1024 * 1024, and MAX_ARCHIVE_EXPANDED_BYTES = 64 * 1024 * 1024 in src/institution_lab/governance_adjudication.py._read_regular_file() at governance_adjudication.py:94-109 uses os.O_RDONLY | os.O_NONBLOCK | O_NOFOLLOW, verifies stat.S_ISREG, checks st_size, reads at most max_bytes + 1, and rejects oversized input; file_sha256() reads with MAX_ARTIFACT_BYTES._parse_json_object() at governance_adjudication.py:129-140 currently uses _reject_duplicate_keys and parse_constant=_reject_non_finite_number, catches only UnicodeDecodeError and json.JSONDecodeError, and requires a top-level object._verify_input_payloads() at governance_adjudication.py:157-217 validates manifest identity, hashes six payloads, audits ZIP member count/names/declared sizes, reads the two required members, compares exact durable bytes, parses documents, checks canonical documents hash, then parses coding package and adjudication schema.ses_f7b4202e2ffeYjI7JhdsV1eOKU completed with an empty result and therefore supplied no assembly evidence.