Repository navigation
fix(skill): read the installed-skill entry list on any platform - #803
Merged
Ishaan Gangwani (ishaan1124) merged 2 commits intoSep 29, 2026
Conversation
ANIRUDDHA ADAK (aniruddhaadak80)
requested review from
Aayam Bansal (aayambansal) and
Ishaan Gangwani (ishaan1124)
as code owners
September 28, 2026 18:24
|
ANIRUDDHA ADAK (@aniruddhaadak80) is attempting to deploy a commit to the InkVell Team on Vercel. A member of the Team first needs to authorize it. |
The namespace and skill name were taken by splitting the relative path on /, but Bun.Glob yields native separators, so on Windows that is one segment holding the whole path. The namespace lookup missed, the entry flag was never applied, and every installed skill was surfaced as a command.
ANIRUDDHA ADAK (aniruddhaadak80)
force-pushed
the
fix/skill-entry-flag-windows
branch
from
September 29, 2026 04:24
b2c500b to
40bc6b1
Compare
# Conflicts: # CHANGELOG.md
Ishaan Gangwani (ishaan1124)
merged commit Sep 29, 2026
b561ab8
into
synthetic-sciences:main
5 of 6 checks passed
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.
Fixes #802.
What
Which installed skills count as user-facing commands is decided by splitting the scanned path on
/:Bun.Glob.scanreturns native separators. Measured on this machine:entriesByNs.get(ns)misses, theif (entrySet)body never runs, andskill.entrystaysundefined.Why it matters
Info.entryis documented as "Defaults to true. Driven byopenscience-skills.jsonentries[]for URL-installed skills", and its consumer isfrontend/workspace/src/atlas/skill-permissions.ts:67:undefinedis notfalse— so on Windows every skill from a URL install is treated as an entry and offered in/autocomplete and the Skills library, including the internal helpers the manifest deliberately marked as not-entries. The identical install behaves correctly on a POSIX host.bundle-format.ts:46in the same subsystem already normalises withpath.relative(...).replaceAll("\\", "/"), so this is an internal inconsistency rather than a platform impossibility.Verification
The new test writes a real namespace under
Global.Path.data/installed-skills— one skill listed in the manifest, one omitted — and asserts both halves of the contract.Before the fix, on this Windows machine:
After:
The change
path.relativealso drops the manualsliceprefix arithmetic, so the two can no longer disagree about the base directory.bun run typecheckclean; touched files are Prettier-clean (checked on LF-normalized copies — this checkout hascore.autocrlf=true, which makes Prettier flag every file in the repo).Pre-existing failures in this area
test/skill/has substantial pre-existing failures in this Windows checkout — 38 pass / 25 fail onmain, 41 pass / 22 fail with this change, and the counts vary run to run because several of those tests are order- and timing-sensitive. The new test is green in both configurations; this change does not touch the paths those cases exercise.Fixes #800