mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 17:45:53 +01:00
test(skills): guard reflection sweep guidance
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
c83dd366bb
commit
8b9f56be23
1 file changed
+15
@@ -178,6 +178,21 @@ describe("shipped skills catalog", () => {
|
||||
expect(resolveCatalogSkillRef(sample.slug)).toMatchObject({ key: sample.key });
|
||||
});
|
||||
|
||||
it("keeps review-bot and issue-authorization guidance explicit", () => {
|
||||
const githubPrWorkflow = readFileSync(
|
||||
new URL("../catalog/bundled/software-development/github-pr-workflow/SKILL.md", import.meta.url),
|
||||
"utf8",
|
||||
);
|
||||
const paperclipSkill = readFileSync(new URL("../../../skills/paperclip/SKILL.md", import.meta.url), "utf8");
|
||||
|
||||
expect(githubPrWorkflow).toContain("## Automated code-review bots");
|
||||
expect(githubPrWorkflow).toContain("top confidence with zero unresolved threads");
|
||||
expect(paperclipSkill).toContain("Paperclip evaluates `issue:read`, `issue:comment`, and `issue:mutate`");
|
||||
expect(paperclipSkill).toContain("separately. Local task-bridge credentials are run-scoped");
|
||||
expect(paperclipSkill).toContain("`authorizationBoundary` field");
|
||||
expect(paperclipSkill).toContain("do not infer mutation access");
|
||||
});
|
||||
|
||||
it("keeps the Ramp wrapper fail-closed on mixed-provenance playbooks", () => {
|
||||
const rampSkill = readFileSync(new URL("../catalog/optional/finance/ramp/SKILL.md", import.meta.url), "utf8");
|
||||
|
||||
|
||||
Reference in new issue
Block a user