Repository navigation
Description
Is there an existing issue for this?
- I have searched the existing issues.
Which actions are affected?
Pull Request, Commits
Which platforms are affected?
Linux, macOS
Description
broker.cjs represents a zero-count new-side hunk as an inverted interval. A citation spanning adjacent unchanged lines can then be marked inChangedLines=true. SHA/blob/range validation still runs; this issue corrects the change metadata used in evaluation.
Scope and acceptance criteria
- Derive changed-line overlap only from nonempty new-side intervals while preserving the existing deletion anchor contract and immutable candidate anchor.
- At least six distinct cases cover a deletion-only hunk, multiple deletion hunks, a true addition, a mixed hunk, unchanged adjacent boundary lines, and a legitimate old-side deletion citation.
- Use pinned Git fixtures and the real broker/receipt validation. Foreign or undelivered citations remain rejected; metadata correction must not relocate a finding.
- Document the correction and update the owning SDD/catalog only if the public contract changes. Keep old pilot artifacts unchanged.
Reproducing the issue
Use @@ -3 +2,0 @@ and a new-tree citation spanning lines 1-2. Neither line is added, yet the current overlap predicate accepts the empty interval.
Pinned source references:
copilot Version
Unreleased develop at ccefb27627cd627ccdb7d5666fd174c2ac1da07b (PR #951); this is not a released or activated profile.
Additional context and comments
Priority and dependencies
- Priority: medium. Stage: Qualification prerequisite.
- Blocked by: None; may be prepared independently.
- Follow-up to ✨🧑💻 - Verify Bugbot findings against repository evidence before publication #950 and merged PR feat: Verify Bugbot findings against repository evidence before publication (#950) #951, not a request to reopen or extend that delivery.
- Final closure and observed limitations. Review thread.
Documentation and implementation boundary
Documentation: docs/bugbot/quality-observability.mdx.
Keep Clean Architecture and current coverage/contract gates. When a later implementation changes a public contract, update its catalogued SDD, tests and docs together and validate specifications; update Graphify after code changes.
Read the effective #950 contract in the owning SDD and its current reconciliation amendments; historical pilot deadlines are not current investigation limits.
Fixed invariants and planning state
Backlog only: no in-progress, branch creation, model execution, deployment or activation requested by this planning step.
Keep BUGBOT_VERIFICATION_MODE=disabled. Evaluated PRs must have zero write attempts; retain frozen pilots and independent evaluator/oracle evidence.
Token usage is optional telemetry and cannot stop investigation or reject a supported verdict. Elapsed time and turn count do not impose research cutoffs; explicit cancellation and evidence/SHA integrity remain mandatory. Post-run latency qualification criteria remain distinct from session deadlines.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn Progress
Activity
[-]Keep deletion-only diff hunks out of changed-line citation provenance[/-][+]🐛 - Keep deletion only diff hunks out of changed line citation provenance[/+]vypbot commentedon Nov 19, 2026
Hi! I’m @vypbot, the Copilot assistant for this repository.
I can answer questions, explain the codebase, propose implementation and test plans, review issues and pull requests for potential bugs or security problems, and help authorized maintainers apply changes.
Try
/copilot helpto see the available commands, or mention @vypbot with your question.5 remaining items
vypbot commentedon Nov 19, 2026
Progress · 65% estimated
Assessed head
dfe3e4aa· 3/6 supported0 need implementation · 3 need verification or clarification
Verification or clarification needed
Issue · Linked pull request · Full assessment
bugfix-973-keep-deletion-only-diff-hunks-out-of-changed-line-citation…