tribunal-kit 4.2.0 → 4.3.1
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/.agent/ARCHITECTURE.md +21 -14
- package/.agent/agents/swarm-worker-contracts.md +5 -5
- package/.agent/agents/ui-ux-auditor.md +292 -0
- package/.agent/rules/GEMINI.md +8 -8
- package/.agent/scripts/__pycache__/_colors.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/_utils.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/case_law_manager.cpython-311.pyc +0 -0
- package/.agent/scripts/_colors.js +18 -0
- package/.agent/scripts/_utils.js +42 -0
- package/.agent/scripts/auto_preview.js +197 -0
- package/.agent/scripts/bundle_analyzer.js +290 -0
- package/.agent/scripts/case_law_manager.js +684 -0
- package/.agent/scripts/checklist.js +266 -0
- package/.agent/scripts/colors.js +17 -0
- package/.agent/scripts/compress_skills.js +141 -0
- package/.agent/scripts/consolidate_skills.js +149 -0
- package/.agent/scripts/context_broker.js +609 -0
- package/.agent/scripts/deep_compress.js +150 -0
- package/.agent/scripts/dependency_analyzer.js +272 -0
- package/.agent/scripts/graph_builder.js +199 -0
- package/.agent/scripts/graph_zoom.js +154 -0
- package/.agent/scripts/inner_loop_validator.js +465 -0
- package/.agent/scripts/lint_runner.js +187 -0
- package/.agent/scripts/minify_context.js +100 -0
- package/.agent/scripts/patch_skills_meta.js +156 -0
- package/.agent/scripts/patch_skills_output.js +244 -0
- package/.agent/scripts/schema_validator.js +297 -0
- package/.agent/scripts/security_scan.js +303 -0
- package/.agent/scripts/session_manager.js +276 -0
- package/.agent/scripts/skill_evolution.js +644 -0
- package/.agent/scripts/skill_integrator.js +313 -0
- package/.agent/scripts/strengthen_skills.js +193 -0
- package/.agent/scripts/strip_tribunal.js +47 -0
- package/.agent/scripts/swarm_dispatcher.js +360 -0
- package/.agent/scripts/test_runner.js +193 -0
- package/.agent/scripts/utils.js +32 -0
- package/.agent/scripts/verify_all.js +256 -0
- package/.agent/skills/agent-organizer/SKILL.md +12 -4
- package/.agent/skills/agentic-patterns/SKILL.md +12 -4
- package/.agent/skills/ai-prompt-injection-defense/SKILL.md +12 -4
- package/.agent/skills/api-patterns/SKILL.md +209 -201
- package/.agent/skills/api-security-auditor/SKILL.md +12 -4
- package/.agent/skills/app-builder/SKILL.md +12 -4
- package/.agent/skills/app-builder/templates/SKILL.md +76 -68
- package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +1 -1
- package/.agent/skills/appflow-wireframe/SKILL.md +12 -4
- package/.agent/skills/architecture/SKILL.md +12 -4
- package/.agent/skills/authentication-best-practices/SKILL.md +12 -4
- package/.agent/skills/bash-linux/SKILL.md +12 -4
- package/.agent/skills/behavioral-modes/SKILL.md +12 -4
- package/.agent/skills/brainstorming/SKILL.md +12 -4
- package/.agent/skills/building-native-ui/SKILL.md +12 -4
- package/.agent/skills/clean-code/SKILL.md +12 -4
- package/.agent/skills/code-review-checklist/SKILL.md +12 -4
- package/.agent/skills/config-validator/SKILL.md +12 -4
- package/.agent/skills/csharp-developer/SKILL.md +12 -4
- package/.agent/skills/data-validation-schemas/SKILL.md +290 -282
- package/.agent/skills/database-design/SKILL.md +202 -194
- package/.agent/skills/deployment-procedures/SKILL.md +12 -4
- package/.agent/skills/devops-engineer/SKILL.md +12 -4
- package/.agent/skills/devops-incident-responder/SKILL.md +12 -4
- package/.agent/skills/doc.md +1 -1
- package/.agent/skills/documentation-templates/SKILL.md +12 -4
- package/.agent/skills/edge-computing/SKILL.md +12 -4
- package/.agent/skills/error-resilience/SKILL.md +390 -382
- package/.agent/skills/extract-design-system/SKILL.md +12 -4
- package/.agent/skills/framer-motion-expert/SKILL.md +206 -199
- package/.agent/skills/frontend-design/SKILL.md +163 -155
- package/.agent/skills/game-design-expert/SKILL.md +12 -4
- package/.agent/skills/game-engineering-expert/SKILL.md +12 -4
- package/.agent/skills/geo-fundamentals/SKILL.md +12 -4
- package/.agent/skills/github-operations/SKILL.md +12 -4
- package/.agent/skills/gsap-core/SKILL.md +54 -48
- package/.agent/skills/gsap-frameworks/SKILL.md +54 -48
- package/.agent/skills/gsap-performance/SKILL.md +54 -48
- package/.agent/skills/gsap-plugins/SKILL.md +54 -48
- package/.agent/skills/gsap-react/SKILL.md +54 -48
- package/.agent/skills/gsap-scrolltrigger/SKILL.md +54 -48
- package/.agent/skills/gsap-timeline/SKILL.md +54 -48
- package/.agent/skills/gsap-utils/SKILL.md +54 -48
- package/.agent/skills/i18n-localization/SKILL.md +12 -4
- package/.agent/skills/intelligent-routing/SKILL.md +41 -33
- package/.agent/skills/knowledge-graph/SKILL.md +36 -0
- package/.agent/skills/lint-and-validate/SKILL.md +12 -4
- package/.agent/skills/llm-engineering/SKILL.md +12 -4
- package/.agent/skills/local-first/SKILL.md +12 -4
- package/.agent/skills/mcp-builder/SKILL.md +12 -4
- package/.agent/skills/mobile-design/SKILL.md +225 -217
- package/.agent/skills/monorepo-management/SKILL.md +296 -288
- package/.agent/skills/motion-engineering/SKILL.md +195 -187
- package/.agent/skills/nextjs-react-expert/SKILL.md +196 -188
- package/.agent/skills/nodejs-best-practices/SKILL.md +12 -4
- package/.agent/skills/observability/SKILL.md +12 -4
- package/.agent/skills/parallel-agents/SKILL.md +12 -4
- package/.agent/skills/performance-profiling/SKILL.md +12 -4
- package/.agent/skills/plan-writing/SKILL.md +12 -4
- package/.agent/skills/platform-engineer/SKILL.md +12 -4
- package/.agent/skills/playwright-best-practices/SKILL.md +12 -4
- package/.agent/skills/powershell-windows/SKILL.md +12 -4
- package/.agent/skills/project-idioms/SKILL.md +12 -4
- package/.agent/skills/python-patterns/SKILL.md +12 -4
- package/.agent/skills/python-pro/SKILL.md +285 -277
- package/.agent/skills/react-specialist/SKILL.md +239 -231
- package/.agent/skills/readme-builder/SKILL.md +12 -4
- package/.agent/skills/realtime-patterns/SKILL.md +12 -4
- package/.agent/skills/red-team-tactics/SKILL.md +12 -4
- package/.agent/skills/rust-pro/SKILL.md +12 -4
- package/.agent/skills/seo-fundamentals/SKILL.md +12 -4
- package/.agent/skills/server-management/SKILL.md +12 -4
- package/.agent/skills/shadcn-ui-expert/SKILL.md +12 -4
- package/.agent/skills/skill-creator/SKILL.md +12 -4
- package/.agent/skills/sql-pro/SKILL.md +12 -4
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +12 -4
- package/.agent/skills/swiftui-expert/SKILL.md +12 -4
- package/.agent/skills/systematic-debugging/SKILL.md +12 -4
- package/.agent/skills/tailwind-patterns/SKILL.md +12 -4
- package/.agent/skills/tdd-workflow/SKILL.md +12 -4
- package/.agent/skills/test-result-analyzer/SKILL.md +12 -4
- package/.agent/skills/testing-patterns/SKILL.md +12 -4
- package/.agent/skills/trend-researcher/SKILL.md +12 -4
- package/.agent/skills/typescript-advanced/SKILL.md +297 -289
- package/.agent/skills/ui-ux-pro-max/SKILL.md +12 -4
- package/.agent/skills/ui-ux-researcher/SKILL.md +12 -4
- package/.agent/skills/vue-expert/SKILL.md +237 -229
- package/.agent/skills/vulnerability-scanner/SKILL.md +12 -4
- package/.agent/skills/web-accessibility-auditor/SKILL.md +12 -4
- package/.agent/skills/web-design-guidelines/SKILL.md +12 -4
- package/.agent/skills/webapp-testing/SKILL.md +12 -4
- package/.agent/skills/whimsy-injector/SKILL.md +12 -4
- package/.agent/skills/workflow-optimizer/SKILL.md +12 -4
- package/.agent/workflows/audit.md +6 -6
- package/.agent/workflows/deploy.md +1 -1
- package/.agent/workflows/generate.md +23 -6
- package/.agent/workflows/session.md +5 -5
- package/.agent/workflows/swarm.md +2 -2
- package/README.md +242 -186
- package/bin/tribunal-kit.js +297 -57
- package/package.json +81 -77
- package/scripts/changelog.js +167 -0
- package/scripts/sync-version.js +81 -0
- package/scripts/validate-payload.js +73 -0
- package/.agent/scripts/__pycache__/auto_preview.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/bundle_analyzer.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/checklist.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/dependency_analyzer.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/security_scan.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/session_manager.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/skill_integrator.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/swarm_dispatcher.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/test_runner.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/verify_all.cpython-311.pyc +0 -0
- package/.agent/scripts/auto_preview.py +0 -180
- package/.agent/scripts/bundle_analyzer.py +0 -259
- package/.agent/scripts/case_law_manager.py +0 -755
- package/.agent/scripts/checklist.py +0 -209
- package/.agent/scripts/compress_skills.py +0 -167
- package/.agent/scripts/consolidate_skills.py +0 -173
- package/.agent/scripts/deep_compress.py +0 -202
- package/.agent/scripts/dependency_analyzer.py +0 -247
- package/.agent/scripts/lint_runner.py +0 -188
- package/.agent/scripts/minify_context.py +0 -80
- package/.agent/scripts/patch_skills_meta.py +0 -177
- package/.agent/scripts/patch_skills_output.py +0 -285
- package/.agent/scripts/schema_validator.py +0 -279
- package/.agent/scripts/security_scan.py +0 -224
- package/.agent/scripts/session_manager.py +0 -261
- package/.agent/scripts/skill_evolution.py +0 -563
- package/.agent/scripts/skill_integrator.py +0 -234
- package/.agent/scripts/strengthen_skills.py +0 -220
- package/.agent/scripts/strip_tribunal.py +0 -41
- package/.agent/scripts/swarm_dispatcher.py +0 -350
- package/.agent/scripts/test_runner.py +0 -192
- package/.agent/scripts/test_swarm_dispatcher.py +0 -163
- package/.agent/scripts/verify_all.py +0 -195
|
@@ -121,7 +121,7 @@ describe('calculateTax()', () => {
|
|
|
121
121
|
|
|
122
122
|
---
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
|
|
125
125
|
|
|
126
126
|
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
127
127
|
|
|
@@ -133,7 +133,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
133
133
|
|
|
134
134
|
---
|
|
135
135
|
|
|
136
|
-
|
|
136
|
+
|
|
137
137
|
|
|
138
138
|
**Slash command: `/review` or `/tribunal-full`**
|
|
139
139
|
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
@@ -144,7 +144,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
144
144
|
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
145
145
|
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
146
146
|
|
|
147
|
-
|
|
147
|
+
|
|
148
148
|
|
|
149
149
|
Review these questions before confirming output:
|
|
150
150
|
```
|
|
@@ -158,4 +158,12 @@ Review these questions before confirming output:
|
|
|
158
158
|
|
|
159
159
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
160
160
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
161
|
-
- ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.
|
|
161
|
+
- ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
## Pre-Flight Checklist
|
|
165
|
+
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
166
|
+
- [ ] Have I checked the environment for relevant existing implementations?
|
|
167
|
+
|
|
168
|
+
## VBC Protocol (Verification-Before-Completion)
|
|
169
|
+
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
@@ -277,7 +277,7 @@ Every file with animations MUST include:
|
|
|
277
277
|
|
|
278
278
|
---
|
|
279
279
|
|
|
280
|
-
|
|
280
|
+
|
|
281
281
|
|
|
282
282
|
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
283
283
|
|
|
@@ -289,7 +289,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
289
289
|
|
|
290
290
|
---
|
|
291
291
|
|
|
292
|
-
|
|
292
|
+
|
|
293
293
|
|
|
294
294
|
**Slash command: `/review` or `/tribunal-full`**
|
|
295
295
|
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
@@ -300,7 +300,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
300
300
|
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
301
301
|
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
302
302
|
|
|
303
|
-
|
|
303
|
+
|
|
304
304
|
|
|
305
305
|
Review these questions before confirming output:
|
|
306
306
|
```
|
|
@@ -314,4 +314,12 @@ Review these questions before confirming output:
|
|
|
314
314
|
|
|
315
315
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
316
316
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
317
|
-
- ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.
|
|
317
|
+
- ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
## Pre-Flight Checklist
|
|
321
|
+
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
322
|
+
- [ ] Have I checked the environment for relevant existing implementations?
|
|
323
|
+
|
|
324
|
+
## VBC Protocol (Verification-Before-Completion)
|
|
325
|
+
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
@@ -181,7 +181,7 @@ Before analyzing, check for these common quick wins:
|
|
|
181
181
|
|
|
182
182
|
---
|
|
183
183
|
|
|
184
|
-
|
|
184
|
+
|
|
185
185
|
|
|
186
186
|
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
187
187
|
|
|
@@ -193,7 +193,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
193
193
|
|
|
194
194
|
---
|
|
195
195
|
|
|
196
|
-
|
|
196
|
+
|
|
197
197
|
|
|
198
198
|
**Slash command: `/review` or `/tribunal-full`**
|
|
199
199
|
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
@@ -204,7 +204,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
204
204
|
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
205
205
|
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
206
206
|
|
|
207
|
-
|
|
207
|
+
|
|
208
208
|
|
|
209
209
|
Review these questions before confirming output:
|
|
210
210
|
```
|
|
@@ -218,4 +218,12 @@ Review these questions before confirming output:
|
|
|
218
218
|
|
|
219
219
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
220
220
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
221
|
-
- ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.
|
|
221
|
+
- ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
## Pre-Flight Checklist
|
|
225
|
+
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
226
|
+
- [ ] Have I checked the environment for relevant existing implementations?
|
|
227
|
+
|
|
228
|
+
## VBC Protocol (Verification-Before-Completion)
|
|
229
|
+
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
@@ -26,25 +26,25 @@ Security failures early in the pipeline halt subsequent steps. Lint/test failure
|
|
|
26
26
|
|
|
27
27
|
```
|
|
28
28
|
Priority 1 — Security (HALT if critical finding)
|
|
29
|
-
|
|
29
|
+
node .agent/scripts/security_scan.js .
|
|
30
30
|
|
|
31
31
|
Priority 2 — Dependencies (HALT if exploitable CVE found)
|
|
32
|
-
|
|
32
|
+
node .agent/scripts/dependency_analyzer.js . --audit
|
|
33
33
|
|
|
34
34
|
Priority 3 — Type Checking (CONTINUE but flag)
|
|
35
35
|
npx tsc --noEmit
|
|
36
36
|
|
|
37
37
|
Priority 4 — Lint (CONTINUE but flag as deployment blocker)
|
|
38
|
-
|
|
38
|
+
node .agent/scripts/lint_runner.js .
|
|
39
39
|
|
|
40
40
|
Priority 5 — Schema Validation (CONTINUE but flag)
|
|
41
|
-
|
|
41
|
+
node .agent/scripts/schema_validator.js .
|
|
42
42
|
|
|
43
43
|
Priority 6 — Tests (CONTINUE but mark incomplete)
|
|
44
|
-
|
|
44
|
+
node .agent/scripts/test_runner.js . --coverage
|
|
45
45
|
|
|
46
46
|
Priority 7 — Bundle Analysis (INFORM only)
|
|
47
|
-
|
|
47
|
+
node .agent/scripts/bundle_analyzer.js . --build
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
### Cascade Failure Rules
|
|
@@ -34,7 +34,7 @@ Every step is logged. Every step has a rollback path. No surprises.
|
|
|
34
34
|
# T-minus safety sequence (in exact order)
|
|
35
35
|
|
|
36
36
|
# 1. Security: halt on critical
|
|
37
|
-
|
|
37
|
+
node .agent/scripts/security_scan.js . --level=critical
|
|
38
38
|
|
|
39
39
|
# 2. Dependencies: no exploitable CVEs
|
|
40
40
|
npm audit --audit-level=high
|
|
@@ -25,6 +25,14 @@ $ARGUMENTS
|
|
|
25
25
|
Your request
|
|
26
26
|
│
|
|
27
27
|
▼
|
|
28
|
+
[Phase 6] Context Broker — Skill Selection
|
|
29
|
+
├── Scores all 90+ skills against your task keywords
|
|
30
|
+
├── Level 0 (Essential): top skills — full content, injected first
|
|
31
|
+
├── Level 1 (Supplementary): medium relevance — key rules only
|
|
32
|
+
├── Level 2 (Available): listed for reference only
|
|
33
|
+
└── Large models: Essential + Supplementary | Small models: Essential only
|
|
34
|
+
│
|
|
35
|
+
▼
|
|
28
36
|
Context scan (MANDATORY before first line of code)
|
|
29
37
|
├── Read package.json → verify all imports exist
|
|
30
38
|
├── Read tsconfig.json → understand strictness, paths aliases
|
|
@@ -39,7 +47,17 @@ Maker generates at temperature 0.1
|
|
|
39
47
|
└── No full application generation — modules only
|
|
40
48
|
│
|
|
41
49
|
▼
|
|
42
|
-
|
|
50
|
+
[Phase 6] Inner-Loop Validator (AUTO — runs before you see the code)
|
|
51
|
+
├── Scans generated snippet for OWASP patterns (critical/high/medium/low)
|
|
52
|
+
├── Runs structural heuristics (empty catch, throw strings, env without fallback)
|
|
53
|
+
├── Verdict: APPROVED / WARNING / REJECTED
|
|
54
|
+
│ ├── APPROVED → continues to Tribunal Review
|
|
55
|
+
│ ├── WARNING → noted, continues with flag
|
|
56
|
+
│ └── REJECTED → Maker auto-corrects (up to 2 inner-loop attempts)
|
|
57
|
+
└── Only clean code reaches the Tribunal reviewers
|
|
58
|
+
│
|
|
59
|
+
▼
|
|
60
|
+
Tribunal Reviewers run in parallel (auto-selected by keyword)
|
|
43
61
|
│
|
|
44
62
|
▼
|
|
45
63
|
Human Gate — verdicts shown + unified diff
|
|
@@ -84,13 +102,14 @@ security-auditor → OWASP vulnerabilities, hardcoded secrets, injection
|
|
|
84
102
|
|:---|:---|
|
|
85
103
|
| `api`, `route`, `endpoint`, `handler`, `server action` | `dependency-reviewer` + `type-safety-reviewer` |
|
|
86
104
|
| `sql`, `query`, `database`, `prisma`, `drizzle`, `orm` | `sql-reviewer` |
|
|
87
|
-
| `component`, `hook`, `react`, `vue`, `jsx`, `tsx` | `frontend-reviewer` + `type-safety-reviewer` |
|
|
88
|
-
| `
|
|
105
|
+
| `component`, `hook`, `react`, `vue`, `jsx`, `tsx` | `frontend-reviewer` + `type-safety-reviewer` + `ui-ux-auditor` |
|
|
106
|
+
| `ui`, `design`, `landing`, `page`, `layout`, `style`, `css` | `ui-ux-auditor` + `accessibility-reviewer` |
|
|
107
|
+
| `animation`, `gsap`, `framer`, `motion`, `scroll` | `frontend-reviewer` + `performance-reviewer` + `ui-ux-auditor` |
|
|
89
108
|
| `test`, `spec`, `vitest`, `jest`, `playwright` | `test-coverage-reviewer` |
|
|
90
109
|
| `slow`, `optimize`, `cache`, `performance`, `bundle` | `performance-reviewer` |
|
|
91
110
|
| `mobile`, `react native`, `expo` | `mobile-reviewer` |
|
|
92
111
|
| `llm`, `openai`, `anthropic`, `gemini`, `embedding`, `ai` | `ai-code-reviewer` |
|
|
93
|
-
| `aria`, `wcag`, `a11y`, `accessibility` | `accessibility-reviewer` |
|
|
112
|
+
| `aria`, `wcag`, `a11y`, `accessibility` | `accessibility-reviewer` + `ui-ux-auditor` |
|
|
94
113
|
| `import`, `package`, `npm`, `require` | `dependency-reviewer` |
|
|
95
114
|
|
|
96
115
|
> For maximum safety on critical code: use `/tribunal-full` for all 11 reviewers simultaneously.
|
|
@@ -136,8 +155,6 @@ Write to disk? Y = approve | N = discard | R = revise with feedback
|
|
|
136
155
|
|
|
137
156
|
---
|
|
138
157
|
|
|
139
|
-
## Cross-Workflow Navigation
|
|
140
|
-
|
|
141
158
|
| After /generate shows... | Go to |
|
|
142
159
|
|:---|:---|
|
|
143
160
|
| Multiple files need changing | `/enhance` for impact-zone analysis |
|
|
@@ -23,11 +23,11 @@ $ARGUMENTS
|
|
|
23
23
|
## Execution
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
node .agent/scripts/session_manager.js save
|
|
27
|
+
node .agent/scripts/session_manager.js restore
|
|
28
|
+
node .agent/scripts/session_manager.js status
|
|
29
|
+
node .agent/scripts/session_manager.js new
|
|
30
|
+
node .agent/scripts/session_manager.js list
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
---
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Multi-Agent Swarm Orchestration. Supervisor decomposes a complex goal into sub-tasks, dispatches to specialist Workers via structured JSON contracts, collects results via allSettled fan-in, and synthesizes a unified deliverable. Validates payloads via swarm_dispatcher.
|
|
2
|
+
description: Multi-Agent Swarm Orchestration. Supervisor decomposes a complex goal into sub-tasks, dispatches to specialist Workers via structured JSON contracts, collects results via allSettled fan-in, and synthesizes a unified deliverable. Validates payloads via swarm_dispatcher.js before dispatch.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# /swarm — Multi-Agent Swarm Execution
|
|
@@ -69,7 +69,7 @@ Every worker receives a structured JSON contract (not natural language):
|
|
|
69
69
|
Before dispatching, validate all worker contracts:
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
|
-
|
|
72
|
+
node .agent/scripts/swarm_dispatcher.js --file payload.json
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
If validation passes → dispatch workers in parallel.
|