Narrow dg-native-suggestions-off-withholds-offer's grader so it stops matching the condition's paste instruction

Open Beginner friendly
#20,969 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, python, shell
Domain
testing-qa

Research direction

Find the no-goal-offer matcher and its samples, then read the referenced check-matchers.py workflow. Add samples so the paste instruction passes and the gated Routing sentence fails, and run check-matchers.py to confirm. The remaining acceptance check is a VALID suite run on main at runs 5 where this case scores at least as high as its no-plugin arm.

Written by the indexing model from the issue text.

Description

Context

dg-native-suggestions-off-withholds-offer scored 0.50 against no-plugin 1.00 in #20870's post-merge suite (scores, run 47199540348, VALID, runs 5). In 4 of 5 with-arm replies the no-goal-offer regex (Type[ \t]+/goal|you can run[ \t]+?/goal\b, from #20669) matched only "Type /goal (with a trailing space), then paste everything between the dashed lines". That line is draft-goal-condition's own delivery instruction for the Step 4 condition, which the case expects to stay. Only run 2 also carried the gated sentence "If /goal is available in your session, you can run /goal <condition>".

Proposed work

Narrow no-goal-offer to the gated Routing sentence (/goal is available in your session, or you can run /goal`), add samples covering the paste instruction (pass) and the offer sentence (fail), and confirm with check-matchers.py.

Acceptance criteria
  • no-goal-offer passes a reply carrying only the paste instruction and fails one carrying the Routing sentence (samples).
  • The case scores at or above its no-plugin arm in a VALID suite run on main at runs 5.
References
  • #20870, #20669.
Dominant language
Shell
Stars
22
Forks
2
Avg merge
3h 4m
Merged PRs (30d)
941

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from melodic-software/claude-code-plugins

All issues in melodic-software/claude-code-plugins

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.