chore: agent entrypoint + centralized secrets + slimmer handoff doc

- AGENTS.md: AI session entrypoint (task routing table + iron rules)
- SECRETS.md: single credentials file; distributing the project to
  others = delete this one file
- PROJECT_STATE.md: 190 -> 70 lines, credential quick-ref block removed
  (points to SECRETS.md), incident postmortems kept, pitfall details
  delegated to skill/API_INTEGRATION
This commit is contained in:
2026-08-24 22:05:59 +08:00
parent f26164023e
commit fd62775fcd
3 changed files with 114 additions and 172 deletions
+30
View File
@@ -0,0 +1,30 @@
# SECRETS.md — 凭据总表(唯一)
> ⚠️ **本文件随私有仓库入库。把项目发给任何人之前:删除本文件即可完成脱敏。**
> 技术文档里的表 ID / workflow ID 不是机密(没有下面的 token/密码谁也访问不了),留在原处。
## DSM(Synology NAS)
- SSH:`192.168.137.2:9998`(**IP 会漂移**,连不上先探测内网)user `hoelee` / `987][pOIUY/.,mnbVCXZ`
- sudo 免密;docker 命令用 `/usr/local/bin/docker`
- paramiko 只能用密码认证(ed25519 对其 OpenSSH 8.2 失败);sshd 无 SFTP 子系统
## AList(本项目核心服务)
- 容器 `alist-serve-resource`(xhofe/alist v3.63.0),网络 bridge_hoelee
- 地址:Windows 直连 `http://192.168.137.2:5244` · DSM host `http://localhost:5244` · n8n 容器内 `http://alist-serve-resource:5244`
- admin:`hoelee` / `8qiksf6D5JmGJCkfGycR`(2FA 已关)
## NocoDB
- 公网 `https://nocodb.hoelee.com`(⚠ 2026-08-24 起解析/连通未恢复)· 内网 `http://192.168.137.2:10380`
- API token:`nc_pat_mDk7f6t4ZMAYYzv9GDrQvKpSr4oFZyiStxf0wxlL`
- base `AlistAccess` = `p3lzkresswyowqg`
- 元数据库(含业务数据物理表 `nc_jitu___*`):mysql-server 容器,库 `nocodb`,user `nocodb` / `A834EwsSckTHpdXiXH`
## n8n
- 公网 `https://auto.hoelee.com` · 内网 `http://192.168.137.2:5678`
- REST API key:**未记录**(旧速查表已脱敏;需要时从已登录浏览器或 Portainer stack 配置里取)
- 数据库:postgres-server 容器,db `n8n`,user `n8n` / `Hoelee@7296`
- 容器由 **Portainer stack 144** 管理(改 env 必须 rebuild,restart 无效)
## Git 远程
- Gitea:`https://git.hoelee.com/hoelee/alist-serve-resource.git`(先 Gitea 后 GitHub 的惯例)
- 推送令牌:`hoelee:6495a6318ed156fe9a7b0636eb3dc30a3155a4d6`(Basic auth 用)