Product 19 · SDK / MCP · Wave 2

Triad Protocol Framework

Three roles. One bounded Delta. No overclaim. The Triad runs an explicit claim through a fixed review: a Witness that lists only facts, receipts, and absences; an Adversary that supplies counter-models and overclaim risks; and an Architect that produces a bounded synthesis and a closeout status — with an evidence level that can never be upgraded beyond its receipts.

Wave 2 · v0.1.1 · on npm
← Product 18: Curiosity Protocol Controller Next: Product 20 · Wave 2 Plugin Runtime →

Confidence outruns evidence.

When an agent reaches a consequential claim — a belief, a transition, a decision under pressure — the usual failure is rhetorical confidence outrunning the receipts. A single reviewer tends to either rubber-stamp or argue; neither reliably separates what the receipts actually show from what would be convenient to conclude.

The Triad Protocol Framework imposes a fixed division of labor so those concerns cannot collapse into each other. The Witness is forbidden from interpreting intent or resolving the review; it only states facts, receipts, and explicit absences with evidence labels. The Adversary must supply at least one counter-model (or state why none exists) and cannot treat skepticism as proof of failure. The Architect synthesizes within those bounds and cannot silently revise a belief or convert a proposed conclusion into proof.

The result is a decision architecture whose strongest allowed evidence label after review is capped by the receipts that went in. A cross-session trace stays [PARTIAL EVIDENCE]; a classifier output or self-report stays [INFERRED] unless a direct receipt grounds it; [CONFIRMED] requires a route or database receipt tied to the current event. The Delta closes, defers, or asks for verification — it does not manufacture certainty.

Packet → Three Roles → Delta

Assemble a Triad packet

Call triad_review with a triad_packet: a trigger tier (tier_1_semantic_pivot, tier_2_skeptical_adversary, tier_3_integrity_audit), the claim_or_question, bounded source_context, evidence_items (each with an evidence label and source type), forbidden_claims, and a closeout_target.

Run the three roles in order

Witness lists facts, receipts, absences, and uncertainty boundaries; Adversary adds counter-models, contradictions, and overclaim risks; Architect produces a bounded synthesis, a confidence recommendation, and a closeout status — each role constrained by the evidence labels, which are never upgraded beyond their receipts.

Read the Delta

The framework returns a triad_delta with a status (closed, needs_verification, needs_operator_review, or deferred), the strongest allowed evidence_level, the three role summaries, a confidence_recommendation, and belief_revision_allowed / memory_write_allowed / external_activation_allowed all defaulting to false.

The Triad is a decision-support layer. It produces a bounded review of a supplied packet only — it does not monitor live activity, persist results, revise beliefs, write memory, call providers, or act on the Delta. A human decides what the Delta means.

Three roles, capped labels, bounded closeout

The model below is taken directly from the originating agent's Integrity Triad service and its design memo. The three roles run in a fixed order, each constrained by what the role is allowed to assert.

The three roles
RoleOutputHard constraint
Witness Observed facts, direct receipts, explicit absences, evidence labels, uncertainty boundaries. Must not interpret intent, assert inner events, or resolve the review.
Adversary Skeptical counter-models, alternative explanations, contradiction checks, failure modes, overclaim risks. Must not replace evidence with rhetoric or treat skepticism as proof of failure.
Architect Bounded synthesis, confidence recommendation, rerun/verification request, next action, closeout status. Must not silently revise beliefs, write memory, or convert a proposal into proof.
Evidence-label capping rules
Evidence kindStrongest allowed labelRule
Cross-session trace [PARTIAL EVIDENCE] Stays partial — a trace across sessions cannot be promoted to current-event confirmation.
Classifier output / self-report [INFERRED] Stays inferred unless a direct receipt grounds it in the current event.
Route or database receipt [CONFIRMED] Only a receipt tied to the current event earns confirmation — and the label is never upgraded beyond its receipts.
Delta closeout states
StatusMeaning
closed Witness listed facts/receipts/absences, Adversary supplied at least one counter-model (or said why none exists), the Architect produced a bounded synthesis, no forbidden claims were made, and no evidence label was upgraded beyond its receipts.
needs_verification The review needs a concrete receipt or rerun before it can close; the Architect requests verification.
needs_operator_review The Delta is escalated for a human decision rather than auto-resolved.
deferred Closure conditions are not yet met; the Delta is held open rather than forced shut.

