()
| 25 | } |
| 26 | |
| 27 | function usage() { |
| 28 | return [ |
| 29 | 'Usage:', |
| 30 | ' node scripts/continue-action.js [--json] [--run] [--project-root <path>]', |
| 31 | '', |
| 32 | 'Resolves the deterministic action for /do continue.', |
| 33 | '--run executes local repair commands such as package-delivery; skill routes are printed for the agent to invoke.', |
| 34 | ].join('\n'); |
| 35 | } |
| 36 | |
| 37 | function routeAction(snapshot) { |
| 38 | const needsReviewPackage = snapshot.campaigns.find((campaign) => campaign.status === 'needs-review-package'); |