You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Aperture names a RECFM=V export when it drops it as binary (Part of #8412) - #8688
#8562 detects a RECFM=V export (source_text.rdw_framing) and counts it in the census preflight, but the engine scan still dropped such a file with the generic reason Blocked (Binary Format Detected). This slice makes the aperture name it: when Gate 3.1 drops a file as binary and its raw head chains as RDW or BDW+RDW, the reason becomes Blocked (RECFM=V export: RDW|BDW+RDW length-prefixed records; download the member as text or convert it to RECFM=F/FB).
Design: refuse by name, no decode. Classification stays binary_payload, the file is still out of scope, so no scan output moves. ApertureFilter._name_rdw_export reads at most 64 KB + 1 byte of the file (the sniff's sample, one byte over so a longer file reads as cut) and only on the already-blocked path.
Class / Sibling gaps
Class: a variable-length (RECFM=V / VB) host export that the engine's aperture drops. Members:
Member
Status
RDW records, EBCDIC (cp037, cp1047) and ASCII / cp1252
Sibling gap: needs the estate's declared code page, a record-to-line rule and an aperture admit; a different mechanism, changes scan output and goldens. Not here.
Spanned records (non-zero RDW segment-control bytes)
Sibling gap: not matched by the sniff; no fixture in any burned estate.
Remaining slices
Decode path for RDW exports (source_text.py, aperture admit, tests, golden re-bless): once the estate declares a code page.
Checklist: partial [RECFM=V exports] -- detected (#8562), counted in the preflight, and now named at the dropping gate; nothing decodes the export yet (slice above).
Gates
tests/core_engine/test_aperture_rdw_refusal_8412.py (new, 10 pass) with test_aperture.py and test_rdw_framing_8412.py: 62 passed, 1 xfailed (pre-existing).
pr_gates.py --fast: lint failed once on an E402 I introduced; fixed, ruff_audit.py --ci clean, ruff format --check clean on both files. The other gates in that run passed (audits, secrets, xray, gen-docs, derived, workflows, gauntlet, affected). I did not re-run the whole --fast after the one-line fix.
crucible_check.py (no update), both legs: PASS, zero diff.
--ratchets not run: no golden, ledger or pin changed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shepherd:mergeMaintainer: merge when green (auto-merge, squash). Guide: docs/ci.md
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8412
Summary
#8562 detects a RECFM=V export (
source_text.rdw_framing) and counts it in the census preflight, but the engine scan still dropped such a file with the generic reasonBlocked (Binary Format Detected). This slice makes the aperture name it: when Gate 3.1 drops a file as binary and its raw head chains as RDW or BDW+RDW, the reason becomesBlocked (RECFM=V export: RDW|BDW+RDW length-prefixed records; download the member as text or convert it to RECFM=F/FB).Design: refuse by name, no decode. Classification stays
binary_payload, the file is still out of scope, so no scan output moves.ApertureFilter._name_rdw_exportreads at most 64 KB + 1 byte of the file (the sniff's sample, one byte over so a longer file reads as cut) and only on the already-blocked path.Class / Sibling gaps
Class: a variable-length (RECFM=V / VB) host export that the engine's aperture drops. Members:
Remaining slices
source_text.py, aperture admit, tests, golden re-bless): once the estate declares a code page.Checklist: partial [RECFM=V exports] -- detected (#8562), counted in the preflight, and now named at the dropping gate; nothing decodes the export yet (slice above).
Gates
tests/core_engine/test_aperture_rdw_refusal_8412.py(new, 10 pass) withtest_aperture.pyandtest_rdw_framing_8412.py: 62 passed, 1 xfailed (pre-existing).pr_gates.py --fast: lint failed once on an E402 I introduced; fixed,ruff_audit.py --ciclean,ruff format --checkclean on both files. The other gates in that run passed (audits, secrets, xray, gen-docs, derived, workflows, gauntlet, affected). I did not re-run the whole--fastafter the one-line fix.crucible_check.py(no update), both legs: PASS, zero diff.--ratchetsnot run: no golden, ledger or pin changed.Doc-refs fixes: none.
🤖 Generated with Claude Code