|
| 1 | +{ |
| 2 | + "schema": { "version": 1 }, |
| 3 | + "effects": [ |
| 4 | + "daemon_tests_required", |
| 5 | + "web_tests_required", |
| 6 | + "tools_dev_tests_required", |
| 7 | + "tools_pack_tests_required", |
| 8 | + "ui_critical_validation_required", |
| 9 | + "ui_p0_validation_required", |
| 10 | + "visual_validation_required", |
| 11 | + "workspace_validation_required" |
| 12 | + ], |
| 13 | + "matches": { |
| 14 | + "daemon-runtime-definition": { |
| 15 | + "prefixes": ["apps/daemon/src/runtimes/defs/"], |
| 16 | + "exact": [ |
| 17 | + "apps/daemon/src/runtimes/capabilities.ts", |
| 18 | + "apps/daemon/src/runtimes/local-profiles.ts", |
| 19 | + "apps/daemon/src/runtimes/metadata.ts", |
| 20 | + "apps/daemon/src/runtimes/registry.ts", |
| 21 | + "apps/daemon/tests/runtimes/agent-args.test.ts", |
| 22 | + "apps/daemon/tests/runtimes/antigravity-model-lock.test.ts", |
| 23 | + "apps/daemon/tests/runtimes/atomcode.test.ts", |
| 24 | + "apps/daemon/tests/runtimes/byok-opencode.test.ts", |
| 25 | + "apps/daemon/tests/runtimes/chat-run-inactivity-timeout.test.ts", |
| 26 | + "apps/daemon/tests/runtimes/claude-resume-args.test.ts", |
| 27 | + "apps/daemon/tests/runtimes/codebuddy.test.ts", |
| 28 | + "apps/daemon/tests/runtimes/codex-resume-args.test.ts", |
| 29 | + "apps/daemon/tests/runtimes/detection-resilience.test.ts", |
| 30 | + "apps/daemon/tests/runtimes/opencode-resume-args.test.ts", |
| 31 | + "apps/daemon/tests/runtimes/registry-and-args.test.ts", |
| 32 | + "apps/daemon/tests/runtimes/trae-cli.test.ts" |
| 33 | + ] |
| 34 | + }, |
| 35 | + "certain-exempt": { |
| 36 | + "prefixes": [".vscode/", ".idea/", "docs/", "apps/landing-page/", ".github/ISSUE_TEMPLATE/"], |
| 37 | + "exact": ["LICENSE", ".github/CODEOWNERS"], |
| 38 | + "exclude": ["match://daemon-doc"] |
| 39 | + }, |
| 40 | + "daemon-doc": { "exact": ["docs/agent-adapters.md"] }, |
| 41 | + "packaged-leaf": { |
| 42 | + "prefixes": [ |
| 43 | + "apps/desktop/src/", "apps/desktop/tests/", "apps/packaged/src/", "apps/packaged/tests/", |
| 44 | + "tools/pack/src/", "tools/pack/tests/", "tools/pack/resources/" |
| 45 | + ] |
| 46 | + }, |
| 47 | + "daemon-core": { |
| 48 | + "prefixes": ["apps/daemon/src/", "apps/daemon/tests/"], |
| 49 | + "exact": ["docs/agent-adapters.md"], |
| 50 | + "exclude": ["match://daemon-runtime-definition", "prefix://apps/daemon/src/sidecar/"] |
| 51 | + }, |
| 52 | + "medium-exempt": { |
| 53 | + "prefixes": ["nix/"], |
| 54 | + "exact": [ |
| 55 | + ".gitignore", ".editorconfig", "flake.nix", "flake.lock", |
| 56 | + ".github/workflows/landing-page-ci.yml", ".github/workflows/landing-page-staging.yml", |
| 57 | + ".github/workflows/landing-page-production.yml", ".github/workflows/blog-indexing-on-deploy.yml", |
| 58 | + ".github/workflows/autofix.atom.yml", ".github/workflows/comment.atom.yml", |
| 59 | + ".github/workflows/report.atom.yml", ".github/workflows/docker-image.yml", ".github/workflows/nix.yml" |
| 60 | + ], |
| 61 | + "regexes": ["\\.(?:md|mdx|txt)$"], |
| 62 | + "exclude": ["match://certain-surface"] |
| 63 | + }, |
| 64 | + "certain-surface": { |
| 65 | + "include": ["match://certain-exempt", "match://packaged-leaf", "match://daemon-core"] |
| 66 | + }, |
| 67 | + "workspace-exempt": { |
| 68 | + "include": ["match://certain-exempt", "match://medium-exempt", "match://packaged-leaf", "match://daemon-core"] |
| 69 | + }, |
| 70 | + "ui-critical-exempt": { |
| 71 | + "include": ["match://certain-exempt", "match://medium-exempt", "match://daemon-core"], |
| 72 | + "prefixes": ["apps/desktop/", "apps/packaged/", "tools/pack/"] |
| 73 | + } |
| 74 | + }, |
| 75 | + "rules": [ |
| 76 | + { |
| 77 | + "id": "certain-exempt-surface", "match": { "include": ["match://certain-exempt"] }, |
| 78 | + "effects": [], "confidence": "certain" |
| 79 | + }, |
| 80 | + { |
| 81 | + "id": "exempt-surface", "match": { "include": ["match://medium-exempt"] }, |
| 82 | + "effects": [], "confidence": "medium" |
| 83 | + }, |
| 84 | + { |
| 85 | + "id": "certain-daemon-core", "match": { "include": ["match://daemon-core"] }, |
| 86 | + "effects": ["daemon_tests_required", "ui_critical_validation_required", "ui_p0_validation_required", "workspace_validation_required"], |
| 87 | + "confidence": "certain" |
| 88 | + }, |
| 89 | + { |
| 90 | + "id": "daemon-sources", |
| 91 | + "match": { |
| 92 | + "prefixes": ["apps/daemon/", "packages/release/", "packages/contracts/", "packages/platform/", "packages/sidecar/", "packages/sidecar-proto/"], |
| 93 | + "exclude": ["match://daemon-core"] |
| 94 | + }, |
| 95 | + "effects": ["daemon_tests_required"], "confidence": "medium" |
| 96 | + }, |
| 97 | + { |
| 98 | + "id": "web-sources", |
| 99 | + "match": { "prefixes": ["apps/web/", "packages/release/", "packages/components/", "packages/contracts/", "packages/host/", "packages/platform/", "packages/sidecar/", "packages/sidecar-proto/"] }, |
| 100 | + "effects": ["web_tests_required"], "confidence": "medium" |
| 101 | + }, |
| 102 | + { |
| 103 | + "id": "runtime-content", |
| 104 | + "match": { "prefixes": ["scripts/", "assets/", "skills/", "prompt-templates/", "design-systems/", "design-templates/", "craft/"] }, |
| 105 | + "effects": ["daemon_tests_required", "web_tests_required"], "confidence": "medium" |
| 106 | + }, |
| 107 | + { |
| 108 | + "id": "script-contract-tests", "match": { "prefixes": ["e2e/tests/scripts/"] }, |
| 109 | + "effects": ["daemon_tests_required", "web_tests_required"], "confidence": "medium" |
| 110 | + }, |
| 111 | + { |
| 112 | + "id": "tools-dev-sources", |
| 113 | + "match": { "prefixes": ["tools/dev/", "packages/platform/", "packages/sidecar/", "packages/sidecar-proto/"] }, |
| 114 | + "effects": ["tools_dev_tests_required"], "confidence": "medium" |
| 115 | + }, |
| 116 | + { |
| 117 | + "id": "certain-packaged-leaf-sources", "match": { "include": ["match://packaged-leaf"] }, |
| 118 | + "effects": ["tools_dev_tests_required", "tools_pack_tests_required", "workspace_validation_required"], |
| 119 | + "confidence": "certain" |
| 120 | + }, |
| 121 | + { |
| 122 | + "id": "tools-pack-sources", |
| 123 | + "match": { |
| 124 | + "prefixes": ["tools/pack/", "apps/packaged/", "apps/desktop/", "packages/release/", "packages/components/", "packages/host/", "packages/platform/", "packages/sidecar/", "packages/sidecar-proto/"], |
| 125 | + "exclude": ["match://packaged-leaf"] |
| 126 | + }, |
| 127 | + "effects": ["tools_pack_tests_required"], "confidence": "medium" |
| 128 | + }, |
| 129 | + { |
| 130 | + "id": "workspace-manifests-and-ci", |
| 131 | + "match": { |
| 132 | + "exact": ["package.json", "pnpm-lock.yaml", "pnpm-workspace.yaml", ".github/workflows/ci.yml", "e2e/package.json"], |
| 133 | + "regexes": ["^apps/[^/]+/package\\.json$", "^packages/[^/]+/package\\.json$", "^tools/[^/]+/package\\.json$"] |
| 134 | + }, |
| 135 | + "effects": ["daemon_tests_required", "web_tests_required", "tools_dev_tests_required", "tools_pack_tests_required"], |
| 136 | + "confidence": "medium" |
| 137 | + }, |
| 138 | + { |
| 139 | + "id": "ui-p0-surface", |
| 140 | + "match": { |
| 141 | + "prefixes": ["apps/web/", "apps/daemon/", "packages/release/", "packages/components/", "packages/contracts/", "packages/host/", "packages/platform/", "packages/sidecar/", "packages/sidecar-proto/", "e2e/ui/", "e2e/lib/", "e2e/resources/", "e2e/scripts/", ".github/actions/setup-playwright/", ".github/actions/setup-workspace/"], |
| 142 | + "exact": ["e2e/package.json", "e2e/playwright.config.ts", "package.json", "pnpm-lock.yaml", "pnpm-workspace.yaml", ".github/workflows/ci.yml", ".github/workflows/ui-extended-main.yml"], |
| 143 | + "exclude": ["match://daemon-core"] |
| 144 | + }, |
| 145 | + "effects": ["ui_p0_validation_required"], "confidence": "medium" |
| 146 | + }, |
| 147 | + { |
| 148 | + "id": "visual-surface", |
| 149 | + "match": { |
| 150 | + "prefixes": ["apps/web/", "e2e/lib/playwright/", ".github/actions/setup-playwright/", ".github/actions/setup-workspace/"], |
| 151 | + "exact": ["e2e/package.json", "e2e/playwright.visual.config.ts", "e2e/scripts/playwright.ts", "e2e/scripts/visual-report.ts", "pnpm-lock.yaml", ".github/scripts/handoff.py", ".github/workflows/ci.yml", ".github/workflows/comment.atom.yml", ".github/workflows/report.atom.yml", ".github/workflows/visual-baseline.yml"], |
| 152 | + "regexes": ["^e2e/ui/visual-[^/]+\\.test\\.ts$"] |
| 153 | + }, |
| 154 | + "effects": ["visual_validation_required"], "confidence": "medium" |
| 155 | + }, |
| 156 | + { |
| 157 | + "id": "ci-control-plane", |
| 158 | + "match": { |
| 159 | + "prefixes": [".github/config/"], |
| 160 | + "exact": [ |
| 161 | + ".github/scripts/scopes.py", ".github/scripts/hash.py", ".github/scripts/runners.py", |
| 162 | + ".github/scripts/lib/config.py", ".github/scripts/lib/github.py" |
| 163 | + ] |
| 164 | + }, |
| 165 | + "effects": ["web_tests_required", "workspace_validation_required"], "confidence": "medium" |
| 166 | + }, |
| 167 | + { |
| 168 | + "id": "ci-rerun-infra-cancel-surface", |
| 169 | + "match": { "exact": [".github/workflows/rerun.atom.yml", ".github/scripts/rerun_infra_cancel.py", "e2e/tests/packaged-smoke-workflow.test.ts"] }, |
| 170 | + "effects": ["web_tests_required", "workspace_validation_required"], "confidence": "medium" |
| 171 | + }, |
| 172 | + { |
| 173 | + "id": "workspace-fallback", "match": { "exclude": ["match://workspace-exempt"] }, |
| 174 | + "effects": ["workspace_validation_required"], "confidence": "medium" |
| 175 | + }, |
| 176 | + { |
| 177 | + "id": "ui-critical-fallback", "match": { "exclude": ["match://ui-critical-exempt"] }, |
| 178 | + "effects": ["ui_critical_validation_required"], "confidence": "medium" |
| 179 | + } |
| 180 | + ], |
| 181 | + "matrices": { |
| 182 | + "ui_p0": [ |
| 183 | + { "name": "entry-settings", "shard": "entry-settings" }, |
| 184 | + { "name": "project-workspace", "shard": "project-workspace" }, |
| 185 | + { "name": "project-workspace-editor", "shard": "project-workspace-editor" }, |
| 186 | + { "name": "project-collab", "shard": "project-collab" }, |
| 187 | + { "name": "project-runtime", "shard": "project-runtime" }, |
| 188 | + { "name": "workspace-restoration", "shard": "workspace-restoration" } |
| 189 | + ], |
| 190 | + "visual": [ |
| 191 | + { "name": "entry-navigation", "files": "ui/visual-entry.test.ts ui/visual-navigation.test.ts" }, |
| 192 | + { "name": "settings-workspace", "files": "ui/visual-settings.test.ts ui/visual-workspace.test.ts" } |
| 193 | + ] |
| 194 | + }, |
| 195 | + "uiP0Shadow": { |
| 196 | + "match": "daemon-runtime-definition", |
| 197 | + "matrixNames": ["entry-settings", "project-workspace", "project-collab", "project-runtime"] |
| 198 | + } |
| 199 | +} |
0 commit comments