NOMOS-SPEC-001
The .nomos specification: Governance Artifact Protocol
Abstract
NOMOS-SPEC-001 defines a portable, vendor-neutral format for packaging organisational governance policies as sealed, machine-executable artifacts (.nomos files). The specification covers artifact structure, the rule expression language, confidence classification, the cryptographic sealing procedure, the execution model, the audit trail schema, and conformance requirements for compliant runtimes.
The goals are reproducibility (identical inputs produce identical outputs), auditability (every decision is traceable to a sealed rule), and interoperability (any compliant runtime can execute any conformant artifact without access to the original policy documents). Sealed artifacts may be distributed and verified independently of the producing platform; the official TypeScript SDK (@nomosprotocol/sdk) and the NOMOS Exchange provide reference implementations of the distribution and execution layers described here.
in/contains/between never took an array literal, between and scientific-notation numbers were real and undocumented, and only exists/matches are real functions. §4.1 now matches the reference evaluator exactly, re-verified with zero parse errors across all 701 real decisions.data_contract.inputs.<name>.source declares where a fact may come from: action, testimony, relying_party or presenter. (2) governance.escalations[].required_consents sets how many distinct approver keys satisfy an escalation (default 1; dual control is 2). (3) New §4.6: logic.resolution.default_outcome (allow | block | escalate, with default_escalation_id for escalate) is the sealed outcome when no decision matches. A runtime MUST apply it when present and MUST report a default it applied, so a permitted-by-default result is never presented as permitted-by-rule. A NOMOS-SPEC-008 relying party MUST treat an absent default_outcome as block.escalate decisions of equal priority name different escalation_id values: whichever was listed first would govern when both apply, so an author who happened to list the dual-approval rule second would get single approval. The author gives the two decisions distinct priorities instead. A NOMOS-SPEC-008 relying party MUST refuse such an artifact for a new authorization as MALFORMED (ambiguous_escalation); historical verification under an artifact sealed earlier is unaffected. Equal-priority escalations naming the same escalation remain valid. The reference platform enforces this as the AMBIGUOUS_ESCALATION sealing gate of scripts/lint-artifact.ts; none of its 139 repository artifacts, 5 public demonstration authorities or the EU AI Act authority contains the pattern.1–2. Conventions & Terminology
The key words MUST, MUST NOT, REQUIRED, SHALL, SHOULD, RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in RFC 2119. All examples use JSON; string values MUST be UTF-8 encoded; all timestamps MUST be ISO 8601 in UTC.
3. Artifact Structure
.nomos artifact SHOULD be saved with the .nomos extension and served with media type application/vnd.nomos+json — a registered IANA media type, reviewed and approved by the IESG-designated media type expert (2026-08-14): an independently reviewed, permanent registration, citable by any implementation without reference to this repository. Implementations MUST NOT serve a sealed artifact as a bare .json file with generic Content-Type: application/json — doing so loses the distinction between "some JSON" and "a portable governance artifact" this specification exists to establish.3.1 Top-level structure
{
"nomos_version": "1.0.0",
"meta": { ... },
"scope": { ... },
"data_contract": { ... },
"logic": { ... },
"governance": { ... },
"execution": { ... },
"audit": { ... },
"seal": { ... }
}agents (NOMOS-SPEC-002), provenance (compilation lifecycle record), and attestations (NOMOS-SPEC-004). Runtimes MUST ignore top-level keys they do not recognise rather than rejecting the artifact. nomos_version MUST equal "1.0.0" for artifacts conformant with this specification's structure requirements (§3–§4) — a runtime that does not recognise it MUST refuse to execute the artifact.3.2 The eight sections
4. Rule Expression Language ("Nomos-Expr v1")
Each decision's when field is a string in a small, deterministic expression language — not a condition-tree object. This section is normative against the reference implementation's actual parser (server/lib/rule-evaluator.ts), re-verified directly against 701 decisions of a real, live sealed artifact — not an idealised design that was never implemented.
in, contains, and between all take a single quoted string, not an array literal — [...] is not valid syntax; multiple values are comma-joined inside one string. Numbers MAY use scientific notation (real extracted thresholds routinely need it). There is no arithmetic — +/-/*// as binary infix operators do not exist; a threshold requiring arithmetic MUST be pre-computed into a single comparable field by the producer. Only exists and matches are real functions — no other name (len, lower, startsWith) is implemented; a when string calling one fails to parse. A runtime MUST evaluate deterministically and MUST NOT fail silently on an unparseable expression.4.1 Decision object
{
"id": "<string>",
"description": "<string>",
"when": "<Nomos-Expr v1 string>",
"then": [ { "type": "allow | block | escalate | set | emit | action", "...": "..." } ],
"else": [ { ... } ],
"priority": 100,
"provenance": {
"source_id": "<optional>", "source_name": "<optional>",
"extractor_version": "<optional>", "extraction_timestamp": "<optional>"
}
}id, description, when, then, and priority are REQUIRED; else MAY be an empty array. provenance is OPTIONAL but RECOMMENDED for any decision derived from a source document. A runtime MUST evaluate eligible decisions in descending priority order and apply outcomes per logic.resolution.conflict_policy when more than one is eligible.agents manifest (NOMOS-SPEC-002 §1), which the seal covers like every other section.when as a structured tree object rather than a string — a distinct, older internal representation, MUST NOT be produced by new conformant producers. A runtime encountering it internally MUST convert it to the string form before treating an artifact as spec-conformant.5. Confidence Classification
Two separate, non-interchangeable vocabularies exist in the reference deployment. A runtime MUST NOT conflate them, and a conformant producer MUST use the one appropriate to what it is producing.
5.1 Verification tier — sealed artifacts (meta.verification_tier)
meta.verification_tier verbatim from the sealed artifact and MUST NOT infer or override it independently.5.2 Confidence band — un-sealed public demo artifacts only
The reference deployment's public demo catalog uses a separate field, confidence_band, with values DECLARED | VALIDATED | CERTIFIED. These artifacts do not go through §8's sealing procedure and carry no seal block in the §3.2 sense. DECLARED means the rules reflect standard industry practice, not empirically validated thresholds — every artifact currently in the public demo catalog is DECLARED. VALIDATED/CERTIFIED are reserved for a forked, behaviourally-triangulated version; none is shipped as of this version.
6. Execution Model
The reference deployment exposes two separate, real execution APIs, serving different artifact populations with different authentication and response shapes. A conformant runtime implementing only one is not thereby non-conformant with the other — pick the surface matching your artifact population; do not assume the two are interchangeable.
6.1 Domain execution — POST /api/nomos/execute
Session-authenticated, for artifacts loaded via the enterprise "Domain" model. Version negotiation: send Accept-Nomos-Version: 1.0.0 for the spec-compliant ExecutionReceipt (fields include execution.status: allowed | blocked | escalated | deferred, trace.{constraints, decisions, actions, escalation}, inputs.{missing_required, confidence}); omit it for the legacy format. Content-Nomos-Version echoes which was returned.
6.2 Exchange execution — POST /api/v1/verify and POST /api/v1/verify-decision
API-key (X-Nomos-Api-Key) or session-authenticated. /verify serves the public demo catalog only (pub_* ids, no auth); /verify-decision serves everything else (art_*, Exchange catalog slugs, dom_* domain routing), routed by artifact_id prefix. The response carries verdict: approved | rejected | escalated, the matched rule, an evaluation breakdown, confidence, audit.hash, and — only when applicable, omitted otherwise rather than null — classifications, obligations, incomplete_inputs, paths_to_approval, expired_rules, replay, active_decision_type.
caller.correlation_id is accepted on both APIs and recorded in the audit trail, but neither API deduplicates or caches a response by it as of this version — a repeated call re-executes and produces a new audit entry. Treat correlation_id today as a trace identifier only, not a dedup key./api/v1/* MUST include X-Verifications-Used, X-Verifications-Limit, X-Overage, and X-Overage-Count headers.7. Audit Trail
Every execution appends one entry to a hash chain, keyed per artifact (Domain execution) or per Studio session (Exchange execution):
entryHash = SHA-256( previousHash + "|" + JCS(eventData) + "|" + timestamp )
genesisHash = SHA-256( "genesis:" + chainId + ":" + timestamp ) // used as previousHash for the first entryJCS(eventData) is the RFC 8785-canonicalised event payload for that entry; "|" is a literal delimiter preventing length-extension ambiguity between the three concatenated components. A verifier MUST walk the chain from genesis to tip and confirm each entryHash recomputes correctly — any gap or mismatch indicates chain corruption.The Exchange's separate public-query surface (a read-oriented "ask this artifact a question" endpoint, not an execution API under §6) computes a simpler, non-chained integrity hash per query: audit_hash = SHA-256(JCS({ query_id, seal_hash, inputs, verdict, queried_at })) — suitable for confirming one query response was not altered, but not a hash chain and does not itself detect a missing or reordered query.
8. Sealing Procedure
Sealing is a one-way operation. Once sealed, an artifact's payload MUST NOT be modified — any modification invalidates the seal.
seal.hash = SHA-256( JCS(artifact_without_seal_and_attestations) )
payload = JCS({ hash: seal.hash, signed_by: seal.signed_by }) // this is what gets signedseal and attestations (NOMOS-SPEC-004) are excluded from the hash input — seal cannot cover itself, and attestations are added after sealing by third parties without invalidating the original seal.A conformant producer signs payload using one of, in order of preference: Ed25519 (RECOMMENDED — asymmetric, publicly verifiable with only the published public key, no shared secret); RS256/EC (asymmetric, caller-supplied key); HMAC-SHA256 (symmetric, dev/fallback only — MUST NOT be represented as publicly verifiable, since the verifier needs the same secret as the signer).
status: "sealed" MUST have actually executed a signing step and populated a non-null signature — a hash-only artifact (hash populated, signature: null) is not conformant, however common a coding mistake it may be.Ed25519 public keys are published at /.well-known/nomos-signing-keys as [{ kid, algorithm: "Ed25519", public_key_pem }]. kid is a deterministic content hash of the public key (first 16 characters of base64url-SHA-256 of the SPKI-encoded key), allowing key rotation without invalidating verification of seals made under a retired key, as long as its public key remains available.
hash_match (recompute the canonical hash, compare to seal.hash) and signature_valid (verify against the resolved public key) MUST both use timing-safe comparison, and a verifier MUST report them as distinct booleans, not only a combined verified — a hash-only artifact is a real, distinguishable state (content pinned, not signed), not identical to "verification failed."9. Conformance
A compliant runtime: refuses to execute an artifact whose nomos_version it does not recognise; evaluates logic.decisions per §4 in descending priority order, applying conflict_policy when multiple are eligible; enforces governance.constraints on every execution independent of decision evaluation; verifies required_fields before evaluating, per whichever API surface (§6) it implements; appends a hash-chained audit entry (§7) for every execution, or a per-query audit hash for every read-oriented query; preserves meta.verification_tier verbatim (§5.1) without inferring or overriding it.
A compliant producer: generates artifacts that validate against schema/artifact.schema.json; seals per §8, populating a real, non-null signature whenever seal.status is "sealed" — never hash-only; assigns meta.verification_tier per §5.1's ascending criteria, never claiming proven or sovereign without the evidence those tiers require; populates decision provenance for every decision derived from a source document.
10. Security Considerations
Signing key protection
The signing key is the root of trust for all artifacts. For Ed25519, the private key MUST be stored in a secrets manager and never embedded in code, version control, or the artifact; only the public key is published, safely, since it cannot forge a seal. For HMAC, the shared secret is both signer and verifier and MUST be treated as a top-level secret. Making seals publicly verifiable removes the verification secret, not the signing secret.
Key provenance
Publishing a public key at /.well-known/nomos-signing-keys binds trust to the domain's TLS certificate. Deployments requiring a stronger anchor SHOULD pin the key out of band or record its publication in an append-only transparency log.
Context injection
Runtimes MUST NOT evaluate user-supplied strings as arbitrary code — when/constraint expression evaluation (§4) MUST be performed by the deterministic Nomos-Expr v1 evaluator only.
Audit trail integrity
The hash-chain audit trail (§7) is append-only. Runtimes MUST NOT expose a deletion endpoint for audit entries.
Verification tier downgrade
Altering meta.verification_tier without re-sealing constitutes misrepresentation of provenance. Runtimes MUST preserve it verbatim from the sealed artifact.
Idempotency gap
Per §6, correlation_id is not currently a dedup key on either execution API — a caller relying on it for exactly-once semantics will not get them. A real, disclosed gap, not a documentation omission.
11. Error Catalog
The two execution APIs (§6) do not share a single error-code vocabulary — a real, disclosed inconsistency, not papered over with an idealised unified table.
11.1 Domain execution
Returns { "error": "<message>" } with an HTTP status and no machine-readable code field. A caller must match on HTTP status and message text: 400 (invalid request/domain id), 401 (authentication required), 403 (access denied), 404 (not found).
11.2 Exchange execution
Returns { "error": "<message>", "code": "<UPPER_SNAKE_CASE>" } — both fields REQUIRED on this surface:
code.12. SDK & Distribution
The official SDK (@nomosprotocol/sdk, on npm) is a zero-dependency, fetch-based typed client, auto-retrying on rate limits and transient errors.
NomosAuthenticationError, NomosAuthorizationError, NomosRateLimitError, NomosValidationError, NomosNotFoundError, NomosAPIError, NomosNetworkError) all extend NomosError, carrying a lowercase_snake_case code from NomosErrorCode — distinct from the transport-level code values in §11.2.The NOMOS Exchange is the distribution layer for sealed Studio artifacts: publishers list a sealed artifact, consumers query it via §6.2 or fork it into their own Studio session. The reference deployment ships five pre-built, un-sealed demo artifacts callable via POST /api/v1/verify with no authentication — pub_lending_v1, pub_refund_v1, pub_fraud_v1, pub_hr_leave_v1, pub_kyc_v1 — all currently DECLARED (§5.2).
Multi-Agent Governance Extension
Extends NOMOS-SPEC-001 v2.0.0 · Agents manifest · Runtime guard algorithm
Status
Active
Version
1.2.0
Published
2026-06-05
Updated
2026-07-27
Abstract
NOMOS-SPEC-001 defines a sealed governance artifact and a deterministic execution model. It specifies what decisions to make. It does not specify who may request those decisions.
This document extends NOMOS-SPEC-001 with an agents manifest — a top-level field that registers the per-agent permissions, deny lists, and audit requirements that a compliant runtime MUST enforce before rule evaluation begins. It also defines the runtime guard algorithm and the permissive-mode default for artifacts that omit the manifest.
NOMOS-SPEC-001 artifacts remain valid under a NOMOS-SPEC-002 runtime without modification. The agents field is optional and defaults to permissive mode.
1. Agents Manifest
The agents field is a top-level object in the artifact, keyed by agent identifier. Each value is an AgentDefinition. The field MUST be included in the seal hash computation.
nomos_version to a single protocol version ("1.0.0") shared by every artifact, extended or not. A runtime detects NOMOS-SPEC-002 support requirements structurally, by the presence of the agents field itself: absent or empty ({}), any conformant NOMOS-SPEC-001 runtime — including one with no NOMOS-SPEC-002 support at all — MAY execute it directly; present and non-empty, a runtime that does not implement the guard MUST NOT execute the artifact as if agents were absent — doing so would silently drop every cannot_call restriction the artifact declares. It MUST instead refuse execution with an error such as agents_manifest_unsupported, naming the specific gap rather than a generic version mismatch. This replaced an earlier spec_version field mechanism (pre-2026-07-27) that depended on a field NOMOS-SPEC-001 v2.0.0 no longer has — the safety property is unchanged, only the detection mechanism moved.1.1 Agent Identifier
Agent identifiers are stable strings used by callers to identify themselves. They MUST match the pattern [a-zA-Z0-9_-]+, maximum 128 characters.
1.2 AgentDefinition fields
"agents": {
"loan-processor": {
"display_name": "Loan Processing Agent",
"permissions": ["flag", "hold", "calculate"],
"cannot_call": ["auto_approve"],
"constraints": [
{ "field": "risk_score", "operator": "lt", "value": 0.6 },
{ "field": "jurisdiction", "operator": "eq", "value": "US" }
],
"audit_level": "standard"
},
"compliance-reviewer": {
"display_name": "Compliance Review Agent",
"permissions": ["auto_approve", "reject", "escalate"],
"cannot_call": [],
"constraints": [],
"audit_level": "forensic"
}
}2. Runtime Guard
A NOMOS-SPEC-002 conformant runtime MUST execute the following six phases, in order, before calling the rule evaluation pipeline. The guard runs on every execution request.
2.1 Guard modes
Advisory mode (recommended default) — Phase 3 hard-blocks; Phases 2, 4, and 6 produce an escalation tag on the result but execution proceeds. Enforce mode — all BLOCK results terminate execution. Mode MUST NOT require artifact re-sealing.
2.2 Phase definitions
2.3 Guard audit events
All guard decisions MUST be emitted to the artifact's audit stream. Guard events MUST be included at all audit levels, including minimal. They MUST NOT be suppressible.
3. Permissive Mode
An artifact with agents: {} or no agents key runs in permissive mode. In permissive mode a compliant runtime:
MUST emit a
guard_permissive event for each execution.MUST tag each result with
guard_mode: "permissive".MUST NOT reject the execution request.
Compliant authoring tools SHOULD present a non-blocking advisory when producing a permissive-mode artifact. The advisory MUST NOT prevent sealing.
NOMOS-SPEC-001 artifacts processed by a NOMOS-SPEC-002 runtime are treated as permissive-mode artifacts. No modification, re-sealing, or migration is required.
4. Execution Request Extension
Execution requests to a NOMOS-SPEC-002 runtime MUST include an agent_id field when the artifact's agents manifest is non-empty:
{
"artifact_id": "art_1c76283d-fecc-4dd6-b33e-0e3a13407933",
"agent_id": "risk-scorer",
"action": "escalate",
"context": { ... }
}agent_id is absent and the manifest is non-empty: in advisory mode the call is treated as an unregistered agent (Phase 2, escalate) and proceeds; in enforce mode it is blocked at Phase 2. If agent_id is absent and the artifact is in permissive mode, the call proceeds normally and agent_id is recorded as null in the audit trail.5. Immutability
The agents manifest is included in the seal hash. A sealed artifact's agent permissions, deny lists, and audit levels are cryptographically bound to the same hash as the rules — changing an agent's permissions REQUIRES creating a new sealed version with a new artifact_id or incremented version. The audit trail can then unambiguously record which agents manifest was in effect for any historical decision.
artifact_id but excluded from the seal hash, letting the caller set evolve without re-sealing the rules. Until that specification is published, compliant runtimes MUST treat the agents field as sealed and immutable.6. Conformance
A runtime is NOMOS-SPEC-002 conformant if it satisfies all NOMOS-SPEC-001 conformance requirements and the following additional requirements:
MUST hard-block Phase 3 (deny list) in both advisory and enforce mode.
MUST evaluate Phase 5 (constraints): walk each
SpecAgentConstraint, skip on missing field or type mismatch, block or escalate on violation.MUST emit all guard event types defined in §2.3, including
guard_constraint_violated.MUST include guard events in the audit trail at all audit levels.
MUST tag permissive-mode executions with
guard_mode: "permissive".MUST store and expose
authority and output_contract without modification.MUST include the
agents field in seal hash computation.MUST NOT gate execution on
authority or output_contract values.MUST NOT suppress guard audit events.
MUST NOT allow
agent_id omission to bypass Phase 2 in enforce mode.SHOULD default to advisory mode.
SHOULD warn authoring tools when sealing a permissive-mode artifact.
SHOULD validate
permissions and cannot_call against execution.actions at seal time (warning, not error).7. Security Considerations
Agent ID spoofing
The agent_id field in execution requests is caller-supplied. A malicious caller can claim any agent identity — the guard does not authenticate the caller, it only checks whether the claimed identity is allowed to perform the requested action. Authentication of the caller's claimed identity is outside the scope of this specification; deployments requiring it SHOULD use transport-layer credentials (API keys, mutual TLS, signed JWTs) to bind the authenticated identity to agent_id before the request reaches the runtime.
Permissive mode exposure
Artifacts sealed in permissive mode provide no caller verification. The audit trail records all calls, but there is no mechanism to detect unauthorized callers — only to observe their behaviour after the fact. Operators SHOULD monitor the guard_permissive event rate and migrate to a registered agents manifest once the caller set stabilises.
Deny list completeness
The deny list (cannot_call) is only as complete as the author makes it — an agent with permissions: ["approve", "escalate"] and an empty cannot_call is not blocked from approve, it is explicitly permitted. The allow list is the primary control; the deny list is a belt-and-suspenders check for high-risk actions where the author wants a hard guarantee that overrides any future permission additions.
8. SDK Support
The official TypeScript SDK (@nomosprotocol/sdk) surfaces agent fields transparently — callers pass agent_id as part of the decisions.verify() call, forwarded to the runtime via an x-agent-id header when the SDK detects a NOMOS-SPEC-002 artifact. The SDK does not validate agent manifests client-side; guard evaluation is runtime-only (§2).
NomosAuthorizationError responses with a guard_phase field indicating which phase blocked the call. Runtimes SHOULD include guard_mode ("permissive" | "advisory" | "enforce") in every verdict response so SDK consumers can detect the active guard posture.Temporal Validity and Staleness Signalling
Extends NOMOS-SPEC-001 v2.0.0 · NOMOS-SPEC-002 v1.2.0 · Time-bounded rules · Artifact freshness advisory
Status
Active
Version
1.3.1
Published
2026-06-24
Abstract
NOMOS-SPEC-001 defines governance rules as static — once sealed, a rule applies until the artifact is deprecated. Many institutional rules are not timeless: compliance deadlines, promotional windows, and regulatory transition periods are inherently temporal. Without first-class time bounds, authors must create and deprecate entire artifacts to handle transitions that are structurally just date ranges.
This document adds valid_from and valid_until optional fields to the Rule schema, allowing a single artifact to express multiple time-bounded rule sets sealed together. It also introduces the staleness signal — a passive advisory in the execution response envelope that fires when an artifact's behavioral baseline has grown stale. The signal is informational only and never changes the verdict.
NOMOS-SPEC-001 and NOMOS-SPEC-002 artifacts remain valid under a NOMOS-SPEC-003 runtime without modification.
1. Temporal Validity — Rule Schema Extension
1.1 New fields
Two optional fields are added to the Rule object defined in NOMOS-SPEC-001 §3:
1.2 Interval semantics
The temporal validity interval is half-open: [valid_from, valid_until).
valid_from present, execution instant before valid_from → rule MUST be skipped.
valid_until present, execution instant at or after valid_until → rule MUST be skipped.
Neither field present → rule is unconditionally active (all SPEC-001/002 behavior preserved).
Only valid_from → activates at that instant, never expires.
Only valid_until → active from the beginning of time until that instant.
1.3 Seal integrity
valid_from and valid_until are part of the rule object and are covered by the artifact seal. They MUST NOT be modified after sealing. Any modification invalidates the seal hash.// Regulatory cutover — two rules, one artifact
{
"id": "legacy_threshold",
"text": "Approve if amount <= 50000 (pre-2026 threshold)",
"condition": { "op": "lte", "field": "amount", "value": 50000 },
"action": "ALLOW",
"priority": 10,
"source": "policy",
"valid_until": "2026-01-01T00:00:00Z"
},
{
"id": "updated_threshold",
"text": "Approve if amount <= 35000 (2026 threshold)",
"condition": { "op": "lte", "field": "amount", "value": 35000 },
"action": "ALLOW",
"priority": 10,
"source": "policy",
"valid_from": "2026-01-01T00:00:00Z"
}2. Runtime Evaluation Algorithm
A NOMOS-SPEC-003 compliant runtime MUST extend the rule evaluation loop from NOMOS-SPEC-001 §3.5:
Capture the execution instant as a single timestamp at the start of the execution call. This value MUST NOT change during evaluation of any rule in this execution. The same value MUST be used for the ts field in the response.
For each rule, before evaluating the condition tree: check valid_from and valid_until against the execution instant per §1.2. If the rule is outside its temporal window, record a trace entry with result: "expired" and continue to the next rule.
Rules that pass temporal bounds proceed to condition evaluation per NOMOS-SPEC-001 §3.5.
// Pseudocode — extended rule loop
execution_now = capture_utc_timestamp() // once, before any rule
for rule in artifact.rules.sort(priority):
if rule.valid_from and execution_now < rule.valid_from:
trace.append({ rule_id: rule.id, result: "expired" })
continue
if rule.valid_until and execution_now >= rule.valid_until:
trace.append({ rule_id: rule.id, result: "expired" })
continue
// normal condition evaluation ...3. Audit Trace Extension
3.1 Extended result values
The result field in a decision trace entry (NOMOS-SPEC-001 §12) is extended:
3.2 Audit requirement
result: "expired" for every rule skipped due to temporal bounds. The audit trail MUST reflect the complete rule set considered at execution time — including rules that were present but outside their active window. A verifier MUST be able to determine, from the audit trace alone, which rules were active and which were expired at the moment of each past decision.// Audit trace — execution on 2026-06-01 (after regulatory cutover)
"decision_trace": [
{ "decision_id": "legacy_threshold", "result": "expired" },
{ "decision_id": "updated_threshold", "result": "matched",
"outcome": "allow" }
]4. Staleness Signal
4.1 Triangulation baseline
When an artifact is sealed following a triangulation run (validation against real decision data), the compliant runtime SHOULD record a triangulation baseline:
This baseline is stored by the runtime, not embedded in the sealed artifact — keyed by artifact_id + artifact_version.
4.2 Delta computation and threshold
delta = current_execution_count - decision_volume_at_triangulation
default staleness_threshold = 500delta ≥ staleness_threshold AND a triangulation baseline exists, the runtime MUST include a staleness_advisory in the execution response. The advisory MUST NOT affect the verdict, audit hash, or any other required response field. If no baseline exists (e.g. artifact sealed in policy-only Quick Mode), the signal MUST NOT be emitted.5. Execution Response Extension
One optional field is added to the execution response defined in NOMOS-SPEC-001 §12:
5.1 staleness_advisory
{
"verdict": "proceed",
"allowed": true,
"artifact_id": "art_1c76283d-...",
"ts": "2026-06-24T14:00:00Z",
"audit_hash": "a3f9c1d2e4b5f6...",
"contradictions": 0,
"staleness_advisory": {
"triangulated_at": "2026-05-30T09:41:00Z",
"decisions_since_triangulation": 503,
"threshold": 500,
"recommendation": "consider_retriangulation"
}
}6. Conformance
A runtime claims NOMOS-SPEC-003 conformance if it satisfies all NOMOS-SPEC-001 requirements and the following:
MUST check
valid_from / valid_until before evaluating any rule's condition tree.MUST record
result: "expired" in the trace for every temporally skipped rule.MUST record the triangulation baseline when sealing after a triangulation run.
MUST include
staleness_advisory when delta ≥ threshold and a baseline exists.MUST NOT allow the staleness advisory to affect the verdict or audit hash.
MUST execute NOMOS-SPEC-001 and NOMOS-SPEC-002 artifacts identically to prior spec versions.
6.1 Conformance levels
7. Deterministic Replay
A NOMOS-SPEC-003 compliant runtime MUST support an optional execution_at field in the execution request. When present, the runtime uses that timestamp as the execution instant instead of the current clock. This enables a caller to reconstruct exactly what verdict would have been produced at any past moment — a requirement for regulatory audit, incident investigation, and backtesting.
7.1 execution_at field
7.2 Runtime behaviour
If execution_at is present, parse it as an ISO 8601 UTC datetime. If parsing fails, return 422 INVALID_EXECUTION_AT.
If execution_at is in the future (strictly after the server clock), return 422 INVALID_EXECUTION_AT. Future replay is not permitted.
Set executionNow = execution_at. Use this value for all temporal bound checks per §2. The same value MUST be used for the ts field in the response.
Persist execution_at to the audit record so a verifier can confirm which instant was used.
Include replay: true in the response envelope when execution_at was supplied.
7.3 Determinism guarantee
inputs, and the same execution_at, a conformant runtime MUST produce an identical verdict on every invocation. This guarantee holds as long as the artifact is unmodified. Implementations MUST NOT introduce any non-deterministic state (random seeds, external service calls that may differ) into the rule evaluation path during replay.replay: true). They SHOULD NOT increment quota counters, staleness deltas, or drift metrics — they are observations, not new decisions.// Replay request — "what verdict would have fired on 2026-01-01?"
POST /api/v1/verify-decision
{
"artifact_id": "art_7f3c9a...",
"decision": "loan_application_review",
"inputs": { "amount": 45000, "credit_score": 730 },
"execution_at": "2026-01-01T00:00:00Z"
}
// Response
{
"allowed": false,
"outcome": "escalated",
"ts": "2026-01-01T00:00:00Z",
"replay": true,
"execution_at": "2026-01-01T00:00:00Z",
"expired_rules": ["updated_threshold"],
"audit_hash": "c9d6e3f0a7b4c1d8..."
}8. Security Considerations
Clock integrity
Temporal bounds depend on the runtime clock. A compromised or manipulated clock can cause active rules to appear expired, or expired rules to appear active. Runtimes operating in high-integrity environments SHOULD use a trusted time source (NTP with authentication, HSM clock); the execution instant recorded in the audit trace and the response's ts field lets a verifier cross-reference it against external time sources. In architectures where the calling service and the policy runtime are separate processes, clock skew between hosts can make the same rule appear active on one node and expired on another — the correct mitigation is not to fix clocks (drift is unavoidable) but to use execution_at (§7): the initiating service captures one timestamp from its own clock and propagates it, eliminating inter-service skew. Implementations operating as policy sidecars or remote services SHOULD document this pattern and encourage callers to supply execution_at explicitly.
Staleness advisory integrity
The staleness_advisory is computed from the runtime's own execution log and is not part of the sealed artifact — it cannot be forged by an artifact author, but it can be omitted by a non-compliant runtime. Consumers relying on it for governance assurance SHOULD verify the runtime is NOMOS-SPEC-003 conformant before treating its absence as evidence of freshness.
Replay integrity
The execution_at field is caller-supplied and not part of the sealed artifact. A malicious caller could supply any past timestamp to observe how the artifact would have behaved at a different moment — by design, since historical verdicts are not secret. Runtimes MUST reject future timestamps to prevent speculation about rules not yet active; replay executions SHOULD be marked in the audit trail so auditors can distinguish live decisions from retrospective reconstructions. The determinism guarantee means the verdict for a given (artifact, inputs, execution_at) triple is reproducible by anyone holding the artifact and inputs — treat the artifact as a public document if replay transparency is a concern.
Composable Artifacts and Third-Party Attestations
Extends NOMOS-SPEC-001 v2.0.0 · NOMOS-SPEC-002 v1.2.0 · NOMOS-SPEC-003 v1.3.1 · One base rule set, many children · Regulator/auditor co-signing
Status
Active
Version
1.4.0
Published
2026-07-13
Abstract
Two optional, backward-compatible capabilities. Composition solves a maintenance problem: the same rule — "a teacher needs a Bachelor's degree", "escalate cross-border transactions over AED 10,000" — is copied across many artifacts, and the copies drift. A base artifact owns the shared rules; a child declares extends and carries only its overlay (the rules it overrides, adds, or removes). The child's effective rule set is resolved at build time into a single self-contained sealed artifact — the runtime and verifier need nothing but the child.
Attestations add a second signature: a seal proves the issuer produced an artifact and it has not changed; an attestation is a detached signature by a different party (a regulator, auditor, or governing authority) recording that they reviewed and stand behind one specific version. Neither feature changes how a sealed artifact evaluates — composition is a pre-seal transform, attestation is a post-seal annotation.
1. Composition — the extends overlay
A child artifact is produced from a base artifact and an overlay. The overlay is the child's only original content:
{
"extends": { "artifact_id": "khda_teacher_base", "version": "2.0.0", "seal_hash": "…" },
"overlay": {
"decisions": [ /* auto-classified against the base by id: same id ⇒ override, new id ⇒ local */ ],
"removed": [ "police_clearance" ],
"variables": { /* derived values to add/override on the base's */ }
}
}composition provenance block recording what was inherited, overridden, removed, and local, plus extends.seal_hash pinning the exact base version inherited. It is written before sealing and is therefore covered by the seal.2. Merge Algorithm
removed; where an overlay decision shares a base id, emit the overlay decision in the base's position (an override); otherwise emit the base decision (inherited). Then append overlay decisions with no base counterpart, in overlay order (local). Merge variables (overlay wins).composed_at, output MUST be byte-identical. A removed id absent from the base is a no-op recorded as a warning, not an error.3. Attestations
An attestation is a detached signature, in a top-level attestations array, added after sealing by a party other than the issuer:
{
"attester": { "name": "KHDA", "org_id": "27", "role": "regulator" },
"statement": "Reviewed and approved for AY2026",
"artifact_hash": "a3f9c1d2e4b5…", // MUST equal the artifact's seal.hash
"artifact_version": "1.2.0",
"algorithm": "Ed25519",
"kid": "…", // attester public-key id
"signature": "…", // base64 Ed25519 over the canonical payload
"attested_at": "2026-07-13T00:00:00Z",
"revoked_at": null
}JCS({ artifact_hash, artifact_version, attester, statement, attested_at }) — and nothing else. A producer MUST persist the exact attested_at string that was signed.kid at /.well-known/nomos-signing-keys, where org-scoped keys carry an org_id), and (2) the binding — artifact_hash == seal.hash. The binding check prevents replaying a genuine attestation onto a different version.revoked_at. A revoked attestation remains cryptographically genuine but MUST be treated as not valid for reliance.4. Seal-Hash Exclusion
seal and attestations. The seal covers the artifact minus these two fields. This is what allows an attestation to be appended (or removed) without invalidating the seal.attestations field, so the computation is unchanged for every existing artifact. Verifiers MUST strip attestations before recomputing the hash.5. Conformance
composition is present, the merged logic MUST be consistent with §2 against the referenced base. If attestations is present, every entry MUST verify under §3 or be reported as invalid — a consumer MUST NOT treat an unbound or signature-invalid attestation as an endorsement. A producer that supports attestations MUST exclude attestations from the seal hash (§4).6. Security Considerations
Composition does not launder authority
A child that extends a base still stands on its own seal — inheriting a base rule is not a claim that the base's authority signed the child. composition.extends.seal_hash records which base version was the input, for audit.
Attestations are additive, not gating
Presence of an attestation does not change evaluation; absence does not block it. A relying party decides how much an attestation is worth.
Replay
The binding check (§3) is mandatory precisely because a signed attestation is portable — without it, a valid attestation for version A could be presented alongside version B.
Public Query Extension
Extends NOMOS-SPEC-001 v2.0.0 · Keyless queries · Transcripts · Guided interaction · Decision atlas
Status
Draft
Version
1.5.0
Published
2026-07-22
Abstract
NOMOS-SPEC-001 §6 specifies an authenticated execution model — API key or session, domain_id scoping, a caller object. It is not the right shape for asking a public artifact — a published, sealed policy anyone should be able to query — whether an action is allowed, with zero setup. This document specifies that mode: wholly additive, no existing required field touched, a runtime implementing only the authenticated model remains fully conformant without it.
Four capabilities: public query (§1, MUST) — a keyless request/response for a verdict; transcript retrieval (§2, MUST) — fetching a past query by id, unchanged, any time; guided interaction (§3, RECOMMENDED) — a stateless endpoint compiling an artifact's rules into progressive plain-language screens; and the decision atlas (§4, OPTIONAL) — the whole rule set as browsable data. None change how a sealed artifact evaluates — this is an alternative transport and authentication mode around NOMOS-SPEC-001 §6.4's existing evaluation semantics, not a redefinition of them.
1. Public Query
Submit POST /query against a public artifact — no API key, session, domain_id, or caller required or accepted:
{
"inputs": { "<field>": "<value>", ... },
"action": "<optional label, ≤ 200 chars>"
}inputs SHOULD match the artifact's data contract; a runtime MUST NOT reject unknown keys, and MUST NOT silently default an absent field to false/0/"" when evaluating a condition that depends on it.{
"verdict": "AUTHORIZED | DENIED | ESCALATED",
"verdict_description": "<string>",
"matched_rule_id": "<string | null>",
"open_higher_priority_count": "<integer>",
"query_id": "<string>",
"audit_hash": "<string>",
"queried_at": "<ISO 8601 UTC>",
"latency_ms": "<integer>"
}verdict is one of three: AUTHORIZED — permitted under the artifact's rules; DENIED — a blocking rule matched, and the caller MUST NOT proceed; ESCALATED — no rule reached a definitive outcome, or a rule explicitly requires human review. query_id MUST be unguessable (≥ 80 bits of entropy) — a bearer capability to one past query, not a sequential id. audit_hash binds query_id, the artifact's seal hash, inputs, verdict, and queried_at, and MUST be independently re-computable by any transcript holder without calling the runtime.1.1 Completeness disclosure
A query MAY be submitted with inputs that leave some rule conditions unresolved — deliberately, so a caller who does not yet know every fact still gets a real verdict rather than an exhaustive form first. open_higher_priority_count is the count of rules with priority strictly higher than the matched rule whose condition evaluates to unknown given the supplied inputs.
open_higher_priority_count > 0 is a disclosure, not an error, and MUST NOT block returning a verdict. It MUST be computed once, at evaluation time, from the exact rule set bound in audit_hash — never recomputed later against a possibly-revised rule set — and MUST NOT be included in the audit_hash computation itself, since it is independently re-derivable and not itself a fact being attested to.2. Transcript Retrieval
GET /queries/{query_id}, no authentication, returns the same object as §1's response, unchanged, at any point after the original query.
audit_hash MUST be a content hash (e.g. SHA-256) over exactly { query_id, seal_hash, inputs, verdict, queried_at }, canonically serialised — independently recomputable by any transcript holder from the artifact's public seal hash and the transcript's own fields, without calling the runtime. This is a spot-check of transcript integrity; it is not the artifact's own NOMOS-SPEC-001 §8.1 seal and does not substitute for it.3. Guided Interaction (RECOMMENDED)
A stateless endpoint that compiles an artifact's own rules into a small number of screens, so a form, wizard, or chat flow can be built without hardcoding field names. Statelessness is normative: the response depends only on which fact keys are present in inputs (a field being null counts as present — "asked, not sure" — distinct from absent). A runtime MUST NOT require session state to interpret the next call.
Exactly one of three screens per request, chosen as a pure function of which fields are present: situation (ranked, high-signal fields, offered first), checklist (single-condition gate rules, grouped by consequence), and conditional_verdict (a provisional or firm verdict plus every still-open higher-priority condition as a resolvable caveat).
situation option's source field MUST honestly reflect its provenance — definition, annex, rule_graph, authored, or unsourced — and a runtime MUST NOT present a derived or authored label as if it came from the artifact's own defined text. Labels MUST be produced deterministically from the artifact's own contents, and MUST NOT be generated by a language model at request time.conditional_verdict's firm MUST be true if and only if caveats is empty, and when firm is true, submitting the same inputs to §1 MUST produce the identical verdict and matched_rule_id — a conditional verdict MUST NOT diverge from the real evaluation it summarises.inputs only when a caller actually provided it.4. Decision Atlas (OPTIONAL)
GET /atlas, no authentication. Every decision-bearing rule in the artifact, grouped by the verdict it produces if matched, using the rule's own description text. Informational/non-decision rules MUST be excluded from every count and group.
5. Conformance & Security
open_higher_priority_count is excluded from audit_hash, a runtime MUST compute it server-side at evaluation time — never accept it as caller-supplied, never omit it to imply completeness that was not verified.Artifact Revocation
Extends NOMOS-SPEC-001 v2.1.0, NOMOS-SPEC-004 v1.4.0 · Detached, issuer-signed withdrawal of a sealed version
Status
Active
Version
1.6.0
Published
2026-08-25
Abstract
A seal (NOMOS-SPEC-001 §8) proves an artifact was produced by a given issuer and has not been altered since. It says nothing about whether that issuer still stands behind it today. NOMOS-SPEC-003 §6's staleness signal is adjacent but not this — advisory drift, computed by the runtime, never affecting the verdict. NOMOS-SPEC-004 §2.5 is adjacent but not this either — it lets a third party withdraw its own endorsement of a version it does not own. Neither gives the issuer itself a way to say "this artifact is no longer authoritative": a compromised signing key, an artifact sealed from corrupted source data, a regulatory order to withdraw a ruleset.
This document specifies that mechanism as a detached signed statement — never a mutation of the sealed artifact, for the same reason NOMOS-SPEC-004 attestations are detached: the seal must never need to change after sealing. It defines the statement (§1), a signed, dated aggregation for offline bulk-checking (§2, the CRL-equivalent), normative verifier behaviour including the honest handling of an unreachable revocation source (§3), and a cache-freshness hint for callers holding a verdict in memory (§4). Revocation is issuer-only in this version — only the key that sealed a version may revoke it, mirroring NOMOS-SPEC-004 §2.5's attester-revokes-its-own-attestation model exactly. No new authority concept.
revoked_at — NOMOS-SPEC-004 §2.3 already defines it as an unsigned annotation on an already-signed object, and a revocation statement's timestamp is signed content. This document uses issued_at throughout.1. The Revocation Statement
A standalone object, produced once by the issuer, never embedded in or mutating the artifact it revokes:
{
"artifact_id": "khda_teacher_licensing",
"artifact_version": "1.2.0",
"artifact_hash": "a3f9c1d2e4b5…", // MUST equal that version's seal.hash
"reason": "Signing key rotated after suspected compromise.",
"algorithm": "Ed25519",
"kid": "…", // the ISSUER key that sealed the artifact
"signature": "…",
"issued_at": "2026-08-25T00:00:00Z"
}JCS({ artifact_id, artifact_version, artifact_hash, reason, issued_at }) — algorithm, kid, and signature describe or annotate the signature and MUST NOT be part of the signed message. A verifier MUST check both binding (statement.artifact_hash == artifact.seal.hash for the version being checked) and authenticity (the signature verifies against the key resolved by kid). An unbound statement — right artifact_id, wrong artifact_hash — MUST be treated as not applicable to the version being verified, not as revoking it.kid MUST resolve to the same key that produced the artifact's own seal. A verifier MUST reject a statement signed by any other key — including a third-party attester's NOMOS-SPEC-004 key — as not a valid revocation. An attester who disagrees with an artifact's continued validity has exactly one lever: revoke their own attestation; this document defines no mechanism for anyone but the original issuer to revoke an artifact.2. The Revocation List
The statement is authoritative but does not solve discovery — a verifier holding only a .nomos file has no way to learn one exists. A conformant issuer that supports revocation MUST publish its current list at GET /.well-known/nomos-revocations, sibling to the signing-keys endpoint (NOMOS-SPEC-001 §8.4):
{
"generated_at": "2026-08-25T00:00:00Z",
"algorithm": "Ed25519",
"kid": "…",
"statements": [ /* every currently-active statement, §1, verbatim */ ],
"signature": "…" // Ed25519 over JCS({ generated_at, statements })
}statements array is a normal, well-formed response asserting "nothing has been revoked as of generated_at," and MUST be signed like any other list. The list signature attests completeness and currency as of generated_at; each statement's own signature independently attests its own authenticity and remains verifiable even if extracted from the list. A given endpoint's list covers only artifacts sealed by keys belonging to that deployment — there is no cross-issuer aggregation in this version.3. Verifier Behaviour
When a revocation statement or list is reachable, a verifier MUST check binding and authenticity (§1), and if a bound, authentic statement exists for the exact artifact_hash being verified, report the artifact as REVOKED — a distinct result from verified: false; revocation is not the same finding as a tampered or forged seal. If checking a list, its own signature MUST be verified before trusting its contents — but an individually-valid statement extracted from a list whose signature fails MUST still be honoured if it independently passes the binding/authenticity check; a corrupted list transport must not hide a genuine revocation, though the list as a whole MUST be reported as untrusted.
hash_match/signature_valid unaffected, and MUST print or return an explicit, unmissable notice that revocation was not checked and the artifact's current standing is unknown — it MUST NOT represent an unchecked artifact as equivalent to one confirmed not-revoked. This is a deliberate fail-open-but-loud design: failing closed on an unreachable list would turn a transient network problem, or ordinary offline verification, into a hard block on results NOMOS-SPEC-001 already fully supports.4. Cache Freshness for Query Responses
A public query (NOMOS-SPEC-005) or execution response is point-in-time — correct when issued, silent on how long a caller holding it in memory may keep trusting it before re-checking revocation. NOMOS-SPEC-003 §6's staleness_advisory is not this signal; it reports drift since triangulation, not revocation risk.
max_age (integer seconds) — the RECOMMENDED maximum time a caller SHOULD hold a verdict before re-checking. Absent max_age, callers SHOULD apply a conservative default (RECOMMENDED: 300 seconds) rather than caching indefinitely. It MUST NOT be required for conformance; a runtime unable to derive a meaningful value SHOULD omit it entirely rather than emit a fixed value implying a guarantee it is not making.max_age on the public query path (nomos.can() / POST /api/exchange/artifacts/:id/query) but not yet on the authenticated execution path (verify-decision) — this section's normative text covers both; the implementation currently covers one.max_age tells a caller how long to trust a verdict before re-checking. A constraint whose value depends on cumulative history (a spending limit consumed across many calls) is a different question, and a stateless per-call check cannot conserve it. It is answered by conserved state: a ledger that holds, spends and returns capacity through reserve, settle and release, and supplies its own consumed total to the rules as a relying_party fact (NOMOS-SPEC-008 §7; Computable Authority R-12 and R-13). Cache freshness and conserved state stay separate mechanisms.5. Deprecation, Conformance & Security
Two unrelated things share the word "deprecation" and neither is revocation. Spec-version deprecation governs when a specification document itself moves toward end of life — sealed artifacts remain forever valid regardless. Registry-level version deprecation (e.g. a newer policy version superseding an older one) has no normative definition in this spec family — a version in that state remains genuinely valid for verifying decisions made under it unless separately, explicitly revoked. Routine version supersession and "this should not have been relied upon" are different claims.
kid does not resolve to the artifact's own issuer key.Chain-of-Trust Key Certificates
Extends NOMOS-SPEC-001 v2.2.0 · Uses NOMOS-SPEC-010 · Recognising an issuer, a witness or an approver with no prior relationship, entirely offline
Status
Draft
Version
1.9.0
Published
2026-08-27
Revised
2026-10-26
Abstract
Every trust mechanism NOMOS-SPEC-001 through 006 resolves a key the same way: a flat lookup, published from one place — /.well-known/nomos-signing-keys for seals, an org's own published key for an attestation, the artifact's own issuer key for a revocation. That is sufficient when the relying party already knows to ask a specific deployment. It does not generalise to a foreign system that has never heard of that deployment and has no reason to call it.
Paper 5, "Bounded Contextual Authority," names this gap precisely: none of the existing mechanisms let an independent system with no prior relationship to the issuer recognise that issuer, live, at the moment of an action, without a call home. This document specifies the primitive that closes it — a key certificate: one key certifying that another key is authorised to sign, within an optional scope and until an expiry, chained back to a root the relying party has independently decided to trust. Verification resolves entirely from the presented material and one pinned public key — no directory lookup, no prior registration, no network call. Deliberately the same delegation pattern a browser uses against its pinned root certificate store, built on NOMOS's existing primitives (Ed25519, RFC 8785 JCS) and the same detached-statement discipline NOMOS-SPEC-004 and NOMOS-SPEC-006 already established.
Revision 1.8.0 extends the same certificates to the two other kinds of key an authority decision depends on: witnesses, certified to state particular facts, and approvers, certified to consent in particular roles (§2). It replaces the 1.7.0 root-first walk with target-first resolution (§3), because a certificate set covering several keys is a tree, and the walk's verdict depended on the order of a tree's certificates.
Revision 1.9.0 makes path selection scope-aware: a candidate path whose scope does not admit the purpose is a failed candidate and the next is tried, so a valid extra certificate can no longer turn an authorisation into OUT_OF_SCOPE (§3). It fixes the order of the per-certificate checks, so two verifiers report the same failure for the same presentation (§1); admits ES256 signatures and P-256 keys from NOMOS-SPEC-010; and adds two scope dimensions, suite and approver (§2).
chain-of-trust-vectors/vectors-1.11.json), each run in every presentation order it lists. The Python reference, the TypeScript prototype and @nomosprotocol/verify, which the hosted platform runs, pass every case. All are by the authors; second-party implementations are invited: run the vectors and report the result.1. The Key Certificate
{
"parent_kid": "V3HqL9zM2Nk4pQrT",
"child_kid": "8kR2Xw5dF7hJmN1s",
"child_public_key_pem": "-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----\n",
"scope": "industry:financial/lending",
"issued_at": "2026-08-27T00:00:00Z",
"expires_at": "2027-08-27T00:00:00Z",
"algorithm": "Ed25519",
"signature": "MEUCIQD…"
}child_kid MUST equal computeKid(child_public_key_pem) — a verifier MUST NOT trust a child_kid that doesn't match the material carried in the same certificate. child_public_key_pem carries the certified key inline — there is no central directory to resolve it from; that absence is the entire point of a chain that verifies without calling home. The signature is over JCS({ parent_kid, child_kid, child_public_key_pem, scope, issued_at, expires_at }), signed by the parent's private key — algorithm and signature describe or carry the signature itself and MUST NOT be part of the signed message.child_kid and reject on mismatch; verify the Ed25519 signature against the supplied parent key; and reject if now > expires_at or now < issued_at. This check alone resolves nothing about trust — it only establishes that this one certificate is a genuine, unexpired statement by whoever holds the named parent's key. §3 defines how a sequence of these becomes an actual trust decision.algorithm is Ed25519 or ES256 and names the suite of the parent's signature; a certificate is never WebAuthn-ES256-signed. child_public_key_pem is an Ed25519 or P-256 key in the canonical encoding of NOMOS-SPEC-010 §3.1. algorithm stays outside the signed payload, so every existing certificate keeps its fingerprint; the parent's key type fixes the suite, so changing the field can only make a certificate fail.On a candidate path, given the parent's key and effective scope, a verifier MUST apply these checks in this order and stop at the first that fails:
OUT_OF_SCOPE, not MALFORMED: it is signed content of a certificate its issuer really made, so it fails that candidate path while another, well-formed path may still resolve the key. MALFORMED is reserved for the shape of the presentation itself.2. Scope
A certificate's scope states the limits of the delegation, part of the signed payload. A scope is a space-separated set of dimension:value terms, all of which must hold; a dimension MUST NOT appear twice; an absent or empty scope means unrestricted. Three dimensions are matched against fields the artifact declares, and two are matched against the statement a key signs:
suite term signs only under those suites. A key without one may sign under any suite its key type supports except WebAuthn-ES256, and WebAuthn-ES256 MUST stand alone in any set. Together these make an enrolled passkey an approval key and nothing else: it cannot certify, seal or testify. Approver. The identifier need not reveal who the person is; it is the same across one person's keys and different between people. An institution typically certifies a person's enrolment key with approver:<id>, and that key certifies each of the person's passkeys. NOMOS-SPEC-008 0.6.0 counts consents by this term.artifact/industry/jurisdiction must match its meta, suite must contain the seal's suite, and any other dimension refuses. For a statement of kind claim or consent, the scope must name it in that kind's term; approver is admitted only for consent; the other statement kind and any unknown dimension refuse.claim or consent term may be introduced only on a certificate signed by the pinned root; below the root it may only narrow. A path that introduces one lower is OUT_OF_SCOPE with reason_code: "statement_below_root", so a key that may seal can never certify a witness or an approver. Candidates whose fingerprints tie are ordered by signature, so the result never depends on presentation order. Found by the machine-checked proof of Part II, Theorem 9; fixed in @nomosprotocol/verify 1.5.0.jurisdiction reads meta.jurisdiction_codes, never the free-prose meta.jurisdictions — matching the latter would pass silently on a variant spelling. Every jurisdiction an artifact declares MUST be in scope: an artifact declaring ["US-CA","GB"] under a jurisdiction:US delegation is out of scope, because requiring only an overlap would let an artifact launder any jurisdiction by also declaring one in-scope code.OUT_OF_SCOPE rather than silently intersecting it.claim or consent term is a statement key. A statement key MUST NOT be accepted as an artifact's sealing key (OUT_OF_SCOPE), and a key with no claim term MUST NOT be accepted as a witness for any fact, including a key whose scope is otherwise unrestricted. Unrestricted scope means unrestricted authority to issue rules, not authority to state facts: the party that writes the rules and the parties permitted to testify to the facts they read are separated by construction. A 1.7.0 verifier meeting a claim or consent term does not recognise the dimension and fails closed.3. Chain Verification
A relying party has three inputs: the sealed artifact, the chain (a set, not a sequence, of certificates), and a root public key it has independently pinned out-of-band — never sourced from the request itself. The set may certify several keys at once (the issuer, each witness, each approver), so it is generally a tree, not a path. To resolve a target key T (for an artifact, its seal kid), a verifier MUST resolve target-first:
Once the artifact's sealing key resolves, its seal is checked against the resolved key, once, after path selection; a hash mismatch is SEAL_INVALID, never ISSUER_NOT_RECOGNIZED. This is sound because every candidate path ends at the same key (the kid is a hash of the key), so OUT_OF_SCOPE is always decided before SEAL_INVALID. The seal MUST carry signature_algorithm Ed25519 or ES256; an HMAC seal, or none, is MALFORMED (seal_algorithm), because a chain of public keys cannot vouch for a seal that is not publicly verifiable. A witness or approver key is resolved the same way, with the statement's own signature as the final check and statement scope (§2) in place of artifact scope; its failures are reported by NOMOS-SPEC-008 as testimony or consent failures, never as an unrecognised issuer.
ALLOWED (resolves and seals verify); ISSUER_NOT_RECOGNIZED (chain doesn't connect to the root — re-presenting a different chain may fix it); KEY_REVOKED (resolves, but a key on the path was revoked — re-presenting the same chain never fixes it); CERTIFICATE_REVOKED (one certificate withdrawn, but the key remains validly certified elsewhere — a different certificate for the same key can still resolve it); OUT_OF_SCOPE (issuer recognised, but not delegated for this artifact — only a broader delegation resolves it, and it MUST NOT be collapsed into ISSUER_NOT_RECOGNIZED); SEAL_INVALID (chain resolves, artifact tampered after sealing); MALFORMED (request not well-formed — a client defect, not a trust finding). A caller needs to react differently to each. Rev. 1.9 also fixes the reason_code each failure carries, and an ALLOWED verdict reports leaf_kid, path, effective_scope and revocation_checked; two conformant verifiers produce the same values for all of them.MALFORMED. Because a kid is bound to exactly one key (§1), a certificate's validity against its parent is independent of the path it appears on, so a verifier MAY memoise certificate checks within one resolution; the reference deployment's worst case with twenty duplicated certificates is about 8 ms.4. Key Revocation and Freshness Staples
Distinct from NOMOS-SPEC-006, which withdraws an artifact's validity, signed by the key that sealed it. This withdraws a key's standing to sign at all, signed by that key's own certifying parent — mirroring NOMOS-SPEC-006 §5's issuer-only model one level down.
kid at every hop of a candidate path, not only against the chain's terminal target — a relying party checking a revoked key only at the final position would miss every other path a presenter might construct through that same key via a different certificate set. A certificate MAY also be individually revoked by fingerprint (SHA-256 over its canonical signed payload) — withdrawing one delegation while leaving the key able to act under any other certificate it holds; the outcome is CERTIFICATE_REVOKED, which MUST NOT be reported as KEY_REVOKED.Freshness staples address the relying party this document was written for: an independent system verifying entirely offline, with no revocation source of its own. A staple is a short-lived "this key is not revoked as of T" proof, signed by the kid's own certifying parent (never a platform-wide key), that a presenter attaches to what it presents.
live (checked against the verifier's own source), staple (no source of its own, but a valid staple was used), unchecked (neither — fail-open, but never fail-silent; it MUST be disclosed, never collapsed into live or staple). One uncovered kid pulls the entire path's confidence down — a verifier MUST NOT report the best result among several kids as if it applied to all of them. A verifier holding its own revocation source — even an explicitly empty one — MUST NOT consult staples at all; a staple can only ever raise confidence in a kid that would otherwise be unchecked, never override a real source. The pinned root itself is never staple-coverable — nothing certifies a root; only the relying party's own decision to un-pin it can answer whether it's still good. An ALLOWED verdict MUST carry revocation_checked: "live" | "staple" | "unchecked", and this MUST also be present on a composed §6 AUTHORIZED/DENIED/ESCALATED response. Staples cover key revocation only — a verifier MUST NOT let a staple suppress a CERTIFICATE_REVOKED result. Since rev. 1.9 a staple is Ed25519 or ES256 and counts for a hop only if the parent's effective scope permits that suite.5. The Verification Request/Response
POST /verify
{
"version": "1",
"artifact": { /* sealed .nomos artifact */ },
"key_certs": [ /* key certificate objects, §1, any order */ ],
"root_public_key_pem": "-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----\n",
"freshness_staples": [ /* optional, §4 */ ],
"facts": { /* optional, §6 */ },
"action": "optional human-readable label"
}root_public_key_pem MUST NOT be sourced from anything in the request body — it is the relying party's own configuration, never presenter-supplied. A verifier MUST reject a version value it does not recognise with MALFORMED rather than guess at an unfamiliar shape.decision in the response body is what a conformant caller MUST branch on. Collapsing two outcomes into the same wire-level status is permitted; collapsing them in the body's decision field is not.6. Combining Chain Verification with Rule Evaluation
Chain verification alone answers "is this artifact's issuer recognised and its seal intact" — authenticity, not permission. When facts is supplied, a verifier evaluates the artifact's own rules once — and only once — §3 resolves to a recognised, unrevoked issuer.
ALLOWED, that result MUST be returned as-is — rule evaluation MUST NOT be attempted. This ordering is the entire point of this section: "the rules say no" and "we never established who's asking" MUST remain distinguishable claims a caller reacts to differently. Once resolved, the verdict is normalised to AUTHORIZED, DENIED, or ESCALATED, using the same evaluation semantics NOMOS-SPEC-001 §6–7 define for an authenticated request — no separate dialect for this rail. missing_inputs and obligations follow the same vocabulary NOMOS-SPEC-005 §1 already defines.7. Conformance & Security
scope without enforcing it does not qualify. Revocation (§4) and rule-evaluation composition (§6) are each independently OPTIONAL relative to the §1/§3 normative core.meta.industry / meta.jurisdiction_codes), not the actual content of its rules — the same property X.509 name constraints have. An issuer that scopes by jurisdiction forces every artifact under that delegation to carry meta.jurisdiction_codes, or fail closed. Root governance is out of scope of this document entirely — who should operate a shared root is a named, unresolved institutional question (Paper 5's R-09), deliberately not answered here to avoid conflating a cryptographic primitive with a governance decision.ISSUER_NOT_RECOGNIZED or KEY_REVOKED result MUST NOT be represented as equivalent to a rule-evaluated DENIED — the two require different caller action. root_public_key_pem is the whole trust boundary: a relying party that pins a root it does not actually control, or accepts one supplied by the presenter, has gained nothing over an unconditional accept. Compromising an intermediate key compromises every leaf certified under it; revoking that intermediate is the only way to sever all of those paths at once.Act Binding
Extends NOMOS-SPEC-001 v2.2.0 + amendment 2.3.0 · NOMOS-SPEC-007 rev. 1.9 · NOMOS-SPEC-010 · An exact change, proven where it lands
Status
Draft
Version
0.6.0
Proposed
2026-09-27
Revised
2026-10-26
Abstract
NOMOS-SPEC-001 makes an institution's rules a sealed, portable object. NOMOS-SPEC-007 lets a system that has never met the institution establish that those rules are genuine. Neither binds anything to the action: a verdict is computed over caller-supplied facts, and nothing ties it to the change made later. That leaves five gaps an autonomous agent can exploit without breaking any cryptography:
This document defines the Act: a self-verifying package carrying one exact change together with everything needed to prove it legitimate: the sealed rules, the certificates, facts as signed testimony from certified witnesses, and human consents signed over this Act alone. The relying party, the ledger, registry or API that would commit the change, verifies the Act itself, locally and deterministically, and commits exactly the change it verified or nothing. An agent is free to bypass every NOMOS component; its act still cannot take effect, because the only system able to make the change is the one that demands the proof.
@nomosprotocol/verify, the TypeScript verifier the hosted platform runs, pass every vector and return identical results on 1,693 mutants derived from them. The platform's conserved-state ledger accepts Acts as a relying party in production. How a carrier finds a relying party and submits an Act is NOMOS-SPEC-009. Second-party implementations are invited.1. The Act
{
"act_version": "1",
"act_id": "act-7f3c…",
"nonce": "<base64, at least 128 bits of entropy>",
"issued_at": "2026-10-01T11:59:00.000Z",
"expires_at": "2026-10-01T12:04:00.000Z",
"relying_party": "acme-bank:core-ledger",
"action": {
"type": "approve_loan",
"subject": "APP-1042",
"params": { "amount": 75000, "loan_purpose": "home_improvement", "has_cosigner": false }
},
"authority": {
"artifact": { /* sealed .nomos, NOMOS-SPEC-001 */ },
"key_certs": [ /* one unordered set: the sealing key, every witness, every approver */ ]
},
"testimony": [ /* §2 */ ],
"consents": [ /* §3 */ ],
"presenter_facts": { /* OPTIONAL, §7 */ }
}act_version, act_id, nonce, issued_at, expires_at, relying_party, action.type, action.params (which MAY be empty), authority.artifact and authority.key_certs are REQUIRED. action.params are both what gets committed and facts in their own right (§7). An Act has no presenter signature: who assembled it is irrelevant to whether it is legitimate, and a relying party MAY log presenter identity from its transport but MUST NOT let it affect the verdict.2. Testimony
{
"claim": "dti_ratio",
"value": 0.31,
"about": "APP-1042",
"as_of": "2026-10-01T11:30:00.000Z",
"valid_until": "2026-10-02T11:30:00.000Z",
"kid": "<witness key id>",
"algorithm": "Ed25519",
"signature": "<base64>"
}JCS({ claim, value, about, as_of, valid_until, kid }), with about as null when absent. A relying party MUST reject the whole Act if any statement's kid does not resolve (NOMOS-SPEC-007 §3) or its effective scope has no claim term naming this fact (TESTIMONY_OUT_OF_SCOPE), or its signature fails, or it is outside [as_of, valid_until], or its about differs from action.subject (TESTIMONY_INVALID). Invalid testimony is never silently dropped: a presenter that includes a forged or stale statement has shown something about itself.algorithm is Ed25519 or ES256; a witness whose key is in a KMS or HSM signs ES256, which MUST be low-S, because testimony signatures are inside the binding digest and a second encoding would change the digest without changing a fact. A key enrolled as a passkey never testifies. Signature failures carry the NOMOS-SPEC-010 reason.3. Consent and the Binding Digest
binding_core = {
act_version, act_id, nonce, issued_at, expires_at, relying_party,
action,
artifact_hash: authority.artifact.seal.hash,
testimony_digest: SHA-256( JCS( testimony, sorted by the JCS encoding of each statement ) )
}
binding_digest = hex( SHA-256( JCS(binding_core) ) )
consent = { binding_digest, role, decision: "approve", signed_at, kid, algorithm, signature }
signed payload: JCS({ binding_digest, role, decision, signed_at, kid })The binding digest fixes the exact change, the exact rules, the exact facts, the audience and the single-use nonce. An approver's signature over it approves that combination and nothing else: changing any parameter, swapping the rules, substituting a fact or readdressing the Act invalidates every consent (binding_mismatch).
E, the approver key MUST resolve with an effective scope that admits consent for E.role_required under the statement's suite and carries an approver term (NOMOS-SPEC-007 rev. 1.9); a key certified to consent but not tied to a person is CONSENT_OUT_OF_SCOPE. The escalation is satisfied by consents from at least E.required_consents (default 1) distinct approvers, each with a valid signature, this Act's binding digest, decision: "approve" and role equal to E.role_required. Two keys of one person count once: an approver who signs from a laptop key and a phone passkey is still one approver. A consent that fails signature, scope or binding rejects the Act (CONSENT_INVALID, CONSENT_OUT_OF_SCOPE); a valid consent for a different role is ignored.approver, the consent is CONSENT_INVALID (approver_ambiguous); otherwise the presenter could choose who a consent counts for by choosing which certificates to send.Consent by passkey
A consent with algorithm: "WebAuthn-ES256" is a WebAuthn assertion carrying authenticator_data, client_data_json and a DER signature, base64url. Let P be the consent's signed payload. The relying party accepts it only if the key's effective scope contains suite:WebAuthn-ES256; client_data_json has type "webauthn.get" and challenge equal to base64url(SHA-256(P)); the authenticator data has both the user-present and user-verified flags set; and the signature verifies over authenticator_data ‖ SHA-256(client_data_json). The challenge commits to the exact Act, role, decision and time. The signature counter is not checked: approvals are single-use through the Act's nonce. A relying party SHOULD record client_data_json.origin in its receipt.
4. Window, Audience, Replay and the Authority in Force
expires_at MUST be later than issued_at, and the window SHOULD NOT exceed 300 seconds. A relying party MUST reject an Act before issued_at (NOT_YET_VALID) or after expires_at (EXPIRED), and MAY reject a window longer than its own configured maximum (MALFORMED); one that commits under human approval advertises a maximum long enough for a person to approve (NOMOS-SPEC-009). Nonce. A relying party MUST keep the nonces of committed Acts for as long as those Acts could still be valid and reject a used one (REPLAYED); recording the nonce and committing the action MUST be one atomic operation. Audience. A relying party MUST reject an Act whose relying_party is not its own identifier (WRONG_RELYING_PARTY): an Act approved for one ledger cannot be replayed against another.The authority in force
A genuine authority is not necessarily a current one. An issuer that replaces version 1.2 of its rules with 1.3 has not said 1.2 was wrong, and the seal on 1.2 remains genuine. Two questions follow, and a relying party MUST keep them apart:
artifact_id (when it keeps one, it MUST use it and MUST NOT consult a statement; a different hash is SUPERSEDED), or otherwise an in-force statement carried at authority.in_force: { artifact_id, version, seal_hash, as_of, valid_until, kid, signature }, signed by the artifact's sealing key over JCS({ artifact_id, version, seal_hash, as_of, valid_until, kid }), matching the artifact, live at verification time, and valid for at most 86,400 seconds. Neither: VERSION_UNVERIFIED. A seal hash listed by the relying party's revocation source is ARTIFACT_REVOKED whatever the in-force source says. An issuer that supersedes a version stops issuing statements for it, so the old version stops authorizing within a day at most, without a call to the issuer.Currency policy (0.6.0)
For each authority it accepts, a relying party MUST declare exactly one rule by which the version in force is established. There is no default; a verifier configured without one is misconfigured and falls back to neither.
record is RECOMMENDED wherever compromise would be material: it is the only policy under which a stolen sealing key authorizes nothing new. Under record_or_statement a stolen key can seal a new version and sign a statement declaring it in force, and both verify; under record the forged version is not the one recorded. In-force statements may be Ed25519 or ES256, within the sealing key's permitted suites. An authorized result reports currency_policy alongside in_force_source.artifact_hash.5. Verification at the Relying Party
A relying party MUST perform these steps in order and stop at the first failure:
6. Three-Valued Evaluation
Every decision's when condition evaluates to TRUE, FALSE or UNDECIDED:
D be the deciding decision, or none when default_outcome applied; X outranks D when D is none, when X.priority > D.priority, or when priorities are equal and the tie-breaker ranks X's outcome higher. If the outcome is allow or escalate and any block or escalate decision that outranks D is UNDECIDED, the relying party MUST return INCOMPLETE, MUST NOT commit, and does not count consents: no approval stands in for a fact the Act does not establish. open_rules lists those decisions, highest priority first; open_facts lists only the fields that were absent and left them undecided, never a present operand beside an absent one (vector 43). An UNDECIDED escalate decision at the deciding decision's priority that names a different escalation also returns INCOMPLETE (0.5.0).AUTHORIZED, then for every way of supplying the withheld testimony or presenter facts, no block or escalate decision that outranks D becomes TRUE. The remedy for INCOMPLETE is a new Act with testimony for the open facts; a witness that knows a fact is absent says so (bankruptcy_active: false, not nothing).7. Fact Channels and Types
Every fact the rules read arrives through exactly one of four channels, and the sealed artifact declares the permitted channel of each input in data_contract.inputs.<name>.source (NOMOS-SPEC-001 amendment 2.2.0):
FACT_SOURCE_VIOLATION if a fact arrives through a channel other than the one its input declares, through more than one channel, or for an input that declares no source. A presenter can propose any change it likes; it cannot supply the facts that decide whether the change is legitimate unless the institution's own rules say it may. Relying-party facts are read from the state being changed, so no one supplies them at all.source MUST declare a type. A present fact whose value does not have that type rejects the Act with FACT_TYPE_VIOLATION before any rule is read: number and integer are finite and never booleans; date and datetime are RFC 3339 strings; enum is a member of the input's enum. An unknown or missing type fails closed. This is what stops "amount": "300000" from making amount > 50000 fall silent while a coercing relying party commits $300,000. Fields nested inside an object- or array-typed input are covered by §6 rule 3.8. Commit and Receipts
AUTHORIZED the relying party MUST apply exactly action (the same type, subject and params it verified) and nothing else; record the nonce in the same atomic operation; and re-read any relying_party facts inside that operation, aborting if they differ from the values evaluated. That last step closes the time-of-check to time-of-use gap for the system's own state. On any other verdict it MUST NOT apply any part of action.{ "act_id": "act-7f3c…", "act_digest": "<binding digest>", "decision": "AUTHORIZED",
"rule": "R6", "by_consent": true,
"verified_at": "2026-10-01T11:59:40.000Z", "committed_at": "2026-10-01T11:59:41.000Z",
"relying_party_facts": { "is_first_loan": false }, "in_force_source": "record",
"currency_policy": "record", "consent_origins": ["https://approve.acme-bank.example"] }verified_at, relying_party_facts, in_force_source and currency_policy, the inputs to the verdict the Act does not carry, and SHOULD record the origin of each passkey consent. With them, the receipt and a retained copy of the Act let any third party re-run §5 and reach the same verdict, given the relying party's pinned root and the revocation statements dated before verified_at. An auditor needs no access to the agent, the presenter or any NOMOS service.9. Conformance & Security
act-vectors/ of the specification repository.The relying party is the enforcement point
Every property here depends on the system of record refusing changes that do not arrive as a verified Act. A relying party that accepts the same change through another interface has not adopted this specification for that interface.
The presenter is untrusted by design
Nothing in §5 depends on the presenter's honesty, competence or identity. A hallucinating, compromised or adversarial agent can at worst submit Acts that fail.
Rules, facts and approvals are separate authorities
A sealing key cannot testify or consent (NOMOS-SPEC-007 §2). Compromise of the rule issuer alone cannot fabricate the facts the rules read; compromise of a witness alone cannot change the rules.
Witness honesty is a governance choice
Certification bounds which facts a key may assert, not whether its assertions are true. Institutions choose their witnesses; this document makes that choice explicit, signed, scoped and revocable.
Revocation is not supersession
A verifier that asks only "is this authority genuine and unrevoked?" accepts an obsolete rule set for a new action: the issuer replaced it without ever saying it was wrong. Currency is a condition of its own. A superseded Act is re-presented under the version in force; a revoked authority has nothing to re-present.
Silence and malformed values are not evidence
A verifier that read a missing fact, or a value of the wrong kind, as false would let the presenter decide which rules apply. §6 and §7 remove that choice. The cost falls on witnesses, who state negative facts explicitly, and on rule authors, whose permissive rules commit nothing until every rule above them is decided.
Effects that are not state changes
Sending a message or publishing a statement has no system of record that can refuse it. Such effects need a relying party at an outbound gateway, which inherits every duty of §4 to §8. A system that cannot run §5 itself needs an adapter that holds the only credential able to change it.
Discovery and Submission
Extends NOMOS-SPEC-008 0.6.0 · NOMOS-SPEC-007 rev. 1.9 · NOMOS-SPEC-010 · How a carrier finds a relying party, gathers what an Act needs, and hands it over
Status
Draft
Version
0.1.0
Proposed
2026-10-26
Abstract
NOMOS-SPEC-008 makes an Act verifiable by any relying party. It does not say how a carrier that has never met a relying party finds it, learns what it accepts, gathers the testimony and approvals an Act needs, or hands the Act over. This document specifies four things: discovery documents published by a relying party, an issuer and a witness at well-known paths; the statement request, by which a carrier asks a witness for testimony; the approval request, by which it asks an approver for consent over one exact Act; and the submission binding, by which an Act is sent over HTTP and each verdict comes back as one status and one body.
1. Discovery Documents
nomos_document (its kind) and version ("1"), and a reader MUST reject one it does not recognise. A document SHOULD carry valid_until; an expired one is authoritative for nothing, and because documents decide nothing it can cause no wrong verdict, only an Act sent to a place that refuses it. act_endpoint MUST be https, except on a loopback host during development. Whether a witness discloses a subject's facts to a requester is the witness's own access-control decision.2. Statement and Approval Requests
POST <statement_endpoint>
{ "claim": "budget_remaining", "about": "DEPT-17", "valid_for_seconds": 900 }
→ 200 { "testimony": <NOMOS-SPEC-008 statement> } 404 claim not served or subject unknown 401/403 not entitled
POST <approval endpoint for the role>
{ "role": "MANAGER", "act": { /* the Act, consents not required */ } }
→ 202 { "approval_id", "status": "pending", "poll_url", "approval_url" }
→ 200 { "status": "approved", "consent": <NOMOS-SPEC-008 consent> } (an automated approver)
GET <poll_url> → { "status": "pending" | "approved" | "refused" | "expired", "consent"? }as_of and valid_until; valid_for_seconds is a request. A carrier MUST check that the statement names the claim and subject it asked for. An approver MUST compute the binding digest from the Act itself, show the person the exact change, rendered from the Act and never from text the carrier supplies, and sign nothing but a consent over that digest for that role. It answers expired once the Act's expires_at has passed.3. The Submission Binding
POST act_endpoint with Content-Type: application/nomos-act+json and one Act. Any other media type is 415; a body longer than max_act_bytes is 413. Every response is JSON and carries decision:
409 and that receipt, never a second commit. An Act answered 202 was not committed, so a carrier MAY resubmit the same Act with consents added while it is unexpired; after expires_at it builds a new Act and approvals are requested again. A carrier that expects escalation SHOULD choose a window up to max_window_seconds and request testimony valid across it.AUTHORIZED, in one transaction: record the nonce; re-read the relying party's own facts and re-verify if any differ; apply exactly action; store the receipt. The code that applies the change MUST receive only the verified action. A relying party MAY add hint and docs to a body; neither changes a verdict, and a carrier MUST NOT branch on either.data_contract: action inputs from the action, testimony inputs from a witness whose document lists the claim, relying_party inputs from the relying party itself, presenter inputs from the carrier. Running the NOMOS-SPEC-008 verifier to plan means a carrier and a relying party cannot disagree about what an Act needs; only the relying party's verdict commits.4. Conformance & Security
schema/; submission-vectors/status.json maps every NOMOS-SPEC-008 §6 outcome to its status. submission-vectors/run.mjs builds fresh Acts from published test keys and submits them to any relying party configured with the conformance profile, over HTTP only, so it tests an implementation in any language: discovery, authorization, replay, incomplete, denial, the relying party's own fact, escalation then resubmission with consent, a tampered authority, a wrong audience, an altered action, wrong media type and oversized body. The SDK's accept() and the spec's reference relying party, written separately from it on the same verifier, pass all 17 checks.max_act_bytes, the 20-certificate bound and ordinary rate limiting bound the cost of a submission, and verification needs no outbound call.Signature Suites
Used by NOMOS-SPEC-007 rev. 1.9 · NOMOS-SPEC-008 0.6.0 · NOMOS-SPEC-009 · One closed set of signature rules for every NOMOS verifier
Status
Draft
Version
0.2.0
Proposed
2026-10-26
Abstract
Every signature a NOMOS verifier accepts is made under one of three suites, defined once here so that every NOMOS specification applies the same rules: which key types exist, which bytes are signed, how a signature is encoded, and when it is refused. It exists because the keys that confer authority must stay in their holders' custody. Issuers and witnesses hold keys in KMS and HSM products, where ECDSA P-256 is universal and Ed25519 support uneven; approvers hold passkeys, which sign through WebAuthn.
1. The Registry
none suite, no negotiation and no fallback, and a signature that fails under its declared suite MUST NOT be retried under another. Every base64 value MUST be canonical (decode, re-encode, compare). WebAuthn-ES256 is defined for consent statements only.2. Keys
invalid_key, whatever a library would accept. A P-256 point MUST be on the curve.R and S = 0 verifies against every message; OpenSSL accepts it and @noble/curves rejects it, so two conformant verifiers disagreed about whether a signature was genuine. Found by differential testing; checking the key at load makes every verifier reject it identically. The key id is unchanged: base64url(SHA-256(SPKI DER)), first 16 characters. A suite MUST belong to the key's type, determined from its SPKI, never from a field.3. ES256 and WebAuthn-ES256
r and s in [1, n − 1], s ≤ n/2, verifying over SHA-256(payload). Low-S because ECDSA is malleable and some NOMOS digests cover signature bytes; a signer producing high-S replaces s with n − s. Deterministic nonces (RFC 6979) are recommended.client_data_json is JSON with type "webauthn.get" and challenge equal to base64url(SHA-256(payload)); authenticator_data is at least 37 bytes with the user-present and user-verified flags set; the DER signature verifies over authenticator_data ‖ SHA-256(client_data_json) using the exact decoded bytes. User verification is required because a consent is an approval by a person, not a touch. The origin is recorded for audit but not needed for correctness, since the key itself is certified; the signature counter is not checked.4. Errors & Conformance
CONSENT_INVALID, bad_signature) and passes these reasons through unchanged. suite-vectors/ holds 30 deterministic vectors; the Python reference, an independent Node verifier, the NOMOS-SPEC-007 TypeScript prototype and @nomosprotocol/verify pass all of them. Whether a key is authorized to sign a given object is decided by NOMOS-SPEC-007 and the calling specification, not here.