AICAM v1.3.2 Release
AICAM v1.3.2 Release Notes
Release Date: 2026-04-25
Since: v1.2.1
Assessment: 5 rounds of independent review, scoring 3.6 β 4.0 (L4 maturity)
ποΈ Architecture
Gate Adapter Layer
- New
.claude/gates/directory with 6 independent gate definition files:tdd.gate.mdβ TDD red-green-refactor gate with exemption/non-exemption checklistsmoke.gate.mdβ Smoke test gate with runtime health checkssecurity.gate.mdβ Security scanning gate (gitleaks + semgrep + dependency audit)contract.gate.mdβ API contract/naming consistency gatedestructive-op.gate.mdβ Destructive operation detection (CRITICAL/HIGH/MEDIUM)coverage.gate.mdβ Coverage gate with per-project-type thresholds
- Gates are decoupled from command scripts β reusable, independently maintainable
Eco-Adaptive CI Pipeline
- New
.github/workflows/aicam-gates.ymlβ fully automated quality gates - Preflight job auto-detects ecosystem (npm/python/go/cargo) and project type (web/rest-api/cli/worker/mobile/tauri)
- Conditional steps adapt to detected ecosystem β no manual configuration needed
- Security jobs: secrets-scan (gitleaks), sast-scan (semgrep), dependency-audit (ecosystem-specific)
- Test jobs: unit-tests + coverage per ecosystem, smoke-test with per-type branching
- oasdiff breaking change detection step in unit-tests job
- Mobile smoke generates actionable warning (requires device/emulator β not available in standard CI)
π Security
Three-Layer Security Scanning
- Local (pre-commit):
.githooks/pre-commitruns gitleaks + Spec-Lite existence check + large file detection - CI (PR gate): gitleaks (secrets) + semgrep (SAST) + ecosystem-specific dependency audit (npm/cargo/pip/govulncheck)
- Config files:
.gitleaks.toml(45 lines, 3 custom rules: generic-api-key, private-key, jwt-token),.commitlintrc.yaml
Git Hooks
pre-commitβ gitleaks secrets detection + CLAUDE.md size check + Spec-Lite existence + large file warningcommit-msgβ enforces Conventional Commits viacommitlint, blocks malformed messages- Both installed via
/onboardL3:ln -sf ../../.githooks/{hook} .git/hooks/{hook}
Gitleaks License Documentation
- CI
gitleaks-action@v2configured withcontinue-on-error: trueβ private repo without license degrades to warning /onboardL3 documents the license requirement andtrufflesecurity/trufflehog@mainas free alternative
π New Commands
/diagnose β One-Click Health Check
- Section 1-7: file existence, gate integrity, security tools, skills inventory, reference docs, template health
- Section 5: commit-msg hook symlink check (added v1.3.2)
- Section 6.5: Gate Execution Completeness β cross-references TDD/Smoke Log entries vs expected counts (anti-truncation)
/onboard β Interactive Setup
- Progressive 4-level enablement: L0 (zero-config, <5min) β L1 (minimal, <15min) β L2 (standard, <1hr) β L3 (advanced, <2hr)
- Each level has concrete steps with copy-paste commands
- L3 includes gitleaks/semgrep install, git hooks symlink, CI config, commitlint, MCP setup
/backend-test Skill
- New
.claude/skills/backend-test/SKILL.md - Covers REST API integration tests, database tests, and mock strategies
- Auto-triggers on backend test file creation, API integration test writing, DB fixture setup
π Metrics & Quality
M1-M5 Five-Dimensional Metrics
- M1 Phaseε¨ζ (cycle time) β git log auto-calculation with cross-platform fallback
- M2 δΈζ¬‘ιθΏη (first-pass rate) β formula defined
- M3 ζ΅θ―ε―εΊ¦ (test density) β per-AC coverage calculation
- M4 δΈδΈζεηΌ©ζη (context compression efficiency) β pre/post archive line ratio
- M5 ι¨η¦η»θΏη (gate bypass rate) β βΈοΈ status tracking
Anti-Truncation & Anti-Bypass
/diagnoseΒ§6.5: compares non-exempt task count vs TDD Log entries, Smoke Test checklist vs log entries/verify-phase: mandatory TDD/Smoke entry count vs gate comparison β mismatch blocks phase completion- CLAUDE-template: Known Issues persistent section (excluded from 150-line limit, auto-maintained by
/close-phase)
π Bug Fixes
Python Rest-API Smoke Fallback (v1.3.2)
- Replaced dead
[ -n "$SERVER_PID" ]check withpython -c "import uvicorn"availability detection - Flask/Django projects now correctly fallback to
python app.pyinstead of silently failing - uvicorn absent β falls back to Flask/Django; uvicorn present β uses
python -m uvicorn
CI Needs Chain Completeness (v1.3.1)
- Fixed missing
preflightin jobneedsarrays β eco-adaptive detection was silently returning empty strings - All
needs.preflight.outputs.*references now resolve correctly
Output Key Consistency (v1.3.1)
- Unified
project-type(hyphen) βproject_type(underscore) across outputs declaration and all references
Coverage Gate Heading (v1.3.1)
- Fixed corrupted
##ε°εηHard Rulesβ## Hard Rules
ποΈ Removals
agent-browser Skill Directory Cleaned Up
.claude/skills/agent-browser/removed β had been deprecated and merged intoe2e-testsince v1.3.0- Skills directory now matches WORKFLOW.md declaration exactly (4 skills)
π Documentation
WORKFLOW.md
- Version history extended through v1.3.2 (3 new entries)
- Progressive enablement L0-L3 section added
- System components table: 15 commands, 6 gates, updated skills list
- Full MCP installation guide (serena + typescript-lsp) with hooks config
README.md (Root)
- Rewritten from minimal placeholder to comprehensive project landing page
- Version badge, key features table, quick start, directory structure overview, version history
README.en.md & README.zh.md
- Synced from v1.2.1 to v1.3.2
- Version history updated with v1.3.0 / v1.3.1 / v1.3.2 entries
- System components table: commands 13β15, skills list updated, gates row added
- Progressive enablement L0-L3 section added
CLAUDE-template.md
- Security scanning guidance section added
- Known Issues & Deferred Risks persistent section added
- Skill activation rules:
backend-testadded - Reference docs: coverage.gate + security.gate loading triggers added
Coverage Gate β Ecosystem Tool Table
- 5 rows covering npm (Vitest/Jest), cargo (tarpaulin/llvm-cov), python (pytest-cov/coverage.py), go (built-in)
Contract Gate β oasdiff Protocol
- Spec archival protocol:
cp openapi-current.yaml archive/openapi-phase-{N-1}.yaml - Breaking change detection:
oasdiff breaking <prev> <current>
π§ͺ Test Strategies
- 6 type-specific strategy documents in
.claude/reference/test-strategies/: cli, mobile, rest-api, tauri, web, worker - Web strategy: Environment Variable Isolation with Vitest
vi.stubEnvpattern - Per-project-type coverage thresholds in coverage.gate.md
π Commit History (since v1.2.1)
| Commit | Message |
|---|---|
e784374 |
feat(workflow): upgrade AICAM from v1.2.1 to v1.3.2 β 5 rounds of independent assessment |
Quick Start
git clone https://github.com/cham-space/AICAM.git
cd AICAM
cp -r .claude/ /path/to/your/project/
cp .githooks/ .commitlintrc.yaml .gitleaks.toml /path/to/your/project/
cp -r .github/workflows/ /path/to/your/project/.github/Then in Claude Code, run /onboard for interactive guided setup.