Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

fix: exclude non-wiped dirs from custom-file scan; warn on non-Claude model profiles - #2511

Merged
trek-e merged 2 commits into
mainfrom
fix/issue-2505-2506
Apr 21, 2026
Merged

trek-e merged 2 commits into
mainfrom
fix/issue-2505-2506

Conversation

@trek-e

@trek-e trek-e commented Apr 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fix #2505 — /gsd-update backup over-reports custom files:

  • GSD_MANAGED_DIRS in gsd-tools.cjs and sdk/src/query/detect-custom-files.ts included skills/ and command/ directories
  • The GSD installer never wipes these paths; users with 40+ third-party skills installed had every skill flagged as a "custom file" requiring backup on every /gsd-update run
  • Removes both directories from the scanned list

Fix #2506 — /gsd-settings model profiles misleading on non-Claude runtimes:

  • /gsd-settings presented Quality/Balanced/Budget profiles without warning they map to Claude-specific model tiers (Opus/Sonnet/Haiku)
  • On Codex, Gemini CLI, and other non-Claude runtimes, selecting these profiles has no effect — agents use the runtime default
  • Adds a runtime warning note before the profile question in TEXT_MODE and updates the Inherit option description to explicitly name non-Claude runtimes

Test plan

Closes #2505
Closes #2506

🤖 Generated with Claude Code

…y installer (closes #2505)

GSD_MANAGED_DIRS included 'skills' and 'command' directories, but the
installer never wipes those paths. Users with third-party skills installed
(40+ files, none in GSD's manifest) had every skill flagged as a "custom
file" requiring backup, producing noisy false-positive reports on every
/gsd-update run.

Removes 'skills' and 'command' from both gsd-tools.cjs and the SDK's
detect-custom-files.ts. Adds two regression tests confirming neither
directory is scanned.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@trek-e
trek-e requested a review from glittercowboy as a code owner April 21, 2026 13:06
@coderabbitai

coderabbitai Bot commented Apr 21, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@trek-e has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 8 minutes and 50 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 8 minutes and 50 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a7c5201d-0fd5-4d22-bdf5-242ac76440bb

📥 Commits

Reviewing files that changed from the base of the PR and between b2534e8 and 0787914.

📒 Files selected for processing (5)
  • get-shit-done/bin/gsd-tools.cjs
  • get-shit-done/workflows/settings.md
  • sdk/src/query/detect-custom-files.ts
  • tests/bug-2506-settings-profile-nonclaude-warning.test.cjs
  • tests/update-custom-backup.test.cjs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/issue-2505-2506

Comment @coderabbitai help to get the list of available commands and usage tips.

…imes (closes #2506)

settings.md presented Quality/Balanced/Budget model profiles without any
indication that these tiers map to Claude models (Opus/Sonnet/Haiku) and
have no effect on non-Claude runtimes (Codex, Gemini CLI, OpenRouter).
Users on Codex saw the profile chooser as if it would meaningfully select
models, but all agents silently used the runtime default regardless.

Adds a non-Claude runtime note before the profile question (shown in
TEXT_MODE, the path all non-Claude runtimes take) explaining the profiles
are no-ops and directing users to either choose Inherit or configure
model_overrides manually. Also updates the Inherit option description to
explicitly name the runtimes where it is the correct choice.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@trek-e trek-e changed the title fix(detect-custom-files): exclude skills and command dirs not wiped by installer fix: exclude non-wiped dirs from custom-file scan; warn on non-Claude model profiles Apr 21, 2026
@github-actions github-actions Bot added size/M and removed size/M labels Apr 21, 2026
@trek-e
trek-e merged commit 57bbfe6 into main Apr 21, 2026
11 checks passed
@github-actions
github-actions Bot deleted the fix/issue-2505-2506 branch April 21, 2026 14:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

1 participant