From bf9d9c5b040eff904d9ac13a1671691036765f9f Mon Sep 17 00:00:00 2001 From: garrytan Date: Mon, 26 Oct 2026 06:35:05 +0000 Subject: [PATCH] test(design-lint): register the lint fixtures as free fixtures and the hallmark licence texts as free-only PR files, so the PR paid lane stays narrow and test/free-fixtures.test.ts passes Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- scripts/test-pr-profile.ts | 2 ++ test/helpers/free-fixtures-data.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/scripts/test-pr-profile.ts b/scripts/test-pr-profile.ts index d334195b0..4e4eee400 100644 --- a/scripts/test-pr-profile.ts +++ b/scripts/test-pr-profile.ts @@ -248,6 +248,8 @@ export const FREE_ONLY_PR_FILES = [ '.github/ISSUE_TEMPLATE/**', // Issue templates: read by GitHub and free test/gstack-doctor.test.ts. '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. + 'NOTICE.md', // Third-party attribution for people; no test or paid case reads it. + 'licenses/*.txt', // The licence texts NOTICE.md points at; same reason. // 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', diff --git a/test/helpers/free-fixtures-data.ts b/test/helpers/free-fixtures-data.ts index d7bd733fa..4bfdca6bd 100644 --- a/test/helpers/free-fixtures-data.ts +++ b/test/helpers/free-fixtures-data.ts @@ -75,6 +75,7 @@ export const FREE_FIXTURES: Readonly> = { 'test/fixtures/design-count-native-8525.json': ['test/plan-count-completion.test.ts'], 'test/fixtures/design-count-native-issue-fields.json': ['test/plan-count-completion.test.ts'], 'test/fixtures/design-detector-source-public.json': ['test/design-detector-source-fixture.test.ts'], + 'test/fixtures/design-lint/**': ['test/design-lint.test.ts', 'test/design-lint-color.test.ts', 'test/design-lint-type.test.ts', 'test/design-lint-structure.test.ts', 'test/design-lint-motion.test.ts', 'test/design-lint-chrome.test.ts', 'test/design-lint-assets.test.ts', 'test/design-lint-finish.test.ts', 'test/design-lint-tailwind.test.ts', 'test/design-lint-render.test.ts'], 'test/fixtures/design-floor-focus-36597762183.json': ['test/plan-design-floor-fixture.test.ts'], 'test/fixtures/design-floor-focus-review-focus.json': ['test/plan-design-floor-fixture.test.ts'], 'test/fixtures/design-floor-focus-template-0d.json': ['test/plan-design-floor-fixture.test.ts'],