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