tools: wire bash retirement inventory guard#5067
Merged
AceHack merged 9 commits intoMay 26, 2026
Merged
Conversation
…wire-in Co-Authored-By: Codex <noreply@openai.com>
Adds the package script and gate job for the bash-retirement inventory guard, then updates the TypeScript/Bun trajectory state and releases the scoped claim in the PR diff. 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. |
There was a problem hiding this comment.
Pull request overview
Wires the existing bash-retirement inventory guard into repo tooling so new non-allowlisted .sh entrypoints are prevented from landing (via a package script and a required gate workflow job), and updates the TypeScript/Bun migration trajectory resume to reflect the new enforcement surface.
Changes:
- Adds
hygiene:check-bash-retirement-inventorytopackage.jsonto run the inventory guard in--enforcemode. - Adds a new
lint-bash-retirement-inventoryjob to.github/workflows/gate.ymlto run the guard in CI. - Updates the TypeScript/Bun migration trajectory resume with the new wiring and an additional landed-slice entry.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| package.json | Adds a Bun script entry for enforcing the bash-retirement inventory guard. |
| docs/trajectories/typescript-bun-migration/RESUME.md | Updates the migration resume to mention the new guard wiring and record the guard’s landing. |
| .github/workflows/gate.yml | Adds a gate lint job to enforce the bash-retirement inventory guard in CI. |
Resolve the package script conflict from origin/main, keep the newly added shadow CLI surface, and update the bash-retirement inventory allowlist for Kiro launchd bootstrap scripts now present on main. Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com> Codex-Origin: codex-launchd-loop Codex-Surface: codex-background-service Codex-Loop-Run-Id: 20260526T013129Z
Update guard output, tests, and workflow comments so the retained shell-surface policy names launchd-bootstrap explicitly, and remove direct name attribution from the new workflow retry rationale. Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com> Codex-Origin: codex-launchd-loop Codex-Surface: codex-background-service Codex-Loop-Run-Id: 20260526T023232Z
Co-Authored-By: Codex <noreply@openai.com>
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
Verification