Skip to content

Tool Permissions

v4.1 Sprint A adds a declarative tool permission model for future Skill OS workflows.

This is a schema and example layer only. Sprint A does not enforce permissions, block tools, or execute automation.

Files

text
.ai/registries/tool-permissions.yaml
.ai/schema/tool-permission.schema.json

Permission Classes

ClassIntended Use
read-onlyInspect, search, list, validate, and report without changing state.
draft-onlyCreate proposed text, plans, patches, or release notes without applying external changes.
write-with-confirmationPerform local or reversible writes only after explicit confirmation and validation.
restricted-adminPublish, deploy, DNS, billing, ad spend, production credentials, tag movement, or public release publication.

Example Tool IDs

The Sprint A registry includes generic examples:

  • filesystem-read
  • filesystem-write
  • git-commit
  • git-push
  • npm-publish
  • github-release
  • github-release-publish
  • dns-change
  • ad-spend-change
  • secret-rotation
  • operator-draft

Restricted Examples

The following are modeled as restricted-admin:

  • npm publish
  • GitHub release publication
  • DNS changes
  • Ad spend changes
  • Secret rotation

Sprint C Status

Permission classes remain declarative, and Sprint C adds read-only CLI inspection:

  • No permission enforcement.
  • No command blocking.
  • No external tool automation.
  • No runtime behavior change.
  • Validation checks known classes, confirmation requirements, and dangerous operations that cannot be marked read-only.
  • multimodel-dev-os skill-os list permissions prints known permission IDs.
  • multimodel-dev-os skill-os show permission <id> prints class and guardrail metadata.

Future sprints should add read-only inspection, then carefully scoped guardrail integration.

Sprint D - Guardrails Integration

Sprint D introduces declarative guardrails (.ai/registries/guardrails.yaml) that map to specific tool permissions and operations.

  • Pre-Tool Safety: Destructive operations like git-reset-hard or force-push are subject to advisory pre-tool guardrails.
  • Confirmation Rules: Guardrails with restricted severity, pre_external_write type, or those applying to the restricted-admin class require confirmation flags.
  • Validation: All guardrails are validated against the schema and check files to ensure proper safety mapping before any future runtime support is designed.

Safety Direction

Restricted-admin operations should require explicit current-turn maintainer approval. They should never be inferred from nearby planning, release-prep, or validation tasks.

Business Operator Drafts

Sprint F adds operator-draft as a draft-only permission example for business operator templates.

operator-draft allows review-only summaries, briefs, recaps, and SOP drafts from provided input. It blocks sending messages, updating external systems, publishing content, and spending money.

This permission remains declarative. Sprint F does not enforce permissions at runtime.

For classification guidance, see Skill OS Migration Guide and Skill OS Authoring Reference.

Released under the MIT License.