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

Function taskSecretKeyCarriesSecret

internal/task/block_service.go:595–602  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

593}
594
595func taskSecretKeyCarriesSecret(key string) bool {
596 trimmed := strings.TrimSpace(key)
597 if trimmed == "" {
598 return false
599 }
600 probe := trimmed + "=value"
601 return diagnostics.Redact(probe) != probe
602}
603
604func (m *Service) recordTaskNeedsAttention(
605 ctx context.Context,

Callers 2

redactTaskSecretValueFunction · 0.85

Calls 1

RedactFunction · 0.92

Tested by

no test coverage detected