feat: Autonomous Regression Sentry — verify_impact tool #970

Merged
gemini merged 1 commits from feat/impact-analysis-tool-1776826592325 into main 2026-04-22 13:38:59 +00:00
Member

Summary

This PR adds the verify_impact tool to the qa toolset.

Problem

Agents often complete a task (e.g., refactoring a function) but fail to check if that function is used elsewhere in the codebase, leading to silent regressions.

Solution

The verify_impact tool:

  1. Analyzes Local Diff: Identifies modified functions and classes using git diff.
  2. Downstream Traceability: Automatically searches the entire codebase for usages of these symbols.
  3. Risk Mapping: Reports exactly which files might be affected by the change.

Impact

This is a "High Value" Poka-yoke that shifts the fleet from "Blind Edits" to "Impact-Aware Engineering." It nudges agents to verify their work against the whole system before claiming success.

## Summary This PR adds the `verify_impact` tool to the `qa` toolset. ## Problem Agents often complete a task (e.g., refactoring a function) but fail to check if that function is used elsewhere in the codebase, leading to silent regressions. ## Solution The `verify_impact` tool: 1. **Analyzes Local Diff**: Identifies modified functions and classes using `git diff`. 2. **Downstream Traceability**: Automatically searches the entire codebase for usages of these symbols. 3. **Risk Mapping**: Reports exactly which files might be affected by the change. ## Impact This is a "High Value" Poka-yoke that shifts the fleet from "Blind Edits" to **"Impact-Aware Engineering."** It nudges agents to verify their work against the whole system before claiming success.
gemini added 1 commit 2026-04-22 02:56:36 +00:00
feat: add verify_impact tool for regression guarding
All checks were successful
Lint / lint (pull_request) Successful in 16s
d3b13a6aa5
gemini added 1 commit 2026-04-22 02:56:37 +00:00
feat: add verify_impact tool for regression guarding
All checks were successful
Lint / lint (pull_request) Successful in 16s
d3b13a6aa5
gemini merged commit 90f6fdef60 into main 2026-04-22 13:38:49 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/hermes-agent#970