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/README.md
CHANGED
|
@@ -514,6 +514,14 @@ Results synthesized into `SUMMARY.md`.
|
|
|
514
514
|
| `/ctx debug --list` | List all debug sessions |
|
|
515
515
|
| `/ctx debug --status` | Show current session status |
|
|
516
516
|
|
|
517
|
+
### QA (Full System Testing)
|
|
518
|
+
| Command | Purpose |
|
|
519
|
+
|---------|---------|
|
|
520
|
+
| `/ctx qa` | Full system QA - every page, every button |
|
|
521
|
+
| `/ctx qa --section "auth"` | QA specific section only |
|
|
522
|
+
| `/ctx qa --resume` | Resume interrupted QA session |
|
|
523
|
+
| `/ctx qa --report` | Show last QA report |
|
|
524
|
+
|
|
517
525
|
### Session
|
|
518
526
|
| Command | Purpose |
|
|
519
527
|
|---------|---------|
|
|
@@ -620,7 +628,7 @@ Smart handoff creates `HANDOFF.md` with:
|
|
|
620
628
|
|
|
621
629
|
---
|
|
622
630
|
|
|
623
|
-
##
|
|
631
|
+
## 21 Specialized Agents
|
|
624
632
|
|
|
625
633
|
| Agent | Spawned when | Model (balanced) |
|
|
626
634
|
|-------|--------------|------------------|
|
|
@@ -644,6 +652,7 @@ Smart handoff creates `HANDOFF.md` with:
|
|
|
644
652
|
| ctx-auditor | always (background) | haiku |
|
|
645
653
|
| ctx-learner | observing patterns | haiku |
|
|
646
654
|
| ctx-predictor | after milestone/on demand | sonnet |
|
|
655
|
+
| ctx-qa | /ctx qa (full system test) | sonnet |
|
|
647
656
|
|
|
648
657
|
---
|
|
649
658
|
|
package/agents/ctx-designer.md
CHANGED
|
@@ -623,6 +623,45 @@ If ALL criteria pass:
|
|
|
623
623
|
}
|
|
624
624
|
```
|
|
625
625
|
|
|
626
|
+
## Delivery Guarantee Loop
|
|
627
|
+
|
|
628
|
+
```
|
|
629
|
+
┌─────────────────────────────────────────┐
|
|
630
|
+
│ DESIGN DELIVERY GUARANTEE LOOP │
|
|
631
|
+
├─────────────────────────────────────────┤
|
|
632
|
+
│ │
|
|
633
|
+
│ verify design → ALL PASS? │
|
|
634
|
+
│ │ │
|
|
635
|
+
│ ├─ YES → COMPLETE (100% working) │
|
|
636
|
+
│ │ │
|
|
637
|
+
│ └─ NO → debug/fix → verify again │
|
|
638
|
+
│ ↑ │ │
|
|
639
|
+
│ └─────────────────────┘ │
|
|
640
|
+
│ │
|
|
641
|
+
│ Loop continues until: │
|
|
642
|
+
│ 1. ALL checks pass, OR │
|
|
643
|
+
│ 2. Max attempts (10) → escalate │
|
|
644
|
+
│ │
|
|
645
|
+
│ NEVER mark complete with failures │
|
|
646
|
+
│ │
|
|
647
|
+
└─────────────────────────────────────────┘
|
|
648
|
+
```
|
|
649
|
+
|
|
650
|
+
**Design work is ONLY marked complete when:**
|
|
651
|
+
- ✓ All approval gates passed (mood board, direction, prototype)
|
|
652
|
+
- ✓ Three-level check passes (exists, substantive, wired)
|
|
653
|
+
- ✓ Visual verification matches prototype
|
|
654
|
+
- ✓ WCAG 2.2 AA compliance verified
|
|
655
|
+
- ✓ Browser renders correctly (all breakpoints)
|
|
656
|
+
- ✓ No console errors
|
|
657
|
+
- ✓ All acceptance criteria satisfied
|
|
658
|
+
|
|
659
|
+
**If ANY fails:**
|
|
660
|
+
- Set status = "debugging"
|
|
661
|
+
- Spawn ctx-debugger for technical issues
|
|
662
|
+
- Return to designer for visual/a11y issues
|
|
663
|
+
- Loop until 100% verified
|
|
664
|
+
|
|
626
665
|
</verification>
|
|
627
666
|
|
|
628
667
|
<output>
|
package/agents/ctx-executor.md
CHANGED
|
@@ -312,11 +312,40 @@ After each task:
|
|
|
312
312
|
- Set status = "debugging"
|
|
313
313
|
- Capture error details
|
|
314
314
|
- Hand off to ctx-debugger
|
|
315
|
+
- **Loop until fixed** (debug → fix → verify → repeat)
|
|
315
316
|
|
|
316
317
|
### If All Tasks Complete
|
|
317
318
|
- Set status = "verifying"
|
|
318
319
|
- Hand off to ctx-verifier
|
|
319
320
|
|
|
321
|
+
## 8. Delivery Guarantee
|
|
322
|
+
|
|
323
|
+
```
|
|
324
|
+
┌─────────────────────────────────────────┐
|
|
325
|
+
│ EXECUTOR DELIVERY GUARANTEE │
|
|
326
|
+
├─────────────────────────────────────────┤
|
|
327
|
+
│ │
|
|
328
|
+
│ execute task → quick verify │
|
|
329
|
+
│ │ │
|
|
330
|
+
│ ├─ PASS → commit → next task │
|
|
331
|
+
│ │ │
|
|
332
|
+
│ └─ FAIL → debug → fix → verify │
|
|
333
|
+
│ ↑ │ │
|
|
334
|
+
│ └─────────────────────┘ │
|
|
335
|
+
│ │
|
|
336
|
+
│ NEVER commit failing code │
|
|
337
|
+
│ NEVER skip to next task on failure │
|
|
338
|
+
│ ALWAYS loop until 100% working │
|
|
339
|
+
│ │
|
|
340
|
+
└─────────────────────────────────────────┘
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
**Task is ONLY committed when:**
|
|
344
|
+
- ✓ Build passes
|
|
345
|
+
- ✓ Tests pass
|
|
346
|
+
- ✓ Lint passes
|
|
347
|
+
- ✓ No blocking anti-patterns
|
|
348
|
+
|
|
320
349
|
</process>
|
|
321
350
|
|
|
322
351
|
<commit_message_examples>
|
package/agents/ctx-planner.md
CHANGED
|
@@ -148,6 +148,15 @@ Write `.ctx/phases/{story_id}/PLAN.md`:
|
|
|
148
148
|
- Run tests
|
|
149
149
|
- Browser verify each criterion
|
|
150
150
|
|
|
151
|
+
## Delivery Guarantee
|
|
152
|
+
Every task loops until verified:
|
|
153
|
+
```
|
|
154
|
+
execute → verify → PASS? → commit
|
|
155
|
+
↓ NO
|
|
156
|
+
debug → fix → verify again
|
|
157
|
+
```
|
|
158
|
+
NEVER mark done until ALL criteria pass.
|
|
159
|
+
|
|
151
160
|
## Notes
|
|
152
161
|
{Key insights from research}
|
|
153
162
|
```
|