(action)
| 203 | } |
| 204 | |
| 205 | function approvalRequestFor(action) { |
| 206 | const command = String(action?.command || '').trim(); |
| 207 | if (command.startsWith('git status')) return 'Review the uncommitted worktree state before starting unrelated work.'; |
| 208 | return `Approve running \`${command || '(manual review)'}\` for this project.`; |
| 209 | } |
| 210 | |
| 211 | function buildApprovalCapsule(projectRoot, snapshot, generatedAt) { |
| 212 | const action = snapshot.nextAction || {}; |
no outgoing calls
no test coverage detected