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.
Files changed (186) hide show
  1. package/.agent/ARCHITECTURE.md +21 -14
  2. package/.agent/agents/swarm-worker-contracts.md +5 -5
  3. package/.agent/agents/ui-ux-auditor.md +292 -0
  4. package/.agent/rules/GEMINI.md +8 -8
  5. package/.agent/scripts/__pycache__/_colors.cpython-311.pyc +0 -0
  6. package/.agent/scripts/__pycache__/_utils.cpython-311.pyc +0 -0
  7. package/.agent/scripts/__pycache__/case_law_manager.cpython-311.pyc +0 -0
  8. package/.agent/scripts/_colors.js +18 -0
  9. package/.agent/scripts/_utils.js +42 -0
  10. package/.agent/scripts/auto_preview.js +197 -0
  11. package/.agent/scripts/bundle_analyzer.js +290 -0
  12. package/.agent/scripts/case_law_manager.js +684 -0
  13. package/.agent/scripts/checklist.js +266 -0
  14. package/.agent/scripts/colors.js +17 -0
  15. package/.agent/scripts/compress_skills.js +141 -0
  16. package/.agent/scripts/consolidate_skills.js +149 -0
  17. package/.agent/scripts/context_broker.js +609 -0
  18. package/.agent/scripts/deep_compress.js +150 -0
  19. package/.agent/scripts/dependency_analyzer.js +272 -0
  20. package/.agent/scripts/graph_builder.js +199 -0
  21. package/.agent/scripts/graph_zoom.js +154 -0
  22. package/.agent/scripts/inner_loop_validator.js +465 -0
  23. package/.agent/scripts/lint_runner.js +187 -0
  24. package/.agent/scripts/minify_context.js +100 -0
  25. package/.agent/scripts/patch_skills_meta.js +156 -0
  26. package/.agent/scripts/patch_skills_output.js +244 -0
  27. package/.agent/scripts/schema_validator.js +297 -0
  28. package/.agent/scripts/security_scan.js +303 -0
  29. package/.agent/scripts/session_manager.js +276 -0
  30. package/.agent/scripts/skill_evolution.js +644 -0
  31. package/.agent/scripts/skill_integrator.js +313 -0
  32. package/.agent/scripts/strengthen_skills.js +193 -0
  33. package/.agent/scripts/strip_tribunal.js +47 -0
  34. package/.agent/scripts/swarm_dispatcher.js +360 -0
  35. package/.agent/scripts/test_runner.js +193 -0
  36. package/.agent/scripts/utils.js +32 -0
  37. package/.agent/scripts/verify_all.js +256 -0
  38. package/.agent/skills/agent-organizer/SKILL.md +12 -4
  39. package/.agent/skills/agentic-patterns/SKILL.md +12 -4
  40. package/.agent/skills/ai-prompt-injection-defense/SKILL.md +12 -4
  41. package/.agent/skills/api-patterns/SKILL.md +209 -201
  42. package/.agent/skills/api-security-auditor/SKILL.md +12 -4
  43. package/.agent/skills/app-builder/SKILL.md +12 -4
  44. package/.agent/skills/app-builder/templates/SKILL.md +76 -68
  45. package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +1 -1
  46. package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +1 -1
  47. package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +1 -1
  48. package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +1 -1
  49. package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +1 -1
  50. package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +1 -1
  51. package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +1 -1
  52. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +1 -1
  53. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +1 -1
  54. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +1 -1
  55. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +1 -1
  56. package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +1 -1
  57. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +1 -1
  58. package/.agent/skills/appflow-wireframe/SKILL.md +12 -4
  59. package/.agent/skills/architecture/SKILL.md +12 -4
  60. package/.agent/skills/authentication-best-practices/SKILL.md +12 -4
  61. package/.agent/skills/bash-linux/SKILL.md +12 -4
  62. package/.agent/skills/behavioral-modes/SKILL.md +12 -4
  63. package/.agent/skills/brainstorming/SKILL.md +12 -4
  64. package/.agent/skills/building-native-ui/SKILL.md +12 -4
  65. package/.agent/skills/clean-code/SKILL.md +12 -4
  66. package/.agent/skills/code-review-checklist/SKILL.md +12 -4
  67. package/.agent/skills/config-validator/SKILL.md +12 -4
  68. package/.agent/skills/csharp-developer/SKILL.md +12 -4
  69. package/.agent/skills/data-validation-schemas/SKILL.md +290 -282
  70. package/.agent/skills/database-design/SKILL.md +202 -194
  71. package/.agent/skills/deployment-procedures/SKILL.md +12 -4
  72. package/.agent/skills/devops-engineer/SKILL.md +12 -4
  73. package/.agent/skills/devops-incident-responder/SKILL.md +12 -4
  74. package/.agent/skills/doc.md +1 -1
  75. package/.agent/skills/documentation-templates/SKILL.md +12 -4
  76. package/.agent/skills/edge-computing/SKILL.md +12 -4
  77. package/.agent/skills/error-resilience/SKILL.md +390 -382
  78. package/.agent/skills/extract-design-system/SKILL.md +12 -4
  79. package/.agent/skills/framer-motion-expert/SKILL.md +206 -199
  80. package/.agent/skills/frontend-design/SKILL.md +163 -155
  81. package/.agent/skills/game-design-expert/SKILL.md +12 -4
  82. package/.agent/skills/game-engineering-expert/SKILL.md +12 -4
  83. package/.agent/skills/geo-fundamentals/SKILL.md +12 -4
  84. package/.agent/skills/github-operations/SKILL.md +12 -4
  85. package/.agent/skills/gsap-core/SKILL.md +54 -48
  86. package/.agent/skills/gsap-frameworks/SKILL.md +54 -48
  87. package/.agent/skills/gsap-performance/SKILL.md +54 -48
  88. package/.agent/skills/gsap-plugins/SKILL.md +54 -48
  89. package/.agent/skills/gsap-react/SKILL.md +54 -48
  90. package/.agent/skills/gsap-scrolltrigger/SKILL.md +54 -48
  91. package/.agent/skills/gsap-timeline/SKILL.md +54 -48
  92. package/.agent/skills/gsap-utils/SKILL.md +54 -48
  93. package/.agent/skills/i18n-localization/SKILL.md +12 -4
  94. package/.agent/skills/intelligent-routing/SKILL.md +41 -33
  95. package/.agent/skills/knowledge-graph/SKILL.md +36 -0
  96. package/.agent/skills/lint-and-validate/SKILL.md +12 -4
  97. package/.agent/skills/llm-engineering/SKILL.md +12 -4
  98. package/.agent/skills/local-first/SKILL.md +12 -4
  99. package/.agent/skills/mcp-builder/SKILL.md +12 -4
  100. package/.agent/skills/mobile-design/SKILL.md +225 -217
  101. package/.agent/skills/monorepo-management/SKILL.md +296 -288
  102. package/.agent/skills/motion-engineering/SKILL.md +195 -187
  103. package/.agent/skills/nextjs-react-expert/SKILL.md +196 -188
  104. package/.agent/skills/nodejs-best-practices/SKILL.md +12 -4
  105. package/.agent/skills/observability/SKILL.md +12 -4
  106. package/.agent/skills/parallel-agents/SKILL.md +12 -4
  107. package/.agent/skills/performance-profiling/SKILL.md +12 -4
  108. package/.agent/skills/plan-writing/SKILL.md +12 -4
  109. package/.agent/skills/platform-engineer/SKILL.md +12 -4
  110. package/.agent/skills/playwright-best-practices/SKILL.md +12 -4
  111. package/.agent/skills/powershell-windows/SKILL.md +12 -4
  112. package/.agent/skills/project-idioms/SKILL.md +12 -4
  113. package/.agent/skills/python-patterns/SKILL.md +12 -4
  114. package/.agent/skills/python-pro/SKILL.md +285 -277
  115. package/.agent/skills/react-specialist/SKILL.md +239 -231
  116. package/.agent/skills/readme-builder/SKILL.md +12 -4
  117. package/.agent/skills/realtime-patterns/SKILL.md +12 -4
  118. package/.agent/skills/red-team-tactics/SKILL.md +12 -4
  119. package/.agent/skills/rust-pro/SKILL.md +12 -4
  120. package/.agent/skills/seo-fundamentals/SKILL.md +12 -4
  121. package/.agent/skills/server-management/SKILL.md +12 -4
  122. package/.agent/skills/shadcn-ui-expert/SKILL.md +12 -4
  123. package/.agent/skills/skill-creator/SKILL.md +12 -4
  124. package/.agent/skills/sql-pro/SKILL.md +12 -4
  125. package/.agent/skills/supabase-postgres-best-practices/SKILL.md +12 -4
  126. package/.agent/skills/swiftui-expert/SKILL.md +12 -4
  127. package/.agent/skills/systematic-debugging/SKILL.md +12 -4
  128. package/.agent/skills/tailwind-patterns/SKILL.md +12 -4
  129. package/.agent/skills/tdd-workflow/SKILL.md +12 -4
  130. package/.agent/skills/test-result-analyzer/SKILL.md +12 -4
  131. package/.agent/skills/testing-patterns/SKILL.md +12 -4
  132. package/.agent/skills/trend-researcher/SKILL.md +12 -4
  133. package/.agent/skills/typescript-advanced/SKILL.md +297 -289
  134. package/.agent/skills/ui-ux-pro-max/SKILL.md +12 -4
  135. package/.agent/skills/ui-ux-researcher/SKILL.md +12 -4
  136. package/.agent/skills/vue-expert/SKILL.md +237 -229
  137. package/.agent/skills/vulnerability-scanner/SKILL.md +12 -4
  138. package/.agent/skills/web-accessibility-auditor/SKILL.md +12 -4
  139. package/.agent/skills/web-design-guidelines/SKILL.md +12 -4
  140. package/.agent/skills/webapp-testing/SKILL.md +12 -4
  141. package/.agent/skills/whimsy-injector/SKILL.md +12 -4
  142. package/.agent/skills/workflow-optimizer/SKILL.md +12 -4
  143. package/.agent/workflows/audit.md +6 -6
  144. package/.agent/workflows/deploy.md +1 -1
  145. package/.agent/workflows/generate.md +23 -6
  146. package/.agent/workflows/session.md +5 -5
  147. package/.agent/workflows/swarm.md +2 -2
  148. package/README.md +242 -186
  149. package/bin/tribunal-kit.js +297 -57
  150. package/package.json +81 -77
  151. package/scripts/changelog.js +167 -0
  152. package/scripts/sync-version.js +81 -0
  153. package/scripts/validate-payload.js +73 -0
  154. package/.agent/scripts/__pycache__/auto_preview.cpython-311.pyc +0 -0
  155. package/.agent/scripts/__pycache__/bundle_analyzer.cpython-311.pyc +0 -0
  156. package/.agent/scripts/__pycache__/checklist.cpython-311.pyc +0 -0
  157. package/.agent/scripts/__pycache__/dependency_analyzer.cpython-311.pyc +0 -0
  158. package/.agent/scripts/__pycache__/security_scan.cpython-311.pyc +0 -0
  159. package/.agent/scripts/__pycache__/session_manager.cpython-311.pyc +0 -0
  160. package/.agent/scripts/__pycache__/skill_integrator.cpython-311.pyc +0 -0
  161. package/.agent/scripts/__pycache__/swarm_dispatcher.cpython-311.pyc +0 -0
  162. package/.agent/scripts/__pycache__/test_runner.cpython-311.pyc +0 -0
  163. package/.agent/scripts/__pycache__/verify_all.cpython-311.pyc +0 -0
  164. package/.agent/scripts/auto_preview.py +0 -180
  165. package/.agent/scripts/bundle_analyzer.py +0 -259
  166. package/.agent/scripts/case_law_manager.py +0 -755
  167. package/.agent/scripts/checklist.py +0 -209
  168. package/.agent/scripts/compress_skills.py +0 -167
  169. package/.agent/scripts/consolidate_skills.py +0 -173
  170. package/.agent/scripts/deep_compress.py +0 -202
  171. package/.agent/scripts/dependency_analyzer.py +0 -247
  172. package/.agent/scripts/lint_runner.py +0 -188
  173. package/.agent/scripts/minify_context.py +0 -80
  174. package/.agent/scripts/patch_skills_meta.py +0 -177
  175. package/.agent/scripts/patch_skills_output.py +0 -285
  176. package/.agent/scripts/schema_validator.py +0 -279
  177. package/.agent/scripts/security_scan.py +0 -224
  178. package/.agent/scripts/session_manager.py +0 -261
  179. package/.agent/scripts/skill_evolution.py +0 -563
  180. package/.agent/scripts/skill_integrator.py +0 -234
  181. package/.agent/scripts/strengthen_skills.py +0 -220
  182. package/.agent/scripts/strip_tribunal.py +0 -41
  183. package/.agent/scripts/swarm_dispatcher.py +0 -350
  184. package/.agent/scripts/test_runner.py +0 -192
  185. package/.agent/scripts/test_swarm_dispatcher.py +0 -163
  186. package/.agent/scripts/verify_all.py +0 -195
