◎ OS PUB Apache 2.0 ← All specifications

P228 — AIEP — Governance Policy Language

Status: Open Source Prior Art Disclosure Licence: Apache-2.0 Published by: Phatfella Limited Priority: Defensive prior art disclosure based on work conducted prior to GB2519711.2 filed 20 November 2025


Overview

This document defines the open Governance Policy Language (GPL) schema for the Architected Instruction and Evidence Protocol (AIEP) architecture. Published as defensive prior art under Apache 2.0.

The GPL defines a structured, machine-readable format for AIEP governance policy documents. Policy documents conforming to this schema may be evaluated by the Safety Constraint and Governance Enforcement Engine (P215) or any conformant governance engine implementation.


Field

Governance policy specification language for evidence-bound AI. Applicable to any system implementing AIEP governance principles.


ASCII Architecture

Policy Document (GPL schema)
         |
         v
+-----------------------------------------------+
| Governance Policy Engine (P215 or conformant) |
|                                               |
| - Parse GPL document                          |
| - Index rules by action type                  |
| - Evaluate proposed action against rules      |
+-----------------------------------------------+
         |
         v
  Enforcement Decision (APPROVE / REJECT / ESCALATE)

GPL Schema Definition

The Governance Policy Language uses JSON or YAML. The following defines the canonical schema:

schema_version: "1.0"
policy_id: "<uuid>"
policy_version: "<semver>"
policy_hash: "<sha256 of policy content>"
effective_from: "<ISO 8601>"
effective_until: "<ISO 8601 or null>"

action_rules:
  - action_type: "<string pattern>"
    decision: "APPROVE | REJECT | ESCALATE"
    conditions:
      - predicate: "<world_state_predicate>"
        operator: "AND | OR | NOT"
    parameter_bounds:
      - parameter: "<parameter_name>"
        min: "<value or null>"
        max: "<value or null>"
    notes: "<optional human-readable rationale>"

resource_constraints:
  - resource_type: "<string>"
    max_rate_per_hour: "<integer>"
    max_per_request: "<integer>"

safety_predicates:
  - predicate_id: "<string>"
    expression: "<structured predicate expression>"
    violation_decision: "REJECT | ESCALATE"

emergency_override_policy:
  permitted_by: ["<authoriser_id>"]
  max_duration_seconds: "<integer>"
  permitted_actions: ["<action_type>"]

Prior Art Statement

Publication of this schema as open-source prior art establishes public domain availability as of the publication date. No patent claim may restrict implementation of this language schema in its published form. Derivative governance languages building on this schema should reference this publication.


Licence

Copyright 2025 Phatfella Limited. Licensed under Apache 2.0. See LICENCE for full terms.

Dependencies