Skip to content

Add dependency override governance gates#1650

Open
yanziwei wants to merge 1 commit into
UnitOneAI:mainfrom
yanziwei:improve/dependency-override-gates
Open

Add dependency override governance gates#1650
yanziwei wants to merge 1 commit into
UnitOneAI:mainfrom
yanziwei:improve/dependency-override-gates

Conversation

@yanziwei
Copy link
Copy Markdown

@yanziwei yanziwei commented Jun 7, 2026

Summary

Adds dependency override/replacement governance to dependency-scanning.

Changes

  • triggers the skill when override or replacement controls are present;
  • adds an Override and Replacement Governance section for npm, Yarn, pnpm, Go, Cargo, Maven/Gradle, and Python constraints;
  • adds DEP-OVERRIDE-01 through DEP-OVERRIDE-06 evidence gates;
  • adds false-positive boundaries for governed fixed-version overrides and development-only workspace replacements;
  • extends the output template with an override/replacement review table;
  • updates the procedure and references.

Related issue

Fixes #1649.

Validation

  • git diff --check
  • Markdown fence balance check
  • Required marker checks for DEP-OVERRIDE-01, override table, Go replace, and Cargo patch
  • Added-line ASCII check

Bounty

Target: Improver Moderate ($100) if accepted. Payment details can be provided privately after maintainer acceptance.

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.

[REVIEW] dependency-scanning: add override and replacement governance gates

1 participant