Skip to content

Richer Spec Validation & Tooling #431

@mhingston

Description

@mhingston

Feature Request: Richer Spec Validation & Tooling

Problem Description

Current validation checks are structural (Schema-aware) but lack semantic depth. Specs can be syntactically correct but ambiguous, underspecified, or inconsistent in style.

Proposed Solution

  1. Schema-aware Validation: Extend validation to semantic scenarios, check for edge case coverage.
  2. Ambiguous Terms Detection: Warn on terms like "should", "may", "could" in requirements (enforce "SHALL/MUST").
  3. Underspecified Checks: Warn if requirements lack scenarios or acceptance criteria.
  4. Automated Quality Rules: Lint specs for completeness and cohesion.

Benefits

  • Catches gaps early in the design phase.
  • Ensures consistency across large spec suites.
  • Reduces "prompt drift" when specs are passed to AI assistants.

Industry Inspiration

  • Traycer: "Automated quality rules" - linting specs for completeness and testability.

Related Issues

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