Skip to content

refactor: use rule-based frontend diagnostics - #33

Merged
GRAMMAC1 merged 1 commit into
masterfrom
refactor-rule-based-plugins
Jul 7, 2026
Merged

refactor: use rule-based frontend diagnostics#33
GRAMMAC1 merged 1 commit into
masterfrom
refactor-rule-based-plugins

Conversation

@GRAMMAC1

@GRAMMAC1 GRAMMAC1 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace framework-specific default plugins with three frontend evidence producers: compiler, runtime, and dependency resolution.
  • Add a unified FailureEvidence model with reducer/ranker logic so the lead diagnosis is selected from evidence rather than plugin registration order.
  • Move TypeScript, React, Vue, Nuxt, Svelte, Vite, dependency, and runtime signals into rule-based producers.
  • Keep the generic plugin as a low-priority fallback evidence source.
  • Update tests around evidence producers and add coverage that reversed plugin order keeps the same lead diagnosis.
  • Refresh the MCP benchmark report after the refactor.

Benchmark

  • Cases: 7
  • Signal matches: 21/26
  • Average reduction: 56.9%
  • Average total MCP ratio: 43.1%
  • The previous short-log pressure case svelte-vite-bindable-build-failure now reports a positive 39.8% reduction.

Validation

  • pnpm verify
  • pnpm benchmark:mcp

@GRAMMAC1
GRAMMAC1 merged commit 29985bd into master Jul 7, 2026
1 check passed
@GRAMMAC1
GRAMMAC1 deleted the refactor-rule-based-plugins branch July 7, 2026 05:50
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.

1 participant