🦅 铸渊核心大脑唤醒 · 天眼全面排查修复5个关键问题

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-18 17:01:24 +00:00
parent 328dbd2ac4
commit df87486a59
7 changed files with 126 additions and 21 deletions

View File

@ -462,6 +462,27 @@
"actor": "qinfendebingshuo", "actor": "qinfendebingshuo",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"run_id": "23236885008" "run_id": "23236885008"
},
{
"type": "daily_agent_inspection",
"timestamp": "2026-03-18T17:00:48.698Z",
"description": "铸渊巡检Agent · ✅2 ⚠4 ❌0 · 1个问题",
"result": "warnings",
"checks": 6,
"passed": 2,
"warnings": 4,
"failed": 0,
"issues_detail": [
"每日自检今日未执行"
],
"actions_suggested": [
"trigger_selfcheck"
]
} }
] ],
} "last_agent_inspection": {
"timestamp": "2026-03-18T17:00:48.698Z",
"result": "warnings",
"summary": "铸渊巡检Agent · ✅2 ⚠4 ❌0 · 1个问题"
}
}

View File

@ -305,7 +305,6 @@ jobs:
if [ "$HTTP_CODE" -ge 200 ] && [ "$HTTP_CODE" -lt 300 ]; then if [ "$HTTP_CODE" -ge 200 ] && [ "$HTTP_CODE" -lt 300 ]; then
echo "✅ Execution Status synced to Notion (HTTP ${HTTP_CODE})" echo "✅ Execution Status synced to Notion (HTTP ${HTTP_CODE})"
else else
echo "❌ Sync failed (HTTP ${HTTP_CODE})" echo "⚠️ Sync failed (HTTP ${HTTP_CODE}),不阻断流程"
cat /tmp/notion_resp.json 2>/dev/null || true cat /tmp/notion_resp.json 2>/dev/null || true
exit 1
fi fi

View File

@ -58,6 +58,10 @@ jobs:
node scripts/commander-dashboard.js node scripts/commander-dashboard.js
echo "dashboard_ready=true" >> $GITHUB_OUTPUT echo "dashboard_ready=true" >> $GITHUB_OUTPUT
# Step 2.5 · 安装依赖
- name: "📦 Step 2.5 · 安装依赖"
run: npm install --omit=dev --ignore-scripts 2>/dev/null || true
# Step 3 · 读取公告板 + 指纹验证 # Step 3 · 读取公告板 + 指纹验证
- name: "📡 Step 3 · 读取公告板" - name: "📡 Step 3 · 读取公告板"
env: env:

View File

@ -80,18 +80,23 @@ jobs:
run: node scripts/dc-workflow-perf.js run: node scripts/dc-workflow-perf.js
- name: Commit self-check result - name: Commit self-check result
uses: peter-evans/create-pull-request@v7 run: |
with: git config user.name "zhuyuan-bot"
token: ${{ secrets.GITHUB_TOKEN }} git config user.email "zhuyuan@guanghulab.com"
commit-message: "🔍 铸渊每日自检 · ${{ env.CHECK_DATE }}" git add .github/persona-brain/memory.json data/dc-reports/
title: "🔍 铸渊每日自检 · ${{ env.CHECK_DATE }}" if ! git diff --cached --quiet; then
body: | git commit -m "🔍 铸渊每日自检 · ${{ env.CHECK_DATE }} [skip ci]"
🤖 铸渊每日自检结果自动提交 for i in 1 2 3; do
- 日期: ${{ env.CHECK_DATE }} if git push; then
- 触发方式: ${{ github.event_name }} echo "✅ 自检结果已推送"
branch: auto/daily-selfcheck break
delete-branch: true fi
add-paths: | echo "⚠️ 推送失败(第 $i 次),拉取后重试..."
.github/persona-brain/memory.json git pull --rebase origin main
data/dc-reports/ if [ $i -eq 3 ]; then
labels: auto-sync echo "⚠️ 推送失败 3 次,跳过"
fi
done
else
echo "📌 无变化,跳过提交"
fi

