add decisions-validate pre-push gate
One new Makefile target (tools/scripts/plan decisions validate) wired as a prerequisite of push-check so malformed records fail locally before they reach a reviewer. Parser dry-run is cheap (~100ms) and stays within the <90s pre-push budget. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -160,8 +160,12 @@ security: ## Dart advisory review + ptyc source review (manual — no floating d
|
||||
|
||||
# -- pre-push gate -------------------------------------------------------
|
||||
|
||||
.PHONY: decisions-validate
|
||||
decisions-validate: ## Parser dry-run over decisions/*.md (cheap pre-push gate).
|
||||
tools/scripts/plan decisions validate
|
||||
|
||||
.PHONY: push-check
|
||||
push-check: test test-a11y ## Pre-push gate: fast unit + widget + golden + a11y (<90s).
|
||||
push-check: decisions-validate test test-a11y ## Pre-push gate: decisions + fast unit + widget + golden + a11y (<90s).
|
||||
|
||||
.PHONY: hooks
|
||||
hooks: ## Install the repo's git hooks (points core.hooksPath at .githooks/).
|
||||
|
||||
Reference in New Issue
Block a user