378 lines
8.8 KiB
JSON
378 lines
8.8 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://awoooi.wooo.work/schemas/ai_agent_interaction_learning_proof_v1.schema.json",
|
|
"title": "AI Agent Interaction Learning Proof v1",
|
|
"type": "object",
|
|
"required": [
|
|
"schema_version",
|
|
"generated_at",
|
|
"program_status",
|
|
"live_truth",
|
|
"proof_ladder",
|
|
"agent_lanes",
|
|
"proof_signals",
|
|
"operator_surfaces",
|
|
"runtime_gates",
|
|
"learning_memory_stack",
|
|
"telegram_receipt_contract",
|
|
"frontend_redaction",
|
|
"approval_boundaries",
|
|
"rollups"
|
|
],
|
|
"properties": {
|
|
"schema_version": {
|
|
"const": "ai_agent_interaction_learning_proof_v1"
|
|
},
|
|
"generated_at": {
|
|
"type": "string"
|
|
},
|
|
"program_status": {
|
|
"type": "object",
|
|
"required": [
|
|
"overall_completion_percent",
|
|
"current_priority",
|
|
"current_task_id",
|
|
"next_task_id",
|
|
"read_only_mode",
|
|
"runtime_authority"
|
|
],
|
|
"properties": {
|
|
"overall_completion_percent": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 100
|
|
},
|
|
"current_priority": {
|
|
"type": "string"
|
|
},
|
|
"current_task_id": {
|
|
"type": "string"
|
|
},
|
|
"next_task_id": {
|
|
"type": "string"
|
|
},
|
|
"read_only_mode": {
|
|
"const": true
|
|
},
|
|
"runtime_authority": {
|
|
"const": "proof_surface_only_no_live_worker"
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"live_truth": {
|
|
"type": "object",
|
|
"required": [
|
|
"runtime_loop_enabled",
|
|
"live_agent_session_readback_enabled",
|
|
"redis_consumer_group_enabled",
|
|
"telegram_send_enabled",
|
|
"learning_writeback_enabled",
|
|
"active_live_agent_sessions",
|
|
"live_agent_messages_24h",
|
|
"live_handoffs_24h",
|
|
"live_learning_writes_24h",
|
|
"telegram_digest_receipts_24h"
|
|
],
|
|
"properties": {
|
|
"runtime_loop_enabled": {
|
|
"const": false
|
|
},
|
|
"live_agent_session_readback_enabled": {
|
|
"const": false
|
|
},
|
|
"redis_consumer_group_enabled": {
|
|
"const": false
|
|
},
|
|
"telegram_send_enabled": {
|
|
"const": false
|
|
},
|
|
"learning_writeback_enabled": {
|
|
"const": false
|
|
},
|
|
"active_live_agent_sessions": {
|
|
"const": 0
|
|
},
|
|
"live_agent_messages_24h": {
|
|
"const": 0
|
|
},
|
|
"live_handoffs_24h": {
|
|
"const": 0
|
|
},
|
|
"live_learning_writes_24h": {
|
|
"const": 0
|
|
},
|
|
"telegram_digest_receipts_24h": {
|
|
"const": 0
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"proof_ladder": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/proof_level"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"agent_lanes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/agent_lane"
|
|
},
|
|
"minItems": 3
|
|
},
|
|
"proof_signals": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/proof_signal"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"operator_surfaces": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/operator_surface"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"runtime_gates": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/runtime_gate"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"learning_memory_stack": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/memory_layer"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"telegram_receipt_contract": {
|
|
"type": "object",
|
|
"required": [
|
|
"direct_send_allowed",
|
|
"gateway_queue_write_allowed",
|
|
"receipt_visible_to_operator"
|
|
],
|
|
"properties": {
|
|
"direct_send_allowed": {
|
|
"const": false
|
|
},
|
|
"gateway_queue_write_allowed": {
|
|
"const": false
|
|
},
|
|
"receipt_visible_to_operator": {
|
|
"const": true
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"frontend_redaction": {
|
|
"type": "object",
|
|
"required": [
|
|
"operator_conversation_display_allowed",
|
|
"agent_private_reasoning_display_allowed",
|
|
"raw_prompt_display_allowed"
|
|
],
|
|
"properties": {
|
|
"operator_conversation_display_allowed": {
|
|
"const": false
|
|
},
|
|
"agent_private_reasoning_display_allowed": {
|
|
"const": false
|
|
},
|
|
"raw_prompt_display_allowed": {
|
|
"const": false
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"approval_boundaries": {
|
|
"type": "object",
|
|
"required": [
|
|
"runtime_worker_allowed",
|
|
"db_migration_allowed",
|
|
"redis_consumer_group_allowed",
|
|
"telegram_direct_send_allowed",
|
|
"conversation_transcript_display_allowed",
|
|
"agent_private_reasoning_display_allowed",
|
|
"secret_plaintext_allowed",
|
|
"autonomous_self_modify_allowed"
|
|
],
|
|
"properties": {
|
|
"runtime_worker_allowed": {
|
|
"const": false
|
|
},
|
|
"db_migration_allowed": {
|
|
"const": false
|
|
},
|
|
"redis_consumer_group_allowed": {
|
|
"const": false
|
|
},
|
|
"telegram_direct_send_allowed": {
|
|
"const": false
|
|
},
|
|
"conversation_transcript_display_allowed": {
|
|
"const": false
|
|
},
|
|
"agent_private_reasoning_display_allowed": {
|
|
"const": false
|
|
},
|
|
"secret_plaintext_allowed": {
|
|
"const": false
|
|
},
|
|
"autonomous_self_modify_allowed": {
|
|
"const": false
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"rollups": {
|
|
"type": "object",
|
|
"required": [
|
|
"proof_level_count",
|
|
"contract_ready_level_count",
|
|
"live_pending_level_ids",
|
|
"signal_count",
|
|
"live_signal_count",
|
|
"operator_surface_count",
|
|
"runtime_gate_count",
|
|
"blocked_gate_ids",
|
|
"active_live_agent_sessions",
|
|
"live_agent_messages_24h",
|
|
"live_handoffs_24h",
|
|
"live_learning_writes_24h",
|
|
"telegram_digest_receipts_24h"
|
|
],
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"$defs": {
|
|
"proof_level": {
|
|
"type": "object",
|
|
"required": [
|
|
"level_id",
|
|
"display_name",
|
|
"status",
|
|
"completion_percent",
|
|
"operator_meaning",
|
|
"source_of_truth",
|
|
"next_gate"
|
|
],
|
|
"properties": {
|
|
"level_id": {
|
|
"type": "string"
|
|
},
|
|
"display_name": {
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"completion_percent": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 100
|
|
},
|
|
"operator_meaning": {
|
|
"type": "string"
|
|
},
|
|
"source_of_truth": {
|
|
"type": "string"
|
|
},
|
|
"next_gate": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"agent_lane": {
|
|
"type": "object",
|
|
"required": [
|
|
"agent_id",
|
|
"display_name",
|
|
"primary_role",
|
|
"current_visible_state",
|
|
"visible_signals",
|
|
"growth_metric"
|
|
],
|
|
"properties": {
|
|
"agent_id": {
|
|
"type": "string"
|
|
},
|
|
"display_name": {
|
|
"type": "string"
|
|
},
|
|
"primary_role": {
|
|
"type": "string"
|
|
},
|
|
"current_visible_state": {
|
|
"type": "string"
|
|
},
|
|
"visible_signals": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"growth_metric": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"proof_signal": {
|
|
"type": "object",
|
|
"required": [
|
|
"signal_id",
|
|
"display_name",
|
|
"category",
|
|
"source_of_truth",
|
|
"visible_surface",
|
|
"current_state",
|
|
"operator_interpretation",
|
|
"next_gate"
|
|
],
|
|
"additionalProperties": true
|
|
},
|
|
"operator_surface": {
|
|
"type": "object",
|
|
"required": [
|
|
"surface_id",
|
|
"display_name",
|
|
"route_or_channel",
|
|
"operator_feel",
|
|
"redaction_policy",
|
|
"current_state"
|
|
],
|
|
"additionalProperties": true
|
|
},
|
|
"runtime_gate": {
|
|
"type": "object",
|
|
"required": [
|
|
"gate_id",
|
|
"display_name",
|
|
"status",
|
|
"required_before_green",
|
|
"next_task_id"
|
|
],
|
|
"additionalProperties": true
|
|
},
|
|
"memory_layer": {
|
|
"type": "object",
|
|
"required": [
|
|
"layer_id",
|
|
"display_name",
|
|
"storage_or_service",
|
|
"visible_growth_signal",
|
|
"current_state"
|
|
],
|
|
"additionalProperties": true
|
|
}
|
|
}
|
|
}
|