Repository navigation
Conversation
…h names (#1804) The dependency was renamed upstream because the `claude-` prefix is reserved for Anthropic's own plugins. The manifest dependency, .claude/settings.json and the `jit-context:vocabulary` skill citations now use the new name. scripts/doctor.py gains DEPENDENCY_RENAMES / dependency_spellings(): the install-record lookup, the cache globs, the declared-dependency check and the diagnostic route all accept either spelling, so a migrated install and an unmigrated one both read as jit-context installed. Whole-name match only: my-jit-context does not count. jit_hook_roots now delegates to dependency_install_roots instead of carrying a second copy of it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CI failed one assertion on every leg: the finding now names the plugin `jit-context`, and this suite's PLUGIN constant still said the old name. The old name stays covered by test_jit_context_rename_1804.py. Co-Authored-By: Claude Opus 5.5 (1M context) <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.
Closes #1804.
What changed
claude-jit-contextis renamedjit-contextupstream (Digital-Process-Tools/claude-jit-context#452, PR #453): theclaude-prefix is reserved for Anthropic's own plugins..claude-plugin/plugin.jsondependencies:claude-jit-context->jit-context..claude/settings.json:claude-jit-context@dpt-plugins->jit-context@dpt-plugins.scripts/doctor.py:JIT_PLUGIN = "jit-context", plus aDEPENDENCY_RENAMESmap anddependency_spellings(name), so both names count during the transition, matched on the whole name (my-jit-contextdoes not count):active_versions(): a record key under either spelling answers for the requested name (this also coverscheck_freshnessanddependency_resolution_state, which read the declared names through it).dependency_install_roots(): the record lookup by key prefix and the cache glob both try every spelling.jit_hook_roots()now delegates to it instead of carrying a second copy of the same body, which would have needed the same change.dependency_repositories(): the cache manifest glob tries every spelling._jit_layer_verdict(): the declared-dependency check accepts either name.dependency_diagnostic_state(): theDEPENDENCY_DIAGNOSTICSroute and the 0/1/2 exit-code contract resolve under either name.jit-context:vocabulary(the plugin namespace moves with the rename) incommands/run/curate.mdand indoctor_check_claude_md_size.py's remedy text. Live mentions incommands/doctor.mdandcommands/run/setup.mdwere updated too.claude-jit-context 0.5.0,claude-jit-context#176,#203), the/claude-jit-context:statsmeasurement note inoss_rules.py, test docstrings attributing a rule to the skill, and CHANGELOG.changelog.d/1804.fixed.md.Test evidence
New suite
tests/test_jit_context_rename_1804.py(20 cases): either name in the install record, ininstallPath, in the cache glob fallback, in declared dependencies (each crossed with the installed name), and in the diagnostic relay. Controls: the old name keeps working, and a lookalikemy-jit-contextis refused in the record, the cache, the declared-dependency check and the diagnostic route.Red before the fix (
python3 -m pytest tests/test_jit_context_rename_1804.py -q --no-cov):tests/test_doctor_check_claude_md_size_1631.pywith its assertion moved to the new skill name (both directions, since the old spelling contains the new one):1 failed, 10 passed-> after the fix11 passed.Green after:
tests/test_jit_context_rename_1804.py:20 passed.jit_hook_roots,active_versions,dependency_repositories,dependency_install_roots,dependency_diagnostic*,JIT_PLUGIN,jit_layer_readers,declared_dependencies,check_freshness,dependency_resolutionor the stringclaude-jit-context(40 files):1336 passed, 1 failed. The one failure wastests/test_statusline_channel_613.py::test_refresh_records_a_failed_channel_reading_1636, a 15s timing test; that file run alone passes54 passedboth with and without this change, so it is not from this diff.464 passed.test_changelog_gate,test_command_references,test_content_invariants,test_changelog_link_refs,test_changelog_rule_commands_721):459 passed.All of this ran on macOS, Python 3 only. Results on the other platforms and interpreters come from CI.
🤖 Generated with Claude Code
[AI-generated]