Dashboard › institutional-transition-lab › Distillation
19f36154-7b1a-441a-9a73-cca29089982f["lore_tm_v1_C4zqQ4ytAAnbq73UQuEDZdGkxovsHvcsjFDJQg6goiU","lore_tm_v1_C1vwqS-BkrJpYIjnS61xHPHNSn_N_KMCyOxG9lNHm8o","lore_tm_v1_Sb1hVMcW7OzOR3K6rW5o_LEwQTImaDXws8P7BfFPShI","lore_tm_v1_dDWACVzn6h_3jTHW7rWTA4jCfKSKNxN7FpWqNlyZIl4","lore_tm_v1_Sg36NRz-cmk3vMeUR9Vru9igEL-aG6xWBTUgZFBno40","lore_tm_v1_xJwSffvGKqEpSLUw_VM9TSn-Qo65RVF_YrRZF5RbH3E","lore_tm_v1_0eiQZdjLMuKDBo2TRmjoad2yWE9RFsEuBnWwX19Gu7M","lore_tm_v1_9snocVkt-ce9KQ3EsBMsruHtsaCKoT5R0Uvk-59V69c","lore_tm_v1_Pr_zdvY4hkHv2FNMBHCwInW7p0THVRocBn24cADEJL4","lore_tm_v1_yYG-bS0UTiEGYE4DzsoaGhXWDWnjWTzVehoiSKDr-HA","lore_tm_v1_xS89qJwu4GB73PJ43nIOPoEJQhW0lXbnI4tIK0Uapbg","lore_tm_v1_uW24p2x52UbxDzbOBnSPrlFBbxthzFSPRXj4a61LLvc","lore_tm_v1__dRpiUs4bi3yvSLktO9r-TVhV_EB-c9ggmdazqkYzmg","lore_tm_v1_ouh4F7zrKzeOvkH1Ntluin77zIlf8zYXdS3gJLCw8ds"]
Date: Sep 9, 2026
deflate sync 6425 62 True False 0 0; BZIP2 payload length was 97, and full-stream cuts 1 through 10 each returned False 0 True; LZMA payload length was 67, and full-stream cuts 1 through 6 each returned False 0 True./home/byk/Code/institutional-transition-lab/src/institution_lab/governance_adjudication.py, including MAX_INPUT_BYTES, MAX_ARTIFACT_BYTES, MAX_ARCHIVE_MEMBERS, MAX_ARCHIVE_MEMBER_BYTES, MAX_ARCHIVE_EXPANDED_BYTES, _read_regular_file(), _verify_input_payloads(), zipfile.ZipFile, archive member checks, and the required --artifact CLI argument./home/byk/Code/institutional-transition-lab/src/institution_lab/governance_adjudication.py: input limits are 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._read_regular_file(path, *, max_bytes=MAX_INPUT_BYTES) opens with os.O_RDONLY | os.O_NONBLOCK | getattr(os, "O_NOFOLLOW", 0), verifies stat.S_ISREG(metadata.st_mode), rejects metadata or actual payload sizes above max_bytes, and reads at most max_bytes + 1._parse_json_object() uses json.loads() with _reject_duplicate_keys as object_pairs_hook and _reject_non_finite_number as parse_constant; it rejects invalid UTF-8/JSON and non-object top-level values._validate_manifest_identity() requires exactly the keys in REQUIRED_INPUT_PINS, positive integer workflow_run_id and artifact_id, and equality with every value in FROZEN_INPUT_PINS; frozen identifiers include workflow_run_id=33063470968 and artifact_id=9642983578._verify_input_payloads() computes byte SHA-256 values for artifact, documents, coding_package, protocol, coding_schema, and adjudication_schema; opens the artifact with zipfile.ZipFile(io.BytesIO(artifact)); rejects more than 128 members, duplicate filenames, and aggregate declared expansion above 64 MiB; then verifies documents.json and v1.2-adjudication-package.json against durable bytes after reading each with source.read(MAX_ARCHIVE_MEMBER_BYTES + 1). zipfile.BadZipFile maps to ValueError("artifact is not a valid ZIP archive")./home/byk/Code/institutional-transition-lab/tests/test_governance_adjudication.py, covering fixture ZIP creation, mismatched artifact members, duplicate documents.json, and excessive archive member count._write_pinned_cli_inputs() in /home/byk/Code/institutional-transition-lab/tests/test_governance_adjudication.py: it writes documents.json and v1.2-adjudication-package.json into artifact.zip, constructs a manifest with workflow_run_id=33063470968, artifact_id=9642983578, and computed hashes, then monkeypatches governance_adjudication.FROZEN_INPUT_PINS. Test-only limit MAX_TEST_ARCHIVE_MEMBERS = 256.documents_file_sha256; files not matching the pinned artifact rejected via artifact member mismatch: documents.json; CLI time-of-check/time-of-use swapping rejected via input manifest mismatch: documents_file_sha256; direct/symlink/hardlink output aliases to each frozen input rejected; aliased outputs rejected; duplicate manifest key artifact_sha256 rejected while the prior summary remains gate-closed; non-object manifests rejected; duplicate documents.json artifact members rejected; 256 added padding/{index} entries rejected via artifact member count exceeds limit; and FIFO input rejected without blocking using a subprocess timeout of 1 second.423046 bytes and it contained 19 entries, all using compression method 8, flags 0x8, and extraction version 20: documents.json (usize=445940, csize=120892, crc=0x35777f, offset=0); luna-a.json (56076, 7161, 0x13265cc6, 120952); luna-b.json (52967, 6651, 0x8a7d80b4, 128170); adjudication-package.json (149490, 13779, 0x2184f7c5, 134878); preliminary-package.json (107543, 10349, 0x4487be4d, 148728); preliminary-summary.json (707, 353, 0xf4d04071, 159147); preliminary-summary.md (543, 311, 0x1053e63c, 159570); summary.json (703, 351, 0x1b21a9a7, 159949); summary.md (542, 309, 0x81ccf098, 160358); terra-route.json (391727, 105388, 0x995204cc, 160723); terra.json (43744, 6482, 0x2bc2ace4, 266173); v1.2-adjudication-package.json (156038, 14335, 0xc6e17de, 272711); v1.2-preliminary-package.json (109772, 10416, 0xcf7f82d7, 287122); v1.2-preliminary-summary.json (788, 375, 0xdd087a4e, 297613); v1.2-preliminary-summary.md (618, 334, 0x215ebf, 298063); v1.2-summary.json (784, 372, 0xcdc7bb4f, 298470); v1.2-summary.md (617, 332, 0xbb8214c9, 298905); v1.2-terra-route.json (425012, 115319, 0x75a3e25d, 299298); and v1.2-terra.json (50036, 7043, 0x1a73f5a6, 414684).ZipExtFile.read(), _read1(), and _read2(): for non-deflate compressed formats, _read1() calls self._decompressor.decompress(data) and treats either self._decompressor.eof or exhausted _compress_left as EOF; output is sliced to self._left, and _eof is forced once _left <= 0. _read2() raises EOFError only when the underlying read returns no data before _compress_left reaches zero.504b0708; descriptor boundaries and bytes were: documents.json 44..120936, 504b07087f7735003cd80100f4cd0600; luna-a.json 120993..128154, 504b0708c65c2613f91b00000cdb0000; luna-b.json 128211..134862, 504b0708b4807d8afb190000e7ce0000; adjudication-package.json 134933..148712, 504b0708c5f78421d3350000f2470200; preliminary-package.json 148782..159131, 504b07084dbe87446d28000017a40100; preliminary-summary.json 159201..159554, 504b07087140d0f461010000c3020000; preliminary-summary.md 159622..159933, 504b07083ce65310370100001f020000; summary.json 159991..160342, 504b0708a7a9211b5f010000bf020000; summary.md 160398..160707, 504b070898f0cc81350100001e020000; terra-route.json 160769..266157, 504b0708cc045299ac9b01002ffa0500; terra.json 266213..272695, 504b0708e4acc22b52190000e0aa0000; v1.2-adjudication-package.json 272771..287106, 504b0708de176e0cff37000086610200; v1.2-preliminary-package.json 287181..297597, 504b0708d7827fcfb0280000ccac0100; v1.2-preliminary-summary.json 297672..298047, 504b07084e7a08dd7701000014030000; v1.2-preliminary-summary.md 298120..298454, 504b0708bf5e21004e0100006a020000; v1.2-summary.json 298517..298889, 504b07084fbbc7cd7401000010030000; v1.2-summary.md 298950..299282, 504b0708c91482bb4c01000069020000; v1.2-terra-route.json 299349..414668, 504b07085de2a37577c20100347c0600; and v1.2-terra.json 414729..421772, 504b0708a6f5731a831b000074c30000. Each probe reported 0x8074b50 True True True.canonical_sha256() rejects float("nan"), float("inf"), and float("-inf"); committed manifest verification uses cases/review/oss-governance-adjudication-v1.inputs.json, cases/review/oss-governance-adjudication-v1/artifact-9642983578.zip, documents.json, v1.2-coding-package.json, research/oss-governance-coding-protocol-v1.2.md, schema/governance-coding-v1.schema.json, and schema/governance-adjudication-v1.schema.json; fragment tests use cases/review/oss-governance-adjudication-v1/fragments/opentofu-a2.json.decision_counts={"accept": 1}, class_counts={"no_event": 1}, no unresolved record IDs, reviewer opencode-gpt-5.6-sol-primary, and graph-edge revision {"record_id": "example-1", "basis": "luna_a", "added": [], "removed": []}.accepted_truncated_stream=True, codec_eof=False, compressed_bytes=22. It also found trailing compressed bytes were accepted: accepted_trailing_bytes=True, unused_bytes=8.True 16 16 1055./usr/bin/python3 failed because that interpreter had no pytest module: /usr/bin/python3: No module named pytest.No files found.