stackwell.tech
Protocols / Approval Protocol

Approval Protocol

The implementation-independent contract. Generated from the canonical spec protocols/specs/approval.md as of 2026-11-15 (8262cce). Implemented by Granite.

Approval providers protect human consent and action auditability.

Core Objects

Required Fields

An approval request must include:

Request Types

Grant Service Id

Grant service_id names the enforcement point, not the UI that approved it.

Platform Grants

A platform grant is continuing authority the platform operator issues to a service's machine identity, for the service's own work, with no request and no person behind it. Its grantor is platform (a person's grant has no grantor key); it still carries owner_uid ("platform") and request_id (the nil uuid) so existing clients decode it. Its subject is one machine (subject_app_id and subject_chirp_sub), and a verification approves it only for that machine. Granite's implementation: services/granite/docs/platform-grants.md.

Granite is one Approval UI implementation. It is not the protocol name and not the enforcement point for storage, capability, or delegation grants.

Invariant

Approval records may be exported to user storage for readability, but exported copies do not authorize actions. The enforcing service must verify the approval request or grant with the Approval Protocol authority.