Skip to content

Share runner chunk packing and native file reads - #1931

Merged
mergify[bot] merged 2 commits into
mainfrom
lean178/575-runners-source-second
Nov 26, 2026
Merged

mergify[bot] merged 2 commits into
mainfrom
lean178/575-runners-source-second

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Task

Remove 30 counted source lines from runners.py without changing behavior, CLI, configuration, or state. No tests or assertions change. The open PR audit found #1380 and two queued copies of runners.py identical to main. #1380's patch still applies cleanly.

Proof

  • Share byte-budget packing while retaining separate runs around oversized lines and the existing two packing levels. 9,800 comparisons against the old splitter matched exact output or errors across mixed file blocks, UTF-8, line endings, and budgets.
  • Return native file bytes directly rather than encoding only to decode immediately. All call sites were checked. The no-follow, ownership, link count, size cap, short-read and mutation checks remain. 34 comparisons covered ordinary, missing, empty, capped, linked, FIFO, directory and simulated interrupted or short reads.
  • Share skill-override text, consolidate traversal branches, and keep evidence guards in the existing order. Address both Deduplicate runner envelope and provenance handling #1914 suggestions by typing the shared envelope helper and regrouping and aligning evidence predicates in fewer lines.
  • All 211 runner tests passed before and after. No previously covered unchanged statement or mappable branch was lost. Totals changed from 690/853 to 677/834 statements and 257/378 to 253/368 branches as redundant code was removed. The four uncovered edited lines are the same missing or failed file-read outcomes already uncovered on the base, exercised separately by the differential checks.
  • Full slotted check, primary review, readiness, and Mergify merge.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Validation

Recorded for 6f4e37b05d44

  • uv run --group dev ruff check src tests: exit 0
  • uv run --group dev tach check: exit 0
  • uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0
  • scripts/size_budget.sh: exit 0
  • uv run --group dev pytest -q: exit 0

Review

  • primary, claude, 6f4e37b, approve

eowca and others added 2 commits November 26, 2026 15:19
Architecture-Review: unchanged; chunk boundaries, native diagnostics, and no-follow snapshot restrictions are preserved.
Co-Authored-By: Codex <noreply@openai.com>

@loopzero-feder-positronics loopzero-feder-positronics Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loopzero primary review by claude on 6f4e37b05d444900498c420f74d0731c31720956, 34.0s: approve (0 critical, 0 important, 0 suggestion)

Settings per native call (launch configuration and CLI claims, not backend attestation):

  • Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)

Native Claude output is retained in the restricted local review receipt.

@eowca
eowca marked this pull request as ready for review November 26, 2026 14:35
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Merged into main as 18d13a5 at 14:42 UTC

6 min in the queue, 5 min of it CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 14:36 · rule main · triggered by @eowca with the @mergifyio queue command
  • ✅ Passed · draft #1944
  • ✅ Merged 14:42 · 18d13a5 · squash
3 merge conditions met
  • github-review-approved · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = checks
    • check-neutral = checks
    • check-skipped = checks
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = Loop-zero Eligibility
    • check-neutral = Loop-zero Eligibility
    • check-skipped = Loop-zero Eligibility

Times in UTC · dashboard · how the merge queue works

@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

No description provided.

@mergify
mergify Bot merged commit 18d13a5 into main Nov 26, 2026
18 checks passed
@mergify mergify Bot removed the queued label Nov 26, 2026
@eowca
eowca deleted the lean178/575-runners-source-second branch November 26, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant