Files
xc_agent_platform_demo/docs/issues.md
VC_noSugar 0d0f3b611a Phase1 skeleton: replace demo main.py with src.server contract
- Overlay ModelHub XC Phase1 (health/status, STRATEGY_ID gate, dry-run)
- Dockerfile CMD -> python -m src.server; FROM stays platform TCR base
- Remove demo main.py and requirements.txt (stdlib only)
- Add tests/, scripts/, docs/, Makefile, config/examples (no secrets)
2026-10-16 15:47:10 +08:00

48 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Issue / Phase 清单
对齐 PRD M0–M4 与产品规划 Phase 0–5。
## Phase / Milestone 映射
| Phase(产品规划) | PRD | 状态(本仓) |
|-------------------|-----|--------------|
| Phase 0 调研冻结 | M0 | 文档已落 `docs/` |
| Phase 1 本地可部署样例 | M1 | **本轮交付** |
| Phase 2 Dry-run 闭环 | M2 | 骨架:`scripts/dry_run.py`;**待对接 pending-submit**:A→B / PASS / 硬门尚未自动核验 |
| Phase 3 人工注册 + 只读探针 | M3 | 仅 runbook / api-probe-design;**不代注册** |
| Phase 4 一次 live 验证 | M4 | 闸门已备;**无真实客户端** |
| Phase 5 规模化 | — | 未开 |
## P0 Issues
- [x] docs: 冻结智能体平台契约(health/STRATEGY_ID/SIGTERM/资源)
- [x] docs: 对照 xc_agent_platform_demo 写 diff-vs-demo
- [x] chore: 初始化 Dockerfile / Makefile / example.env
- [x] feat: GET /health 200 + STRATEGY_ID 校验(缺则启动失败)
- [x] feat: SIGTERM 优雅退出(≤30s;测试 <5s)
- [x] feat: dry-run 报告生成器(默认模式)
- [x] feat: live 人工确认闸门 + 单测(默认拒绝)
- [x] docs: 注册智能体 runbook — 仅人工
- [x] chore: tag_release(只打本地 tag,不 push / 不注册)
- [x] docs: api-probe-design(禁止代调写接口)
Phase1 构建与运行验收须独立记录;环境阻塞不等于通过。
## P1(未做)
- [ ] 对接 `/workspace/modelhub-adapt/pending-submit.md` A→B 只读
- [ ] 结构化 JSON 日志(禁密钥)
- [ ] evidence-agent 模板填写
## P2(未做)
- [ ] 贡献台账 CSV
- [ ] 多 Tag 矩阵
## 硬边界(持续)
- 无 register / submit / deploy / push Makefile 目标
- 无 `/agent_platform/strategies*` 写调用
- 无 `/api/adapt/task/add` 真客户端
- 适配 W1 优先;不抢队列