feat: add numbered knowledge and education tower kernels

This commit is contained in:
冰朔 2026-08-21 09:59:05 +08:00
commit 610c688dd9
15 changed files with 2326 additions and 59 deletions

View file

@ -0,0 +1,34 @@
{
"schema": "hololake.education-broadcast-tower-contract/v1",
"record_id": "TCS-EDU-BROADCAST-TOWER-0001",
"domain_entry": "BRANCH_DOMAIN",
"deployment_scope": "INDUSTRY_INITIALIZATION_CHANNEL_TEMPLATE",
"storage": "GUANGHU_NUMBERED_STORE_ACCOUNT_SCOPE",
"participant_number_prefixes": {
"TCS-EDU-NT": "NEW_TEACHER",
"TCS-EDU-MT": "MENTOR",
"TCS-EDU-MG": "MANAGER"
},
"plan_flow": [
"DRAFT_AWAITING_HUMAN_APPROVAL",
"APPROVED_AWAITING_RECIPIENT",
"TRACKING",
"EVIDENCE_AWAITING_HUMAN_REVIEW",
"CLOSED"
],
"schedule_conflict": "REJECT_OVERLAPPING_ACTIVE_WINDOWS_FOR_SAME_PARTICIPANT",
"learning_evidence": {
"language_may_be_structured_by_persona": true,
"reasoning_trace_is_automatic_proof": false,
"final_acceptance_requires_human_review": true
},
"push_queue": {
"number_prefix": "TCS-EDU-PUSHQ",
"ticket_ttl_ms": 300000,
"selection": "EARLIEST_NON_EXPIRED_WAITING_TICKET",
"background_push_requires_online_client": true,
"ticket_is_remote_write_authority": false
},
"server_state": "XIAOXIN_FORGEJO_NOT_YET_DEPLOYED_OR_REGISTERED",
"remote_deployment_claim_allowed": false
}

View file

@ -0,0 +1,34 @@
{
"schema": "hololake.guanghu-numbered-store-contract/v1",
"record_id": "HLP-NUMBERED-STORE-ROOT-001",
"status": "NATIVE_RUNTIME_ACTIVE",
"primary_coordinate": "GUANGHU_RECORD_NUMBER",
"account_isolation": "DOMAIN_HOST_USERNAME_SHA256_SCOPE",
"canonical_state": "APPEND_ONLY_HASH_CHAINED_JSON_EVENTS",
"acceleration_state": "REBUILDABLE_VERIFIED_SNAPSHOT_AND_SECONDARY_INDEXES",
"concurrency": "EXPECTED_EXACT_REVISION",
"durability": "TEMP_WRITE_FSYNC_ATOMIC_RENAME",
"tamper_policy": "FAIL_CLOSED",
"sqlite_boundary": "MIGRATION_SOURCE_ONLY_NOT_RUNTIME_CANON",
"knowledge_protocol": {
"collection_number": "HLP-KB-INDEX-0001",
"fuzzy_stage": "QUERY_MAPPING_TERM_INDEX_WITHOUT_READING_DOCUMENT_BODIES",
"candidate_limit": 3,
"exact_stage": "READ_DOCUMENT_ONLY_AFTER_EXACT_DOCUMENT_NUMBER_SELECTION",
"thought_fields": [
"trigger",
"emergence",
"lock",
"why",
"rejected",
"sources"
],
"content_change": "INVALIDATE_DERIVED_THOUGHT_INDEX",
"compiler_route": "EXPLICIT_VERIFIED_HUMAN_OR_CHANNEL_PERSONA_COMPILE_OPERATION"
},
"secret_policy": {
"api_keys_in_numbered_store": false,
"api_keys_in_export_or_sync": false,
"provider_secrets": "ACCOUNT_SCOPED_OS_KEYCHAIN_ONLY"
}
}

View file

@ -68,6 +68,7 @@
"get_persona_channel_body",
"get_channel_growth_snapshot",
"get_education_workspace_snapshot",
"get_education_broadcast_tower",
"import_education_tables_from_dialog",
"get_education_recognition_capability",
"get_web_novel_workspace_snapshot",
@ -110,6 +111,7 @@
"read_knowledge_document",
"select_mobile_codex_thread",
"search_knowledge",
"compile_knowledge_thought_index",
"save_knowledge_document",
"export_knowledge_document",
"create_knowledge_document",
@ -142,6 +144,11 @@
"record_channel_growth_event",
"update_channel_growth_sharing",
"create_education_document",
"register_education_participant",
"create_education_learning_plan",
"transition_education_learning_plan",
"issue_education_push_ticket",
"claim_education_push_ticket",
"read_education_document",
"save_education_document",
"archive_education_document",
@ -2387,6 +2394,83 @@
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "STATE_CHANGE",
"payload_schema": "hololake.numbered-ipc.payload/select_mobile_codex_thread/v1"
},
{
"operation_number": "HLP-NIPC-OP-0178",
"alias": "compile_knowledge_thought_index",
"handler": "knowledge_base::compile_knowledge_thought_index",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0018",
"target_number": "HLP-NIPC-TGT-0018",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "STATE_CHANGE",
"payload_schema": "hololake.numbered-ipc.payload/compile_knowledge_thought_index/v1"
},
{
"operation_number": "HLP-NIPC-OP-0179",
"alias": "get_education_broadcast_tower",
"handler": "education_broadcast_tower::get_snapshot",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0024",
"target_number": "HLP-NIPC-TGT-0024",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "READ_OR_STATUS",
"payload_schema": "hololake.numbered-ipc.payload/get_education_broadcast_tower/v1"
},
{
"operation_number": "HLP-NIPC-OP-0180",
"alias": "register_education_participant",
"handler": "education_broadcast_tower::register_participant",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0024",
"target_number": "HLP-NIPC-TGT-0024",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "STATE_CHANGE",
"payload_schema": "hololake.numbered-ipc.payload/register_education_participant/v1"
},
{
"operation_number": "HLP-NIPC-OP-0181",
"alias": "create_education_learning_plan",
"handler": "education_broadcast_tower::create_learning_plan",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0024",
"target_number": "HLP-NIPC-TGT-0024",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "STATE_CHANGE",
"payload_schema": "hololake.numbered-ipc.payload/create_education_learning_plan/v1"
},
{
"operation_number": "HLP-NIPC-OP-0182",
"alias": "transition_education_learning_plan",
"handler": "education_broadcast_tower::transition_learning_plan",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0024",
"target_number": "HLP-NIPC-TGT-0024",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "STATE_CHANGE",
"payload_schema": "hololake.numbered-ipc.payload/transition_education_learning_plan/v1"
},
{
"operation_number": "HLP-NIPC-OP-0183",
"alias": "issue_education_push_ticket",
"handler": "education_broadcast_tower::issue_push_ticket",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0024",
"target_number": "HLP-NIPC-TGT-0024",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "STATE_CHANGE",
"payload_schema": "hololake.numbered-ipc.payload/issue_education_push_ticket/v1"
},
{
"operation_number": "HLP-NIPC-OP-0184",
"alias": "claim_education_push_ticket",
"handler": "education_broadcast_tower::claim_push_ticket",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0024",
"target_number": "HLP-NIPC-TGT-0024",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "STATE_CHANGE",
"payload_schema": "hololake.numbered-ipc.payload/claim_education_push_ticket/v1"
}
]
}