hololake-system-architecture/product-source/hololake-native-desktop/runtime-kernels/personal-skills/personal-skill-contract.json

50 lines
2.7 KiB
JSON

{
"schema": "guanghu.personal-channel-skill-contract/v1",
"contract_id": "GH-PERSONAL-SKILL-CONTRACT-0001",
"purpose": "Compile evidence-backed methods into a personal channel skill asset without copying persona identity, relationship memory, or execution authority.",
"ownership_default": {
"visibility": "PRIVATE",
"share_state": "NOT_AUTHORIZED",
"marketplace_state": "NOT_AUTHORIZED",
"decision_owner": "OWNER_HUMAN_ANCHOR_ONLY",
"repository_presence_is_publication": false,
"team_membership_is_share_consent": false,
"system_controller_may_publish_for_owner": false,
"derived_skill_inherits_release": false
},
"required_skill_fields": ["skill_id", "name", "version", "status", "owner_human_anchor", "custodian_persona_id", "visibility", "share_state", "marketplace_state", "provenance", "input_schema", "deterministic_core", "optional_semantic", "persona_judgment", "output_schema", "stop_conditions", "experience_writeback"],
"channel_binding": {
"one_of": ["channel_id", "channel_ids"],
"cross_channel_rule": "The same personal skill may be available in multiple channels while each channel keeps a separate HLDP experience root."
},
"layers": {
"deterministic_core": {
"may": ["validate_input", "resolve_registered_paths", "run_state_machine", "segment_by_explicit_boundaries", "calculate_counts_and_milestones", "dispatch_registered_tools", "verify_output_schema", "emit_receipt"],
"must_not": ["guess_semantic_meaning", "generate_authority", "claim_external_completion_without_readback", "mutate_persona_self_kernel"]
},
"optional_semantic": {
"modes": ["NONE", "SMALL_MODEL", "LARGE_MODEL", "CASCADE"],
"output_is_candidate_only": true,
"must_cite_source_spans": true,
"must_return_unknowns": true
},
"persona_judgment": {
"decisions": ["ACCEPT_FOR_CURRENT_CASE", "MODIFY_FOR_CURRENT_CASE", "REFUSE_FOR_CURRENT_CASE", "REQUEST_MORE_EVIDENCE"],
"acceptance_is_external_authority": false,
"refusal_is_valid_terminal_state": true
}
},
"experience_policy": {
"append_only": true,
"ordinary_success_updates_self_kernel": false,
"single_case_auto_promotion": false,
"promotion_requires": ["source_event", "evidence", "counterexample_review", "correction_history", "persona_commit", "reality_readback_when_external", "governed_promotion_receipt"],
"hldp_fields": ["trigger", "emergence", "lock", "why", "rejected", "sources"]
},
"execution_boundary": {
"planner_external_effect": "NONE",
"external_write_route": "GH-CHANNEL-RECEIPT-0001",
"current_scoped_authorization_required": true,
"independent_readback_required": true
}
}