tribunal-kit 4.4.2 → 4.4.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.
Files changed (108) hide show
  1. package/.agent/scripts/marathon_harness.js +896 -0
  2. package/.agent/scripts/prompt_compiler.js +87 -0
  3. package/.agent/skills/agent-organizer/SKILL.md +42 -0
  4. package/.agent/skills/agentic-patterns/SKILL.md +42 -0
  5. package/.agent/skills/ai-prompt-injection-defense/SKILL.md +42 -0
  6. package/.agent/skills/api-patterns/SKILL.md +42 -0
  7. package/.agent/skills/api-security-auditor/SKILL.md +42 -0
  8. package/.agent/skills/app-builder/SKILL.md +42 -0
  9. package/.agent/skills/appflow-wireframe/SKILL.md +42 -0
  10. package/.agent/skills/architecture/SKILL.md +42 -0
  11. package/.agent/skills/authentication-best-practices/SKILL.md +42 -0
  12. package/.agent/skills/backend-security-expert/SKILL.md +122 -0
  13. package/.agent/skills/bash-linux/SKILL.md +42 -0
  14. package/.agent/skills/behavioral-modes/SKILL.md +42 -0
  15. package/.agent/skills/brainstorming/SKILL.md +42 -0
  16. package/.agent/skills/building-native-ui/SKILL.md +42 -0
  17. package/.agent/skills/clean-code/SKILL.md +42 -0
  18. package/.agent/skills/code-review-checklist/SKILL.md +42 -0
  19. package/.agent/skills/config-validator/SKILL.md +42 -0
  20. package/.agent/skills/csharp-developer/SKILL.md +42 -0
  21. package/.agent/skills/data-validation-schemas/SKILL.md +42 -0
  22. package/.agent/skills/database-design/SKILL.md +42 -0
  23. package/.agent/skills/deployment-procedures/SKILL.md +42 -0
  24. package/.agent/skills/devops-engineer/SKILL.md +42 -0
  25. package/.agent/skills/devops-incident-responder/SKILL.md +42 -0
  26. package/.agent/skills/documentation-templates/SKILL.md +42 -0
  27. package/.agent/skills/edge-computing/SKILL.md +42 -0
  28. package/.agent/skills/error-resilience/SKILL.md +42 -0
  29. package/.agent/skills/extract-design-system/SKILL.md +42 -0
  30. package/.agent/skills/framer-motion-expert/SKILL.md +42 -0
  31. package/.agent/skills/frontend-design/SKILL.md +42 -0
  32. package/.agent/skills/frontend-security-expert/SKILL.md +123 -0
  33. package/.agent/skills/game-design-expert/SKILL.md +42 -0
  34. package/.agent/skills/game-engineering-expert/SKILL.md +42 -0
  35. package/.agent/skills/geo-fundamentals/SKILL.md +42 -0
  36. package/.agent/skills/github-operations/SKILL.md +42 -0
  37. package/.agent/skills/gsap-core/SKILL.md +42 -0
  38. package/.agent/skills/gsap-frameworks/SKILL.md +42 -0
  39. package/.agent/skills/gsap-performance/SKILL.md +42 -0
  40. package/.agent/skills/gsap-plugins/SKILL.md +42 -0
  41. package/.agent/skills/gsap-react/SKILL.md +42 -0
  42. package/.agent/skills/gsap-scrolltrigger/SKILL.md +42 -0
  43. package/.agent/skills/gsap-timeline/SKILL.md +42 -0
  44. package/.agent/skills/gsap-utils/SKILL.md +42 -0
  45. package/.agent/skills/i18n-localization/SKILL.md +42 -0
  46. package/.agent/skills/intelligent-routing/SKILL.md +42 -0
  47. package/.agent/skills/knowledge-graph/SKILL.md +42 -0
  48. package/.agent/skills/lint-and-validate/SKILL.md +42 -0
  49. package/.agent/skills/llm-engineering/SKILL.md +42 -0
  50. package/.agent/skills/local-first/SKILL.md +42 -0
  51. package/.agent/skills/mcp-builder/SKILL.md +42 -0
  52. package/.agent/skills/mobile-design/SKILL.md +42 -0
  53. package/.agent/skills/monorepo-management/SKILL.md +42 -0
  54. package/.agent/skills/motion-engineering/SKILL.md +42 -0
  55. package/.agent/skills/nextjs-react-expert/SKILL.md +42 -0
  56. package/.agent/skills/nodejs-best-practices/SKILL.md +42 -0
  57. package/.agent/skills/observability/SKILL.md +42 -0
  58. package/.agent/skills/parallel-agents/SKILL.md +42 -0
  59. package/.agent/skills/performance-profiling/SKILL.md +42 -0
  60. package/.agent/skills/plan-writing/SKILL.md +42 -0
  61. package/.agent/skills/platform-engineer/SKILL.md +42 -0
  62. package/.agent/skills/playwright-best-practices/SKILL.md +42 -0
  63. package/.agent/skills/powershell-windows/SKILL.md +42 -0
  64. package/.agent/skills/project-idioms/SKILL.md +42 -0
  65. package/.agent/skills/python-patterns/SKILL.md +42 -0
  66. package/.agent/skills/python-pro/SKILL.md +42 -0
  67. package/.agent/skills/react-specialist/SKILL.md +42 -0
  68. package/.agent/skills/readme-builder/SKILL.md +42 -0
  69. package/.agent/skills/realtime-patterns/SKILL.md +42 -0
  70. package/.agent/skills/red-team-tactics/SKILL.md +42 -0
  71. package/.agent/skills/rust-pro/SKILL.md +42 -0
  72. package/.agent/skills/seo-fundamentals/SKILL.md +42 -0
  73. package/.agent/skills/server-management/SKILL.md +42 -0
  74. package/.agent/skills/shadcn-ui-expert/SKILL.md +42 -0
  75. package/.agent/skills/skill-creator/SKILL.md +42 -0
  76. package/.agent/skills/sql-pro/SKILL.md +42 -0
  77. package/.agent/skills/supabase-postgres-best-practices/SKILL.md +42 -0
  78. package/.agent/skills/swiftui-expert/SKILL.md +42 -0
  79. package/.agent/skills/systematic-debugging/SKILL.md +42 -0
  80. package/.agent/skills/tailwind-patterns/SKILL.md +42 -0
  81. package/.agent/skills/tdd-workflow/SKILL.md +42 -0
  82. package/.agent/skills/test-result-analyzer/SKILL.md +42 -0
  83. package/.agent/skills/testing-patterns/SKILL.md +42 -0
  84. package/.agent/skills/trend-researcher/SKILL.md +42 -0
  85. package/.agent/skills/typescript-advanced/SKILL.md +42 -0
  86. package/.agent/skills/ui-ux-pro-max/SKILL.md +42 -0
  87. package/.agent/skills/ui-ux-researcher/SKILL.md +42 -0
  88. package/.agent/skills/vue-expert/SKILL.md +42 -0
  89. package/.agent/skills/vulnerability-scanner/SKILL.md +42 -0
  90. package/.agent/skills/web-accessibility-auditor/SKILL.md +42 -0
  91. package/.agent/skills/web-design-guidelines/SKILL.md +42 -0
  92. package/.agent/skills/webapp-testing/SKILL.md +42 -0
  93. package/.agent/skills/whimsy-injector/SKILL.md +42 -0
  94. package/.agent/skills/workflow-optimizer/SKILL.md +42 -0
  95. package/.agent/workflows/marathon.md +247 -0
  96. package/.agent/workflows/super-prompt.md +27 -0
  97. package/README.md +113 -242
  98. package/bin/tribunal-kit.js +49 -3
  99. package/package.json +3 -2
  100. package/.agent/scripts/append_flow.js +0 -72
  101. package/.agent/scripts/colors.js +0 -11
  102. package/.agent/scripts/compress_skills.js +0 -141
  103. package/.agent/scripts/consolidate_skills.js +0 -149
  104. package/.agent/scripts/deep_compress.js +0 -150
  105. package/.agent/scripts/patch_skills_meta.js +0 -156
  106. package/.agent/scripts/patch_skills_output.js +0 -244
  107. package/.agent/scripts/strip_tribunal.js +0 -47
  108. package/.agent/scripts/utils.js +0 -17
