Skip to content

classify labels contract-breaking changes SURFACE or LOCAL #446

Backlog

Description

@stackbilt-admin

Problem

charter classify matches the commit subject against regexes (classify/src/index.ts). Changes that are major-version breaks under core.adf's contract rules come out as the lowest-risk classes:

Subject Result
fix(cli): rename verdict to status in adf evidence JSON SURFACE ("rename" matches a surface pattern)
fix(cli): exit 2 instead of 1 when evidence ceiling exceeded LOCAL
change API contract for evidence CROSS_CUTTING (only because the word "contract" appears)

Reproduced at pinned 5412100.

Expected

Acceptance

Both example subjects above classify as CROSS_CUTTING. A diff touching a contract-pinned file classifies as CROSS_CUTTING whatever its subject says.

Works on its own. Part of #437.

Coordination with existing issues

Activity

  1. added
    bug
    priority:p2
    epic:preflight
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugepic:preflightpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions