Skip to content

feat(commands): reply to /help with the commands and labels - #36

Merged
mike-diff merged 1 commit into
mainfrom
agent/35
Oct 5, 2026
Merged

mike-diff merged 1 commit into
mainfrom
agent/35

Conversation

@mike-diff

@mike-diff mike-diff commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Closes #35

Summary

Why: a user who comments /help gets the command list, the workflow work label and needs-human in a reply, with a 👍 ack and no change to labels, state or hold, so they no longer need the README or the CLI --help.

Changes

 commands.go      | 21 ++++++++++++++++++++-
 commands_test.go | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+), 1 deletion(-)

Status

Step Result At
Checks pass 864d33d
Judge approve 864d33d
Repairs 0

@ghafk ghafk Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at 864d33d

# Result Evidence
1 pass go build ./... && go vet ./... exited 0.
2 pass gofmt -l . printed nothing.
3 pass go test ./... reported ok for all three packages.
4 pass go test ./... -run 'TestParseCommand' passed. commands_test.go has case {"/help", "help", ""}, and parseCommand
5 pass go test . -run 'Help' -v ran TestHelpRepliesWithCommandsAndLabels and passed. The test posts a trusted OWNER /help
6 pass manual. I read commands.go, comment.go, workflow.go, commands_test.go and README.md. steerIssue handles `ver

@mike-diff
mike-diff merged commit 5040801 into main Oct 5, 2026
2 checks passed
@mike-diff
mike-diff deleted the agent/35 branch October 5, 2026 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add /help if the user comments in an issue

1 participant