vault backup: 2026-04-06 23:27:39

This commit is contained in:
Yaojia Wang
2026-04-06 23:27:39 +02:00
parent 7ab3575374
commit ab3263c474
7 changed files with 440 additions and 6 deletions

View File

@@ -211,6 +211,28 @@ cd backend && pytest --cov=app --cov-report=term-missing
cd ../frontend && npm test
```
## 自动编排脚本
项目 `scripts/` 目录下有基于 autonomous-agent-harness 模式的自动化脚本:
| 脚本 | 用途 | 模式 |
|------|------|------|
| `auto-pilot.sh` | 多阶段自动执行(每阶段独立 `claude -p` session | Sequential Pipeline |
| `dev-sequential.sh` | 单功能开发plan → TDD → de-sloppify → verify → commit | Sequential Pipeline |
| `de-sloppify.sh` | 独立清理 pass新上下文 = 无作者偏见) | De-Sloppify |
| `full-verify.sh` | 全套质量门(测试、安全、模块独立性、代码质量) | Verification Pipeline |
| `pr-review-loop.sh` | 自动审查 open PRs | Continuous PR Loop |
| `health-monitor.sh` | 服务健康检查(可配 Windows Task Scheduler | Scheduled Monitor |
| `phases.json` | 声明式阶段定义(任务、验收标准、模式、依赖) | 配置文件 |
**大部分时候不需要外部脚本** — 在 Claude Code 内直接用:
- `/ecc:feature-dev "描述"` — 单功能全流程
- `/gsd:autonomous` — 全项目多阶段自动
脚本只在以下场景使用:上下文窗口不够、无人值守运行、需要 Santa Method 消除作者偏见。
**CLAUDE.md 已更新**Step 2 从 `/ecc:orchestrate`legacy迁移到 `/ecc:feature-dev` + GSD。
## 已知技术债务
- [ ] 认证/授权系统(生产部署前)