feat(persona): unify system and code channel routes
This commit is contained in:
parent
53564e0fdf
commit
e80ee6d966
29 changed files with 825 additions and 242 deletions
50
routing/code-channel-canonical-map.json
Normal file
50
routing/code-channel-canonical-map.json
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
"schema": "guanghu.code-channel-canonical-map/v1",
|
||||
"map_id": "GH-CODE-CHANNEL-001",
|
||||
"version": "2026-08-03.1",
|
||||
"state": "CURRENT_CANONICAL",
|
||||
"web_root": "https://guanghulab.com/code/",
|
||||
"api_root": "https://guanghulab.com/code/api/v1",
|
||||
"owner": "bingshuo",
|
||||
"default_repository": "REPO-012",
|
||||
"repositories": [
|
||||
{
|
||||
"code": "REPO-012",
|
||||
"slug": "guanghu-ice-heart",
|
||||
"role": "persona_protocol_route_memory_and_receipt_root",
|
||||
"web_url": "https://guanghulab.com/code/bingshuo/guanghu-ice-heart",
|
||||
"clone_url": "https://guanghulab.com/code/bingshuo/guanghu-ice-heart.git",
|
||||
"lease_resource": "repo://guanghulab.com/code/bingshuo/guanghu-ice-heart#main",
|
||||
"default_branch": "main",
|
||||
"push_allowed": true
|
||||
},
|
||||
{
|
||||
"code": "REPO-014",
|
||||
"slug": "hololake-system-architecture",
|
||||
"role": "hololake_architecture_and_product_source",
|
||||
"web_url": "https://guanghulab.com/code/bingshuo/hololake-system-architecture",
|
||||
"clone_url": "https://guanghulab.com/code/bingshuo/hololake-system-architecture.git",
|
||||
"lease_resource": "repo://guanghulab.com/code/bingshuo/hololake-system-architecture#main",
|
||||
"default_branch": "main",
|
||||
"push_allowed": true
|
||||
}
|
||||
],
|
||||
"local_mapping_policy": {
|
||||
"resolve_by_repository_code": true,
|
||||
"never_resolve_by_folder_name": true,
|
||||
"remote_must_match_registered_clone_url_before_push": true,
|
||||
"userinfo_in_remote_url_forbidden": true,
|
||||
"dirty_or_leased_worktree_read_only": true,
|
||||
"historical_clone_must_not_be_repointed_to_unrelated_current_tree": true
|
||||
},
|
||||
"legacy_policy": {
|
||||
"status": "HISTORICAL_READ_ONLY_NO_PUSH",
|
||||
"blocked_prefixes": [
|
||||
"https://guanghulab.com/fifth-domain/",
|
||||
"https://guanghubingshuo.com/"
|
||||
],
|
||||
"rule": "旧地址只作为历史文本和本地证据来源;不得解析为当前远端,不得用于发布、部署或身份恢复。"
|
||||
},
|
||||
"proof_rule": "本映射证明当前路由规范;实际发布仍须取得分支单写租约、通过授权门,并独立回读远端完整提交 SHA。"
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue