Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(skills): note the digest the scan prompt acknowledges (#7082)

oxoxDevb809c4e378d9
diff --git a/app/src/components/skills/ScanBlockedDialog.tsx b/app/src/components/skills/ScanBlockedDialog.tsx
index a13c5f7011..495519cdd9 100644
--- a/app/src/components/skills/ScanBlockedDialog.tsx
+++ b/app/src/components/skills/ScanBlockedDialog.tsx
@@ -9,7 +9,8 @@
* - "Block install" (default, focused): keep it uninstalled. Escape, the
* backdrop and the close button mean the same.
* - "Install anyway": the caller re-runs the install with
- * `acknowledgeScanFindings: true`.
+ * `acknowledgedDigest` set to the blocked document's digest, so only
+ * the document shown here can install.
*/
import debug from 'debug';
diff --git a/app/src/components/skills/__tests__/ScanBlockedDialog.test.tsx b/app/src/components/skills/__tests__/ScanBlockedDialog.test.tsx
index 019e110a75..f22ead8e6f 100644
--- a/app/src/components/skills/__tests__/ScanBlockedDialog.test.tsx
+++ b/app/src/components/skills/__tests__/ScanBlockedDialog.test.tsx
@@ -8,6 +8,7 @@ const scan: ScanBlocked = {
target: 'poisoned',
fetchedFrom: 'https://example.com/SKILL.md',
slug: 'poisoned',
+ digest: 'd1',
findings: [
{
check: 'invisible_code_points',