-
-
Notifications
You must be signed in to change notification settings - Fork 64
feat: add copilot cli plugin detection to doctor command #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d481635
a20c094
5285a37
fb42d6d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -19,6 +19,8 @@ A Claude Code and OpenCode plugin that blocks destructive git and filesystem com | |||||
| - **Build**: `bun run build` | ||||||
| - **Doctor**: `bun src/bin/cc-safety-net.ts doctor` (diagnostics) | ||||||
|
|
||||||
| **Always use `bun run check` to verify changes.** This runs typecheck, knip, biome lint, and tests together. Do not run these separately. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep Line 22 omits 📝 Suggested doc tweak-**Always use `bun run check` to verify changes.** This runs typecheck, knip, biome lint, and tests together. Do not run these separately.
+**Always use `bun run check` to verify changes.** This runs biome check, typecheck, knip, ast-grep scan, and tests together. Do not run these separately.Based on learnings: Run 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
|
|
||||||
| ## Pre-commit Hooks | ||||||
|
|
||||||
| Runs on commit: `knip` → `lint-staged` (biome check --write, ast-grep scan) | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include AST scan in the
bun run checkdescription.Line 21 explicitly lists what runs, but it omits
ast-grep scan, which can mislead contributors about the full validation pipeline.📝 Suggested doc tweak
Based on learnings: Run
bun run checkbefore committing which executes: biome check → typecheck → knip → ast-grep scan → bun test.📝 Committable suggestion
🤖 Prompt for AI Agents