From 5405014ffa8c2a8dd336a672be7b95745b512a3d Mon Sep 17 00:00:00 2001 From: garrytan Date: Thu, 8 Oct 2026 06:25:55 +0000 Subject: [PATCH] chore(evals): check-careful.sh is free-only for PR selection No paid fixture copies or runs careful/bin/check-careful.sh (the investigate boundary fixture copies hook-extract.sh and check-freeze.sh only); test/hook-scripts.test.ts covers it. As an unknown dependency it restored the full paid gate on every /careful hook change. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- scripts/test-pr-profile.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/test-pr-profile.ts b/scripts/test-pr-profile.ts index 88ecbce2b..b321ea035 100644 --- a/scripts/test-pr-profile.ts +++ b/scripts/test-pr-profile.ts @@ -212,6 +212,7 @@ export const FREE_ONLY_PR_FILES = [ 'tsconfig.test.json', // Read only by `tsc -p tsconfig.test.json` (typecheck:test); Bun's runtime reads tsconfig.json. '.gitignore', // Changes which untracked files git reports, never tracked content a case reads. 'scripts/retired-command.ts', // One-release stubs for retired package scripts; no paid case imports it. + 'careful/bin/check-careful.sh', // /careful PreToolUse hook: covered by test/hook-scripts.test.ts; no paid fixture copies or runs it. // Reporting and launch tools: they read CI history or start a lane, never run inside a paid case. 'scripts/test-health-report.ts', 'scripts/bump-harness-version.ts',