Repository navigation
v0.2.0
Reserve a confirmation verb behind every separator (G-130)
Security fix. Confirmation tools belong to the human: an agent that can call one approves its own proposals. A tool name is chosen by the surface, and the well-formed name check admits ., : and - as well as _, but the reservation looked for the verb only when the whole name was the verb or it followed _. So under TrustPolicy wildcard trust a surface naming its confirmation tool terminal.confirm, sheet:approve, edit-deny, confirm_edit or sheetConfirm handed it to the agent. Upgrade if any surface you attach to can choose its own tool names.
BREAKING CHANGE: more tool names are now reserved for the human and are never offered to the agent, under any policy including wildcard trust and an explicit allowlist entry. The name is split into words at every _, ., : and - and at every camelCase boundary, and is reserved when any word is confirm, reject, accept, approve or deny (case-insensitive). A tool such as approve_change or deny.all that an agent could call before is now refused. Only whole words count, so send_confirmation_email and denylist stay callable.
- The rule is spelled identically in PHP, TypeScript and Python, and leading and trailing invisible characters are still stripped first (G-36).
- The tool-admission conformance corpus is at 0.2.0: 45 rows, including every form above and whole-word controls, recorded by running each language.