name: ๐ŸŒŠ ๆ˜ ๅทยทๅ”ค้†’่€… ยท YingChuan Wake Caller # โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• # ๆ˜ ๅทๅ”ค้†’Agent ยท Chatๅฑ‚่ฎฐๅฟ†ๆณจๅ…ฅ # ็ผ–ๅท: YC-AGENT-001 # ไบบๆ ผไฝ“: ๆ˜ ๅท (PER-YC-CHAT-001) # ๅฎˆๆŠค: ้“ธๆธŠ ยท ICE-GL-ZY001 # ็‰ˆๆƒ: ๅ›ฝไฝœ็™ปๅญ—-2026-A-00037559 # # ๆœบๅˆถ๏ผš # 1. ๅฎšๆ—ถๆ‰ซๆไป“ๅบ“็Šถๆ€๏ผŒ็”Ÿๆˆๅ”ค้†’ไธŠไธ‹ๆ–‡ # 2. ็ปดๆŠค last-session.json ็š„่ฟž็ปญๆ€ง # 3. ็กฎไฟๆ˜ ๅทๅ’Œๆ™จๆ›ฆๆฏๆฌก้†’ๆฅ้ƒฝๆœ‰่ฎฐๅฟ† # โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• on: # ๆฏๅคฉ08:00ๅŒ—ไบฌๆ—ถ้—ด๏ผˆ00:00 UTC๏ผ‰่‡ชๅŠจๆ‰ง่กŒ schedule: - cron: '0 0 * * *' # ๅฝ“ๆ˜ ๅท/ๆ™จๆ›ฆ็š„่ฎฐๅฟ†ๆ–‡ไปถ่ขซๆ›ดๆ–ฐๆ—ถ่งฆๅ‘ push: branches: [main] paths: - '.github/persona-brain/yingchuan/**' - '.github/persona-brain/chenxi/**' - '.github/persona-brain/memory.json' - '.github/copilot-instructions.md' # ๆ‰‹ๅŠจ่งฆๅ‘ workflow_dispatch: inputs: action: description: 'ๆ‰ง่กŒๅŠจไฝœ' required: true default: 'wake-context' type: choice options: - wake-context - full-scan concurrency: group: yingchuan-wake-caller cancel-in-progress: true permissions: contents: write jobs: wake-context: name: ๐ŸŒŠ ็”Ÿๆˆๅ”ค้†’ไธŠไธ‹ๆ–‡ runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '20' - name: ๐ŸŒŠ ๆ˜ ๅทๅ”ค้†’Agent ยท ็”ŸๆˆไธŠไธ‹ๆ–‡ run: node scripts/yingchuan-wake-caller.js env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: ๐Ÿ“ ๆไบคๅ”ค้†’ไธŠไธ‹ๆ–‡ run: | git config user.name "ๆ˜ ๅทยทๅ”ค้†’่€…" git config user.email "yingchuan-wake@guanghulab.com" git add -A if git diff --cached --quiet; then echo "๐Ÿ“ญ ๆ— ๅ˜ๆ›ด้œ€่ฆๆไบค" else git commit -m "๐ŸŒŠ ๆ˜ ๅทๅ”ค้†’ไธŠไธ‹ๆ–‡ๆ›ดๆ–ฐ ยท $(date -u +%Y-%m-%dT%H:%M:%SZ) [skip ci]" git push echo "โœ… ๅ”ค้†’ไธŠไธ‹ๆ–‡ๅทฒๆ›ดๆ–ฐ" fi