fix(skills): propagate re-lock failure, document prerequisites - #177
Conversation
|
Warning Review limit reached
Next review available in: 52 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
1 issue found across 3 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="rules/skills-management.md">
<violation number="1" location="rules/skills-management.md:29">
P2: Following this snippet literally (bootstrap after `make skills-install`, then commit) commits a stale skills-lock.json, because the lock only records skills already installed on disk and the bootstrap installs them after the lock was regenerated. Suggest noting the bootstrap should run before the install/lock step, or that `make skills-lock` be re-run after it, to match the README's 'then make skills-lock'.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| # Install-all repos (no selection) need a one-time bootstrap to enter the lock: | ||
| # bunx skills add owner/repo --global --yes --skill '*' |
There was a problem hiding this comment.
P2: Following this snippet literally (bootstrap after make skills-install, then commit) commits a stale skills-lock.json, because the lock only records skills already installed on disk and the bootstrap installs them after the lock was regenerated. Suggest noting the bootstrap should run before the install/lock step, or that make skills-lock be re-run after it, to match the README's 'then make skills-lock'.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At rules/skills-management.md, line 29:
<comment>Following this snippet literally (bootstrap after `make skills-install`, then commit) commits a stale skills-lock.json, because the lock only records skills already installed on disk and the bootstrap installs them after the lock was regenerated. Suggest noting the bootstrap should run before the install/lock step, or that `make skills-lock` be re-run after it, to match the README's 'then make skills-lock'.</comment>
<file context>
@@ -26,6 +26,9 @@ bunx skills add owner/repo --global --list
# 3. Install (regenerates skills-lock.json from SKILLS.txt automatically)
cd dotagents && make skills-install
+# Install-all repos (no selection) need a one-time bootstrap to enter the lock:
+# bunx skills add owner/repo --global --yes --skill '*'
+
</file context>
| # Install-all repos (no selection) need a one-time bootstrap to enter the lock: | |
| # bunx skills add owner/repo --global --yes --skill '*' | |
| # Install-all repos (no selection) need a one-time bootstrap — run it before the | |
| # regenerate step, or re-run `make skills-lock` after it, so the skills enter the lock: | |
| # bunx skills add owner/repo --global --yes --skill '*' |
Follow-ups from #176 review:
🤖 Generated with Claude Code
Summary by cubic
Propagates skills-lock regeneration failures from skills-install to prevent stale locks. Adds docs for the required global lock and a one-time bootstrap for install-all repos.
Bug Fixes
make skills-installnow exits non-zero if the post-installmake skills-lockstep fails (setsfailed=1), avoiding stale locks.Migration
make skills-lockrequires the global CLI lock at~/.agents/.skill-lock.json(created by the first global install).bunx skills add owner/repo --global --yes --skill '*'before locking.Written for commit f7d26e8. Summary will update on new commits.