(profile *taskpkg.ExecutionProfile)
| 242 | } |
| 243 | |
| 244 | func taskRuntimeEvidenceCanAutoApprove(profile *taskpkg.ExecutionProfile) bool { |
| 245 | if profile == nil { |
| 246 | return false |
| 247 | } |
| 248 | return profile.Sandbox.Mode.Normalize() == taskpkg.SandboxModeRef && |
| 249 | strings.TrimSpace(profile.Sandbox.SandboxRef) != "" |
| 250 | } |
| 251 | |
| 252 | func (b *taskSessionBridge) AttachTaskSession( |
| 253 | ctx context.Context, |
no test coverage detected