@@ -179,3 +179,45 @@ Review these questions before confirming output:
179
179
 
180
180
  ## VBC Protocol (Verification-Before-Completion)
181
181
  You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
182
+
183
+
184
+ ---
185
+
186
+ ## 🤖 LLM-Specific Traps
187
+
188
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
189
+
190
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
191
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
192
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
193
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
194
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
195
+
196
+ ---
197
+
198
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
199
+
200
+ **Slash command: `/review` or `/tribunal-full`**
201
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
202
+
203
+ ### ❌ Forbidden AI Tropes
204
+
205
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
206
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
207
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
208
+
209
+ ### ✅ Pre-Flight Self-Audit
210
+
211
+ Review these questions before confirming output:
212
+ ```
213
+ ✅ Did I rely ONLY on real, verified tools and methods?
214
+ ✅ Is this solution appropriately scoped to the user's constraints?
215
+ ✅ Did I handle potential failure modes and edge cases?
216
+ ✅ Have I avoided generic boilerplate that doesn't add value?
217
+ ```
218
+
219
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
220
+
221
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
222
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
223
+ - ✅ **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.
@@ -426,3 +426,45 @@ Review these questions before confirming output:
426
426
 
427
427
  ## VBC Protocol (Verification-Before-Completion)
428
428
  You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
