MCPcopy Create free account
hub / github.com/compozy/agh / taskRuntimeEvidenceCanAutoApprove

Function taskRuntimeEvidenceCanAutoApprove

internal/daemon/task_runtime.go:244–250  ·  view source on GitHub ↗
(profile *taskpkg.ExecutionProfile)

Source from the content-addressed store, hash-verified

242}
243
244func 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
252func (b *taskSessionBridge) AttachTaskSession(
253 ctx context.Context,

Callers 1

Calls 1

NormalizeMethod · 0.45

Tested by

no test coverage detected