@@ -89,4 +89,4 @@ project-name/
89
89
  - Use type-safe messaging
90
90
  - Wrap Chrome APIs in promises
91
91
  - Minimize permissions
92
- - Handle offline gracefully
92
+ - Handle offline gracefully
@@ -85,4 +85,4 @@ npm publish
85
85
  - Support both interactive and non-interactive modes
86
86
  - Use consistent output styling
87
87
  - Validate inputs with Zod
88
- - Exit with proper codes (0 success, 1 error)
88
+ - Exit with proper codes (0 success, 1 error)
@@ -85,4 +85,4 @@ project-name/
85
85
  - Type-safe IPC with typed handlers
86
86
  - Custom title bar for native feel
87
87
  - Handle window state (maximize, minimize)
88
- - Auto-updates with electron-updater
88
+ - Auto-updates with electron-updater
@@ -80,4 +80,4 @@ project-name/
80
80
  - Validate all inputs with Zod
81
81
  - Centralized error handling
82
82
  - Environment-based config
83
- - Use Prisma for type-safe DB access
83
+ - Use Prisma for type-safe DB access
@@ -87,4 +87,4 @@ project_name/
87
87
  - Riverpod for state, React Query pattern for server state
88
88
  - Freezed for immutable data classes
89
89
  - Go Router for declarative navigation
