@champpaba/claude-agent-kit 1.6.0 โ 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/CHANGELOG-v1.1.1.md +259 -259
- package/.claude/CLAUDE.md +21 -6
- package/.claude/agents/01-integration.md +1 -1
- package/.claude/agents/02-uxui-frontend.md +1 -1
- package/.claude/agents/03-test-debug.md +1 -1
- package/.claude/agents/04-frontend.md +1 -1
- package/.claude/agents/05-backend.md +1 -1
- package/.claude/agents/06-database.md +1 -1
- package/.claude/commands/agentsetup.md +1464 -1464
- package/.claude/commands/cdev.md +3 -4
- package/.claude/commands/csetup.md +82 -3
- package/.claude/commands/cstatus.md +60 -60
- package/.claude/commands/cview.md +364 -364
- package/.claude/commands/psetup.md +101 -101
- package/.claude/contexts/design/accessibility.md +611 -611
- package/.claude/contexts/design/layout.md +400 -400
- package/.claude/contexts/design/responsive.md +551 -551
- package/.claude/contexts/design/shadows.md +522 -522
- package/.claude/contexts/design/typography.md +465 -465
- package/.claude/contexts/domain/README.md +164 -164
- package/.claude/contexts/patterns/agent-coordination.md +388 -388
- package/.claude/contexts/patterns/agent-discovery.md +182 -182
- package/.claude/contexts/patterns/change-workflow.md +538 -538
- package/.claude/contexts/patterns/code-standards.md +515 -515
- package/.claude/contexts/patterns/development-principles.md +513 -513
- package/.claude/contexts/patterns/error-handling.md +478 -478
- package/.claude/contexts/patterns/error-recovery.md +365 -365
- package/.claude/contexts/patterns/logging.md +424 -424
- package/.claude/contexts/patterns/task-breakdown.md +452 -452
- package/.claude/contexts/patterns/task-classification.md +523 -523
- package/.claude/contexts/patterns/tdd-classification.md +516 -516
- package/.claude/contexts/patterns/testing.md +413 -413
- package/.claude/contexts/patterns/validation-framework.md +776 -776
- package/.claude/lib/agent-executor.md +450 -1
- package/.claude/lib/agent-router.md +572 -572
- package/.claude/lib/detailed-guides/agent-system.md +11 -9
- package/.claude/lib/detailed-guides/incremental-testing.md +460 -0
- package/.claude/lib/flags-updater.md +469 -469
- package/.claude/lib/task-analyzer.md +398 -2
- package/.claude/lib/tdd-classifier.md +345 -345
- package/.claude/lib/validation-gates.md +484 -484
- package/.claude/settings.local.json +42 -42
- package/.claude/templates/context-template.md +45 -45
- package/.claude/templates/flags-template.json +42 -42
- package/.claude/templates/phase-templates.json +173 -124
- package/.claude/templates/phases-sections/accessibility-test.md +17 -17
- package/.claude/templates/phases-sections/api-design.md +37 -37
- package/.claude/templates/phases-sections/backend-tests.md +16 -16
- package/.claude/templates/phases-sections/backend.md +37 -37
- package/.claude/templates/phases-sections/business-logic-validation.md +16 -16
- package/.claude/templates/phases-sections/component-tests.md +17 -17
- package/.claude/templates/phases-sections/contract-backend.md +16 -16
- package/.claude/templates/phases-sections/contract-frontend.md +16 -16
- package/.claude/templates/phases-sections/database.md +35 -35
- package/.claude/templates/phases-sections/documentation.md +17 -17
- package/.claude/templates/phases-sections/e2e-tests.md +16 -16
- package/.claude/templates/phases-sections/fix-implementation.md +17 -17
- package/.claude/templates/phases-sections/frontend-integration.md +18 -18
- package/.claude/templates/phases-sections/frontend-mockup.md +123 -123
- package/.claude/templates/phases-sections/manual-flow-test.md +15 -15
- package/.claude/templates/phases-sections/manual-ux-test.md +16 -16
- package/.claude/templates/phases-sections/refactor-implementation.md +17 -17
- package/.claude/templates/phases-sections/refactor.md +16 -16
- package/.claude/templates/phases-sections/regression-tests.md +15 -15
- package/.claude/templates/phases-sections/report.md +16 -16
- package/.claude/templates/phases-sections/responsive-test.md +16 -16
- package/.claude/templates/phases-sections/script-implementation.md +43 -43
- package/.claude/templates/phases-sections/test-coverage.md +16 -16
- package/.claude/templates/phases-sections/user-approval.md +14 -14
- package/LICENSE +21 -21
- package/README.md +171 -35
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -917,52 +917,174 @@ Built with:
|
|
|
917
917
|
|
|
918
918
|
---
|
|
919
919
|
|
|
920
|
-
## ๐ What's New in v1.
|
|
920
|
+
## ๐ What's New in v1.7.0
|
|
921
921
|
|
|
922
|
-
**Feature:
|
|
922
|
+
**Feature: Opus 4.5 Model Upgrade - All Subagents Now Use Latest Claude Model** ๐ง
|
|
923
923
|
|
|
924
|
-
###
|
|
924
|
+
### The Change
|
|
925
925
|
|
|
926
|
-
**
|
|
927
|
-
- Before: Agent asks "Proceed?" โ Main Claude asks user again (redundant!)
|
|
928
|
-
- User frustration: "I already said 'เธฅเธธเธขเนเธฅเธข', why ask twice?"
|
|
926
|
+
All 6 specialized agents now use **Claude Opus 4.5** (the latest and most capable Claude model) instead of Haiku:
|
|
929
927
|
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
-
|
|
928
|
+
| Agent | Model (Before) | Model (After) |
|
|
929
|
+
|-------|----------------|---------------|
|
|
930
|
+
| integration | haiku | **opus** |
|
|
931
|
+
| uxui-frontend | haiku | **opus** |
|
|
932
|
+
| test-debug | haiku | **opus** |
|
|
933
|
+
| frontend | haiku | **opus** |
|
|
934
|
+
| backend | haiku | **opus** |
|
|
935
|
+
| database | haiku | **opus** |
|
|
935
936
|
|
|
936
|
-
|
|
937
|
-
- **50-90% fewer confirmations** (1x per workflow vs 2x per phase)
|
|
938
|
-
- **25% faster execution** (no waiting for redundant approvals)
|
|
939
|
-
- **Better UX** (approve once, system handles the rest)
|
|
940
|
-
- **Lean implementation** (80 lines, 1 file, +0.1% context)
|
|
937
|
+
### Benefits
|
|
941
938
|
|
|
942
|
-
|
|
939
|
+
- โ
**Best-in-class reasoning** - Opus 4.5 handles complex multi-step tasks better
|
|
940
|
+
- โ
**Improved code quality** - More accurate implementations with fewer errors
|
|
941
|
+
- โ
**Better context understanding** - Agents maintain context over longer sessions
|
|
942
|
+
- โ
**Enhanced problem-solving** - Complex debugging and architectural decisions improved
|
|
943
943
|
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
944
|
+
### Updated Files
|
|
945
|
+
|
|
946
|
+
- All agent files (`.claude/agents/*.md`) - `model: opus`
|
|
947
|
+
- `/cdev` command - Model strategy updated
|
|
948
|
+
- `agent-executor.md` - Task invocation uses opus
|
|
949
|
+
|
|
950
|
+
### No Breaking Changes
|
|
951
|
+
|
|
952
|
+
All existing workflows continue to work exactly as before, just with better performance!
|
|
953
|
+
|
|
954
|
+
---
|
|
955
|
+
|
|
956
|
+
## ๐ What's New in v1.6.0
|
|
957
|
+
|
|
958
|
+
**Feature: Incremental Testing - Milestone-based Validation for High-Risk Tasks** ๐
|
|
959
|
+
|
|
960
|
+
### The Problem: All-or-Nothing Testing
|
|
961
|
+
|
|
962
|
+
**Before v1.6.0:**
|
|
963
|
+
```
|
|
964
|
+
Task: "Integrate Google Maps API"
|
|
965
|
+
โ Agent implements complete solution (1000 locations)
|
|
966
|
+
โ Tests with full dataset
|
|
967
|
+
โ Bug found โ Hard to debug (which part failed?)
|
|
968
|
+
โ Fix โ Retest full dataset โ Slow iteration
|
|
969
|
+
|
|
970
|
+
Problem:
|
|
971
|
+
โ Large scope = hard to debug
|
|
972
|
+
โ Late bug detection (at scale)
|
|
973
|
+
โ Rework expensive (threw away 1000-location implementation)
|
|
974
|
+
โ No confidence in progressive scaling
|
|
975
|
+
```
|
|
976
|
+
|
|
977
|
+
**After v1.6.0:**
|
|
978
|
+
```
|
|
979
|
+
Task: "Integrate Google Maps API"
|
|
980
|
+
โ Milestone 1: Test 1 location (hardcoded)
|
|
981
|
+
โ Bug found โ Easy to debug (small scope)
|
|
982
|
+
โ Fix โ Retest 1 location โ Fast iteration
|
|
983
|
+
โ Milestone 2: Test 10 locations (parameterized)
|
|
984
|
+
โ Works! Confidence++
|
|
985
|
+
โ Milestone 3: Error handling
|
|
986
|
+
โ Refine edge cases
|
|
987
|
+
โ Milestone 4: Scale to 1000
|
|
988
|
+
โ Already confident (1 and 10 worked)
|
|
989
|
+
|
|
990
|
+
Benefits:
|
|
991
|
+
โ
Small scope = easy debugging
|
|
992
|
+
โ
Early bug detection (at milestone 1)
|
|
993
|
+
โ
Low rework (fix before scaling)
|
|
994
|
+
โ
Progressive confidence
|
|
995
|
+
```
|
|
996
|
+
|
|
997
|
+
### The Solution: Milestone-based Validation
|
|
951
998
|
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
999
|
+
**Automatic Detection:** `/csetup` detects high-risk tasks automatically
|
|
1000
|
+
- Risk = HIGH (payment, auth, security)
|
|
1001
|
+
- Risk = MEDIUM + Complexity โฅ 7 (complex forms)
|
|
1002
|
+
- External API dependency (Google Maps, Stripe, OpenAI)
|
|
1003
|
+
- Data-intensive operation (ETL, migration, batch processing)
|
|
1004
|
+
|
|
1005
|
+
**3 Milestone Patterns:**
|
|
1006
|
+
|
|
1007
|
+
1. **Backend API Integration** (4 milestones)
|
|
1008
|
+
- M1: Core implementation (1 record, hardcoded)
|
|
1009
|
+
- M2: Parameterized query (10 records, dynamic)
|
|
1010
|
+
- M3: Error handling (invalid input, timeouts)
|
|
1011
|
+
- M4: Scale + performance (100-1000 records)
|
|
1012
|
+
|
|
1013
|
+
2. **Complex Form** (3 milestones)
|
|
1014
|
+
- M1: Architecture + skeleton (2-3 critical fields)
|
|
1015
|
+
- M2: E2E flow validation (submit โ API โ DB)
|
|
1016
|
+
- M3: Complete all fields (all 20 fields + validation)
|
|
1017
|
+
|
|
1018
|
+
3. **Database Migration / ETL** (3 milestones)
|
|
1019
|
+
- M1: Dry-run (10 records)
|
|
1020
|
+
- M2: Scale to 100 records
|
|
1021
|
+
- M3: Full dataset (staging)
|
|
1022
|
+
|
|
1023
|
+
### Round-based Retry Logic
|
|
1024
|
+
|
|
1025
|
+
**Per-Milestone Quota:**
|
|
1026
|
+
- **2 attempts per round** (not total)
|
|
1027
|
+
- **Unlimited rounds** (Main Claude decides when to stop)
|
|
1028
|
+
- **Hints reset quota** (fresh start)
|
|
1029
|
+
|
|
1030
|
+
**Example:**
|
|
1031
|
+
```
|
|
1032
|
+
Milestone 1: Core implementation
|
|
1033
|
+
โ Round 1: Attempt 1 โ (API key missing)
|
|
1034
|
+
โ Round 1: Attempt 2 โ (Still missing)
|
|
1035
|
+
โ Main Claude: "Check API_KEY env variable" ๐ก
|
|
1036
|
+
โ Round 2: Attempt 1 โ
(Fixed!)
|
|
1037
|
+
|
|
1038
|
+
Total attempts: 3 (2 in Round 1, 1 in Round 2)
|
|
958
1039
|
```
|
|
959
1040
|
|
|
960
|
-
###
|
|
1041
|
+
### Main Claude Intervention
|
|
1042
|
+
|
|
1043
|
+
**Decision Matrix:**
|
|
1044
|
+
|
|
1045
|
+
| Error Pattern | Complexity | Confidence | Action |
|
|
1046
|
+
|---------------|------------|------------|--------|
|
|
1047
|
+
| Same error 2x | SIMPLE | HIGH | Give Hints |
|
|
1048
|
+
| Same error 2x | COMPLEX | LOW | Ask Human |
|
|
1049
|
+
| Different errors | ANY | ANY | Ask Human |
|
|
1050
|
+
| Intermittent | ANY | ANY | Ask Human |
|
|
1051
|
+
| 2+ rounds no progress | ANY | ANY | Ask Human |
|
|
961
1052
|
|
|
962
|
-
|
|
963
|
-
-
|
|
964
|
-
-
|
|
965
|
-
-
|
|
1053
|
+
**Pattern-based Hints:**
|
|
1054
|
+
- 401 Unauthorized โ Check API_KEY, verify key validity
|
|
1055
|
+
- Timeout โ Increase threshold, check network
|
|
1056
|
+
- Schema mismatch โ Compare actual vs expected, check API version
|
|
1057
|
+
|
|
1058
|
+
### Benefits & Trade-offs
|
|
1059
|
+
|
|
1060
|
+
**Benefits:**
|
|
1061
|
+
- โ
**75% faster debug** - Catch bugs at M1 (1 record) vs M4 (1000 records)
|
|
1062
|
+
- โ
**60-70% rework reduction** - Fix before scaling
|
|
1063
|
+
- โ
**80% faster debugging** - Small scope (1 record) vs full dataset
|
|
1064
|
+
- โ
**90% success rate** - Progressive confidence at M4
|
|
1065
|
+
- โ
**40-50% net speedup** - +15-20% time upfront โ -60-70% rework time
|
|
1066
|
+
|
|
1067
|
+
**Trade-offs:**
|
|
1068
|
+
- โ ๏ธ **Timeline:** +15-20% upfront (but saves 60-70% rework)
|
|
1069
|
+
- โ ๏ธ **Complexity:** phases.md 2-3x longer (summary table at top)
|
|
1070
|
+
- โ ๏ธ **Learning curve:** More coordination (automated by `/csetup`)
|
|
1071
|
+
|
|
1072
|
+
**Net benefit:** +15-20% time โ -60-70% rework = **40-50% faster overall**
|
|
1073
|
+
|
|
1074
|
+
### When to Use Incremental Testing
|
|
1075
|
+
|
|
1076
|
+
**โ
Use for:**
|
|
1077
|
+
- Payment integration, Auth systems (HIGH risk)
|
|
1078
|
+
- Complex forms with 20+ fields (Complexity โฅ 7)
|
|
1079
|
+
- External APIs (Google Maps, Stripe, OpenAI)
|
|
1080
|
+
- Data migrations, ETL pipelines (data-intensive)
|
|
1081
|
+
|
|
1082
|
+
**โ Skip for:**
|
|
1083
|
+
- Simple CRUD operations (LOW risk, Complexity < 5)
|
|
1084
|
+
- UI components (standard testing sufficient)
|
|
1085
|
+
- Configuration changes (no integration testing needed)
|
|
1086
|
+
|
|
1087
|
+
**Detection Rate:** ~20-30% of tasks (only high-risk)
|
|
966
1088
|
|
|
967
1089
|
---
|
|
968
1090
|
|
|
@@ -1070,6 +1192,20 @@ All your customizations in `.claude/contexts/domain/` are preserved!
|
|
|
1070
1192
|
|
|
1071
1193
|
## ๐ Changelog
|
|
1072
1194
|
|
|
1195
|
+
### v1.7.0 (2025-11-25)
|
|
1196
|
+
**Feature: Opus 4.5 Model Upgrade**
|
|
1197
|
+
|
|
1198
|
+
**Changed:**
|
|
1199
|
+
- All 6 agents upgraded from `model: haiku` to `model: opus`
|
|
1200
|
+
- Updated `/cdev` model strategy description
|
|
1201
|
+
- Updated `agent-executor.md` Task invocation
|
|
1202
|
+
|
|
1203
|
+
**Benefits:**
|
|
1204
|
+
- Best-in-class reasoning with Opus 4.5
|
|
1205
|
+
- Improved code quality and fewer errors
|
|
1206
|
+
- Better context understanding
|
|
1207
|
+
- Enhanced problem-solving for complex tasks
|
|
1208
|
+
|
|
1073
1209
|
### v1.4.1 (2025-11-06)
|
|
1074
1210
|
**Feature: Intelligent Auto-Proceed - Eliminate Double Confirmations**
|
|
1075
1211
|
|