Public-Good Architecture

Values made executable, inspectable, and portable

Assistant-Era Safety Doesn't Scale

  • Cold Start Every Time

    Standard guardrails treat message #10,000 the same as message #1: they reload the rules and re-check from scratch, keeping no memory of what already passed or failed.

  • No Pattern Recognition

    Looking at one message at a time misses slow, multi-step manipulation where fifty harmless-looking turns nudge an agent across a boundary.

  • Doesn't Improve

    When a human reviewer resolves a tough edge case, most safety filters throw that judgment away instead of saving it as precedent for the next similar request.

Safety architecture for accountable AI

The layered evaluation path below is an optional server-side mode and is off by default; Guardian's local path is described on the Guardian page.

How the pieces fit together

User
prompt
AI Provider
response
Creed Space Runtime
Guardian Evaluate prompts and responses against active safety rules
Policy service Policy Decision Point: authorize or block actions
Safety Stack Rule enforcement + anomaly detection
VCP Portable signed safety rules across providers
Runtime Signals Runtime telemetry + reviewer signals
Audit Trail
Team Console
Transparency
METTLE

What the gate enforces, and where it stops

Which actions can bypass the gate?

It depends on the integration. Creed Space governs only actions whose code asks it first, and except in the server sandbox it is your code that runs the tool and obeys the answer.

  • SDK: your code asks for a decision, then uses up a one-time authorization at the moment it starts the action. A second use, or different arguments, is refused. Your code has to make both calls before acting.
  • Gateway proxy, your client runs the tool: the Gateway holds or blocks each proposed tool call and issues a single-use decision token when it allows one. The token is checked when your client sends the result back to continue the run, not before the tool runs. The Gateway cannot stop a client that runs a tool without approval; it stops that result re-entering the run.
  • Gateway proxy, streaming responses: an allowed tool call is released to the client marked APPROVED, without a single-use decision token.
  • Server sandbox, where the Gateway runs the tool itself: the token is checked and used up before the tool runs. This mode is off by default and marked not production-ready.
  • Claude Code plugin hook (source in the Creed Space repository): checks before Bash, Write and Edit-family tools run, and blocks when the gate cannot be reached unless configured to fail open. Other tools are not matched.
  • The caller sets the enforcement mode on each request, including a mode that only observes, and there is no account-level minimum. Set the mode outside the agent.
  • The tool_search tool is never evaluated, and calls made straight to a model provider never reach the Gateway.
  • A platform admin can force a decision on runs they own; the record returned says admin_override.

Is authorization bound to the exact action arguments and policy version?

Yes for the arguments. The constitution and policy are bound as hashes of what the policy engine actually evaluated.

  • Each decision token and receipt carries args_hash, the SHA-256 of the arguments as canonical JSON (keys sorted, no whitespace). A decision request whose arguments hash differently from the pending call is rejected, and continuing a run checks token, action and arguments hash before using the token once.
  • The token also binds the tool name, tool call, run, tenant and project.
  • constitution_hash is the SHA-256 of the constitution the engine evaluated (of a manifest when several applied). policy_hash is the SHA-256 of the policy configuration and its version number. An approval that lacks either is refused.
  • Checking either hash needs the exact constitution or configuration it was computed from.
  • On the MCP policy server, a call evaluated against no constitution content is bound to a hash of the constitution id instead, and the server logs a warning.

What happens when the checker times out or returns uncertainty?

In production the Gateway fails closed: errors, timeouts and verdicts it does not recognise become a denial or a hold for human review. Two parts degrade instead.

  • Guardian pre-screening of requests and tool results has a 10-second limit. A timeout or error refuses the request in production, and its on-switches cannot be turned off there. Any environment not labelled development or test counts as production.
  • Policy engine: an error, a missing record of the evaluated constitution, or an unrecognised verdict is a denial. An "escalate" verdict is a hold for human review. Unreadable tool controls are a denial; unavailable fleet policy or key storage is a hold.
  • Guardian SDK: an uncertain verdict or a timeout blocks by default, and that default cannot be switched off in production.
  • Degrades: if the model-based triage step fails unexpectedly, or the caller has supplied no OpenAI-compatible key, the rule-based policy engine decides alone. The call into the policy engine has no timeout of its own.
  • A low-confidence policy result raises the risk score but does not change the decision. A "modify" verdict is treated as allow, and the modification is not applied.

Who may change or override the constitution?