90
- - Material 3 theming
90
+ - Material 3 theming
@@ -87,4 +87,4 @@ project-name/
87
87
  - Shared configs in packages/config
88
88
  - Shared types in packages/types
89
89
  - Internal packages with `workspace:*`
90
- - Use Turbo remote caching for CI
90
+ - Use Turbo remote caching for CI
@@ -119,4 +119,4 @@ project-name/
119
119
  - **Mutations**: Use Server Actions combined with React 19's `useActionState` to handle loading and error states instead of manual useState.
120
120
  - **Type Safety**: Share Zod schemas between Server Actions (input validation) and Client Forms.
121
121
  - **Security**: Always validate input data with Zod before passing it to Prisma.
122
- - **Styling**: Use native CSS variables in Tailwind v4 for easier dynamic theming.
122
+ - **Styling**: Use native CSS variables in Tailwind v4 for easier dynamic theming.
@@ -119,4 +119,4 @@ project-name/
119
119
  7. Run project:
120
120
  ```bash
121
121
  npm run dev
122
- ```
122
+ ```
@@ -166,4 +166,4 @@ export const metadata: Metadata = {
166
166
  - **React Server Components (RSC)**: Default all components to Server Components. Only add `'use client'` when you need state (`useState`) or event listeners (`onClick`).
167
167
  - **Image Optimization**: Use the `<Image />` component but remember `unoptimized: true` for static export or use an external image CDN (Cloudinary/Imgix).
168
168
  - **Font Optimization**: Use `next/font` (Google Fonts) to automatically host fonts and prevent layout shift.
169
- - **Responsive**: Mobile-first design using Tailwind prefixes like `sm:`, `md:`, `lg:`.
169
+ - **Responsive**: Mobile-first design using Tailwind prefixes like `sm:`, `md:`, `lg:`.
@@ -131,4 +131,4 @@ project-name/
131
131
  ```
