ctx-cc 3.3.2 → 3.3.4
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/README.md +10 -1
- package/agents/ctx-designer.md +39 -0
- package/agents/ctx-executor.md +29 -0
- package/agents/ctx-planner.md +9 -0
- package/agents/ctx-qa.md +955 -0
- package/agents/ctx-verifier.md +36 -3
- package/commands/ctx.md +13 -4
- package/commands/help.md +12 -1
- package/commands/qa.md +625 -0
- package/commands/verify.md +5 -2
- package/package.json +1 -1
package/agents/ctx-verifier.md
CHANGED
|
@@ -399,9 +399,42 @@ Based on results:
|
|
|
399
399
|
- Update PRD progress
|
|
400
400
|
|
|
401
401
|
**If FAIL:**
|
|
402
|
-
-
|
|
403
|
-
- Set status = "debugging"
|
|
404
|
-
-
|
|
402
|
+
- Analyze failure type:
|
|
403
|
+
- **Build/Test/Runtime error** → Set status = "debugging"
|
|
404
|
+
- **Missing feature** → Set status = "executing" with fix tasks
|
|
405
|
+
- Record `debug_issue` with error details
|
|
406
|
+
- **DO NOT mark as complete until 100% pass**
|
|
407
|
+
|
|
408
|
+
## 11. Delivery Guarantee Loop
|
|
409
|
+
|
|
410
|
+
```
|
|
411
|
+
┌─────────────────────────────────────────┐
|
|
412
|
+
│ DELIVERY GUARANTEE LOOP │
|
|
413
|
+
├─────────────────────────────────────────┤
|
|
414
|
+
│ │
|
|
415
|
+
│ verify → ALL CRITERIA PASS? │
|
|
416
|
+
│ │ │
|
|
417
|
+
│ ├─ YES → COMPLETE (100% working) │
|
|
418
|
+
│ │ │
|
|
419
|
+
│ └─ NO → debug/fix → verify again │
|
|
420
|
+
│ ↑ │ │
|
|
421
|
+
│ └─────────────────────┘ │
|
|
422
|
+
│ │
|
|
423
|
+
│ Loop continues until: │
|
|
424
|
+
│ 1. ALL criteria pass, OR │
|
|
425
|
+
│ 2. Max debug attempts (10) → escalate │
|
|
426
|
+
│ │
|
|
427
|
+
│ NEVER mark complete with failures │
|
|
428
|
+
│ │
|
|
429
|
+
└─────────────────────────────────────────┘
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
**Key principle:** Work is ONLY marked complete when:
|
|
433
|
+
- ✓ ALL acceptance criteria pass
|
|
434
|
+
- ✓ Three-level check passes (exists, substantive, wired)
|
|
435
|
+
- ✓ No blocking anti-patterns
|
|
436
|
+
- ✓ Browser verification passes (if UI)
|
|
437
|
+
- ✓ Build + Tests + Lint all green
|
|
405
438
|
|
|
406
439
|
</process>
|
|
407
440
|
|
package/commands/ctx.md
CHANGED
|
@@ -88,8 +88,12 @@ Route to: **Three-Level Verification**
|
|
|
88
88
|
- Level 2: Substantive (real code, not stub?)
|
|
89
89
|
- Level 3: Wired (imported and used?)
|
|
90
90
|
3. Scan for anti-patterns (TODO, empty catch, placeholders)
|
|
91
|
-
4.
|
|
92
|
-
5.
|
|
91
|
+
4. Browser verification (if UI)
|
|
92
|
+
5. **DELIVERY GUARANTEE:**
|
|
93
|
+
- If ALL pass: complete phase → COMPLETE
|
|
94
|
+
- If ANY fail: set status = "debugging" → fix → verify again
|
|
95
|
+
- Loop until 100% working or max attempts
|
|
96
|
+
- NEVER mark complete with failures
|
|
93
97
|
|
|
94
98
|
### If status = "paused"
|
|
95
99
|
Route to: **Resume**
|
|
@@ -149,9 +153,14 @@ executing → debugging (if verification fails)
|
|
|
149
153
|
executing → verifying (if all tasks done)
|
|
150
154
|
debugging → executing (if fix works)
|
|
151
155
|
debugging → ESCALATE (if max attempts fail)
|
|
152
|
-
verifying →
|
|
153
|
-
verifying → COMPLETE (if
|
|
156
|
+
verifying → debugging (if any check fails) ← LOOP BACK
|
|
157
|
+
verifying → COMPLETE (if ALL pass 100%) ← ONLY EXIT
|
|
154
158
|
paused → (previous state)
|
|
159
|
+
|
|
160
|
+
DELIVERY GUARANTEE LOOP:
|
|
161
|
+
verifying ←→ debugging ←→ executing
|
|
162
|
+
↓
|
|
163
|
+
COMPLETE (only when 100% verified)
|
|
155
164
|
```
|
|
156
165
|
</state_transitions>
|
|
157
166
|
|
package/commands/help.md
CHANGED
|
@@ -13,7 +13,7 @@ Output ONLY the reference content below. Do NOT add project-specific analysis.
|
|
|
13
13
|
# CTX 3.3 Command Reference
|
|
14
14
|
|
|
15
15
|
**CTX** (Continuous Task eXecution) - Intelligent workflow orchestration for Claude Code.
|
|
16
|
-
|
|
16
|
+
21 agents. Learning system. Predictive planning. Self-healing. Voice control. Full system QA.
|
|
17
17
|
|
|
18
18
|
## Quick Start
|
|
19
19
|
|
|
@@ -103,6 +103,17 @@ Output ONLY the reference content below. Do NOT add project-specific analysis.
|
|
|
103
103
|
| `/ctx debug --status` | Show current session status |
|
|
104
104
|
| `/ctx debug --abort` | Abort current session |
|
|
105
105
|
|
|
106
|
+
### QA (Full System Testing)
|
|
107
|
+
| Command | Purpose |
|
|
108
|
+
|---------|---------|
|
|
109
|
+
| `/ctx qa` | Full system QA - crawl all pages (WCAG 2.1 AA) |
|
|
110
|
+
| `/ctx qa --pages` | List discovered pages first |
|
|
111
|
+
| `/ctx qa --section "auth"` | QA specific section only |
|
|
112
|
+
| `/ctx qa --a11y-only` | Accessibility audit only |
|
|
113
|
+
| `/ctx qa --visual-only` | Visual regression (mobile/tablet/desktop) |
|
|
114
|
+
| `/ctx qa --resume` | Resume interrupted QA |
|
|
115
|
+
| `/ctx qa --report` | Show last QA report |
|
|
116
|
+
|
|
106
117
|
### Session
|
|
107
118
|
| Command | Purpose |
|
|
108
119
|
|---------|---------|
|