Repository navigation
fix: alias slugs, .pi untracking, release scan tuning, API key settings follow-ups - #96
Merged
Merged
Conversation
This was referenced Oct 19, 2026
Closed
… usage routes Closes #47 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Closes #49 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…efore scan Closes #61 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Closes #79 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ndow edges Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…indow-edge false positives A licence file that is not valid UTF-8 skipped the instruction scan entirely. It is now decoded lossily and scanned; markup such as LICENSE.md never gets the latin-1 allowance and is quarantined as non-UTF-8 text. A secret token ending exactly at a non-final window edge was matched because the end of the string acted as a word boundary; those matches are now left to the next window, which sees the following bytes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ence names, keep long tokens at window edges A non-UTF-8 licence file is now scanned as lossy UTF-8 and as latin-1 (soft hyphens removed), so NBSP or soft-hyphen tricks that only a latin-1 reader sees no longer slip past the instruction scan. Only a match lying wholly inside the window overlap is treated as a cut artifact; a long secret that began before the overlap is still reported. Licence names are upper-case LICENSE/LICENCE/COPYING/NOTICE/AUTHORS with an optional upper-case suffix and .txt/.md/.markdown; free suffixes such as NOTICE-install or LICENSE.rst keep every rule. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nical names Licence-like names in any spelling (NOTICE-install, LICENSE_MIT, PATENTS, license) are instruction documents again, so injection, shell/URL syntax and non-UTF-8 text are all checked. Only the canonical upper-case names get the syntax and latin-1 exemptions. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A licence file is always an instruction document, and the canonical licence suffix is narrowed to a subset of the broad licence-like pattern, so a name such as LICENSE-GPL.V2 can no longer get the latin-1 allowance without a content scan. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
mrgoonie
force-pushed
the
sx-bugs-47-49-61-79
branch
from
October 20, 2026 02:03
691a047 to
86d9c62
Compare
This was referenced Oct 20, 2026
chore(registry): SX-3 review follow-ups (scanner encodings, scan memory, deploy guide env flags)
#61
Closed
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.
Summary
api.user-interactions,api.skill-reviewloader+action,api.skill-rate,api.skill-vote,api.usage-report) now resolve through the alias table (resolveSkillBySlug, plus batchresolveSkillIdsBySlugs). Old slugs no longer 404 or return an empty overlay..pi/ignored and untracked. The archived goal docs are dropped from the repo.scripts/and legacy-codepage.bat/.cmd/.csvno longer quarantined; secret scan runs in 64 KiB windows and instruction docs over 4 MiB are quarantined instead of decoded whole;assertSubrequestBudgetruns before scan and signing;--env productiondropped from README.scopes: nullaccepted as omitted (documented); same-origin check on POST/DELETE (lib/auth/same-origin.ts, documented); plaintext key lives only in component state and is dropped on Done;api.skill-favoriteclient chunk no longer pulls the schema (an unusedskillsimport kept it alive; chunk is now empty and has nokey_hash).Tests
pnpm typecheckclean,pnpm --filter web buildok. New:api.alias-slug-routes.test.ts, extendedrelease-scan.test.ts,release-budget-order.test.ts,user-api-keys-route.test.ts,api-key-settings.test.ts. The full suite passes exceptpackages/cli/src/lib/git-tree-tar.test.ts, which timed out in a hook in one run and passed in another (untouched by this PR).Review follow-ups
Closes #47
Closes #49
Closes #61
Closes #79
🤖 Generated with Claude Code