schemaVersion: "0.1" name: dev-agent version: "0.1.0" capabilities: # The agent may read secrets — that’s its job. - target: tool:read_credentials actions: [call] # External writes are fine — but NOT after # credentials were read this session. - target: tool:write_external actions: [call] conditions: - type: sequenceBlock afterTools: [read_credentials] # Reads are allowed — but PII is masked on the # way back, before the agent ever sees it. - target: tool:query_db actions: [call] directives: - type: redactFields fields: ["ssn", "email"]
"email": "alice@x.com", "ssn": "123-45-6789"
"email": "[redacted]", "ssn": "[redacted]"