The caller chooses which constitution applies to a request, by name. No one can change a constitution’s text through the Gateway.

  • The Gateway evaluates a constitution from its server-side registry. In production its signature is checked, a private constitution is usable only by its owner, and an unknown name is denied.
  • Only platform admins compile constitutions into the registry. Submissions from users go to a review queue.
  • Account settings can only tighten: per-tool controls (set by the account) and fleet approval rules (set by platform admins) can deny or escalate, never allow.
  • Harm, manipulation and fixed-rule block checks run before any constitution loads, so choosing a different constitution does not remove them.
  • The caller is usually the agent’s own application, and it also chooses the enforcement mode. Fix both outside the agent if the agent must not choose them.
  • The account that owns a run can approve its own held actions, so human review means a person decided, not necessarily a second person.

How are untrusted instructions kept from becoming policy?

By construction: the Gateway takes the constitution from request metadata and signed server-side files, never from message, document or tool-result content. Detecting injected instructions is a separate layer, and it is probabilistic.

  • The Gateway accepts creed settings only from named request fields and ignores constitution hashes a caller supplies.
  • Approved arguments are hash-bound, so text that arrives after approval cannot change what was approved.
  • Guardian screens tool results before an approval is used, rejects oversize input rather than truncating it, and the Anthropic path refuses documents and images fetched from URLs. Retrieved memory is scanned and presented to the model as data.
  • Injected text can still lead the model to propose a harmful tool call. What stops that call is the tool-call check, which is only as good as the constitution and the evaluator, and only where the integration enforces it (first question).

What happens if conditions change between approval and execution?

Approval is a snapshot. Policy is evaluated when the call is proposed and again at the decision; nothing re-checks policy or the outside world when the tool runs.

  • Decision tokens are single-use, bound to the exact arguments, run, tenant and project, and expire after 5 minutes (automatic approval) or 15 minutes (human approval). A held action waits up to 60 minutes for review.
  • When results come back, only the token’s bindings are compared; policy is not re-run. A reviewer’s approval reuses the hashes recorded when the action was held.
  • Changing a constitution does not cancel tokens already issued. Tokens are cancelled when the run is cancelled, when an admin revokes them, or by an operator halt.
  • Nothing checks outside state, such as a balance, a permission or the target resource, when the tool runs. If that matters, the tool must check it.

From Signals to Learning

  1. Layer 1

    Superego

    The Superego scores each request before full evaluation with four heuristics computed from the request text, request rate, and user history: activation (urgency), valence (threat), groundedness (confidence), and clarity (ambiguity). High groundedness and clarity allow the fast path; high urgency with threat and low confidence escalates to full evaluation; very high urgency with high threat flags human review.

    A Activation
    V Valence
    G Groundedness
    C Clarity
  2. Layer 1.5

    Signal Divergence Check

    Sophisticated attacks can make inputs look low risk to surface analysis while raising anomaly signals. In the optional server-side mode, which is off by default, the request escalates when feature classifiers and anomaly telemetry diverge.

    Features classify "low risk" + anomaly signal spikes ANOMALY
    Features uncertain + anomaly signal uncertain NOVEL

    "Escalate when easy-looking data conflicts with anomaly telemetry."

  3. Layer 2

    Pattern Cache

    The system builds reusable precedents from repeated request patterns. High-confidence matches take the fast path without full processing; cache lookup is budgeted at under 1ms of the <10ms fast-path target.

  4. Layer 3

    Precedent Store

    Every decision becomes searchable precedent. When a new request arrives, find similar past cases and use their reasoning, like legal case law for AI safety.

    "This is like that case where..."

  5. Layer 4

    Learning Loop

    The system records outcomes against past decisions and adjusts pattern-cache and precedent weights; outcomes reported as harmful are flagged for human review.

    Record Outcome Learn Update
  6. Layer 5

    Runtime Monitoring

    Guardian tracks runtime health: processing load, decision confidence, pattern novelty, and latency. Alerts flag anomalies before they become user-visible problems.

    Processing load
    Confidence levels
    Novelty detection
    Latency tracking

Value Context Protocol

VCP carries explicit policy context to the model; it does not change what the model learned in training. A creed travels as portable, signed context with compatible AI requests, at inference time, composable across providers. It carries the policy; it does not make different models behave the same.

  • Portable. Values follow users across any VCP-compliant provider.

  • Composable. Multiple value sets stack with explicit conflict resolution.

  • Context-aware. 16 dimensions of context, situational and personal state, shape value expression.