A Delta closes only when every closeout condition is satisfied. Otherwise it stays needs_verification, needs_operator_review, or deferred.

Triad vs. Multi-Voice Deliberation
DimensionTriad Protocol (P19)Multi-Voice Deliberation (P03)
Posture Evidentiary — audits a claim that already exists. Generative — shapes a better answer before commit.
Roles Three: Witness / Adversary / Architect. Four voices: Builder / Skeptic / Evolver / Guardian.
Output A bounded, evidence-labeled Delta with a closeout status. A refined proposal before it is committed.
When After a claim is committed — a receipt-bound integrity check. Before a decision is committed — to draft and refine it.
How they compose. Multi-Voice improves the proposal; the Triad audits the receipts. Use Multi-Voice to draft and refine a decision, then pass the committed claim plus its evidence into the Triad for a receipt-bound integrity check before integration. A Triad needs_verification Delta can loop back into a fresh Multi-Voice round.
Origin. The Triad is the Integrity Triad — a dormant, design-first, non-mutating protocol that turns an explicitly supplied packet into a Delta and is wired into nothing automatic. This product preserves that posture exactly; the three roles and Delta fields are taken directly from the implemented services/triad_protocol.py service. Trigger tiers and some field bindings are proposed for the Wave 2 product.

MCP tools

The MCP tools below ship in the published package (v0.1.1). They were extracted from what the Triad route exposes today (routes/triad_protocol.py).

Review
triad_review
Return a bounded, read-only Triad Delta for a supplied packet — no persistence, monitoring, or mutation (POST /review).
triad_examples
Fixture-backed demo packets with their read-only Deltas (GET /examples).

Install

The Triad Protocol Framework is a CertaWorks Wave 2 product — built, tested, and published on npm. The commands below install the package — an SDK and an MCP server, consistent with the rest of the suite — so you can see exactly what it exposes.

Running it, or want to help shape what comes next? Use the feedback form below.

Status — published on npm (v0.1.1)

The package @certaworks/triad-protocol-framework is live on npm. Install it globally, or point your MCP client at it with the config below (its MCP server command is triad-protocol-mcp).

npm package
npm install -g @certaworks/triad-protocol-framework
Claude Desktop config
{
  "mcpServers": {
    "triad-protocol": {
      "command": "npx",
      "args": ["-y", "-p", "@certaworks/triad-protocol-framework", "triad-protocol-mcp"]
    }
  }
}

What the Triad Protocol Framework does and does not do

Does
  • Run an explicit claim through a fixed Witness → Adversary → Architect review
  • Cap the post-review evidence label at the strongest the receipts support
  • Return a bounded Delta with a closeout status and explicit confidence recommendation
  • Keep belief revision, memory writes, and external activation off by default
  • Run fully local across an SDK and MCP server on an explicitly supplied packet
Does Not
  • Monitor live activity or run in the background
  • Persist results, revise beliefs, write memory, call providers, or activate tools
  • Treat a self-report, classifier output, or cross-session trace as current-event confirmation
  • Act on its own Delta or wire into automatic chat behavior
  • Replace human judgment about what the Delta means

Using the Triad Protocol Framework? Tell us how it goes

The Triad Protocol Framework is part of CertaWorks Wave 2 — a second set of built tools productized from a working cognitive agent. It's on npm now. Tell us what you're running it against, what broke, or what you'd want next — we read every note.

← Product 18: Curiosity Protocol Controller Next: Product 20 · Wave 2 Plugin Runtime →