132
132
  - **Data Fetching**: Sử dụng `useFetch` với `server: false` cho các tác vụ client-only, hoặc dùng Server Functions để type-safety tốt hơn.
133
133
  - **State**: Dùng `defineStore` (Pinia) cho global state, `useState` của Nuxt cho state đơn giản chia sẻ giữa Server/Client.
134
- - **Type Safety**: Tự động tạo type cho API routes (`$fetch` typed automatically).
134
+ - **Type Safety**: Tự động tạo type cho API routes (`$fetch` typed automatically).
@@ -80,4 +80,4 @@ project-name/
80
80
  - Pydantic v2 for validation
81
81
  - SQLAlchemy 2.0 async sessions
82
82
  - Alembic for migrations
83
- - pytest-asyncio for tests
83
+ - pytest-asyncio for tests
@@ -116,4 +116,4 @@ project-name/
116
116
  - **React 19**: Reduce usage of `useMemo` or `useCallback` thanks to React Compiler (if enabled).
117
117
  - **Components**: Build UI primitives (Box, Text) with NativeWind className for reusability.
118
118
  - **Assets**: Use `expo-image` instead of default `<Image />` for better caching and performance.
119
- - **API**: Always wrap API calls with TanStack Query, avoid direct calls in `useEffect`.
119
+ - **API**: Always wrap API calls with TanStack Query, avoid direct calls in `useEffect`.
@@ -97,7 +97,7 @@ Before writing React, chart exactly what the user can do on the screen and what
97
97
 
