-
Notifications
You must be signed in to change notification settings - Fork 0
Schema: tools and side-effect contracts #90
Copy link
Copy link
Open
Labels
priority: highHigh-leverage / cornerstone patternHigh-leverage / cornerstone patterntype: featureNon-pattern feature — website, tooling, templatesNon-pattern feature — website, tooling, templatestype: schemaMachine-readable contract with a human-readable guideMachine-readable contract with a human-readable guide
Description
Activity
Metadata
Metadata
Assignees
Labels
priority: highHigh-leverage / cornerstone patternHigh-leverage / cornerstone patterntype: featureNon-pattern feature — website, tooling, templatesNon-pattern feature — website, tooling, templatestype: schemaMachine-readable contract with a human-readable guideMachine-readable contract with a human-readable guide
Goal
Define
library/schemas/tool.schema.jsonfor tools an AI agent may invoke.Human contract
Explain purpose, inputs, outputs, authentication, permissions, side effects, idempotency, timeout, retry policy, failure modes, redaction, and audit evidence. Include read-only and state-changing examples.
Machine contract
Use typed input/output schema references and explicit side-effect classes. Require confirmation or escalation for destructive or externally visible actions. Define retryable errors and idempotency without vendor-specific fields.
Acceptance criteria
Depends on the document envelope and aligns with the agent schema.