Repository navigation
Close gaps in the hold and audit gates for external skills - #273
Conversation
|
Sorry @yourconscience, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 2 days and 21 hours by commenting |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 53 minutes. View limit details
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. |
|
@coderabbitai review |
Action not completed
|
Reviewer's GuideAPIExpose
ImplementationGate a newly added source for unaccepted CRITICAL findings and, for
Preserve existing pins for sources not selected during an update, and omit unpinned sources that were not updated so one update cannot bypass another source’s gate.
Keep a new source on its held commit during the hold so releasing it applies to the commit that was reviewed.
Detect held or blocked update candidates without changing the lock or checkout, and include those holds in status, normal sync, and dry-run reporting with an update override command.
UIClarify that the audit finding totals count heuristic findings.
DocumentationDocument the freshness hold and override behavior for
Explain that local sources are not freshness-held, and that adding a source uses the audit gate before it can be pinned.
Clarify that status includes held skill updates and explain how to release a held update.
Describe the add freshness and override options in the skill command reference.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
@coderabbitai review |
Action not completed
|
An end-to-end run of 2.7.0 in a sandbox home, followed by an independent code review, found paths where outside content reached agents without a recorded override.
skill sources add --latestpinned and synced a head younger than 72 hours. It is now held: the lock records the hold but no pin, and nothing is linked until it is released.addtakes--allow-freshand--reason, asskill updatedoes.skill sources adddid not run the audit gate, so a source with an unaccepted CRITICAL finding was pinned and linked. It is now blocked untildoctor audit accept.skill updateof one source rebuilt the lock for every configured source at its cache head, which pinned a held or blocked source as a side effect. A source that is neither updated nor already pinned now gets no lock entry.skill updateis listed bystatus,sync,sync --dry-runand the view inventory, with a working override.doctor auditheader wording; docs say local sources are not held.Checked: each gap reproduced with a binary built from main and rerun after the fix in a sandbox home (held and blocked variants);
go build,go vetandgo test ./...pass. No tests were added or deleted.Summary by Sourcery
Close audit and freshness-gate gaps so external skill content cannot reach agents without an explicit, recorded override.
New Features:
Bug Fixes:
Enhancements:
Documentation: