Skip to content

verification: bare unguarded cross-plugin references to dotnet-*/cloudflare plugins in measure contexts #422

Description

@kyle-sexton

Plugin: verification · Categories: hardcoded opinion (1), missing seam guard (2)
Source: work-readiness sweep (read-only audit vs docs/PLUGIN-PHILOSOPHY.md + docs/MIGRATION-PLAYBOOK.md)

Findings

  • plugins/verification/skills/measure/context/metrics.md:68-72dotnet-test:crap-score, dotnet-test:test-anti-patterns, dotnet-data:optimizing-ef-core-queries
  • plugins/verification/skills/measure/context/performance.md:61-66dotnet-diag:analyzing-dotnet-performance, dotnet-diag:microbenchmarking, dotnet-msbuild:build-perf-baseline, cloudflare:web-perf

Why it breaks the repo's rules

PLUGIN-PHILOSOPHY "Design boundary": every cross-plugin reference must be declared (dependencies) or guarded behind an "if installed" check with a documented fallback — "a bare unguarded cross-plugin reference is a defect." These are named as available evidence sources with NO presence gate and NO fallback — unlike the correctly gated /toolchain:*, /testing:run-e2e, /review:quality-gate refs elsewhere in the same plugin. Compounding: they assume a .NET consumer, and none of these plugins exist in this marketplace (verified during this sweep — no plugins/dotnet*, no marketplace.json entries). Related pattern already filed for implementation (#405) and toolchain (#412).

Fix direction

Presence-gate each ("when the dotnet-diag plugin is installed …, else run the project's own harness") with a stack-neutral fallback, or demote to a generic "use the project's complexity/coverage/benchmark tooling" statement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: highSignificant impact, or blocks an imminent release; staff this cycle.status: readyTriaged, unblocked, and fully specified; eligible to pick up.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions