Files
ljwx-platform/artifacts/closed-loop/20260303T041046Z/phase-29/local-attempt-1/repair.json
T
bruno 07c05c6823 fix(spec): Phase 54-58 评审问题修复 + commit-push-pr 工具
- Phase 54-58: 修复 ChatGPT 5.3 评审报告中的 12 个问题
  - 严重问题 4 个:XSS 防护、租户隔离、审计语义、公开接口边界
  - 高优先级 5 个:数据源简化、返回模型、配置来源、Promise 处理、backend 标记
  - 中等优先级 3 个:枚举统一、输入边界、SQL 安全加固
- 新增工具:commit-push-pr.sh 和 /cpp slash command
- 文档:添加 commit-push-pr 使用指南

详见: artifacts/closed-loop/20260303T052013Z/phase-54-58-review-fixes-complete.md
2026-03-03 14:23:25 +08:00

43 lines
1.7 KiB
JSON

{
"generatedAt": "2026-03-03T04:13:33Z",
"input": {
"diagnosis": "artifacts/closed-loop/20260303T041046Z/phase-29/local-attempt-1/diagnosis.json",
"recipes": "scripts/ci/repair-recipes.yaml"
},
"summary": {
"planned": 2,
"applied": 2,
"passed": 1,
"failed": 1
},
"actions": [
{
"id": "codegen-openapi",
"check": "codegen",
"category": "B",
"mode": "auto",
"cmd": "if [ -x scripts/tools/export-openapi.sh ]; then bash scripts/tools/export-openapi.sh; else echo 'codegen recipe skipped: scripts/tools/export-openapi.sh not found'; fi",
"status": "pass",
"attempts": 1,
"exitCode": 0,
"logPath": "artifacts/closed-loop/20260303T041046Z/phase-29/local-attempt-1/repair-logs/codegen-openapi.log",
"patchPath": "artifacts/closed-loop/20260303T041046Z/phase-29/local-attempt-1/repair-logs/codegen-openapi.patch",
"touchedFiles": []
},
{
"id": "flyway-repair",
"check": "flyway",
"category": "B",
"mode": "auto",
"cmd": "if [ -x scripts/flyway-repair.sh ]; then bash scripts/flyway-repair.sh; elif [ -x scripts/tools/flyway-repair.sh ]; then bash scripts/tools/flyway-repair.sh; else echo 'flyway repair script not found'; exit 1; fi",
"status": "fail",
"attempts": 1,
"exitCode": 1,
"logPath": "artifacts/closed-loop/20260303T041046Z/phase-29/local-attempt-1/repair-logs/flyway-repair.log",
"patchPath": "artifacts/closed-loop/20260303T041046Z/phase-29/local-attempt-1/repair-logs/flyway-repair.patch",
"touchedFiles": []
}
],
"patchPath": "artifacts/closed-loop/20260303T041046Z/phase-29/local-attempt-1/repair.patch"
}