reason-codes: canonical KYE™ vocabulary
Browse files- README.md +34 -0
- vocabulary/README.md +35 -0
- vocabulary/action-admissibility.md +80 -0
- vocabulary/actions.md +93 -0
- vocabulary/assurance-card.md +89 -0
- vocabulary/authority-finality.md +50 -0
- vocabulary/badge-levels.md +71 -0
- vocabulary/chain-of-authority.md +69 -0
- vocabulary/continuity-discoverability.md +119 -0
- vocabulary/data-classes.md +22 -0
- vocabulary/entity-types.md +177 -0
- vocabulary/formal-rules.md +125 -0
- vocabulary/graph-types-v1.md +61 -0
- vocabulary/healthcare-break-glass-categories.md +76 -0
- vocabulary/lifecycle-states.md +77 -0
- vocabulary/meaning-continuity.md +137 -0
- vocabulary/obligations.md +41 -0
- vocabulary/ontology.md +117 -0
- vocabulary/operating-model.md +96 -0
- vocabulary/payload-states.md +88 -0
- vocabulary/payments-decision-codes.md +111 -0
- vocabulary/reason-codes.md +187 -0
- vocabulary/redaction-fields.md +52 -0
- vocabulary/relationships.md +88 -0
- vocabulary/risk-classes.md +34 -0
- vocabulary/self-audit-areas.md +52 -0
- vocabulary/signal-types.md +163 -0
- vocabulary/signals.md +136 -0
- vocabulary/state-library.md +102 -0
- vocabulary/state-machines.md +102 -0
- vocabulary/taxonomies-v1.md +64 -0
- vocabulary/trademarks.md +156 -0
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language: en
|
| 4 |
+
pretty_name: KYE Protocol™ Reason Codes
|
| 5 |
+
tags:
|
| 6 |
+
- reason-codes
|
| 7 |
+
- ai-governance
|
| 8 |
+
- vocabulary
|
| 9 |
+
- meaning-continuity
|
| 10 |
+
- admissibility
|
| 11 |
+
size_categories:
|
| 12 |
+
- n<1K
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# KYE Protocol™ — Reason Codes
|
| 16 |
+
|
| 17 |
+
Canonical reason-code dictionary used across KYE™ decisions, drift
|
| 18 |
+
events, obligations and recommendations. AI tooling that consumes
|
| 19 |
+
KYE™ decisions can rely on these codes as a stable vocabulary.
|
| 20 |
+
|
| 21 |
+
Includes:
|
| 22 |
+
|
| 23 |
+
- **Decision values** (continuity, meaning, admissibility)
|
| 24 |
+
- **Drift types** (constraint_loss, context_loss, memory_conflict,
|
| 25 |
+
timing_drift, handoff_drift, incentive_drift, state_transition_drift,
|
| 26 |
+
interpretation_drift, assumption_injection, meaning_compression,
|
| 27 |
+
meaning_expansion)
|
| 28 |
+
- **Obligations** (notify_principal, request_clarification,
|
| 29 |
+
prevent_commit_until_reconfirmed, generate_evidence_pack, …)
|
| 30 |
+
- **Inadmissibility classes** for the KYE Action Admissibility Profile™
|
| 31 |
+
|
| 32 |
+
## License
|
| 33 |
+
|
| 34 |
+
Apache-2.0. Source of truth: [github.com/KYE-Protocol](https://github.com/KYE-Protocol).
|
vocabulary/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Vocabulary
|
| 2 |
+
|
| 3 |
+
The KYE™ vocabulary defines stable names for entities, relationships, actions, lifecycle states, obligations, data classes, and reason codes.
|
| 4 |
+
|
| 5 |
+
| File | Contents |
|
| 6 |
+
|---|---|
|
| 7 |
+
| `entity-types.md` | Entity type names |
|
| 8 |
+
| `relationships.md` | Relationship type names |
|
| 9 |
+
| `actions.md` | Action names |
|
| 10 |
+
| `lifecycle-states.md` | Lifecycle state names |
|
| 11 |
+
| `obligations.md` | Obligation names |
|
| 12 |
+
| `data-classes.md` | Data classification names |
|
| 13 |
+
| `reason-codes.md` | Reason code names |
|
| 14 |
+
| `continuity-discoverability.md` | Continuity decision values, drift types, discovery modes, risk-discovery types |
|
| 15 |
+
| `ontology.md` | Ontology domains, predicates, mapping types, required objects, signals |
|
| 16 |
+
| `operating-model.md` | Operating-model journey stages, gate types, commit-boundary archetypes, risk tiers, lifecycle states |
|
| 17 |
+
| `assurance-card.md` | Assurance-card lifecycle stages, subject types, review triggers, human-involvement types, off-boarding actions, cascade-revocation scopes |
|
| 18 |
+
| `formal-rules.md` | Formal-rule families, normative operators, decision outputs, permission/obligation/power/exception types, conflict types, resolution strategies |
|
| 19 |
+
| `action-admissibility.md` | Admissibility decision values, inadmissibility classes, required checks, signals |
|
| 20 |
+
|
| 21 |
+
These are the **public** vocabulary documents. They define names so that KYE artifacts can be written, exchanged, and discussed across implementations.
|
| 22 |
+
|
| 23 |
+
The semantics — how names map to validation rules, policy evaluation, lifecycle enforcement, audit propagation, proof construction, and transparency submission — are part of the normative specification, which is published separately.
|
| 24 |
+
|
| 25 |
+
## Stability
|
| 26 |
+
|
| 27 |
+
Vocabulary names are intended to be stable. Changes follow this discipline:
|
| 28 |
+
|
| 29 |
+
- additions are additive and backwards-compatible
|
| 30 |
+
- renames are not permitted; new names supersede old names with explicit aliasing in the normative specification
|
| 31 |
+
- removals require a deprecation cycle
|
| 32 |
+
|
| 33 |
+
## Profile-specific vocabulary
|
| 34 |
+
|
| 35 |
+
Profile-specific vocabulary (for example, payment actions, healthcare obligations, or treasury approval types) lives in profile documents. Where those profiles are released publicly, they will appear under their own directories. Until then, profile vocabulary is not published in this repository.
|
vocabulary/action-admissibility.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Action Admissibility vocabulary
|
| 2 |
+
|
| 3 |
+
Names introduced by **KYE Action Admissibility Profile™**
|
| 4 |
+
(`kye-action-admissibility-v1`) — the upstream pre-action layer.
|
| 5 |
+
This document lists names only. Admissibility-scoring algorithms,
|
| 6 |
+
prohibited-action-class detection heuristics, intent-ambiguity
|
| 7 |
+
detection, source / data admissibility decision rules, agent-proposal
|
| 8 |
+
quarantine triggers and sector admission packs are part of the patent
|
| 9 |
+
track and are not published here.
|
| 10 |
+
|
| 11 |
+
> **KYE™ does not only attribute delegated actions after they exist.
|
| 12 |
+
> It checks whether proposed actions are admissible before they enter
|
| 13 |
+
> the authority pipeline.**
|
| 14 |
+
|
| 15 |
+
## Decision values
|
| 16 |
+
|
| 17 |
+
| Value | Meaning |
|
| 18 |
+
|---|---|
|
| 19 |
+
| `admit` | Admissible. Route onward to authority decisioning. |
|
| 20 |
+
| `reject` | Structurally invalid or prohibited. Do not enter pipeline. |
|
| 21 |
+
| `require_clarification` | Intent ambiguous. Request principal clarification first. |
|
| 22 |
+
| `require_human_review` | Admissible only after human reviewer admits. |
|
| 23 |
+
| `quarantine` | Pattern matches a watched class. Freeze and escalate. |
|
| 24 |
+
| `route_to_authority_check` | Synonym for `admit` — explicit routing instruction. |
|
| 25 |
+
|
| 26 |
+
## Inadmissibility classes
|
| 27 |
+
|
| 28 |
+
What admissibility actively detects:
|
| 29 |
+
|
| 30 |
+
`invalid_intent` · `ambiguous_intent` · `out_of_scope_proposal` ·
|
| 31 |
+
`prohibited_action_class` · `disallowed_data_source` ·
|
| 32 |
+
`inadmissible_evidence` · `unsafe_tool_path` · `coercion_signal` ·
|
| 33 |
+
`incentive_conflict` · `continuity_break` ·
|
| 34 |
+
`policy_ineligible_action` · `missing_authority_context` ·
|
| 35 |
+
`missing_principal` · `missing_accountable_owner` ·
|
| 36 |
+
`unsupported_jurisdiction`.
|
| 37 |
+
|
| 38 |
+
## Required objects
|
| 39 |
+
|
| 40 |
+
| Object | Schema |
|
| 41 |
+
|---|---|
|
| 42 |
+
| Profile descriptor | `action-admissibility-profile.json` |
|
| 43 |
+
| Proposed Action | `proposed-action.json` |
|
| 44 |
+
| Admission Gate™ | `admission-gate.json` |
|
| 45 |
+
| Admissibility Decision | `admissibility-decision.json` |
|
| 46 |
+
| Admissibility Evidence | `admissibility-evidence.json` |
|
| 47 |
+
|
| 48 |
+
## Required checks
|
| 49 |
+
|
| 50 |
+
`intent_present` · `intent_clear` · `principal_resolved` ·
|
| 51 |
+
`actor_resolved` · `accountable_owner_known` · `capability_known` ·
|
| 52 |
+
`resource_known` · `data_source_allowed` · `prohibited_action_class` ·
|
| 53 |
+
`continuity_preserved` · `formal_rule_block` · `evidence_ready` ·
|
| 54 |
+
`jurisdiction_supported` · `risk_state_acceptable` ·
|
| 55 |
+
`no_coercion_signal` · `no_incentive_conflict` ·
|
| 56 |
+
`no_unsafe_tool_path`.
|
| 57 |
+
|
| 58 |
+
## Reason codes
|
| 59 |
+
|
| 60 |
+
See `reason-codes.md` under the **Action Admissibility profile reason
|
| 61 |
+
codes** group (20 codes).
|
| 62 |
+
|
| 63 |
+
## Admissibility signals
|
| 64 |
+
|
| 65 |
+
`kye.admissibility.proposed_action_created` ·
|
| 66 |
+
`kye.admissibility.check_started` ·
|
| 67 |
+
`kye.admissibility.admitted` ·
|
| 68 |
+
`kye.admissibility.rejected` ·
|
| 69 |
+
`kye.admissibility.requires_clarification` ·
|
| 70 |
+
`kye.admissibility.requires_human_review` ·
|
| 71 |
+
`kye.admissibility.quarantined` ·
|
| 72 |
+
`kye.admissibility.routed_to_authority_check` ·
|
| 73 |
+
`kye.admissibility.evidence_generated`.
|
| 74 |
+
|
| 75 |
+
## Patent-safe boundary
|
| 76 |
+
|
| 77 |
+
Admissibility-scoring algorithm, prohibited-action-class detection
|
| 78 |
+
heuristics, intent-ambiguity detection rules, source / data
|
| 79 |
+
admissibility decision rules, agent-proposal quarantine triggers and
|
| 80 |
+
sector admission packs are **not** in this repository.
|
vocabulary/actions.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Action Vocabulary
|
| 2 |
+
|
| 3 |
+
Actions are stable identifiers for governed operations. This document lists action names recognized by KYE™.
|
| 4 |
+
|
| 5 |
+
This document defines **names only**. Action semantics, side effects, and required obligations are part of the normative specification.
|
| 6 |
+
|
| 7 |
+
## Entity lifecycle
|
| 8 |
+
|
| 9 |
+
```
|
| 10 |
+
entity.register
|
| 11 |
+
entity.verify
|
| 12 |
+
entity.suspend
|
| 13 |
+
entity.stop
|
| 14 |
+
entity.quarantine
|
| 15 |
+
entity.revoke
|
| 16 |
+
entity.archive
|
| 17 |
+
entity.tombstone
|
| 18 |
+
entity.transfer
|
| 19 |
+
```
|
| 20 |
+
|
| 21 |
+
## Identifiers and relationships
|
| 22 |
+
|
| 23 |
+
```
|
| 24 |
+
identifier.bind
|
| 25 |
+
identifier.verify
|
| 26 |
+
identifier.revoke
|
| 27 |
+
relationship.create
|
| 28 |
+
relationship.revoke
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Delegations and scopes
|
| 32 |
+
|
| 33 |
+
```
|
| 34 |
+
delegation.create
|
| 35 |
+
delegation.approve
|
| 36 |
+
delegation.suspend
|
| 37 |
+
delegation.revoke
|
| 38 |
+
scope.create
|
| 39 |
+
scope.attenuate
|
| 40 |
+
scope.revoke
|
| 41 |
+
access_right.grant
|
| 42 |
+
access_right.revoke
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
## Credentials and attestations
|
| 46 |
+
|
| 47 |
+
```
|
| 48 |
+
credential.issue
|
| 49 |
+
credential.verify
|
| 50 |
+
credential.present
|
| 51 |
+
credential.revoke
|
| 52 |
+
attestation.issue
|
| 53 |
+
attestation.verify
|
| 54 |
+
attestation.revoke
|
| 55 |
+
workload.attest
|
| 56 |
+
workload.bind
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
## Runtime actions (illustrative)
|
| 60 |
+
|
| 61 |
+
```
|
| 62 |
+
document.read
|
| 63 |
+
document.render
|
| 64 |
+
document.export
|
| 65 |
+
record.read
|
| 66 |
+
record.update
|
| 67 |
+
tool.invoke
|
| 68 |
+
model.invoke
|
| 69 |
+
workflow.execute
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
## Audit, proof, and transparency
|
| 73 |
+
|
| 74 |
+
```
|
| 75 |
+
audit.export
|
| 76 |
+
proof.generate
|
| 77 |
+
transparency.submit
|
| 78 |
+
transparency.verify
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
## Signals
|
| 82 |
+
|
| 83 |
+
```
|
| 84 |
+
signal.publish
|
| 85 |
+
signal.subscribe
|
| 86 |
+
signal.ack
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
## Naming rules
|
| 90 |
+
|
| 91 |
+
- Action names are lowercase ASCII, dot-separated, in `noun.verb` form.
|
| 92 |
+
- Action names are stable identifiers.
|
| 93 |
+
- Profile-specific actions (for example, payment actions) are listed in the relevant profile dictionary.
|
vocabulary/assurance-card.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Assurance Card vocabulary
|
| 2 |
+
|
| 3 |
+
Names introduced by **KYE Assurance Card Profile™**
|
| 4 |
+
(`kye-assurance-card-v1`) — the lifecycle assurance layer that turns
|
| 5 |
+
KYE™ runtime evidence into a living assurance record. This document
|
| 6 |
+
lists names only. Assurance-card generation, runtime-evidence binding,
|
| 7 |
+
review-automation, sector-pack content and use-case library
|
| 8 |
+
recommendation algorithms are part of the patent track and are not
|
| 9 |
+
published here.
|
| 10 |
+
|
| 11 |
+
> **System cards describe the assurance case. KYE™ proves what
|
| 12 |
+
> happened. KYE makes assurance executable.**
|
| 13 |
+
|
| 14 |
+
## Lifecycle stages
|
| 15 |
+
|
| 16 |
+
Eight ordered stages every assurance-card subject progresses through.
|
| 17 |
+
|
| 18 |
+
`design` · `pilot` · `deploy` · `monitor` · `incident_review` ·
|
| 19 |
+
`scope_change_review` · `retention_review` · `decommission`.
|
| 20 |
+
|
| 21 |
+
## Required objects
|
| 22 |
+
|
| 23 |
+
| Object | Schema |
|
| 24 |
+
|---|---|
|
| 25 |
+
| Profile descriptor | `assurance-card-profile.json` |
|
| 26 |
+
| Assurance Card | `assurance-card.json` |
|
| 27 |
+
| Human Involvement Plan | `human-involvement-plan.json` |
|
| 28 |
+
| Provenance Evidence | `provenance-evidence.json` |
|
| 29 |
+
| Assurance Review Cycle | `assurance-review-cycle.json` |
|
| 30 |
+
| Decommissioning Plan | `decommissioning-plan.json` |
|
| 31 |
+
|
| 32 |
+
## Subject types
|
| 33 |
+
|
| 34 |
+
`ai_agent` · `workflow` · `service` · `model` · `tool` · `connector` ·
|
| 35 |
+
`system`.
|
| 36 |
+
|
| 37 |
+
## Lifecycle states
|
| 38 |
+
|
| 39 |
+
`proposed` · `design` · `pilot` · `controlled_production` ·
|
| 40 |
+
`production` · `deprecated` · `suspended` · `revoked`.
|
| 41 |
+
|
| 42 |
+
## Review triggers
|
| 43 |
+
|
| 44 |
+
Ten named triggers any review cycle MAY listen on:
|
| 45 |
+
|
| 46 |
+
`scheduled` · `scope_change` · `new_capability` · `incident` ·
|
| 47 |
+
`risk_state_change` · `model_update` · `authority_change` ·
|
| 48 |
+
`supplier_change` · `licence_change` · `retention` · `decommission`.
|
| 49 |
+
|
| 50 |
+
## Human involvement types
|
| 51 |
+
|
| 52 |
+
`influence` · `direct` · `limit` · `approve` · `override` · `review`.
|
| 53 |
+
|
| 54 |
+
## Human involvement stages
|
| 55 |
+
|
| 56 |
+
`design` · `pilot` · `deploy` · `pre_commit` · `post_commit` ·
|
| 57 |
+
`incident` · `scope_change` · `retention` · `decommission`.
|
| 58 |
+
|
| 59 |
+
## Off-boarding actions
|
| 60 |
+
|
| 61 |
+
`revoke_authority` · `quarantine_credentials` · `rotate_keys` ·
|
| 62 |
+
`archive_evidence` · `notify_owner` · `notify_supplier` ·
|
| 63 |
+
`update_catalog` · `remove_from_runtime`.
|
| 64 |
+
|
| 65 |
+
## Cascade-revocation scopes
|
| 66 |
+
|
| 67 |
+
`entity_only` · `entity_and_descendants` · `tenant_wide`.
|
| 68 |
+
|
| 69 |
+
## Provenance verification methods
|
| 70 |
+
|
| 71 |
+
`self_attested` · `third_party_attestation` · `signed_evidence` ·
|
| 72 |
+
`registry_check`.
|
| 73 |
+
|
| 74 |
+
## Reason codes
|
| 75 |
+
|
| 76 |
+
See `reason-codes.md` under the **Assurance Card profile reason
|
| 77 |
+
codes** group (17 codes).
|
| 78 |
+
|
| 79 |
+
## Assurance signals
|
| 80 |
+
|
| 81 |
+
See `kye-assurance-card-v1.md` §6. Five families: assurance-card
|
| 82 |
+
lifecycle, human involvement, provenance, review cycle, decommissioning.
|
| 83 |
+
|
| 84 |
+
## Patent-safe boundary
|
| 85 |
+
|
| 86 |
+
The assurance-card generation engine, runtime-evidence binding
|
| 87 |
+
heuristics, review-automation engine, sector-pack content (defence,
|
| 88 |
+
public-sector, payments, health) and use-case library recommendation
|
| 89 |
+
algorithm are **not** in this repository.
|
vocabulary/authority-finality.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Protocol™ — Authority Finality™ (vocabulary)
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative concept. v1.0. Apache 2.0.
|
| 4 |
+
|
| 5 |
+
## Definition
|
| 6 |
+
|
| 7 |
+
**Authority Finality™** is the *property* that, for any action taken
|
| 8 |
+
by any entity governed by KYE Protocol™, the runtime can prove — with
|
| 9 |
+
public-key-verifiable evidence — *who or what acted, on behalf of
|
| 10 |
+
whom, using which capability, under what authority, in what state, and
|
| 11 |
+
with what audit trail*.
|
| 12 |
+
|
| 13 |
+
The structural artefact this property is asserted over is the
|
| 14 |
+
**KYE Chain of Authority™** ([vocabulary](./chain-of-authority.md)) —
|
| 15 |
+
the linked, attenuating delegation chain from root principal to actor.
|
| 16 |
+
Authority Finality™ answers *is the chain final and provable?*;
|
| 17 |
+
KYE Chain of Authority™ is the chain itself.
|
| 18 |
+
|
| 19 |
+
Authority Finality™ is **technical and evidentiary**. It does not
|
| 20 |
+
replace legal agreements, signatures, or regulatory obligations; it
|
| 21 |
+
provides the substrate that lets those obligations be **proved** after
|
| 22 |
+
the fact.
|
| 23 |
+
|
| 24 |
+
## Six properties of an Authority-Final action
|
| 25 |
+
|
| 26 |
+
A KYE-conformant gateway exposes, for every adjudicated action, the
|
| 27 |
+
following six properties bound by a single `policy_decision_id`:
|
| 28 |
+
|
| 29 |
+
| Property | Field | Source |
|
| 30 |
+
|---|---|---|
|
| 31 |
+
| Who or what is acting | `actor.entity_id` | `entity` profile |
|
| 32 |
+
| On behalf of whom | top of `delegation_chain` | `delegation` profile |
|
| 33 |
+
| Using which capability | `capability_id` (when invocation) | `capability` profile |
|
| 34 |
+
| Under what authority | `delegation_id` + `scope_id` | `core` profile |
|
| 35 |
+
| In what state | composed 6-tuple per `state-composition.json` | `state` profile |
|
| 36 |
+
| With what audit trail | `audit_event_id` + `proof_bundle_id` | `audit` + `transparency` profiles |
|
| 37 |
+
|
| 38 |
+
## Use in copy
|
| 39 |
+
|
| 40 |
+
> KYE Protocol™ helps establish **Authority Finality™** for AI-agent
|
| 41 |
+
> actions — creating a replayable evidence layer for accountability,
|
| 42 |
+
> compliance, dispute resolution, and legally defensible audit trails.
|
| 43 |
+
|
| 44 |
+
## Trademark
|
| 45 |
+
|
| 46 |
+
**Authority Finality™** is a trademark of the KYE Protocol™ project.
|
| 47 |
+
It identifies the property defined here. Conformant implementations
|
| 48 |
+
may use the mark to claim the property; forks may not.
|
| 49 |
+
|
| 50 |
+
— KYE Protocol™ project, 2026.
|
vocabulary/badge-levels.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Conformance Badge Levels (canonical)
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative. v1.0. Apache 2.0. Companion to
|
| 4 |
+
> the `conformance-certification` rule pack + `badge-levels` dictionary (post-§29 landing).
|
| 5 |
+
|
| 6 |
+
KYE distinguishes **conformant** (passes a test suite) from **certified**
|
| 7 |
+
(reviewed + listed in the public registry). Six tiers plus four
|
| 8 |
+
profile-scoped variants.
|
| 9 |
+
|
| 10 |
+
## Trust hierarchy
|
| 11 |
+
|
| 12 |
+
| Level | Badge | Awarded by | Renewal |
|
| 13 |
+
|-------|------------------------------------|------------------------|----------|
|
| 14 |
+
| L0 | KYE Declared / Compatible | Self | n/a |
|
| 15 |
+
| L1 | **KYE Self-Tested™** | Self (open suite) | quarterly |
|
| 16 |
+
| L2 | **KYE Self-Attested™** | Self (signed) | quarterly |
|
| 17 |
+
| L3 | **KYE Conformant™** + variants | Program (verified run) | annual |
|
| 18 |
+
| L4 | **KYE Certified™** | Program + reviewer | annual |
|
| 19 |
+
|
| 20 |
+
## L3 variants (issued separately)
|
| 21 |
+
|
| 22 |
+
- KYE Core Conformant™
|
| 23 |
+
- KYE Authority Conformant™
|
| 24 |
+
- KYE Capability Conformant™
|
| 25 |
+
- KYE Evidence Conformant™
|
| 26 |
+
- KYE Recovery Conformant™
|
| 27 |
+
- KYE Payments Conformant™
|
| 28 |
+
- KYE Healthcare Conformant™
|
| 29 |
+
- KYE Sector Profile Conformant™ *(parameterised — banking / energy / aviation / …)*
|
| 30 |
+
- KYE EU AI Act Profile Ready™
|
| 31 |
+
|
| 32 |
+
## Permitted commercial wording
|
| 33 |
+
|
| 34 |
+
| Wording | Permitted? | Notes |
|
| 35 |
+
|--------------------------|-----------|------------------------------------------------------|
|
| 36 |
+
| **KYE Conformant™** | ✓ | Backed by a passing run against a published suite |
|
| 37 |
+
| **KYE Certified™** | ✓ | Only after program review + signed registry record |
|
| 38 |
+
| **KYE Self-Tested™** | ✓ | Free badge after running the open conformance pack |
|
| 39 |
+
| **KYE Self-Attested™** | ✓ | Free badge after a signed self-audit declaration |
|
| 40 |
+
| **KYE Ready™** | ✓ | Soft go-to-market label for partner ecosystem |
|
| 41 |
+
| **Powered by KYE™** | ✓ | Uses KYE APIs / SDKs (no certification claim) |
|
| 42 |
+
| KYE Compliant | ⚠ avoid | Reads as legal / regulatory; reserve for sector use |
|
| 43 |
+
|
| 44 |
+
## Required evidence per badge
|
| 45 |
+
|
| 46 |
+
| Badge | Evidence required |
|
| 47 |
+
|-----------------------|------------------------------------------------------------------|
|
| 48 |
+
| KYE Self-Tested™ | `conformance-run.json` (passed) |
|
| 49 |
+
| KYE Self-Attested™ | `self-audit-run.json` + `self-attestation.json` (signed) |
|
| 50 |
+
| KYE Conformant™ (L3) | `conformance-run.json` (verified) + `certification-record.json` |
|
| 51 |
+
| KYE Certified™ (L4) | L3 evidence + manual review + signed `certification-record.json` listed in registry |
|
| 52 |
+
|
| 53 |
+
Every badge MUST be tied to: protocol version · profile-set version ·
|
| 54 |
+
test-suite version · product / version · expiry · public verification
|
| 55 |
+
URL · revocation status · signed certification record. Permanent
|
| 56 |
+
badges are **not permitted**.
|
| 57 |
+
|
| 58 |
+
## Use in copy
|
| 59 |
+
|
| 60 |
+
> **KYE Conformance & Certification** lets customers verify that an
|
| 61 |
+
> implementation correctly supports entity authority, state,
|
| 62 |
+
> delegation, capability governance, decisions, audit trails,
|
| 63 |
+
> evidence packs, and Decision Maps™.
|
| 64 |
+
>
|
| 65 |
+
> **Govern the governance layer.** KYE implementations can
|
| 66 |
+
> continuously audit their own engines, schemas, profiles, registries,
|
| 67 |
+
> policies, decisions, audit trails, evidence packs, and Decision
|
| 68 |
+
> Maps™ — then publish signed self-attestations or pursue official
|
| 69 |
+
> KYE certification.
|
| 70 |
+
|
| 71 |
+
— KYE Protocol™ project, 2026.
|
vocabulary/chain-of-authority.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Protocol™ — KYE Chain of Authority™ (vocabulary)
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative concept. v1.0. Apache 2.0.
|
| 4 |
+
|
| 5 |
+
## Definition
|
| 6 |
+
|
| 7 |
+
**KYE Chain of Authority™** is the *structural artefact* of authority
|
| 8 |
+
under KYE Protocol™: the linked, attenuating delegation chain that
|
| 9 |
+
runs from the root principal down to the entity actually performing
|
| 10 |
+
an action.
|
| 11 |
+
|
| 12 |
+
Each link is a signed delegation that:
|
| 13 |
+
|
| 14 |
+
- names the entity it delegates from and to,
|
| 15 |
+
- carries a capability and a scope,
|
| 16 |
+
- attenuates (never broadens) the parent's scope,
|
| 17 |
+
- is bound to a state-vector at the moment of signing,
|
| 18 |
+
- is hash-linked into the audit chain.
|
| 19 |
+
|
| 20 |
+
The chain itself is the artefact. **Authority Finality™** is the
|
| 21 |
+
*property* of that chain — that the chain is provably terminal,
|
| 22 |
+
public-key-verifiable, and replayable. Two concepts, one structure.
|
| 23 |
+
|
| 24 |
+
## Narrative parallel
|
| 25 |
+
|
| 26 |
+
Chain-of-custody for *documents* is what courts already accept. KYE
|
| 27 |
+
Chain of Authority™ is the equivalent for *actions*: a signed,
|
| 28 |
+
linked, end-to-end record of who delegated what to whom, under what
|
| 29 |
+
scope, in what state, with what audit trail.
|
| 30 |
+
|
| 31 |
+
> KYE™ produces the KYE Chain of Authority™ the way digital
|
| 32 |
+
> signatures produce chain-of-custody for documents. Courts already
|
| 33 |
+
> accept signed documents; KYE™ gives them signed delegations.
|
| 34 |
+
|
| 35 |
+
## How the chain is built
|
| 36 |
+
|
| 37 |
+
| Position | Field | Source |
|
| 38 |
+
|---|---|---|
|
| 39 |
+
| Root | `principal_entity_id` of the topmost grant | `core` profile |
|
| 40 |
+
| Each link | `delegation_id` with `parent_delegation_id`, `capability_id`, `scope_id`, `state_snapshot` | `delegation` profile |
|
| 41 |
+
| Terminal | `actor.entity_id` | `entity` profile |
|
| 42 |
+
| Verifiable | each link is COSE/JWS-signed; chain is hash-linked into the audit chain | `transparency` profile |
|
| 43 |
+
|
| 44 |
+
## Use in copy
|
| 45 |
+
|
| 46 |
+
> Before the bank authorises the payment, the gateway checks the
|
| 47 |
+
> entire **KYE Chain of Authority™** — root principal → business →
|
| 48 |
+
> agent → action — and emits the signed Decision Map™ + Evidence Pack™.
|
| 49 |
+
|
| 50 |
+
## Trademark
|
| 51 |
+
|
| 52 |
+
**KYE Chain of Authority™** is a trademark of the KYE Protocol™
|
| 53 |
+
project. The KYE prefix is intentional: it mitigates a §2(e)
|
| 54 |
+
descriptiveness refusal that would face the bare phrase
|
| 55 |
+
"Chain of Authority" in USPTO / UKIPO / EUIPO filings.
|
| 56 |
+
|
| 57 |
+
Conformant implementations may use the mark to refer to the artefact
|
| 58 |
+
they produce. Forks may not.
|
| 59 |
+
|
| 60 |
+
## Relationship to Authority Finality™
|
| 61 |
+
|
| 62 |
+
| | KYE Chain of Authority™ | Authority Finality™ |
|
| 63 |
+
|---|---|---|
|
| 64 |
+
| Type | Structural artefact | Property / outcome |
|
| 65 |
+
| Question it answers | *What is the chain?* | *Is the chain final and provable?* |
|
| 66 |
+
| Plural? | Yes — many chains per gateway | No — single property of any chain |
|
| 67 |
+
| Schema | Composed from `delegation` chain + `state-composition.json` | Asserted by the runtime over the composed chain |
|
| 68 |
+
|
| 69 |
+
— KYE Protocol™ project, 2026.
|
vocabulary/continuity-discoverability.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Continuity + Discoverability vocabulary
|
| 2 |
+
|
| 3 |
+
Names introduced by **KYE Continuity Profile™** (`kye-continuity-v1`) and
|
| 4 |
+
**KYE Discoverability Profile™** (`kye-discoverability-v1`). This document
|
| 5 |
+
lists names only. Detection algorithms, scoring weights, thresholds, and
|
| 6 |
+
graph-traversal mechanisms are part of the normative specification and the
|
| 7 |
+
patent track, and are not published here.
|
| 8 |
+
|
| 9 |
+
## KYE Continuity Profile™
|
| 10 |
+
|
| 11 |
+
### Continuity decision values
|
| 12 |
+
|
| 13 |
+
| Value | Meaning |
|
| 14 |
+
|---|---|
|
| 15 |
+
| `continuity_preserved` | Interpreted intent matches declared intent; authority + state + scope intact; no material drift detected. |
|
| 16 |
+
| `continuity_degraded` | One or more dimensions show drift; action proceeds with constraints + obligation list. |
|
| 17 |
+
| `continuity_broken` | Material drift on at least one dimension; action MUST NOT proceed without re-anchoring. |
|
| 18 |
+
|
| 19 |
+
The companion `continuity_score` is a numeric in `[0, 1]`. The mapping from
|
| 20 |
+
score to decision value is part of the normative specification.
|
| 21 |
+
|
| 22 |
+
### Drift types
|
| 23 |
+
|
| 24 |
+
Ten named drift categories. Detection rules are not published.
|
| 25 |
+
|
| 26 |
+
| Name | Surface |
|
| 27 |
+
|---|---|
|
| 28 |
+
| `intent_drift` | Interpreted goal diverges from declared goal. |
|
| 29 |
+
| `authority_drift` | Authority record at decision time differs from authority at delegation time. |
|
| 30 |
+
| `scope_drift` | Action lies outside intersected scope along the chain. |
|
| 31 |
+
| `state_drift` | Authority / principal / actor state changed since grant. |
|
| 32 |
+
| `capability_drift` | Capability invoked is not the capability granted. |
|
| 33 |
+
| `execution_drift` | Runtime behaviour diverges from declared plan. |
|
| 34 |
+
| `incentive_drift` | Pressure / incentive context conflicts with declared intent. |
|
| 35 |
+
| `oversight_drift` | Required oversight chain is missing or stale. |
|
| 36 |
+
| `evidence_drift` | Evidence references are missing, mutated, or unverifiable. |
|
| 37 |
+
| `delegation_drift` | Delegation chain has been broken, attenuated past tolerance, or re-rooted. |
|
| 38 |
+
|
| 39 |
+
### Reason codes (continuity)
|
| 40 |
+
|
| 41 |
+
Continuity-status reason codes are listed in `reason-codes.md` under the
|
| 42 |
+
**Continuity** group. Names follow the `<dimension>_drift_detected`
|
| 43 |
+
convention (e.g., `intent_drift_detected`, `scope_drift_detected`).
|
| 44 |
+
|
| 45 |
+
### Required objects
|
| 46 |
+
|
| 47 |
+
| Object | Role |
|
| 48 |
+
|---|---|
|
| 49 |
+
| `KYEContinuityDecision` | The signed continuity verdict for a single decision point. |
|
| 50 |
+
| `KYEAgencyDriftEvent` | One record per detected drift; hash-chained into the audit ledger. |
|
| 51 |
+
| `Continuity Decision Map™` | The replayable artefact bound to a continuity decision. |
|
| 52 |
+
| `Continuity Evidence Pack™` | Signed bundle composing intent + interpretation + state + pressure + incentive + decision + execution + drift events. |
|
| 53 |
+
|
| 54 |
+
### Continuity signals
|
| 55 |
+
|
| 56 |
+
`kye.intent.declared`, `kye.intent.drift_detected`,
|
| 57 |
+
`kye.agency_drift.detected`, `kye.agency_drift.review_required`,
|
| 58 |
+
`kye.agency_drift.resolved`, `kye.agency_drift.quarantined`.
|
| 59 |
+
|
| 60 |
+
## KYE Discoverability Profile™
|
| 61 |
+
|
| 62 |
+
### Discovery modes
|
| 63 |
+
|
| 64 |
+
| Mode | Surface |
|
| 65 |
+
|---|---|
|
| 66 |
+
| `directory_lookup` | Resolve a known KYE URN to its current authority record + state. |
|
| 67 |
+
| `path_finder` | Find the delegation path(s) from a principal to an actor for a capability. |
|
| 68 |
+
| `graph_walk` | Traverse the authority graph under a discovery policy with row-level masking. |
|
| 69 |
+
| `risk_discovery` | Non-mutating traversal returning the *would-result* set for a candidate action (stale / over-permissioned / pre-revocation blast radius). |
|
| 70 |
+
| `connector_discovery` | Locate Connector Profile™ implementations + their conformance state. |
|
| 71 |
+
| `evidence_finder` | Resolve audit-event + evidence-pack pointers bound to a decision. |
|
| 72 |
+
|
| 73 |
+
### Risk discovery types
|
| 74 |
+
|
| 75 |
+
| Type | Returns |
|
| 76 |
+
|---|---|
|
| 77 |
+
| `stale` | Authority records that have not been exercised within a profile-defined window. |
|
| 78 |
+
| `over_permissioned` | Authority records whose granted scope materially exceeds observed exercise. |
|
| 79 |
+
| `pre_revocation_blast_radius` | The downstream set that *would* be quarantined if a target authority were revoked. |
|
| 80 |
+
|
| 81 |
+
The detection windows, scoring weights, and side-effect-level thresholds are
|
| 82 |
+
part of the normative specification.
|
| 83 |
+
|
| 84 |
+
### Required objects
|
| 85 |
+
|
| 86 |
+
| Object | Role |
|
| 87 |
+
|---|---|
|
| 88 |
+
| `KYE Authority Directory™` | The directory index of cryptographically-bound authority records. |
|
| 89 |
+
| `KYE Discovery Console™` | The operator surface over the directory + path finder + risk discovery. |
|
| 90 |
+
| `KYE Authority Path Finder™` | The path-resolution engine over the authority graph. |
|
| 91 |
+
| `KYE Evidence Finder™` | The resolver over audit-event + evidence-pack indexes. |
|
| 92 |
+
| `KYE Connector Discovery Hub™` | The discovery surface for Connector Profile™ implementations. |
|
| 93 |
+
|
| 94 |
+
### Reason codes (discovery)
|
| 95 |
+
|
| 96 |
+
Discovery reason codes are listed in `reason-codes.md` under the
|
| 97 |
+
**Discovery** group. Names follow the `discovery_<mode>_<outcome>`
|
| 98 |
+
convention.
|
| 99 |
+
|
| 100 |
+
### Discovery signals
|
| 101 |
+
|
| 102 |
+
`kye.discovery.queried`, `kye.discovery.masked`,
|
| 103 |
+
`kye.discovery.federation_traversed`, `kye.discovery.policy_denied`,
|
| 104 |
+
`kye.risk.stale_detected`, `kye.risk.over_permissioned_detected`,
|
| 105 |
+
`kye.risk.blast_radius_computed`.
|
| 106 |
+
|
| 107 |
+
## Cross-profile composition
|
| 108 |
+
|
| 109 |
+
KYE Continuity Profile™ and KYE Discoverability Profile™ MAY compose with
|
| 110 |
+
any KYE Connector Profile™. The profiles do not redefine identity, scope
|
| 111 |
+
attenuation, or audit-chain semantics; they extend the runtime decision
|
| 112 |
+
surface and the discovery surface respectively.
|
| 113 |
+
|
| 114 |
+
## Patent-safe boundary
|
| 115 |
+
|
| 116 |
+
Algorithm content for drift detection, score computation, blast-radius
|
| 117 |
+
traversal, intent-interpretation binding, and pre-revocation pruning is
|
| 118 |
+
**not** in this repository. See the public landing pages for the profile
|
| 119 |
+
overviews; counsel-controlled material remains private.
|
vocabulary/data-classes.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Data Classification Vocabulary
|
| 2 |
+
|
| 3 |
+
Data classification labels are used in scopes, policies, and obligations to constrain what data classes an action may touch.
|
| 4 |
+
|
| 5 |
+
This document defines **names only**. Tagging rules and policy semantics are part of the normative specification.
|
| 6 |
+
|
| 7 |
+
| Class | Meaning |
|
| 8 |
+
|---|---|
|
| 9 |
+
| `public` | Public information |
|
| 10 |
+
| `internal` | Internal to the organization |
|
| 11 |
+
| `confidential` | Confidential information |
|
| 12 |
+
| `restricted` | Restricted access required |
|
| 13 |
+
| `secret` | Secret information |
|
| 14 |
+
| `classified` | Classified under formal classification regimes |
|
| 15 |
+
| `pii` | Personally identifiable information |
|
| 16 |
+
| `ephi` | Electronic protected health information |
|
| 17 |
+
| `cardholder_data` | Payment cardholder data |
|
| 18 |
+
| `financial_data` | Financial data |
|
| 19 |
+
| `operational_technology_data` | Operational technology data |
|
| 20 |
+
| `defense_data` | Defense-related data |
|
| 21 |
+
| `export_controlled_data` | Export-controlled data |
|
| 22 |
+
| `safety_critical_data` | Safety-critical data |
|
vocabulary/entity-types.md
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Entity Types
|
| 2 |
+
|
| 3 |
+
This document lists the entity types KYE Protocol™ recognizes. Type names are stable identifiers used in entity records, policy inputs, and dictionaries.
|
| 4 |
+
|
| 5 |
+
This document defines **names only**. The lifecycle, validation rules, and attestation requirements for each type are part of the normative specification, which is published separately.
|
| 6 |
+
|
| 7 |
+
## Hierarchy
|
| 8 |
+
|
| 9 |
+
Every KYE™ entity resolves into one canonical containment tree (v3-final, locked 2026-05-14). The tree is parent-required at every node. Model, Tool, External App, and Audit Stream are **first-class Workspace-level entities** in v3 — they are not subtypes of Principal.
|
| 10 |
+
|
| 11 |
+
```
|
| 12 |
+
Tenant (kye:tenant:…) — billing + isolation root
|
| 13 |
+
├── Legal Entity (kye:lglent:…) — registered company / regulator-facing legal person
|
| 14 |
+
├── Billing Account (kye:bill:…) — Stripe customer + payment method + tax id
|
| 15 |
+
├── Domains (kye:dom:…) — verified DNS domains, branded URLs
|
| 16 |
+
├── Policies (kye:pol:…) — active Operating Model™, rule bundles, attestations
|
| 17 |
+
└── Workspaces (kye:wsp:…) — environment / dataspace (prod, sandbox, region-specific)
|
| 18 |
+
├── Projects (kye:prj:…) — units of work; scoped budgets + quotas
|
| 19 |
+
├── Teams (kye:team:…) — RBAC + ownership group
|
| 20 |
+
├── Resources (kye:res:…) — D1 tables, R2 buckets, queues, connectors
|
| 21 |
+
├── Principals (kye:prin:…) — the acting parties (Human / System / Agent)
|
| 22 |
+
├── Models (kye:model:…) — inference artefacts; versioned
|
| 23 |
+
├── Tools (kye:tool:…) — named callables; declared side-effects
|
| 24 |
+
├── External Apps (kye:extapp:…) — 3rd-party integrations; partner connectors
|
| 25 |
+
└── Audit Streams (kye:audstream:…) — append-only event destinations (SIEM, S3, Kafka)
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
Each entity carries a `state` field governed by a registered state machine (see `public/vocabulary/state-machines.md`). Every entity also carries a `state_machine_id` identifying which machine governs it. Relationships between entities are explicit typed edges (see `public/vocabulary/relationships.md`).
|
| 29 |
+
|
| 30 |
+
### Tenant-level siblings (5)
|
| 31 |
+
|
| 32 |
+
| Sibling | Stable type | ID class | Required parent | Purpose |
|
| 33 |
+
|---|---|---|---|---|
|
| 34 |
+
| Legal Entity | `legal_entity` | `lglent` | `tenant_id` | registered legal person; regulator-facing record (company number, country, jurisdiction). One Tenant MAY hold multiple Legal Entities (group structure, foreign subsidiaries). |
|
| 35 |
+
| Billing Account | `billing_account` | `bill` | `tenant_id` | Stripe customer id, default payment method, billing email, tax id, currency. One Tenant MAY hold multiple Billing Accounts (split billing per business unit). |
|
| 36 |
+
| Domains | `domain` | `dom` | `tenant_id` | verified DNS domains the Tenant owns (`acme.com`, `acme-uk.com`). Used for branded sender, federation routing, SSO. |
|
| 37 |
+
| Policies | `policy_bundle` | `pol` | `tenant_id` | active Operating Model™, rule bundles, attestation policies, sub-processor list. One Tenant MAY hold multiple Policy Bundles (one per regime: PRA / DORA / EU AI Act). |
|
| 38 |
+
| Workspaces | `workspace` | `wsp` | `tenant_id` | environment / dataspace. One Tenant MAY hold many Workspaces (prod / sandbox / eu-west-1 / consumer-bank / corporate-bank). |
|
| 39 |
+
|
| 40 |
+
### Workspace-level siblings (8)
|
| 41 |
+
|
| 42 |
+
| Sibling | Stable type | ID class | Required parent | Purpose |
|
| 43 |
+
|---|---|---|---|---|
|
| 44 |
+
| Projects | `project` | `prj` | `workspace_id` | unit of work; scoped budget + quota; one Operating Model fragment per Project |
|
| 45 |
+
| Teams | `team` | `team` | `workspace_id` | RBAC + ownership group; who-owns-what; bounded delegation surface; approval routing |
|
| 46 |
+
| Resources | `resource` | `res` | `workspace_id` | D1 tables, R2 buckets, queues, connectors that live inside the workspace. Resources are leaves — they don't contain other entities |
|
| 47 |
+
| Principals | `principal` | `prin` | `workspace_id`; `team_id` optional | the acting party — referenced as `actor_entity_id` / `principal_entity_id` in every Decision Map™ row |
|
| 48 |
+
| Models | `model` | `model` | `workspace_id` | an inference artefact (LLM, vision model, embedding model); carries `provider`, `family`, `version`, `weights_hash`. First-class in v3. |
|
| 49 |
+
| Tools | `tool` | `tool` | `workspace_id` | a named callable (function, MCP tool, API endpoint); carries `function_signature`, `declared_capabilities[]`, `side_effects[]`. First-class in v3. |
|
| 50 |
+
| External Apps | `external_app` | `extapp` | `workspace_id` | a 3rd-party integration or partner connector acting on behalf of the tenant; carries `partner_org_id`, `connector_kind`, `oauth_subject`. First-class in v3. |
|
| 51 |
+
| Audit Streams | `audit_stream` | `audstream` | `workspace_id` | an append-only event-log destination the Workspace writes to (SIEM, S3, Splunk, Kafka topic); governed by an authority grant, not an IAM binding. New in v3. |
|
| 52 |
+
|
| 53 |
+
### Principal subtypes (v3: 4 subtypes)
|
| 54 |
+
|
| 55 |
+
In v3, `principal_class` has exactly four values — `human`, `system`,
|
| 56 |
+
`agent`, and `external_app` (the schema enum on
|
| 57 |
+
`kye.entity.principal.v1`, "reduced from six to four"). The v2 values
|
| 58 |
+
`model` and `tool` are **deprecated** — promoted to standalone entity
|
| 59 |
+
classes (`kye:model:…`, `kye:tool:…`). `external_app` is retained as a
|
| 60 |
+
principal_class (a 3rd-party integration acting on behalf of the tenant)
|
| 61 |
+
and ALSO exists as a standalone entity class (`kye:extapp:…`, see the
|
| 62 |
+
table above). See `constitution/DEVIATIONS.md` for the migration window.
|
| 63 |
+
|
| 64 |
+
Every Principal MUST resolve to exactly one subtype via its `principal_class` field:
|
| 65 |
+
|
| 66 |
+
| Subclass | Examples | Subclass-specific fields |
|
| 67 |
+
|---|---|---|
|
| 68 |
+
| `human` | person, employee, contractor, operator, approver, auditor, regulator, customer, patient, support_user | full_name, email_hash, idp_subject, role |
|
| 69 |
+
| `system` | workload, service_account, api_client, serverless_function, container, vm, cluster, runtime, queue_consumer, webhook_endpoint, connector | service_principal_id, runs_in_workspace, owning_team_id |
|
| 70 |
+
| `agent` | ai_agent, agent_runtime | model_entity_id (→ `kye:model:…`), tool_entity_ids[] (→ `kye:tool:…`), operating_loop_kind |
|
| 71 |
+
| `external_app` | 3rd-party integration / partner connector acting on behalf of the tenant | partner_org_id, connector_kind, oauth_subject |
|
| 72 |
+
|
| 73 |
+
Note that in v3 an `agent` Principal references its Model via a
|
| 74 |
+
`kye:model:…` entity ID and its Tools via `kye:tool:…` entity IDs —
|
| 75 |
+
it does not embed them as subtypes.
|
| 76 |
+
|
| 77 |
+
The hierarchy is enforced at schema time (`kye.entity.{tenant, legal_entity, billing_account, domain, policy_bundle, workspace, project, team, resource, principal, model, tool, external_app, audit_stream}.v1`) and at runtime by the PDP. KYE Onboarding Agent™ auto-creates a default Workspace + Team + admin Principal for every newly-granted Tenant so existing API keys, decisions, and audit rows always resolve to a valid parent chain.
|
| 78 |
+
|
| 79 |
+
## Human entities
|
| 80 |
+
|
| 81 |
+
| Type | Description |
|
| 82 |
+
|---|---|
|
| 83 |
+
| `person` | A natural person |
|
| 84 |
+
| `employee` | A person employed by a legal entity |
|
| 85 |
+
| `contractor` | A person engaged under a service contract |
|
| 86 |
+
| `operator` | A person operating a system or workflow |
|
| 87 |
+
| `approver` | A person empowered to approve actions |
|
| 88 |
+
| `auditor` | A person performing audit review |
|
| 89 |
+
| `regulator` | A regulatory authority representative |
|
| 90 |
+
| `customer` | A consumer of a product or service |
|
| 91 |
+
| `patient` | A patient in a healthcare context |
|
| 92 |
+
| `support_user` | A support-context user |
|
| 93 |
+
|
| 94 |
+
## Organizational entities
|
| 95 |
+
|
| 96 |
+
| Type | Description |
|
| 97 |
+
|---|---|
|
| 98 |
+
| `business` | A commercial organization |
|
| 99 |
+
| `legal_entity` | A registered legal entity |
|
| 100 |
+
| `subsidiary` | A subsidiary of a parent company |
|
| 101 |
+
| `parent_company` | A parent company |
|
| 102 |
+
| `department` | A department within an organization |
|
| 103 |
+
| `team` | A team within an organization |
|
| 104 |
+
| `public_authority` | A public-sector authority |
|
| 105 |
+
| `processor` | A data processor |
|
| 106 |
+
| `subprocessor` | A sub-processor |
|
| 107 |
+
| `supplier` | A supplier or vendor |
|
| 108 |
+
| `relying_party` | A relying party in an identity exchange |
|
| 109 |
+
|
| 110 |
+
## Technical entities
|
| 111 |
+
|
| 112 |
+
| Type | Description |
|
| 113 |
+
|---|---|
|
| 114 |
+
| `workload` | A running computational unit |
|
| 115 |
+
| `service_account` | A non-human service identity |
|
| 116 |
+
| `api_client` | An API client |
|
| 117 |
+
| `serverless_function` | A serverless function |
|
| 118 |
+
| `container` | A container instance |
|
| 119 |
+
| `vm` | A virtual machine |
|
| 120 |
+
| `cluster` | A compute cluster |
|
| 121 |
+
| `runtime` | A runtime environment |
|
| 122 |
+
| `connector` | An integration connector |
|
| 123 |
+
| `webhook_endpoint` | A webhook receiver |
|
| 124 |
+
| `queue_consumer` | A message-queue consumer |
|
| 125 |
+
|
| 126 |
+
## AI entities
|
| 127 |
+
|
| 128 |
+
| Type | Description |
|
| 129 |
+
|---|---|
|
| 130 |
+
| `ai_agent` | An AI agent |
|
| 131 |
+
| `agent_runtime` | An AI agent runtime |
|
| 132 |
+
| `model` | A model |
|
| 133 |
+
| `model_version` | A specific model version |
|
| 134 |
+
| `prompt_template` | A prompt template |
|
| 135 |
+
| `memory_store` | An agent memory store |
|
| 136 |
+
| `vector_index` | A vector index |
|
| 137 |
+
| `tool` | A tool or plugin |
|
| 138 |
+
| `guardrail` | A guardrail component |
|
| 139 |
+
| `evaluator` | An evaluator component |
|
| 140 |
+
| `workflow` | A multi-step workflow |
|
| 141 |
+
|
| 142 |
+
## Credential entities
|
| 143 |
+
|
| 144 |
+
| Type | Description |
|
| 145 |
+
|---|---|
|
| 146 |
+
| `key` | A cryptographic key |
|
| 147 |
+
| `api_key` | An API key |
|
| 148 |
+
| `jwt` | A JWT-formatted credential |
|
| 149 |
+
| `certificate` | An X.509 certificate |
|
| 150 |
+
| `x509_svid` | A SPIFFE X.509 SVID |
|
| 151 |
+
| `jwt_svid` | A SPIFFE JWT SVID |
|
| 152 |
+
| `verifiable_credential` | A W3C verifiable credential |
|
| 153 |
+
| `delegation_credential` | A delegation credential |
|
| 154 |
+
| `scope_credential` | A scope credential |
|
| 155 |
+
| `approval_credential` | An approval credential |
|
| 156 |
+
|
| 157 |
+
## Data and resource entities
|
| 158 |
+
|
| 159 |
+
| Type | Description |
|
| 160 |
+
|---|---|
|
| 161 |
+
| `dataset` | A dataset |
|
| 162 |
+
| `database` | A database |
|
| 163 |
+
| `table` | A database table |
|
| 164 |
+
| `file` | A file |
|
| 165 |
+
| `document` | A document |
|
| 166 |
+
| `record` | A record |
|
| 167 |
+
| `payment_instruction` | A payment instruction |
|
| 168 |
+
| `clinical_record` | A clinical record |
|
| 169 |
+
| `cardholder_object` | A cardholder data object (regulated) |
|
| 170 |
+
| `evidence_pack` | A compliance evidence pack |
|
| 171 |
+
| `policy_bundle` | A policy bundle |
|
| 172 |
+
|
| 173 |
+
## Naming rules
|
| 174 |
+
|
| 175 |
+
+ Type names are lowercase ASCII with underscores.
|
| 176 |
+
+ Type names are stable identifiers and must not be reused for unrelated semantics.
|
| 177 |
+
+ Adding a new type requires a vocabulary proposal. Mechanism details are out of scope for this document.
|
vocabulary/formal-rules.md
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Formal Rules vocabulary
|
| 2 |
+
|
| 3 |
+
Names introduced by **KYE Formal Rules Profile™**
|
| 4 |
+
(`kye-formal-rules-v1`) — the rights, obligations and governance
|
| 5 |
+
layer. This document lists names only. Rule-conflict-detection
|
| 6 |
+
algorithms, rule-proof internals, rule-compilation engine, contract-
|
| 7 |
+
to-authority extraction, semantic obligation mapping and sector-rule-
|
| 8 |
+
pack content are part of the patent track and are not published here.
|
| 9 |
+
|
| 10 |
+
> **A rule should not only be written. It should be enforceable,
|
| 11 |
+
> discoverable, revocable, provable and replayable.**
|
| 12 |
+
|
| 13 |
+
## Rule families
|
| 14 |
+
|
| 15 |
+
Six normative families. Every `KYEFormalRule` declares exactly one.
|
| 16 |
+
|
| 17 |
+
| Family | Operator | Meaning |
|
| 18 |
+
|---|---|---|
|
| 19 |
+
| `permission` | `P` | Subject MAY perform the action under stated authority + scope + state. |
|
| 20 |
+
| `obligation` | `O` | Subject MUST perform the required action when the trigger condition applies. |
|
| 21 |
+
| `prohibition` | `F` | Subject MUST NOT perform the prohibited action under stated conditions. |
|
| 22 |
+
| `power` | `Pow` | Subject HAS authority to create, modify, revoke, waive or override a normative state. |
|
| 23 |
+
| `immunity` | `Imm` | Subject / state CANNOT be altered by the referenced actor or rule. |
|
| 24 |
+
| `exception` | `Ex` | Rule is displaced or modified under enumerated exceptional conditions. |
|
| 25 |
+
|
| 26 |
+
A seventh family `meta_governance` is recorded under
|
| 27 |
+
`KYEGovernanceRule` and describes who may change rules, which rules
|
| 28 |
+
dominate, and how conflicts resolve.
|
| 29 |
+
|
| 30 |
+
## Normative operators
|
| 31 |
+
|
| 32 |
+
Compact notation used inside `normative_effect.operator`:
|
| 33 |
+
|
| 34 |
+
| Operator | Family | Meaning |
|
| 35 |
+
|---|---|---|
|
| 36 |
+
| `P` | permission | "may" |
|
| 37 |
+
| `O` | obligation | "must" |
|
| 38 |
+
| `F` | prohibition | "must not" |
|
| 39 |
+
| `Pow` | power | "has authority to" |
|
| 40 |
+
| `Imm` | immunity | "cannot be altered by" |
|
| 41 |
+
| `Ex` | exception | "displaced by, in conditions" |
|
| 42 |
+
|
| 43 |
+
KYE™ does not commit to a specific deontic-logic syntax in the public
|
| 44 |
+
surface. The operators above are the canonical product-friendly
|
| 45 |
+
abbreviations.
|
| 46 |
+
|
| 47 |
+
## Decision outputs
|
| 48 |
+
|
| 49 |
+
Beyond Core's `{allow, deny, require_approval, require_step_up,
|
| 50 |
+
quarantine}`, the Formal Rules Profile™ adds:
|
| 51 |
+
|
| 52 |
+
`prohibited` · `obligation_created` · `obligation_satisfied` ·
|
| 53 |
+
`obligation_breached` · `override_required` · `evidence_required` ·
|
| 54 |
+
`human_review_required`.
|
| 55 |
+
|
| 56 |
+
## Permission types
|
| 57 |
+
|
| 58 |
+
`delegated_capability_permission` · `role_based_permission` ·
|
| 59 |
+
`scope_based_permission` · `regulatory_permission` ·
|
| 60 |
+
`contractual_permission`.
|
| 61 |
+
|
| 62 |
+
## Obligation types
|
| 63 |
+
|
| 64 |
+
`pre_execution_approval` · `post_action_review` ·
|
| 65 |
+
`evidence_emission` · `notification` · `data_retention` ·
|
| 66 |
+
`data_deletion` · `regulatory_report` · `remediation` · `custom`.
|
| 67 |
+
|
| 68 |
+
## Obligation states
|
| 69 |
+
|
| 70 |
+
`pending` · `satisfied` · `breached` · `waived` · `expired` ·
|
| 71 |
+
`disputed` · `remediated` · `superseded`.
|
| 72 |
+
|
| 73 |
+
## Power types
|
| 74 |
+
|
| 75 |
+
`grant_power` · `revocation_power` · `modification_power` ·
|
| 76 |
+
`waiver_power` · `override_power` · `delegation_power`.
|
| 77 |
+
|
| 78 |
+
## Exception types
|
| 79 |
+
|
| 80 |
+
`emergency_override` · `business_continuity` ·
|
| 81 |
+
`regulatory_instruction` · `incident_response` ·
|
| 82 |
+
`scheduled_maintenance` · `custom`.
|
| 83 |
+
|
| 84 |
+
## Conflict types
|
| 85 |
+
|
| 86 |
+
`permission_prohibition_conflict` · `obligation_circularity` ·
|
| 87 |
+
`obligation_without_satisfaction_path` · `unbounded_obligation` ·
|
| 88 |
+
`unrevocable_authority` · `circular_delegation` ·
|
| 89 |
+
`missing_evidence_requirement` · `priority_tie` · `scope_overlap` ·
|
| 90 |
+
`exception_overlap`.
|
| 91 |
+
|
| 92 |
+
## Resolution strategies
|
| 93 |
+
|
| 94 |
+
`specific_rule_overrides_general_rule` ·
|
| 95 |
+
`prohibition_overrides_permission` · `later_rule_overrides_earlier` ·
|
| 96 |
+
`higher_priority_wins` · `explicit_governance_override` ·
|
| 97 |
+
`unresolved`.
|
| 98 |
+
|
| 99 |
+
## Required objects
|
| 100 |
+
|
| 101 |
+
| Object | Schema |
|
| 102 |
+
|---|---|
|
| 103 |
+
| Profile descriptor | `formal-rules-profile.json` |
|
| 104 |
+
| Formal Rule | `formal-rule.json` |
|
| 105 |
+
| Permission | `permission.json` |
|
| 106 |
+
| Obligation | `obligation.json` |
|
| 107 |
+
| Prohibition | `prohibition.json` |
|
| 108 |
+
| Power | `power.json` |
|
| 109 |
+
| Exception | `exception.json` |
|
| 110 |
+
| Governance Rule | `governance-rule.json` |
|
| 111 |
+
| Rule Conflict | `rule-conflict.json` |
|
| 112 |
+
| Rule Proof | `rule-proof.json` |
|
| 113 |
+
| Obligation State | `obligation-state.json` |
|
| 114 |
+
|
| 115 |
+
## Reason codes
|
| 116 |
+
|
| 117 |
+
See `reason-codes.md` under the **Formal Rules profile reason codes**
|
| 118 |
+
group (33 codes).
|
| 119 |
+
|
| 120 |
+
## Patent-safe boundary
|
| 121 |
+
|
| 122 |
+
Rule-conflict-detection algorithm, rule-proof internals, rule-
|
| 123 |
+
compilation engine, contract-to-authority extraction, semantic
|
| 124 |
+
obligation mapping and sector-specific formal-rule packs are **not**
|
| 125 |
+
in this repository.
|
vocabulary/graph-types-v1.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Protocol™ — Graph node, edge, and query dictionaries (V1)
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative. v1.0. Apache 2.0. Companion to
|
| 4 |
+
> the `graph` dictionary + graph-traversal additions to the `runtime-authority` profile (post-§29 landing).
|
| 5 |
+
>
|
| 6 |
+
> KYE is **graph-first** because authority is relational. The
|
| 7 |
+
> dictionaries below are the canonical values for `node_type`,
|
| 8 |
+
> `edge_type`, and `graph_query_type` referenced by `graph-node.json`,
|
| 9 |
+
> `graph-edge.json`, and `decision-map.json`. Specific traversal
|
| 10 |
+
> algorithms are part of the patent track and are not described here.
|
| 11 |
+
|
| 12 |
+
## 1. `node_type`
|
| 13 |
+
|
| 14 |
+
`entity` · `human` · `organisation` · `ai_agent` · `api_client` ·
|
| 15 |
+
`wallet` · `device` · `credential` · `capability` · `skill` · `tool` ·
|
| 16 |
+
`workflow` · `prompt` · `model` · `resource` · `policy` ·
|
| 17 |
+
`authority_grant` · `delegation` · `scope` · `state` ·
|
| 18 |
+
`payload_artifact` · `decision` · `audit_event` · `evidence_pack` ·
|
| 19 |
+
`compliance_control` · `taxonomy_term` · `metadata_schema`
|
| 20 |
+
|
| 21 |
+
## 2. `edge_type`
|
| 22 |
+
|
| 23 |
+
`owns` · `controls` · `maintains` · `issues` · `approves` ·
|
| 24 |
+
`delegates_to` · `acts_on_behalf_of` · `grants_authority_to` ·
|
| 25 |
+
`has_authority` · `authorises_capability` · `uses_capability` ·
|
| 26 |
+
`depends_on` · `calls` · `accesses` · `bound_to_credential` ·
|
| 27 |
+
`has_state` · `governed_by_policy` · `requires_approval_from` ·
|
| 28 |
+
`evaluated_by` · `allowed_by` · `denied_by` · `produced_decision` ·
|
| 29 |
+
`produced_audit_event` · `included_in_evidence_pack` ·
|
| 30 |
+
`maps_to_framework_control` · `supersedes` · `revokes` ·
|
| 31 |
+
`quarantines` · `recovers`
|
| 32 |
+
|
| 33 |
+
## 3. `graph_query_type`
|
| 34 |
+
|
| 35 |
+
`authority_path` · `delegation_path` · `capability_dependency` ·
|
| 36 |
+
`decision_map` · `evidence_graph` · `risk_propagation` ·
|
| 37 |
+
`blast_radius` · `compliance_mapping` · `lineage` · `ownership` ·
|
| 38 |
+
`policy_coverage`
|
| 39 |
+
|
| 40 |
+
## 4. Trademarked graph projections
|
| 41 |
+
|
| 42 |
+
| Term | Score | Use |
|
| 43 |
+
|-----------------------|-------|-------------------------------|
|
| 44 |
+
| **Authority Graph™** | 97 | Core KYE concept |
|
| 45 |
+
| **Decision Map™** | 96 | Per-decision explainability |
|
| 46 |
+
| **Evidence Graph™** | 95 | Decision ↔ evidence linkage |
|
| 47 |
+
| **Blast Radius Map™** | 94 | Compromise impact analysis |
|
| 48 |
+
| **Compliance Map™** | 94 | Framework control projection |
|
| 49 |
+
|
| 50 |
+
## 5. Use in copy
|
| 51 |
+
|
| 52 |
+
> **KYE is graph-first because authority is relational.** It maps
|
| 53 |
+
> every entity, delegation, capability, credential, policy, state,
|
| 54 |
+
> decision, and evidence object into a traversable Authority Graph™.
|
| 55 |
+
>
|
| 56 |
+
> Every KYE decision comes with a **Decision Map™** — a
|
| 57 |
+
> replayable graph showing who or what acted, for whom, using which
|
| 58 |
+
> capability, under what authority, in what state, and with what
|
| 59 |
+
> evidence.
|
| 60 |
+
|
| 61 |
+
— KYE Protocol™ project, 2026.
|
vocabulary/healthcare-break-glass-categories.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Protocol™ — Healthcare break-glass categories
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative. v1.0. Apache 2.0. Companion to
|
| 4 |
+
> `internal` and `internal`.
|
| 5 |
+
|
| 6 |
+
A break-glass grant in the Healthcare profile MUST carry a
|
| 7 |
+
category-coded `reason_code` from the list below. Categories drive the
|
| 8 |
+
post-hoc-review SLA, the audit retention class, and the regulator
|
| 9 |
+
notification rule.
|
| 10 |
+
|
| 11 |
+
## 1. Emergency clinical categories
|
| 12 |
+
|
| 13 |
+
`healthcare.bg.emergency_treatment` —
|
| 14 |
+
imminent threat to life or limb; care provider invoking break-glass
|
| 15 |
+
without prior consent. Post-hoc review: ≤ 24 h.
|
| 16 |
+
|
| 17 |
+
`healthcare.bg.unconscious_patient` —
|
| 18 |
+
patient cannot give consent; authorised next-of-kin not yet reached.
|
| 19 |
+
Post-hoc review: ≤ 48 h.
|
| 20 |
+
|
| 21 |
+
`healthcare.bg.public_health_emergency` —
|
| 22 |
+
declared public-health emergency (e.g. mass-casualty event) authorising
|
| 23 |
+
broader access. Post-hoc review: ≤ 72 h; regulator notified.
|
| 24 |
+
|
| 25 |
+
`healthcare.bg.psychiatric_hold` —
|
| 26 |
+
involuntary hold under jurisdictional mental-health statute. Post-hoc
|
| 27 |
+
review: ≤ 24 h; legal counsel CC'd.
|
| 28 |
+
|
| 29 |
+
## 2. Care-coordination categories
|
| 30 |
+
|
| 31 |
+
`healthcare.bg.care_handoff_emergency` —
|
| 32 |
+
unplanned transfer of patient (e.g. interhospital). Post-hoc review:
|
| 33 |
+
≤ 24 h.
|
| 34 |
+
|
| 35 |
+
`healthcare.bg.dependent_care` —
|
| 36 |
+
parent / guardian acting for a minor or dependent without contemporaneous
|
| 37 |
+
consent. Post-hoc review: ≤ 7 days.
|
| 38 |
+
|
| 39 |
+
## 3. Investigative categories
|
| 40 |
+
|
| 41 |
+
`healthcare.bg.research_waiver` —
|
| 42 |
+
research access under an IRB / ethics-board waiver; authority bound to
|
| 43 |
+
the waiver attestation. Post-hoc review: ≤ 30 days.
|
| 44 |
+
|
| 45 |
+
`healthcare.bg.fraud_investigation` —
|
| 46 |
+
internal investigation of suspected fraud; authority bound to a
|
| 47 |
+
compliance-officer attestation. Post-hoc review: ≤ 30 days.
|
| 48 |
+
|
| 49 |
+
`healthcare.bg.law_enforcement_subpoena` —
|
| 50 |
+
court-issued subpoena; authority bound to subpoena attestation.
|
| 51 |
+
Post-hoc review: ≤ 30 days; legal counsel CC'd.
|
| 52 |
+
|
| 53 |
+
`healthcare.bg.regulatory_audit` —
|
| 54 |
+
regulator-issued audit demand. Post-hoc review: ≤ 30 days.
|
| 55 |
+
|
| 56 |
+
## 4. Operational categories
|
| 57 |
+
|
| 58 |
+
`healthcare.bg.system_recovery` —
|
| 59 |
+
recovery of records during a system outage where normal authority is
|
| 60 |
+
unreachable. Post-hoc review: ≤ 48 h.
|
| 61 |
+
|
| 62 |
+
`healthcare.bg.data_subject_request_extraordinary` —
|
| 63 |
+
extraordinary data-subject access request (e.g. emergency disclosure to
|
| 64 |
+
the patient themselves). Post-hoc review: ≤ 7 days.
|
| 65 |
+
|
| 66 |
+
## 5. Forbidden categories (MUST be rejected)
|
| 67 |
+
|
| 68 |
+
`healthcare.bg.curiosity` ·
|
| 69 |
+
`healthcare.bg.unauthorised_research` ·
|
| 70 |
+
`healthcare.bg.commercial_disclosure` ·
|
| 71 |
+
`healthcare.bg.media_disclosure`
|
| 72 |
+
|
| 73 |
+
A break-glass request whose `reason_code` is in §5 MUST be rejected
|
| 74 |
+
with `reason_code=break_glass_category_forbidden`.
|
| 75 |
+
|
| 76 |
+
— KYE Protocol™ project, 2026.
|
vocabulary/lifecycle-states.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Lifecycle States
|
| 2 |
+
|
| 3 |
+
Every KYE Protocol™ entity carries a `state` field governed by a
|
| 4 |
+
registered state machine (see `public/vocabulary/state-machines.md`).
|
| 5 |
+
This document lists the **canonical state names** that the core KYE
|
| 6 |
+
vocabulary pre-defines.
|
| 7 |
+
|
| 8 |
+
State transition rules, guard evaluation, atomicity requirements, and
|
| 9 |
+
propagation behaviors are part of the normative specification and are
|
| 10 |
+
not published in this repository.
|
| 11 |
+
|
| 12 |
+
## State machine linkage
|
| 13 |
+
|
| 14 |
+
Each entity record holds three state-related fields:
|
| 15 |
+
|
| 16 |
+
| Field | Description |
|
| 17 |
+
|---|---|
|
| 18 |
+
| `state` | The current state value (one of the names below, or a custom name defined by the entity's machine) |
|
| 19 |
+
| `state_machine_id` | URN of the registered state machine governing this entity (e.g., `kye:sm:kyeprotocol.com:core.principal.v1`) |
|
| 20 |
+
| `state_machine_version` | Semver of the machine version in force |
|
| 21 |
+
|
| 22 |
+
The full state event log lives in the append-only `state_events` table.
|
| 23 |
+
See `public/vocabulary/state-machines.md` for the event record fields.
|
| 24 |
+
|
| 25 |
+
## States
|
| 26 |
+
|
| 27 |
+
| State | Stability class | Meaning |
|
| 28 |
+
|---|---|---|
|
| 29 |
+
| `discovered` | transient | Entity has been discovered but not yet registered |
|
| 30 |
+
| `registered` | transient | Entity has been registered with an immutable ID |
|
| 31 |
+
| `pending_verification` | transient | Entity is awaiting verification |
|
| 32 |
+
| `verified` | stable | Entity has been verified |
|
| 33 |
+
| `active` | stable | Entity is active and may participate in governed actions |
|
| 34 |
+
| `limited` | stable | Entity is operating under reduced scope |
|
| 35 |
+
| `under_review` | transient | Entity is under review |
|
| 36 |
+
| `approval_required` | transient | Entity actions require approval |
|
| 37 |
+
| `suspended` | stable | Entity is temporarily prevented from acting |
|
| 38 |
+
| `stopped` | stable | Entity has been stopped by a stop-cascade event |
|
| 39 |
+
| `quarantined` | stable | Entity has been quarantined pending investigation |
|
| 40 |
+
| `revoked` | stable | Entity has been revoked |
|
| 41 |
+
| `transferred` | terminal | Entity has been transferred to a new trust domain |
|
| 42 |
+
| `archived` | terminal | Entity has been archived |
|
| 43 |
+
| `tombstoned` | terminal | Entity is tombstoned and cannot be reactivated |
|
| 44 |
+
|
| 45 |
+
## Entity-class to state machine mapping
|
| 46 |
+
|
| 47 |
+
Each entity class links to its canonical state machine in the
|
| 48 |
+
KYE State Library™:
|
| 49 |
+
|
| 50 |
+
| Entity class | Default state machine ID |
|
| 51 |
+
|---|---|
|
| 52 |
+
| `tenant` | `kye:sm:kyeprotocol.com:core.tenant.v1` |
|
| 53 |
+
| `legal_entity` | `kye:sm:kyeprotocol.com:core.legal_entity.v1` |
|
| 54 |
+
| `billing_account` | `kye:sm:kyeprotocol.com:core.billing_account.v1` |
|
| 55 |
+
| `domain` | `kye:sm:kyeprotocol.com:core.domain.v1` |
|
| 56 |
+
| `policy_bundle` | `kye:sm:kyeprotocol.com:core.policy_bundle.v1` |
|
| 57 |
+
| `workspace` | `kye:sm:kyeprotocol.com:core.workspace.v1` |
|
| 58 |
+
| `project` | `kye:sm:kyeprotocol.com:core.project.v1` |
|
| 59 |
+
| `team` | `kye:sm:kyeprotocol.com:core.team.v1` |
|
| 60 |
+
| `resource` | `kye:sm:kyeprotocol.com:core.resource.v1` |
|
| 61 |
+
| `principal` | `kye:sm:kyeprotocol.com:core.principal.v1` |
|
| 62 |
+
| `model` | `kye:sm:kyeprotocol.com:lib.ai_governance.model.v1` |
|
| 63 |
+
| `tool` | `kye:sm:kyeprotocol.com:lib.ai_governance.tool.v1` |
|
| 64 |
+
| `external_app` | `kye:sm:kyeprotocol.com:core.external_app.v1` |
|
| 65 |
+
| `audit_stream` | `kye:sm:kyeprotocol.com:core.audit_stream.v1` |
|
| 66 |
+
|
| 67 |
+
Tenants may adopt sector-specific library machines or derive tightened
|
| 68 |
+
variants (see `public/vocabulary/state-library.md`).
|
| 69 |
+
|
| 70 |
+
## High-level transition expectations
|
| 71 |
+
|
| 72 |
+
The full transition graph is normative and out of scope for this document. Two high-level expectations:
|
| 73 |
+
|
| 74 |
+
- A `tombstoned` entity has no outbound transitions.
|
| 75 |
+
- A `revoked` entity does not return directly to `active`; recovery requires an explicit re-registration or successor process.
|
| 76 |
+
|
| 77 |
+
The mechanisms enforcing these expectations are part of the normative specification.
|
vocabulary/meaning-continuity.md
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Meaning Continuity vocabulary
|
| 2 |
+
|
| 3 |
+
Names introduced by **KYE Meaning Continuity™**
|
| 4 |
+
(`kye-meaning-continuity-v1`) — the meaning-preservation sub-profile
|
| 5 |
+
of **KYE Continuity Profile™** v1.1.0. This document lists names
|
| 6 |
+
only. Meaning-score computation, constraint-loss detection across
|
| 7 |
+
handoffs, drift-cascade routing, reconfirmation-flow trigger
|
| 8 |
+
thresholds, evidence-pack composition rules and sector-specific
|
| 9 |
+
meaning packs are part of the patent track and are not published
|
| 10 |
+
here.
|
| 11 |
+
|
| 12 |
+
> **KYE Continuity Profile™ preserves the chain. KYE Meaning
|
| 13 |
+
> Continuity™ preserves the meaning along the chain.**
|
| 14 |
+
|
| 15 |
+
## Decision values
|
| 16 |
+
|
| 17 |
+
| Value | Meaning |
|
| 18 |
+
|---|---|
|
| 19 |
+
| `meaning_preserved` | Meaning preserved end-to-end. Route onward. |
|
| 20 |
+
| `meaning_degraded` | Non-material drift detected. Onward with note. |
|
| 21 |
+
| `meaning_broken` | Material meaning loss detected. Block. |
|
| 22 |
+
| `meaning_unknown` | Insufficient evidence to score. Pause. |
|
| 23 |
+
| `require_clarification` | Ambiguity in interpretation. Ask the principal. |
|
| 24 |
+
| `require_reconfirmation` | Material constraint changed. Ask the principal to reconfirm. |
|
| 25 |
+
| `require_human_review` | Drift cannot be resolved automatically. Escalate. |
|
| 26 |
+
| `quarantine` | Pattern matches a watched drift class. Freeze. |
|
| 27 |
+
|
| 28 |
+
## Routing outcomes
|
| 29 |
+
|
| 30 |
+
`pause_admission` · `quarantine_proposed_action` ·
|
| 31 |
+
`route_to_admissibility` · `route_to_authority_check`.
|
| 32 |
+
|
| 33 |
+
## Drift types
|
| 34 |
+
|
| 35 |
+
What meaning continuity actively detects:
|
| 36 |
+
|
| 37 |
+
| Drift type | Meaning |
|
| 38 |
+
|---|---|
|
| 39 |
+
| `constraint_loss` | A material constraint declared by the principal was dropped during interpretation or handoff. |
|
| 40 |
+
| `context_loss` | The contextual record under which the intent was declared has been lost or unreferenced. |
|
| 41 |
+
| `memory_conflict` | Memory used during interpretation conflicts with the principal's declared intent. |
|
| 42 |
+
| `timing_drift` | Time elapsed between intent and evaluation has changed the meaning of the action. |
|
| 43 |
+
| `handoff_drift` | Meaning has drifted across one or more handoff boundaries. |
|
| 44 |
+
| `incentive_drift` | Optimisation goal in effect at evaluation time differs from the principal's declared goal. |
|
| 45 |
+
| `state_transition_drift` | A state transition between intent and evaluation has changed the meaning. |
|
| 46 |
+
| `interpretation_drift` | The interpreted goal differs materially from the declared goal. |
|
| 47 |
+
| `assumption_injection` | Assumptions not declared by the principal have been added during interpretation. |
|
| 48 |
+
| `meaning_compression` | Constraints or scope have been compressed below what the principal declared. |
|
| 49 |
+
| `meaning_expansion` | Constraints or scope have been expanded beyond what the principal declared. |
|
| 50 |
+
|
| 51 |
+
## Continuity modules (Continuity v1.1.0)
|
| 52 |
+
|
| 53 |
+
`intent_continuity` · `meaning_continuity` · `context_continuity` ·
|
| 54 |
+
`memory_continuity` · `incentive_continuity` · `timing_continuity` ·
|
| 55 |
+
`handoff_continuity` · `state_continuity` · `execution_continuity`.
|
| 56 |
+
|
| 57 |
+
## Required objects
|
| 58 |
+
|
| 59 |
+
| Object | Schema |
|
| 60 |
+
|---|---|
|
| 61 |
+
| Meaning Continuity Context | `meaning-continuity-context.json` |
|
| 62 |
+
| Handoff Trace | `handoff-trace.json` |
|
| 63 |
+
| Meaning Drift Event | `meaning-drift-event.json` |
|
| 64 |
+
| Meaning Continuity Decision | `meaning-continuity-decision.json` |
|
| 65 |
+
|
| 66 |
+
## Reason codes
|
| 67 |
+
|
| 68 |
+
`meaning_preserved` · `meaning_degraded` · `meaning_broken` ·
|
| 69 |
+
`meaning_unknown` · `meaning_drift_detected` ·
|
| 70 |
+
`authorised_meaning_preserved` · `authorised_meaning_lost` ·
|
| 71 |
+
`constraint_lost` · `constraint_changed` · `constraint_added` ·
|
| 72 |
+
`assumption_added` · `context_lost` ·
|
| 73 |
+
`context_changed_since_intent` · `memory_conflict_detected` ·
|
| 74 |
+
`memory_stale` · `memory_missing` ·
|
| 75 |
+
`incentive_conflict_detected` · `timing_changed_meaning` ·
|
| 76 |
+
`handoff_boundary_drift` · `handoff_integrity_degraded` ·
|
| 77 |
+
`state_transition_changed_meaning` ·
|
| 78 |
+
`principal_reconfirmation_required` ·
|
| 79 |
+
`meaning_evidence_incomplete`.
|
| 80 |
+
|
| 81 |
+
## Required obligations
|
| 82 |
+
|
| 83 |
+
`pause_admission` · `request_clarification` ·
|
| 84 |
+
`request_reconfirmation` · `prevent_commit_until_reconfirmed` ·
|
| 85 |
+
`emit_meaning_drift_event` · `include_in_evidence_pack` ·
|
| 86 |
+
`notify_principal` · `escalate_to_human_review` ·
|
| 87 |
+
`quarantine_actor` · `bind_to_admissibility_decision`.
|
| 88 |
+
|
| 89 |
+
## Handoff types
|
| 90 |
+
|
| 91 |
+
`human_to_agent_instruction` · `agent_to_agent_delegation` ·
|
| 92 |
+
`agent_to_sub_agent_delegation` · `agent_to_tool_request` ·
|
| 93 |
+
`tool_to_agent_response` · `agent_to_human_clarification` ·
|
| 94 |
+
`agent_to_human_reconfirmation`.
|
| 95 |
+
|
| 96 |
+
## Meaning continuity signals
|
| 97 |
+
|
| 98 |
+
`kye.meaning_continuity.check_started` ·
|
| 99 |
+
`kye.meaning_continuity.check_completed` ·
|
| 100 |
+
`kye.meaning_continuity.preserved` ·
|
| 101 |
+
`kye.meaning_continuity.degraded` ·
|
| 102 |
+
`kye.meaning_continuity.broken` ·
|
| 103 |
+
`kye.meaning_continuity.requires_reconfirmation` ·
|
| 104 |
+
`kye.meaning_continuity.requires_human_review` ·
|
| 105 |
+
`kye.meaning_continuity.evidence_pack_generated`.
|
| 106 |
+
|
| 107 |
+
## Meaning drift signals
|
| 108 |
+
|
| 109 |
+
`kye.meaning_drift.detected` ·
|
| 110 |
+
`kye.meaning_drift.resolved` ·
|
| 111 |
+
`kye.meaning_drift.quarantined` ·
|
| 112 |
+
`kye.meaning_drift.reconfirmation_requested` ·
|
| 113 |
+
`kye.meaning_drift.reconfirmation_completed`.
|
| 114 |
+
|
| 115 |
+
## Handoff signals
|
| 116 |
+
|
| 117 |
+
`kye.handoff.trace_created` ·
|
| 118 |
+
`kye.handoff.boundary_crossed` ·
|
| 119 |
+
`kye.handoff.drift_detected` ·
|
| 120 |
+
`kye.handoff.integrity_degraded`.
|
| 121 |
+
|
| 122 |
+
## Memory / context / timing supporting signals
|
| 123 |
+
|
| 124 |
+
`kye.memory_context.used` ·
|
| 125 |
+
`kye.memory_context.conflict_detected` ·
|
| 126 |
+
`kye.memory_context.stale` ·
|
| 127 |
+
`kye.context_snapshot.changed` ·
|
| 128 |
+
`kye.timing.meaning_changed`.
|
| 129 |
+
|
| 130 |
+
## Patent-safe boundary
|
| 131 |
+
|
| 132 |
+
Meaning-score computation, constraint-loss detection across
|
| 133 |
+
handoffs, drift-cascade routing rules, reconfirmation-flow trigger
|
| 134 |
+
thresholds, evidence-pack composition rules and sector-specific
|
| 135 |
+
meaning packs are **not** in this repository. The intelligent
|
| 136 |
+
runtime is part of the normative specification held privately and
|
| 137 |
+
is delivered as a commercial product.
|
vocabulary/obligations.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Obligation Vocabulary
|
| 2 |
+
|
| 3 |
+
Obligations are named requirements that may attach to a policy decision. This document lists obligation names recognized by KYE™.
|
| 4 |
+
|
| 5 |
+
The way obligations are evaluated, enforced, and proved is part of the normative specification.
|
| 6 |
+
|
| 7 |
+
## Audit and proof
|
| 8 |
+
|
| 9 |
+
| Obligation | Meaning |
|
| 10 |
+
|---|---|
|
| 11 |
+
| `audit.emit` | An audit event must be emitted |
|
| 12 |
+
| `proof.required` | A proof artifact must be produced |
|
| 13 |
+
| `transparency.submit` | A signed statement must be submitted to a transparency service |
|
| 14 |
+
| `trace.capture.required` | Execution trace must be captured |
|
| 15 |
+
|
| 16 |
+
## Data handling
|
| 17 |
+
|
| 18 |
+
| Obligation | Meaning |
|
| 19 |
+
|---|---|
|
| 20 |
+
| `redaction.required` | Output must be redacted |
|
| 21 |
+
| `watermark.required` | Output must be watermarked |
|
| 22 |
+
| `citable.output.required` | Output must include citations |
|
| 23 |
+
| `external.send.block` | Output must not be sent externally |
|
| 24 |
+
| `memory.write.block` | Memory writes are blocked |
|
| 25 |
+
|
| 26 |
+
## Approval and review
|
| 27 |
+
|
| 28 |
+
| Obligation | Meaning |
|
| 29 |
+
|---|---|
|
| 30 |
+
| `approval.required` | Human approval is required |
|
| 31 |
+
| `human.review.required` | Human review is required |
|
| 32 |
+
| `dry_run.only` | Action is permitted in dry-run only |
|
| 33 |
+
| `break_glass.justification.required` | Break-glass justification is required |
|
| 34 |
+
|
| 35 |
+
## Monitoring
|
| 36 |
+
|
| 37 |
+
| Obligation | Meaning |
|
| 38 |
+
|---|---|
|
| 39 |
+
| `monitor.realtime` | Real-time monitoring is required |
|
| 40 |
+
| `tool.allowlist.enforce` | Tool allowlist must be enforced |
|
| 41 |
+
| `high_risk.decision.block` | High-risk decisions must be blocked |
|
vocabulary/ontology.md
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Ontology vocabulary
|
| 2 |
+
|
| 3 |
+
Names introduced by **KYE Ontology Profile™** (`kye-ontology-v1`). This
|
| 4 |
+
document lists names only. Semantic-resolution algorithms,
|
| 5 |
+
false-equivalence detection heuristics, cross-profile mapping
|
| 6 |
+
reconciliation, tenant overlay resolution and risk-weighted ontology
|
| 7 |
+
traversal are part of the normative specification and the patent track,
|
| 8 |
+
and are not published here.
|
| 9 |
+
|
| 10 |
+
> **Schemas make data valid. Ontologies make data meaningful.**
|
| 11 |
+
|
| 12 |
+
## Ontology domains
|
| 13 |
+
|
| 14 |
+
Twelve domains. Each KYE term declares exactly one.
|
| 15 |
+
|
| 16 |
+
| Domain | Surface |
|
| 17 |
+
|---|---|
|
| 18 |
+
| `entity` | Any nameable subject — human, org, agent, model, tool, device, dataset, credential, instrument, asset. |
|
| 19 |
+
| `authority` | Authority kinds — delegation, mandate, consent, approval, permission, entitlement, licence, power_of_attorney, role_authority, regulatory_authority, contractual_authority, emergency_authority. |
|
| 20 |
+
| `capability` | Named verbs — payment_initiation, card_purchase, data_access, contract_signing, clinical_access, tool_invocation, infrastructure_command, credential_rotation, settlement_approval, evidence_export. |
|
| 21 |
+
| `scope` | Constraint kinds — amount_limit, time_window, merchant_category, jurisdiction, data_class, environment, resource_class, approval_threshold, purpose_limitation, retention_limit. |
|
| 22 |
+
| `state` | State dimensions — entity_state, authority_state, delegation_state, credential_state, capability_state, risk_state, recovery_state, continuity_state, discovery_state, certification_state. |
|
| 23 |
+
| `decision` | Verdict kinds — allow, allow_with_constraints, require_approval, deny, continuity_*. |
|
| 24 |
+
| `evidence` | Artefact kinds — audit_event, decision_map, evidence_pack, payload_hash, signature, state_snapshot, intent_trace, continuity_context, discovery_audit_event. |
|
| 25 |
+
| `continuity` | Drift types and continuity dimensions. |
|
| 26 |
+
| `discoverability` | Discovery modes, risk-discovery types, masking classes. |
|
| 27 |
+
| `connector` | Connector Profile™ family kinds. |
|
| 28 |
+
| `sector` | Sector namespaces — payments, open_finance, legal, health, pensions, cyber, critical_infrastructure, sovereign_ai, telecom, pharma_gxp. |
|
| 29 |
+
| `certification` | Conformance / certification artefacts. |
|
| 30 |
+
|
| 31 |
+
## Predicates
|
| 32 |
+
|
| 33 |
+
Stable predicate dictionary. New predicates require an RFC.
|
| 34 |
+
|
| 35 |
+
`grants` · `limits` · `inherits_from` · `requires` · `requires_authority` ·
|
| 36 |
+
`requires_scope` · `requires_state` · `requires_evidence` ·
|
| 37 |
+
`requires_approval_from` · `expires_at` · `revokes` · `supersedes` ·
|
| 38 |
+
`depends_on` · `constrains` · `narrows` · `blocks` · `allows` ·
|
| 39 |
+
`requires_step_up` · `requires_human_review` · `triggers` ·
|
| 40 |
+
`triggers_signal` · `invalidates_authority` · `proves` · `supports` ·
|
| 41 |
+
`binds_to` · `references` · `verifies` · `replays` · `maps_to_control` ·
|
| 42 |
+
`acts_on_behalf_of` · `has_authority` · `uses_capability` ·
|
| 43 |
+
`evidenced_by` · `equivalent_to` · `related_not_identical` ·
|
| 44 |
+
`not_equivalent_to` · `aliased_by` · `subsumes` · `subsumed_by`.
|
| 45 |
+
|
| 46 |
+
## Mapping types
|
| 47 |
+
|
| 48 |
+
External-system → KYE term mappings declare exactly one of:
|
| 49 |
+
|
| 50 |
+
| Type | Meaning |
|
| 51 |
+
|---|---|
|
| 52 |
+
| `equivalent` | Source and KYE term are interchangeable for runtime purposes. |
|
| 53 |
+
| `related_not_identical` | Overlap exists; source DOES NOT prove the KYE term alone; additional KYE objects MUST be presented (`requires_additional_kye_objects`). |
|
| 54 |
+
| `not_equivalent` | The source term MUST NOT be treated as the KYE term. |
|
| 55 |
+
| `aliased_by` | Label-level alias only; same KYE term. |
|
| 56 |
+
| `subsumes` | Source narrower than the KYE term. |
|
| 57 |
+
| `subsumed_by` | Source broader than the KYE term. |
|
| 58 |
+
|
| 59 |
+
A mapping with `related_not_identical` MUST list
|
| 60 |
+
`requires_additional_kye_objects` so the policy engine can deny when the
|
| 61 |
+
source term is presented alone (reason code:
|
| 62 |
+
`external_term_not_equivalent`).
|
| 63 |
+
|
| 64 |
+
## Required objects
|
| 65 |
+
|
| 66 |
+
| Object | Schema | Role |
|
| 67 |
+
|---|---|---|
|
| 68 |
+
| Ontology profile descriptor | `ontology-profile.json` | Profile manifest. |
|
| 69 |
+
| Ontology term | `ontology-term.json` | One canonical term. |
|
| 70 |
+
| Ontology relationship | `ontology-relationship.json` | (subject, predicate, object) triple with constraints. |
|
| 71 |
+
| Ontology mapping | `ontology-mapping.json` | External-system → KYE term mapping with mapping_type + required objects. |
|
| 72 |
+
| Semantic assertion | `semantic-assertion.json` | Decision-bound semantics, hash-chained into the audit ledger. |
|
| 73 |
+
|
| 74 |
+
## Serializations
|
| 75 |
+
|
| 76 |
+
| Layer | Format | Status |
|
| 77 |
+
|---|---|---|
|
| 78 |
+
| Runtime API | JSON Schema 2020-12 | required |
|
| 79 |
+
| Semantic interoperability | JSON-LD context | recommended |
|
| 80 |
+
| External research / KG integration | RDF / OWL | optional |
|
| 81 |
+
|
| 82 |
+
JSON-LD context published alongside this document (`jsonld-context.json`).
|
| 83 |
+
|
| 84 |
+
## Reason codes
|
| 85 |
+
|
| 86 |
+
See `reason-codes.md` under the **Ontology profile reason codes** group.
|
| 87 |
+
|
| 88 |
+
## Ontology signals
|
| 89 |
+
|
| 90 |
+
Term lifecycle: `kye.ontology.term.created` ·
|
| 91 |
+
`kye.ontology.term.updated` · `kye.ontology.term.deprecated` ·
|
| 92 |
+
`kye.ontology.term.revoked`.
|
| 93 |
+
|
| 94 |
+
Relationship lifecycle: `kye.ontology.relationship.created` ·
|
| 95 |
+
`kye.ontology.relationship.updated` ·
|
| 96 |
+
`kye.ontology.relationship.deprecated`.
|
| 97 |
+
|
| 98 |
+
Mapping lifecycle: `kye.ontology.mapping.created` ·
|
| 99 |
+
`kye.ontology.mapping.validated` ·
|
| 100 |
+
`kye.ontology.mapping.conflict_detected` ·
|
| 101 |
+
`kye.ontology.mapping.deprecated`.
|
| 102 |
+
|
| 103 |
+
Semantic assertion: `kye.semantic_assertion.created` ·
|
| 104 |
+
`kye.semantic_assertion.verified` ·
|
| 105 |
+
`kye.semantic_assertion.conflict_detected`.
|
| 106 |
+
|
| 107 |
+
Semantic graph: `kye.semantic_graph.updated` ·
|
| 108 |
+
`kye.semantic_graph.rebuilt` ·
|
| 109 |
+
`kye.semantic_graph.validation_failed`.
|
| 110 |
+
|
| 111 |
+
## Patent-safe boundary
|
| 112 |
+
|
| 113 |
+
The semantic-resolution algorithm, false-equivalence detection
|
| 114 |
+
heuristics, cross-profile reconciliation engine, tenant overlay
|
| 115 |
+
resolution and risk-weighted ontology traversal are **not** in this
|
| 116 |
+
repository. See the public landing page for the profile overview;
|
| 117 |
+
counsel-controlled material remains private.
|
vocabulary/operating-model.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Operating Model vocabulary
|
| 2 |
+
|
| 3 |
+
Names introduced by **KYE Operating Model Profile™**
|
| 4 |
+
(`kye-operating-model-v1`) — the enterprise adoption layer of KYE™.
|
| 5 |
+
This document lists names only. Readiness scoring engine, risk-tiering
|
| 6 |
+
heuristics, side-effect classification, commit-boundary detection,
|
| 7 |
+
authority-gate recommendation and runtime enforcement internals are part
|
| 8 |
+
of the normative specification and the patent track, and are not
|
| 9 |
+
published here.
|
| 10 |
+
|
| 11 |
+
> **KYE™ turns AI-governance operating models into runtime authority
|
| 12 |
+
> decisions and replayable evidence.**
|
| 13 |
+
|
| 14 |
+
## Journey stages
|
| 15 |
+
|
| 16 |
+
Ten ordered stages every operating-model implementation enforces.
|
| 17 |
+
|
| 18 |
+
`intake` · `assess` · `classify` · `map_authority` · `place_gates` ·
|
| 19 |
+
`configure_runtime` · `execute` · `evidence` · `review` · `improve`.
|
| 20 |
+
|
| 21 |
+
## Required objects
|
| 22 |
+
|
| 23 |
+
| Object | Schema |
|
| 24 |
+
|---|---|
|
| 25 |
+
| Profile descriptor | `operating-model-profile.json` |
|
| 26 |
+
| Use-case intake | `use-case-intake.json` |
|
| 27 |
+
| Readiness assessment | `readiness-assessment.json` |
|
| 28 |
+
| Entity Authority Record™ | `entity-authority-record.json` |
|
| 29 |
+
| Authority Gate™ | `authority-gate.json` |
|
| 30 |
+
| Commit Boundary™ | `commit-boundary.json` |
|
| 31 |
+
| Review path | `review-path.json` |
|
| 32 |
+
| Training record | `training-record.json` |
|
| 33 |
+
| Adoption evidence pack | `adoption-evidence-pack.json` |
|
| 34 |
+
| Governed catalogue entry | `governed-catalog-entry.json` |
|
| 35 |
+
|
| 36 |
+
## Authority-gate types
|
| 37 |
+
|
| 38 |
+
Eight named types. Implementations MAY add `custom`.
|
| 39 |
+
|
| 40 |
+
| Type | Surface |
|
| 41 |
+
|---|---|
|
| 42 |
+
| `payment_execution` | Before a prepared payment becomes an executed payment. |
|
| 43 |
+
| `external_message` | Before an outbound message (email, customer-facing notification, signal handler) leaves the tenant. |
|
| 44 |
+
| `contract_signature` | Before a contract / e-signature is sealed. |
|
| 45 |
+
| `clinical_action` | Before a clinical action is performed (orders, escalations, triage). |
|
| 46 |
+
| `infrastructure_command` | Before an infrastructure command is issued (deploy, rotate, terminate). |
|
| 47 |
+
| `data_export` | Before a data export leaves the tenant. |
|
| 48 |
+
| `credential_rotation` | Before a credential is rotated. |
|
| 49 |
+
| `evidence_export` | Before an evidence pack is exported beyond the tenant. |
|
| 50 |
+
| `data_access` | Before sensitive data is read. |
|
| 51 |
+
| `custom` | Implementer-defined gate. |
|
| 52 |
+
|
| 53 |
+
## Commit-boundary archetypes
|
| 54 |
+
|
| 55 |
+
| Before the boundary | After the boundary |
|
| 56 |
+
|---|---|
|
| 57 |
+
| `draft email` | `send email` |
|
| 58 |
+
| `payment.prepare` | `payment.execute` |
|
| 59 |
+
| `recommend refund` | `issue refund` |
|
| 60 |
+
| `draft contract` | `sign contract` |
|
| 61 |
+
| `suggest clinical step` | `perform clinical step` |
|
| 62 |
+
| `plan infrastructure change` | `execute infrastructure command` |
|
| 63 |
+
| `recommend access grant` | `issue access grant` |
|
| 64 |
+
| `propose policy edit` | `apply policy edit` |
|
| 65 |
+
|
| 66 |
+
## Decision policy values
|
| 67 |
+
|
| 68 |
+
`allow` · `deny` · `require_approval` · `require_step_up` ·
|
| 69 |
+
`quarantine`.
|
| 70 |
+
|
| 71 |
+
## Risk tiers
|
| 72 |
+
|
| 73 |
+
`low` · `medium` · `high` · `critical`.
|
| 74 |
+
|
| 75 |
+
## Lifecycle states
|
| 76 |
+
|
| 77 |
+
`proposed` · `pilot` · `controlled_production` · `production` ·
|
| 78 |
+
`deprecated` · `suspended` · `revoked`.
|
| 79 |
+
|
| 80 |
+
## Reason codes
|
| 81 |
+
|
| 82 |
+
See `reason-codes.md` under the **Operating Model profile reason codes**
|
| 83 |
+
group (19 codes).
|
| 84 |
+
|
| 85 |
+
## Operating-model signals
|
| 86 |
+
|
| 87 |
+
See `kye-operating-model-v1.md` §6. Five families: use-case lifecycle,
|
| 88 |
+
readiness lifecycle, authority-record lifecycle, authority-gate
|
| 89 |
+
lifecycle, commit-boundary lifecycle, and catalogue lifecycle.
|
| 90 |
+
|
| 91 |
+
## Patent-safe boundary
|
| 92 |
+
|
| 93 |
+
The readiness-scoring algorithm, risk-tier classification thresholds,
|
| 94 |
+
side-effect classification rules, commit-boundary detection algorithm,
|
| 95 |
+
authority-gate recommendation engine, and runtime gate-enforcement
|
| 96 |
+
internals are **not** in this repository.
|
vocabulary/payload-states.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Protocol™ — Payload artefact states
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative. v1.0. Apache 2.0. Companion to
|
| 4 |
+
> the `action-admissibility` rule pack + `pep` profile and
|
| 5 |
+
> `internal`.
|
| 6 |
+
>
|
| 7 |
+
> A payload artefact carries **state** but never **authority**. The
|
| 8 |
+
> states below are the canonical values for the `state` field of the
|
| 9 |
+
> KYE Payload Artefact schema.
|
| 10 |
+
|
| 11 |
+
## 1. Lifecycle states
|
| 12 |
+
|
| 13 |
+
`created` — payload object instantiated by the actor; not yet signed.
|
| 14 |
+
|
| 15 |
+
`signed` — payload is in a state the Gateway will accept for verification.
|
| 16 |
+
Construction details are part of the patent track and not disclosed here.
|
| 17 |
+
|
| 18 |
+
`submitted` — sent by the actor to the Gateway.
|
| 19 |
+
|
| 20 |
+
`received` — the Gateway has the bytes.
|
| 21 |
+
|
| 22 |
+
`verified` — payload-trust checks completed; the payload is eligible
|
| 23 |
+
for adjudication. The specific checks are part of the patent track.
|
| 24 |
+
|
| 25 |
+
`bound_to_decision` — verified and adjudicated; the decision URN is
|
| 26 |
+
recorded on the artefact.
|
| 27 |
+
|
| 28 |
+
`executed` — the capability ran; the side-effect was committed.
|
| 29 |
+
|
| 30 |
+
`failed` — execution faulted after a successful decision binding.
|
| 31 |
+
|
| 32 |
+
`archived` — payload retained per retention policy; no further
|
| 33 |
+
mutation permitted.
|
| 34 |
+
|
| 35 |
+
## 2. Denial states
|
| 36 |
+
|
| 37 |
+
`rejected` — one of the verification checks failed; see `reason_code`
|
| 38 |
+
for which.
|
| 39 |
+
|
| 40 |
+
`expired` — receive time is past `expires_at`.
|
| 41 |
+
|
| 42 |
+
`replayed` — the payload-trust profile rejected this submission as
|
| 43 |
+
non-fresh.
|
| 44 |
+
|
| 45 |
+
`tampered` — the payload-trust profile rejected this submission for an
|
| 46 |
+
integrity violation.
|
| 47 |
+
|
| 48 |
+
## 3. Required deny reason codes
|
| 49 |
+
|
| 50 |
+
`payload_signature_missing` ·
|
| 51 |
+
`payload_signature_invalid` ·
|
| 52 |
+
`payload_hash_mismatch` ·
|
| 53 |
+
`payload_canonicalization_unsupported` ·
|
| 54 |
+
`payload_nonce_missing` ·
|
| 55 |
+
`payload_nonce_reused` ·
|
| 56 |
+
`payload_expired` ·
|
| 57 |
+
`payload_actor_mismatch` ·
|
| 58 |
+
`payload_capability_mismatch` ·
|
| 59 |
+
`payload_decision_binding_missing`
|
| 60 |
+
|
| 61 |
+
## 4. Required signal types
|
| 62 |
+
|
| 63 |
+
Every state transition MUST emit the corresponding signal:
|
| 64 |
+
|
| 65 |
+
| Transition | Signal type |
|
| 66 |
+
|---|---|
|
| 67 |
+
| `submitted → received` | `payload.received` |
|
| 68 |
+
| `received → verified` | `payload.verified` |
|
| 69 |
+
| `received → rejected` | `payload.rejected` |
|
| 70 |
+
| `verified → bound_to_decision` | `payload.bound_to_decision` |
|
| 71 |
+
| `bound_to_decision → executed` | `payload.executed` |
|
| 72 |
+
| `executed → failed` | `payload.failed` |
|
| 73 |
+
| `* → expired` | `payload.expired` |
|
| 74 |
+
| `* → replayed` | `payload.replay_detected` |
|
| 75 |
+
| `* → tampered` | `payload.tampered` |
|
| 76 |
+
| `* → archived` | `payload.archived` |
|
| 77 |
+
|
| 78 |
+
## 5. Use in copy
|
| 79 |
+
|
| 80 |
+
> **KYE governs acting entities, principal entities, capability
|
| 81 |
+
> entities, and evidence artefacts.** Payloads are *evidence
|
| 82 |
+
> artefacts* that bind signed requests to authority decisions and
|
| 83 |
+
> audit trails.
|
| 84 |
+
>
|
| 85 |
+
> KYE binds signed payloads to entity authority, capability state,
|
| 86 |
+
> policy decisions, and replayable audit evidence.
|
| 87 |
+
|
| 88 |
+
— KYE Protocol™ project, 2026.
|
vocabulary/payments-decision-codes.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Protocol™ — Payments decision and lifecycle codes
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative. v1.0. Apache 2.0. Companion to
|
| 4 |
+
> `internal` + `internal`.
|
| 5 |
+
|
| 6 |
+
This file enumerates the public payment decision codes, hold reasons,
|
| 7 |
+
reversal reasons, and dispute outcomes used by the KYE-Payments profile
|
| 8 |
+
and its overlays (EU, Card, High-Assurance).
|
| 9 |
+
|
| 10 |
+
## 1. sPDP decisions
|
| 11 |
+
|
| 12 |
+
`payment.allow` · `payment.allow_with_constraints` ·
|
| 13 |
+
`payment.require_approval` · `payment.deny`
|
| 14 |
+
|
| 15 |
+
## 2. Deny reason codes
|
| 16 |
+
|
| 17 |
+
`payment.deny.amount_above_authority_cap` ·
|
| 18 |
+
`payment.deny.currency_not_in_scope` ·
|
| 19 |
+
`payment.deny.rail_not_in_scope` ·
|
| 20 |
+
`payment.deny.beneficiary_not_in_allowlist` ·
|
| 21 |
+
`payment.deny.beneficiary_in_denylist` ·
|
| 22 |
+
`payment.deny.sanctions_screen_failed` ·
|
| 23 |
+
`payment.deny.kyc_step_up_required` ·
|
| 24 |
+
`payment.deny.aml_threshold_exceeded` ·
|
| 25 |
+
`payment.deny.payment_authority_revoked` ·
|
| 26 |
+
`payment.deny.delegation_revoked` ·
|
| 27 |
+
`payment.deny.attestation_stale` ·
|
| 28 |
+
`payment.deny.risk_state_blocked` ·
|
| 29 |
+
`payment.deny.daily_velocity_exceeded` ·
|
| 30 |
+
`payment.deny.weekly_velocity_exceeded` ·
|
| 31 |
+
`payment.deny.monthly_velocity_exceeded`
|
| 32 |
+
|
| 33 |
+
## 3. Approval-required reason codes
|
| 34 |
+
|
| 35 |
+
`payment.approval.amount_above_minor_threshold` ·
|
| 36 |
+
`payment.approval.amount_above_major_threshold` ·
|
| 37 |
+
`payment.approval.cross_border_first_time` ·
|
| 38 |
+
`payment.approval.high_risk_corridor` ·
|
| 39 |
+
`payment.approval.beneficiary_first_time` ·
|
| 40 |
+
`payment.approval.psd2_sca_required` ·
|
| 41 |
+
`payment.approval.regulatory_dual_control`
|
| 42 |
+
|
| 43 |
+
## 4. Hold reason codes
|
| 44 |
+
|
| 45 |
+
`payment.hold.risk_review` · `payment.hold.sanctions_screen` ·
|
| 46 |
+
`payment.hold.kyc_step_up` · `payment.hold.fraud_review` ·
|
| 47 |
+
`payment.hold.regulatory_block` · `payment.hold.rail_pending` ·
|
| 48 |
+
`payment.hold.cutoff_window` · `payment.hold.dispute_pending`
|
| 49 |
+
|
| 50 |
+
## 5. Reversal reason codes
|
| 51 |
+
|
| 52 |
+
`payment.reversal.initiator_request` ·
|
| 53 |
+
`payment.reversal.fraud_detected` ·
|
| 54 |
+
`payment.reversal.duplicate_submission` ·
|
| 55 |
+
`payment.reversal.amount_correction` ·
|
| 56 |
+
`payment.reversal.beneficiary_invalid` ·
|
| 57 |
+
`payment.reversal.regulatory_finding` ·
|
| 58 |
+
`payment.reversal.sanctions_match`
|
| 59 |
+
|
| 60 |
+
## 6. Dispute reason codes
|
| 61 |
+
|
| 62 |
+
`payment.dispute.unauthorized` ·
|
| 63 |
+
`payment.dispute.fraud_card_present` ·
|
| 64 |
+
`payment.dispute.fraud_card_not_present` ·
|
| 65 |
+
`payment.dispute.product_not_received` ·
|
| 66 |
+
`payment.dispute.product_not_as_described` ·
|
| 67 |
+
`payment.dispute.duplicate` ·
|
| 68 |
+
`payment.dispute.amount_disagreement` ·
|
| 69 |
+
`payment.dispute.credit_not_processed` ·
|
| 70 |
+
`payment.dispute.cancelled_recurring` ·
|
| 71 |
+
`payment.dispute.regulatory_chargeback`
|
| 72 |
+
|
| 73 |
+
## 7. Charge-back outcomes
|
| 74 |
+
|
| 75 |
+
`payment.charged_back.evidence_insufficient` ·
|
| 76 |
+
`payment.charged_back.regulatory_finding` ·
|
| 77 |
+
`payment.charged_back.merchant_no_response` ·
|
| 78 |
+
`payment.charged_back.fraud_confirmed`
|
| 79 |
+
|
| 80 |
+
## 8. Dispute-resolved outcomes
|
| 81 |
+
|
| 82 |
+
`payment.dispute_resolved.evidence_sufficient` ·
|
| 83 |
+
`payment.dispute_resolved.merchant_credit_issued` ·
|
| 84 |
+
`payment.dispute_resolved.cardholder_withdrew` ·
|
| 85 |
+
`payment.dispute_resolved.arbitration_in_favour`
|
| 86 |
+
|
| 87 |
+
## 9. Reconciliation outcomes
|
| 88 |
+
|
| 89 |
+
`payment.reconciled.matched` ·
|
| 90 |
+
`payment.reconciled.matched_with_variance` ·
|
| 91 |
+
`payment.reconciled.unmatched` ·
|
| 92 |
+
`payment.reconciled.late`
|
| 93 |
+
|
| 94 |
+
## 10. Settlement events
|
| 95 |
+
|
| 96 |
+
`payment.settlement.posted` ·
|
| 97 |
+
`payment.settlement.deferred` ·
|
| 98 |
+
`payment.settlement.failed` ·
|
| 99 |
+
`payment.settlement.partial`
|
| 100 |
+
|
| 101 |
+
## 11. ISO 20022 message-class alignment
|
| 102 |
+
|
| 103 |
+
Used by the High-Assurance overlay only:
|
| 104 |
+
|
| 105 |
+
`pacs.008` (FIToFICustomerCreditTransfer) ·
|
| 106 |
+
`pacs.009` (FinancialInstitutionCreditTransfer) ·
|
| 107 |
+
`pacs.004` (PaymentReturn) ·
|
| 108 |
+
`pacs.002` (FIToFIPaymentStatusReport) ·
|
| 109 |
+
`camt.054` (BankToCustomerDebitCreditNotification)
|
| 110 |
+
|
| 111 |
+
— KYE Protocol™ project, 2026.
|
vocabulary/reason-codes.md
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Reason Code Vocabulary
|
| 2 |
+
|
| 3 |
+
Reason codes accompany decisions, signals, and lifecycle changes. This document lists reason codes recognized by KYE™.
|
| 4 |
+
|
| 5 |
+
This document defines **names only**.
|
| 6 |
+
|
| 7 |
+
| Code | Meaning |
|
| 8 |
+
|---|---|
|
| 9 |
+
| `policy_violation` | Action violated policy |
|
| 10 |
+
| `credential_revoked` | Credential was revoked |
|
| 11 |
+
| `delegation_revoked` | Delegation was revoked |
|
| 12 |
+
| `assurance_below_minimum` | Assurance level below minimum |
|
| 13 |
+
| `risk_threshold_exceeded` | Risk threshold exceeded |
|
| 14 |
+
| `external_export_blocked` | External export blocked |
|
| 15 |
+
| `workload_attestation_failed` | Workload attestation failed |
|
| 16 |
+
| `manual_incident_response` | Manual incident response action |
|
| 17 |
+
| `legal_hold_applied` | Legal hold applied |
|
| 18 |
+
| `consent_withdrawn` | Consent withdrawn |
|
| 19 |
+
|
| 20 |
+
## Payload Trust profile reason codes
|
| 21 |
+
|
| 22 |
+
| Code | Meaning |
|
| 23 |
+
|---|---|
|
| 24 |
+
| `payload_signature_missing` | Payload signature absent |
|
| 25 |
+
| `payload_signature_invalid` | Payload signature does not verify against declared credential |
|
| 26 |
+
| `payload_hash_mismatch` | `payload_hash` does not match the canonicalised bytes |
|
| 27 |
+
| `payload_canonicalization_unsupported` | Gateway does not support the declared canonicalisation suite |
|
| 28 |
+
| `payload_nonce_missing` | Freshness window present but nonce empty |
|
| 29 |
+
| `payload_nonce_reused` | Nonce already seen inside the freshness window |
|
| 30 |
+
| `payload_expired` | Receive time is past `expires_at` |
|
| 31 |
+
| `payload_actor_mismatch` | `actor_entity_id` does not match the credential's subject |
|
| 32 |
+
| `payload_capability_mismatch` | `capability_id` is not granted to the actor |
|
| 33 |
+
| `payload_decision_binding_missing` | Action attempted without a successful `bound_to_decision` transition |
|
| 34 |
+
|
| 35 |
+
## Taxonomy & Metadata profile reason codes
|
| 36 |
+
|
| 37 |
+
| Code | Meaning |
|
| 38 |
+
|---|---|
|
| 39 |
+
| `taxonomy_term_unknown` | Term value is not registered in the referenced taxonomy |
|
| 40 |
+
| `taxonomy_term_deprecated` | Term resolved to an active taxonomy but the term itself is `status=deprecated` |
|
| 41 |
+
| `taxonomy_version_mismatch` | Mapped value uses a taxonomy version not accepted by the policy |
|
| 42 |
+
| `metadata_schema_unknown` | `metadata_schema_id` is not registered |
|
| 43 |
+
| `metadata_required_field_missing` | A required field defined by the metadata schema is absent |
|
| 44 |
+
| `metadata_field_taxonomy_violation` | A field value is not from the schema's declared taxonomy |
|
| 45 |
+
| `metadata_classification_drift` | Classification field changed without re-binding evidence |
|
| 46 |
+
| `data_class_not_allowed` | Resource carries a data class that is not permitted for the actor's profile |
|
| 47 |
+
|
| 48 |
+
## Graph profile reason codes
|
| 49 |
+
|
| 50 |
+
| Code | Meaning |
|
| 51 |
+
|---|---|
|
| 52 |
+
| `graph_authority_path_missing` | No valid authority path from actor to action / resource |
|
| 53 |
+
| `graph_delegation_path_missing` | No active delegation path between actor and principal |
|
| 54 |
+
| `graph_delegation_path_disputed` | Delegation path contains a node in `disputed` state |
|
| 55 |
+
| `graph_capability_dependency_compromised` | A capability dependency is in `state=compromised` |
|
| 56 |
+
| `graph_capability_dependency_high_risk` | A capability dependency carries `risk_state=high` |
|
| 57 |
+
| `graph_blast_radius_too_broad` | Compromise blast radius exceeds the configured safety bound |
|
| 58 |
+
| `graph_traversal_depth_exceeded` | Query depth limit reached without a complete result |
|
| 59 |
+
| `graph_node_not_found` | Referenced node URN is not registered |
|
| 60 |
+
| `graph_edge_revoked` | Edge has been revoked since the last cache snapshot |
|
| 61 |
+
|
| 62 |
+
## Ontology profile reason codes
|
| 63 |
+
|
| 64 |
+
| Code | Meaning |
|
| 65 |
+
|---|---|
|
| 66 |
+
| `ontology_term_missing` | Referenced KYE term is not registered |
|
| 67 |
+
| `ontology_term_deprecated` | Referenced KYE term is `status=deprecated` |
|
| 68 |
+
| `ontology_mapping_missing` | A required external-system → KYE mapping was not found |
|
| 69 |
+
| `ontology_mapping_conflict` | Two mappings make incompatible claims for the same source term |
|
| 70 |
+
| `semantic_equivalence_rejected` | Asserted equivalence violates a `not_equivalent_to` rule |
|
| 71 |
+
| `semantic_relationship_ambiguous` | Resolution returned multiple candidate predicates |
|
| 72 |
+
| `semantic_resolution_failed` | Resolver could not produce a canonical KYE term |
|
| 73 |
+
| `semantic_assertion_verified` | Semantic assertion verified successfully |
|
| 74 |
+
| `semantic_assertion_conflict` | Semantic assertion conflicts with a hash-chained prior assertion |
|
| 75 |
+
| `external_term_not_equivalent` | Source term presented as KYE authority without required additional KYE objects |
|
| 76 |
+
| `profile_term_mismatch` | Term used outside its declared profile_refs |
|
| 77 |
+
| `sector_term_requires_mapping` | Cross-sector decision requires a validated mapping; none present |
|
| 78 |
+
| `ontology_policy_denied` | Action denied by an ontology-level policy rule |
|
| 79 |
+
|
| 80 |
+
## Operating Model profile reason codes
|
| 81 |
+
|
| 82 |
+
| Code | Meaning |
|
| 83 |
+
|---|---|
|
| 84 |
+
| `use_case_owner_missing` | Use-case intake lacks an `owner_entity_id` |
|
| 85 |
+
| `use_case_purpose_missing` | Use-case intake lacks a `business_objective` |
|
| 86 |
+
| `data_classification_missing` | Use-case intake lacks `data_classes` |
|
| 87 |
+
| `authority_model_missing` | No `KYEEntityAuthorityRecord` exists for the actor |
|
| 88 |
+
| `review_path_missing` | A `KYEReviewPath` is required but not configured |
|
| 89 |
+
| `evidence_requirements_missing` | Required evidence list is empty for a high-risk capability |
|
| 90 |
+
| `revocation_path_missing` | Authority record lacks a revocation policy |
|
| 91 |
+
| `commit_boundary_missing` | A capability with `external_effect_possible` lacks a `KYECommitBoundary` |
|
| 92 |
+
| `authority_gate_missing` | A capability requires a `KYEAuthorityGate` that does not exist |
|
| 93 |
+
| `human_review_required` | Risk tier mandates human review before commit |
|
| 94 |
+
| `autonomous_execution_not_allowed` | Readiness assessment forbids autonomous execution |
|
| 95 |
+
| `payment_execution_gate_required` | Payment execution must be guarded by a payment gate |
|
| 96 |
+
| `external_send_gate_required` | Outbound message must be guarded by an external-send gate |
|
| 97 |
+
| `clinical_action_gate_required` | Clinical action must be guarded by a clinical-action gate |
|
| 98 |
+
| `legal_commit_gate_required` | Contract / signature must be guarded by a legal-commit gate |
|
| 99 |
+
| `infrastructure_command_gate_required` | Infrastructure command must be guarded by an infrastructure gate |
|
| 100 |
+
| `readiness_incomplete` | Readiness assessment dimensions are incomplete |
|
| 101 |
+
| `pilot_ready_with_controls` | Readiness sufficient for pilot under enumerated controls |
|
| 102 |
+
| `production_ready` | Readiness sufficient for production execution |
|
| 103 |
+
|
| 104 |
+
## Assurance Card profile reason codes
|
| 105 |
+
|
| 106 |
+
| Code | Meaning |
|
| 107 |
+
|---|---|
|
| 108 |
+
| `assurance_card_missing` | Subject entity has no associated `KYEAssuranceCard` |
|
| 109 |
+
| `assurance_card_owner_missing` | Assurance card lacks an `owner_entity_id` |
|
| 110 |
+
| `intended_use_undocumented` | `intended_use.summary` is missing |
|
| 111 |
+
| `prohibited_uses_missing` | `intended_use.prohibited_uses` is empty for a high-risk subject |
|
| 112 |
+
| `provenance_missing` | No `KYEProvenanceEvidence` is bound to the assurance card |
|
| 113 |
+
| `human_involvement_plan_missing` | Subject performs commit-level capabilities but no `KYEHumanInvolvementPlan` is bound |
|
| 114 |
+
| `approval_threshold_breach` | Action exceeds an approval threshold without recorded human approval |
|
| 115 |
+
| `review_overdue` | `KYEAssuranceReviewCycle.next_review_due` has passed |
|
| 116 |
+
| `scope_change_review_required` | Authority record / gates / commit-boundaries changed without a triggered review |
|
| 117 |
+
| `incident_review_required` | Incident occurred without a triggered review |
|
| 118 |
+
| `retention_window_expired` | Retention window expired without archival or decommissioning |
|
| 119 |
+
| `decommissioning_plan_missing` | Subject is `deprecated` / `revoked` without an active `KYEDecommissioningPlan` |
|
| 120 |
+
| `assurance_card_runtime_evidence_unbound` | Assurance card lacks references to runtime decision maps / evidence packs |
|
| 121 |
+
| `provenance_supplier_unverified` | A supplier in the provenance evidence is `verified=false` |
|
| 122 |
+
| `provenance_licence_change_unrecorded` | Licence change detected but not recorded as a review trigger |
|
| 123 |
+
| `evidence_replay_failed` | Offline replay of bound evidence failed verification |
|
| 124 |
+
| `bypass_of_human_involvement_attempted` | Runtime detected an attempt to bypass a `KYEHumanInvolvementPlan` involvement point |
|
| 125 |
+
|
| 126 |
+
## Formal Rules profile reason codes
|
| 127 |
+
|
| 128 |
+
| Code | Meaning |
|
| 129 |
+
|---|---|
|
| 130 |
+
| `permission_granted` | Standing permission resolved as allow |
|
| 131 |
+
| `permission_missing` | No matching permission for this capability + scope + state |
|
| 132 |
+
| `permission_expired` | Permission's `valid_until` has passed |
|
| 133 |
+
| `permission_revoked` | Permission was revoked by an exercised power |
|
| 134 |
+
| `permission_scope_exceeded` | Action exceeds the permission's declared scope |
|
| 135 |
+
| `obligation_created` | Decision created a new obligation |
|
| 136 |
+
| `obligation_pending` | Obligation has been created but not yet satisfied |
|
| 137 |
+
| `obligation_satisfied` | Obligation satisfaction conditions all met |
|
| 138 |
+
| `obligation_breached` | Obligation deadline passed without satisfaction |
|
| 139 |
+
| `obligation_waived` | Obligation waived by an exercised power |
|
| 140 |
+
| `obligation_expired` | Obligation expired without satisfaction or waiver |
|
| 141 |
+
| `obligation_disputed` | Obligation flagged as disputed pending review |
|
| 142 |
+
| `obligation_not_satisfied` | Action denied because a required obligation is unsatisfied |
|
| 143 |
+
| `prohibition_triggered` | Prohibition condition matched the requested action |
|
| 144 |
+
| `prohibited_action_requested` | Subject requested an action enumerated in `prohibited_capability` |
|
| 145 |
+
| `prohibited_action_without_approval` | Action prohibited unless an approval event is present |
|
| 146 |
+
| `power_missing` | Holder does not hold the required power for this operation |
|
| 147 |
+
| `power_exercised` | Power was successfully exercised |
|
| 148 |
+
| `power_not_valid` | Holder's power is in an invalid state |
|
| 149 |
+
| `power_revoked` | Power has been revoked |
|
| 150 |
+
| `override_requested` | Governance override requested |
|
| 151 |
+
| `override_approved` | Governance override approved |
|
| 152 |
+
| `override_denied` | Governance override denied |
|
| 153 |
+
| `override_expired` | Override expired without re-approval |
|
| 154 |
+
| `override_requires_second_approver` | Override requires a second approver per governance rule |
|
| 155 |
+
| `rule_conflict_detected` | Two or more rules conflict |
|
| 156 |
+
| `permission_prohibition_conflict` | Permission and prohibition both matched |
|
| 157 |
+
| `obligation_without_satisfaction_path` | Obligation has no path to `satisfied` |
|
| 158 |
+
| `unbounded_obligation` | Obligation lacks a deadline or termination condition |
|
| 159 |
+
| `circular_delegation` | Delegation chain forms a cycle |
|
| 160 |
+
| `missing_evidence_requirement` | Rule requires evidence not declared in the rule set |
|
| 161 |
+
| `rule_priority_resolved` | Rule conflict resolved by priority |
|
| 162 |
+
| `specific_rule_overrides_general_rule` | Specific rule won over general rule on resolution |
|
| 163 |
+
|
| 164 |
+
## Action Admissibility profile reason codes
|
| 165 |
+
|
| 166 |
+
| Code | Meaning |
|
| 167 |
+
|---|---|
|
| 168 |
+
| `proposed_action_admissible` | Proposed action passes all checked dimensions |
|
| 169 |
+
| `intent_invalid` | Declared intent is structurally invalid |
|
| 170 |
+
| `intent_ambiguous` | Declared / interpreted intent ambiguity exceeds threshold |
|
| 171 |
+
| `intent_missing` | No intent reference attached to the proposed action |
|
| 172 |
+
| `principal_missing` | No principal entity resolves on the proposed action |
|
| 173 |
+
| `actor_missing` | No actor entity resolves on the proposed action |
|
| 174 |
+
| `accountable_owner_missing` | No accountable owner resolves on the proposed action |
|
| 175 |
+
| `capability_unknown` | Requested capability is not registered |
|
| 176 |
+
| `resource_unknown` | Target resource is not registered |
|
| 177 |
+
| `data_source_disallowed` | Source of input data is disallowed by policy |
|
| 178 |
+
| `evidence_inadmissible` | Required evidence references are missing or untrusted |
|
| 179 |
+
| `prohibited_action_class` | Action matches a prohibited class for this actor / sector |
|
| 180 |
+
| `unsafe_tool_path_detected` | Proposed tool path matches an unsafe pattern |
|
| 181 |
+
| `coercion_signal_detected` | Pressure / coercion signal detected upstream of the proposal |
|
| 182 |
+
| `incentive_conflict_detected` | Agent incentive conflicts with declared intent |
|
| 183 |
+
| `continuity_drift_blocks_admission` | Continuity drift detected upstream blocks admission |
|
| 184 |
+
| `policy_ineligible_action` | Proposal ineligible under the active policy set |
|
| 185 |
+
| `formal_rule_blocks_admission` | A formal rule (typically a prohibition) blocks admission |
|
| 186 |
+
| `jurisdiction_unsupported` | No supported jurisdiction binding for the proposed action |
|
| 187 |
+
| `risk_state_blocks_admission` | Current risk state of the actor / principal blocks admission |
|
vocabulary/redaction-fields.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Protocol™ — Telemetry redaction field list
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative. v1.0. Apache 2.0. Companion to
|
| 4 |
+
> the canonical telemetry dictionary (`public/vocabulary/telemetry.md`).
|
| 5 |
+
|
| 6 |
+
Every telemetry-emitting Gateway MUST replace the values of the JSON
|
| 7 |
+
paths below with a per-tenant redaction token before export.
|
| 8 |
+
|
| 9 |
+
## 1. PII
|
| 10 |
+
|
| 11 |
+
`pii.full_name` · `pii.first_name` · `pii.last_name` ·
|
| 12 |
+
`pii.email` · `pii.phone` · `pii.address.line1` ·
|
| 13 |
+
`pii.address.line2` · `pii.address.postal_code` ·
|
| 14 |
+
`pii.address.country` · `pii.dob` · `pii.gov_id` ·
|
| 15 |
+
`pii.passport_number` · `pii.tax_id` · `pii.ssn` ·
|
| 16 |
+
`pii.driving_licence` · `pii.biometric_template`
|
| 17 |
+
|
| 18 |
+
## 2. Financial
|
| 19 |
+
|
| 20 |
+
`payment.account_number` · `payment.iban` · `payment.routing_number` ·
|
| 21 |
+
`payment.card_pan` · `payment.card_cvv` · `payment.card_expiry` ·
|
| 22 |
+
`payment.beneficiary.name` · `payment.beneficiary.address` ·
|
| 23 |
+
`treasury.wallet_address` · `custody.private_key_handle`
|
| 24 |
+
|
| 25 |
+
## 3. Healthcare
|
| 26 |
+
|
| 27 |
+
`healthcare.mrn` · `healthcare.diagnosis_codes` ·
|
| 28 |
+
`healthcare.medication_list` · `healthcare.lab_results` ·
|
| 29 |
+
`healthcare.notes_freetext` · `healthcare.insurance_id` ·
|
| 30 |
+
`healthcare.next_of_kin`
|
| 31 |
+
|
| 32 |
+
## 4. Authentication / secrets
|
| 33 |
+
|
| 34 |
+
`auth.password` · `auth.password_hash` · `auth.totp_secret` ·
|
| 35 |
+
`auth.recovery_code` · `auth.api_key` · `auth.bearer_token` ·
|
| 36 |
+
`auth.refresh_token` · `auth.session_id` · `auth.client_secret` ·
|
| 37 |
+
`auth.private_key_pem`
|
| 38 |
+
|
| 39 |
+
## 5. Capability invocations
|
| 40 |
+
|
| 41 |
+
`capability.input.user_message` · `capability.output.completion` ·
|
| 42 |
+
`capability.input.attached_file_bytes` ·
|
| 43 |
+
`capability.tool_arguments.user_supplied`
|
| 44 |
+
|
| 45 |
+
## 6. Free-form fields
|
| 46 |
+
|
| 47 |
+
Any field whose JSON path matches `*.notes` · `*.comment` ·
|
| 48 |
+
`*.message` · `*.body` and that is not on a structured-allowlist
|
| 49 |
+
(see `public/vocabulary/structured-allowlist.md`) is treated as
|
| 50 |
+
free-form and MUST be redacted.
|
| 51 |
+
|
| 52 |
+
— KYE Protocol™ project, 2026.
|
vocabulary/relationships.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ Relationship Vocabulary
|
| 2 |
+
|
| 3 |
+
Relationships are typed edges between KYE Protocol™ entities. This document lists the relationship types KYE™ recognizes.
|
| 4 |
+
|
| 5 |
+
This document defines **names only**. Validation rules, evidence requirements, and lifecycle constraints are part of the normative specification.
|
| 6 |
+
|
| 7 |
+
## v3 canonical relationship edges (locked 2026-05-14)
|
| 8 |
+
|
| 9 |
+
The five canonical edges cover the most common cross-entity relationships
|
| 10 |
+
in the v3 hierarchy. Every edge is explicit — it is stored as a
|
| 11 |
+
`kye:rel:…` record and governed by an authority grant.
|
| 12 |
+
|
| 13 |
+
| Edge type | Typical source | Typical target | Meaning |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| `member_of` | Principal (`kye:prin:…`) | Team (`kye:team:…`) | The principal is a member of the team and inherits its RBAC grants. |
|
| 16 |
+
| `acts_in` | Principal (`kye:prin:…`) | Workspace (`kye:wsp:…`) | The principal is authorized to act within the workspace. |
|
| 17 |
+
| `granted_access_to` | Principal / Agent / External App | Resource / Model / Tool | The source holds an authority grant to use the target. |
|
| 18 |
+
| `uses` | Agent Principal (`kye:prin:…`) | Model (`kye:model:…`) or Tool (`kye:tool:…`) | The agent invokes the model or tool during its operation. |
|
| 19 |
+
| `applies_to` | Policy Bundle (`kye:pol:…`) | Workspace / Project / Team | The policy bundle is in force for the target scope. |
|
| 20 |
+
|
| 21 |
+
These five edges are the minimum a conformant implementation MUST store
|
| 22 |
+
as relationship records. Additional edges from the full catalogue below
|
| 23 |
+
are optional extensions.
|
| 24 |
+
|
| 25 |
+
## Ownership and control
|
| 26 |
+
|
| 27 |
+
| Relationship | Meaning |
|
| 28 |
+
|---|---|
|
| 29 |
+
| `owned_by` | Source is owned by target |
|
| 30 |
+
| `controlled_by` | Source is controlled by target |
|
| 31 |
+
| `operated_by` | Source is operated by target |
|
| 32 |
+
| `custodied_by` | Source is in custody of target |
|
| 33 |
+
|
| 34 |
+
## Authority and delegation
|
| 35 |
+
|
| 36 |
+
| Relationship | Meaning |
|
| 37 |
+
|---|---|
|
| 38 |
+
| `acts_on_behalf_of` | Source acts on behalf of target |
|
| 39 |
+
| `delegated_by` | Source's authority was delegated by target |
|
| 40 |
+
| `authorized_by` | Source's action was authorized by target |
|
| 41 |
+
| `approved_by` | Source was approved by target |
|
| 42 |
+
|
| 43 |
+
## Issuance and verification
|
| 44 |
+
|
| 45 |
+
| Relationship | Meaning |
|
| 46 |
+
|---|---|
|
| 47 |
+
| `issued_by` | Source was issued by target |
|
| 48 |
+
| `verified_by` | Source was verified by target |
|
| 49 |
+
| `attested_by` | Source was attested by target |
|
| 50 |
+
| `revoked_by` | Source was revoked by target |
|
| 51 |
+
|
| 52 |
+
## Use, invocation, and execution
|
| 53 |
+
|
| 54 |
+
| Relationship | Meaning |
|
| 55 |
+
|---|---|
|
| 56 |
+
| `uses` | Source uses target |
|
| 57 |
+
| `invokes` | Source invokes target |
|
| 58 |
+
| `hosts` | Source hosts target |
|
| 59 |
+
| `deploys` | Source deploys target |
|
| 60 |
+
| `executes` | Source executes target |
|
| 61 |
+
| `accesses` | Source accesses target |
|
| 62 |
+
|
| 63 |
+
## Provenance
|
| 64 |
+
|
| 65 |
+
| Relationship | Meaning |
|
| 66 |
+
|---|---|
|
| 67 |
+
| `trained_from` | Source was trained from target |
|
| 68 |
+
| `derived_from` | Source was derived from target |
|
| 69 |
+
|
| 70 |
+
## Governance and observation
|
| 71 |
+
|
| 72 |
+
| Relationship | Meaning |
|
| 73 |
+
|---|---|
|
| 74 |
+
| `scoped_to` | Source is scoped to target |
|
| 75 |
+
| `governed_by` | Source is governed by target |
|
| 76 |
+
| `allowed_by` | Source is allowed by target |
|
| 77 |
+
| `denied_by` | Source is denied by target |
|
| 78 |
+
| `observed_by` | Source is observed by target |
|
| 79 |
+
| `monitored_by` | Source is monitored by target |
|
| 80 |
+
|
| 81 |
+
## Lifecycle and structure
|
| 82 |
+
|
| 83 |
+
| Relationship | Meaning |
|
| 84 |
+
|---|---|
|
| 85 |
+
| `belongs_to` | Source belongs to target |
|
| 86 |
+
| `transferred_to` | Source was transferred to target |
|
| 87 |
+
| `mapped_to_control` | Source maps to a control identifier |
|
| 88 |
+
| `mapped_to_framework` | Source maps to a control framework |
|
vocabulary/risk-classes.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Risk classes
|
| 2 |
+
|
| 3 |
+
Canonical risk tier vocabulary used by the KYE Risk Engine™. Five tiers, EU-AI-Act-aligned, with explicit per-framework floor mappings.
|
| 4 |
+
|
| 5 |
+
| Tier | Score range | Meaning | Mandatory controls |
|
| 6 |
+
|---|---|---|---|
|
| 7 |
+
| **`minimal`** | 0–20 | Effectively negligible risk — spam filters, recommendation systems on entertainment, AI-assisted typing. | None. Lifecycle logging recommended. |
|
| 8 |
+
| **`limited`** | 20–50 | Transparency-only risk — must disclose AI involvement to the natural person (EU AI Act Art. 50). | Identification disclosure; audit-chain emission of every interaction. |
|
| 9 |
+
| **`high`** | 50–85 | Conformity assessment required (EU AI Act Annex III: biometric ID, education, employment, essential public services, law enforcement, migration, justice, democratic processes). | Dual-channel sign-off; scenario testing before action; replay-proof generation; human-in-the-loop for irreversibles. |
|
| 10 |
+
| **`unacceptable`** | 85–99 | Exceeds high-tier controls — only deployable with regulator-approved derogation. | Every high-tier control PLUS regulator notification, ≤1-hour kill-switch SLA, dual-signed Operating Model amendment. |
|
| 11 |
+
| **`prohibited`** | 99–100 | The Risk Engine MUST block. Mirrors EU AI Act Art. 5 prohibited practices: social scoring by public authorities, real-time remote biometric identification in public spaces, exploitation of vulnerabilities, subliminal manipulation. | Decision Engine returns deny + reason `PROHIBITED_PRACTICE`. No Operating Model amendment can override. |
|
| 12 |
+
|
| 13 |
+
## Per-framework floor mappings
|
| 14 |
+
|
| 15 |
+
| Tier | EU AI Act | DORA | GDPR | NIST AI RMF | ISO 42001 | FCA OpRes | PCI DSS | SOX |
|
| 16 |
+
|---|---|---|---|---|---|---|---|---|
|
| 17 |
+
| `minimal` | minimal | non_critical | normal | map_1 | low | non_important | non_chd | non_icfr |
|
| 18 |
+
| `limited` | limited | non_critical | normal | map_2 | low | non_important | non_chd | non_icfr |
|
| 19 |
+
| `high` | high | critical_or_important | high | map_3 | high | important_business_service | chd_present | icfr_relevant |
|
| 20 |
+
| `unacceptable` | unacceptable | critical_or_important | high | map_4 | high | important_business_service | chd_present | icfr_relevant |
|
| 21 |
+
| `prohibited` | prohibited | critical_or_important | high | map_4 | high | important_business_service | chd_present | icfr_relevant |
|
| 22 |
+
|
| 23 |
+
## Source files
|
| 24 |
+
|
| 25 |
+
| Artefact | Path |
|
| 26 |
+
|---|---|
|
| 27 |
+
| Canonical dictionary | `internal` |
|
| 28 |
+
| Schema | `internal` |
|
| 29 |
+
| Example | `public/examples/risk-assessment.json` |
|
| 30 |
+
| Runtime engine | `internal` |
|
| 31 |
+
| HTTP agent | `internal` |
|
| 32 |
+
| OpenAPI rail | `internal` |
|
| 33 |
+
| Mechanism | `internal` |
|
| 34 |
+
| Patent | `internal` |
|
vocabulary/self-audit-areas.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Self-Audit Canonical Areas (V1)
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative. v1.0. Apache 2.0. Companion to
|
| 4 |
+
> the `evidence-replay` profile + `compliance-evidence` rule pack (post-§29 landing).
|
| 5 |
+
|
| 6 |
+
A complete `KYESelfAuditRun` MUST cover the 17 canonical areas below.
|
| 7 |
+
A finding's `area` field is drawn from this list.
|
| 8 |
+
|
| 9 |
+
## Areas
|
| 10 |
+
|
| 11 |
+
`schema` · `dictionary` · `profile` · `registry` ·
|
| 12 |
+
`entity_state` · `authority_grant` · `delegation_path` ·
|
| 13 |
+
`capability_state` · `credential_binding` · `policy_binding` ·
|
| 14 |
+
`decision_correctness` · `reason_code_correctness` ·
|
| 15 |
+
`audit_trail_integrity` · `evidence_completeness` ·
|
| 16 |
+
`webhook_delivery_integrity` · `graph_consistency` ·
|
| 17 |
+
`recovery_revocation_correctness`
|
| 18 |
+
|
| 19 |
+
## Finding severity
|
| 20 |
+
|
| 21 |
+
`info` · `low` · `medium` · `high` · `critical`
|
| 22 |
+
|
| 23 |
+
## Self-audit result
|
| 24 |
+
|
| 25 |
+
`passed` · `passed_with_warnings` · `failed` · `incomplete` · `not_applicable`
|
| 26 |
+
|
| 27 |
+
## Attestation status
|
| 28 |
+
|
| 29 |
+
`draft` · `signed` · `published` · `expired` · `revoked` · `superseded`
|
| 30 |
+
|
| 31 |
+
## Required signal types
|
| 32 |
+
|
| 33 |
+
```
|
| 34 |
+
kye.self_audit.started
|
| 35 |
+
kye.self_audit.completed
|
| 36 |
+
kye.self_audit.failed
|
| 37 |
+
kye.self_audit.finding_created
|
| 38 |
+
kye.self_audit.critical_finding_detected
|
| 39 |
+
kye.conformance.self_test_passed
|
| 40 |
+
kye.conformance.self_test_failed
|
| 41 |
+
kye.attestation.created
|
| 42 |
+
kye.attestation.signed
|
| 43 |
+
kye.attestation.published
|
| 44 |
+
kye.attestation.expired
|
| 45 |
+
kye.attestation.revoked
|
| 46 |
+
kye.audit.integrity_check_failed
|
| 47 |
+
kye.evidence.completeness_check_failed
|
| 48 |
+
kye.policy.coverage_gap_detected
|
| 49 |
+
kye.decision.replay_mismatch
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
— KYE Protocol™ project, 2026.
|
vocabulary/signal-types.md
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Protocol™ — Signal types (canonical inventory)
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative. v1.0. Apache 2.0. Companion to
|
| 4 |
+
> the canonical signals dictionary (`public/vocabulary/signals.md`).
|
| 5 |
+
|
| 6 |
+
Every signal `signal_type` value MUST be from this canonical
|
| 7 |
+
inventory. A signal whose type is not in this list is a conformance
|
| 8 |
+
failure (`reason_code=signal_type_unknown`).
|
| 9 |
+
|
| 10 |
+
## 1. Entity lifecycle
|
| 11 |
+
|
| 12 |
+
`entity.discovered` · `entity.registered` · `entity.verified` ·
|
| 13 |
+
`entity.activated` · `entity.limited` · `entity.under_review` ·
|
| 14 |
+
`entity.suspended` · `entity.quarantined` · `entity.stopped` ·
|
| 15 |
+
`entity.compromised` · `entity.transferred` · `entity.merged` ·
|
| 16 |
+
`entity.deprecated` · `entity.archived` · `entity.tombstoned`
|
| 17 |
+
|
| 18 |
+
## 2. Authority
|
| 19 |
+
|
| 20 |
+
`authority.granted` · `authority.elevated` · `authority.limited` ·
|
| 21 |
+
`authority.suspended` · `authority.revoked` · `authority.disputed` ·
|
| 22 |
+
`authority.frozen`
|
| 23 |
+
|
| 24 |
+
## 3. Delegation
|
| 25 |
+
|
| 26 |
+
`delegation.requested` · `delegation.approved` · `delegation.activated` ·
|
| 27 |
+
`delegation.attenuated` · `delegation.expired` · `delegation.revoked` ·
|
| 28 |
+
`delegation.parent_revoked` · `delegation.transferred` ·
|
| 29 |
+
`delegation.blocked`
|
| 30 |
+
|
| 31 |
+
## 4. Credential
|
| 32 |
+
|
| 33 |
+
`credential.issued` · `credential.presented` · `credential.verified` ·
|
| 34 |
+
`credential.rotating` · `credential.rotated` · `credential.expired` ·
|
| 35 |
+
`credential.revoked` · `credential.compromised` · `credential.lost` ·
|
| 36 |
+
`credential.recovered` · `credential.erased`
|
| 37 |
+
|
| 38 |
+
## 5. Attestation
|
| 39 |
+
|
| 40 |
+
`attestation.registered` · `attestation.refreshed` ·
|
| 41 |
+
`attestation.stale` · `attestation.revoked` · `attestation.failed`
|
| 42 |
+
|
| 43 |
+
## 6. Capability
|
| 44 |
+
|
| 45 |
+
`capability.registered` · `capability.granted` ·
|
| 46 |
+
`capability.invoked` · `capability.deny` · `capability.require_approval` ·
|
| 47 |
+
`capability.quarantined` · `capability.superseded` ·
|
| 48 |
+
`capability.revoked` · `capability.authority_revoked` ·
|
| 49 |
+
`capability.dependency_blocked` · `capability.notifications_published` ·
|
| 50 |
+
`capability.invocation_cancelled`
|
| 51 |
+
|
| 52 |
+
## 7. Recovery / break-glass
|
| 53 |
+
|
| 54 |
+
`recovery.requested` · `recovery.evidence_pending` ·
|
| 55 |
+
`recovery.under_review` · `recovery.window_expired` ·
|
| 56 |
+
`recovery.escalated` · `recovery.approved` · `recovery.rejected` ·
|
| 57 |
+
`recovery.completed` · `recovery.cancelled` ·
|
| 58 |
+
`break_glass.requested` · `break_glass.granted` ·
|
| 59 |
+
`break_glass.used` · `break_glass.expired` · `break_glass.frozen` ·
|
| 60 |
+
`compromise.reported` · `compromise.cascade_completed`
|
| 61 |
+
|
| 62 |
+
## 8. Risk
|
| 63 |
+
|
| 64 |
+
`risk.normal` · `risk.elevated` · `risk.high` · `risk.critical` ·
|
| 65 |
+
`risk.blocked` · `risk.cleared` · `risk.threshold_exceeded` ·
|
| 66 |
+
`risk.score_updated`
|
| 67 |
+
|
| 68 |
+
## 9. State composition
|
| 69 |
+
|
| 70 |
+
`state.composition_violation` · `state.transition_committed` ·
|
| 71 |
+
`state.transition_rejected`
|
| 72 |
+
|
| 73 |
+
## 10. Audit / runtime
|
| 74 |
+
|
| 75 |
+
`audit.event_appended` · `audit.chain_verified` ·
|
| 76 |
+
`audit.point_in_time_replayed` · `runtime.cascade_started` ·
|
| 77 |
+
`runtime.cascade_completed`
|
| 78 |
+
|
| 79 |
+
## 11. Webhook / signal-bus
|
| 80 |
+
|
| 81 |
+
`webhook.delivered` · `webhook.failed` · `webhook.retried` ·
|
| 82 |
+
`webhook.dead_lettered` · `webhook.signing_key_rotated` ·
|
| 83 |
+
`signal.replayed` · `signal.subscribe_acknowledged`
|
| 84 |
+
|
| 85 |
+
## 12. Federation
|
| 86 |
+
|
| 87 |
+
`federation.entity_imported` · `federation.entity_exported` ·
|
| 88 |
+
`federation.scope_attenuation_violation` ·
|
| 89 |
+
`federation.conflict_resolved` · `federation.replication_lag_high` ·
|
| 90 |
+
`federation.key_archived`
|
| 91 |
+
|
| 92 |
+
## 13. Transparency
|
| 93 |
+
|
| 94 |
+
`transparency.statement_appended` · `transparency.receipt_issued` ·
|
| 95 |
+
`transparency.inclusion_verified`
|
| 96 |
+
|
| 97 |
+
## 14. Telemetry
|
| 98 |
+
|
| 99 |
+
`telemetry.decision_emitted` · `telemetry.redacted` ·
|
| 100 |
+
`telemetry.export_failed`
|
| 101 |
+
|
| 102 |
+
## 15. Payments
|
| 103 |
+
|
| 104 |
+
(per `public/vocabulary/payments-decision-codes.md` §1, §11; emitted as
|
| 105 |
+
signal types `payment.<code>`.)
|
| 106 |
+
|
| 107 |
+
## 16. Healthcare
|
| 108 |
+
|
| 109 |
+
`healthcare.consent_presented` · `healthcare.consent_withdrawn` ·
|
| 110 |
+
`healthcare.redaction_applied` · `healthcare.external_send_blocked` ·
|
| 111 |
+
`healthcare.break_glass_invoked` · `healthcare.post_hoc_review_filed`
|
| 112 |
+
|
| 113 |
+
## 17. Treasury / custody
|
| 114 |
+
|
| 115 |
+
`treasury.intent_created` · `treasury.rebalanced` ·
|
| 116 |
+
`treasury.reconciled` · `treasury.exception_filed` ·
|
| 117 |
+
`custody.withdraw_requested` · `custody.withdraw_completed` ·
|
| 118 |
+
`custody.attestation_required` · `custody.cold_storage_unsealed`
|
| 119 |
+
|
| 120 |
+
## 18. Conformance
|
| 121 |
+
|
| 122 |
+
`conformance.fixture_run_started` · `conformance.fixture_run_completed` ·
|
| 123 |
+
`conformance.report_signed`
|
| 124 |
+
|
| 125 |
+
## 19. Keys
|
| 126 |
+
|
| 127 |
+
`keys.rotation_requested` · `keys.rotated` · `keys.archived` ·
|
| 128 |
+
`keys.suite_changed`
|
| 129 |
+
|
| 130 |
+
## 20. Payload artefacts (KYE Payload Trust Profile™)
|
| 131 |
+
|
| 132 |
+
`payload.received` · `payload.verified` · `payload.rejected` ·
|
| 133 |
+
`payload.expired` · `payload.replay_detected` · `payload.tampered` ·
|
| 134 |
+
`payload.bound_to_decision` · `payload.executed` · `payload.failed` ·
|
| 135 |
+
`payload.archived`
|
| 136 |
+
|
| 137 |
+
## 21. Taxonomies (KYE Taxonomy & Metadata Profile™)
|
| 138 |
+
|
| 139 |
+
`taxonomy.created` · `taxonomy.updated` · `taxonomy.published` ·
|
| 140 |
+
`taxonomy.deprecated` · `taxonomy.term_added` ·
|
| 141 |
+
`taxonomy.term_updated` · `taxonomy.term_deprecated` ·
|
| 142 |
+
`taxonomy.mapping_created` · `taxonomy.mapping_deprecated`
|
| 143 |
+
|
| 144 |
+
## 22. Metadata bindings (KYE Taxonomy & Metadata Profile™)
|
| 145 |
+
|
| 146 |
+
`metadata.schema_created` · `metadata.schema_updated` ·
|
| 147 |
+
`metadata.schema_deprecated` · `metadata.validation_failed` ·
|
| 148 |
+
`metadata.classification_changed` · `metadata.binding_created` ·
|
| 149 |
+
`metadata.binding_removed`
|
| 150 |
+
|
| 151 |
+
## 23. Authority graph (KYE Graph Profile™)
|
| 152 |
+
|
| 153 |
+
`graph.node_created` · `graph.node_updated` · `graph.node_archived` ·
|
| 154 |
+
`graph.edge_created` · `graph.edge_updated` · `graph.edge_revoked` ·
|
| 155 |
+
`graph.decision_map_emitted` · `graph.blast_radius_computed` ·
|
| 156 |
+
`graph.compliance_map_refreshed` · `graph.traversal_failed`
|
| 157 |
+
|
| 158 |
+
## 24. Policy administration (KYE PAP — v1.1 preview)
|
| 159 |
+
|
| 160 |
+
`policy.uploaded` · `policy.activated` · `policy.deactivated` ·
|
| 161 |
+
`policy.version_published` · `policy.rolled_back`
|
| 162 |
+
|
| 163 |
+
— KYE Protocol™ project, 2026.
|
vocabulary/signals.md
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Protocol™ — Signal types: semantic vocabulary (v1)
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative public surface. Apache 2.0.
|
| 4 |
+
> Companion to `public/vocabulary/signal-types.md` (full enumeration) and the
|
| 5 |
+
> private signal registry at `internal`.
|
| 6 |
+
>
|
| 7 |
+
> This document describes the **meaning** of each v3 signal type.
|
| 8 |
+
> Implementation internals (signing algorithms, PDP mechanics) are out of scope.
|
| 9 |
+
|
| 10 |
+
## What is a KYE Protocol™ signal?
|
| 11 |
+
|
| 12 |
+
A **signal** is an asynchronous, envelope-wrapped event emitted by a KYE Protocol™
|
| 13 |
+
system component whenever a governed state change occurs. Signals enable loosely-coupled
|
| 14 |
+
subscribers — partner systems, audit stores, compliance dashboards — to react to KYE
|
| 15 |
+
lifecycle events without polling.
|
| 16 |
+
|
| 17 |
+
Every signal envelope carries:
|
| 18 |
+
|
| 19 |
+
- a globally-unique `signal_id`
|
| 20 |
+
- a `signal_type` token from this vocabulary
|
| 21 |
+
- a `tenant_id` / `workspace_id` routing header
|
| 22 |
+
- a type-specific `payload` object
|
| 23 |
+
- an `idempotency_key` for at-least-once delivery safety
|
| 24 |
+
- a cryptographic `signature` binding the envelope to a verified emitter identity
|
| 25 |
+
|
| 26 |
+
## Signal type descriptions
|
| 27 |
+
|
| 28 |
+
### Entity lifecycle signals
|
| 29 |
+
|
| 30 |
+
**`entity.created`**
|
| 31 |
+
Emitted when a new KYE entity — organisation, agent, model, dataset, or other governed
|
| 32 |
+
class — is first registered in a trust domain. Subscribers receive the full entity
|
| 33 |
+
snapshot so they can initialise derived records without a follow-on read.
|
| 34 |
+
|
| 35 |
+
**`entity.updated`**
|
| 36 |
+
Emitted when one or more fields of an existing entity record are mutated. The payload
|
| 37 |
+
includes the post-mutation snapshot and a list of changed field paths, enabling
|
| 38 |
+
subscribers to apply targeted updates.
|
| 39 |
+
|
| 40 |
+
**`entity.deleted`**
|
| 41 |
+
Emitted when a KYE entity is hard-deleted or tombstoned. Downstream systems should
|
| 42 |
+
treat this as authoritative: any cached or derived data for the named entity MUST be
|
| 43 |
+
purged or marked inactive upon receipt.
|
| 44 |
+
|
| 45 |
+
### State signals
|
| 46 |
+
|
| 47 |
+
**`state.transitioned`**
|
| 48 |
+
Emitted by the State Engine when an entity successfully fires a transition in its
|
| 49 |
+
governing state machine. The payload names the machine, the before-state, the
|
| 50 |
+
after-state, the transition identifier, and any evidence artefacts that satisfied
|
| 51 |
+
the transition guards.
|
| 52 |
+
|
| 53 |
+
**`library.adopted`**
|
| 54 |
+
Emitted when a tenant binds a canonical State Library entry to their operating
|
| 55 |
+
environment, creating a tenant-specific state machine derivation. Indicates that the
|
| 56 |
+
tenant's entities governed by that machine are now subject to the library's transition
|
| 57 |
+
rules and evidence requirements.
|
| 58 |
+
|
| 59 |
+
### Decision signals
|
| 60 |
+
|
| 61 |
+
**`decision.admitted`**
|
| 62 |
+
Emitted when the policy decision point admits an action for a governed entity. Subscribers
|
| 63 |
+
may use this to track authorised activity for audit, billing, or telemetry purposes.
|
| 64 |
+
|
| 65 |
+
**`decision.denied`**
|
| 66 |
+
Emitted when the policy decision point denies an action. The payload includes structured
|
| 67 |
+
denial reasons and the policy references that caused the denial. Subscribers such as
|
| 68 |
+
SIEM exporters and the Drift Detector should act on this signal to identify anomalous
|
| 69 |
+
access patterns.
|
| 70 |
+
|
| 71 |
+
### Drift signal
|
| 72 |
+
|
| 73 |
+
**`drift.detected`**
|
| 74 |
+
Emitted when an entity's observed behaviour diverges from its declared operating model.
|
| 75 |
+
Drift categories include capability overreach, authority gaps, state inconsistencies,
|
| 76 |
+
policy violations, and identity mismatches. Severity is graded `low | medium | high | critical`.
|
| 77 |
+
|
| 78 |
+
### Evidence signal
|
| 79 |
+
|
| 80 |
+
**`evidence.sealed`**
|
| 81 |
+
Emitted when an evidence pack is cryptographically sealed and its integrity hash recorded.
|
| 82 |
+
The payload includes the pack identifier, its SHA-256 digest, and the key identifier of
|
| 83 |
+
the signing key. Subscribers may use this to verify pack integrity independently.
|
| 84 |
+
|
| 85 |
+
### Incident signals
|
| 86 |
+
|
| 87 |
+
**`incident.opened`**
|
| 88 |
+
Emitted when a new compliance or operational incident is opened. Carries a severity grade
|
| 89 |
+
and a list of implicated entity identifiers.
|
| 90 |
+
|
| 91 |
+
**`incident.closed`**
|
| 92 |
+
Emitted when an incident is resolved and closed. Carries the resolution summary and the
|
| 93 |
+
root-cause category to enable trend analysis.
|
| 94 |
+
|
| 95 |
+
### DSAR signals
|
| 96 |
+
|
| 97 |
+
**`dsar.requested`**
|
| 98 |
+
Emitted when a Data Subject Access Request (DSAR) is submitted by or on behalf of a data
|
| 99 |
+
subject. Subscribers should initiate the appropriate fulfilment workflow upon receipt.
|
| 100 |
+
Carries the request type (access, erasure, rectification, portability, restriction, objection)
|
| 101 |
+
and the statutory deadline.
|
| 102 |
+
|
| 103 |
+
**`dsar.fulfilled`**
|
| 104 |
+
Emitted when a DSAR is fully processed and the response dispatched to the data subject.
|
| 105 |
+
The outcome field distinguishes `fulfilled`, `partially_fulfilled`, and `refused` outcomes.
|
| 106 |
+
|
| 107 |
+
### Revocation signal
|
| 108 |
+
|
| 109 |
+
**`revocation.cascaded`**
|
| 110 |
+
Emitted by the Revocation Cascade Orchestrator once a root-entity revocation has been
|
| 111 |
+
propagated to all dependent entities (agents, connectors, delegations). The payload lists
|
| 112 |
+
every entity that was revoked as a consequence, enabling subscribers to update derived
|
| 113 |
+
authority records in a single atomic step.
|
| 114 |
+
|
| 115 |
+
### Compliance and audit signals
|
| 116 |
+
|
| 117 |
+
**`compliance_card.refreshed`**
|
| 118 |
+
Emitted whenever a tenant's compliance card is recalculated. The payload identifies the
|
| 119 |
+
card, its new version number, and the overall compliance status (`compliant`, `at_risk`,
|
| 120 |
+
or `non_compliant`).
|
| 121 |
+
|
| 122 |
+
**`audit_pack.assembled`**
|
| 123 |
+
Emitted when the Evidence Pack Assembler has compiled an audit pack from staged artefacts,
|
| 124 |
+
covering a defined time window. The pack is ready for sealing and external submission.
|
| 125 |
+
|
| 126 |
+
### Infrastructure signal
|
| 127 |
+
|
| 128 |
+
**`webhook.failed`** _(dead-letter)_
|
| 129 |
+
Emitted to the dead-letter queue when the Webhook Dispatcher has exhausted all delivery
|
| 130 |
+
retries for an outbound webhook. The payload records the original signal identifier,
|
| 131 |
+
the target subscriber, the number of attempts made, and the last error received. This
|
| 132 |
+
signal triggers human review and optional manual replay.
|
| 133 |
+
|
| 134 |
+
---
|
| 135 |
+
|
| 136 |
+
_KYE Protocol™ project, 2026. Apache 2.0._
|
vocabulary/state-library.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ State Library Vocabulary
|
| 2 |
+
|
| 3 |
+
The **KYE State Library™** is the open-source catalogue of reference state
|
| 4 |
+
machines for KYE Protocol™. This document describes the library model in
|
| 5 |
+
plain terms.
|
| 6 |
+
|
| 7 |
+
This document defines names and the adoption / derivation model only.
|
| 8 |
+
The signing mechanism, integrity-lock construction, and transparency-log
|
| 9 |
+
inclusion are part of the normative specification.
|
| 10 |
+
|
| 11 |
+
## What the library is
|
| 12 |
+
|
| 13 |
+
The KYE State Library™ is a curated set of **reference state machines** —
|
| 14 |
+
pre-built graphs of states and transitions that cover common entity
|
| 15 |
+
lifecycle patterns across regulated industries.
|
| 16 |
+
|
| 17 |
+
Each library entry is:
|
| 18 |
+
|
| 19 |
+
- **open source** — published under MIT or Apache-2.0
|
| 20 |
+
- **signed** — the entry JSON is signed; the signature is verifiable
|
| 21 |
+
against the KYE Protocol™ transparency log
|
| 22 |
+
- **versioned** — entries follow `<name>@<semver>`; minor bumps add
|
| 23 |
+
states or transitions; major bumps are breaking and require a new entry
|
| 24 |
+
- **sector-tagged** — each entry declares one or more `sector` values
|
| 25 |
+
from the list below
|
| 26 |
+
|
| 27 |
+
## v1 sector coverage
|
| 28 |
+
|
| 29 |
+
The v1 library ships 30 starter entries across 9 sectors:
|
| 30 |
+
|
| 31 |
+
| Sector | Stable ID | Example machines |
|
| 32 |
+
|---|---|---|
|
| 33 |
+
| Banking | `banking` | `retail_account.v1`, `corporate_account.v1`, `credit_facility.v1` |
|
| 34 |
+
| Payments | `payments` | `payment_mandate.v1`, `payment_instruction.v1` |
|
| 35 |
+
| Insurance | `insurance` | `policy_holder.v1`, `claim.v1` |
|
| 36 |
+
| Healthcare | `healthcare` | `patient.v1`, `clinical_record.v1` |
|
| 37 |
+
| Pharma | `pharma` | `trial_participant.v1`, `batch_release.v1` |
|
| 38 |
+
| Logistics | `logistics` | `shipment.v1`, `warehouse_asset.v1` |
|
| 39 |
+
| Energy | `energy` | `grid_asset.v1`, `operator_credential.v1` |
|
| 40 |
+
| Regtech | `regtech` | `regulated_entity.v1`, `compliance_obligation.v1` |
|
| 41 |
+
| AI Governance | `ai_governance` | `model.v1`, `ai_agent.v1`, `audit_stream.v1` |
|
| 42 |
+
|
| 43 |
+
## Adoption
|
| 44 |
+
|
| 45 |
+
A tenant **adopts** a library entry by setting `state_machine_id` on an
|
| 46 |
+
entity (or entity class) to the library entry's `kye:sm:…` URN and
|
| 47 |
+
recording the `state_machine_version`. Adoption is a point-in-time
|
| 48 |
+
snapshot — the entity continues to use that version even when the library
|
| 49 |
+
publishes a newer minor version.
|
| 50 |
+
|
| 51 |
+
Upgrading to a newer version is an explicit operation that adds a
|
| 52 |
+
`state_event` recording the version change.
|
| 53 |
+
|
| 54 |
+
## Derivation
|
| 55 |
+
|
| 56 |
+
A tenant may **derive** a tightened variant from a library entry:
|
| 57 |
+
|
| 58 |
+
1. The derived machine references the parent entry via `parent_machine_id`.
|
| 59 |
+
2. Derivation may only **add** states, **add** guard conditions, or
|
| 60 |
+
**restrict** allowed transitions. It may not remove terminal classes
|
| 61 |
+
or remove evidence requirements.
|
| 62 |
+
3. The derived machine is signed by the tenant. The signature is recorded
|
| 63 |
+
in the tenant's State Registry™.
|
| 64 |
+
4. The derivation delta (the set of additions / restrictions) is stored
|
| 65 |
+
as a separate signed record alongside the derived machine.
|
| 66 |
+
|
| 67 |
+
Derivation does **not** transfer the parent library entry's open-source
|
| 68 |
+
licence to proprietary use — the derived delta is the tenant's own work;
|
| 69 |
+
the base entry remains under its original licence.
|
| 70 |
+
|
| 71 |
+
## Integrity lock
|
| 72 |
+
|
| 73 |
+
Once a library entry is published (signed + included in the transparency
|
| 74 |
+
log), its content is immutable. A published entry is never edited in
|
| 75 |
+
place. Corrections or additions produce a new semver entry. This ensures
|
| 76 |
+
that any tenant that has adopted `foo@1.2.3` has an unchanging contract
|
| 77 |
+
for the lifetime of that version.
|
| 78 |
+
|
| 79 |
+
## Naming convention
|
| 80 |
+
|
| 81 |
+
Library entry IDs follow the pattern:
|
| 82 |
+
|
| 83 |
+
```
|
| 84 |
+
kye:sm:kyeprotocol.com:lib.<sector>.<name>.<major>
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
Examples:
|
| 88 |
+
|
| 89 |
+
```
|
| 90 |
+
kye:sm:kyeprotocol.com:lib.banking.retail_account.v1
|
| 91 |
+
kye:sm:kyeprotocol.com:lib.ai_governance.model.v1
|
| 92 |
+
kye:sm:kyeprotocol.com:lib.healthcare.patient.v1
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
## What this document does not specify
|
| 96 |
+
|
| 97 |
+
- the signing algorithm or key management for library entries
|
| 98 |
+
- how library entries are verified against the transparency log
|
| 99 |
+
- the process for submitting new library entries
|
| 100 |
+
- the runtime enforcement of derivation constraints
|
| 101 |
+
|
| 102 |
+
Those are part of the normative specification.
|
vocabulary/state-machines.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE™ State Machine Vocabulary
|
| 2 |
+
|
| 3 |
+
Every KYE Protocol™ entity carries a `state` field governed by a registered
|
| 4 |
+
state machine. This document describes the **state model** in plain terms.
|
| 5 |
+
|
| 6 |
+
This document defines names and concepts only. The transition-guard
|
| 7 |
+
evaluation logic, evidence-class matching, and audit-chain construction
|
| 8 |
+
are part of the normative specification and are not published here.
|
| 9 |
+
|
| 10 |
+
## The state model
|
| 11 |
+
|
| 12 |
+
A **state machine** in KYE Protocol™ is a named, versioned, immutable
|
| 13 |
+
graph of states and transitions. Each machine:
|
| 14 |
+
|
| 15 |
+
- has a stable `state_machine_id` (a `kye:sm:…` URN)
|
| 16 |
+
- declares a set of **states** — each with a human label and a
|
| 17 |
+
stability class (`transient`, `stable`, `terminal`)
|
| 18 |
+
- declares a set of **transitions** — each with a `from` state, a
|
| 19 |
+
`to` state, and an **evidence class** that must be satisfied
|
| 20 |
+
|
| 21 |
+
An entity record holds:
|
| 22 |
+
|
| 23 |
+
- `state` — the current state value (string, from the machine's state set)
|
| 24 |
+
- `state_machine_id` — which machine governs this entity
|
| 25 |
+
- `state_machine_version` — the semver of the machine at adoption time
|
| 26 |
+
|
| 27 |
+
## State event log
|
| 28 |
+
|
| 29 |
+
Every transition appends a `state_event` record. The record is
|
| 30 |
+
append-only — it is never updated or deleted. Fields:
|
| 31 |
+
|
| 32 |
+
| Field | Description |
|
| 33 |
+
|---|---|
|
| 34 |
+
| `entity_id` | The entity that transitioned |
|
| 35 |
+
| `from_state` | State before the transition |
|
| 36 |
+
| `to_state` | State after the transition |
|
| 37 |
+
| `transition_id` | Identifies the declared transition in the machine |
|
| 38 |
+
| `triggered_by` | The principal or system that triggered the event |
|
| 39 |
+
| `evidence_ref` | Reference to the evidence pack or decision record that satisfied the guard |
|
| 40 |
+
| `recorded_at` | ISO 8601 timestamp (UTC) |
|
| 41 |
+
|
| 42 |
+
## Stability classes
|
| 43 |
+
|
| 44 |
+
| Class | Meaning |
|
| 45 |
+
|---|---|
|
| 46 |
+
| `transient` | Short-lived; the machine expects the entity to leave this state quickly (e.g., `pending_verification`) |
|
| 47 |
+
| `stable` | Normal operating state (e.g., `active`, `limited`) |
|
| 48 |
+
| `terminal` | No outbound transitions (e.g., `tombstoned`) |
|
| 49 |
+
|
| 50 |
+
## Common state names
|
| 51 |
+
|
| 52 |
+
The following names are pre-defined in the KYE Protocol™ core vocabulary.
|
| 53 |
+
State machines MAY use any subset and MAY add custom states via derivation.
|
| 54 |
+
|
| 55 |
+
| State | Stability class | Meaning |
|
| 56 |
+
|---|---|---|
|
| 57 |
+
| `discovered` | transient | Entity seen but not yet registered |
|
| 58 |
+
| `registered` | transient | Registered with an immutable ID; pending first verification |
|
| 59 |
+
| `pending_verification` | transient | Awaiting evidence to advance |
|
| 60 |
+
| `verified` | stable | Verification satisfied |
|
| 61 |
+
| `active` | stable | Participating in governed actions |
|
| 62 |
+
| `limited` | stable | Operating under reduced scope |
|
| 63 |
+
| `under_review` | transient | Review in progress |
|
| 64 |
+
| `approval_required` | transient | Actions require explicit approval |
|
| 65 |
+
| `suspended` | stable | Temporarily prevented from acting |
|
| 66 |
+
| `stopped` | stable | Prevented from acting by a stop-cascade event |
|
| 67 |
+
| `quarantined` | stable | Isolated pending investigation |
|
| 68 |
+
| `revoked` | stable | Authority removed; recovery requires explicit process |
|
| 69 |
+
| `transferred` | terminal | Ownership or trust domain changed |
|
| 70 |
+
| `archived` | terminal | Retained for audit; no active participation |
|
| 71 |
+
| `tombstoned` | terminal | Permanently deactivated; no outbound transitions |
|
| 72 |
+
|
| 73 |
+
## Machine identity convention
|
| 74 |
+
|
| 75 |
+
State machine IDs follow the pattern:
|
| 76 |
+
|
| 77 |
+
```
|
| 78 |
+
kye:sm:<trust-domain>:<name>.<entity-class>.<major>
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
Examples:
|
| 82 |
+
|
| 83 |
+
```
|
| 84 |
+
kye:sm:kyeprotocol.com:core.principal.v1
|
| 85 |
+
kye:sm:kyeprotocol.com:core.workspace.v1
|
| 86 |
+
kye:sm:kyeprotocol.com:lib.banking.account.v1
|
| 87 |
+
kye:sm:acme.example:derived.principal.v1
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
The `core.*` machines are published by KYE Protocol™ and available in
|
| 91 |
+
the KYE State Library™. Tenant-derived machines use the tenant's trust
|
| 92 |
+
domain and record `parent_machine_id` pointing to the library entry they
|
| 93 |
+
derived from.
|
| 94 |
+
|
| 95 |
+
## What this document does not specify
|
| 96 |
+
|
| 97 |
+
- the algorithm that evaluates evidence-class guards
|
| 98 |
+
- the signing or integrity mechanism for state events
|
| 99 |
+
- the cross-entity propagation rules when a parent state changes
|
| 100 |
+
- the recovery process after `revoked` or `stopped`
|
| 101 |
+
|
| 102 |
+
Those are part of the normative specification.
|
vocabulary/taxonomies-v1.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Protocol™ — Canonical taxonomies (V1)
|
| 2 |
+
|
| 3 |
+
> **Status:** Normative. v1.0. Apache 2.0. Companion to
|
| 4 |
+
> the 17 canonical dictionaries (`internal`) (post-§29 landing).
|
| 5 |
+
>
|
| 6 |
+
> KYE is **taxonomy-first**. Authority decisions need shared
|
| 7 |
+
> classification or every implementation invents different words for
|
| 8 |
+
> the same thing. V1 ships with 16 canonical taxonomies. Profiles MAY
|
| 9 |
+
> register additional taxonomies but MUST NOT redefine canonical
|
| 10 |
+
> terms.
|
| 11 |
+
|
| 12 |
+
## 1. The 16 V1 taxonomies
|
| 13 |
+
|
| 14 |
+
| # | Taxonomy ID | Purpose |
|
| 15 |
+
|---|-------------------------------------|----------------------------------------------------|
|
| 16 |
+
| 1 | `kye:taxonomy:entity_type` | Entity classes — humans, businesses, agents, services, models, tools, workflows. |
|
| 17 |
+
| 2 | `kye:taxonomy:entity_state` | Lifecycle states — provisional, active, suspended, quarantined, stopped, tombstoned. |
|
| 18 |
+
| 3 | `kye:taxonomy:capability_type` | Skill, tool, MCP tool, function, connector, playbook, model_profile, payment_action, api_operation. |
|
| 19 |
+
| 4 | `kye:taxonomy:capability_state` | active, deprecated, broken, quarantined, revoked, superseded. |
|
| 20 |
+
| 5 | `kye:taxonomy:action_type` | Verbs the runtime evaluates (read, write, transfer, payment.prepare, …). |
|
| 21 |
+
| 6 | `kye:taxonomy:resource_type` | Wallet, dataset, document, vehicle, vessel, shipment. |
|
| 22 |
+
| 7 | `kye:taxonomy:data_class` | Personal, financial, special-category, regulated, public. |
|
| 23 |
+
| 8 | `kye:taxonomy:side_effect_level` | read / write / move_money / external_send / mutate_critical. |
|
| 24 |
+
| 9 | `kye:taxonomy:risk_state` | nominal / elevated / watch / denylisted. |
|
| 25 |
+
| 10| `kye:taxonomy:environment` | dev / staging / production / regulated_production. |
|
| 26 |
+
| 11| `kye:taxonomy:decision` | allow / allow_with_constraints / require_approval / require_step_up / require_human_review / require_recovery / quarantine / deny. |
|
| 27 |
+
| 12| `kye:taxonomy:reason_code` | Canonical reason codes referenced by every decision. |
|
| 28 |
+
| 13| `kye:taxonomy:evidence_type` | Audit event, transparency receipt, evidence pack, payload artefact. |
|
| 29 |
+
| 14| `kye:taxonomy:compliance_framework` | EU_AI_ACT, ISO_42001, SOC2, ISO_27001, PCI_DSS, PSD3, DORA, NIS2, HIPAA, NIST_800_207. |
|
| 30 |
+
| 15| `kye:taxonomy:sector` | Healthcare, financial_services, defence, energy, manufacturing, automotive, maritime, logistics, aviation, public_sector. |
|
| 31 |
+
| 16| `kye:taxonomy:jurisdiction` | ISO-3166 jurisdictions plus EU as a regulatory bloc. |
|
| 32 |
+
|
| 33 |
+
## 2. Required signal types
|
| 34 |
+
|
| 35 |
+
Every taxonomy and metadata mutation MUST emit:
|
| 36 |
+
|
| 37 |
+
| Event | Emitted on |
|
| 38 |
+
|--------------------------------------|-------------------------------------|
|
| 39 |
+
| `kye.taxonomy.created` | New taxonomy registered |
|
| 40 |
+
| `kye.taxonomy.updated` | Taxonomy metadata changed |
|
| 41 |
+
| `kye.taxonomy.published` | Version moved from draft to active |
|
| 42 |
+
| `kye.taxonomy.deprecated` | Term or version deprecated |
|
| 43 |
+
| `kye.taxonomy.term_added` | New term added to a taxonomy |
|
| 44 |
+
| `kye.taxonomy.term_updated` | Term metadata or status changed |
|
| 45 |
+
| `kye.taxonomy.term_deprecated` | Term marked deprecated |
|
| 46 |
+
| `kye.taxonomy.mapping_created` | Taxonomy term mapped to framework |
|
| 47 |
+
| `kye.metadata.schema_created` | New `KYEMetadataSchema` registered |
|
| 48 |
+
| `kye.metadata.schema_updated` | Schema fields or constraints changed |
|
| 49 |
+
| `kye.metadata.validation_failed` | A metadata block failed validation |
|
| 50 |
+
| `kye.metadata.classification_changed`| Classification field changed |
|
| 51 |
+
| `kye.metadata.binding_created` | Metadata bound to a subject URN |
|
| 52 |
+
| `kye.metadata.binding_removed` | Metadata binding removed |
|
| 53 |
+
|
| 54 |
+
## 3. Use in copy
|
| 55 |
+
|
| 56 |
+
> **No authority without context.** KYE uses taxonomies and metadata
|
| 57 |
+
> to make every entity, capability, action, resource, risk, and
|
| 58 |
+
> evidence object governable.
|
| 59 |
+
>
|
| 60 |
+
> KYE is **taxonomy-first** and **metadata-first**, so every authority
|
| 61 |
+
> decision understands the entity, capability, resource, action, risk,
|
| 62 |
+
> sector, jurisdiction, state, and evidence context behind it.
|
| 63 |
+
|
| 64 |
+
— KYE Protocol™ project, 2026.
|
vocabulary/trademarks.md
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KYE Protocol™ — protected trademark dictionary (SSOT)
|
| 2 |
+
|
| 3 |
+
This is the **single source of truth** for every protected mark of the
|
| 4 |
+
KYE Protocol™ project. Every public-facing surface (this site, the
|
| 5 |
+
whitepaper, the legal page, READMEs, blog posts, SDK docs) must carry
|
| 6 |
+
the ™ symbol on the **first prominent use** of any of these marks
|
| 7 |
+
within a single page or document. Subsequent uses on the same page
|
| 8 |
+
may drop the symbol.
|
| 9 |
+
|
| 10 |
+
The audit script `scripts/audit-trademarks.mjs` enforces this against
|
| 11 |
+
`public/site/*.html` on every `npm test` run, so first-prominent-use
|
| 12 |
+
gaps cannot land on `main` undetected.
|
| 13 |
+
|
| 14 |
+
The structured form of this list is at
|
| 15 |
+
[`trademarks.json`](trademarks.json) — that file is what the audit
|
| 16 |
+
script reads.
|
| 17 |
+
|
| 18 |
+
## Protected marks (15)
|
| 19 |
+
|
| 20 |
+
| # | Mark | Class | Notes |
|
| 21 |
+
|---|---|---|---|
|
| 22 |
+
| 1 | **KYE™** | wordmark | Short form; standalone references |
|
| 23 |
+
| 2 | **KYE Protocol™** | wordmark | Full name of the protocol |
|
| 24 |
+
| 3 | **Know Your Entity™** | descriptive wordmark | Source of the KYE acronym |
|
| 25 |
+
| 4 | **Authority Finality™** | concept mark | The protocol-level *property*: an action's chain is provably terminal — six bound fields signed and replayable |
|
| 26 |
+
| 4a | **KYE Chain of Authority™** | concept mark | The *structural artefact*: the linked, attenuating delegation chain from root principal down to the actor. Narrative parallel to chain-of-custody for documents. KYE prefix mitigates §2(e) descriptiveness refusal on the bare phrase. |
|
| 27 |
+
| 5 | **Authority Graph™** | concept mark | Graph projection of authority |
|
| 28 |
+
| 6 | **Decision Map™** | concept mark | Per-decision projection |
|
| 29 |
+
| 7 | **Evidence Graph™** | concept mark | Evidence projection |
|
| 30 |
+
| 8 | **Blast Radius Map™** | concept mark | Compromise-cascade projection |
|
| 31 |
+
| 9 | **Compliance Map™** | concept mark | Framework-control projection |
|
| 32 |
+
| 10 | **KYE Compliance Mapping Rail™** | infrastructure mark | Runtime → control binding |
|
| 33 |
+
| 11 | **KYE Cloud Gateway™** | commercial mark | Hosted commercial offering |
|
| 34 |
+
| 11a | **KYE Reference Gateway™** | implementation mark | The protocol's open-source reference implementation. Ships under commercial licence to design partners. |
|
| 35 |
+
| 11b | **KYE Runtime Gateway™** | implementation mark | Generic name for any production-grade KYE™ Gateway deployment built on the reference. |
|
| 36 |
+
| 12 | **KYE Conformant™** | certification mark | L3 conformance badge |
|
| 37 |
+
| 13 | **KYE Certified™** | certification mark | L4 certification badge |
|
| 38 |
+
| 14 | **KYE Self-Tested™** | certification mark | L1 self-test badge |
|
| 39 |
+
| 15 | **KYE Self-Attested™** | certification mark | L2 self-attestation badge |
|
| 40 |
+
| 16 | **KYE Core Conformant™** | certification mark (capability-scoped) | Core authority + delegation + scope + state + audit + decision-code fixtures. Program in development. |
|
| 41 |
+
| 17 | **KYE Authority Conformant™** | certification mark (capability-scoped) | Authority Finality™ binding tested end-to-end. Program in development. |
|
| 42 |
+
| 18 | **KYE Capability Conformant™** | certification mark (capability-scoped) | Capability registry + grant + invoke + quarantine + cascade fixtures. Program in development. |
|
| 43 |
+
| 19 | **KYE Evidence Conformant™** | certification mark (capability-scoped) | Evidence Pack™ generation, signing, replay and OSCAL projection. Program in development. |
|
| 44 |
+
| 20 | **KYE Sovereign AI Profile™** | profile | Umbrella connector profile family for sovereign / national AI ecosystems. v1.1 preview. |
|
| 45 |
+
| 21 | **KYE Public Sector Profile™** | profile | Agency + civil-servant + citizen-service authority binding. v1.1 preview. |
|
| 46 |
+
| 22 | **KYE National AI Agent Profile™** | profile | Registry + capability + permitted-action binding for AI agents at national scale. v1.1 preview. |
|
| 47 |
+
| 23 | **KYE Government API Authority Profile™** | profile | Pre-authorisation hook for government APIs. v1.1 preview. |
|
| 48 |
+
| 24 | **KYE Public Services Evidence Profile™** | profile | Evidence-pack format for citizen-impacting AI-assisted decisions. v1.1 preview. |
|
| 49 |
+
| 25 | **KYE Sovereign Data Access Profile™** | profile | Dataset + data-space authority + provenance binding. v1.1 preview. |
|
| 50 |
+
| 26 | **KYE Sovereign Model Registry Profile™** | profile | Model entity + risk state + permitted-action binding. v1.1 preview. |
|
| 51 |
+
| 27 | **KYE Cross-Agency Delegation Profile™** | profile | Ministerial + agency + regulatory delegation binding. v1.1 preview. |
|
| 52 |
+
| 28 | **KYE National Sandbox Profile™** | profile | Supervisor + participant authority binding for regulated sandboxes. v1.1 preview. |
|
| 53 |
+
| 29 | **KYE Sovereign AI Authority Gateway™** | app | Runtime authority gateway for sovereign AI ecosystems. Planned commercial app. |
|
| 54 |
+
| 30 | **KYE National AI Agent Registry™** | app | Register and govern AI agents, models, datasets at national scale. Planned commercial app. |
|
| 55 |
+
| 31 | **KYE Public Sector Decision Map™** | app | Replay AI-assisted public-sector decisions. Planned commercial app. |
|
| 56 |
+
| 32 | **KYE Sovereign AI Evidence Pack™** | app | Evidence-pack format + viewer for sovereign AI ecosystems. Planned commercial app. |
|
| 57 |
+
| 33 | **KYE National Sandbox Authority Harness™** | app | Sandbox harness for regulated national AI / open-finance / healthcare programs. Planned commercial app. |
|
| 58 |
+
| 34 | **KYE Authority Wallet™** | app | Mobile authority-control + proof app for AI-agent actions. Create agents, grant scoped authority, approve / deny / revoke, inspect Decision Map™, view evidence packs. |
|
| 59 |
+
| 35 | **KYE Authority Wallet Demo™** | app | Proprietary mobile demo (Expo / React Native). Synthetic data, simulated agent / payment flows. |
|
| 60 |
+
| 36 | **KYE Authority Wallet Pro™** | commercial | Paid production version. Real Gateway integration, enterprise approval workflows, push notifications, evidence archive. Planned. |
|
| 61 |
+
| 37 | **KYE Mobile Approval Gateway™** | commercial | Enterprise mobile-approval module for banks, payments, healthcare, legal. Push-approval-as-part-of-decision. Planned. |
|
| 62 |
+
| 38 | **KYE Continuity Profile™** | profile | Preserves the chain between intent, interpretation, delegated authority, state, decision, execution and evidence. v1.0. |
|
| 63 |
+
| 39 | **Authority Continuity™** | concept | Authority remained continuous from intent to action. |
|
| 64 |
+
| 40 | **Agency Continuity™** | concept | Same property in agentic-systems language. |
|
| 65 |
+
| 41 | **Continuity Decision Map™** | concept | Per-continuity-decision projection. |
|
| 66 |
+
| 42 | **Continuity Evidence Pack™** | concept | Replayable bundle for one continuity check. |
|
| 67 |
+
| 43 | **Delegated Agency Graph™** | concept | Cross-chain visualisation. |
|
| 68 |
+
| 44 | **KYE Continuity Gateway™** | app | Runtime gateway for continuity checks. Planned. |
|
| 69 |
+
| 45 | **KYE Intent Trace App™** | app | Signal → action visualiser. Planned. |
|
| 70 |
+
| 46 | **KYE Agency Drift Monitor™** | app | Drift detection + alerting. Planned. |
|
| 71 |
+
| 47 | **KYE Discoverability Profile™** | profile | Policy-filtered discovery of KYE entities, authorities, capabilities, decisions, evidence, profiles, connectors. v1.0. |
|
| 72 |
+
| 48 | **KYE Authority Directory™** | app | Searchable directory of entities, agents, capabilities, grants and profiles. Planned. |
|
| 73 |
+
| 49 | **KYE Discovery Console™** | app | Enterprise search + investigation console. Planned. |
|
| 74 |
+
| 50 | **KYE Authority Path Finder™** | app | Find principal → delegation → actor → capability paths. Planned. |
|
| 75 |
+
| 51 | **KYE Evidence Finder™** | app | Search and verify decisions, audit events and evidence packs. Planned. |
|
| 76 |
+
| 52 | **KYE Connector Discovery Hub™** | app | Discover profiles, connectors, apps, plugins and certified implementations. Planned. |
|
| 77 |
+
| 53 | **KYE Ontology Profile™** | profile | Semantic layer — shared meaning of entities, authorities, capabilities, scopes, states, decisions, evidence, profiles, connectors and sectors. v1.0. |
|
| 78 |
+
| 54 | **KYE Semantic Layer™** | concept | Product-friendly synonym for KYE Ontology Profile™. |
|
| 79 |
+
| 55 | **KYE Ontology Registry™** | app | Managed registry for terms, relationships, mappings and semantic assertions. Planned. |
|
| 80 |
+
| 56 | **KYE Semantic Authority Mapper™** | app | Maps OAuth scopes, IAM roles, payment mandates, legal delegations, healthcare consents into KYE’s authority model without losing meaning. Planned. |
|
| 81 |
+
| 57 | **KYE Semantic Graph™** | app | Graph view of the ontology + live instances; semantic-path search and risk-ranked traversal. Planned. |
|
| 82 |
+
| 58 | **KYE Ontology Conformance™** | app | Conformance fixture suite + certification track for ontology-correct implementations. Planned. |
|
| 83 |
+
| 59 | **KYE Operating Model Profile™** | profile | Enterprise adoption layer — journey from use-case intake to runtime authority control. v1.0. |
|
| 84 |
+
| 60 | **KYE AI Worker Readiness App™** | app | Readiness assessment for AI workers — pilot / controlled / production. Planned. |
|
| 85 |
+
| 61 | **KYE Entity Authority Record™** | concept | Living governance record per delegated actor. |
|
| 86 |
+
| 62 | **KYE Authority Gates™** | concept | Runtime gates before high-impact AI actions. |
|
| 87 |
+
| 63 | **KYE Authority Gate Designer™** | app | Visual gate composer + simulator. Planned. |
|
| 88 |
+
| 64 | **KYE Commit Boundary™** | concept | Separates recommendation from committed action. |
|
| 89 |
+
| 65 | **KYE Commit Boundary Monitor™** | app | Runtime monitor for recommendation→committed-action transitions. Planned. |
|
| 90 |
+
| 66 | **KYE Governed Entity Catalog™** | app | Discovery surface for governed agents, models, tools, services, connectors, apps and certified implementations. Planned. |
|
| 91 |
+
| 67 | **KYE Cloud Portal™** | app | Enterprise dashboard for the operating-model journey + runtime evidence. Planned. |
|
| 92 |
+
| 68 | **KYE Academy™** | app | Training and certification track for KYE Operating Model Profile™ owners and operators. Planned. |
|
| 93 |
+
| 69 | **KYE Assurance Card Profile™** | profile | Lifecycle assurance layer that turns runtime evidence into a living assurance record. v1.0. |
|
| 94 |
+
| 70 | **KYE Assurance Card™** | concept | Living lifecycle assurance record per delegated entity. |
|
| 95 |
+
| 71 | **KYE Assurance Card Builder™** | app | Generate living assurance cards from KYE runtime objects. Planned. |
|
| 96 |
+
| 72 | **KYE Assurance Card Library™** | app | Discoverable library of governed AI use cases + assurance patterns. Planned. |
|
| 97 |
+
| 73 | **KYE Human Involvement Planner™** | app | Define where authorised humans must review, approve, limit or override AI-enabled actions. Planned. |
|
| 98 |
+
| 74 | **KYE Human Involvement Plan™** | concept | Schema-bound record of human-judgement points across the lifecycle of a delegated AI system. |
|
| 99 |
+
| 75 | **KYE Provenance & Supply Chain Evidence App™** | app | Track datasets, models, tools, suppliers, licences and hardware lineage. Planned. |
|
| 100 |
+
| 76 | **KYE AI Supply Chain & Provenance Profile™** | concept | Provenance + supply-chain dimension of an assurance card subject. |
|
| 101 |
+
| 77 | **KYE Assurance Review Scheduler™** | app | Scheduled + event-triggered + scope-change + incident + retention + decommissioning review cycles. Planned. |
|
| 102 |
+
| 78 | **KYE Assurance Review Cycle™** | concept | Schema-bound review lifecycle for an assurance-card subject. |
|
| 103 |
+
| 79 | **KYE Governed Use Case Library™** | app | Sector-curated library of governed AI use cases linking authority records, gates, commit boundaries, decisions, evidence packs and assurance cards. Planned. |
|
| 104 |
+
| 80 | **KYE Formal Rules Profile™** | profile | Rights, obligations and governance layer — permissions, obligations, prohibitions, powers, exceptions and governance meta-rules as machine-readable authority objects. v1.0. |
|
| 105 |
+
| 81 | **KYE Rights & Obligations Engine™** | app | Runtime engine evaluating permissions, obligations, prohibitions, powers, exceptions and governance rules. Planned. |
|
| 106 |
+
| 82 | **KYE Obligation Ledger™** | app | Append-only ledger tracking every obligation lifecycle. Planned. |
|
| 107 |
+
| 83 | **KYE Rule Prover™** | app | Pre-runtime consistency checker for rule sets. Planned. |
|
| 108 |
+
| 84 | **KYE Rule Compiler™** | app | Compiles formal KYE rules into runtime PDP/PEP policies, authority gates, commit boundaries, signal events and evidence requirements. Planned. |
|
| 109 |
+
| 85 | **KYE Contract-to-Authority Mapper™** | app | Extracts permissions, obligations, prohibitions and powers from contracts into KYE formal rules. Planned. |
|
| 110 |
+
| 86 | **KYE Action Admissibility Profile™** | profile | Upstream pre-action layer — checks whether a proposed action is admissible into the authority pipeline before any authority / formal-rule / commit-boundary check runs. v1.0. |
|
| 111 |
+
| 87 | **KYE Admissibility Engine™** | app | Runtime engine performing the admission check across intent, source, data, policy and rule dimensions. Planned. |
|
| 112 |
+
| 88 | **KYE Admission Gate™** | concept | The gate object the Admissibility Engine evaluates, placed UPSTREAM of authority gates. |
|
| 113 |
+
| 89 | **KYE Pre-Action Filter™** | concept | Product-friendly synonym for the admission surface. |
|
| 114 |
+
|
| 115 |
+
## Markup convention
|
| 116 |
+
|
| 117 |
+
In HTML, the canonical first-prominent-use markup is:
|
| 118 |
+
|
| 119 |
+
```html
|
| 120 |
+
KYE Protocol<span class="tm">™</span>
|
| 121 |
+
```
|
| 122 |
+
|
| 123 |
+
Plain `™` is also accepted (the audit script counts both). The
|
| 124 |
+
`<span class="tm">` wrapper is preferred for reduced font size on
|
| 125 |
+
the symbol.
|
| 126 |
+
|
| 127 |
+
## What the audit checks
|
| 128 |
+
|
| 129 |
+
For each HTML file under `public/site/`, the audit:
|
| 130 |
+
|
| 131 |
+
1. Finds the **first occurrence** of each mark (case-sensitive).
|
| 132 |
+
2. Verifies that occurrence is immediately followed by either
|
| 133 |
+
`<span class="tm">™</span>` or `™` (within ~50 characters,
|
| 134 |
+
to account for nested tags or whitespace).
|
| 135 |
+
3. Skips files where the mark never appears.
|
| 136 |
+
4. Reports any first-prominent use without ™ as a hard failure.
|
| 137 |
+
|
| 138 |
+
The script is intentionally strict: subsequent uses on the same
|
| 139 |
+
page are not checked, but the first one must be ™-marked.
|
| 140 |
+
|
| 141 |
+
## When you add a new protected mark
|
| 142 |
+
|
| 143 |
+
1. Add the mark to `trademarks.json` (and refresh the table above).
|
| 144 |
+
2. Update the universal footer-bottom notice in every page under
|
| 145 |
+
`public/site/` (search for `are trademarks of the KYE Protocol`).
|
| 146 |
+
3. Update the legal page §2 (`public/site/legal.html#trademark`)
|
| 147 |
+
and the legal-faq (`public/site/legal-faq.html#trademark-faq`).
|
| 148 |
+
4. Run `npm run test:trademarks` locally to confirm the new mark
|
| 149 |
+
is correctly flagged everywhere it appears.
|
| 150 |
+
|
| 151 |
+
---
|
| 152 |
+
|
| 153 |
+
This file is published under Apache License 2.0 with the rest of the
|
| 154 |
+
public protocol surface. The marks themselves remain trademarks of
|
| 155 |
+
the KYE Protocol™ project; reproducing this dictionary does not
|
| 156 |
+
grant any right to use the marks beyond the [trademark policy](../site/legal.html#trademark).
|