429
+
430
+
431
+ ---
432
+
433
+ ## 🤖 LLM-Specific Traps
434
+
435
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
436
+
437
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
438
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
439
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
440
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
441
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
442
+
443
+ ---
444
+
445
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
446
+
447
+ **Slash command: `/review` or `/tribunal-full`**
448
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
449
+
450
+ ### ❌ Forbidden AI Tropes
451
+
452
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
453
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
454
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
455
+
456
+ ### ✅ Pre-Flight Self-Audit
457
+
458
+ Review these questions before confirming output:
459
+ ```
460
+ ✅ Did I rely ONLY on real, verified tools and methods?
461
+ ✅ Is this solution appropriately scoped to the user's constraints?
462
+ ✅ Did I handle potential failure modes and edge cases?
463
+ ✅ Have I avoided generic boilerplate that doesn't add value?
464
+ ```
465
+
466
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
467
+
468
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
469
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
470
+ - ✅ **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.
@@ -156,3 +156,45 @@ Review these questions before confirming output:
156
156
 
157
157
  ## VBC Protocol (Verification-Before-Completion)
158
158
  You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
159
+
160
+
161
+ ---
162
+
163
+ ## 🤖 LLM-Specific Traps
164
+
165
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
166
+
167
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
168
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
169
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
170
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
171
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
172
+
173
+ ---
174
+
175
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
176
+
177
+ **Slash command: `/review` or `/tribunal-full`**
178
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
179
+
180
+ ### ❌ Forbidden AI Tropes
181
+
182
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
183
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
184
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
185
+
186
+ ### ✅ Pre-Flight Self-Audit
187
+
188
+ Review these questions before confirming output:
189
+ ```
190
+ ✅ Did I rely ONLY on real, verified tools and methods?
191
+ ✅ Is this solution appropriately scoped to the user's constraints?
192
+ ✅ Did I handle potential failure modes and edge cases?
193
+ ✅ Have I avoided generic boilerplate that doesn't add value?
194
+ ```
195
+
196
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
197
+
198
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
199
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
200
+ - ✅ **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.
@@ -242,3 +242,45 @@ Review these questions before confirming output:
242
242
 
243
243
  ## VBC Protocol (Verification-Before-Completion)
244
244
  You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
245
+
246
+
247
+ ---
248
+
249
+ ## 🤖 LLM-Specific Traps
250
+
251
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
252
+
253
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
254
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
255
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
256
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
257
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
258
+
259
+ ---
260
+
261
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
262
+
263
+ **Slash command: `/review` or `/tribunal-full`**
264
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
265
+
266
+ ### ❌ Forbidden AI Tropes
267
+
268
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
269
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
270
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
271
+
272
+ ### ✅ Pre-Flight Self-Audit
273
+
274
+ Review these questions before confirming output:
275
+ ```
276
+ ✅ Did I rely ONLY on real, verified tools and methods?
277
+ ✅ Is this solution appropriately scoped to the user's constraints?
278
+ ✅ Did I handle potential failure modes and edge cases?
279
+ ✅ Have I avoided generic boilerplate that doesn't add value?
280
+ ```
281
+
282
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
283
+
284
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
285
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
286
+ - ✅ **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.
@@ -199,3 +199,45 @@ Review these questions before confirming output:
199
199
 
