Skip to content

feat(build): surgical-diff + YAGNI gate in Phase 2 #205

Description

@ryzizub

Problem. Build has a one-line YAGNI rule but no diff-traceability check, so drive-by edits (reformatting, added type hints, unrequested validation) slip through.

Proposal. Before the Phase 4 commit, every git diff hunk must trace to a plan task or the original request; revert untraceable churn; delete only self-created orphans; emit "Noticed (not changed):" for pre-existing dead code.

Acceptance criteria.

  • Untraceable hunks reverted.
  • Only self-orphaned symbols deleted.
  • "Noticed (not changed)" note emitted for pre-existing dead code.

Metadata

Metadata

Assignees

Labels

p1High-priority issues at the top of the work list

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions