Skip to content

AICAM v1.1.0 — Smoke Test Gate, TDD Tightening, TEST_DASHBOARD

Choose a tag to compare

@cham-space cham-space released this 21 Apr 08:13

🚀 New Features

Smoke Test Gate (Phase 2)

  • Added mandatory Smoke Test step in /execute — runs after all verification commands pass
  • Plan files now require ## Smoke Test Checklist section (operation → expected result format)
  • Missing checklist → execution STOPs until user confirms or adds one
  • Results written to ## Smoke Test Log in summary.md
  • Verified in /verify-phase as a separate gate with dedicated pass/fail status

TEST_DASHBOARD Tracking (Phase 4)

  • /close-phase now automatically updates .agents/reports/TEST_DASHBOARD.md
  • Tracks per-Phase coverage matrix, cross-Phase trends, and detailed test breakdowns
  • Includes Gate summary, unit test details, Smoke Test results, and business workflow test details
  • Not loaded into CLAUDE.md context — for human review only

Type-Specific Test Strategies

  • Added .claude/reference/test-strategies/ with 6 tailored strategies:
    • cli.md — CLI project testing
    • mobile.md — Mobile app testing
    • rest-api.md — REST API testing
    • tauri.md — Tauri desktop app testing
    • web.md — Web app testing
    • worker.md — Worker/server-side testing

🔒 Enforcement Improvements

TDD Non-Exempt Scope (Tightened)

Previously, most non-logic changes could be exempted from TDD. Now the following require TDD
without exception:

  • Cross-boundary integration layers (IPC commands, REST endpoints, event pub/sub, message queue
    consumers)
  • Frontend/UI components with conditional logic, state management, or data transformation
  • Any serialization/deserialization logic
  • Error handling paths

Exemption requests for these types must include an alternative verification method. "Manual
runtime inspection" is no longer an acceptable answer.

⏸️ State Hard Rule

⏸️ Requires manual verification is now treated as ❌ failed in any gate. This prevents
deferring verification indefinitely. Specific rules:

  • Business Workflow Tests at ⏸️ must provide executable automated scripts (using mock/fixture), or
    explicit written user confirmation with risk noted in report
  • Smoke Test Log missing or containing ⏸️ entries → Smoke Test Gate = ❌, blocks Phase closure

Phase Closure Prerequisites

/close-phase now performs mandatory pre-conditions checks before any archival:

  • Verification Report must exist with status ✅ or ⚠
  • Smoke Test Log must be all ✅ (no ❌ or ⏸️ )
  • No ⏸️ unclosed Gate items
  • All P0 bugs must be resolved

📝 Documentation Updates

WORKFLOW.md v1.1.0

  • Added Node 2-E: Smoke Test
  • Added Node 4-B: TEST_DASHBOARD update
  • Updated Mermaid workflow diagram with new nodes
  • Added frontend-design skill to the skills list (replaces skill-creator)
  • Updated reference docs section with test-strategies/ directory
  • Updated key principles with Smoke Test gate, ⏸️ hard rule, TDD non-exempt scope

Bilingual README

  • README.zh.md and README.en.md synchronized with all v1.1.0 changes
  • README.md serves as a bilingual index linking both versions

📊 Full Commit History (since v1.0.0)

  • 50ebdc7 — enhance(workflow): v1.1.0 — Smoke Test gate, TDD tightening, TEST_DASHBOARD
  • 5fcd46a — enhance(workflow): add smoke test, strict gates, and TDD exemptions
  • 40b575c — 针对codereview 增加强制新会话避免 上下文污染
  • bfc464f — docs: add bilingual README and remove .DS_Store files
  • a9fa7ae — docs: add README.md with AICAM workflow documentation

Quick Start

git clone https://github.com/cham-space/AICAM.git                                                  
cp -r AICAM/.claude/ /path/to/your/project/                                                        
                                                                                                   
Then in Claude Code, run /discover to begin.                                                       
                                                                                                   
---