98
98
  ---
99
99
 
100
- ## 🤖 LLM-Specific Traps
100
+
101
101
 
102
102
  AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
103
103
 
@@ -109,7 +109,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
109
109
 
110
110
  ---
111
111
 
112
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
112
+
113
113
 
114
114
  **Slash command: `/review` or `/tribunal-full`**
115
115
  **Active reviewers: `logic-reviewer` · `security-auditor`**
@@ -120,7 +120,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
120
120
  2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
121
121
  3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
122
122
 
123
- ### ✅ Pre-Flight Self-Audit
123
+
124
124
 
125
125
  Review these questions before confirming output:
126
126
  ```
@@ -134,4 +134,12 @@ Review these questions before confirming output:
134
134
 
135
135
  **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
136
136
  - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
137
- - ✅ **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.
137
+ - ✅ **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.
138
+
139
+
140
+ ## Pre-Flight Checklist
141
+ - [ ] Have I reviewed the user's specific constraints and requests?
142
+ - [ ] Have I checked the environment for relevant existing implementations?
143
+
144
+ ## VBC Protocol (Verification-Before-Completion)
145
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
@@ -171,7 +171,7 @@ Framework: Next.js API NestJS Microservices
171
171
 
172
172
  ---
173
173
 
174
- ## 🤖 LLM-Specific Traps
174
+
175
175
 
176
176
  AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
177
177
 
@@ -183,7 +183,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
183
183
 
184
184
  ---
185
185
 
186
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
186
+
187
187
 
188
188
  **Slash command: `/review` or `/tribunal-full`**
189
189
  **Active reviewers: `logic-reviewer` · `security-auditor`**
@@ -194,7 +194,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
194
194
  2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
195
195
  3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
196
196
 
197
- ### ✅ Pre-Flight Self-Audit
197
+
198
198
 
199
199
  Review these questions before confirming output:
200
200
  ```