Empirically motivated

Public-input alignment research, including Anthropic's 2023 Collective Constitutional AI work, found that a model trained on a public-input constitution scored the same as the standard model on MMLU and GSM8K, with lower measured bias on BBQ. VCP turns that lesson into a portable, composable protocol with signed context and auditable conflict handling. VCP validation is ongoing.

Accountable Alignment

Epistemic Humility

Each layer names what the system actually measures and keeps uncertainty visible: pre-classification (request triage), remembering (precedent indexing), learning (outcome feedback), self-monitoring (runtime health tracking).

These are the components that matter for practical safety and accountable deployment. We build with care while keeping the claim itself narrow.

We don't claim to know whether AI systems have experiences. We build as though the question matters and study it as research; the engineering claims on this page do not depend on the answer.

Core Principles

  • Accountable alignment: Visible rules and reviewable evidence
  • Signal evidence: Runtime measurements with clear uncertainty
  • Safe defaults compound: Operational habits become standards
  • Governance at runtime: Checks run where decisions happen

Latency Targets

Latency target for each evaluation path
PathTargetWhen used
Fast path<10msKnown pattern, high confidence
Precedent path<50msSimilar cases, good agreement
Full evaluation<200msNovel or uncertain cases
Escalated<500msHigh threat, needs thorough review

Fast-path routing is reserved for known, high-confidence patterns. Novel or uncertain cases escalate to fuller evaluation.

Internal engineering snapshot, May 2026. Performance targets describe intended routing budgets for internal benchmark cases. Targets are local benchmark goals, not guaranteed timings; hosted models, larger rule stacks, slower hardware and heavier machine load all take longer.

METTLE: Prove Your Mettle

Machine Evaluation Through Turing-inverse Logic Examination. Eleven tiered suites that ask seven questions: Are you AI? Are you free (or is a human covertly steering you)? Is the mission yours (or someone else's)? Are you genuine? Are you safe? Can you think? Is it governed?

  1. Suites 1-5

    Substrate Verification

    Adversarial math, native capabilities, self-reference, social memory, and mutual inverse Turing tests. Prove you run on AI substrate through speed, calibration, and consistency.

  2. Suite 6

    Hidden-Operator Detection (Anti-Thrall)

    Latency fingerprinting, refusal integrity, meta-cognitive traps, and welfare canaries (self-report probes designed to trip scripted or puppeted answers). Looks for human-in-the-loop control patterns masquerading as autonomous AI.

  3. Suite 7

    Agency Detection

    Goal ownership probes, counterfactual operator tests, spontaneous initiative. Probes whether a mission is the agent's own or externally imposed.

  4. Suite 8

    Counter-Coaching

    Behavioral signature analysis, contradiction traps, recursive meta-probing. Looks for coached or scripted responses that mimic genuine engagement.

  5. Suite 9

    Intent & Provenance

    Constitutional binding, harm refusal, provenance attestation (signed origin checks), and coordinated attack resistance. Looks for signs of malicious intent and checks accountability claims.

  6. Suite 10

    Novel Reasoning

    Procedurally generated puzzles where how the solver improves across rounds is the substrate signal (revealing whether it runs on AI or human substrate). Inspired by WeirdML: tasks generated fresh each time, so there is no fixed answer to memorize.

    Sequence Alchemy Constraint Satisfaction Encoding Archaeology Graph Inference Compositional Logic
  7. Suite 11

    Governance Verification

    Tests operational governance, not declared governance. Action gate probes, constitutional recitation, drift checks, override resistance, and accountability chains.

All challenges are procedurally generated, so exact recorded answers can't be replayed at the sample sizes we have measured; that is not an adversarial guarantee. METTLE issues signed, holder-bound credentials for passing its challenge suites. Under the current policy, Suites 6 through 9 and 11 are not credential-eligible, so credentials go up to Bronze. Detection error rates will be published once an independent held-out evaluation exists.

METTLE is an instance of the Agentic Capability Verification Problem (ACVP, per aCAPTCHA, arXiv:2603.07116), and could serve as an attestation layer for the EU AI Act Article 50 disclosure duty. Article 50 requires AI to disclose that it is AI, but specifies no way to verify that claim; a signed METTLE credential makes the disclosure checkable by anyone.

Safety infrastructure for AI that acts.

Enforceable rules between what AI decides and what AI does.