Skip to content

AICAM v1.3.2 Release

Choose a tag to compare

@cham-space cham-space released this 25 Apr 02:51

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 checklist
    • smoke.gate.md β€” Smoke test gate with runtime health checks
    • security.gate.md β€” Security scanning gate (gitleaks + semgrep + dependency audit)
    • contract.gate.md β€” API contract/naming consistency gate
    • destructive-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-commit runs 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 warning
  • commit-msg β€” enforces Conventional Commits via commitlint, blocks malformed messages
  • Both installed via /onboard L3: ln -sf ../../.githooks/{hook} .git/hooks/{hook}

Gitleaks License Documentation

  • CI gitleaks-action@v2 configured with continue-on-error: true β€” private repo without license degrades to warning
  • /onboard L3 documents the license requirement and trufflesecurity/trufflehog@main as 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 with python -c "import uvicorn" availability detection
  • Flask/Django projects now correctly fallback to python app.py instead 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 preflight in job needs arrays β€” 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 into e2e-test since 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-test added
  • 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.stubEnv pattern
  • 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.