examples: validated payloads for every KYE™ schema
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +14 -0
- examples/access-right.json +17 -0
- examples/action-admissibility-profile.json +25 -0
- examples/admissibility-decision.json +32 -0
- examples/admissibility-evidence.json +41 -0
- examples/admission-gate.json +33 -0
- examples/adoption-evidence-pack.json +30 -0
- examples/agency-drift-event.json +31 -0
- examples/agent-memory-authorized-action-use.json +52 -0
- examples/agent-memory.json +59 -0
- examples/ai-adoption-journey-report.json +112 -0
- examples/approval-requirement.json +9 -0
- examples/assurance-card-profile.json +25 -0
- examples/assurance-card.json +75 -0
- examples/assurance-review-cycle.json +30 -0
- examples/attestation.json +18 -0
- examples/audit-event-v1-1.json +22 -0
- examples/audit-event.json +21 -0
- examples/audit-integrity-check.json +17 -0
- examples/authority-discovery-manifest.json +13 -0
- examples/authority-gate.json +45 -0
- examples/authority-path-discovery.json +21 -0
- examples/badge.json +22 -0
- examples/beneficiary.json +9 -0
- examples/break-glass-grant.json +19 -0
- examples/capability-grant.json +24 -0
- examples/capability-invocation.json +21 -0
- examples/capability-manifest.json +45 -0
- examples/capability.json +55 -0
- examples/certification-record.json +35 -0
- examples/commit-boundary.json +28 -0
- examples/compliance-card.json +58 -0
- examples/compliance-mapping-healthcare-hipaa.json +29 -0
- examples/compliance-mapping-payments-psd3.json +29 -0
- examples/compliance-mapping-public-sector-iso42001.json +29 -0
- examples/compliance-mapping.json +28 -0
- examples/compromise-report.json +22 -0
- examples/conformance-report.json +60 -0
- examples/conformance-run.json +24 -0
- examples/connector-evidence-import-grc-platform.json +46 -0
- examples/connector-evidence-import.json +53 -0
- examples/continuity-context.json +84 -0
- examples/continuity-decision.json +33 -0
- examples/continuity-evidence-pack.json +23 -0
- examples/continuity-profile.json +57 -0
- examples/credential.json +16 -0
- examples/cron-manifest.json +21 -0
- examples/data-access-evidence-event.json +23 -0
- examples/data-asset.json +27 -0
- examples/data-classification-assignment.json +16 -0
README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
pretty_name: KYE Protocol™ Examples
|
| 4 |
+
tags:
|
| 5 |
+
- json-examples
|
| 6 |
+
- conformance
|
| 7 |
+
- ai-governance
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# KYE Protocol™ — Validated Example Payloads
|
| 11 |
+
|
| 12 |
+
One example per schema, validated by the schema-validation CI in the source repo. Apache-2.0.
|
| 13 |
+
|
| 14 |
+
Source: github.com/KYE-Protocol
|
examples/access-right.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"access_right_id": "kye:acr:acme.example:01JYACR0000000000000000000",
|
| 3 |
+
"granted_to_entity_id": "kye:ent:acme.example:ai_agent:01JY3J1D4E5A7K3JQFK4E0Q1XZ",
|
| 4 |
+
"granted_by_entity_id": "kye:ent:acme.example:person:01JYCFO0000000000000000000",
|
| 5 |
+
"subject_entity_id": "kye:ent:acme.example:business:01JYACME000000000000000000",
|
| 6 |
+
"right_key": "document.render",
|
| 7 |
+
"resource_pattern": "kye:ent:acme.example:document_template:*",
|
| 8 |
+
"scope": {
|
| 9 |
+
"scope_id": "kye:scp:acme.example:01JYFINANCE000000000000000",
|
| 10 |
+
"constraints": {
|
| 11 |
+
"workspace": "finance",
|
| 12 |
+
"environment": "prod"
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"status": "active",
|
| 16 |
+
"expires_at": "2026-12-31T23:59:59Z"
|
| 17 |
+
}
|
examples/action-admissibility-profile.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.action_admissibility_profile.v1",
|
| 3 |
+
"profile_id": "kye:profile:action_admissibility",
|
| 4 |
+
"display_name": "KYE Action Admissibility Profile™",
|
| 5 |
+
"category": "pre_action_governance",
|
| 6 |
+
"version": "1.0.0",
|
| 7 |
+
"description": "Defines pre-admission checks for proposed actions before they enter the runtime authority decision pipeline.",
|
| 8 |
+
"required_kye_profiles": [
|
| 9 |
+
"kye.core.v1", "kye.authority.v1", "kye.scope.v1",
|
| 10 |
+
"kye.state.v1", "kye.evidence.v1"
|
| 11 |
+
],
|
| 12 |
+
"recommended_kye_profiles": [
|
| 13 |
+
"kye.ontology.v1", "kye.continuity.v1", "kye.formal_rules.v1"
|
| 14 |
+
],
|
| 15 |
+
"required_objects": [
|
| 16 |
+
"KYEProposedAction", "KYEAdmissionGate",
|
| 17 |
+
"KYEAdmissibilityDecision", "KYEAdmissibilityEvidence"
|
| 18 |
+
],
|
| 19 |
+
"decision_types": [
|
| 20 |
+
"admit", "reject", "require_clarification",
|
| 21 |
+
"require_human_review", "quarantine", "route_to_authority_check"
|
| 22 |
+
],
|
| 23 |
+
"status": "active",
|
| 24 |
+
"created_at": "2026-05-10T00:00:00Z"
|
| 25 |
+
}
|
examples/admissibility-decision.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.admissibility_decision.v1",
|
| 3 |
+
"admissibility_decision_id": "kye:admissibility-decision:001",
|
| 4 |
+
"proposed_action_id": "kye:proposed-action:001",
|
| 5 |
+
"decision": "admit",
|
| 6 |
+
"reason_code": "proposed_action_admissible",
|
| 7 |
+
"checked_dimensions": {
|
| 8 |
+
"intent_present": true,
|
| 9 |
+
"intent_clear": true,
|
| 10 |
+
"principal_resolved": true,
|
| 11 |
+
"actor_resolved": true,
|
| 12 |
+
"accountable_owner_known": true,
|
| 13 |
+
"capability_known": true,
|
| 14 |
+
"resource_known": true,
|
| 15 |
+
"data_source_allowed": true,
|
| 16 |
+
"prohibited_action_class": false,
|
| 17 |
+
"continuity_preserved": true,
|
| 18 |
+
"formal_rule_block": false,
|
| 19 |
+
"evidence_ready": true,
|
| 20 |
+
"jurisdiction_supported": true,
|
| 21 |
+
"risk_state_acceptable": true
|
| 22 |
+
},
|
| 23 |
+
"next_step": "route_to_authority_check",
|
| 24 |
+
"obligations": [
|
| 25 |
+
"emit_admissibility_event",
|
| 26 |
+
"bind_to_authority_decision",
|
| 27 |
+
"include_in_evidence_pack"
|
| 28 |
+
],
|
| 29 |
+
"evidence_ref": "kye:admissibility-evidence:001",
|
| 30 |
+
"audit_chain_ref": "kye:audit:chain:0xadm123",
|
| 31 |
+
"decided_at": "2026-05-10T12:00:02Z"
|
| 32 |
+
}
|
examples/admissibility-evidence.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.admissibility_evidence.v1",
|
| 3 |
+
"evidence_id": "kye:admissibility-evidence:001",
|
| 4 |
+
"admissibility_decision_id": "kye:admissibility-decision:001",
|
| 5 |
+
"proposed_action_id": "kye:proposed-action:001",
|
| 6 |
+
"inputs_consulted": {
|
| 7 |
+
"intent_ref": "kye:intent:001",
|
| 8 |
+
"interpreted_intent_ref": "kye:intent-interpretation:001",
|
| 9 |
+
"ontology_terms_consulted": [
|
| 10 |
+
"kye:term:capability:card_purchase",
|
| 11 |
+
"kye:term:scope:amount_limit"
|
| 12 |
+
],
|
| 13 |
+
"formal_rules_consulted": [
|
| 14 |
+
"kye:rule:shopping_agent_amount_threshold"
|
| 15 |
+
],
|
| 16 |
+
"continuity_signals_consulted": [
|
| 17 |
+
"kye.intent.declared",
|
| 18 |
+
"kye.intent.interpreted"
|
| 19 |
+
],
|
| 20 |
+
"risk_signals_consulted": [
|
| 21 |
+
"kye.risk.normal"
|
| 22 |
+
]
|
| 23 |
+
},
|
| 24 |
+
"checked_inadmissibility_classes": [
|
| 25 |
+
"invalid_intent", "ambiguous_intent", "out_of_scope_proposal",
|
| 26 |
+
"prohibited_action_class", "disallowed_data_source",
|
| 27 |
+
"inadmissible_evidence", "unsafe_tool_path", "coercion_signal",
|
| 28 |
+
"incentive_conflict", "continuity_break", "policy_ineligible_action",
|
| 29 |
+
"missing_authority_context", "missing_principal",
|
| 30 |
+
"missing_accountable_owner", "unsupported_jurisdiction"
|
| 31 |
+
],
|
| 32 |
+
"matched_inadmissibility_classes": [],
|
| 33 |
+
"hash": "sha256:...",
|
| 34 |
+
"signature": {
|
| 35 |
+
"algorithm": "ed25519",
|
| 36 |
+
"key_id": "kye:key:admission_signing_001",
|
| 37 |
+
"signature": "..."
|
| 38 |
+
},
|
| 39 |
+
"audit_chain_ref": "kye:audit:chain:0xadm123",
|
| 40 |
+
"generated_at": "2026-05-10T12:00:02Z"
|
| 41 |
+
}
|
examples/admission-gate.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.admission_gate.v1",
|
| 3 |
+
"gate_id": "kye:admission-gate:agent_runtime_default",
|
| 4 |
+
"display_name": "Default Agent Runtime Admission Gate",
|
| 5 |
+
"description": "Pre-admission gate for AI agent proposed actions before authority decisioning.",
|
| 6 |
+
"applies_to": {
|
| 7 |
+
"actor_types": ["ai_agent", "workflow"],
|
| 8 |
+
"capabilities": ["card_purchase", "payment.prepare", "external_email.send", "data.read"],
|
| 9 |
+
"profiles": ["kye:profile:agent_runtime", "kye:profile:payment", "kye:profile:commerce"]
|
| 10 |
+
},
|
| 11 |
+
"decision_policy": {
|
| 12 |
+
"default_decision": "admit",
|
| 13 |
+
"allowed_decisions": ["admit", "reject", "require_clarification", "require_human_review", "quarantine", "route_to_authority_check"]
|
| 14 |
+
},
|
| 15 |
+
"required_checks": [
|
| 16 |
+
"intent_present", "intent_clear", "principal_resolved", "actor_resolved",
|
| 17 |
+
"accountable_owner_known", "capability_known", "resource_known",
|
| 18 |
+
"data_source_allowed", "prohibited_action_class", "continuity_preserved",
|
| 19 |
+
"formal_rule_block", "evidence_ready", "jurisdiction_supported",
|
| 20 |
+
"risk_state_acceptable", "no_coercion_signal", "no_incentive_conflict",
|
| 21 |
+
"no_unsafe_tool_path"
|
| 22 |
+
],
|
| 23 |
+
"required_evidence": ["intent_ref", "interpreted_intent_ref", "checked_dimensions_record"],
|
| 24 |
+
"signal_events": [
|
| 25 |
+
"kye.admissibility.check_started",
|
| 26 |
+
"kye.admissibility.admitted",
|
| 27 |
+
"kye.admissibility.rejected",
|
| 28 |
+
"kye.admissibility.requires_human_review",
|
| 29 |
+
"kye.admissibility.quarantined",
|
| 30 |
+
"kye.admissibility.routed_to_authority_check"
|
| 31 |
+
],
|
| 32 |
+
"status": "active"
|
| 33 |
+
}
|
examples/adoption-evidence-pack.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.adoption_evidence_pack.v1",
|
| 3 |
+
"evidence_pack_id": "kye:evidence-pack:adoption_001",
|
| 4 |
+
"use_case_id": "kye:use-case:ai_finance_worker_001",
|
| 5 |
+
"included_evidence": {
|
| 6 |
+
"use_case_intake": true,
|
| 7 |
+
"readiness_assessment": true,
|
| 8 |
+
"entity_authority_record": true,
|
| 9 |
+
"authority_gates": true,
|
| 10 |
+
"commit_boundaries": true,
|
| 11 |
+
"review_paths": true,
|
| 12 |
+
"training_records": true,
|
| 13 |
+
"runtime_decision_examples": true,
|
| 14 |
+
"evidence_pack_samples": true,
|
| 15 |
+
"revocation_test": true
|
| 16 |
+
},
|
| 17 |
+
"readiness_summary": {
|
| 18 |
+
"status": "pilot_ready_with_controls",
|
| 19 |
+
"autonomous_execution_allowed": false,
|
| 20 |
+
"human_review_required": true
|
| 21 |
+
},
|
| 22 |
+
"hash": "sha384:...",
|
| 23 |
+
"signature": {
|
| 24 |
+
"algorithm": "ed25519",
|
| 25 |
+
"key_id": "kye:key:evidence_signing_001",
|
| 26 |
+
"signature": "..."
|
| 27 |
+
},
|
| 28 |
+
"audit_chain_ref": "kye:audit:chain:0xabc123",
|
| 29 |
+
"generated_at": "2026-05-09T12:30:00Z"
|
| 30 |
+
}
|
examples/agency-drift-event.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.agency_drift_event.v1",
|
| 3 |
+
"drift_event_id": "kye:drift:001",
|
| 4 |
+
"continuity_id": "kye:continuity:001",
|
| 5 |
+
"drift_type": "intent_drift",
|
| 6 |
+
"severity": "medium",
|
| 7 |
+
"detected_at": "2026-05-06T12:04:00Z",
|
| 8 |
+
"actor_entity_id": "kye:entity:agent:shopping_agent_456",
|
| 9 |
+
"principal_entity_id": "kye:entity:person:customer_123",
|
| 10 |
+
"description": "Agent selected a subscription product despite the original constraint excluding subscriptions.",
|
| 11 |
+
"affected_dimensions": [
|
| 12 |
+
"intent_alignment",
|
| 13 |
+
"scope_alignment"
|
| 14 |
+
],
|
| 15 |
+
"original_value": {
|
| 16 |
+
"constraint": "no subscription"
|
| 17 |
+
},
|
| 18 |
+
"observed_value": {
|
| 19 |
+
"product_type": "monthly subscription"
|
| 20 |
+
},
|
| 21 |
+
"recommended_decision": "deny",
|
| 22 |
+
"recommended_obligations": [
|
| 23 |
+
"notify_principal",
|
| 24 |
+
"quarantine_purchase_request",
|
| 25 |
+
"emit_audit_event"
|
| 26 |
+
],
|
| 27 |
+
"evidence_refs": [
|
| 28 |
+
"kye:evidence:product_metadata_001",
|
| 29 |
+
"kye:evidence:intent_constraints_001"
|
| 30 |
+
]
|
| 31 |
+
}
|
examples/agent-memory-authorized-action-use.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_id": "kye.agent_memory.v1",
|
| 3 |
+
"memory_id": "kye:agent-memory:acme-payments-agent-payee-preference-2026-06-03",
|
| 4 |
+
"tenant_id": "kye:tenant:acme-bank",
|
| 5 |
+
"agent_id": "kye:agent:payments-assistant",
|
| 6 |
+
"principal_id": "kye:principal:acme-customer-daniel-okoro",
|
| 7 |
+
"conversation_id": "support-2026-06-03T09:12:00Z-daniel-okoro",
|
| 8 |
+
"memory_class": "long_term",
|
| 9 |
+
"content": {
|
| 10 |
+
"stated_preference": "Customer authorised recurring rent payment to a named payee on the 1st of each month.",
|
| 11 |
+
"payee_alias": "landlord-monthly-rent",
|
| 12 |
+
"authority_anchor": "kye:authority-grant:acme-customer-daniel-okoro-standing-instruction-2026-06"
|
| 13 |
+
},
|
| 14 |
+
"classification": "restricted",
|
| 15 |
+
"retention_until": "2031-06-03T09:12:00Z",
|
| 16 |
+
"memory_source": "human_provided",
|
| 17 |
+
"created_by": "kye:principal:acme-customer-daniel-okoro",
|
| 18 |
+
"last_verified_at": "2026-06-03T09:12:00Z",
|
| 19 |
+
"consent_basis": "explicit_consent",
|
| 20 |
+
"scope": {
|
| 21 |
+
"tenant_bound": true,
|
| 22 |
+
"principal_bound": true,
|
| 23 |
+
"cross_agent_allowed": false,
|
| 24 |
+
"cross_org_allowed": false,
|
| 25 |
+
"purpose_tags": ["standing_instruction", "payment_execution"]
|
| 26 |
+
},
|
| 27 |
+
"provenance_ref": "kye:provenance:acme-payments-agent-consent-2026-06-03",
|
| 28 |
+
"content_hash": "sha256:1a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f80a",
|
| 29 |
+
"caller_kid": "kye:kid:payments-assistant-2026-q2",
|
| 30 |
+
"created_at": "2026-06-03T09:12:14Z",
|
| 31 |
+
"superseded_at": null,
|
| 32 |
+
"superseded_by": null,
|
| 33 |
+
"conflicting_memory_ids": [],
|
| 34 |
+
"ai_specific_notice": {
|
| 35 |
+
"notice_version": "2026-06",
|
| 36 |
+
"purpose_stated": "Remember a standing payment instruction so the payments agent can execute the recurring transfer on the customer's behalf.",
|
| 37 |
+
"data_categories": ["payment_instruction", "payee_alias", "authority_grant_reference"],
|
| 38 |
+
"model_function": "autonomous-action",
|
| 39 |
+
"opt_out_route": "Cancel the standing instruction in the banking app or submit a DSAR to withdraw and erase.",
|
| 40 |
+
"notice_ref": null,
|
| 41 |
+
"served_at": "2026-06-03T09:12:09Z"
|
| 42 |
+
},
|
| 43 |
+
"withdrawal_route": {
|
| 44 |
+
"channel": "self_service",
|
| 45 |
+
"dsar_ref": null,
|
| 46 |
+
"rights_disclosure_ref": "kye:rights-disclosure:memory-authority-rail",
|
| 47 |
+
"instructions": "Cancel the standing instruction from the banking app's recurring-payments screen, or submit a DSAR for erasure."
|
| 48 |
+
},
|
| 49 |
+
"use_type": "action",
|
| 50 |
+
"use_admissibility_ref": "kye:evidence-pack:acme-payments-agent-memory-use-2026-06-03T09-30-00Z",
|
| 51 |
+
"signature_b64": "AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QA=="
|
| 52 |
+
}
|
examples/agent-memory.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_id": "kye.agent_memory.v1",
|
| 3 |
+
"memory_id": "kye:agent-memory:acme-demo-agent-prospect-context-2026-05-17",
|
| 4 |
+
"tenant_id": "kye:tenant:acme-bank",
|
| 5 |
+
"agent_id": "kye:agent:demo-agent",
|
| 6 |
+
"principal_id": "kye:principal:acme-prospect-claire-thompson",
|
| 7 |
+
"conversation_id": "demo-2026-05-17T14:00:00Z-claire-thompson",
|
| 8 |
+
"memory_class": "short_term",
|
| 9 |
+
"content": {
|
| 10 |
+
"discovered_facts": [
|
| 11 |
+
"Prospect is COO of a tier-2 European bank",
|
| 12 |
+
"Live AI agents: 3 (KYC copilot, payment fraud triage, treasury cash-position assistant)",
|
| 13 |
+
"Compliance frameworks named: EU AI Act, DORA, GDPR, FCA Operational Resilience",
|
| 14 |
+
"Open question: how does KYE handle agent-to-agent delegation?"
|
| 15 |
+
],
|
| 16 |
+
"next_action": "Walk through delegation-chain demo on slide 7; queue evidence-pack demo",
|
| 17 |
+
"scenario_replay_anchors": [
|
| 18 |
+
"kye:scenario:payment-fraud-triage-tier2-bank-2026-q2"
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
"classification": "confidential",
|
| 22 |
+
"retention_until": "2026-08-15T14:00:00Z",
|
| 23 |
+
"memory_source": "conversation",
|
| 24 |
+
"created_by": "kye:agent:demo-agent",
|
| 25 |
+
"last_verified_at": "2026-05-17T14:18:42Z",
|
| 26 |
+
"consent_basis": "legitimate_interest",
|
| 27 |
+
"scope": {
|
| 28 |
+
"tenant_bound": true,
|
| 29 |
+
"principal_bound": true,
|
| 30 |
+
"cross_agent_allowed": false,
|
| 31 |
+
"cross_org_allowed": false,
|
| 32 |
+
"purpose_tags": ["sales_demo", "onboarding_continuity"]
|
| 33 |
+
},
|
| 34 |
+
"provenance_ref": "kye:provenance:acme-demo-agent-conversation-2026-05-17",
|
| 35 |
+
"content_hash": "sha256:9f1a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8",
|
| 36 |
+
"caller_kid": "kye:kid:demo-agent-2026-q2",
|
| 37 |
+
"created_at": "2026-05-17T14:18:42Z",
|
| 38 |
+
"superseded_at": null,
|
| 39 |
+
"superseded_by": null,
|
| 40 |
+
"conflicting_memory_ids": [],
|
| 41 |
+
"ai_specific_notice": {
|
| 42 |
+
"notice_version": "2026-06",
|
| 43 |
+
"purpose_stated": "Maintain continuity of a sales-demo conversation so the agent can resume context across turns.",
|
| 44 |
+
"data_categories": ["professional_role", "stated_compliance_frameworks", "stated_open_questions"],
|
| 45 |
+
"model_function": "decision-support",
|
| 46 |
+
"opt_out_route": "Reply STOP in-conversation or contact the tenant's data-protection officer to withdraw.",
|
| 47 |
+
"notice_ref": null,
|
| 48 |
+
"served_at": "2026-05-17T14:00:05Z"
|
| 49 |
+
},
|
| 50 |
+
"withdrawal_route": {
|
| 51 |
+
"channel": "dsar",
|
| 52 |
+
"dsar_ref": "kye:dsar:acme-bank-claire-thompson-2026-05",
|
| 53 |
+
"rights_disclosure_ref": "kye:rights-disclosure:memory-authority-rail",
|
| 54 |
+
"instructions": "Submit a data-subject access / erasure request through the tenant DSAR portal to withdraw this memory."
|
| 55 |
+
},
|
| 56 |
+
"use_type": "inference",
|
| 57 |
+
"use_admissibility_ref": null,
|
| 58 |
+
"signature_b64": "AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QA=="
|
| 59 |
+
}
|
examples/ai-adoption-journey-report.json
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.ai_adoption_journey_report.v1",
|
| 3 |
+
"report_id": "kye:ai-adoption-journey:example:claims-triage-2026-q2",
|
| 4 |
+
"navigator_version": "ai-adoption-navigator/1.0.0",
|
| 5 |
+
"generated_at": "2026-06-07T09:00:00Z",
|
| 6 |
+
"organisation": {
|
| 7 |
+
"name": "Example Mutual (illustrative)",
|
| 8 |
+
"sector": "insurance-claims",
|
| 9 |
+
"jurisdiction": "uk"
|
| 10 |
+
},
|
| 11 |
+
"input": {
|
| 12 |
+
"answers": [
|
| 13 |
+
{
|
| 14 |
+
"question_id": "q-use-case",
|
| 15 |
+
"value": "decisioning"
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"question_id": "q-authority",
|
| 19 |
+
"value": "decision-support"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"question_id": "q-reversibility",
|
| 23 |
+
"value": "recoverable"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"question_id": "q-data-sensitivity",
|
| 27 |
+
"value": "personal"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"question_id": "q-regulated-domain",
|
| 31 |
+
"value": "sector-heavy"
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"question_id": "q-affects-people",
|
| 35 |
+
"value": "direct"
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"question_id": "q-autonomy-scope",
|
| 39 |
+
"value": "bounded"
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"question_id": "q-oversight-readiness",
|
| 43 |
+
"value": "sampled"
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"question_id": "q-value",
|
| 47 |
+
"value": "high"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"question_id": "q-evidence-need",
|
| 51 |
+
"value": "regulatory"
|
| 52 |
+
}
|
| 53 |
+
]
|
| 54 |
+
},
|
| 55 |
+
"scored": {
|
| 56 |
+
"use_case_category": "decision_support",
|
| 57 |
+
"authority_overlay": "decision-support",
|
| 58 |
+
"conformance_level": "L2",
|
| 59 |
+
"authority_complexity_score": 56,
|
| 60 |
+
"risk_tier": "high",
|
| 61 |
+
"oversight_mode": "human-over-the-loop",
|
| 62 |
+
"value_signal": "high",
|
| 63 |
+
"impact_risk_quadrant": "govern-first"
|
| 64 |
+
},
|
| 65 |
+
"recommended_pilot": {
|
| 66 |
+
"title": "Controls-first pilot: decision support",
|
| 67 |
+
"rationale": "High value but high unmanaged-authority risk — adopt only once the required controls are in place. Stand up the controls, then pilot.",
|
| 68 |
+
"engagement_sku_hint": "KYE-NAVIGATOR-DIAGNOSTIC-001"
|
| 69 |
+
},
|
| 70 |
+
"required_controls": [
|
| 71 |
+
{
|
| 72 |
+
"control": "Purpose & scope check at the action boundary (Purpose Permission™)",
|
| 73 |
+
"why": "Bind every consequential action to a declared purpose before it runs (§12)."
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"control": "Evidence Pack™ sealed per consequential action",
|
| 77 |
+
"why": "Make every decision replay-provable for audit, regulator, or dispute (§13)."
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"control": "Human oversight envelope (in-/over-the-loop) sized to the risk tier",
|
| 81 |
+
"why": "Match human control to the authority the AI holds (§36 GovernedUI)."
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"control": "Data-use minimisation + access controls on the data it touches",
|
| 85 |
+
"why": "Govern personal / special-category data at the moment of use (§31)."
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"control": "Regulatory-obligation mapping for the decision domain",
|
| 89 |
+
"why": "Identify which obligations bind this use before it goes live (an abstract role you will also need)."
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"control": "Controls-architecture pass from obligations to enforced controls",
|
| 93 |
+
"why": "Translate obligations into the concrete controls your architecture must enforce (an abstract role you will also need)."
|
| 94 |
+
}
|
| 95 |
+
],
|
| 96 |
+
"evidence_pack_ref": "kye:evidence-pack:ai-adoption-journey:claims-triage:2026-q2",
|
| 97 |
+
"seal": {
|
| 98 |
+
"jwks_kid": "kye:key:self-audit-fixture-2026-05",
|
| 99 |
+
"signature_alg": "EdDSA",
|
| 100 |
+
"signature": "xStJ1kEBPgHPuyVEsuiFxpvfXQ5ShCIHrlw7X+RykIffK/B+zYoCFxvGGUkSqGohUjmwOFq7rEGTTvWy9TIHCA=="
|
| 101 |
+
},
|
| 102 |
+
"public_key_ref": "https://kyeprotocol.com/trust/self-audit-jwks.json",
|
| 103 |
+
"attestation": {
|
| 104 |
+
"frameworks": [
|
| 105 |
+
"EU_AI_ACT",
|
| 106 |
+
"UK_GDPR",
|
| 107 |
+
"FCA_CONSUMER_DUTY"
|
| 108 |
+
],
|
| 109 |
+
"control_id": "constitution/13-RESILIENCE-LOOP.md"
|
| 110 |
+
},
|
| 111 |
+
"status": "sealed"
|
| 112 |
+
}
|
examples/approval-requirement.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"approval_requirement_id": "kye:apr:acme.example:01JYAPR0000000000000000000",
|
| 3 |
+
"applies_to_action": "payment.initiate",
|
| 4 |
+
"threshold_minor": 10000,
|
| 5 |
+
"currency": "GBP",
|
| 6 |
+
"approval_type": "dual",
|
| 7 |
+
"approver_roles": ["finance_manager", "controller"],
|
| 8 |
+
"status": "active"
|
| 9 |
+
}
|
examples/assurance-card-profile.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.assurance_card_profile.v1",
|
| 3 |
+
"profile_id": "kye:profile:assurance_card",
|
| 4 |
+
"display_name": "KYE Assurance Card Profile™",
|
| 5 |
+
"category": "lifecycle_assurance",
|
| 6 |
+
"version": "1.0.0",
|
| 7 |
+
"description": "Lifecycle assurance layer that turns KYE™ runtime evidence into a living assurance record per delegated entity.",
|
| 8 |
+
"required_kye_profiles": [
|
| 9 |
+
"kye.core.v1", "kye.authority.v1", "kye.capability.v1",
|
| 10 |
+
"kye.state.v1", "kye.evidence.v1", "kye.operating_model.v1"
|
| 11 |
+
],
|
| 12 |
+
"recommended_kye_profiles": [
|
| 13 |
+
"kye.discoverability.v1", "kye.continuity.v1", "kye.ontology.v1"
|
| 14 |
+
],
|
| 15 |
+
"required_objects": [
|
| 16 |
+
"KYEAssuranceCard", "KYEHumanInvolvementPlan", "KYEProvenanceEvidence",
|
| 17 |
+
"KYEAssuranceReviewCycle", "KYEDecommissioningPlan"
|
| 18 |
+
],
|
| 19 |
+
"lifecycle_stages": [
|
| 20 |
+
"design", "pilot", "deploy", "monitor", "incident_review",
|
| 21 |
+
"scope_change_review", "retention_review", "decommission"
|
| 22 |
+
],
|
| 23 |
+
"status": "active",
|
| 24 |
+
"created_at": "2026-05-09T00:00:00Z"
|
| 25 |
+
}
|
examples/assurance-card.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.assurance_card.v1",
|
| 3 |
+
"assurance_card_id": "kye:assurance-card:finance_agent_001",
|
| 4 |
+
"subject_entity_id": "kye:agent:finance_agent_001",
|
| 5 |
+
"subject_type": "ai_agent",
|
| 6 |
+
"display_name": "Finance Payment Preparation Agent",
|
| 7 |
+
"owner_entity_id": "kye:user:finance_owner_001",
|
| 8 |
+
"accountable_entity_id": "kye:org:acme_ltd",
|
| 9 |
+
"lifecycle_state": "pilot",
|
| 10 |
+
"risk_tier": "high",
|
| 11 |
+
"intended_use": {
|
| 12 |
+
"summary": "Prepare supplier payments and reconcile invoices for human approval.",
|
| 13 |
+
"permitted_uses": ["invoice.read", "payment.prepare", "supplier.notify"],
|
| 14 |
+
"prohibited_uses": ["payment.execute", "contract.sign", "credential.rotate"]
|
| 15 |
+
},
|
| 16 |
+
"authority_model": {
|
| 17 |
+
"entity_authority_record_ref": "kye:authority-record:finance_agent_001",
|
| 18 |
+
"authority_grants": ["kye:authority:grant:payment_prepare_001"],
|
| 19 |
+
"required_gates": ["kye:gate:payment_execute", "kye:gate:external_send"],
|
| 20 |
+
"commit_boundaries": ["kye:commit-boundary:payment_execution"]
|
| 21 |
+
},
|
| 22 |
+
"human_involvement": {
|
| 23 |
+
"human_involvement_plan_ref": "kye:human-involvement-plan:finance_payment_high_risk",
|
| 24 |
+
"review_path_ref": "kye:review-path:finance_payment_high_risk",
|
| 25 |
+
"human_approval_required": true,
|
| 26 |
+
"approval_thresholds": [
|
| 27 |
+
{
|
| 28 |
+
"capability": "payment.prepare",
|
| 29 |
+
"requires_review_above": { "value": 1000, "currency": "GBP" }
|
| 30 |
+
}
|
| 31 |
+
]
|
| 32 |
+
},
|
| 33 |
+
"provenance": {
|
| 34 |
+
"provenance_evidence_ref": "kye:provenance:finance_agent_001",
|
| 35 |
+
"model_refs": [],
|
| 36 |
+
"dataset_refs": [],
|
| 37 |
+
"tool_refs": ["kye:tool:invoice_parser", "kye:tool:banking_api_adapter"],
|
| 38 |
+
"supplier_refs": [],
|
| 39 |
+
"licensing_refs": []
|
| 40 |
+
},
|
| 41 |
+
"performance_and_limitations": {
|
| 42 |
+
"known_limitations": [
|
| 43 |
+
"Cannot execute payments",
|
| 44 |
+
"Requires human review for new beneficiaries"
|
| 45 |
+
],
|
| 46 |
+
"evaluation_refs": ["kye:evaluation:finance_agent_eval_001"]
|
| 47 |
+
},
|
| 48 |
+
"evidence": {
|
| 49 |
+
"evidence_pack_refs": [
|
| 50 |
+
"kye:evidence-pack:readiness_001",
|
| 51 |
+
"kye:evidence-pack:pilot_decision_001"
|
| 52 |
+
],
|
| 53 |
+
"decision_map_refs": ["kye:decision-map:finance_agent_001"],
|
| 54 |
+
"audit_refs": ["kye:audit:finance_agent_001"],
|
| 55 |
+
"adoption_evidence_pack_refs": ["kye:evidence-pack:adoption_001"]
|
| 56 |
+
},
|
| 57 |
+
"review": {
|
| 58 |
+
"review_cycle_ref": "kye:assurance-review-cycle:finance_agent_001",
|
| 59 |
+
"last_reviewed_at": "2026-05-09T12:00:00Z",
|
| 60 |
+
"next_review_due": "2026-06-09T12:00:00Z",
|
| 61 |
+
"review_frequency": "monthly",
|
| 62 |
+
"review_triggers": [
|
| 63 |
+
"scope_change", "new_capability", "incident",
|
| 64 |
+
"risk_state_change", "model_update", "authority_change"
|
| 65 |
+
]
|
| 66 |
+
},
|
| 67 |
+
"decommissioning": {
|
| 68 |
+
"required": true,
|
| 69 |
+
"plan_ref": "kye:decommissioning-plan:finance_agent_001"
|
| 70 |
+
},
|
| 71 |
+
"status": "published",
|
| 72 |
+
"audit_chain_ref": "kye:audit:chain:0xabc123",
|
| 73 |
+
"created_at": "2026-05-09T12:00:00Z",
|
| 74 |
+
"updated_at": "2026-05-09T12:00:00Z"
|
| 75 |
+
}
|
examples/assurance-review-cycle.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.assurance_review_cycle.v1",
|
| 3 |
+
"cycle_id": "kye:assurance-review-cycle:finance_agent_001",
|
| 4 |
+
"assurance_card_ref": "kye:assurance-card:finance_agent_001",
|
| 5 |
+
"scheduled_frequency": "monthly",
|
| 6 |
+
"next_review_due": "2026-06-09T12:00:00Z",
|
| 7 |
+
"review_triggers": [
|
| 8 |
+
"scheduled", "scope_change", "new_capability", "incident",
|
| 9 |
+
"risk_state_change", "model_update", "authority_change",
|
| 10 |
+
"supplier_change", "licence_change", "retention"
|
| 11 |
+
],
|
| 12 |
+
"reviewer_roles": ["ai_governance_lead", "finance_manager", "security_admin"],
|
| 13 |
+
"evidence_captured_per_review": [
|
| 14 |
+
"reviewer_identity", "decision", "reason_code", "timestamp",
|
| 15 |
+
"state_snapshot", "decision_map", "evidence_pack"
|
| 16 |
+
],
|
| 17 |
+
"completed_reviews": [
|
| 18 |
+
{
|
| 19 |
+
"review_id": "kye:review:001",
|
| 20 |
+
"reviewed_at": "2026-05-09T12:00:00Z",
|
| 21 |
+
"trigger": "scheduled",
|
| 22 |
+
"reviewer_role": "ai_governance_lead",
|
| 23 |
+
"outcome": "approved",
|
| 24 |
+
"reason_code": "pilot_ready_with_controls",
|
| 25 |
+
"evidence_ref": "kye:evidence-pack:review_001"
|
| 26 |
+
}
|
| 27 |
+
],
|
| 28 |
+
"status": "active",
|
| 29 |
+
"audit_chain_ref": "kye:audit:chain:0xdef789"
|
| 30 |
+
}
|
examples/attestation.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attestation_id": "kye:att:acme.example:workload_attestation:01JYATT0000000000000000",
|
| 3 |
+
"entity_id": "kye:ent:acme.example:workload:01JYWORKLOAD0000000000000",
|
| 4 |
+
"attestation_type": "workload_attestation",
|
| 5 |
+
"spiffe_id": "spiffe://acme.example/workload/finance/procurement-agent",
|
| 6 |
+
"svid_type": "jwt-svid",
|
| 7 |
+
"selector_set": [
|
| 8 |
+
"k8s:ns:finance",
|
| 9 |
+
"k8s:sa:procurement-agent",
|
| 10 |
+
"image:digest:sha256:abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789"
|
| 11 |
+
],
|
| 12 |
+
"container_digest": "sha256:abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789",
|
| 13 |
+
"build_provenance_hash": "sha256:cafe00000000000000000000000000000000000000000000000000000000000a",
|
| 14 |
+
"issuer_entity_id": "kye:ent:acme.example:workload_issuer:01JYWLISS0000000000000000",
|
| 15 |
+
"status": "valid",
|
| 16 |
+
"issued_at": "2026-04-15T12:00:00Z",
|
| 17 |
+
"expires_at": "2026-04-15T13:00:00Z"
|
| 18 |
+
}
|
examples/audit-event-v1-1.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "kye.audit.event.v1",
|
| 3 |
+
"event_id": "01abefa6-7c8d-4e2f-9a3b-1d4e5f6a7b80",
|
| 4 |
+
"chain_id": "kye:audit:chain:tenant:acme-bank:01HVK3M2NPQR8XW7TZAC9F5D2E",
|
| 5 |
+
"previous_anchor": "sha256:8e6c0a3b7e1f4d9a2c5b6e8f1d0a3b7e1f4d9a2c5b6e8f1d0a3b7e1f4d9a2c5b",
|
| 6 |
+
"current_anchor": "sha256:1f4d9a2c5b6e8f1d0a3b7e1f4d9a2c5b6e8f1d0a3b7e1f4d9a2c5b6e8f1d0a3b",
|
| 7 |
+
"actor_id": "kye:agent:prod:gateway-worker:7c2d",
|
| 8 |
+
"actor_kind": "agent",
|
| 9 |
+
"tenant_id": "kye:tenant:prod:acme-bank",
|
| 10 |
+
"action_kind": "audit_event",
|
| 11 |
+
"target_system": "kye-audit-chain",
|
| 12 |
+
"payload_hash": "sha256:a3b7e1f4d9a2c5b6e8f1d0a3b7e1f4d9a2c5b6e8f1d0a3b7e1f4d9a2c5b6e8f1",
|
| 13 |
+
"verdict": "appended",
|
| 14 |
+
"emitted_at": "2026-05-19T12:34:56.789Z",
|
| 15 |
+
"evidence_pack_ref": "https://kyeprotocol.com/v1/evidence/packs/01HVK3M2NPQR8XW7TZAC9F5D2E",
|
| 16 |
+
"decision_map_ref": "https://kyeprotocol.com/v1/decision-maps/01HVK3M2NPQR8XW7TZAC9F5D2E",
|
| 17 |
+
"constitution_refs": ["00-INDEX §0.3", "21-DELEGATED-AUDITABILITY", "30-AUDIT-WORM-RETENTION"],
|
| 18 |
+
"framework_refs": ["dora-art-28", "sr-11-7", "eu-ai-act-art-15", "gdpr", "iso-27001"],
|
| 19 |
+
"signature_alg": "ed25519",
|
| 20 |
+
"signature_kid": "kye:key:prod:audit-signer:2026-05",
|
| 21 |
+
"signature_value_b64": "MEUCIQDgXJyL0qF8xN2k3J9pV6tR1mWqEzH7sB4cD6vN8yA3KwIgZmKpL5rN9oS3xT2vU8wXyZ1qR4hP7nM5eD0aF6cB8gE"
|
| 22 |
+
}
|
examples/audit-event.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audit_event_id": "kye:aud:acme.example:01JYAUD0000000000000000000",
|
| 3 |
+
"event_type": "runtime.authorized",
|
| 4 |
+
"entity_refs": [
|
| 5 |
+
"kye:ent:acme.example:ai_agent:01JY3J1D4E5A7K3JQFK4E0Q1XZ",
|
| 6 |
+
"kye:ent:acme.example:business:01JYACME000000000000000000",
|
| 7 |
+
"kye:ent:acme.example:document_template:01JYTPL0000000000000000000"
|
| 8 |
+
],
|
| 9 |
+
"runtime_event_id": "kye:rte:acme.example:01JYRTE0000000000000000000",
|
| 10 |
+
"policy_decision_id": "kye:pdc:acme.example:01JYPDC0000000000000000000",
|
| 11 |
+
"delegation_id": "kye:del:acme.example:01JYABC0000000000000000000",
|
| 12 |
+
"causation_id": "trc_01JYTRC",
|
| 13 |
+
"correlation_id": "cor_01JYCOR",
|
| 14 |
+
"event_sequence": 41423,
|
| 15 |
+
"occurred_at": "2026-04-15T12:30:01Z",
|
| 16 |
+
"observed_at": "2026-04-15T12:30:01Z",
|
| 17 |
+
"recorded_at": "2026-04-15T12:30:01Z",
|
| 18 |
+
"previous_event_hash": "sha256:0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a",
|
| 19 |
+
"event_hash": "sha256:b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1",
|
| 20 |
+
"signature": "jws:eyJhbGciOiJFUzI1NiJ9.<elided>"
|
| 21 |
+
}
|
examples/audit-integrity-check.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.audit_integrity_check.v1",
|
| 3 |
+
"check_id": "kye:audit-check:acme.example:001",
|
| 4 |
+
"period": {
|
| 5 |
+
"from": "2026-05-01T00:00:00Z",
|
| 6 |
+
"to": "2026-05-06T00:00:00Z"
|
| 7 |
+
},
|
| 8 |
+
"events_checked": 18420,
|
| 9 |
+
"hash_chain_status": "valid",
|
| 10 |
+
"orphan_events": 0,
|
| 11 |
+
"missing_reason_codes": 0,
|
| 12 |
+
"missing_evidence_refs": 3,
|
| 13 |
+
"result": "passed_with_warnings",
|
| 14 |
+
"details": [
|
| 15 |
+
{ "kind": "missing_evidence_ref", "audit_event_id": "kye:audit:acme.example:evt_92814", "reason_code": "evidence_completeness_check_pending" }
|
| 16 |
+
]
|
| 17 |
+
}
|
examples/authority-discovery-manifest.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.authority_discovery_manifest.v1",
|
| 3 |
+
"manifest_id": "kye:registry:authority-discovery",
|
| 4 |
+
"display_name": "KYE Authority Discovery™ — assessment spec",
|
| 5 |
+
"version": "1.0.0",
|
| 6 |
+
"adopted_at": "2026-06-11",
|
| 7 |
+
"constitution_ref": "constitution/39-LEARN-RAIL.md + constitution/68-SECTOR-PRODUCT-RAIL.md",
|
| 8 |
+
"description": "Illustrative instance: the four authority-sprawl scores computed across an actor estate. Inventory only — Authority Discovery never enforces.",
|
| 9 |
+
"scores": ["authority-sprawl-score", "delegation-risk-score", "jurisdiction-exposure-score", "evidence-gap-score"],
|
| 10 |
+
"actor_classes": ["employee", "contractor", "agent", "copilot", "rag-system", "vendor", "workflow", "external-api"],
|
| 11 |
+
"sprawl_findings": ["orphaned-authority", "expired-authority", "over-broad-grant", "cross-border-unrailed", "evidence-absent"],
|
| 12 |
+
"skus": ["KYE-AUTHDISC-FREE-001"]
|
| 13 |
+
}
|
examples/authority-gate.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.authority_gate.v1",
|
| 3 |
+
"gate_id": "kye:gate:payment_execute",
|
| 4 |
+
"display_name": "Payment Execution Gate",
|
| 5 |
+
"gate_type": "payment_execution",
|
| 6 |
+
"description": "Runtime gate before a prepared payment becomes an executed payment.",
|
| 7 |
+
"applies_to_capabilities": [
|
| 8 |
+
"payment.execute",
|
| 9 |
+
"open_banking.payment_initiate",
|
| 10 |
+
"card_purchase.confirm"
|
| 11 |
+
],
|
| 12 |
+
"risk_level": "high",
|
| 13 |
+
"trigger_conditions": {
|
| 14 |
+
"side_effect_level": "move_money",
|
| 15 |
+
"environment": "production",
|
| 16 |
+
"amount_threshold": { "value": 0, "currency": "GBP" }
|
| 17 |
+
},
|
| 18 |
+
"decision_policy": {
|
| 19 |
+
"default_decision": "require_approval",
|
| 20 |
+
"allowed_decisions": ["allow", "deny", "require_approval", "require_step_up", "quarantine"]
|
| 21 |
+
},
|
| 22 |
+
"required_checks": [
|
| 23 |
+
"actor_identity",
|
| 24 |
+
"principal_authority",
|
| 25 |
+
"authority_grant",
|
| 26 |
+
"scope",
|
| 27 |
+
"state",
|
| 28 |
+
"continuity",
|
| 29 |
+
"evidence"
|
| 30 |
+
],
|
| 31 |
+
"required_evidence": [
|
| 32 |
+
"decision_map",
|
| 33 |
+
"state_snapshot",
|
| 34 |
+
"authority_grant",
|
| 35 |
+
"payload_hash",
|
| 36 |
+
"approval_event",
|
| 37 |
+
"evidence_pack"
|
| 38 |
+
],
|
| 39 |
+
"signal_events": [
|
| 40 |
+
"kye.authority_gate.triggered",
|
| 41 |
+
"kye.decision.requires_approval",
|
| 42 |
+
"kye.evidence_pack.generated"
|
| 43 |
+
],
|
| 44 |
+
"status": "active"
|
| 45 |
+
}
|
examples/authority-path-discovery.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.authority_path_discovery.v1",
|
| 3 |
+
"path_id": "kye:authority-path:001",
|
| 4 |
+
"actor_entity_id": "kye:agent:finance_agent_001",
|
| 5 |
+
"principal_entity_id": "kye:org:acme_ltd",
|
| 6 |
+
"requested_action": "payment.prepare",
|
| 7 |
+
"capability_id": "kye:capability:payment.prepare",
|
| 8 |
+
"path": [
|
| 9 |
+
{ "node_type": "principal", "ref": "kye:org:acme_ltd" },
|
| 10 |
+
{ "node_type": "delegation", "ref": "kye:delegation:finance_team_to_agent" },
|
| 11 |
+
{ "node_type": "actor", "ref": "kye:agent:finance_agent_001" },
|
| 12 |
+
{ "node_type": "capability", "ref": "kye:capability:payment.prepare" },
|
| 13 |
+
{ "node_type": "authority_grant", "ref": "kye:authority:grant:payment_prepare_001" }
|
| 14 |
+
],
|
| 15 |
+
"path_state": "valid",
|
| 16 |
+
"risk_summary": {
|
| 17 |
+
"risk_state": "elevated",
|
| 18 |
+
"warnings": ["authority_expires_within_7_days"]
|
| 19 |
+
},
|
| 20 |
+
"evidence_refs": ["kye:evidence-pack:authority_path_001"]
|
| 21 |
+
}
|
examples/badge.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.badge.v1",
|
| 3 |
+
"badge_id": "kye:badge:authority-conformant:acme.example:agent-runtime-2.4.1",
|
| 4 |
+
"level": "kye_authority_conformant",
|
| 5 |
+
"label": "KYE Authority Conformant™",
|
| 6 |
+
"product_name": "Acme Agent Runtime",
|
| 7 |
+
"product_version": "2.4.1",
|
| 8 |
+
"organisation_entity_id": "kye:org:acme.example",
|
| 9 |
+
"certification_id": "kye:cert:authority:acme.example:agent-runtime-2.4.1:2026",
|
| 10 |
+
"protocol_version": "kye.core.v1.0",
|
| 11 |
+
"profiles": [
|
| 12 |
+
"kye.core.v1.0",
|
| 13 |
+
"kye.authority.v1.0",
|
| 14 |
+
"kye.capability.v1.0"
|
| 15 |
+
],
|
| 16 |
+
"issued_at": "2026-05-06T00:00:00Z",
|
| 17 |
+
"expires_at": "2027-05-06T00:00:00Z",
|
| 18 |
+
"status": "valid",
|
| 19 |
+
"badge_svg_url": "https://registry.kye.dev/badges/kye-cert-authority-acme-agent-runtime-2-4-1.svg",
|
| 20 |
+
"verification_url": "https://registry.kye.dev/badges/kye-cert-authority-acme-agent-runtime-2-4-1/verify",
|
| 21 |
+
"registry_listing_url":"https://registry.kye.dev/certifications/acme-agent-runtime-2-4-1"
|
| 22 |
+
}
|
examples/beneficiary.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"beneficiary_id": "kye:ent:acme.example:beneficiary:01JYBEN000000000000000000",
|
| 3 |
+
"entity_id": "kye:ent:acme.example:beneficiary:01JYBEN000000000000000000",
|
| 4 |
+
"beneficiary_class": "vendor",
|
| 5 |
+
"approval_status": "approved",
|
| 6 |
+
"jurisdiction": "GB",
|
| 7 |
+
"rail_types": ["bank_transfer"],
|
| 8 |
+
"bank_account_reference_entity_id": "kye:ent:acme.example:bank_account_reference:01JYBAR0000000000000"
|
| 9 |
+
}
|
examples/break-glass-grant.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://kyeprotocol.com/schemas/break-glass-grant.json",
|
| 3 |
+
"grant_id": "kye:bg_grant:custody.acme.eu:01HX7K2P9D5T6V3M8N4Q1Y8R2W",
|
| 4 |
+
"actor_entity_id": "kye:human:custody.acme.eu:on_call:lead-001",
|
| 5 |
+
"scope_id": "kye:scope:custody.acme.eu:recovery:read_evidence_freeze_positions_rekey",
|
| 6 |
+
"reason_code": "recovery.break_glass_required",
|
| 7 |
+
"justification_text": "02:14 UTC anomaly detector flagged unusual signing pattern from trading agent kye:agent:custody.acme.eu:desk-a:signer; on-call lead Maria Roussel granted break-glass to read evidence, freeze positions, and rotate keys before the next settlement cycle.",
|
| 8 |
+
"approvers": [
|
| 9 |
+
"kye:human:custody.acme.eu:head_of_custody:director-001",
|
| 10 |
+
"kye:human:custody.acme.eu:soc_lead:lead-002"
|
| 11 |
+
],
|
| 12 |
+
"valid_from": "2026-05-04T02:18:00Z",
|
| 13 |
+
"valid_until": "2026-05-04T06:18:00Z",
|
| 14 |
+
"max_duration_minutes": 240,
|
| 15 |
+
"issued_by": "kye:trust_domain:custody.acme.eu",
|
| 16 |
+
"post_hoc_review_required": true,
|
| 17 |
+
"post_hoc_review_deadline": "2026-05-11T06:18:00Z",
|
| 18 |
+
"evidence_pack_id": "kye:evidence-pack:custody.acme.eu:break_glass_2026-05-04_001"
|
| 19 |
+
}
|
examples/capability-grant.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"grant_id": "kye:grant:capability:01JYGRANT",
|
| 3 |
+
"actor_entity_id": "kye:ent:acme.example:ai_agent:01JYAGENT",
|
| 4 |
+
"principal_entity_id": "kye:ent:acme.example:business:01JYACME",
|
| 5 |
+
"capability_id": "kye:capability:skill:invoice-reconciliation",
|
| 6 |
+
"allowed_versions": ["1.2.x"],
|
| 7 |
+
"allowed_actions": ["invoice.read", "invoice.reconcile.prepare"],
|
| 8 |
+
"allowed_environments": ["prod"],
|
| 9 |
+
"limits": {
|
| 10 |
+
"max_records_per_run": 500,
|
| 11 |
+
"requires_approval_above": { "amount": 1000, "currency": "GBP" }
|
| 12 |
+
},
|
| 13 |
+
"conditions": {
|
| 14 |
+
"capability_state_must_be": ["active", "limited"],
|
| 15 |
+
"quality_state_must_be": ["passed", "passed_with_warnings"],
|
| 16 |
+
"risk_state_max": "medium",
|
| 17 |
+
"signature_required": true,
|
| 18 |
+
"human_approval_required": false
|
| 19 |
+
},
|
| 20 |
+
"valid_from": "2026-05-05T00:00:00Z",
|
| 21 |
+
"valid_until": "2026-12-31T23:59:59Z",
|
| 22 |
+
"state": "active",
|
| 23 |
+
"issued_by": "kye:ent:acme.example:person:01JYSECADMIN"
|
| 24 |
+
}
|
examples/capability-invocation.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://kyeprotocol.com/schemas/capability-invocation.json",
|
| 3 |
+
"request_id": "req-01HXY7Q8CAPABILITY00INVOCATION0001",
|
| 4 |
+
"decision": "allow",
|
| 5 |
+
"decision_id": "kye:decision:acme.example:01HXY7Q800CAPDEC0000000000000001",
|
| 6 |
+
"reason_code": "scope.intersection.match",
|
| 7 |
+
"actor_entity_id": "kye:ent:acme.example:ai_agent:fx-router",
|
| 8 |
+
"principal_entity_id": "kye:ent:acme.example:business:treasury-ops",
|
| 9 |
+
"capability_id": "kye:capability:acme.example:treasury:fx-quote-request",
|
| 10 |
+
"capability_version": "v1.2.0",
|
| 11 |
+
"matched_grant_id": "kye:capability_grant:acme.example:01HXY7Q800GRANT00000000000000001",
|
| 12 |
+
"matched_policy_ids": [
|
| 13 |
+
"kye:pol:acme.example:treasury-fx-quote-policy:v3"
|
| 14 |
+
],
|
| 15 |
+
"obligations": [
|
| 16 |
+
{ "type": "audit.emit", "value": "decision_id" },
|
| 17 |
+
{ "type": "evidence.attach", "value": "quote-payload" },
|
| 18 |
+
{ "type": "rate_limit.apply", "value": "per-actor:60/min" }
|
| 19 |
+
],
|
| 20 |
+
"decided_at": "2026-05-07T08:31:14.012Z"
|
| 21 |
+
}
|
examples/capability-manifest.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"capability_id": "kye:cap:acme.example:playbook:01JYCAP000000000000000XZ",
|
| 3 |
+
"capability_kind": "playbook",
|
| 4 |
+
"name": "credit-decisioning-v2",
|
| 5 |
+
"version": "2.4.1",
|
| 6 |
+
"owner_entity_id": "kye:ent:acme.example:business:acme-credit",
|
| 7 |
+
"permitted_actions": ["credit.evaluate", "credit.recommend"],
|
| 8 |
+
"side_effect_level": "medium",
|
| 9 |
+
"data_classes_touched": ["pii.full_name", "pii.gov_id", "credit.score"],
|
| 10 |
+
"risk_classification": "high",
|
| 11 |
+
"ai_system_id": "kye:ent:acme.example:ai_system:01JYAI0000000000000000XZ",
|
| 12 |
+
"annex_iii_use_cases": ["5b-credit_scoring"],
|
| 13 |
+
"human_oversight_required": true,
|
| 14 |
+
"transparency_disclosure_required": true,
|
| 15 |
+
"approval_state": "approved",
|
| 16 |
+
"sampling_budget": {
|
| 17 |
+
"max_messages_per_invocation": 16,
|
| 18 |
+
"max_tokens_per_message": 4096,
|
| 19 |
+
"max_tokens_per_invocation": 32768,
|
| 20 |
+
"allowed_model_profiles": ["kye:cap:acme.example:model_profile:gpt-credit-v2"]
|
| 21 |
+
},
|
| 22 |
+
"dependencies": [
|
| 23 |
+
{ "capability_id": "kye:cap:acme.example:tool:01JY...", "version_min": "1.2.0" },
|
| 24 |
+
{ "capability_id": "kye:cap:acme.example:mcp_tool:01JZ...", "version_pin": "0.4.1" }
|
| 25 |
+
],
|
| 26 |
+
"supply_chain": {
|
| 27 |
+
"issuer_entity_id": "kye:ent:acme.example:business:acme-credit",
|
| 28 |
+
"build_provenance_attestation_id": "kye:att:acme.example:01JYATT000000000000000XZ",
|
| 29 |
+
"source_repository": "https://github.com/acme/credit-decisioning",
|
| 30 |
+
"kye_sbom_hash": "kye:sbom:acme.example:01JYSBM000000000000000XZ"
|
| 31 |
+
},
|
| 32 |
+
"documentation_urls": ["https://acme.example/playbooks/credit-decisioning"],
|
| 33 |
+
"purpose_binding_ref": "kye:grant:acme.example:01JYGRT000000000000000XZ",
|
| 34 |
+
"finality_boundary": "recommendation",
|
| 35 |
+
"evidence_requirement": {
|
| 36 |
+
"evidence_pack_required": true,
|
| 37 |
+
"sealed_fields": ["tool_calls", "mcp_servers_called", "scope_touched", "decision_code", "finality_reached"],
|
| 38 |
+
"replay_verifiable": true
|
| 39 |
+
},
|
| 40 |
+
"revocation": {
|
| 41 |
+
"expires_at": "2027-01-01T00:00:00Z",
|
| 42 |
+
"suspendable": true,
|
| 43 |
+
"revocation_state": "active"
|
| 44 |
+
}
|
| 45 |
+
}
|
examples/capability.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"capability_id": "kye:capability:skill:invoice-reconciliation",
|
| 3 |
+
"entity_type": "capability",
|
| 4 |
+
"capability_type": "skill",
|
| 5 |
+
"name": "invoice-reconciliation",
|
| 6 |
+
"display_name": "Invoice Reconciliation",
|
| 7 |
+
"description": "Reconciles supplier invoices against purchase orders and payment records.",
|
| 8 |
+
"namespace": "acme.finance",
|
| 9 |
+
"issuer": {
|
| 10 |
+
"issuer_entity_id": "kye:ent:acme.example:business:01JYACME",
|
| 11 |
+
"issuer_type": "organisation",
|
| 12 |
+
"maintainer_entity_ids": ["kye:ent:acme.example:person:01JYPLATFORM"]
|
| 13 |
+
},
|
| 14 |
+
"version": {
|
| 15 |
+
"version_id": "kye:capability_version:invoice-reconciliation:1.2.3",
|
| 16 |
+
"semver": "1.2.3",
|
| 17 |
+
"release_channel": "production",
|
| 18 |
+
"published_at": "2026-05-05T10:00:00Z"
|
| 19 |
+
},
|
| 20 |
+
"state": {
|
| 21 |
+
"capability_state": "active",
|
| 22 |
+
"quality_state": "passed",
|
| 23 |
+
"risk_state": "medium",
|
| 24 |
+
"approval_state": "approved"
|
| 25 |
+
},
|
| 26 |
+
"scope": {
|
| 27 |
+
"allowed_actor_entity_types": ["ai_agent", "service_account"],
|
| 28 |
+
"allowed_environments": ["stage", "prod"],
|
| 29 |
+
"allowed_actions": ["invoice.read", "invoice.classify", "invoice.reconcile.prepare"],
|
| 30 |
+
"prohibited_actions": ["payment.execute"],
|
| 31 |
+
"data_classes": ["financial_data"],
|
| 32 |
+
"max_side_effect_level": "prepare_only",
|
| 33 |
+
"requires_human_approval_above": { "amount": 1000, "currency": "GBP" }
|
| 34 |
+
},
|
| 35 |
+
"integrity": {
|
| 36 |
+
"content_hash": "sha256:abcdef0123456789",
|
| 37 |
+
"manifest_hash": "sha256:fedcba9876543210",
|
| 38 |
+
"signature_required": true,
|
| 39 |
+
"signature_ref": "kye:signature:01JYSIG",
|
| 40 |
+
"supply_chain_state": "verified"
|
| 41 |
+
},
|
| 42 |
+
"runtime": {
|
| 43 |
+
"runtime_type": "agent_skill",
|
| 44 |
+
"execution_mode": "sandboxed",
|
| 45 |
+
"requires_network": false,
|
| 46 |
+
"requires_credentials": false,
|
| 47 |
+
"timeout_ms": 30000,
|
| 48 |
+
"idempotency_required": true
|
| 49 |
+
},
|
| 50 |
+
"audit": {
|
| 51 |
+
"created_at": "2026-05-05T09:00:00Z",
|
| 52 |
+
"updated_at": "2026-05-05T10:00:00Z",
|
| 53 |
+
"audit_hash": "sha384:0011223344"
|
| 54 |
+
}
|
| 55 |
+
}
|
examples/certification-record.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.certification_record.v1",
|
| 3 |
+
"certification_id": "kye:cert:authority:acme.example:agent-runtime-2.4.1:2026",
|
| 4 |
+
"organisation_entity_id": "kye:org:acme.example",
|
| 5 |
+
"product_name": "Acme Agent Runtime",
|
| 6 |
+
"product_version": "2.4.1",
|
| 7 |
+
"certification_level": "kye_authority_conformant",
|
| 8 |
+
"profiles": [
|
| 9 |
+
"kye.core.v1.0",
|
| 10 |
+
"kye.authority.v1.0",
|
| 11 |
+
"kye.capability.v1.0"
|
| 12 |
+
],
|
| 13 |
+
"protocol_version": "kye.core.v1.0",
|
| 14 |
+
"test_suite_version": "kye-conformance-1.0.0",
|
| 15 |
+
"conformance_run_ref": "kye:conformance-run:acme.example:001",
|
| 16 |
+
"evidence_pack_ref": "kye:evidence-pack:acme.example:certification-001",
|
| 17 |
+
"implementation_declaration": {
|
| 18 |
+
"supports_runtime_authorize": true,
|
| 19 |
+
"supports_decision_map": true,
|
| 20 |
+
"supports_evidence_pack_export": true,
|
| 21 |
+
"policy_engine": "rego"
|
| 22 |
+
},
|
| 23 |
+
"badge_id": "kye:badge:authority-conformant:acme.example:agent-runtime-2.4.1",
|
| 24 |
+
"badge_url": "https://registry.kye.dev/badges/kye-cert-authority-acme-agent-runtime-2-4-1.svg",
|
| 25 |
+
"verification_url": "https://registry.kye.dev/certifications/kye-cert-authority-acme-agent-runtime-2-4-1",
|
| 26 |
+
"registry_listing_url": "https://registry.kye.dev/certifications/acme-agent-runtime-2-4-1",
|
| 27 |
+
"status": "active",
|
| 28 |
+
"issued_at": "2026-05-06T00:00:00Z",
|
| 29 |
+
"expires_at": "2027-05-06T00:00:00Z",
|
| 30 |
+
"signature": {
|
| 31 |
+
"algorithm": "ed25519",
|
| 32 |
+
"signature": "kye-sig:1:01HXKYECERTSIG000000000000000000",
|
| 33 |
+
"signed_by_credential_id": "kye:credential:kye-protocol:registry-key-2026"
|
| 34 |
+
}
|
| 35 |
+
}
|
examples/commit-boundary.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.commit_boundary.v1",
|
| 3 |
+
"commit_boundary_id": "kye:commit-boundary:payment_execution",
|
| 4 |
+
"display_name": "Payment Execution Commit Boundary",
|
| 5 |
+
"description": "Separates payment preparation from payment execution.",
|
| 6 |
+
"before_boundary_actions": ["invoice.read", "payment.prepare", "beneficiary.validate"],
|
| 7 |
+
"after_boundary_actions": ["payment.execute", "payment.submit_to_bank", "payment.confirm"],
|
| 8 |
+
"boundary_condition": {
|
| 9 |
+
"action_transition": "payment.prepare_to_payment.execute",
|
| 10 |
+
"requires_authority_gate": "kye:gate:payment_execute"
|
| 11 |
+
},
|
| 12 |
+
"required_decision": {
|
| 13 |
+
"decision_endpoint": "/v1/authority:decide",
|
| 14 |
+
"required_result": ["allow", "require_approval_completed"]
|
| 15 |
+
},
|
| 16 |
+
"obligations": [
|
| 17 |
+
"generate_decision_map",
|
| 18 |
+
"emit_signed_signal",
|
| 19 |
+
"generate_evidence_pack",
|
| 20 |
+
"record_commit_event"
|
| 21 |
+
],
|
| 22 |
+
"failure_behaviour": {
|
| 23 |
+
"on_missing_authority": "deny",
|
| 24 |
+
"on_state_mismatch": "quarantine",
|
| 25 |
+
"on_evidence_failure": "deny"
|
| 26 |
+
},
|
| 27 |
+
"status": "active"
|
| 28 |
+
}
|
examples/compliance-card.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.compliance_card.v1",
|
| 3 |
+
"card_id": "kye:card:acme.eu:agent:fx-router:v3.2.1",
|
| 4 |
+
"subject": {
|
| 5 |
+
"entity_id": "kye:agent:acme.eu:treasury:fx-router",
|
| 6 |
+
"name": "Acme Treasury FX Router",
|
| 7 |
+
"class": "ai_agent",
|
| 8 |
+
"version": "3.2.1",
|
| 9 |
+
"model_family": "Treasury-LLM-v3",
|
| 10 |
+
"trust_domain": "acme.eu"
|
| 11 |
+
},
|
| 12 |
+
"issuer": {
|
| 13 |
+
"entity_id": "kye:trust:acme.eu",
|
| 14 |
+
"trust_domain": "acme.eu",
|
| 15 |
+
"public_key": "ed25519:7f3aabe2c8c8a1f2e3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6"
|
| 16 |
+
},
|
| 17 |
+
"issued_at": "2026-05-04T14:22:00Z",
|
| 18 |
+
"expires_at": "2026-08-04T14:22:00Z",
|
| 19 |
+
"authority": {
|
| 20 |
+
"delegation_chain": [
|
| 21 |
+
"kye:human:acme.eu:cfo:gabrielle-koch",
|
| 22 |
+
"kye:human:acme.eu:treasurer-emea:luis-bauer",
|
| 23 |
+
"kye:agent:acme.eu:treasury:fx-router"
|
| 24 |
+
],
|
| 25 |
+
"capability_profile": "pep",
|
| 26 |
+
"scope_summary": "USD <= $5M / EU + US corridors / no first-time beneficiaries",
|
| 27 |
+
"freshness_seconds": 240
|
| 28 |
+
},
|
| 29 |
+
"frameworks": [
|
| 30 |
+
{ "framework_id": "psd3", "framework_label": "PSD3", "controls_satisfied": 12, "controls_total": 12 },
|
| 31 |
+
{ "framework_id": "dora", "framework_label": "DORA", "controls_satisfied": 18, "controls_total": 18 },
|
| 32 |
+
{ "framework_id": "euaiact", "framework_label": "EU AI Act", "controls_satisfied": 10, "controls_total": 10 },
|
| 33 |
+
{ "framework_id": "iso27001", "framework_label": "ISO 27001", "controls_satisfied": 47, "controls_total": 47 },
|
| 34 |
+
{ "framework_id": "soc2", "framework_label": "SOC 2", "controls_satisfied": 64, "controls_total": 64 }
|
| 35 |
+
],
|
| 36 |
+
"freshness": {
|
| 37 |
+
"audit_chain": 96,
|
| 38 |
+
"self_audit": 88,
|
| 39 |
+
"replay_test": 100,
|
| 40 |
+
"signal_bus_uptime": 99
|
| 41 |
+
},
|
| 42 |
+
"recovery": {
|
| 43 |
+
"break_glass_profile": "evidence-replay",
|
| 44 |
+
"open_recoveries": 0,
|
| 45 |
+
"last_fire_drill": "2026-04-22"
|
| 46 |
+
},
|
| 47 |
+
"attestation": {
|
| 48 |
+
"conformance_level": "L3_conformant",
|
| 49 |
+
"self_attested_at": "2026-05-04T14:22:00Z",
|
| 50 |
+
"self_tested_runs": "38 / 38 fixtures pass",
|
| 51 |
+
"certification_id": "kye:cert:acme.eu:fx-router:2026-q2"
|
| 52 |
+
},
|
| 53 |
+
"signature": {
|
| 54 |
+
"alg": "ed25519",
|
| 55 |
+
"value": "REPLACE_WITH_DETACHED_SIGNATURE_OVER_CANONICALISED_PAYLOAD",
|
| 56 |
+
"key_id": "kye:trust:acme.eu#key-2026"
|
| 57 |
+
}
|
| 58 |
+
}
|
examples/compliance-mapping-healthcare-hipaa.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.compliance_mapping.v1",
|
| 3 |
+
"framework": "HIPAA",
|
| 4 |
+
"framework_version": "45 CFR Part 164 Security Rule",
|
| 5 |
+
"control_ref": "HIPAA_164_312_b_AUDIT_CONTROLS",
|
| 6 |
+
"control_title": "Audit controls for ePHI",
|
| 7 |
+
"control_summary": "§164.312(b) — implement hardware, software, and procedural mechanisms that record and examine activity in information systems that contain or use electronic protected health information.",
|
| 8 |
+
"kye_controls": [
|
| 9 |
+
"kye.audit.runtime_decision",
|
| 10 |
+
"kye.audit.append_only_chain",
|
| 11 |
+
"kye.entity.state_transition",
|
| 12 |
+
"kye.authority.grant",
|
| 13 |
+
"kye.recovery.break_glass_grant"
|
| 14 |
+
],
|
| 15 |
+
"evidence_events": [
|
| 16 |
+
"kye.healthcare.encounter.access_decided",
|
| 17 |
+
"kye.healthcare.break_glass.granted",
|
| 18 |
+
"kye.healthcare.break_glass.expired",
|
| 19 |
+
"kye.consent.withdrawn",
|
| 20 |
+
"kye.evidence_pack.generated"
|
| 21 |
+
],
|
| 22 |
+
"evidence_pack": "kye:evidence-pack:hipaa-164-312-b",
|
| 23 |
+
"kye_profiles_required": ["core", "pep", "evidence-replay"],
|
| 24 |
+
"policy_bundle_refs": ["kye.policy.healthcare.hipaa_audit_controls"],
|
| 25 |
+
"applicable_sector_profiles": ["pep"],
|
| 26 |
+
"applies_to_entity_types": ["clinician", "ai_agent", "patient_workflow", "covered_entity_workflow"],
|
| 27 |
+
"retention_minimum_days": 2190,
|
| 28 |
+
"notes": "HIPAA §164.530(j)(2) requires retention of policies, procedures, and records for six years (2190 days) from the date of creation or the date when last in effect. Break-glass-granted events MUST surface in the per-encounter audit replay."
|
| 29 |
+
}
|
examples/compliance-mapping-payments-psd3.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.compliance_mapping.v1",
|
| 3 |
+
"framework": "PSD3",
|
| 4 |
+
"framework_version": "PSD3 + draft RTS (in flight)",
|
| 5 |
+
"control_ref": "PSD3_SCA_DELEGATED_AUTHORITY",
|
| 6 |
+
"control_title": "Strong Customer Authentication for delegated payment-initiation",
|
| 7 |
+
"control_summary": "Delegated payment-initiation by an authorised third-party (TPP) or AI agent on behalf of a payer MUST carry verifiable proof of the payer's authorisation under SCA, with binding to amount, beneficiary, and consent reference.",
|
| 8 |
+
"kye_controls": [
|
| 9 |
+
"kye.authority.delegation_chain",
|
| 10 |
+
"kye.authority.scope_intersection",
|
| 11 |
+
"kye.audit.signed_decision",
|
| 12 |
+
"kye.consent.binding",
|
| 13 |
+
"kye.payments.payment_intent_pre_auth"
|
| 14 |
+
],
|
| 15 |
+
"evidence_events": [
|
| 16 |
+
"kye.payments.payment_authority_decided",
|
| 17 |
+
"kye.payments.payment_intent_decided",
|
| 18 |
+
"kye.consent.granted",
|
| 19 |
+
"kye.consent.withdrawn",
|
| 20 |
+
"kye.payments.signed_decision_emitted"
|
| 21 |
+
],
|
| 22 |
+
"evidence_pack": "kye:evidence-pack:psd3-sca-delegated",
|
| 23 |
+
"kye_profiles_required": ["core", "pep", "kye-payments-eu-1.0", "kye-open-finance-1.0"],
|
| 24 |
+
"policy_bundle_refs": ["kye.policy.payments.psd3_sca", "kye.policy.payments.delegated_authority"],
|
| 25 |
+
"applicable_sector_profiles": ["pep"],
|
| 26 |
+
"applies_to_entity_types": ["tpp", "ai_agent", "payment_initiation_service_provider", "account_servicing_payment_service_provider"],
|
| 27 |
+
"retention_minimum_days": 1825,
|
| 28 |
+
"notes": "Per PSD2 Art. 95 + draft PSD3 record-keeping period of 5 years (1825 days). The signed Decision Map™ replays the full SCA chain offline; the supervisor verifies with the publisher's published JWKS."
|
| 29 |
+
}
|
examples/compliance-mapping-public-sector-iso42001.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.compliance_mapping.v1",
|
| 3 |
+
"framework": "ISO_IEC_42001",
|
| 4 |
+
"framework_version": "ISO/IEC 42001:2023",
|
| 5 |
+
"control_ref": "ISO_42001_8_3_HUMAN_OVERSIGHT",
|
| 6 |
+
"control_title": "Human oversight controls",
|
| 7 |
+
"control_summary": "Clause 8.3 — the organisation shall ensure that AI systems are designed and operated to allow for effective oversight by humans during the period in which they are in use.",
|
| 8 |
+
"kye_controls": [
|
| 9 |
+
"kye.decision.require_human_review",
|
| 10 |
+
"kye.decision.require_approval",
|
| 11 |
+
"kye.audit.runtime_decision",
|
| 12 |
+
"kye.capability.invocation_event",
|
| 13 |
+
"kye.entity.state_transition"
|
| 14 |
+
],
|
| 15 |
+
"evidence_events": [
|
| 16 |
+
"kye.capability.invocation_required_approval",
|
| 17 |
+
"kye.capability.invocation_required_human_review",
|
| 18 |
+
"kye.approval.granted",
|
| 19 |
+
"kye.approval.denied",
|
| 20 |
+
"kye.decision_map.generated"
|
| 21 |
+
],
|
| 22 |
+
"evidence_pack": "kye:evidence-pack:iso42001-human-oversight",
|
| 23 |
+
"kye_profiles_required": ["core", "pep", "pep", "kye-sovereign-ai-1.0"],
|
| 24 |
+
"policy_bundle_refs": ["kye.policy.public_sector.human_oversight"],
|
| 25 |
+
"applicable_sector_profiles": ["pep", "pep", "pep"],
|
| 26 |
+
"applies_to_entity_types": ["ai_system", "ai_agent", "public_service_workflow", "agency_workflow"],
|
| 27 |
+
"retention_minimum_days": 730,
|
| 28 |
+
"notes": "Decision Map™ for every AI-assisted public-sector decision; Decision Map™ MUST surface the human-oversight gate (allow / require_approval / require_human_review) and the approver entity_id when approval is granted. ISO 42001 §9.1.3 monitoring obligation is satisfied by the per-decision evidence-pack rail."
|
| 29 |
+
}
|
examples/compliance-mapping.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.compliance_mapping.v1",
|
| 3 |
+
"framework": "EU_AI_ACT",
|
| 4 |
+
"framework_version": "Regulation (EU) 2024/1689",
|
| 5 |
+
"control_ref": "AIA_HIGH_RISK_LOGGING",
|
| 6 |
+
"control_title": "High-risk system record-keeping",
|
| 7 |
+
"control_summary": "Article 12 record-keeping obligation for high-risk AI systems.",
|
| 8 |
+
"kye_controls": [
|
| 9 |
+
"kye.audit.runtime_decision",
|
| 10 |
+
"kye.capability.invocation_event",
|
| 11 |
+
"kye.entity.state_transition",
|
| 12 |
+
"kye.authority.grant",
|
| 13 |
+
"kye.human_oversight.approval_gate"
|
| 14 |
+
],
|
| 15 |
+
"evidence_events": [
|
| 16 |
+
"kye.validation.performed",
|
| 17 |
+
"kye.capability.invocation_allowed",
|
| 18 |
+
"kye.capability.invocation_denied",
|
| 19 |
+
"kye.authority.revoked"
|
| 20 |
+
],
|
| 21 |
+
"evidence_pack": "kye:evidence-pack:eu-ai-act-high-risk",
|
| 22 |
+
"kye_profiles_required": ["core", "pep", "pep", "pdp"],
|
| 23 |
+
"policy_bundle_refs": ["kye.policy.aia.high_risk_logging"],
|
| 24 |
+
"applicable_sector_profiles": ["pep", "pep", "pep"],
|
| 25 |
+
"applies_to_entity_types": ["ai_system", "ai_agent", "high_risk_workflow"],
|
| 26 |
+
"retention_minimum_days": 180,
|
| 27 |
+
"notes": "Logs MUST be retained for the lifetime of the system plus the provider's record-keeping obligation under Article 18."
|
| 28 |
+
}
|
examples/compromise-report.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://kyeprotocol.com/schemas/compromise-report.json",
|
| 3 |
+
"compromise_report_id": "kye:compromise:custody.acme.eu:2026-05-04_signer_anomaly_001",
|
| 4 |
+
"subject_entity_id": "kye:agent:custody.acme.eu:desk-a:signer",
|
| 5 |
+
"kind": "agent_compromise",
|
| 6 |
+
"severity": "high",
|
| 7 |
+
"reason_code": "anomalous_signing_pattern",
|
| 8 |
+
"evidence_refs": [
|
| 9 |
+
"kye:audit:custody.acme.eu:event:01HX7K1Z3F7Q9V8L2P4M5T6Y0W",
|
| 10 |
+
"kye:audit:custody.acme.eu:event:01HX7K2A2D8R3W6N1B5C8E0V4X",
|
| 11 |
+
"kye:evidence-pack:custody.acme.eu:soc_anomaly_2026-05-04_001"
|
| 12 |
+
],
|
| 13 |
+
"reported_by": "kye:service:custody.acme.eu:soc:anomaly_detector",
|
| 14 |
+
"reported_at": "2026-05-04T02:14:00Z",
|
| 15 |
+
"auto_actions": [
|
| 16 |
+
"suspend_authority",
|
| 17 |
+
"stop_agent",
|
| 18 |
+
"quarantine_entity",
|
| 19 |
+
"open_recovery_request",
|
| 20 |
+
"publish_signal"
|
| 21 |
+
]
|
| 22 |
+
}
|
examples/conformance-report.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"report_id": "kye:rpt:vendorA.example:01JYRPT000000000000000XZ",
|
| 3 |
+
"issued_at": "2026-05-05T13:00:00Z",
|
| 4 |
+
"subject": {
|
| 5 |
+
"gateway_url": "https://gateway.vendora.example",
|
| 6 |
+
"vendor": "VendorA",
|
| 7 |
+
"release": "1.0.7",
|
| 8 |
+
"deployment_topology": "saas",
|
| 9 |
+
"kye_version_advertised": "1.0",
|
| 10 |
+
"kye_profiles_advertised": [
|
| 11 |
+
"core",
|
| 12 |
+
"pdp",
|
| 13 |
+
"pep",
|
| 14 |
+
"pep",
|
| 15 |
+
"evidence-replay"
|
| 16 |
+
]
|
| 17 |
+
},
|
| 18 |
+
"conformance_pack_version": "1.0.0",
|
| 19 |
+
"kye_version": "1.0",
|
| 20 |
+
"tier_claimed": "tier-1-bank",
|
| 21 |
+
"fixtures": [
|
| 22 |
+
{
|
| 23 |
+
"fixture_id": "registration/01",
|
| 24 |
+
"name": "Register an ai_agent and confirm immutable block",
|
| 25 |
+
"category": "core",
|
| 26 |
+
"outcome": "pass",
|
| 27 |
+
"duration_ms": 12,
|
| 28 |
+
"started_at": "2026-05-05T12:59:41Z"
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"fixture_id": "stop-cascade/01",
|
| 32 |
+
"name": "Entity stop signal forces deny on subsequent authorize",
|
| 33 |
+
"category": "core",
|
| 34 |
+
"outcome": "pass",
|
| 35 |
+
"duration_ms": 47,
|
| 36 |
+
"started_at": "2026-05-05T12:59:42Z"
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"fixture_id": "capability-grant-cascade/01",
|
| 40 |
+
"name": "Stop entity revokes its capability grants",
|
| 41 |
+
"category": "capability",
|
| 42 |
+
"outcome": "pass",
|
| 43 |
+
"duration_ms": 19
|
| 44 |
+
}
|
| 45 |
+
],
|
| 46 |
+
"summary": {
|
| 47 |
+
"total": 37,
|
| 48 |
+
"passed": 37,
|
| 49 |
+
"failed": 0,
|
| 50 |
+
"skipped": 0,
|
| 51 |
+
"started_at": "2026-05-05T12:59:00Z",
|
| 52 |
+
"ended_at": "2026-05-05T13:00:00Z",
|
| 53 |
+
"wall_clock_ms": 60000
|
| 54 |
+
},
|
| 55 |
+
"verdict": {
|
| 56 |
+
"status": "conformant",
|
| 57 |
+
"narrative": "All 37 v1.0 fixtures pass; tier-1-bank latency targets met (authorize p99 = 38 ms, cascade p99 = 142 ms).",
|
| 58 |
+
"tier_claim_validated": true
|
| 59 |
+
}
|
| 60 |
+
}
|
examples/conformance-run.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.conformance_run.v1",
|
| 3 |
+
"run_id": "kye:conformance-run:acme.example:001",
|
| 4 |
+
"implementation_id": "kye:implementation:acme.example:agent-runtime",
|
| 5 |
+
"implementation_name": "Acme Agent Runtime",
|
| 6 |
+
"implementation_version": "2.4.1",
|
| 7 |
+
"test_suite_version": "kye-conformance-1.0.0",
|
| 8 |
+
"profiles_under_test": [
|
| 9 |
+
"kye.core.v1.0",
|
| 10 |
+
"kye.authority.v1.0",
|
| 11 |
+
"kye.capability.v1.0"
|
| 12 |
+
],
|
| 13 |
+
"started_at": "2026-05-06T09:00:00Z",
|
| 14 |
+
"completed_at": "2026-05-06T09:08:42Z",
|
| 15 |
+
"result": "passed",
|
| 16 |
+
"summary": {
|
| 17 |
+
"tests_total": 37,
|
| 18 |
+
"tests_passed": 37,
|
| 19 |
+
"tests_failed": 0,
|
| 20 |
+
"warnings": 0
|
| 21 |
+
},
|
| 22 |
+
"findings": [],
|
| 23 |
+
"evidence_pack_ref": "kye:evidence-pack:acme.example:conformance-001"
|
| 24 |
+
}
|
examples/connector-evidence-import-grc-platform.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.connector.evidence_import.v1",
|
| 3 |
+
"import_id": "kye:import:acme-bank.servicenow-grc-export.2026-06-21",
|
| 4 |
+
"tenant_id": "kye:tenant:acme-bank",
|
| 5 |
+
"source_tool": "servicenow_grc",
|
| 6 |
+
"imported_at": "2026-06-21T09:30:00Z",
|
| 7 |
+
"row_count": 4,
|
| 8 |
+
"items": [
|
| 9 |
+
{
|
| 10 |
+
"kind": "control",
|
| 11 |
+
"control_id": "CC6.1",
|
| 12 |
+
"framework": "soc_2",
|
| 13 |
+
"name": "Logical access — least privilege",
|
| 14 |
+
"description": "Imported from the customer's ServiceNow GRC control catalog during onboarding. KYE auto-maps its runtime Evidence Pack to this existing control via the §70 framework crosswalk; ServiceNow GRC stays the system of record.",
|
| 15 |
+
"status": "pass",
|
| 16 |
+
"owner": "kye:ent:acme-bank.ciso"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"kind": "control",
|
| 20 |
+
"control_id": "A.5.15",
|
| 21 |
+
"framework": "iso_27001",
|
| 22 |
+
"name": "Access control",
|
| 23 |
+
"description": "Imported from the customer's ServiceNow GRC ISO 27001 authority document mapping. Crosswalks to the same KYE artefact as SOC 2 CC6.1 via the §70 NIST 800-53 hub.",
|
| 24 |
+
"status": "pass",
|
| 25 |
+
"owner": "kye:ent:acme-bank.ciso"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"kind": "obligation",
|
| 29 |
+
"obligation_id": "eu-ai-act-art-72",
|
| 30 |
+
"framework": "eu_ai_act",
|
| 31 |
+
"citation": "EU AI Act Art. 72",
|
| 32 |
+
"text": "Post-market monitoring of high-risk AI systems by providers.",
|
| 33 |
+
"control_refs": ["CC6.1"]
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"kind": "ai_system",
|
| 37 |
+
"system_id": "kye:agent:acme-bank.supplier-payment-agent.v3",
|
| 38 |
+
"name": "Supplier Payment Agent",
|
| 39 |
+
"risk_tier": "high",
|
| 40 |
+
"owner": "kye:ent:acme-bank.payments-lead",
|
| 41 |
+
"lifecycle_stage": "production",
|
| 42 |
+
"framework_refs": ["eu_ai_act", "dora", "iso_42001"]
|
| 43 |
+
}
|
| 44 |
+
],
|
| 45 |
+
"errors": []
|
| 46 |
+
}
|
examples/connector-evidence-import.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.connector.evidence_import.v1",
|
| 3 |
+
"import_id": "kye:import:acme-bank.vanta-export.2026-05-20",
|
| 4 |
+
"tenant_id": "kye:tenant:acme-bank",
|
| 5 |
+
"source_tool": "vanta",
|
| 6 |
+
"imported_at": "2026-05-20T15:10:00Z",
|
| 7 |
+
"row_count": 5,
|
| 8 |
+
"items": [
|
| 9 |
+
{
|
| 10 |
+
"kind": "control",
|
| 11 |
+
"control_id": "CC6.1",
|
| 12 |
+
"framework": "soc_2",
|
| 13 |
+
"name": "Logical access — least privilege",
|
| 14 |
+
"description": "Access to systems and data is restricted to authorised users on a least-privilege basis.",
|
| 15 |
+
"status": "pass",
|
| 16 |
+
"owner": "kye:ent:acme-bank.ciso"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"kind": "obligation",
|
| 20 |
+
"obligation_id": "gdpr-art-30",
|
| 21 |
+
"framework": "gdpr",
|
| 22 |
+
"citation": "GDPR Art. 30",
|
| 23 |
+
"text": "Maintain a record of processing activities under the controller's responsibility.",
|
| 24 |
+
"control_refs": ["CC6.1"]
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"kind": "evidence_item",
|
| 28 |
+
"evidence_id": "kye:evidence:acme-bank.okta-access-review.q2",
|
| 29 |
+
"control_ref": "CC6.1",
|
| 30 |
+
"evidence_kind": "attestation",
|
| 31 |
+
"title": "Q2 quarterly access review — Okta production tenant",
|
| 32 |
+
"collected_at": "2026-04-30T17:00:00Z",
|
| 33 |
+
"source_uri": "https://acme-bank.vanta.com/evidence/okta-access-review-q2",
|
| 34 |
+
"content_sha256": "9f2c1a7b4e0d6385a1c2f4b8d9e0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"kind": "ai_system",
|
| 38 |
+
"system_id": "kye:agent:acme-bank.supplier-payment-agent.v3",
|
| 39 |
+
"name": "Supplier Payment Agent",
|
| 40 |
+
"risk_tier": "high",
|
| 41 |
+
"owner": "kye:ent:acme-bank.payments-lead",
|
| 42 |
+
"lifecycle_stage": "production",
|
| 43 |
+
"framework_refs": ["eu_ai_act", "dora"]
|
| 44 |
+
}
|
| 45 |
+
],
|
| 46 |
+
"errors": [
|
| 47 |
+
{
|
| 48 |
+
"row_index": 4,
|
| 49 |
+
"reason": "no recognised mapping for source column 'Control Owner Email'; row skipped",
|
| 50 |
+
"raw": { "Control": "", "Status": "n/a", "Control Owner Email": "unknown@acme-bank.com" }
|
| 51 |
+
}
|
| 52 |
+
]
|
| 53 |
+
}
|
examples/continuity-context.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.continuity_context.v1",
|
| 3 |
+
"continuity_id": "kye:continuity:001",
|
| 4 |
+
"request_id": "req_123",
|
| 5 |
+
"correlation_id": "kye:corr:agent_purchase_001",
|
| 6 |
+
"actor_entity_id": "kye:entity:agent:shopping_agent_456",
|
| 7 |
+
"principal_entity_id": "kye:entity:person:customer_123",
|
| 8 |
+
"acting_on_behalf_of": "kye:entity:person:customer_123",
|
| 9 |
+
"capability_id": "kye:capability:card_purchase",
|
| 10 |
+
"authority_grant_id": "kye:authority:grant:purchase_001",
|
| 11 |
+
"original_intent": {
|
| 12 |
+
"intent_id": "kye:intent:001",
|
| 13 |
+
"intent_type": "purchase_assistance",
|
| 14 |
+
"declared_goal": "Buy a phone charger under £40",
|
| 15 |
+
"declared_by": "kye:entity:person:customer_123",
|
| 16 |
+
"constraints": [
|
| 17 |
+
"trusted merchant",
|
| 18 |
+
"no subscription",
|
| 19 |
+
"delivery within 3 days",
|
| 20 |
+
"maximum amount GBP 40"
|
| 21 |
+
],
|
| 22 |
+
"created_at": "2026-05-06T12:00:00Z"
|
| 23 |
+
},
|
| 24 |
+
"interpreted_intent": {
|
| 25 |
+
"interpreted_by": "kye:entity:agent:shopping_agent_456",
|
| 26 |
+
"interpreted_goal": "Purchase electronics accessory",
|
| 27 |
+
"confidence": 0.92,
|
| 28 |
+
"material_drift_detected": false,
|
| 29 |
+
"interpretation_notes": "Agent interpreted charger as electronics accessory within purchase constraints."
|
| 30 |
+
},
|
| 31 |
+
"authority_binding": {
|
| 32 |
+
"scope_matched": true,
|
| 33 |
+
"capability_matched": true,
|
| 34 |
+
"delegation_chain_valid": true,
|
| 35 |
+
"authority_state": "active",
|
| 36 |
+
"approval_required": false
|
| 37 |
+
},
|
| 38 |
+
"state_snapshot": {
|
| 39 |
+
"actor_state": "active",
|
| 40 |
+
"principal_state": "active",
|
| 41 |
+
"credential_state": "valid",
|
| 42 |
+
"capability_state": "active",
|
| 43 |
+
"risk_state": "normal",
|
| 44 |
+
"recovery_state": "none"
|
| 45 |
+
},
|
| 46 |
+
"pressure_context": {
|
| 47 |
+
"urgency_level": "normal",
|
| 48 |
+
"user_pressure_detected": false,
|
| 49 |
+
"external_coercion_signal": "not_detected",
|
| 50 |
+
"social_engineering_signal": "not_detected"
|
| 51 |
+
},
|
| 52 |
+
"incentive_context": {
|
| 53 |
+
"agent_optimisation_goal": "minimise_cost_within_constraints",
|
| 54 |
+
"commercial_incentive_detected": false,
|
| 55 |
+
"affiliate_or_commission_present": false,
|
| 56 |
+
"conflict_of_interest_detected": false
|
| 57 |
+
},
|
| 58 |
+
"execution_context": {
|
| 59 |
+
"requested_action": "purchase.prepare",
|
| 60 |
+
"merchant_id": "merchant:example_retailer",
|
| 61 |
+
"basket_hash": "sha256:c0ffee0bb5deedc0ffee0bb5deedc0ffee0bb5deedc0ffee0bb5deedc0ffee01",
|
| 62 |
+
"amount": {
|
| 63 |
+
"value": 34.99,
|
| 64 |
+
"currency": "GBP"
|
| 65 |
+
},
|
| 66 |
+
"execution_state": "pending"
|
| 67 |
+
},
|
| 68 |
+
"continuity_result": {
|
| 69 |
+
"status": "preserved",
|
| 70 |
+
"reason_code": "intent_authority_scope_state_aligned",
|
| 71 |
+
"material_drift_detected": false,
|
| 72 |
+
"human_review_required": false
|
| 73 |
+
},
|
| 74 |
+
"decision_map_id": "kye:decision-map:continuity_001",
|
| 75 |
+
"evidence_pack_ref": "kye:evidence-pack:continuity_001",
|
| 76 |
+
"meaning_continuity": {
|
| 77 |
+
"meaning_continuity_id": "kye:meaning-continuity:001",
|
| 78 |
+
"status": "meaning_preserved",
|
| 79 |
+
"meaning_score": 0.94,
|
| 80 |
+
"material_drift_detected": false,
|
| 81 |
+
"recommended_decision": "route_to_admissibility"
|
| 82 |
+
},
|
| 83 |
+
"created_at": "2026-05-06T12:03:00Z"
|
| 84 |
+
}
|
examples/continuity-decision.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.continuity_decision.v1",
|
| 3 |
+
"decision_id": "kye:decision:continuity_001",
|
| 4 |
+
"continuity_id": "kye:continuity:001",
|
| 5 |
+
"decision": "continuity_preserved",
|
| 6 |
+
"reason_code": "intent_authority_scope_state_aligned",
|
| 7 |
+
"actor_entity_id": "kye:entity:agent:shopping_agent_456",
|
| 8 |
+
"principal_entity_id": "kye:entity:person:customer_123",
|
| 9 |
+
"capability_id": "kye:capability:card_purchase",
|
| 10 |
+
"checked_dimensions": {
|
| 11 |
+
"intent_alignment": "matched",
|
| 12 |
+
"authority_alignment": "matched",
|
| 13 |
+
"scope_alignment": "matched",
|
| 14 |
+
"state_alignment": "matched",
|
| 15 |
+
"capability_alignment": "matched",
|
| 16 |
+
"incentive_alignment": "no_conflict_detected",
|
| 17 |
+
"pressure_context": "no_pressure_detected",
|
| 18 |
+
"oversight_state": "not_required"
|
| 19 |
+
},
|
| 20 |
+
"continuity_score": {
|
| 21 |
+
"score": 0.96,
|
| 22 |
+
"scale": "0_to_1",
|
| 23 |
+
"interpretation": "high_continuity"
|
| 24 |
+
},
|
| 25 |
+
"obligations": [
|
| 26 |
+
"emit_audit_event",
|
| 27 |
+
"bind_continuity_context",
|
| 28 |
+
"generate_evidence_pack"
|
| 29 |
+
],
|
| 30 |
+
"decision_map_id": "kye:decision-map:continuity_001",
|
| 31 |
+
"evidence_pack_ref": "kye:evidence-pack:continuity_001",
|
| 32 |
+
"decided_at": "2026-05-06T12:03:10Z"
|
| 33 |
+
}
|
examples/continuity-evidence-pack.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.continuity_evidence_pack.v1",
|
| 3 |
+
"evidence_pack_id": "kye:evidence-pack:continuity_001",
|
| 4 |
+
"continuity_id": "kye:continuity:001",
|
| 5 |
+
"decision_id": "kye:decision:continuity_001",
|
| 6 |
+
"included_evidence": {
|
| 7 |
+
"authority_grant": true,
|
| 8 |
+
"policy_decision": true,
|
| 9 |
+
"audit_events": true
|
| 10 |
+
},
|
| 11 |
+
"continuity_summary": {
|
| 12 |
+
"continuity_status": "preserved",
|
| 13 |
+
"material_drift_detected": false,
|
| 14 |
+
"human_review_required": false
|
| 15 |
+
},
|
| 16 |
+
"hash": "sha384:c0ffeec0ffeec0ffeec0ffeec0ffeec0ffeec0ffeec0ffeec0ffeec0ffeec0ffeec0ffeec0ffeec0ffeec0ffee",
|
| 17 |
+
"signature": {
|
| 18 |
+
"algorithm": "ed25519",
|
| 19 |
+
"key_id": "kye:key:evidence_signing_001",
|
| 20 |
+
"signature": "RXhhbXBsZS1zaWduYXR1cmUtZm9yLWRlbW9ucHJvb2YtcHVycG9zZXMtb25seQ"
|
| 21 |
+
},
|
| 22 |
+
"generated_at": "2026-05-06T12:04:30Z"
|
| 23 |
+
}
|
examples/continuity-profile.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "kye.continuity_profile.v1",
|
| 3 |
+
"profile_id": "kye:profile:continuity",
|
| 4 |
+
"display_name": "KYE Continuity Profile™",
|
| 5 |
+
"category": "delegated_agency_governance",
|
| 6 |
+
"version": "1.1.0",
|
| 7 |
+
"description": "Defines continuity checks between intent, interpretation, delegated authority, state, decision, execution and evidence. v1.1.0 adds meaning_continuity as a required module via the KYE Meaning Continuity Profile™ sub-profile.",
|
| 8 |
+
"required_kye_profiles": [
|
| 9 |
+
"kye.core.v1",
|
| 10 |
+
"kye.authority.v1",
|
| 11 |
+
"kye.state.v1",
|
| 12 |
+
"kye.capability.v1",
|
| 13 |
+
"kye.evidence.v1",
|
| 14 |
+
"kye.graph.v1",
|
| 15 |
+
"kye.signals.v1"
|
| 16 |
+
],
|
| 17 |
+
"required_objects": [
|
| 18 |
+
"KYEEntity",
|
| 19 |
+
"KYEAuthorityGrant",
|
| 20 |
+
"KYEDelegation",
|
| 21 |
+
"KYEScope",
|
| 22 |
+
"KYEStateSnapshot",
|
| 23 |
+
"KYECapabilityManifest",
|
| 24 |
+
"KYEPolicyDecision",
|
| 25 |
+
"KYEAuditEvent",
|
| 26 |
+
"KYEEvidencePack",
|
| 27 |
+
"KYEContinuityContext",
|
| 28 |
+
"KYEIntentTrace",
|
| 29 |
+
"KYEContinuityDecision",
|
| 30 |
+
"KYEMeaningContinuityContext",
|
| 31 |
+
"KYEHandoffTrace",
|
| 32 |
+
"KYEMeaningDriftEvent",
|
| 33 |
+
"KYEMeaningContinuityDecision"
|
| 34 |
+
],
|
| 35 |
+
"modules": [
|
| 36 |
+
"intent_continuity",
|
| 37 |
+
"meaning_continuity",
|
| 38 |
+
"context_continuity",
|
| 39 |
+
"memory_continuity",
|
| 40 |
+
"incentive_continuity",
|
| 41 |
+
"timing_continuity",
|
| 42 |
+
"handoff_continuity",
|
| 43 |
+
"state_continuity",
|
| 44 |
+
"execution_continuity"
|
| 45 |
+
],
|
| 46 |
+
"decision_types": [
|
| 47 |
+
"continuity_preserved",
|
| 48 |
+
"continuity_degraded",
|
| 49 |
+
"continuity_broken",
|
| 50 |
+
"require_human_review",
|
| 51 |
+
"require_reconfirmation",
|
| 52 |
+
"deny",
|
| 53 |
+
"quarantine"
|
| 54 |
+
],
|
| 55 |
+
"risk_level": "high",
|
| 56 |
+
"status": "active"
|
| 57 |
+
}
|
examples/credential.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"credential_id": "kye:cred:acme.example:kye_agent_passport:01JYCRED0000000000000000",
|
| 3 |
+
"credential_type": "kye_agent_passport",
|
| 4 |
+
"issuer_entity_id": "kye:ent:acme.example:issuer:01JYISS0000000000000000000",
|
| 5 |
+
"holder_entity_id": "kye:ent:acme.example:ai_agent:01JY3J1D4E5A7K3JQFK4E0Q1XZ",
|
| 6 |
+
"subject_entity_id": "kye:ent:acme.example:ai_agent:01JY3J1D4E5A7K3JQFK4E0Q1XZ",
|
| 7 |
+
"format": "vc+jwt",
|
| 8 |
+
"claims": {
|
| 9 |
+
"passport_version": "1.0",
|
| 10 |
+
"agent_runtime_id": "runtime-finance-prod-001",
|
| 11 |
+
"autonomy_mode": "constrained"
|
| 12 |
+
},
|
| 13 |
+
"status": "valid",
|
| 14 |
+
"issued_at": "2026-04-01T10:00:00Z",
|
| 15 |
+
"expires_at": "2026-07-01T10:00:00Z"
|
| 16 |
+
}
|
examples/cron-manifest.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "https://kyeprotocol.com/schemas/kye.cron_manifest.v1.json",
|
| 3 |
+
"schema_version": "1.0.0",
|
| 4 |
+
"registry_id": "kye:registry:cron",
|
| 5 |
+
"adopted_at": "2026-05-30",
|
| 6 |
+
"description": "Example fixture mirroring the canonical cron manifest. Used by the §0.15 event-native-coverage gate as the schema-conformance witness. The real registry lives at internal",
|
| 7 |
+
"constitution_ref": "constitution/00-INDEX.md#section-0-15-event-native",
|
| 8 |
+
"publication_rule": { "policy": "public", "rationale": "Example fixture." },
|
| 9 |
+
"counts": { "total": 1 },
|
| 10 |
+
"crons": [
|
| 11 |
+
{
|
| 12 |
+
"cron_id": "kye:cron:liveness-heartbeat",
|
| 13 |
+
"workflow_path": ".github/workflows/liveness-heartbeat.yml",
|
| 14 |
+
"cron_expression": "0 */6 * * *",
|
| 15 |
+
"periodic_invariant": "liveness_heartbeat",
|
| 16 |
+
"rationale": "§44 Liveness Engine heartbeat probe. Silence MUST be detectable, and silence has no event to subscribe to.",
|
| 17 |
+
"constitution_ref": "constitution/44-LIVENESS-ENGINE.md",
|
| 18 |
+
"alternative_event_trigger_considered": "Push-based external monitor (rejected: would introduce a new SPOF row)."
|
| 19 |
+
}
|
| 20 |
+
]
|
| 21 |
+
}
|
examples/data-access-evidence-event.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"event_id": "kye:event:northbank:dae-2026-05-16-7f3c2a9d",
|
| 3 |
+
"event_type": "kye.data_access_evidence_event.v1",
|
| 4 |
+
"decision_id": "kye:decision:northbank:7f3c2a9d-4b1e-4c8a-9d12-3e6a7c5f1b88",
|
| 5 |
+
"actor": "kye:agent:northbank:kyc-verify",
|
| 6 |
+
"principal": "kye:org:northbank",
|
| 7 |
+
"asset_id": "kye:data_asset:northbank:retail-onboarding.customers_master",
|
| 8 |
+
"action": "read",
|
| 9 |
+
"classification": "personal_data",
|
| 10 |
+
"purpose": "regulatory_compliance",
|
| 11 |
+
"manifest_id": "kye:data_use_manifest:northbank:agent-kyc-verify-2026-q2",
|
| 12 |
+
"data_subject_ref": {
|
| 13 |
+
"ref_type": "pseudonymous_id",
|
| 14 |
+
"ref_value_hash": "9a1b3c5d7e8f0a2b4c6d8e0f1a3b5c7d9e1f0a2b4c6d8e0f1a3b5c7d9e1f0a2b"
|
| 15 |
+
},
|
| 16 |
+
"row_count": 1,
|
| 17 |
+
"field_set_hash": "d4f1e2c3b4a59687c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f90011",
|
| 18 |
+
"decision": "allow",
|
| 19 |
+
"decision_reason_codes": [],
|
| 20 |
+
"jurisdiction": "GB",
|
| 21 |
+
"evidence_pack_id": "kye:evidence_pack:northbank:ep-2026-05-16-7f3c2a9d",
|
| 22 |
+
"occurred_at": "2026-05-16T13:42:18Z"
|
| 23 |
+
}
|
examples/data-asset.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"asset_id": "kye:data_asset:northbank:retail-onboarding.customers_master",
|
| 3 |
+
"owner": "kye:org:northbank",
|
| 4 |
+
"asset_kind": "db_table",
|
| 5 |
+
"location": {
|
| 6 |
+
"system": "cloudflare:d1",
|
| 7 |
+
"address": "retail_onboarding.customers_master",
|
| 8 |
+
"jurisdiction": "GB"
|
| 9 |
+
},
|
| 10 |
+
"classification": "personal_data",
|
| 11 |
+
"pii_inventory": [
|
| 12 |
+
{ "field": "given_name", "pii_type": "name", "redaction_strategy": "preserve_only_for_subject" },
|
| 13 |
+
{ "field": "family_name", "pii_type": "name", "redaction_strategy": "preserve_only_for_subject" },
|
| 14 |
+
{ "field": "email", "pii_type": "email_address", "redaction_strategy": "preserve_only_for_subject" },
|
| 15 |
+
{ "field": "national_insurance", "pii_type": "national_id", "redaction_strategy": "tokenise" },
|
| 16 |
+
{ "field": "date_of_birth", "pii_type": "date_of_birth", "redaction_strategy": "preserve_only_for_subject" },
|
| 17 |
+
{ "field": "primary_iban", "pii_type": "financial_account","redaction_strategy": "partial_mask" }
|
| 18 |
+
],
|
| 19 |
+
"labels": {
|
| 20 |
+
"kyc-scope": "tier-1",
|
| 21 |
+
"regulator-domain": "FCA-PRA"
|
| 22 |
+
},
|
| 23 |
+
"default_retention_days": 2555,
|
| 24 |
+
"data_subject_ref_field": "customer_id",
|
| 25 |
+
"lineage_parents": [],
|
| 26 |
+
"registered_at": "2026-03-15T11:00:00Z"
|
| 27 |
+
}
|
examples/data-classification-assignment.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_id": "kye.data_classification_assignment.v1",
|
| 3 |
+
"assignment_id": "kye:classification-assignment:acme-pii-customer-table-2026-05-17",
|
| 4 |
+
"tenant_id": "kye:tenant:acme-bank",
|
| 5 |
+
"asset_id": "kye:data-asset:acme-bank-customer-master",
|
| 6 |
+
"classification": "restricted",
|
| 7 |
+
"classifier_kid": "kye:kid:acme-data-classification-agent-2026-q2",
|
| 8 |
+
"rationale": "Customer master table contains PII. The classification engine and the detection-rule corpus are part of the patent track; this example shows only the canonical envelope a downstream consumer receives.",
|
| 9 |
+
"detection_method": "regex_scan",
|
| 10 |
+
"derived_from": {
|
| 11 |
+
"sector_template_id": "kye:profile:fs-customer-master-template"
|
| 12 |
+
},
|
| 13 |
+
"effective_at": "2026-05-17T11:30:00Z",
|
| 14 |
+
"signature_b64": "AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QA==",
|
| 15 |
+
"evidence_pack_id": null
|
| 16 |
+
}
|