200
200
  ## VBC Protocol (Verification-Before-Completion)
201
201
  You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
202
+
203
+
204
+ ---
205
+
206
+ ## 🤖 LLM-Specific Traps
207
+
208
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
209
+
210
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
211
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
212
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
213
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
214
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
215
+
216
+ ---
217
+
218
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
219
+
220
+ **Slash command: `/review` or `/tribunal-full`**
221
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
222
+
223
+ ### ❌ Forbidden AI Tropes
224
+
225
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
226
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
227
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
228
+
229
+ ### ✅ Pre-Flight Self-Audit
230
+
231
+ Review these questions before confirming output:
232
+ ```
233
+ ✅ Did I rely ONLY on real, verified tools and methods?
234
+ ✅ Is this solution appropriately scoped to the user's constraints?
235
+ ✅ Did I handle potential failure modes and edge cases?
236
+ ✅ Have I avoided generic boilerplate that doesn't add value?
237
+ ```
238
+
239
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
240
+
241
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
242
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
243
+ - ✅ **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.
@@ -0,0 +1,123 @@
1
+ ---
2
+ name: frontend-security-expert
3
+ description: Frontend security auditing for modern meta-frameworks. Focuses on React/Next.js UI paradigms, hydration poisoning, third-party script supply chain, local storage security, and XSS prevention in modern environments.
4
+ allowed-tools: Read, Write, Edit, Glob, Grep
5
+ version: 1.0.0
6
+ last-updated: 2026-05-22
7
+ applies-to-model: gemini-3-1-pro, claude-3-7-sonnet
8
+ ---
9
+
10
+ # Frontend Security Expert — Modern Meta-Frameworks
11
+
12
+ ## Hallucination Traps (Read First)
13
+ - ❌ Focusing on generic OWASP top 10 (SQLi, IDOR) → ✅ This is the *frontend* skill. Focus strictly on client-side boundaries, SSR hydration, and DOM.
14
+ - ❌ Treating React `useEffect` data fetching as secure → ✅ Data fetched client-side can be intercepted or manipulated.
15
+ - ❌ Recommending LocalStorage for JWTs → ✅ JWTs must go in HttpOnly, Secure, SameSite cookies.
16
+ - ❌ Assuming Next.js SSR is immune to XSS → ✅ Hydration mismatch or dangerouslySetInnerHTML can inject payloads.
17
+
18
+ ---
19
+
20
+ ## 1. React & Next.js Specific Vulnerabilities
21
+ Modern frameworks handle basic XSS by escaping text, but specific APIs bypass this.
22
+
23
+ - **`dangerouslySetInnerHTML`**: Never use this with unsanitized user input. If required, mandate the use of DOMPurify.
24
+ - **Hydration Poisoning**: Ensure that data rendered on the server matches the client to prevent malicious hydration states.
25
+ - **`javascript:` URIs**: React does not automatically prevent `javascript:` URIs in `href` tags. Audit all dynamic links.
26
+
27
+ ## 2. Token & State Storage (Web Storage API)
28
+ - **Local/Session Storage**: Do not store sensitive PII, Auth Tokens (JWTs), or API keys here. They are accessible via any XSS attack.
29
+ - **Cookies**: Use `HttpOnly`, `Secure`, and `SameSite=Strict` (or `Lax`) for all authentication cookies.
30
+ - **In-Memory State**: Store temporary sensitive data in React state/Zustand, recognizing it clears on refresh.
31
+
32
+ ## 3. Third-Party Supply Chain
33
+ - **External Scripts**: Any `<script src="...">` has full access to the DOM and global window.
34
+ - **Subresource Integrity (SRI)**: Ensure all CDN-loaded scripts use the `integrity` attribute.
35
+ - **Next.js `<Script>` Component**: Use appropriate strategies (`beforeInteractive`, `afterInteractive`) and audit what is loaded.
36
+
37
+ ## 4. Cross-Origin & PostMessage
38
+ - **`postMessage`**: Never use `targetOrigin: '*'` when sending messages. Always validate `event.origin` when receiving messages.
39
+ - **Iframes**: Use the `sandbox` attribute for any user-generated iframes to restrict script execution and top-level navigation.
40
+
41
+ ---
42
+
43
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
44
+
45
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
46
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
47
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
48
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
49
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
50
+
51
+ ---
52
+
53
+ **Slash command: `/review` or `/tribunal-full`**
54
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
55
+
56
+ ### ❌ Forbidden AI Tropes
57
+
58
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
59
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
60
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
61
+
62
+ Review these questions before confirming output:
63
+ ```
64
+ ✅ Did I rely ONLY on real, verified tools and methods?
65
+ ✅ Is this solution appropriately scoped to the user's constraints?
66
+ ✅ Did I handle potential failure modes and edge cases?
67
+ ✅ Have I avoided generic boilerplate that doesn't add value?
68
+ ```
69
+
70
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
71
+
72
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
73
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
74
+ - ✅ **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.
75
+
76
+ ## Pre-Flight Checklist
77
+ - [ ] Have I reviewed the user's specific constraints and requests?
78
+ - [ ] Have I checked the environment for relevant existing implementations?
79
+
80
+ ## VBC Protocol (Verification-Before-Completion)
81
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
82
+
83
+
84
+ ---
85
+
86
+ ## 🤖 LLM-Specific Traps
87
+
88
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
89
+
90
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
91
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
92
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
93
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
94
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
95
+
96
+ ---
97
+
98
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
99
+
100
+ **Slash command: `/review` or `/tribunal-full`**
101
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
102
+
103
+ ### ❌ Forbidden AI Tropes
104
+
105
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
106
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
107
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
108
+
109
+ ### ✅ Pre-Flight Self-Audit
110
+
111
+ Review these questions before confirming output:
112
+ ```
113
+ ✅ Did I rely ONLY on real, verified tools and methods?
114
+ ✅ Is this solution appropriately scoped to the user's constraints?
115
+ ✅ Did I handle potential failure modes and edge cases?
116
+ ✅ Have I avoided generic boilerplate that doesn't add value?
117
+ ```
118
+
119
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
120
+
121
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
122
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
123
+ - ✅ **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.
@@ -127,3 +127,45 @@ Review these questions before confirming output:
127
127
 
