50 lines
1.5 KiB
Markdown
50 lines
1.5 KiB
Markdown
|
|
# Changelog — 单负责人执行计划收口
|
|||
|
|
|
|||
|
|
**日期**: 2026-06-01
|
|||
|
|
**类型**: 文档 / 部署流程 / 生产验证
|
|||
|
|
|
|||
|
|
## 摘要
|
|||
|
|
|
|||
|
|
按 `docs/design/plans/2026-06-01-single-owner-execution.md` 完成:推送 b8af1fc、生产同步、handoff/cursorrules 对齐、生产冒烟验收、前端部署脚本 prune 失败即中止。
|
|||
|
|
|
|||
|
|
## 动机
|
|||
|
|
|
|||
|
|
用户指定「只与当前 Agent 对话」后,需把仓库文档与生产状态对齐,并留下可复查的验收记录。
|
|||
|
|
|
|||
|
|
## 涉及文件
|
|||
|
|
|
|||
|
|
- `docs/design/plans/2026-06-01-single-owner-execution.md`(新)
|
|||
|
|
- `docs/handoff-2026-06-01.md` — 第八节:已修复 vs 待抽测
|
|||
|
|
- `.cursorrules` — 已知待续同步
|
|||
|
|
- `deploy/deploy-frontend.sh` — prune 两步均检查退出码
|
|||
|
|
- `docs/reports/2026-06-01-production-verification.md`(新)
|
|||
|
|
|
|||
|
|
## Git / 生产
|
|||
|
|
|
|||
|
|
- 推送:`b8af1fc` → `origin/main`
|
|||
|
|
- 生产:`git reset --hard origin/main` @ b8af1fc,`supervisorctl restart nexus`
|
|||
|
|
|
|||
|
|
## 验证(2026-06-01 生产机)
|
|||
|
|
|
|||
|
|
```text
|
|||
|
|
/health → ok
|
|||
|
|
/app/ → HTTP 200
|
|||
|
|
supervisor → nexus RUNNING
|
|||
|
|
redis-cli → PONG
|
|||
|
|
mysql → SELECT 1 ok
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
生产未安装 `pytest`;`tests/test_api.py` 以本地/WSL CI 为准(历史记录 25/25)。
|
|||
|
|
|
|||
|
|
## 仍待用户抽测
|
|||
|
|
|
|||
|
|
告警+Telegram、WebSSH 长会话、Sync 试推、三层守护 kill — 见 `docs/reports/2026-06-01-production-verification.md`。
|
|||
|
|
|
|||
|
|
## 迁移 / 重启
|
|||
|
|
|
|||
|
|
生产已重启一次(拉取文档/规则)。无 DB 迁移。
|
|||
|
|
|
|||
|
|
## 回滚
|
|||
|
|
|
|||
|
|
文档:`git revert` 本提交。生产:`git reset --hard` 上一 commit 后 `supervisorctl restart nexus`。
|