@@ -208,4 +208,12 @@ Review these questions before confirming output:
208
208
 
209
209
  **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
210
210
  - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
211
- - ✅ **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.
211
+ - ✅ **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.
212
+
213
+
214
+ ## Pre-Flight Checklist
215
+ - [ ] Have I reviewed the user's specific constraints and requests?
216
+ - [ ] Have I checked the environment for relevant existing implementations?
217
+
218
+ ## VBC Protocol (Verification-Before-Completion)
219
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
@@ -141,7 +141,7 @@ function canEditPost(user: User, post: Post): boolean {
141
141
 
142
142
  ---
143
143
 
144
- ## 🤖 LLM-Specific Traps
144
+
145
145
 
146
146
  AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
147
147
 
@@ -153,7 +153,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
153
153
 
154
154
  ---
155
155
 
156
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
156
+
157
157
 
158
158
  **Slash command: `/review` or `/tribunal-full`**
159
159
  **Active reviewers: `logic-reviewer` · `security-auditor`**
@@ -164,7 +164,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
164
164
  2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
165
165
  3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
166
166
 
167
- ### ✅ Pre-Flight Self-Audit
167
+
168
168
 
169
169
  Review these questions before confirming output:
170
170
  ```
@@ -178,4 +178,12 @@ Review these questions before confirming output:
178
178
 
179
179
  **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
180
180
  - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
181
- - ✅ **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.
181
+ - ✅ **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.
182
+
183
+
184
+ ## Pre-Flight Checklist
185
+ - [ ] Have I reviewed the user's specific constraints and requests?
186
+ - [ ] Have I checked the environment for relevant existing implementations?
187
+
188
+ ## VBC Protocol (Verification-Before-Completion)
189
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
@@ -131,7 +131,7 @@ done
131
131
 
132
132
  ---
133
133
 
134
- ## 🤖 LLM-Specific Traps
134
+
135
135
 
136
136
  AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
137
137
 
@@ -143,7 +143,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
143
143
 
144
144
  ---
145
145
 
146
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
146
+
147
147
 
148
148
  **Slash command: `/review` or `/tribunal-full`**
149
149
  **Active reviewers: `logic-reviewer` · `security-auditor`**
@@ -154,7 +154,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
154
154
  2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
155
155
  3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
156
156
 
157
- ### ✅ Pre-Flight Self-Audit
157
+
158
158
 
159
159
  Review these questions before confirming output:
160
160
  ```
@@ -168,4 +168,12 @@ Review these questions before confirming output:
168
168
 
169
169
  **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
170
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.
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.
172
+
173
+
174
+ ## Pre-Flight Checklist
175
+ - [ ] Have I reviewed the user's specific constraints and requests?
176
+ - [ ] Have I checked the environment for relevant existing implementations?
177
+
178
+ ## VBC Protocol (Verification-Before-Completion)
179
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
@@ -175,7 +175,7 @@ Pre-Flight: ✅ All checks passed
175
175
 
176
176
  ---
177
177
 
178
- ## 🤖 LLM-Specific Traps
178
+
179
179
 
180
180
  AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
181
181
 
@@ -187,7 +187,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
187
187
 
188
188
  ---
189
189
 
190
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
190
+
191
191
 
192
192
  **Slash command: `/review` or `/tribunal-full`**
193
193
  **Active reviewers: `logic-reviewer` · `security-auditor`**
@@ -198,7 +198,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
198
198
  2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
199
199
  3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
200
200
 
201
- ### ✅ Pre-Flight Self-Audit
201
+
202
202
 
203
203
  Review these questions before confirming output:
204
204
  ```
@@ -212,4 +212,12 @@ Review these questions before confirming output:
212
212
 
213
213
  **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
214
214
  - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
215
- - ✅ **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.
215
+ - ✅ **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.
216
+
217
+
218
+ ## Pre-Flight Checklist
219
+ - [ ] Have I reviewed the user's specific constraints and requests?
220
+ - [ ] Have I checked the environment for relevant existing implementations?
221
+
222
+ ## VBC Protocol (Verification-Before-Completion)
223
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
@@ -438,7 +438,7 @@ STEP 4: Format Output
438
438
 
439
439
  ---
440
440
 
441
- ## 🤖 LLM-Specific Traps
441
+
442
442
 
443
443
  AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
444
444
 
@@ -450,7 +450,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
450
450
 
451
451
  ---
452
452
 
453
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
453
+
454
454
 
455
455
  **Slash command: `/review` or `/tribunal-full`**
456
456
  **Active reviewers: `logic-reviewer` · `security-auditor`**
@@ -461,7 +461,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
461
461
  2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
462
462
  3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
463
463
 
464
- ### ✅ Pre-Flight Self-Audit
464
+
465
465
 
466
466
  Review these questions before confirming output:
467
467
  ```
@@ -475,4 +475,12 @@ Review these questions before confirming output:
475
475
 
476
476
  **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
477
477
  - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
478
- - ✅ **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.
478
+ - ✅ **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.
479
+
480
+
481
+ ## Pre-Flight Checklist
482
+ - [ ] Have I reviewed the user's specific constraints and requests?
483
+ - [ ] Have I checked the environment for relevant existing implementations?
484
+
485
+ ## VBC Protocol (Verification-Before-Completion)
486
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
@@ -154,7 +154,7 @@ export function FastList({ data }) {
154
154
 
155
155
  ---
156
156
 
157
- ## 🤖 LLM-Specific Traps
157
+
158
158
 
159
159
  AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
160
160
 
@@ -166,7 +166,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
166
166
 
167
167
  ---
168
168
 
169
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
169
+
170
170
 
171
171
  **Slash command: `/review` or `/tribunal-full`**
172
172
  **Active reviewers: `logic-reviewer` · `security-auditor`**
@@ -177,7 +177,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
177
177
  2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
178
178
  3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
179
179
 
180
- ### ✅ Pre-Flight Self-Audit
180
+
181
181
 
182
182
  Review these questions before confirming output:
183
183
  ```
@@ -191,4 +191,12 @@ Review these questions before confirming output:
191
191
 
192
192
  **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
193
193
  - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
194
- - ✅ **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.
194
+ - ✅ **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.
195
+
196
+
197
+ ## Pre-Flight Checklist
198
+ - [ ] Have I reviewed the user's specific constraints and requests?
199
+ - [ ] Have I checked the environment for relevant existing implementations?
200
+
201
+ ## VBC Protocol (Verification-Before-Completion)
202
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
@@ -333,7 +333,7 @@ function processUser(user: User) {
333
333
 
334
334
  ---
335
335
 
336
- ## 🤖 LLM-Specific Traps
336
+
337
337
 
338
338
  AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
339
339
 
@@ -345,7 +345,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
345
345
 
346
346
  ---
347
347
 
348
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
348
+
349
349
 
350
350
  **Slash command: `/review` or `/tribunal-full`**
351
351
  **Active reviewers: `logic-reviewer` · `security-auditor`**
@@ -356,7 +356,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
356
356
  2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
357
357
  3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
358
358
 
359
- ### ✅ Pre-Flight Self-Audit
359
+
360
360
 
361
361
  Review these questions before confirming output:
362
362
  ```
@@ -370,4 +370,12 @@ Review these questions before confirming output:
370
370
 
371
371
  **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
372
372
  - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
373
- - ✅ **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.
373
+ - ✅ **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.
374
+
375
+
376
+ ## Pre-Flight Checklist
377
+ - [ ] Have I reviewed the user's specific constraints and requests?
378
+ - [ ] Have I checked the environment for relevant existing implementations?
379
+
380
+ ## VBC Protocol (Verification-Before-Completion)
381
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
@@ -146,7 +146,7 @@ Evidence: [link to terminal output, test result, or file diff]
146
146
 
147
147
  ---
148
148
 
149
- ## 🤖 LLM-Specific Traps
149
+
150
150
 
151
151
  AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
152
152
 
@@ -158,7 +158,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
158
158
 
159
159
  ---
160
160
 
161
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
161
+
162
162
 
163
163
  **Slash command: `/review` or `/tribunal-full`**
164
164
  **Active reviewers: `logic-reviewer` · `security-auditor`**
@@ -169,7 +169,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
169
169
  2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
170
170
  3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
171
171
 
172
- ### ✅ Pre-Flight Self-Audit
172
+
173
173
 
174
174
  Review these questions before confirming output:
175
175
  ```
@@ -183,4 +183,12 @@ Review these questions before confirming output:
183
183
 
184
184
  **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
185
185
  - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
186
- - ✅ **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.
186
+ - ✅ **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.
187
+
188
+
189
+ ## Pre-Flight Checklist
190
+ - [ ] Have I reviewed the user's specific constraints and requests?
191
+ - [ ] Have I checked the environment for relevant existing implementations?
192
+
193
+ ## VBC Protocol (Verification-Before-Completion)
194
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
@@ -117,7 +117,7 @@ When automating updates to a JSON configuration (e.g., adding a new skill to `co
117
117
 
118
118
  ---
119
119
 
120
- ## 🤖 LLM-Specific Traps
120
+
121
121
 
122
122
  AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
123
123
 
@@ -129,7 +129,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
129
129
 
130
130
  ---
131
131
 
132
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
132
+
133
133
 
134
134
  **Slash command: `/review` or `/tribunal-full`**
135
135
  **Active reviewers: `logic-reviewer` · `security-auditor`**
@@ -140,7 +140,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
140
140
  2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
141
141
  3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
142
142
 
143
- ### ✅ Pre-Flight Self-Audit
143
+
144
144
 
145
145
  Review these questions before confirming output:
146
146
  ```
@@ -154,4 +154,12 @@ Review these questions before confirming output:
154
154
 
155
155
  **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
156
156
  - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
157
- - ✅ **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.
157
+ - ✅ **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.
158
+
159
+
160
+ ## Pre-Flight Checklist
161
+ - [ ] Have I reviewed the user's specific constraints and requests?
162
+ - [ ] Have I checked the environment for relevant existing implementations?
163
+
164
+ ## VBC Protocol (Verification-Before-Completion)
165
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
@@ -470,7 +470,7 @@ public class UsersApiTests(WebApplicationFactory<Program> factory)
470
470
 
471
471
  ---
472
472
 
473
- ## 🤖 LLM-Specific Traps
473
+
474
474
 
475
475
  AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
476
476
 
@@ -482,7 +482,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
482
482
 
483
483
  ---
484
484
 
485
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
485
+
486
486
 
487
487
  **Slash command: `/review` or `/tribunal-full`**
488
488
  **Active reviewers: `logic-reviewer` · `security-auditor`**
@@ -493,7 +493,7 @@ AI coding assistants often fall into specific bad habits when dealing with this
493
493
  2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
494
494
  3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
495
495
 
496
- ### ✅ Pre-Flight Self-Audit
496
+
497
497
 
498
498
  Review these questions before confirming output:
499
499
  ```
@@ -507,4 +507,12 @@ Review these questions before confirming output:
507
507
 
508
508
  **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
509
509
  - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
510
- - ✅ **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.
510
+ - ✅ **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.
511
+
512
+
513
+ ## Pre-Flight Checklist
514
+ - [ ] Have I reviewed the user's specific constraints and requests?
515
+ - [ ] Have I checked the environment for relevant existing implementations?
516
+
517
+ ## VBC Protocol (Verification-Before-Completion)
518
+ You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.