128
128
  ## VBC Protocol (Verification-Before-Completion)
129
129
  You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
130
+
131
+
132
+ ---
133
+
134
+ ## 🤖 LLM-Specific Traps
135
+
136
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
137
+
138
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
139
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
140
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
141
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
142
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
143
+
144
+ ---
145
+
146
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
147
+
148
+ **Slash command: `/review` or `/tribunal-full`**
149
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
150
+
151
+ ### ❌ Forbidden AI Tropes
152
+
153
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
154
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
155
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
156
+
157
+ ### ✅ Pre-Flight Self-Audit
158
+
159
+ Review these questions before confirming output:
160
+ ```
161
+ ✅ Did I rely ONLY on real, verified tools and methods?
162
+ ✅ Is this solution appropriately scoped to the user's constraints?
163
+ ✅ Did I handle potential failure modes and edge cases?
164
+ ✅ Have I avoided generic boilerplate that doesn't add value?
165
+ ```
166
+
167
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
168
+
169
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
170
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
171
+ - ✅ **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.
@@ -144,3 +144,45 @@ Review these questions before confirming output:
144
144
 
145
145
  ## VBC Protocol (Verification-Before-Completion)
146
146
  You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
147
+
148
+
149
+ ---
150
+
151
+ ## 🤖 LLM-Specific Traps
152
+
153
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
154
+
155
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
156
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
157
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
158
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
159
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
160
+
161
+ ---
162
+
163
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
164
+
165
+ **Slash command: `/review` or `/tribunal-full`**
166
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
167
+
168
+ ### ❌ Forbidden AI Tropes
169
+
170
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
171
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
172
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
173
+
174
+ ### ✅ Pre-Flight Self-Audit
175
+
176
+ Review these questions before confirming output:
177
+ ```
178
+ ✅ Did I rely ONLY on real, verified tools and methods?
179
+ ✅ Is this solution appropriately scoped to the user's constraints?
180
+ ✅ Did I handle potential failure modes and edge cases?
181
+ ✅ Have I avoided generic boilerplate that doesn't add value?
182
+ ```
183
+
184
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
185
+
186
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
187
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
188
+ - ✅ **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.
@@ -145,3 +145,45 @@ Review these questions before confirming output:
145
145
 
146
146
  ## VBC Protocol (Verification-Before-Completion)
147
147
  You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
