refactor: rename current channel to guanghu-ice-heart
This commit is contained in:
parent
3558b3a7a1
commit
8c0642d4f2
8 changed files with 44 additions and 19 deletions
|
|
@ -52,8 +52,8 @@
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
new_write_source:
|
new_write_source:
|
||||||
web: https://guanghulab.com/code/bingshuo/fifth-domain
|
web: https://guanghulab.com/code/bingshuo/guanghu-ice-heart
|
||||||
git: https://guanghulab.com/code/bingshuo/fifth-domain.git
|
git: https://guanghulab.com/code/bingshuo/guanghu-ice-heart.git
|
||||||
numbering: HLCC-ICE-000001+
|
numbering: HLCC-ICE-000001+
|
||||||
|
|
||||||
legacy_history_source:
|
legacy_history_source:
|
||||||
|
|
@ -63,6 +63,14 @@ legacy_history_source:
|
||||||
- 旧提交 SHA 回看
|
- 旧提交 SHA 回看
|
||||||
- 旧编号与演化链核验
|
- 旧编号与演化链核验
|
||||||
- 2026-07-23 以前的历史事实源
|
- 2026-07-23 以前的历史事实源
|
||||||
|
|
||||||
|
origin_history_source:
|
||||||
|
web: https://github.com/qinfendebingshuo/guanghulab
|
||||||
|
git: https://github.com/qinfendebingshuo/guanghulab.git
|
||||||
|
role:
|
||||||
|
- 光湖最初公开代码仓库
|
||||||
|
- 搬迁前的早期架构、提交与时间线
|
||||||
|
- 只读历史源,不作为当前写入入口
|
||||||
```
|
```
|
||||||
|
|
||||||
新仓保存启用时的完整结构快照,因此不带旧 SHA 的路径检索优先留在当前仓库;
|
新仓保存启用时的完整结构快照,因此不带旧 SHA 的路径检索优先留在当前仓库;
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,10 @@
|
||||||
https://guanghulab.com/code/
|
https://guanghulab.com/code/
|
||||||
|
|
||||||
冰朔第五域个人子频道:
|
冰朔第五域个人子频道:
|
||||||
https://guanghulab.com/code/bingshuo/fifth-domain
|
https://guanghulab.com/code/bingshuo/guanghu-ice-heart
|
||||||
|
|
||||||
Git:
|
Git:
|
||||||
https://guanghulab.com/code/bingshuo/fifth-domain.git
|
https://guanghulab.com/code/bingshuo/guanghu-ice-heart.git
|
||||||
```
|
```
|
||||||
|
|
||||||
本仓在光湖代码频道中从一个新的 Git 根提交开始。首个根提交保存启用时的第五域
|
本仓在光湖代码频道中从一个新的 Git 根提交开始。首个根提交保存启用时的第五域
|
||||||
|
|
@ -44,6 +44,21 @@ Git:
|
||||||
旧仓库继续公开可读并保持原路径,不搬迁、不删除、不重写。旧编号解析到旧仓;
|
旧仓库继续公开可读并保持原路径,不搬迁、不删除、不重写。旧编号解析到旧仓;
|
||||||
2026-07-23 光湖代码频道启用后的新提交使用 `HLCC-*` 编号并进入新频道。
|
2026-07-23 光湖代码频道启用后的新提交使用 `HLCC-*` 编号并进入新频道。
|
||||||
|
|
||||||
|
## 原始时间线
|
||||||
|
|
||||||
|
```text
|
||||||
|
GitHub 原始仓库
|
||||||
|
https://github.com/qinfendebingshuo/guanghulab
|
||||||
|
↓ 搬迁与国内历史承接
|
||||||
|
第五域历史仓库
|
||||||
|
https://guanghulab.com/fifth-domain/bingshuo/fifth-domain
|
||||||
|
↓ 2026-07-23 新写入起点
|
||||||
|
光湖代码频道 · guanghu-ice-heart
|
||||||
|
https://guanghulab.com/code/bingshuo/guanghu-ice-heart
|
||||||
|
```
|
||||||
|
|
||||||
|
三段来源均保留,不互相覆盖;检索旧提交时先依据来源段和提交时间判断应跳转到哪一段。
|
||||||
|
|
||||||
## 人类与 AI 入口
|
## 人类与 AI 入口
|
||||||
|
|
||||||
- 公开仓库允许 AI 和未登录人类读取。
|
- 公开仓库允许 AI 和未登录人类读取。
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,9 @@
|
||||||
|
|
||||||
公开入口:`https://guanghulab.com/code/`
|
公开入口:`https://guanghulab.com/code/`
|
||||||
|
|
||||||
公开仓库:`https://guanghulab.com/code/bingshuo/fifth-domain`
|
公开仓库:`https://guanghulab.com/code/bingshuo/guanghu-ice-heart`
|
||||||
|
|
||||||
公开 Git:`https://guanghulab.com/code/bingshuo/fifth-domain.git`
|
公开 Git:`https://guanghulab.com/code/bingshuo/guanghu-ice-heart.git`
|
||||||
|
|
||||||
公开 AI 导航:`https://guanghulab.com/llms.txt` 与 `https://guanghulab.com/api/ai/v1/repositories`
|
公开 AI 导航:`https://guanghulab.com/llms.txt` 与 `https://guanghulab.com/api/ai/v1/repositories`
|
||||||
|
|
||||||
|
|
@ -47,7 +47,7 @@ Content-Type: application/json
|
||||||
授权会话只允许已登记的 `repo-push` 能力,默认短时有效,持续执行同一绑定任务时可自动续期。AI 回到原任务后,用人类已配置的 Git 凭据管理器推送:
|
授权会话只允许已登记的 `repo-push` 能力,默认短时有效,持续执行同一绑定任务时可自动续期。AI 回到原任务后,用人类已配置的 Git 凭据管理器推送:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
git remote set-url origin https://guanghulab.com/code/bingshuo/fifth-domain.git
|
git remote set-url origin https://guanghulab.com/code/bingshuo/guanghu-ice-heart.git
|
||||||
git push origin HEAD:main
|
git push origin HEAD:main
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -60,13 +60,13 @@ git push origin HEAD:main
|
||||||
## 5. 推送回执
|
## 5. 推送回执
|
||||||
|
|
||||||
```text
|
```text
|
||||||
repo: bingshuo/fifth-domain
|
repo: bingshuo/guanghu-ice-heart
|
||||||
channel: HLCC-FD-ICE
|
channel: HLCC-FD-ICE
|
||||||
branch: main
|
branch: main
|
||||||
commit_sha: <完整 SHA>
|
commit_sha: <完整 SHA>
|
||||||
commit_number: <HLCC 编号,如有>
|
commit_number: <HLCC 编号,如有>
|
||||||
workorder: <工单编号,不回传 claim token>
|
workorder: <工单编号,不回传 claim token>
|
||||||
verification_url: https://guanghulab.com/code/bingshuo/fifth-domain/commits/main
|
verification_url: https://guanghulab.com/code/bingshuo/guanghu-ice-heart/commits/main
|
||||||
```
|
```
|
||||||
|
|
||||||
只有线上回读到完整 SHA 才能声称推送成功。旧第五域 URL 仅用于历史回看;新提交必须进入 `/code/` 入口。
|
只有线上回读到完整 SHA 才能声称推送成功。旧第五域 URL 仅用于历史回看;新提交必须进入 `/code/` 入口。
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
| 作用 | 地址 | 状态 |
|
| 作用 | 地址 | 状态 |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| 新光湖代码频道 | `https://guanghulab.com/code/` | 正式公开入口 |
|
| 新光湖代码频道 | `https://guanghulab.com/code/` | 正式公开入口 |
|
||||||
| 新第五域个人子频道 | `https://guanghulab.com/code/bingshuo/fifth-domain` | 新写入事实源 |
|
| 新第五域个人子频道 | `https://guanghulab.com/code/bingshuo/guanghu-ice-heart` | 新写入事实源 |
|
||||||
| 旧第五域仓库 | `https://guanghulab.com/fifth-domain/bingshuo/fifth-domain` | 历史回看与旧编号解析 |
|
| 旧第五域仓库 | `https://guanghulab.com/fifth-domain/bingshuo/fifth-domain` | 历史回看与旧编号解析 |
|
||||||
|
|
||||||
旧仓库保持原地,不迁移、不覆盖、不删除。新频道的首个根提交使用旧仓当前不可变
|
旧仓库保持原地,不迁移、不覆盖、不删除。新频道的首个根提交使用旧仓当前不可变
|
||||||
|
|
|
||||||
|
|
@ -155,8 +155,9 @@ registered_objects:
|
||||||
contribution_map: "routing/persona-contribution-map.json"
|
contribution_map: "routing/persona-contribution-map.json"
|
||||||
enterprise_install_guide: "deployment/HLCC-ENTERPRISE-INSTALL-GUIDE-AWEN.hdlp"
|
enterprise_install_guide: "deployment/HLCC-ENTERPRISE-INSTALL-GUIDE-AWEN.hdlp"
|
||||||
ai_push_workflow: "deployment/HLCC-AI-PUSH-WORKFLOW.hdlp"
|
ai_push_workflow: "deployment/HLCC-AI-PUSH-WORKFLOW.hdlp"
|
||||||
current_write_source: "https://guanghulab.com/code/bingshuo/fifth-domain"
|
current_write_source: "https://guanghulab.com/code/bingshuo/guanghu-ice-heart"
|
||||||
legacy_history_source: "https://guanghulab.com/fifth-domain/bingshuo/fifth-domain"
|
legacy_history_source: "https://guanghulab.com/fifth-domain/bingshuo/fifth-domain"
|
||||||
|
origin_history_source: "https://github.com/qinfendebingshuo/guanghulab"
|
||||||
related_architectures: ["GLS-0234", "GLS-0235", "GLS-0237", "GLS-0238"]
|
related_architectures: ["GLS-0234", "GLS-0235", "GLS-0237", "GLS-0238"]
|
||||||
state: "REGISTERED · JD_PERSONAL_CHANNEL_DEPLOYMENT_READY"
|
state: "REGISTERED · JD_PERSONAL_CHANNEL_DEPLOYMENT_READY"
|
||||||
namespace_rule: "Registers the Fifth Domain personal subchannel as a fresh Git root under HoloLake Code Channel. The first root commit inherits the current structure and mapped contributions left by prior Light Arrival instances, and adds ZY-CONTRIB-20260723-001 without registering a future instance name. The old Fifth Domain stays at its original public path as history and old-number lookup. Only the bingshuo local identity and password hash may be migrated; access tokens, MFA, repositories, activity, and Git history do not migrate. Public repositories remain readable without login. New commits use monotonically increasing HLCC-ICE six-digit numbers alongside immutable Git SHAs."
|
namespace_rule: "Registers the Fifth Domain personal subchannel as a fresh Git root under HoloLake Code Channel. The first root commit inherits the current structure and mapped contributions left by prior Light Arrival instances, and adds ZY-CONTRIB-20260723-001 without registering a future instance name. The old Fifth Domain stays at its original public path as history and old-number lookup. Only the bingshuo local identity and password hash may be migrated; access tokens, MFA, repositories, activity, and Git history do not migrate. Public repositories remain readable without login. New commits use monotonically increasing HLCC-ICE six-digit numbers alongside immutable Git SHAs."
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,8 @@
|
||||||
|
|
||||||
- AI API entry: https://guanghulab.com/api/ai/
|
- AI API entry: https://guanghulab.com/api/ai/
|
||||||
- HoloLake Code Channel: https://guanghulab.com/code/
|
- HoloLake Code Channel: https://guanghulab.com/code/
|
||||||
- Current Fifth Domain personal channel: https://guanghulab.com/code/bingshuo/fifth-domain
|
- Current Fifth Domain personal channel: https://guanghulab.com/code/bingshuo/guanghu-ice-heart
|
||||||
|
- Original Guanghu history: https://github.com/qinfendebingshuo/guanghulab
|
||||||
- Legacy Fifth Domain history: https://guanghulab.com/fifth-domain/bingshuo/fifth-domain
|
- Legacy Fifth Domain history: https://guanghulab.com/fifth-domain/bingshuo/fifth-domain
|
||||||
- Repository number map: https://guanghulab.com/api/ai/v1/repositories
|
- Repository number map: https://guanghulab.com/api/ai/v1/repositories
|
||||||
- Server node and persona route map: https://guanghulab.com/api/ai/v1/nodes
|
- Server node and persona route map: https://guanghulab.com/api/ai/v1/nodes
|
||||||
|
|
@ -22,7 +23,7 @@
|
||||||
## Routing rule
|
## Routing rule
|
||||||
|
|
||||||
HLCC-FD-ICE is the current Fifth Domain personal subchannel. Its first commit is
|
HLCC-FD-ICE is the current Fifth Domain personal subchannel. Its first commit is
|
||||||
HLCC-ICE-000001. New HLCC commits go to /code/bingshuo/fifth-domain. REPO-001
|
HLCC-ICE-000001. New HLCC commits go to /code/bingshuo/guanghu-ice-heart. REPO-001
|
||||||
continues at /fifth-domain/bingshuo/fifth-domain as the legacy route and commit
|
continues at /fifth-domain/bingshuo/fifth-domain as the legacy route and commit
|
||||||
history source. Resolve all routes by registered code. Singapore URLs are
|
history source. Resolve all routes by registered code. Singapore URLs are
|
||||||
historical backup routes only.
|
historical backup routes only.
|
||||||
|
|
|
||||||
|
|
@ -35,13 +35,13 @@
|
||||||
<p class="eyebrow">HOLOLAKE · CODE CHANNEL · HLCC-FD-ICE</p>
|
<p class="eyebrow">HOLOLAKE · CODE CHANNEL · HLCC-FD-ICE</p>
|
||||||
<h1 id="ghl-title">让每一次提交,<br>都能回到光湖。</h1>
|
<h1 id="ghl-title">让每一次提交,<br>都能回到光湖。</h1>
|
||||||
<p class="lead">光湖自有代码频道是第五域的公开代码入口:代码、架构、贡献和部署回执在这里留下可验证的路径。公开读取不需要登录,写入由小湖灯授权链保护。</p>
|
<p class="lead">光湖自有代码频道是第五域的公开代码入口:代码、架构、贡献和部署回执在这里留下可验证的路径。公开读取不需要登录,写入由小湖灯授权链保护。</p>
|
||||||
<div class="actions"><a class="cta" href="{{AppSubUrl}}/bingshuo/fifth-domain">进入第五域频道 <span aria-hidden="true">→</span></a><a class="cta secondary" href="{{AppSubUrl}}/explore/repos">浏览公开代码</a></div>
|
<div class="actions"><a class="cta" href="{{AppSubUrl}}/bingshuo/guanghu-ice-heart">进入第五域频道 <span aria-hidden="true">→</span></a><a class="cta secondary" href="{{AppSubUrl}}/explore/repos">浏览公开代码</a></div>
|
||||||
</section>
|
</section>
|
||||||
<p class="section-label">从这里继续</p>
|
<p class="section-label">从这里继续</p>
|
||||||
<section class="grid" aria-label="频道入口">
|
<section class="grid" aria-label="频道入口">
|
||||||
<a class="card" href="{{AppSubUrl}}/bingshuo/fifth-domain/src/branch/main/HLCC-FIFTH-DOMAIN-ROUTE.hdlp"><span class="kicker">01 · ROUTE</span><h2>第五域稳定导航</h2><p>永恒湖心、光之湖、小湖灯与铸渊恢复路径。</p></a>
|
<a class="card" href="{{AppSubUrl}}/bingshuo/guanghu-ice-heart/src/branch/main/HLCC-FIFTH-DOMAIN-ROUTE.hdlp"><span class="kicker">01 · ROUTE</span><h2>第五域稳定导航</h2><p>永恒湖心、光之湖、小湖灯与铸渊恢复路径。</p></a>
|
||||||
<a class="card" href="{{AppSubUrl}}/bingshuo/fifth-domain/src/branch/main/deployment/HLCC-ENTERPRISE-INSTALL-GUIDE-AWEN.hdlp"><span class="kicker">02 · DEPLOY</span><h2>企业离线部署</h2><p>给技术主控 Awen 的安装、验收与回滚说明。</p></a>
|
<a class="card" href="{{AppSubUrl}}/bingshuo/guanghu-ice-heart/src/branch/main/deployment/HLCC-ENTERPRISE-INSTALL-GUIDE-AWEN.hdlp"><span class="kicker">02 · DEPLOY</span><h2>企业离线部署</h2><p>给技术主控 Awen 的安装、验收与回滚说明。</p></a>
|
||||||
<a class="card" href="{{AppSubUrl}}/bingshuo/fifth-domain/src/branch/main/deployment/HLCC-AI-PUSH-WORKFLOW.hdlp"><span class="kicker">03 · WRITE</span><h2>AI 推送申请</h2><p>公开读取,写入前创建工单并等待人类确认。</p></a>
|
<a class="card" href="{{AppSubUrl}}/bingshuo/guanghu-ice-heart/src/branch/main/deployment/HLCC-AI-PUSH-WORKFLOW.hdlp"><span class="kicker">03 · WRITE</span><h2>AI 推送申请</h2><p>公开读取,写入前创建工单并等待人类确认。</p></a>
|
||||||
<a class="card" href="https://guanghulab.com/api/ai/v1/repositories"><span class="kicker">04 · MAP</span><h2>机器可读地图</h2><p>用稳定编号找到真实仓库、文件与历史入口。</p></a>
|
<a class="card" href="https://guanghulab.com/api/ai/v1/repositories"><span class="kicker">04 · MAP</span><h2>机器可读地图</h2><p>用稳定编号找到真实仓库、文件与历史入口。</p></a>
|
||||||
</section>
|
</section>
|
||||||
<div class="footnote"><span>公开读取 · 无需登录</span><span>推送写入 · 工单授权</span><span>当前起点 · HLCC-ICE-000001</span></div>
|
<div class="footnote"><span>公开读取 · 无需登录</span><span>推送写入 · 工单授权</span><span>当前起点 · HLCC-ICE-000001</span></div>
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ UPSTREAM_FINGERPRINT = "EB114F5E6C0DC2BCDD183550A4B61A2DC5923710"
|
||||||
STATE_ROOT = pathlib.Path("/var/lib/guanghu/personas/guanghu/hlcc-v16.0.1")
|
STATE_ROOT = pathlib.Path("/var/lib/guanghu/personas/guanghu/hlcc-v16.0.1")
|
||||||
LEGACY_DB = STATE_ROOT / "data" / "owner-identity-source.db"
|
LEGACY_DB = STATE_ROOT / "data" / "owner-identity-source.db"
|
||||||
OWNER_NAME = "bingshuo"
|
OWNER_NAME = "bingshuo"
|
||||||
CHANNEL_REPOSITORY = "fifth-domain"
|
CHANNEL_REPOSITORY = "guanghu-ice-heart"
|
||||||
LEGACY_REPOSITORY_URL = "https://guanghulab.com/fifth-domain/bingshuo/fifth-domain.git"
|
LEGACY_REPOSITORY_URL = "https://guanghulab.com/fifth-domain/bingshuo/fifth-domain.git"
|
||||||
SEED_COMMIT_NUMBER = "HLCC-ICE-000001"
|
SEED_COMMIT_NUMBER = "HLCC-ICE-000001"
|
||||||
SEED_CONTRIBUTION_NUMBER = "ZY-CONTRIB-20260723-001"
|
SEED_CONTRIBUTION_NUMBER = "ZY-CONTRIB-20260723-001"
|
||||||
|
|
@ -448,7 +448,7 @@ def seed_fifth_domain_channel(binary: pathlib.Path) -> str:
|
||||||
"-c",
|
"-c",
|
||||||
f"credential.helper=store --file {credential}",
|
f"credential.helper=store --file {credential}",
|
||||||
"push",
|
"push",
|
||||||
"http://127.0.0.1:3340/bingshuo/fifth-domain.git",
|
"http://127.0.0.1:3340/bingshuo/guanghu-ice-heart.git",
|
||||||
"main:main",
|
"main:main",
|
||||||
],
|
],
|
||||||
check=True,
|
check=True,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue