Function
getAutoRunCommand
(reason: AutoRunIssueReason)
Source from the content-addressed store, hash-verified
| 99 | * ANT-ONLY: good-claude command only exists in ant builds |
| 100 | */ |
| 101 | export function getAutoRunCommand(reason: AutoRunIssueReason): string { |
| 102 | // Only ant builds have the /good-claude command |
| 103 | if ("external" === 'ant' && reason === 'feedback_survey_good') { |
| 104 | return '/good-claude'; |
| 105 | } |
| 106 | return '/issue'; |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * Gets a human-readable description of why /issue is being auto-run |
Tested by
no test coverage detected