148
+
149
+
150
+ ---
151
+
152
+ ## 🤖 LLM-Specific Traps
153
+
154
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
155
+
156
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
157
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
158
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
159
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
160
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
161
+
162
+ ---
163
+
164
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
165
+
166
+ **Slash command: `/review` or `/tribunal-full`**
167
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
168
+
169
+ ### ❌ Forbidden AI Tropes
170
+
171
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
172
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
173
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
174
+
175
+ ### ✅ Pre-Flight Self-Audit
176
+
177
+ Review these questions before confirming output:
178
+ ```
179
+ ✅ Did I rely ONLY on real, verified tools and methods?
180
+ ✅ Is this solution appropriately scoped to the user's constraints?
181
+ ✅ Did I handle potential failure modes and edge cases?
182
+ ✅ Have I avoided generic boilerplate that doesn't add value?
183
+ ```
184
+
185
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
186
+
187
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
188
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
189
+ - ✅ **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.
@@ -327,3 +327,45 @@ Review these questions before confirming output:
327
327
 
328
328
  ## VBC Protocol (Verification-Before-Completion)
329
329
  You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
330
+
331
+
332
+ ---
333
+
334
+ ## 🤖 LLM-Specific Traps
335
+
336
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
337
+
338
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
339
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
340
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
341
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
342
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
343
+
344
+ ---
345
+
346
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
347
+
348
+ **Slash command: `/review` or `/tribunal-full`**
349
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
350
+
351
+ ### ❌ Forbidden AI Tropes
352
+
353
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
354
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
355
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
356
+
357
+ ### ✅ Pre-Flight Self-Audit
358
+
359
+ Review these questions before confirming output:
360
+ ```
361
+ ✅ Did I rely ONLY on real, verified tools and methods?
362
+ ✅ Is this solution appropriately scoped to the user's constraints?
363
+ ✅ Did I handle potential failure modes and edge cases?
364
+ ✅ Have I avoided generic boilerplate that doesn't add value?
365
+ ```
366
+
367
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
368
+
369
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
370
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
371
+ - ✅ **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.
@@ -306,3 +306,45 @@ CONFIRM: Verify the output is correct before presenting
306
306
 
307
307
  ## VBC Protocol (Verification-Before-Completion)
308
308
  You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
309
+
310
+
311
+ ---
312
+
313
+ ## 🤖 LLM-Specific Traps
314
+
315
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
316
+
317
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
318
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
319
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
320
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
321
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
322
+
323
+ ---
324
+
325
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
326
+
327
+ **Slash command: `/review` or `/tribunal-full`**
328
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
329
+
330
+ ### ❌ Forbidden AI Tropes
331
+
332
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
333
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
334
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
335
+
336
+ ### ✅ Pre-Flight Self-Audit
337
+
338
+ Review these questions before confirming output:
339
+ ```
340
+ ✅ Did I rely ONLY on real, verified tools and methods?
341
+ ✅ Is this solution appropriately scoped to the user's constraints?
342
+ ✅ Did I handle potential failure modes and edge cases?
343
+ ✅ Have I avoided generic boilerplate that doesn't add value?
344
+ ```
345
+
346
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
347
+
348
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
349
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
350
+ - ✅ **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.
@@ -205,3 +205,45 @@ CONFIRM: Verify the output is correct before presenting
205
205
 
206
206
  ## VBC Protocol (Verification-Before-Completion)
207
207
  You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
208
+
209
+
210
+ ---
211
+
212
+ ## 🤖 LLM-Specific Traps
213
+
214
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
215
+
216
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
217
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
218
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
219
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
220
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
221
+
222
+ ---
223
+
224
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
225
+
226
+ **Slash command: `/review` or `/tribunal-full`**
227
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
228
+
229
+ ### ❌ Forbidden AI Tropes
230
+
231
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
232
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
233
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
234
+
235
+ ### ✅ Pre-Flight Self-Audit
236
+
237
+ Review these questions before confirming output:
238
+ ```
239
+ ✅ Did I rely ONLY on real, verified tools and methods?
240
+ ✅ Is this solution appropriately scoped to the user's constraints?
241
+ ✅ Did I handle potential failure modes and edge cases?
242
+ ✅ Have I avoided generic boilerplate that doesn't add value?
243
+ ```
244
+
245
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
246
+
247
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
248
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
249
+ - ✅ **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.