Skip to content

fix(pr-scope): fold r.full into run flag per SUITE.md safety rule (#4) - #9

Open
maxx-GENIUS wants to merge 1 commit into
themegrill:mainfrom
maxx-GENIUS:fix/pr-scope-run-on-unmapped
Open

maxx-GENIUS wants to merge 1 commit into
themegrill:mainfrom
maxx-GENIUS:fix/pr-scope-run-on-unmapped

Conversation

@maxx-GENIUS

Copy link
Copy Markdown

Summary

Fixes #4 by ensuring pr-scope.mjs folds r.full into the run output.

Background

Per SUITE.md (§ area_paths), unmapped source changes or a missing area_paths declaration must trigger the full tier ("An omission in this table therefore costs runner time, never coverage").

Previously, pr-scope.mjs captured r.full into would_have_run_full but omitted it from run, causing PR checks on products with unmapped changes or pending area_paths to emit run=false and silently execute 0 tests.

Changes

  • Updated plugins/claudegrill/scripts/pr-scope.mjs to set run: areas.length > 0 || specs.length > 0 || Boolean(r.full).
  • Verified syntax clean with node --check.

Fixes #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pr-scope.mjs: run=false on unmapped changes contradicts SUITE.md's documented safety rule — suite silently runs nothing

1 participant