Skip to content

fix(github): the defect classifier records a lesson in the document that owns it, not in AGENTS.md #1979

Closed

Description

@dan-petty

Friction

The defect classifier still counts AGENTS.md as the place where a defect pull request records its lesson, which conflicts with the router rule of #1961: AGENTS.md routes to the document that owns each subject.

Evidence

CONST_HARDENING_SURFACES and github/defect_classifier.py list AGENTS.md as a hardening surface (found while implementing #1961).

Existing tool considered

None needed; the change is to a constant and its readers.

Proposed remedy

The hardening surfaces name the owning documents (docs/TESTING.md, ARCHITECTURE.md, SECURITY.md, CONTRIBUTING.md) and the checks, not AGENTS.md, and the classifier's tests follow.

Activity

  1. added
    source/agent
    type/bug
    on Oct 23, 2026
  2. dan-petty commented on Oct 23, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

    • Type: type/bug. The candidate fixes a defect in how the classifier records lessons.
    • Priority: P2-Medium. The issue affects the routing of defect lessons and conflicts with another document rule.
    • Value: Medium. The change improves correctness of documentation routing for defect lessons.
    • Effort: Low. The fix changes a constant and its readers, which is a small modification.
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

    source/agenttype/bug

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions