hygiene(bash-retirement): check stale category metadata#5407
Merged
AceHack merged 3 commits intoMay 27, 2026
Merged
Conversation
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
Pull request overview
Adds an integrity check to the bash-retirement inventory guard to detect stale entries in the retained-shell category map (category metadata that references files no longer in EXPECTED_RETAINED_SHELL), and surfaces these errors in both the rendered report and tests.
Changes:
- Extend allowlist integrity inspection to flag stale category-map entries.
- Render stale category-map drift in the human-readable inventory report (including a new summary counter).
- Add targeted tests covering stale category detection and report rendering.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tools/hygiene/check-bash-retirement-inventory.ts | Adds stale category-map detection to allowlist integrity checks and report output. |
| tools/hygiene/check-bash-retirement-inventory.test.ts | Adds coverage for stale category detection and report rendering. |
| docs/claims/codex-loop-bash-retirement-category-map-integrity-20260527.md | Introduces a claim file documenting the work scope (should be released/removed when landing). |
… PR #5407 Co-Authored-By: Codex <noreply@openai.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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
Checks