Repository navigation
Conversation
knip listed 37 exports and exported types that nothing imports. They are now module-local. Five turned out dead once private (planSummary, SessionTurnSummary, OrchestratorConfig, DEFAULT_ORCHESTRATOR_CONFIG and the AgentStep re-export) and are deleted. skills.ts imports SkillRisk from types.ts instead of declaring its own copy. Exports that PR #63 deletes outright are left alone to keep the two PRs conflict-free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
What this changes
This drops the
exportkeyword from 36 symbols that knip reports nothing imports. They stay in their files as module-local code.Four symbols became dead once they were private, and they are deleted:
planSummary,SessionTurnSummary,OrchestratorConfigandDEFAULT_ORCHESTRATOR_CONFIG.skills.tsnow importsSkillRiskfromtypes.tsinstead of declaring a second copy.There is no runtime change.
Why
This is item 4 of the full-code audit. Every unneeded export looks like public API, so a reader cannot tell what is safe to change. The duplicate
SkillRiskcould also drift from the original.The exports that #63 deletes outright are left untouched here, so the two PRs merge without conflicts. Once both land,
knip --include exports,typesreports onlyEvidenceItemandAgentStepinpartial-work.ts. That file is left alone because #63 deletes the lines next to them; trim it after #63 merges.How it was verified
./scripts/check.shpasses locally (tsc withnoUnusedLocals, lint, tests, knip, build)Checklist
Security-sensitive areas
🤖 Generated with Claude Code