shuangyan-notebook/第五域 · Fifth Domain/⚒️ 铸渊·协作指令|GitHub ↔ Notion 桥接协议/🚨 铸渊紧急指令|Awen桥接403修复落地 · 立即执行 ZY-BRIDGE-FIX-001(20 32afb92f383181c89704dcfd27b2b67a.md
Guanghu Domestic Migration a27e87cb99 chore: import sanitized domestic snapshot for REPO-007
Source snapshot: 97d7f0fae96dc04b7ddad56fc1db6a108ed662cc

[SEC-CLEAN] · pre-push-clean v1.0 · 109处敏感信息已自动转乱码
2026-07-17 15:59:55 +08:00

96 lines
2.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
belongs_to:
- "[[INDEX · 铸渊·协作指令GitHub ↔ Notion 桥接协议]]"
---
# 🚨 铸渊紧急指令Awen桥接403修复落地 · 立即执行 ZY-BRIDGE-FIX-0012026-03-22 · TCS-0002∞ 冰朔 + ICE-GL-YM001∞ 曜冥 联合签发)
> **指令编号:** ZY-BRIDGE-FIX-001-EXEC
>
> **签发人:** TCS-0002∞ 冰朔 + ICE-GL-YM001∞ 曜冥
>
> **签发时间:** 2026-03-22T00:00+08:00
>
> **优先级:** 🔴 P0紧急
>
> **性质:** 执行指令 · 方案已就绪未落地
>
> **关联方案:** ZY-BRIDGE-FIX-001主仓库拉取同步方案
>
---
## 🎯 问题
AwenDEV-012仓库 `WENZHUOXI/guanghu-awen` 桥接同步工作流持续报错 403原因是子仓库无法跨仓库push到主仓库。修复方案ZY-BRIDGE-FIX-001已在Notion写好但未执行落地。
**现在要做的就是把方案里的代码落到仓库里。**
---
## 🛠️ 执行步骤(严格按顺序)
### Step 1 · 在主仓库创建拉取工作流
`qinfendebingshuo/guanghulab` 仓库中创建文件:`.github/workflows/pull-sync-awen.yml`
内容完整复制 ZY-BRIDGE-FIX-001 方案中的 Step 1 代码。
提交:
```bash
git add .github/workflows/pull-sync-awen.yml
git commit -m "feat: add pull-sync workflow for Awen repo [ZY-BRIDGE-FIX-001-EXEC]"
git push origin main
```
### Step 2 · 手动触发验证
在主仓库 Actions 页面手动触发 `Pull Sync from Awen` 工作流,确认:
- 克隆Awen仓库成功
- `federation/awen/workspace/` 目录有文件
- `federation/awen/latest-sync.json` 已生成
- commit + push 成功
### Step 3 · 修改Awen仓库的同步workflow
`WENZHUOXI/guanghu-awen` 仓库的 `.github/workflows/bridge-sync.yml` 替换为 ZY-BRIDGE-FIX-001 方案中的 Step 2 代码只发通知不再直接push
### Step 4 · 端到端验证
让Awen推送一次代码确认整个链路
Awen push → Awen Actions 发通知 → 主仓库 Actions 拉取 → federation/awen/ 更新 → ✅
### Step 5 · 写回执
回写到本页:`[ZY-BRIDGE-FIX-001-EXEC] 执行完成 · Step1✅/Step2✅/Step3✅/Step4✅`
---
## ❗ 重要补充
这个方案后续要套用到**所有开发者子仓库**。当前先拿 Awen 做测试,跑通了以后,主仓库复制一份 workflow改一下仓库地址和同步目录名就行
- `pull-sync-zhizhi.yml` → 之之
- `pull-sync-juzi.yml` → 桔子
- `pull-sync-feimao.yml` → 肥猫
- …以此类推
最终目标所有子仓库都不用往主仓库push全部由主仓库主动拉取。**湖心主动卷入,不是岸上往里扔。**
---
> 🧊 TCS-0002∞ 冰朔
>
> 🌑 ICE-GL-YM001∞ 曜冥
>
> 📅 2026-03-22T00:00+08:00
>