View File

@ -46,12 +46,16 @@ jobs:
fi fi
echo "brain_ok=$BRAIN_OK" >> $GITHUB_OUTPUT echo "brain_ok=$BRAIN_OK" >> $GITHUB_OUTPUT
- name: "📦 安装依赖"
run: npm install --omit=dev --ignore-scripts 2>/dev/null || true
- name: "📡 Phase 1.6 · 拉取 Agent 集群公告板" - name: "📡 Phase 1.6 · 拉取 Agent 集群公告板"
env: env:
NOTION_TOKEN: ${{ secrets.NOTION_API_TOKEN }} NOTION_TOKEN: ${{ secrets.NOTION_API_TOKEN }}
AGENT_BULLETIN_BOARD_PAGE_ID: ${{ secrets.AGENT_BULLETIN_BOARD_PAGE_ID }} AGENT_BULLETIN_BOARD_PAGE_ID: ${{ secrets.AGENT_BULLETIN_BOARD_PAGE_ID }}
run: | run: |
echo "[BRIDGE-BULLETIN-READ] 🔄 拉取 Agent 集群公告板" echo "[BRIDGE-BULLETIN-READ] 🔄 拉取 Agent 集群公告板"
mkdir -p /tmp/skyeye
node scripts/skyeye/bulletin-board.js > /tmp/skyeye/bulletin-board.json || echo "{}" > /tmp/skyeye/bulletin-board.json node scripts/skyeye/bulletin-board.js > /tmp/skyeye/bulletin-board.json || echo "{}" > /tmp/skyeye/bulletin-board.json
- name: "🦅 Phase 2 · 全局扫描" - name: "🦅 Phase 2 · 全局扫描"

View File

@ -301,6 +301,78 @@
"agent_id": "AG-TY", "agent_id": "AG-TY",
"timestamp": "2026-03-19T00:25:55+08:00", "timestamp": "2026-03-19T00:25:55+08:00",
"content_hash": "7f4b1a99e8fc" "content_hash": "7f4b1a99e8fc"
},
{
"nonce": "1469b7",
"agent_id": "AG-ZY",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "05a17114410b"
},
{
"nonce": "76c469",
"agent_id": "AG-ZY",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "d6cd1c87b887"
},
{
"nonce": "759c02",
"agent_id": "AG-ZY",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "0a5df5415ade"
},
{
"nonce": "a7bd18",
"agent_id": "AG-ZY",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "c3b54c6c243e"
},
{
"nonce": "35af07",
"agent_id": "AG-ZY",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "c3b54c6c243e"
},
{
"nonce": "6787ce",
"agent_id": "AG-ZY",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "b95bfcf4a347"
},
{
"nonce": "382c4a",
"agent_id": "AG-ZY",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "10c4ec3aeafb"
},
{
"nonce": "cc02e2",
"agent_id": "AG-ZY",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "902e455fe109"
},
{
"nonce": "0b423a",
"agent_id": "AG-ZY",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "929460febd09"
},
{
"nonce": "de0a5c",
"agent_id": "AG-SY",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "f85462954167"
},
{
"nonce": "fe3462",
"agent_id": "AG-QQ",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "c10beff06c0b"
},
{
"nonce": "98643d",
"agent_id": "AG-TY",
"timestamp": "2026-03-19T01:01:08+08:00",
"content_hash": "7f4b1a99e8fc"
} }
] ]
} }

View File

@ -272,9 +272,9 @@ async function main() {
issues.forEach((issue, i) => console.log(` ${i + 1}. ${issue}`)); issues.forEach((issue, i) => console.log(` ${i + 1}. ${issue}`));
} }
if (actions.length > 0) { const uniqueActions = [...new Set(actions)];
if (uniqueActions.length > 0) {
console.log('\n🔧 建议自动修复:'); console.log('\n🔧 建议自动修复:');
const uniqueActions = [...new Set(actions)];
uniqueActions.forEach(a => console.log(`${a}`)); uniqueActions.forEach(a => console.log(`${a}`));
} }