Commit Graph

3 Commits

Author SHA1 Message Date
Jiayuan
98ba6cba31 ci: enable CI for pull requests to dev branch
Add dev branch to the pull_request trigger so that CI runs on PRs to dev, matching the configuration for main branch.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-23 16:08:17 +08:00
yushen
80d12cb2f1 chore(ci): enforce zero ESLint warnings
All pre-existing ESLint warnings have been fixed. Update CI to reject
any new warnings by setting --max-warnings 0.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 17:19:52 +08:00
Jiayuan
b10b3ff709 Add AI code safety defense system: tests, pre-commit hooks, and CI
Implemented three-layer defense mechanism to prevent AI-generated code from breaking the codebase:
- Layer 1: AGENTS.md with universal AI agent instructions
- Layer 2: Husky pre-commit hooks with test file checking
- Layer 3: GitHub Actions CI with TypeScript, ESLint, tests, and coverage

Includes design document, test infrastructure, and coverage thresholds.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-16 00:22:33 +08:00