plan cluster add crashes when a finding has a protected skip
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
Research direction
Start at _cmd_cluster_add and trace how it calls save_plan and reaches validate_plan; then look for tests covering plan cluster add and protected skips. Run the relevant CLI tests and add coverage for the reproduction. Done means the command gives a clear refusal pointing to plan unskip --force without crashing or overriding the protected skip.
Written by the indexing model from the issue text.
Description
Adding a permanently skipped finding to a manual cluster exits with an uncaught validation traceback instead of explaining that the skip must be removed first.
Observed against commit 5ec6be635834a6f424cd4a5f4321931f28b4a567 on macOS / Python 3.14. The repository also contains local scanner corrections outside the affected cluster-add path.
Reproduction with any existing finding ID:
desloppify plan skip --permanent '<finding-id>' --note 'Specific disposition' --attest 'I have reviewed this issue and I am not gaming the score.'
desloppify plan cluster create example
desloppify plan cluster add example '<finding-id>'
Actual: _cmd_cluster_add calls save_plan, which calls validate_plan, raising:
ValueError: IDs cannot appear in both queue_order and skipped: ['<finding-id>']
Expected: a normal CLI refusal explaining the protected skip and pointing to plan unskip --force, or explicitly supported behavior for skipped cluster membership without placing it in the active queue. The command should not crash or implicitly override a protected skip.
Workaround verified: run plan unskip --force '<finding-id>' when reopening is warranted, then repeat plan cluster add. A plain plan unskip preserves protected skips and returns exit 0, so blindly chaining it with cluster-add still triggers the traceback.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 301
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from peteromallet/desloppify
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
peteromallet/desloppify#942 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
peteromallet/desloppify#936 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
peteromallet/desloppify#923 ·
-
Difficulty 2/5 Half a day Newbie friendliness 68/100
peteromallet/desloppify#921 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
peteromallet/desloppify#916 ·
All issues in peteromallet/desloppify
Similar issues
-
Backend issue lists report in-patch warnings and out-of-patch errors as not publishablePossibly taken @RaphaelFakhri claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mozilla/code-review#3794 ·
Maintainers usually reply within 1 day
-
[oblt-aw][autodoc] Update docs that still describe the security registry as emptyPossibly taken @github-actions claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
[Bug] adb backup script reports "Done" & exits 0 when the backup failsPossibly taken @bhattmanthan claimed this today. Openrequest-issue-assignment
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OWASP/mastg#4034 · 5 comments ·
Maintainers usually reply within 1 day
-
agent-ui bug p2
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
correction metadata
Difficulty 1/5 Under an hour Newbie friendliness 72/100
acl-org/acl-anthology#10768 · 1 comment ·
Maintainers usually reply within 1 day