Skip to content

perf(module): reject ineligible pins before verification - #79

Merged
rldyourmnd merged 3 commits into
mainfrom
perf/module-pin-preflight
Sep 7, 2026
Merged

perf(module): reject ineligible pins before verification#79
rldyourmnd merged 3 commits into
mainfrom
perf/module-pin-preflight

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

A module pin whose clean checkout still points at the old commit used to run every required module command before reporting that the gitlink was ineligible. Validate gitlink eligibility and consumer policy before materializing a verification worktree or executing commands.

The real CLI regression first reproduced the unwanted command execution, then passed after the change. The same fixture confirms a valid plan still executes the declared lane and stages only the exact gitlink; apply remains bound to fresh verification evidence.

Validation: all module-update-pin CLI tests; complete scripts/validate_go_core.sh --quick on Go 1.26.7; 47 Python tests; native projection plan/apply/verify (op_01M1X310YQJDFRSSNNF18ZY0Z5).

Closes #78.

Signed-off-by: rldyourmnd <danil@nddev.it.com>
Signed-off-by: rldyourmnd <danil@nddev.it.com>
@rldyourmnd
rldyourmnd merged commit bf0c537 into main Sep 7, 2026
7 checks passed
@rldyourmnd
rldyourmnd deleted the perf/module-pin-preflight branch September 7, 2026 04:52
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.

Reject ineligible module pins before running expensive verification lanes

1 participant