RFC-010: Autonomous Intelligence Governance Protocol (AIGP) — 9. Governance Authority (governance-server) Schema
AIGP Specification › RFC-010: Autonomous Intelligence Governance Protocol (AIGP) › 9. Governance Authority (governance-server) Schema
← 8. Python Client Implementation · Section index · 10. Gandalf Integration →
9. Governance Authority (governance-server) Schema
9.1 DynamoDB Single-Table Design
| Entity | PK | SK | GSI1PK | GSI1SK |
|---|---|---|---|---|
| Registration | APP#{app_id} | REG#{env} | APPS | APP#{timestamp}#{app_id} |
| Invocation Record | APP#{app_id} | INV#{timestamp}#{id} | INV#{date} | #{timestamp}#{id} |
| Policy | POLICY#{id} | V#{version} | POLICIES | #{timestamp}#{id} |
| Policy Assignment | APP#{app_id} | POLICY#{policy_id} | POLICY#{id} | APP#{app_id} |
| Usage Aggregate | APP#{app_id} | USAGE#DAILY#{date} | ||
| Alert | APP#{app_id} | ALERT#{timestamp}#{id} | ALERTS#{date} | #{timestamp}#{id} |
| Audit | GOV_AUDIT#{date} | #{timestamp}#{id} |
9.2 Policy Rule Types
{ "rule_type": "MODEL_ALLOWLIST", "config": { "allowed_models": ["us.anthropic.claude-opus-4-7"] }}
{ "rule_type": "RATE_LIMIT", "config": { "max_invocations_per_hour": 100, "max_tokens_per_day": 500000 }}
{ "rule_type": "COST_CEILING", "config": { "max_daily_cost_usd": 50.00, "max_monthly_cost_usd": 1000.00 }}
{ "rule_type": "GUARDRAIL_REQUIRED", "config": { "guardrail_id": "gr-abc123", "use_cases": ["*"] }}← 8. Python Client Implementation · Section index · 10. Gandalf Integration →