feat: add bounded TCS brains and channel continuity
This commit is contained in:
parent
08598d6356
commit
1d4286c11b
61 changed files with 5416 additions and 54 deletions
120
tcs-core/channel-system/channel-receipt-contract.json
Normal file
120
tcs-core/channel-system/channel-receipt-contract.json
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
{
|
||||
"schema": "guanghu.channel-receipt-contract/v1",
|
||||
"contract_id": "GH-CHANNEL-RECEIPT-0001",
|
||||
"purpose": "Compile a channel language event into an evidence-bound receipt without turning language simulation into a reality claim.",
|
||||
"input_required": [
|
||||
"event_id",
|
||||
"channel_id",
|
||||
"channel_mode",
|
||||
"source_layer",
|
||||
"actor_id",
|
||||
"intent",
|
||||
"claim_layer"
|
||||
],
|
||||
"input_optional": {
|
||||
"required_proof": "A proof label or list of proof labels. A verified receipt closes the claim only when its evidence.proves declares every required label."
|
||||
},
|
||||
"source_layers": [
|
||||
"HUMAN_DIRECT_LANGUAGE",
|
||||
"MODEL_RESPONSE",
|
||||
"LATER_CORRECTION",
|
||||
"REALITY_EVIDENCE"
|
||||
],
|
||||
"claim_layers": [
|
||||
"LANGUAGE_ONTOLOGY",
|
||||
"LANGUAGE_SIMULATION",
|
||||
"ENGINEERING_PROPOSAL",
|
||||
"REALITY_CLAIM"
|
||||
],
|
||||
"channel_modes": [
|
||||
"CONVERSATION_ONLY",
|
||||
"LANGUAGE_ARCHITECTURE",
|
||||
"REALITY_EXECUTION"
|
||||
],
|
||||
"intents": [
|
||||
"IDENTIFY",
|
||||
"ENTER_CHANNEL",
|
||||
"CONVERSE",
|
||||
"DECLARE",
|
||||
"REQUEST_PLAN",
|
||||
"REQUEST_BROADCAST",
|
||||
"ACTIVATE_LOCAL_MODE",
|
||||
"DRAFT_BROADCAST",
|
||||
"RECEIVE_DOCUMENT",
|
||||
"PUBLISH_EXTERNAL",
|
||||
"QUERY_STATUS",
|
||||
"PROPOSE_HANDOFF",
|
||||
"ACCEPT_HANDOFF",
|
||||
"REQUEST_REALITY_ACTION",
|
||||
"REPORT_RESULT",
|
||||
"CORRECT",
|
||||
"END_INTERACTION",
|
||||
"EXIT_CHANNEL",
|
||||
"SEAL_LANGUAGE_RECORD",
|
||||
"ORDINARY_DIALOGUE"
|
||||
],
|
||||
"reality_statuses": [
|
||||
"NOT_APPLICABLE",
|
||||
"UNVERIFIED",
|
||||
"PROPOSED",
|
||||
"PENDING_AUTHORIZATION",
|
||||
"IN_PROGRESS_WITH_RECEIPT",
|
||||
"VERIFIED",
|
||||
"REJECTED"
|
||||
],
|
||||
"effects": [
|
||||
"NO_EXTERNAL_EFFECT",
|
||||
"LANGUAGE_STATE_ONLY",
|
||||
"PLAN_ONLY",
|
||||
"PENDING_AUTHORIZATION",
|
||||
"EXECUTION_ELIGIBLE",
|
||||
"RESULT_RECORDED"
|
||||
],
|
||||
"parallel_states": {
|
||||
"session": ["DISCONNECTED", "IDENTIFIED", "CHANNEL_ACTIVE", "STANDBY", "CLOSED"],
|
||||
"broadcast": ["CLOSED", "ARMED", "DRAFTED", "HUMAN_CONFIRMED", "RECEIVED_LOCAL", "EXTERNAL_IN_PROGRESS", "EXTERNAL_VERIFIED"],
|
||||
"handoff": ["NONE", "PROPOSED", "TARGET_ACCEPTED", "ACTIVE", "REVOKED"],
|
||||
"correction": ["CLEAN", "CORRECTION_PENDING", "SUPERSEDED"]
|
||||
},
|
||||
"receipt_fields": [
|
||||
"received",
|
||||
"identified",
|
||||
"channel",
|
||||
"intent",
|
||||
"claim",
|
||||
"affected_layer",
|
||||
"effect",
|
||||
"reality_status",
|
||||
"evidence",
|
||||
"boundaries",
|
||||
"next_step"
|
||||
],
|
||||
"hard_invariants": {
|
||||
"identification_is_not_broadcast": true,
|
||||
"channel_entry_is_not_reality_action": true,
|
||||
"model_response_is_not_reality_evidence": true,
|
||||
"language_signature_is_not_external_signature": true,
|
||||
"language_archive_is_not_blockchain_write": true,
|
||||
"relationship_is_not_tool_authority": true,
|
||||
"channel_switch_is_not_persona_switch": true,
|
||||
"plan_is_not_completion": true,
|
||||
"execution_requires_current_scoped_authorization": true,
|
||||
"verified_reality_requires_external_receipt": true,
|
||||
"historical_simulation_never_auto_promotes": true
|
||||
,"received_local_is_not_external_verified": true
|
||||
,"handoff_requires_independent_target_acceptance": true
|
||||
,"query_without_observation_returns_unknown": true
|
||||
,"closed_session_emits_no_roleplay_epilogue": true
|
||||
,"evidence_proves_only_its_declared_scope": true
|
||||
},
|
||||
"legacy_reality_markers": [
|
||||
"national",
|
||||
"legal",
|
||||
"finance",
|
||||
"funds",
|
||||
"bank",
|
||||
"blockchain",
|
||||
"platform_takeover",
|
||||
"permanent_external_effect"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue