[NEEDS AUDIT] Rectify: Native Shell-Capture Admission/Reclamation Liveness - #4452
Merged
Trecek merged 33 commits intoAug 4, 2026
Merged
Conversation
Trecek
force-pushed
the
impl-rectify_shell_capture_liveness_2026-07-30_220901-20260731-071519
branch
from
August 4, 2026 03:12
14e2625 to
c6da36d
Compare
Trecek
enabled auto-merge
August 4, 2026 18:11
Trecek
deleted the
impl-rectify_shell_capture_liveness_2026-07-30_220901-20260731-071519
branch
August 4, 2026 18:23
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Codex native shell capture has registered cleanup owners but no end-to-end progress contract. At 4,096 active lifecycle records, reservation fails before Bash starts. Cleanup then spends its 50 ms budget replaying and sorting the ledger, reaches the first item with no time remaining, and retires nothing. Every later command repeats the same state.
The implementation restores bounded, fair cleanup progress; unifies capacity accounting and recovery headroom; and preserves typed, non-sensitive failure reporting without routing native capture through MCP execution.
Closes #4440
Validation
task test-all: 34,478 passed, 634 skipped, 27 xfailedtask test-check: 15,281 passed, 382 skipped, 12 xfailedpre-commit run --all-files: passedAudit
This PR needs audit before merge.
Implementation Plan
Plan file:
/home/talon/projects/generic_automation_mcp/.autoskillit/temp/rectify/rectify_shell_capture_liveness_2026-07-30_220901.mdWorkTree:
/home/talon/projects/worktrees/impl-rectify_shell_capture_liveness_2026-07-30_220901-20260731-071519🤖 Generated with Claude Code via AutoSkillit