# MEMORY.md - Long-term Memory

_This file stores curated memories, decisions, and lessons learned across sessions._

---

## Team Members

- **王冰 (Wang Bing)**: `ou_f442e20fd980363ea486b5a6cd8d2a2f`, `ou_a05710e0f6a4126170ba917d50a20300`
- **吴强 (Wu Qiang)**: `ou_8a2c1fcdea0575a8e45196ab584de627`
- **陈飞 (Chen Fei)**: `ou_741ad7f6c8784bc203c03f055f4c6ea0`

## Notes

- This file is托管在 GitHub 仓库中 `memories/team-workflow/MEMORY.md`
- Changes to this file should be committed and pushed to the repository

## Task Tables

- **Primary Task Tracking**: https://pingcap.feishu.cn/wiki/Fll0wfrEbiLvUfk4QagcBXi0n0g?table=tblDPojnEEtedjIA&view=vewNev6qyJ
- **Oncall Records**: https://pingcap.feishu.cn/wiki/M6UVwB2WKiZhzJkA9NZcxlpknWc?table=tblnZt7BJBTzYMvJ&view=vewfa3loWx

## Feishu Groups

- **Data Service Infra Team Chat**: `oc_f0e4a980f9ec5e0bcf2111856c7e981f` (OpenClaw chat_id)
  - Name: "[Feishu Coding] Data Service Infra"
  - Members: 王冰, 吴强, 陈飞

## GitHub Publish Notes

- For `tidbcloud/data-service-infra-ai-configurations`, the validated GitHub App auth path is:
  - `GITHUB_APP_PRIVATE_KEY_PATH=~/.github/data-service-code-assist.pem`
  - `GITHUB_APP_ID=3002333`
  - `GITHUB_APP_INSTALLATION_ID=113867057`
- Mint token with:
  - `skills/team-common/github-auth/scripts/github-auth.sh tidbcloud/data-service-infra-ai-configurations >/tmp/codex-gh-token`
- When using the token for git operations, strip the trailing newline:
  - `GH_TOKEN=$(tr -d "\n" </tmp/codex-gh-token)`
- Verified push pattern:
  - `git push -u https://x-access-token:${GH_TOKEN}@github.com/tidbcloud/data-service-infra-ai-configurations.git <branch>`
- `gh pr create` may fail with `HTTP 401` even when the installation token works for git and REST API.
- Verified PR creation fallback:
  - `curl -X POST https://api.github.com/repos/tidbcloud/data-service-infra-ai-configurations/pulls` with `Authorization: Bearer ${GH_TOKEN}`
