TPMN-PSL v0.1.2 · Public · CC-BY 4.0

Don't write prompts.
Write specifications.

The open epistemic markup standard for AI reasoning. Platform-agnostic. Formally grounded. Built to make AI know what it doesn't know — and mark it at every step.

Read the Spec See the 5 Symbols

The difference TPMN makes

Same information. One version is auditable. One isn't.

Without TPMN
This architecture scales well and will handle production load. The latency will stay under 50ms at peak traffic. The team agrees this is the right approach.
With TPMN
This architecture handled 10k RPS in staging .
Production load is estimated at 15k RPS (Q3 traffic model).
Latency under 50ms at peak (no production benchmark yet).
Team consensus on approach (3 of 4 engineers).

The 5 epistemic symbols

Every non-trivial claim in a TPMN-governed output carries exactly one tag.

Grounded
Directly supported by input or verifiable fact
Inferred
Derived from grounded claims; inference chain visible
Extrapolated
Beyond evidence; basis must be explicitly stated
Unknown
Knowledge gap; stops inference chain
?
Speculative
Possible but unverified

Three-phase checking protocol

P-phase validates before. Inline tags during. O-phase verifies after. All three against the same CONTRACT.

P-phase · Before
Pre-flight
Extract CONTRACT from prompt. Establish A_Priori_Grid. Define the computable MANDATE before inference begins.
Inline · During
Generation
Tag every non-trivial claim with its epistemic symbol as it is written. Continuous recalibration against the MANDATE.
O-phase · After
Post-flight
Verify output against CONTRACT. Check SPT violations. Produce EEF_Record + truth_score ∈ [0, 1]. Gate or pass.
Prompt → [P-phase] → LLM → [Inline] → Output → [O-phase] → Trust

The MANDATE

TPMN's core transformation: NL ambiguity → computable specification space.

NL prompt → MANDATE = CONTRACT + A_Priori_Grid + Panini_Categories

Once the MANDATE is established, the LLM reasons within it —
not against hoped-for intent, but against a bounded, decidable structure.
Computable
Category membership rules are decidable: ∀x ∈ D: x ∈ Sᵢ ∨ x ∉ Sᵢ
Provable
Outputs can be formally verified against the CONTRACT in O-phase
Traceable
Every claim traces back to a P-phase category or carries ⊬ escalation
Bounded
Scope is explicit. Out-of-scope claims are structurally prohibited without ⊬

Structural Prohibition Taxonomy

Three inference patterns that TPMN-governed output must never produce.

S → T
State → Trait
"This model is slow" (benchmark result) → "This model is inherently slow" (permanent property)
L → G
Local → Global
"Works in our staging environment" → "Works in all production environments"
Δe → ∫de
Incremental → Mass
One data point → broad universal claim without stated evidence count

Start with the spec.

Read the full TPMN-PSL v0.1.2 specification. Extend it for your domain. Build on it.

Read Full Spec Extension Template