AgentCap capability registry verification reports secret-safe validation failures on capability descriptions and guidance metadata, causing the coordinator to m…
AgentCap capability registry verification reports secret-safe validation failures on capability descriptions and guidance metadata, causing the coordinator to mark the registry as untrusted and fall back to unoptimized local extraction.
During automated registry synchronization, read-only capability registries fail the security gate:
FAIL: secret-safe; last refresh: validation-failed; Healthy: FalseWhile structural schemas and timestamp freshness checks pass cleanly, the secret scanner flags the capability metadata as containing sensitive credentials, blocking registry caching.
The secret-safe gate scans documentation strings, parameter examples, and guidance descriptions using broad credential matching regular expressions. When tool documentation includes dummy parameter placeholders (such as Bearer <token> or mock API keys), the scanner flags these documentation snippets as high-confidence credential leaks, triggering a validation failure.
<TOKEN_PLACEHOLDER>).Run the capability verification command to confirm that metadata passes the secret-safe check:
python scripts/audit_dependencies.pyExpected output:
Capability registry verification: PASSED (secret-safe: clean, Healthy: True)