Repository navigation
fix: persist strategy finding resolutions - #773
Open
jimmybrancaccio wants to merge 1 commit into
Open
jimmybrancaccio wants to merge 1 commit into
jimmybrancaccio wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The change is narrowly scoped, aligns with the stated problem, and is backed by a targeted regression test that exercises the corrected classification path.
Review effort: Lite
Findings: None
What changed in this PR
This PR fixes desloppify plan resolve incorrectly treating strategy::<id> findings as workflow-only synthetic items, which prevented them from going through the normal state-backed resolution flow and left them open.
Changes:
- Adjusted synthetic pattern splitting so
strategy::IDs are treated as state-backed work items and delegated tocmd_resolve. - Expanded the regression test to assert that
strategy::patterns remain in the “remaining” (non-synthetic) list while workflow/triage synthetics are separated.
| File | Description |
|---|---|
| desloppify/app/commands/plan/override/resolve_helpers.py | Refines synthetic detection to exclude strategy:: from workflow-only synthetics so strategy findings are resolved via state-backed logic. |
| desloppify/tests/commands/plan/test_plan_overrides_direct.py | Adds explicit coverage to ensure strategy:: patterns are not classified as workflow/triage synthetics. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
github-actions Bot
added a commit
to citizenadam/desloppify
that referenced
this pull request
Sep 21, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
desloppify plan resolve "strategy::<id>" --confirmreports success, but the finding remains open anddesloppify nextimmediately returns it again. Strategy findings are state-backed work items, yet the resolve command classified their prefix as workflow-only synthetic work and never delegated tocmd_resolve.Fix
Keep strategy IDs on the ordinary state-backed resolution path while preserving workflow, triage, and subjective synthetic handling. The regression test now verifies the split explicitly.
Validation
python -m pytest desloppify/tests/commands/plan/test_plan_overrides_direct.py -q— 22 passednextadvancedproc_declarationunsupported by the installed grammar)