tribunal-kit 4.4.1 → 4.4.3
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/history/architecture-graph.yaml +140 -0
- package/.agent/history/graph-cache.json +262 -0
- package/.agent/history/snapshots/bin__tribunal-kit.js.json +19 -0
- package/.agent/history/snapshots/eslint.config.js.json +9 -0
- package/.agent/history/snapshots/migrate_refs.js.json +11 -0
- package/.agent/history/snapshots/scripts__changelog.js.json +13 -0
- package/.agent/history/snapshots/scripts__sync-version.js.json +12 -0
- package/.agent/history/snapshots/scripts__validate-payload.js.json +12 -0
- package/.agent/history/snapshots/test__integration__bridges.test.js.json +14 -0
- package/.agent/history/snapshots/test__integration__init.test.js.json +14 -0
- package/.agent/history/snapshots/test__integration__routing.test.js.json +12 -0
- package/.agent/history/snapshots/test__integration__swarm_dispatcher.test.js.json +14 -0
- package/.agent/history/snapshots/test__integration__wave2.test.js.json +14 -0
- package/.agent/history/snapshots/test__unit__args.test.js.json +20 -0
- package/.agent/history/snapshots/test__unit__case_law_manager.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__context_broker.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__copyDir.test.js.json +23 -0
- package/.agent/history/snapshots/test__unit__graph_tools.test.js.json +12 -0
- package/.agent/history/snapshots/test__unit__inner_loop_validator.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__selfInstall.test.js.json +23 -0
- package/.agent/history/snapshots/test__unit__semver.test.js.json +20 -0
- package/.agent/history/snapshots/test__unit__swarm_dispatcher.test.js.json +12 -0
- package/.agent/scripts/_colors.js +170 -18
- package/.agent/scripts/_utils.js +244 -42
- package/.agent/scripts/bundle_analyzer.js +261 -290
- package/.agent/scripts/case_law_manager.js +1 -7
- package/.agent/scripts/checklist.js +278 -266
- package/.agent/scripts/colors.js +11 -17
- package/.agent/scripts/context_broker.js +1 -7
- package/.agent/scripts/dependency_analyzer.js +234 -272
- package/.agent/scripts/graph_builder.js +46 -18
- package/.agent/scripts/graph_visualizer.js +10 -4
- package/.agent/scripts/graph_zoom.js +6 -4
- package/.agent/scripts/inner_loop_validator.js +2 -8
- package/.agent/scripts/lint_runner.js +186 -187
- package/.agent/scripts/marathon_harness.js +799 -0
- package/.agent/scripts/prompt_compiler.js +56 -0
- package/.agent/scripts/schema_validator.js +8 -25
- package/.agent/scripts/security_scan.js +276 -303
- package/.agent/scripts/session_manager.js +1 -7
- package/.agent/scripts/skill_evolution.js +1 -8
- package/.agent/scripts/skill_integrator.js +1 -7
- package/.agent/scripts/test_runner.js +186 -193
- package/.agent/scripts/utils.js +17 -32
- package/.agent/scripts/verify_all.js +248 -257
- package/.agent/skills/agent-organizer/SKILL.md +42 -0
- package/.agent/skills/agentic-patterns/SKILL.md +42 -0
- package/.agent/skills/ai-prompt-injection-defense/SKILL.md +42 -0
- package/.agent/skills/api-patterns/SKILL.md +42 -0
- package/.agent/skills/api-security-auditor/SKILL.md +42 -0
- package/.agent/skills/app-builder/SKILL.md +42 -0
- package/.agent/skills/appflow-wireframe/SKILL.md +42 -0
- package/.agent/skills/architecture/SKILL.md +42 -0
- package/.agent/skills/authentication-best-practices/SKILL.md +42 -0
- package/.agent/skills/backend-security-expert/SKILL.md +122 -0
- package/.agent/skills/bash-linux/SKILL.md +42 -0
- package/.agent/skills/behavioral-modes/SKILL.md +42 -0
- package/.agent/skills/brainstorming/SKILL.md +42 -0
- package/.agent/skills/building-native-ui/SKILL.md +42 -0
- package/.agent/skills/clean-code/SKILL.md +42 -0
- package/.agent/skills/code-review-checklist/SKILL.md +42 -0
- package/.agent/skills/config-validator/SKILL.md +42 -0
- package/.agent/skills/csharp-developer/SKILL.md +42 -0
- package/.agent/skills/data-validation-schemas/SKILL.md +42 -0
- package/.agent/skills/database-design/SKILL.md +42 -0
- package/.agent/skills/deployment-procedures/SKILL.md +42 -0
- package/.agent/skills/devops-engineer/SKILL.md +42 -0
- package/.agent/skills/devops-incident-responder/SKILL.md +42 -0
- package/.agent/skills/documentation-templates/SKILL.md +42 -0
- package/.agent/skills/edge-computing/SKILL.md +42 -0
- package/.agent/skills/error-resilience/SKILL.md +42 -0
- package/.agent/skills/extract-design-system/SKILL.md +42 -0
- package/.agent/skills/framer-motion-expert/SKILL.md +42 -0
- package/.agent/skills/frontend-design/SKILL.md +42 -0
- package/.agent/skills/frontend-security-expert/SKILL.md +123 -0
- package/.agent/skills/game-design-expert/SKILL.md +42 -0
- package/.agent/skills/game-engineering-expert/SKILL.md +42 -0
- package/.agent/skills/geo-fundamentals/SKILL.md +42 -0
- package/.agent/skills/github-operations/SKILL.md +42 -0
- package/.agent/skills/gsap-core/SKILL.md +42 -0
- package/.agent/skills/gsap-frameworks/SKILL.md +42 -0
- package/.agent/skills/gsap-performance/SKILL.md +42 -0
- package/.agent/skills/gsap-plugins/SKILL.md +42 -0
- package/.agent/skills/gsap-react/SKILL.md +42 -0
- package/.agent/skills/gsap-scrolltrigger/SKILL.md +42 -0
- package/.agent/skills/gsap-timeline/SKILL.md +42 -0
- package/.agent/skills/gsap-utils/SKILL.md +42 -0
- package/.agent/skills/i18n-localization/SKILL.md +42 -0
- package/.agent/skills/intelligent-routing/SKILL.md +42 -0
- package/.agent/skills/knowledge-graph/SKILL.md +42 -0
- package/.agent/skills/lint-and-validate/SKILL.md +42 -0
- package/.agent/skills/llm-engineering/SKILL.md +42 -0
- package/.agent/skills/local-first/SKILL.md +42 -0
- package/.agent/skills/mcp-builder/SKILL.md +42 -0
- package/.agent/skills/mobile-design/SKILL.md +42 -0
- package/.agent/skills/monorepo-management/SKILL.md +42 -0
- package/.agent/skills/motion-engineering/SKILL.md +42 -0
- package/.agent/skills/nextjs-react-expert/SKILL.md +42 -0
- package/.agent/skills/nodejs-best-practices/SKILL.md +42 -0
- package/.agent/skills/observability/SKILL.md +42 -0
- package/.agent/skills/parallel-agents/SKILL.md +42 -0
- package/.agent/skills/performance-profiling/SKILL.md +42 -0
- package/.agent/skills/plan-writing/SKILL.md +42 -0
- package/.agent/skills/platform-engineer/SKILL.md +42 -0
- package/.agent/skills/playwright-best-practices/SKILL.md +42 -0
- package/.agent/skills/powershell-windows/SKILL.md +42 -0
- package/.agent/skills/project-idioms/SKILL.md +42 -0
- package/.agent/skills/python-patterns/SKILL.md +42 -0
- package/.agent/skills/python-pro/SKILL.md +42 -0
- package/.agent/skills/react-specialist/SKILL.md +42 -0
- package/.agent/skills/readme-builder/SKILL.md +42 -0
- package/.agent/skills/realtime-patterns/SKILL.md +42 -0
- package/.agent/skills/red-team-tactics/SKILL.md +42 -0
- package/.agent/skills/rust-pro/SKILL.md +42 -0
- package/.agent/skills/seo-fundamentals/SKILL.md +42 -0
- package/.agent/skills/server-management/SKILL.md +42 -0
- package/.agent/skills/shadcn-ui-expert/SKILL.md +42 -0
- package/.agent/skills/skill-creator/SKILL.md +42 -0
- package/.agent/skills/sql-pro/SKILL.md +42 -0
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +42 -0
- package/.agent/skills/swiftui-expert/SKILL.md +42 -0
- package/.agent/skills/systematic-debugging/SKILL.md +42 -0
- package/.agent/skills/tailwind-patterns/SKILL.md +42 -0
- package/.agent/skills/tdd-workflow/SKILL.md +42 -0
- package/.agent/skills/test-result-analyzer/SKILL.md +42 -0
- package/.agent/skills/testing-patterns/SKILL.md +42 -0
- package/.agent/skills/trend-researcher/SKILL.md +42 -0
- package/.agent/skills/typescript-advanced/SKILL.md +42 -0
- package/.agent/skills/ui-ux-pro-max/SKILL.md +42 -0
- package/.agent/skills/ui-ux-researcher/SKILL.md +42 -0
- package/.agent/skills/vue-expert/SKILL.md +42 -0
- package/.agent/skills/vulnerability-scanner/SKILL.md +42 -0
- package/.agent/skills/web-accessibility-auditor/SKILL.md +42 -0
- package/.agent/skills/web-design-guidelines/SKILL.md +42 -0
- package/.agent/skills/webapp-testing/SKILL.md +42 -0
- package/.agent/skills/whimsy-injector/SKILL.md +42 -0
- package/.agent/skills/workflow-optimizer/SKILL.md +42 -0
- package/.agent/workflows/marathon.md +247 -0
- package/.agent/workflows/super-prompt.md +27 -0
- package/bin/tribunal-kit.js +47 -1
- package/package.json +3 -2
|
@@ -336,3 +336,45 @@ CONFIRM: Verify the output is correct before presenting
|
|
|
336
336
|
|
|
337
337
|
## VBC Protocol (Verification-Before-Completion)
|
|
338
338
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
---
|
|
342
|
+
|
|
343
|
+
## 🤖 LLM-Specific Traps
|
|
344
|
+
|
|
345
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
346
|
+
|
|
347
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
348
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
349
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
350
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
351
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
352
|
+
|
|
353
|
+
---
|
|
354
|
+
|
|
355
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
356
|
+
|
|
357
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
358
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
359
|
+
|
|
360
|
+
### ❌ Forbidden AI Tropes
|
|
361
|
+
|
|
362
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
363
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
364
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
365
|
+
|
|
366
|
+
### ✅ Pre-Flight Self-Audit
|
|
367
|
+
|
|
368
|
+
Review these questions before confirming output:
|
|
369
|
+
```
|
|
370
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
371
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
372
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
373
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
377
|
+
|
|
378
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
379
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
380
|
+
- ✅ **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,3 +161,45 @@ Review these questions before confirming output:
|
|
|
161
161
|
|
|
162
162
|
## VBC Protocol (Verification-Before-Completion)
|
|
163
163
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## 🤖 LLM-Specific Traps
|
|
169
|
+
|
|
170
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
171
|
+
|
|
172
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
173
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
174
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
175
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
176
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
181
|
+
|
|
182
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
183
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
184
|
+
|
|
185
|
+
### ❌ Forbidden AI Tropes
|
|
186
|
+
|
|
187
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
188
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
189
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
190
|
+
|
|
191
|
+
### ✅ Pre-Flight Self-Audit
|
|
192
|
+
|
|
193
|
+
Review these questions before confirming output:
|
|
194
|
+
```
|
|
195
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
196
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
197
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
198
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
202
|
+
|
|
203
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
204
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
205
|
+
- ✅ **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.
|
|
@@ -244,3 +244,45 @@ Review these questions before confirming output:
|
|
|
244
244
|
|
|
245
245
|
## VBC Protocol (Verification-Before-Completion)
|
|
246
246
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## 🤖 LLM-Specific Traps
|
|
252
|
+
|
|
253
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
254
|
+
|
|
255
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
256
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
257
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
258
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
259
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
264
|
+
|
|
265
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
266
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
267
|
+
|
|
268
|
+
### ❌ Forbidden AI Tropes
|
|
269
|
+
|
|
270
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
271
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
272
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
273
|
+
|
|
274
|
+
### ✅ Pre-Flight Self-Audit
|
|
275
|
+
|
|
276
|
+
Review these questions before confirming output:
|
|
277
|
+
```
|
|
278
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
279
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
280
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
281
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
285
|
+
|
|
286
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
287
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
288
|
+
- ✅ **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.
|
|
@@ -50,3 +50,45 @@ Reading raw project files wastes up to 50,000 tokens per edit. You must use the
|
|
|
50
50
|
|
|
51
51
|
## VBC Protocol (Verification-Before-Completion)
|
|
52
52
|
You are explicitly forbidden from guessing or "hallucinating" what functions, props, or variables exist inside a file. You MUST read the Context Snapshot (or use `graph_zoom.js`) to verify a component's exact signature before you attempt to call it, mock it, or rewrite it. Always respect the Blast Radius Risk Score before deleting or mutating files.
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## 🤖 LLM-Specific Traps
|
|
58
|
+
|
|
59
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
60
|
+
|
|
61
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
62
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
63
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
64
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
65
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
70
|
+
|
|
71
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
72
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
73
|
+
|
|
74
|
+
### ❌ Forbidden AI Tropes
|
|
75
|
+
|
|
76
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
77
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
78
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
79
|
+
|
|
80
|
+
### ✅ Pre-Flight Self-Audit
|
|
81
|
+
|
|
82
|
+
Review these questions before confirming output:
|
|
83
|
+
```
|
|
84
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
85
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
86
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
87
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
91
|
+
|
|
92
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
93
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
94
|
+
- ✅ **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.
|
|
@@ -259,3 +259,45 @@ Review these questions before confirming output:
|
|
|
259
259
|
|
|
260
260
|
## VBC Protocol (Verification-Before-Completion)
|
|
261
261
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
|
|
266
|
+
## 🤖 LLM-Specific Traps
|
|
267
|
+
|
|
268
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
269
|
+
|
|
270
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
271
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
272
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
273
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
274
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
275
|
+
|
|
276
|
+
---
|
|
277
|
+
|
|
278
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
279
|
+
|
|
280
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
281
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
282
|
+
|
|
283
|
+
### ❌ Forbidden AI Tropes
|
|
284
|
+
|
|
285
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
286
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
287
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
288
|
+
|
|
289
|
+
### ✅ Pre-Flight Self-Audit
|
|
290
|
+
|
|
291
|
+
Review these questions before confirming output:
|
|
292
|
+
```
|
|
293
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
294
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
295
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
296
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
300
|
+
|
|
301
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
302
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
303
|
+
- ✅ **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.
|
|
@@ -392,3 +392,45 @@ Review these questions before confirming output:
|
|
|
392
392
|
|
|
393
393
|
## VBC Protocol (Verification-Before-Completion)
|
|
394
394
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
---
|
|
398
|
+
|
|
399
|
+
## 🤖 LLM-Specific Traps
|
|
400
|
+
|
|
401
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
402
|
+
|
|
403
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
404
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
405
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
406
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
407
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
408
|
+
|
|
409
|
+
---
|
|
410
|
+
|
|
411
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
412
|
+
|
|
413
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
414
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
415
|
+
|
|
416
|
+
### ❌ Forbidden AI Tropes
|
|
417
|
+
|
|
418
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
419
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
420
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
421
|
+
|
|
422
|
+
### ✅ Pre-Flight Self-Audit
|
|
423
|
+
|
|
424
|
+
Review these questions before confirming output:
|
|
425
|
+
```
|
|
426
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
427
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
428
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
429
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
433
|
+
|
|
434
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
435
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
436
|
+
- ✅ **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.
|
|
@@ -176,3 +176,45 @@ Review these questions before confirming output:
|
|
|
176
176
|
|
|
177
177
|
## VBC Protocol (Verification-Before-Completion)
|
|
178
178
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## 🤖 LLM-Specific Traps
|
|
184
|
+
|
|
185
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
186
|
+
|
|
187
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
188
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
189
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
190
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
191
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
196
|
+
|
|
197
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
198
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
199
|
+
|
|
200
|
+
### ❌ Forbidden AI Tropes
|
|
201
|
+
|
|
202
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
203
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
204
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
205
|
+
|
|
206
|
+
### ✅ Pre-Flight Self-Audit
|
|
207
|
+
|
|
208
|
+
Review these questions before confirming output:
|
|
209
|
+
```
|
|
210
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
211
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
212
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
213
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
217
|
+
|
|
218
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
219
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
220
|
+
- ✅ **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.
|
|
@@ -140,3 +140,45 @@ Review these questions before confirming output:
|
|
|
140
140
|
|
|
141
141
|
## VBC Protocol (Verification-Before-Completion)
|
|
142
142
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## 🤖 LLM-Specific Traps
|
|
148
|
+
|
|
149
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
150
|
+
|
|
151
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
152
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
153
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
154
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
155
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
160
|
+
|
|
161
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
162
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
163
|
+
|
|
164
|
+
### ❌ Forbidden AI Tropes
|
|
165
|
+
|
|
166
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
167
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
168
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
169
|
+
|
|
170
|
+
### ✅ Pre-Flight Self-Audit
|
|
171
|
+
|
|
172
|
+
Review these questions before confirming output:
|
|
173
|
+
```
|
|
174
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
175
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
176
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
177
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
181
|
+
|
|
182
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
183
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
184
|
+
- ✅ **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.
|
|
@@ -261,3 +261,45 @@ Review these questions before confirming output:
|
|
|
261
261
|
|
|
262
262
|
## VBC Protocol (Verification-Before-Completion)
|
|
263
263
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## 🤖 LLM-Specific Traps
|
|
269
|
+
|
|
270
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
271
|
+
|
|
272
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
273
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
274
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
275
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
276
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
281
|
+
|
|
282
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
283
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
284
|
+
|
|
285
|
+
### ❌ Forbidden AI Tropes
|
|
286
|
+
|
|
287
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
288
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
289
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
290
|
+
|
|
291
|
+
### ✅ Pre-Flight Self-Audit
|
|
292
|
+
|
|
293
|
+
Review these questions before confirming output:
|
|
294
|
+
```
|
|
295
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
296
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
297
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
298
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
302
|
+
|
|
303
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
304
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
305
|
+
- ✅ **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.
|
|
@@ -332,3 +332,45 @@ Review these questions before confirming output:
|
|
|
332
332
|
|
|
333
333
|
## VBC Protocol (Verification-Before-Completion)
|
|
334
334
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
---
|
|
338
|
+
|
|
339
|
+
## 🤖 LLM-Specific Traps
|
|
340
|
+
|
|
341
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
342
|
+
|
|
343
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
344
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
345
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
346
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
347
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
348
|
+
|
|
349
|
+
---
|
|
350
|
+
|
|
351
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
352
|
+
|
|
353
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
354
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
355
|
+
|
|
356
|
+
### ❌ Forbidden AI Tropes
|
|
357
|
+
|
|
358
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
359
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
360
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
361
|
+
|
|
362
|
+
### ✅ Pre-Flight Self-Audit
|
|
363
|
+
|
|
364
|
+
Review these questions before confirming output:
|
|
365
|
+
```
|
|
366
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
367
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
368
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
369
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
373
|
+
|
|
374
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
375
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
376
|
+
- ✅ **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.
|
|
@@ -232,3 +232,45 @@ Review these questions before confirming output:
|
|
|
232
232
|
|
|
233
233
|
## VBC Protocol (Verification-Before-Completion)
|
|
234
234
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
## 🤖 LLM-Specific Traps
|
|
240
|
+
|
|
241
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
242
|
+
|
|
243
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
244
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
245
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
246
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
247
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
252
|
+
|
|
253
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
254
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
255
|
+
|
|
256
|
+
### ❌ Forbidden AI Tropes
|
|
257
|
+
|
|
258
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
259
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
260
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
261
|
+
|
|
262
|
+
### ✅ Pre-Flight Self-Audit
|
|
263
|
+
|
|
264
|
+
Review these questions before confirming output:
|
|
265
|
+
```
|
|
266
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
267
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
268
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
269
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
273
|
+
|
|
274
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
275
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
276
|
+
- ✅ **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.
|
|
@@ -232,3 +232,45 @@ Review these questions before confirming output:
|
|
|
232
232
|
|
|
233
233
|
## VBC Protocol (Verification-Before-Completion)
|
|
234
234
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
## 🤖 LLM-Specific Traps
|
|
240
|
+
|
|
241
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
242
|
+
|
|
243
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
244
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
245
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
246
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
247
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
252
|
+
|
|
253
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
254
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
255
|
+
|
|
256
|
+
### ❌ Forbidden AI Tropes
|
|
257
|
+
|
|
258
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
259
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
260
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
261
|
+
|
|
262
|
+
### ✅ Pre-Flight Self-Audit
|
|
263
|
+
|
|
264
|
+
Review these questions before confirming output:
|
|
265
|
+
```
|
|
266
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
267
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
268
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
269
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
273
|
+
|
|
274
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
275
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
276
|
+
- ✅ **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.
|
|
@@ -546,3 +546,45 @@ Review these questions before confirming output:
|
|
|
546
546
|
|
|
547
547
|
## VBC Protocol (Verification-Before-Completion)
|
|
548
548
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
---
|
|
552
|
+
|
|
553
|
+
## 🤖 LLM-Specific Traps
|
|
554
|
+
|
|
555
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
556
|
+
|
|
557
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
558
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
559
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
560
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
561
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
562
|
+
|
|
563
|
+
---
|
|
564
|
+
|
|
565
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
566
|
+
|
|
567
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
568
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
569
|
+
|
|
570
|
+
### ❌ Forbidden AI Tropes
|
|
571
|
+
|
|
572
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
573
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
574
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
575
|
+
|
|
576
|
+
### ✅ Pre-Flight Self-Audit
|
|
577
|
+
|
|
578
|
+
Review these questions before confirming output:
|
|
579
|
+
```
|
|
580
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
581
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
582
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
583
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
584
|
+
```
|
|
585
|
+
|
|
586
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
587
|
+
|
|
588
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
589
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
590
|
+
- ✅ **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.
|
|
@@ -341,3 +341,45 @@ Review these questions before confirming output:
|
|
|
341
341
|
|
|
342
342
|
## VBC Protocol (Verification-Before-Completion)
|
|
343
343
|
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
## 🤖 LLM-Specific Traps
|
|
349
|
+
|
|
350
|
+
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
351
|
+
|
|
352
|
+
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
353
|
+
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
354
|
+
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
355
|
+
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
356
|
+
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
357
|
+
|
|
358
|
+
---
|
|
359
|
+
|
|
360
|
+
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
361
|
+
|
|
362
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
363
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
364
|
+
|
|
365
|
+
### ❌ Forbidden AI Tropes
|
|
366
|
+
|
|
367
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
368
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
369
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
370
|
+
|
|
371
|
+
### ✅ Pre-Flight Self-Audit
|
|
372
|
+
|
|
373
|
+
Review these questions before confirming output:
|
|
374
|
+
```
|
|
375
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
376
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
377
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
378
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
382
|
+
|
|
383
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
384
|
+
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
385
|
+
- ✅ **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.
|