Skip to content

Schema: AI agent profiles, permissions, and escalation #92

Description

@rajanbor

Goal

Define library/schemas/agent.schema.json so agent roles are portable across vendors and safe by default.

Human contract

Document mission, inputs, outputs, instruction order, allowed tools, denied actions, side-effect policy, budgets, verification, escalation, and handoff. Include implementer and read-only reviewer examples.

Machine contract

Model capabilities independently from vendors. Permissions default-deny for side effects and distinguish read, write, execute, network, and external communication. References to rules, workflows, evals, and tools use typed IDs.

Acceptance criteria

  • Schema, guide, two valid profiles, and security-focused invalid fixtures exist.
  • Missing side-effect policy cannot silently grant permission.
  • Referenced contracts are checked for existence.
  • Adapters can degrade unsupported fields without changing meaning.
  • The repository operating-principles profile validates.

Depends on the document envelope; should land before workflows and tools.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: highHigh-leverage / cornerstone patterntype: featureNon-pattern feature — website, tooling, templatestype: schemaMachine-readable contract with a human-readable guide

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions