Commit Graph

5 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 6f8399fed2 fix: rclone OAuth2 token JSON — use Node.js instead of shell echo to avoid escaping issues [skip ci]
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5987057e-c76e-4db1-b9a5-849a9c70cb4e
2026-03-24 11:29:45 +00:00
copilot-swe-agent[bot] 7d6122a5c8 refactor: OAuth2 代理人重构 · Service Account→OAuth2 全量替换 · ZY-OAUTH2-REBUILD-2026-0324-001 [skip ci]
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/75c92776-b0de-4ee6-86c0-9e774d5ec717
2026-03-24 07:25:56 +00:00
copilot-swe-agent[bot] 6605d47e29 🛰️ [Sky-Eye Audit] address code review: email regex, log fallback, sanitize receipts, use Node.js validation
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/8bc25538-ab95-4520-a72b-ff0d8405c7c7
2026-03-24 02:14:51 +00:00
copilot-swe-agent[bot] 6d493042c5 🛰️ [Sky-Eye Audit] credential validation, hardened error handling, audit workflow
- Add credential-validator.js: reusable JSON structure validator for service account keys
- Add credential-audit.js: full sky-eye audit (credential + dependency scan + YAML check)
- Add skyeye-credential-audit.yml: daily audit workflow
- Harden sync-to-drive.js: use validator with diagnostic reporting
- Harden tcs-semantic-landing.js: add try-catch to buildAuth()
- Harden deploy-drive-bridge.js: add try-catch with receipt writing
- Enhance sync-repo-to-drive.yml: add JSON validation before rclone config
- Enhance self-healer.js: add credential validation + System_Logs directory
- Create System_Logs/ directory for audit reports

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/8bc25538-ab95-4520-a72b-ff0d8405c7c7
2026-03-24 02:12:50 +00:00
copilot-swe-agent[bot] 0edfca6f57 refactor: 移除废弃 sync.yml, 新建 sync-repo-to-drive.yml 宿主机 rclone 同步方案
- 删除: .github/workflows/sync.yml (wei/rclone@v1 持续报错)
- 新建: .github/workflows/sync-repo-to-drive.yml
  - 宿主机直装 rclone (apt-get install)
  - Service Account 凭证: GOOGLE_DRIVE_SERVICE_ACCOUNT
  - 目标文件夹: 1fqWdLPaZkUZYt4OT_h3fJQHnd-q5QN3G
  - 触发: push to main / 每6小时 / 手动
  - 安全: RUNNER_TEMP 存放密钥 + always() 清理

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c117b619-e5e6-4be9-89ae-05b0fda1b0d8
2026-03-24 00:36:59 +00:00