Repository navigation
Admission cleanup: remove dead conflict helpers, name media keys in verdicts - #1323
Merged
Merged
Conversation
…erdicts Delete what the engine made dead: resolvableCollectionConflict (resolved parties by name; the save path has resolved by id via mappingConflictContext since 4b) and its tests, conflictWithCustomRules (no production caller since 4a), the presenter's unused oneLine, and the startupFailureMessage shim that only delegated to SessionConfigurationRefusal. Presenter sentences name media keys and Caps Lock as the user knows them through the existing LayerMappingBuilder.mediaKeyDisplayLabel table. See docs/architecture/rules-admission-review.md §4.4h. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Codex Review SummaryThis 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. |
|
Review: no actionable correctness, reliability, or security findings in this diff.
🤖 Generated with Claude Code |
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.
Cleanup pass after #1322 (review §4.4h).
Removed (dead once the engine became the only implementation)
RuleCollectionsManager.resolvableCollectionConflict— resolved conflict parties by name; the save path has usedmappingConflictContext(for:)(by id, from engine verdicts) since 4b. Its test file goes with it.RuleCollectionsManager.conflictWithCustomRules— no production caller since 4a; its three tests removed.AdmissionVerdictPresenter.oneLine— unused.SessionCapsRuntimeSupport.startupFailureMessage— a shim that only delegated toSessionConfigurationRefusal.message.Clarified
LayerMappingBuilder.mediaKeyDisplayLabel; other keys keep their Kanata names.MappingConflictContextdoc comment points at the real builder.KeyPathError.MappingConflictInfostays (the save gate's error type, names not ids, lives in KeyPathCore; produced from verdicts in exactly one place).Tests
KEYPATH_TEST_ENFORCE_CLEAN_SUMMARY=1 Scripts/run-tests-safe.sh: 5,776 passed (10 dead tests removed), 0 app warnings/errors, 0 build warnings.check-accessibility.pyclean.🤖 Generated with Claude Code