Skip to content

validate-schema produces false-positive 'critical' findings against already-fixed schema #2

Description

@AndriiPasternak31

Summary

The dev-methodology /validate-schema skill produces critical-severity false positives against schema state that is already correct in src/backend/db/schema.py.

Incident

Problem

The validator skill apparently inspects something other than schema.py (perhaps architecture.md, or a stale snapshot) when flagging "Critical: missing table/column", but applies a critical severity that implies a real schema gap. Recommended behavior:

  1. Consult tests/unit/test_schema_parity.py (or any project-provided parity oracle) before flagging columns/tables as missing.
  2. Distinguish doc-drift from schema-drift: drift in architecture.md should NEVER be critical — it's informational/medium at most.
  3. Avoid re-filing: the validator currently auto-files a new GitHub issue on a weekly schedule, so the same false-positive issue gets refiled every week until the validator is fixed. Either dedupe by content hash or stop opening issues when output matches a recently-closed/open one.

Why release-blocking

The skill is part of dev-methodology, which is installed via /plugin install dev-methodology@abilityai. It is scheduled on remote Trinity agents and auto-opens GitHub issues against downstream projects. A false-positive labelled priority-p1 / type-bug creates downstream alert fatigue and damages contributor trust in the toolchain. The skill currently makes a project that has zero schema drift look like it has 25 critical issues.

Proposed owner / SLA

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions