Repository navigation
The loom-session and loom-status skills find the Codex plugin under the loom marketplace only - #372
Merged
Merged
Conversation
…he loom marketplace only Under Codex the skills located the plugin root with `ls -d ~/.codex/plugins/cache/*/loom/*/ | sort -V | tail -1`. The glob spans every marketplace and `sort -V` compares the marketplace name first, so with `cache/loom/loom/0.9.30/` and an older `cache/zz-old/loom/0.8.0/` installed it picked `zz-old/loom/0.8.0/` and ran that copy's brief helper and status checks. The skills now read `~/.codex/plugins/cache/loom/loom/*/`, the versions of this marketplace's copy, as the plugin's .mcp.json helper and the doctor already do. The Codex copies are regenerated by scripts.codegen.agent_plugin_sync and both manifests move to 1.2.14. Tests: test_skills_find_the_codex_plugin_root_under_the_loom_marketplace in tests/unit/test_codex_plugin.py asserts every plugin-cache glob in both plugins' SKILL.md files starts with cache/loom/loom/*/; it failed on the old text and passes now, with the rest of the file. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…tplace name a deployment keeps Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
… the skills do Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…already gives Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
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.
Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
Under Codex, the loom-session and loom-status skills use the installed loom plugin's own copy even when another marketplace holds an older copy of loom, and
loom doctor --clientwarns when only another marketplace's copy is installed.Why
Under Codex (no
CLAUDE_PLUGIN_ROOT) the skills found the plugin root withls -d ~/.codex/plugins/cache/*/loom/*/ | sort -V | tail -1. The glob spans every marketplace andsort -Vcompares the marketplace name first, so withcache/loom/loom/0.9.30/and an oldercache/zz-old/loom/0.8.0/installed it pickedzz-old/loom/0.8.0/and ran that copy's brief helper, node launcher and status checks (an old copy may have nobin/loom-nodeat all). The plugin's.mcp.jsonhelper already readscache/loom/loom/*(versions only), as do two doctor checks; the doctor'sclient:codex:plugincheck globbed every marketplace, so a cache holding only another marketplace's copy passed it. It now reads the loom marketplace's copy, through one helper (_codex_plugin_cache) the doctor's three reads share.The claude-code-plugin skills now read
~/.codex/plugins/cache/loom/loom/*/; the Codex copies are regenerated byscripts.codegen.agent_plugin_sync.Scope and risk
Two skill files, their synced Codex copies,
server/cli/doctor_client.py(withtests/unit/test_doctor_client_checks.py) anddocs/features/integrations/codex.md(the cache path a deployment's marketplace must keep). Both plugin manifests move to 1.2.14 (1.2.13 is onmain; 1.2.11 and 1.2.12 are used by open pull requests).Compatibility, rollout and rollback
Tests
tests/unit/test_codex_plugin.py::test_skills_find_the_codex_plugin_root_under_the_loom_marketplace: every plugin-cache glob in the plugin'sSKILL.mdfiles (the Codex copies are held identical bytest_codex_copies_are_current) starts withcache/loom/loom/*/. Fails onmain, passes here; the file's other 17 tests (sync and one-version checks) pass.tests/unit/test_doctor_client_checks.py: with onlycache/zz-old/loom/0.8.0/,client:codex:pluginwarns (it passed onmain); withcache/loom/loom/0.9.38/it passes. Both files: 44 passed.LR=line, run against a scratch tree holdingloom/loom/0.9.30,loom/loom/0.9.4andzz-old/loom/0.8.0, picksloom/loom/0.9.30/.claude plugin eval integrations/claude-code-plugin --runs 3 --threshold 1.0(the rule's run for a skill change): everyloom-memorycase fails on this branch, in both arms, because every call to the suite's loom mocks returns an error, so no write reaches the graders. A one-run baseline onmain's plugin fails the same way (scores 0.17 to 0.29, every mock call an error). The suite is broken independently of this change, which touches neitherloom-memorynor the mocks; it is recorded for its own fix. The skills this PR changes have no eval case.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (an agent wrote most of the diff): Claude Code.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make format-check,make lint,make typecheckandmake test-unitpass; the integration suite passes if server behaviour changed.main; no merged migration is edited.frontend/changed.docs/describe the system as it now is, and this description names any operator steps and wire changes.git commit -s), as CONTRIBUTING.md asks.🤖 Generated with Claude Code