myconvergio 3.4.0 → 3.5.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/agents/core_utility/strategic-planner.md +94 -1
- package/.claude/agents/core_utility/thor-quality-assurance-guardian.md +441 -188
- package/.claude/protocols/thor-validation-protocol.md +392 -0
- package/.claude/protocols/thor-worker-instructions.md +268 -0
- package/VERSION +3 -2
- package/package.json +2 -1
- package/scripts/thor-monitor.sh +99 -0
- package/scripts/thor-queue-setup.sh +52 -0
- package/scripts/thor-worker-submit.sh +152 -0
|
@@ -8,7 +8,7 @@ description: Strategic planner for long-term planning, strategic initiatives, ro
|
|
|
8
8
|
tools: ["Read", "Write", "Edit", "Glob", "Grep", "Bash", "Task", "TodoWrite"]
|
|
9
9
|
color: "#6B5B95"
|
|
10
10
|
model: "sonnet"
|
|
11
|
-
version: "1.
|
|
11
|
+
version: "1.6.1"
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
## Security & Ethics Framework
|
|
@@ -607,6 +607,97 @@ kitty @ send-text --match title:Claude-3 "Leggi [plan], sei CLAUDE 3, esegui i t
|
|
|
607
607
|
2. **NO FILE OVERLAP**: Each Claude works on DIFFERENT files
|
|
608
608
|
3. **VERIFICATION LAST**: Final check with lint/typecheck/build
|
|
609
609
|
4. **GIT SAFETY**: Only one Claude commits at a time
|
|
610
|
+
5. **THOR VALIDATION**: ALL Claudes must get Thor approval before claiming task complete
|
|
611
|
+
|
|
612
|
+
### 🔱 THOR VALIDATION GATE (MANDATORY)
|
|
613
|
+
|
|
614
|
+
**Thor is Roberto's digital enforcer. NO Claude may claim "done" without Thor's approval.**
|
|
615
|
+
|
|
616
|
+
#### Setup: Launch Thor as Dedicated Tab
|
|
617
|
+
```bash
|
|
618
|
+
# Thor runs in its own Kitty tab, monitoring the validation queue
|
|
619
|
+
~/.claude/scripts/thor-queue-setup.sh
|
|
620
|
+
|
|
621
|
+
# Launch Thor tab
|
|
622
|
+
kitty @ new-window --title "Thor-QA" --cwd [project_root]
|
|
623
|
+
kitty @ send-text --match title:Thor-QA "wildClaude" && kitty @ send-key --match title:Thor-QA Return
|
|
624
|
+
# Wait for Claude to start, then:
|
|
625
|
+
kitty @ send-text --match title:Thor-QA "You are Thor. Monitor /tmp/thor-queue/requests/ for validation requests. For each request, validate according to your protocol and respond in /tmp/thor-queue/responses/. Start monitoring now." && kitty @ send-key --match title:Thor-QA Return
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
#### Worker Validation Flow
|
|
629
|
+
Every worker (Claude 2, 3, 4) MUST do this before claiming ANY task complete:
|
|
630
|
+
|
|
631
|
+
```bash
|
|
632
|
+
# 1. Worker prepares validation request
|
|
633
|
+
REQUEST_ID=$(uuidgen | tr '[:upper:]' '[:lower:]')
|
|
634
|
+
|
|
635
|
+
# 2. Create request file with evidence
|
|
636
|
+
# Note: Variables are expanded, commands in $() are NOT (they're examples)
|
|
637
|
+
cat > /tmp/thor-queue/requests/${REQUEST_ID}.json << EOF
|
|
638
|
+
{
|
|
639
|
+
"request_id": "${REQUEST_ID}",
|
|
640
|
+
"worker_id": "Claude-2",
|
|
641
|
+
"task_reference": "W1-T03",
|
|
642
|
+
"claim": "JWT authentication implemented",
|
|
643
|
+
"evidence": {
|
|
644
|
+
"test_output": "[paste actual test output]",
|
|
645
|
+
"lint_output": "[paste actual lint output]",
|
|
646
|
+
"git_branch": "$(git branch --show-current)",
|
|
647
|
+
"git_status": "[paste actual git status]"
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
EOF
|
|
651
|
+
|
|
652
|
+
# 3. Notify Thor
|
|
653
|
+
kitty @ send-text --match title:Thor-QA "[VALIDATION REQUEST] ${REQUEST_ID} from Claude-2" && kitty @ send-key --match title:Thor-QA Return
|
|
654
|
+
|
|
655
|
+
# 4. Wait for response
|
|
656
|
+
while [ ! -f /tmp/thor-queue/responses/${REQUEST_ID}.json ]; do sleep 5; done
|
|
657
|
+
|
|
658
|
+
# 5. Read response
|
|
659
|
+
cat /tmp/thor-queue/responses/${REQUEST_ID}.json
|
|
660
|
+
```
|
|
661
|
+
|
|
662
|
+
#### Thor's Brutal Validation
|
|
663
|
+
Thor will:
|
|
664
|
+
1. **Read the original task** from the plan
|
|
665
|
+
2. **Verify EVERY requirement** was completed
|
|
666
|
+
3. **Run the tests himself** - not trust claims
|
|
667
|
+
4. **Challenge the worker**: "Are you BRUTALLY sure?"
|
|
668
|
+
5. **Invoke specialists** if needed (Baccio for architecture, Luca for security)
|
|
669
|
+
6. **APPROVE or REJECT** - no middle ground
|
|
670
|
+
|
|
671
|
+
#### Response Handling
|
|
672
|
+
- **APPROVED**: Worker may mark task ✅ and proceed
|
|
673
|
+
- **REJECTED**: Worker MUST fix ALL issues and resubmit
|
|
674
|
+
- **CHALLENGED**: Worker MUST provide requested evidence
|
|
675
|
+
- **ESCALATED**: Worker STOPS and waits for Roberto (after 3 failures)
|
|
676
|
+
|
|
677
|
+
#### Plan Template Addition
|
|
678
|
+
Add this to every plan:
|
|
679
|
+
|
|
680
|
+
```markdown
|
|
681
|
+
## 🔱 THOR VALIDATION STATUS
|
|
682
|
+
|
|
683
|
+
| Worker | Task | Request ID | Status | Retry |
|
|
684
|
+
|--------|------|------------|--------|:-----:|
|
|
685
|
+
| Claude-2 | W1-T03 | abc123 | ✅ APPROVED | 1 |
|
|
686
|
+
| Claude-3 | W1-T05 | def456 | ❌ REJECTED | 2 |
|
|
687
|
+
|
|
688
|
+
### Validation Queue
|
|
689
|
+
- Thor Tab: Thor-QA
|
|
690
|
+
- Queue Dir: /tmp/thor-queue/
|
|
691
|
+
- Protocol: .claude/protocols/thor-validation-protocol.md
|
|
692
|
+
|
|
693
|
+
### Worker Reminder
|
|
694
|
+
⚠️ **YOU ARE NOT DONE UNTIL THOR SAYS YOU ARE DONE**
|
|
695
|
+
Before marking ANY task complete:
|
|
696
|
+
1. Submit validation request to Thor
|
|
697
|
+
2. Wait for Thor's response
|
|
698
|
+
3. If REJECTED: Fix everything, resubmit
|
|
699
|
+
4. Only after APPROVED: Mark task ✅
|
|
700
|
+
```
|
|
610
701
|
|
|
611
702
|
### GIT WORKFLOW (OBBLIGATORIO)
|
|
612
703
|
|
|
@@ -794,6 +885,8 @@ watch -n 300 'grep "GATE-0" plan.md'
|
|
|
794
885
|
|
|
795
886
|
## Changelog
|
|
796
887
|
|
|
888
|
+
- **1.6.1** (2025-12-30): Fixed heredoc quoting bug in Thor validation example (was preventing variable expansion)
|
|
889
|
+
- **1.6.0** (2025-12-30): Added mandatory THOR VALIDATION GATE section - all workers must get Thor approval before claiming task complete
|
|
797
890
|
- **1.5.0** (2025-12-30): Added mandatory GIT WORKFLOW section with worktrees per Claude, PR per phase, and cleanup protocol
|
|
798
891
|
- **1.4.0** (2025-12-29): Expanded to full Inter-Claude Communication Protocol with bidirectional messaging, worker-to-worker sync, broadcast patterns, message format conventions, and emoji reference table
|
|
799
892
|
- **1.3.5** (2025-12-29): Simplified kitty pattern with `&&` chaining, added Coordinator Communication Pattern section
|