feat(harness): add quality gates automation script check.sh

- Add .harness/check.sh: one-command quality gates (7 checks, L1-L3)
  L1: mvn compile
  L2: file existence, JSON validity, mapper structure
  L3: secret leak detection
- Update feature_list.json: mark harness-002 done, add harness-003
- Update PROGRESS.md with Session 002 record
- All 7 gates passed: 
This commit is contained in:
2026-05-28 15:09:04 +08:00
parent 1396e4b4d2
commit 4a1ea0ee3f
3 changed files with 127 additions and 20 deletions

View File

@@ -20,7 +20,7 @@
"area": "infrastructure",
"title": "Harness Engineering 基础设施搭建",
"user_visible_behavior": "Codex 具备完整的约束/反馈/控制/持久执行能力",
"status": "passing",
"status": "done",
"verification": [
"AGENTS.md 包含四大核心组件",
"5 个技能安装到 Codex 环境",
@@ -28,7 +28,7 @@
"通用 AGENTS.md 模板可用"
],
"evidence": ["AGENTS.md restructured", "skills created", "plugin validated"],
"notes": "初始搭建完成,可继续迭代"
"notes": "v1: 24 篇博客方法整合完成"
},
{
"id": "harness-002",
@@ -36,12 +36,34 @@
"area": "infrastructure",
"title": "WalkingLabs 实战模式整合",
"user_visible_behavior": "项目具备完整的 5 子系统 Harness指令/工具/环境/状态/反馈)",
"status": "in_progress",
"status": "done",
"verification": [
".harness/ 目录包含所有模板文件",
"init.sh 可正常运行",
"PROGRESS.md 记录当前状态",
"feature_list.json 跟踪所有功能"
"feature_list.json 跟踪所有功能",
"walkinglabs-harness 技能已安装"
],
"evidence": [
"init.sh verified (compile OK)",
"6 templates installed in .harness/",
"AGENTS.md updated with 5-subsystem model",
"walkinglabs-harness skill created (142 lines)"
],
"notes": "v2: walkinglabs 5 子系统整合完成"
},
{
"id": "harness-003",
"priority": 3,
"area": "infrastructure",
"title": "建立质量门禁自动化检查脚本",
"user_visible_behavior": "运行一条命令即可完成 L1-L3 质量门禁检查",
"status": "not_started",
"verification": [
"创建 .harness/check.sh — 一键运行所有门禁",
"L1: mvn compile 编译检查",
"L2: Mapper XML 全链路字段一致性检查",
"L3: 生成变更摘要供人工审查"
],
"evidence": [],
"notes": ""