tribunal-kit 9.0.2 → 9.2.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 (625) hide show
  1. package/.agent/agents/backend-specialist.md +1 -1
  2. package/.agent/agents/code-archaeologist.md +1 -1
  3. package/.agent/agents/database-architect.md +1 -1
  4. package/.agent/agents/debugger.md +1 -1
  5. package/.agent/agents/devops-engineer.md +1 -1
  6. package/.agent/agents/documentation-writer.md +1 -1
  7. package/.agent/agents/explorer-agent.md +1 -1
  8. package/.agent/agents/game-developer.md +1 -1
  9. package/.agent/agents/minimalist-reviewer.md +1 -1
  10. package/.agent/agents/mobile-developer.md +1 -1
  11. package/.agent/agents/orchestrator.md +42 -2
  12. package/.agent/agents/penetration-tester.md +1 -1
  13. package/.agent/agents/performance-optimizer.md +1 -1
  14. package/.agent/agents/product-manager.md +1 -1
  15. package/.agent/agents/product-owner.md +1 -1
  16. package/.agent/agents/project-planner.md +1 -1
  17. package/.agent/agents/qa-automation-engineer.md +1 -1
  18. package/.agent/agents/seo-specialist.md +1 -1
  19. package/.agent/agents/test-engineer.md +1 -1
  20. package/.agent/routing_index.json +265 -1530
  21. package/.agent/scripts/browser_audit.js +13 -5
  22. package/.agent/scripts/bundle_analyzer.js +7 -3
  23. package/.agent/scripts/dependency_analyzer.js +16 -16
  24. package/.agent/scripts/inner_loop_validator.js +1 -1
  25. package/.agent/scripts/payload_schemas.js +18 -0
  26. package/.agent/scripts/pipeline_engine.js +3 -2
  27. package/.agent/scripts/schema_validator.js +2 -1
  28. package/.agent/scripts/swarm_dispatcher.js +29 -2
  29. package/.agent/scripts/test_runner.js +1 -2
  30. package/.agent/skills/12-principles-of-animation/SKILL.md +21 -21
  31. package/.agent/skills/60fps-animation/SKILL.md +24 -22
  32. package/.agent/skills/accessible-animation/SKILL.md +29 -31
  33. package/.agent/skills/adapt/SKILL.md +21 -21
  34. package/.agent/skills/advanced-rag-pipelines/SKILL.md +21 -21
  35. package/.agent/skills/agent-organizer/SKILL.md +21 -21
  36. package/.agent/skills/agentic-patterns/SKILL.md +21 -21
  37. package/.agent/skills/agentic-workflows-2026/SKILL.md +21 -20
  38. package/.agent/skills/ai-app-hardening/SKILL.md +21 -20
  39. package/.agent/skills/ai-prompt-injection-defense/SKILL.md +21 -21
  40. package/.agent/skills/animation-on-scroll/SKILL.md +36 -32
  41. package/.agent/skills/animation-systems/SKILL.md +35 -35
  42. package/.agent/skills/antfu-conventions/SKILL.md +21 -21
  43. package/.agent/skills/api-patterns/SKILL.md +21 -21
  44. package/.agent/skills/api-security-auditor/SKILL.md +21 -21
  45. package/.agent/skills/app-builder/SKILL.md +21 -21
  46. package/.agent/skills/appflow-wireframe/SKILL.md +21 -23
  47. package/.agent/skills/apple-design/SKILL.md +21 -21
  48. package/.agent/skills/architecture/SKILL.md +21 -21
  49. package/.agent/skills/audit-and-fix/SKILL.md +21 -21
  50. package/.agent/skills/authentication-best-practices/SKILL.md +21 -21
  51. package/.agent/skills/backend-security-expert/SKILL.md +21 -21
  52. package/.agent/skills/baseline-ui/SKILL.md +21 -21
  53. package/.agent/skills/bash-linux/SKILL.md +20 -20
  54. package/.agent/skills/behavioral-modes/SKILL.md +21 -21
  55. package/.agent/skills/better-colors/SKILL.md +21 -21
  56. package/.agent/skills/better-typography/SKILL.md +21 -20
  57. package/.agent/skills/better-ui/SKILL.md +38 -26
  58. package/.agent/skills/bolder/SKILL.md +21 -21
  59. package/.agent/skills/brainstorming/SKILL.md +21 -20
  60. package/.agent/skills/browser-audit/SKILL.md +35 -28
  61. package/.agent/skills/browser-native-ai/SKILL.md +21 -21
  62. package/.agent/skills/build-primitive/SKILL.md +21 -21
  63. package/.agent/skills/building-native-ui/SKILL.md +21 -21
  64. package/.agent/skills/cicd-pro/SKILL.md +20 -20
  65. package/.agent/skills/clarify/SKILL.md +21 -21
  66. package/.agent/skills/clean-code/SKILL.md +21 -21
  67. package/.agent/skills/cloud-architect/SKILL.md +20 -20
  68. package/.agent/skills/cobejs/SKILL.md +21 -21
  69. package/.agent/skills/code-review-checklist/SKILL.md +21 -21
  70. package/.agent/skills/codebase-design/SKILL.md +21 -21
  71. package/.agent/skills/colorize/SKILL.md +21 -21
  72. package/.agent/skills/compact-landing/SKILL.md +21 -21
  73. package/.agent/skills/company-logos/SKILL.md +21 -21
  74. package/.agent/skills/config-validator/SKILL.md +21 -21
  75. package/.agent/skills/containerization-pro/SKILL.md +20 -20
  76. package/.agent/skills/context-engineering-pro/SKILL.md +21 -20
  77. package/.agent/skills/create-design-md/SKILL.md +21 -21
  78. package/.agent/skills/critique/SKILL.md +21 -21
  79. package/.agent/skills/csharp-developer/SKILL.md +21 -21
  80. package/.agent/skills/data-validation-schemas/SKILL.md +21 -21
  81. package/.agent/skills/database-design/SKILL.md +21 -21
  82. package/.agent/skills/delight/SKILL.md +21 -21
  83. package/.agent/skills/deployment-procedures/SKILL.md +20 -20
  84. package/.agent/skills/design-lab/SKILL.md +22 -22
  85. package/.agent/skills/devops-engineer/SKILL.md +20 -20
  86. package/.agent/skills/devops-incident-responder/SKILL.md +20 -20
  87. package/.agent/skills/diagnosing-bugs/SKILL.md +22 -22
  88. package/.agent/skills/distill/SKILL.md +21 -21
  89. package/.agent/skills/documentation-templates/SKILL.md +21 -21
  90. package/.agent/skills/domain-modeling/SKILL.md +21 -21
  91. package/.agent/skills/duckdb-analytical-sql/SKILL.md +21 -20
  92. package/.agent/skills/edge-ai-mobile/SKILL.md +21 -20
  93. package/.agent/skills/edge-computing/SKILL.md +21 -21
  94. package/.agent/skills/emil-design-eng/SKILL.md +21 -21
  95. package/.agent/skills/error-resilience/SKILL.md +21 -21
  96. package/.agent/skills/expo-router-v4/SKILL.md +21 -20
  97. package/.agent/skills/extract-design-system/SKILL.md +21 -21
  98. package/.agent/skills/fabel-protocol/SKILL.md +21 -21
  99. package/.agent/skills/fixing-accessibility/SKILL.md +21 -21
  100. package/.agent/skills/fixing-metadata/SKILL.md +21 -21
  101. package/.agent/skills/fixing-motion-performance/SKILL.md +21 -21
  102. package/.agent/skills/framer-motion-expert/SKILL.md +21 -21
  103. package/.agent/skills/frontend-design/SKILL.md +21 -21
  104. package/.agent/skills/frontend-security-expert/SKILL.md +21 -21
  105. package/.agent/skills/game-design-expert/SKILL.md +21 -21
  106. package/.agent/skills/game-engineering-expert/SKILL.md +21 -21
  107. package/.agent/skills/generative-ui-expert/SKILL.md +21 -21
  108. package/.agent/skills/geo-fundamentals/SKILL.md +21 -21
  109. package/.agent/skills/git-pro/SKILL.md +21 -21
  110. package/.agent/skills/github-operations/SKILL.md +21 -21
  111. package/.agent/skills/gpt-taste/SKILL.md +21 -21
  112. package/.agent/skills/gsap-core/SKILL.md +21 -21
  113. package/.agent/skills/gsap-frameworks/SKILL.md +21 -21
  114. package/.agent/skills/gsap-performance/SKILL.md +21 -21
  115. package/.agent/skills/gsap-plugins/SKILL.md +21 -21
  116. package/.agent/skills/gsap-react/SKILL.md +21 -21
  117. package/.agent/skills/gsap-scrolltrigger/SKILL.md +21 -21
  118. package/.agent/skills/gsap-timeline/SKILL.md +21 -21
  119. package/.agent/skills/gsap-utils/SKILL.md +21 -21
  120. package/.agent/skills/harden/SKILL.md +21 -21
  121. package/.agent/skills/harness-protocol/SKILL.md +21 -21
  122. package/.agent/skills/i18n-localization/SKILL.md +21 -21
  123. package/.agent/skills/impeccable/SKILL.md +21 -21
  124. package/.agent/skills/improve-codebase-architecture/SKILL.md +21 -21
  125. package/.agent/skills/improve-ui/SKILL.md +21 -21
  126. package/.agent/skills/intelligent-routing/SKILL.md +21 -20
  127. package/.agent/skills/knowledge-graph/SKILL.md +21 -21
  128. package/.agent/skills/landing-page/SKILL.md +21 -21
  129. package/.agent/skills/lint-and-validate/SKILL.md +21 -21
  130. package/.agent/skills/llm-engineering/SKILL.md +21 -21
  131. package/.agent/skills/local-first/SKILL.md +21 -21
  132. package/.agent/skills/local-first-architecture/SKILL.md +21 -21
  133. package/.agent/skills/lottie-animation/SKILL.md +21 -21
  134. package/.agent/skills/marquee-loop/SKILL.md +21 -21
  135. package/.agent/skills/masked-reveal/SKILL.md +21 -21
  136. package/.agent/skills/mcp-builder/SKILL.md +21 -21
  137. package/.agent/skills/micro-interaction/SKILL.md +39 -32
  138. package/.agent/skills/mobile-design/SKILL.md +21 -21
  139. package/.agent/skills/monorepo-management/SKILL.md +21 -21
  140. package/.agent/skills/morphing-icons/SKILL.md +21 -21
  141. package/.agent/skills/motion-engineering/SKILL.md +21 -21
  142. package/.agent/skills/nextjs-react-expert/SKILL.md +21 -21
  143. package/.agent/skills/nodejs-best-practices/SKILL.md +21 -21
  144. package/.agent/skills/observability/SKILL.md +21 -21
  145. package/.agent/skills/opentelemetry-observability/SKILL.md +20 -19
  146. package/.agent/skills/page-transition-animation/SKILL.md +21 -21
  147. package/.agent/skills/parallel-agents/SKILL.md +21 -21
  148. package/.agent/skills/performance-profiling/SKILL.md +21 -21
  149. package/.agent/skills/plan-writing/SKILL.md +21 -21
  150. package/.agent/skills/platform-engineer/SKILL.md +20 -20
  151. package/.agent/skills/platform-engineering-opentofu/SKILL.md +20 -19
  152. package/.agent/skills/playwright-ai-e2e/SKILL.md +21 -20
  153. package/.agent/skills/playwright-best-practices/SKILL.md +21 -21
  154. package/.agent/skills/polish/SKILL.md +21 -21
  155. package/.agent/skills/powershell-windows/SKILL.md +20 -20
  156. package/.agent/skills/pricing-page/SKILL.md +21 -21
  157. package/.agent/skills/product-aware-heuristics/SKILL.md +21 -21
  158. package/.agent/skills/progressive-blur/SKILL.md +21 -21
  159. package/.agent/skills/project-idioms/SKILL.md +21 -21
  160. package/.agent/skills/property-based-testing/SKILL.md +21 -20
  161. package/.agent/skills/python-patterns/SKILL.md +21 -21
  162. package/.agent/skills/python-pro/SKILL.md +21 -21
  163. package/.agent/skills/quieter/SKILL.md +21 -21
  164. package/.agent/skills/react-doctor/SKILL.md +21 -21
  165. package/.agent/skills/react-specialist/SKILL.md +21 -21
  166. package/.agent/skills/readme-builder/SKILL.md +21 -21
  167. package/.agent/skills/realtime-patterns/SKILL.md +21 -21
  168. package/.agent/skills/red-team-tactics/SKILL.md +21 -21
  169. package/.agent/skills/redesign-skill/SKILL.md +21 -21
  170. package/.agent/skills/review-animations/SKILL.md +21 -21
  171. package/.agent/skills/rust-pro/SKILL.md +21 -21
  172. package/.agent/skills/seo-fundamentals/SKILL.md +21 -21
  173. package/.agent/skills/server-management/SKILL.md +20 -20
  174. package/.agent/skills/shadcn-ui-expert/SKILL.md +21 -21
  175. package/.agent/skills/shape/SKILL.md +21 -21
  176. package/.agent/skills/skill-creator/SKILL.md +28 -21
  177. package/.agent/skills/soft-skill/SKILL.md +21 -21
  178. package/.agent/skills/sounds-on-the-web/SKILL.md +21 -21
  179. package/.agent/skills/sql-pro/SKILL.md +21 -21
  180. package/.agent/skills/supabase-postgres-best-practices/SKILL.md +21 -21
  181. package/.agent/skills/svg-animation/SKILL.md +21 -21
  182. package/.agent/skills/swiftui-expert/SKILL.md +21 -21
  183. package/.agent/skills/swiss-design/SKILL.md +21 -21
  184. package/.agent/skills/system-design-pro/SKILL.md +21 -21
  185. package/.agent/skills/systematic-debugging/SKILL.md +22 -21
  186. package/.agent/skills/systematic-debugging/condition-based-waiting.md +14 -9
  187. package/.agent/skills/systematic-debugging/defense-in-depth.md +9 -3
  188. package/.agent/skills/systematic-debugging/root-cause-tracing.md +14 -0
  189. package/.agent/skills/tailwind-patterns/SKILL.md +21 -21
  190. package/.agent/skills/taste-skill/SKILL.md +21 -21
  191. package/.agent/skills/tdd-workflow/SKILL.md +28 -27
  192. package/.agent/skills/test-result-analyzer/SKILL.md +21 -21
  193. package/.agent/skills/testing-patterns/SKILL.md +21 -21
  194. package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +21 -21
  195. package/.agent/skills/thinking-protocol/SKILL.md +21 -20
  196. package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +21 -21
  197. package/.agent/skills/transitions-dev/SKILL.md +21 -21
  198. package/.agent/skills/trend-researcher/SKILL.md +21 -21
  199. package/.agent/skills/typescript-advanced/SKILL.md +21 -21
  200. package/.agent/skills/typeset/SKILL.md +21 -21
  201. package/.agent/skills/ui-reasoning-engine/SKILL.md +21 -21
  202. package/.agent/skills/ui-skill-packs/SKILL.md +21 -21
  203. package/.agent/skills/ui-skills-root/SKILL.md +21 -21
  204. package/.agent/skills/ui-ux-pro-max/SKILL.md +21 -21
  205. package/.agent/skills/ui-ux-researcher/SKILL.md +21 -21
  206. package/.agent/skills/vector-search-pgvector/SKILL.md +21 -20
  207. package/.agent/skills/verification-before-completion/SKILL.md +40 -36
  208. package/.agent/skills/vue-expert/SKILL.md +21 -21
  209. package/.agent/skills/vulnerability-scanner/SKILL.md +21 -21
  210. package/.agent/skills/web-accessibility-auditor/SKILL.md +21 -21
  211. package/.agent/skills/web-design-guidelines/SKILL.md +21 -21
  212. package/.agent/skills/web-quality-audit/SKILL.md +21 -21
  213. package/.agent/skills/webapp-testing/SKILL.md +21 -21
  214. package/.agent/skills/webgpu-performance/SKILL.md +21 -21
  215. package/.agent/skills/whimsy-injector/SKILL.md +21 -21
  216. package/.agent/skills/workflow-optimizer/SKILL.md +21 -21
  217. package/.agent/skills/zero-trust-passkeys/SKILL.md +21 -20
  218. package/.agent/templates/DESIGN.md +312 -290
  219. package/.agent/templates/sdd/task-reviewer-prompt.md +2 -2
  220. package/.agent/workflows/audit-live.md +4 -3
  221. package/.agent/workflows/brainstorm.md +1 -0
  222. package/.agent/workflows/context.md +9 -7
  223. package/.agent/workflows/minimal.md +3 -2
  224. package/.agent/workflows/plan.md +1 -1
  225. package/.agent/workflows/sdd.md +15 -0
  226. package/.agent/workflows/skill-enhancement-engine.md +11 -11
  227. package/.agent/workflows/super-prompt.md +25 -24
  228. package/.agents/skills/12-principles-of-animation/SKILL.md +21 -21
  229. package/.agents/skills/60fps-animation/SKILL.md +24 -22
  230. package/.agents/skills/accessible-animation/SKILL.md +29 -31
  231. package/.agents/skills/adapt/SKILL.md +21 -21
  232. package/.agents/skills/advanced-rag-pipelines/SKILL.md +21 -21
  233. package/.agents/skills/agent-organizer/SKILL.md +21 -21
  234. package/.agents/skills/agentic-patterns/SKILL.md +21 -21
  235. package/.agents/skills/agentic-workflows-2026/SKILL.md +21 -20
  236. package/.agents/skills/ai-app-hardening/SKILL.md +21 -20
  237. package/.agents/skills/ai-prompt-injection-defense/SKILL.md +21 -21
  238. package/.agents/skills/animation-on-scroll/SKILL.md +36 -32
  239. package/.agents/skills/animation-systems/SKILL.md +35 -35
  240. package/.agents/skills/antfu-conventions/SKILL.md +21 -21
  241. package/.agents/skills/api-patterns/SKILL.md +21 -21
  242. package/.agents/skills/api-security-auditor/SKILL.md +21 -21
  243. package/.agents/skills/app-builder/SKILL.md +21 -21
  244. package/.agents/skills/appflow-wireframe/SKILL.md +21 -23
  245. package/.agents/skills/apple-design/SKILL.md +21 -21
  246. package/.agents/skills/architecture/SKILL.md +21 -21
  247. package/.agents/skills/audit-and-fix/SKILL.md +21 -21
  248. package/.agents/skills/authentication-best-practices/SKILL.md +21 -21
  249. package/.agents/skills/backend-security-expert/SKILL.md +21 -21
  250. package/.agents/skills/baseline-ui/SKILL.md +21 -21
  251. package/.agents/skills/bash-linux/SKILL.md +20 -20
  252. package/.agents/skills/behavioral-modes/SKILL.md +21 -21
  253. package/.agents/skills/better-colors/SKILL.md +21 -21
  254. package/.agents/skills/better-typography/SKILL.md +21 -20
  255. package/.agents/skills/better-ui/SKILL.md +38 -26
  256. package/.agents/skills/bolder/SKILL.md +21 -21
  257. package/.agents/skills/brainstorming/SKILL.md +21 -20
  258. package/.agents/skills/browser-audit/SKILL.md +35 -28
  259. package/.agents/skills/browser-native-ai/SKILL.md +21 -21
  260. package/.agents/skills/build-primitive/SKILL.md +21 -21
  261. package/.agents/skills/building-native-ui/SKILL.md +21 -21
  262. package/.agents/skills/cicd-pro/SKILL.md +20 -20
  263. package/.agents/skills/clarify/SKILL.md +21 -21
  264. package/.agents/skills/clean-code/SKILL.md +21 -21
  265. package/.agents/skills/cloud-architect/SKILL.md +20 -20
  266. package/.agents/skills/cobejs/SKILL.md +21 -21
  267. package/.agents/skills/code-review-checklist/SKILL.md +21 -21
  268. package/.agents/skills/codebase-design/SKILL.md +21 -21
  269. package/.agents/skills/colorize/SKILL.md +21 -21
  270. package/.agents/skills/compact-landing/SKILL.md +21 -21
  271. package/.agents/skills/company-logos/SKILL.md +21 -21
  272. package/.agents/skills/config-validator/SKILL.md +21 -21
  273. package/.agents/skills/containerization-pro/SKILL.md +20 -20
  274. package/.agents/skills/context-engineering-pro/SKILL.md +21 -20
  275. package/.agents/skills/create-design-md/SKILL.md +21 -21
  276. package/.agents/skills/critique/SKILL.md +21 -21
  277. package/.agents/skills/csharp-developer/SKILL.md +21 -21
  278. package/.agents/skills/data-validation-schemas/SKILL.md +21 -21
  279. package/.agents/skills/database-design/SKILL.md +21 -21
  280. package/.agents/skills/delight/SKILL.md +21 -21
  281. package/.agents/skills/deployment-procedures/SKILL.md +20 -20
  282. package/.agents/skills/design-lab/SKILL.md +22 -22
  283. package/.agents/skills/devops-engineer/SKILL.md +20 -20
  284. package/.agents/skills/devops-incident-responder/SKILL.md +20 -20
  285. package/.agents/skills/diagnosing-bugs/SKILL.md +22 -22
  286. package/.agents/skills/distill/SKILL.md +21 -21
  287. package/.agents/skills/documentation-templates/SKILL.md +21 -21
  288. package/.agents/skills/domain-modeling/SKILL.md +21 -21
  289. package/.agents/skills/duckdb-analytical-sql/SKILL.md +21 -20
  290. package/.agents/skills/edge-ai-mobile/SKILL.md +21 -20
  291. package/.agents/skills/edge-computing/SKILL.md +21 -21
  292. package/.agents/skills/emil-design-eng/SKILL.md +21 -21
  293. package/.agents/skills/error-resilience/SKILL.md +21 -21
  294. package/.agents/skills/expo-router-v4/SKILL.md +21 -20
  295. package/.agents/skills/extract-design-system/SKILL.md +21 -21
  296. package/.agents/skills/fabel-protocol/SKILL.md +21 -21
  297. package/.agents/skills/fixing-accessibility/SKILL.md +21 -21
  298. package/.agents/skills/fixing-metadata/SKILL.md +21 -21
  299. package/.agents/skills/fixing-motion-performance/SKILL.md +21 -21
  300. package/.agents/skills/framer-motion-expert/SKILL.md +21 -21
  301. package/.agents/skills/frontend-design/SKILL.md +21 -21
  302. package/.agents/skills/frontend-security-expert/SKILL.md +21 -21
  303. package/.agents/skills/game-design-expert/SKILL.md +21 -21
  304. package/.agents/skills/game-engineering-expert/SKILL.md +21 -21
  305. package/.agents/skills/generative-ui-expert/SKILL.md +21 -21
  306. package/.agents/skills/geo-fundamentals/SKILL.md +21 -21
  307. package/.agents/skills/git-pro/SKILL.md +21 -21
  308. package/.agents/skills/github-operations/SKILL.md +21 -21
  309. package/.agents/skills/gpt-taste/SKILL.md +21 -21
  310. package/.agents/skills/gsap-core/SKILL.md +21 -21
  311. package/.agents/skills/gsap-frameworks/SKILL.md +21 -21
  312. package/.agents/skills/gsap-performance/SKILL.md +21 -21
  313. package/.agents/skills/gsap-plugins/SKILL.md +21 -21
  314. package/.agents/skills/gsap-react/SKILL.md +21 -21
  315. package/.agents/skills/gsap-scrolltrigger/SKILL.md +21 -21
  316. package/.agents/skills/gsap-timeline/SKILL.md +21 -21
  317. package/.agents/skills/gsap-utils/SKILL.md +21 -21
  318. package/.agents/skills/harden/SKILL.md +21 -21
  319. package/.agents/skills/harness-protocol/SKILL.md +21 -21
  320. package/.agents/skills/i18n-localization/SKILL.md +21 -21
  321. package/.agents/skills/impeccable/SKILL.md +21 -21
  322. package/.agents/skills/improve-codebase-architecture/SKILL.md +21 -21
  323. package/.agents/skills/improve-ui/SKILL.md +21 -21
  324. package/.agents/skills/intelligent-routing/SKILL.md +21 -20
  325. package/.agents/skills/knowledge-graph/SKILL.md +21 -21
  326. package/.agents/skills/landing-page/SKILL.md +21 -21
  327. package/.agents/skills/lint-and-validate/SKILL.md +21 -21
  328. package/.agents/skills/llm-engineering/SKILL.md +21 -21
  329. package/.agents/skills/local-first/SKILL.md +21 -21
  330. package/.agents/skills/local-first-architecture/SKILL.md +21 -21
  331. package/.agents/skills/lottie-animation/SKILL.md +21 -21
  332. package/.agents/skills/marquee-loop/SKILL.md +21 -21
  333. package/.agents/skills/masked-reveal/SKILL.md +21 -21
  334. package/.agents/skills/mcp-builder/SKILL.md +21 -21
  335. package/.agents/skills/micro-interaction/SKILL.md +39 -32
  336. package/.agents/skills/mobile-design/SKILL.md +21 -21
  337. package/.agents/skills/monorepo-management/SKILL.md +21 -21
  338. package/.agents/skills/morphing-icons/SKILL.md +21 -21
  339. package/.agents/skills/motion-engineering/SKILL.md +21 -21
  340. package/.agents/skills/nextjs-react-expert/SKILL.md +21 -21
  341. package/.agents/skills/nodejs-best-practices/SKILL.md +21 -21
  342. package/.agents/skills/observability/SKILL.md +21 -21
  343. package/.agents/skills/opentelemetry-observability/SKILL.md +20 -19
  344. package/.agents/skills/page-transition-animation/SKILL.md +21 -21
  345. package/.agents/skills/parallel-agents/SKILL.md +21 -21
  346. package/.agents/skills/performance-profiling/SKILL.md +21 -21
  347. package/.agents/skills/plan-writing/SKILL.md +21 -21
  348. package/.agents/skills/platform-engineer/SKILL.md +20 -20
  349. package/.agents/skills/platform-engineering-opentofu/SKILL.md +20 -19
  350. package/.agents/skills/playwright-ai-e2e/SKILL.md +21 -20
  351. package/.agents/skills/playwright-best-practices/SKILL.md +21 -21
  352. package/.agents/skills/polish/SKILL.md +21 -21
  353. package/.agents/skills/powershell-windows/SKILL.md +20 -20
  354. package/.agents/skills/pricing-page/SKILL.md +21 -21
  355. package/.agents/skills/product-aware-heuristics/SKILL.md +21 -21
  356. package/.agents/skills/progressive-blur/SKILL.md +21 -21
  357. package/.agents/skills/project-idioms/SKILL.md +21 -21
  358. package/.agents/skills/property-based-testing/SKILL.md +21 -20
  359. package/.agents/skills/python-patterns/SKILL.md +21 -21
  360. package/.agents/skills/python-pro/SKILL.md +21 -21
  361. package/.agents/skills/quieter/SKILL.md +21 -21
  362. package/.agents/skills/react-doctor/SKILL.md +21 -21
  363. package/.agents/skills/react-specialist/SKILL.md +21 -21
  364. package/.agents/skills/readme-builder/SKILL.md +21 -21
  365. package/.agents/skills/realtime-patterns/SKILL.md +21 -21
  366. package/.agents/skills/red-team-tactics/SKILL.md +21 -21
  367. package/.agents/skills/redesign-skill/SKILL.md +21 -21
  368. package/.agents/skills/review-animations/SKILL.md +21 -21
  369. package/.agents/skills/rust-pro/SKILL.md +21 -21
  370. package/.agents/skills/seo-fundamentals/SKILL.md +21 -21
  371. package/.agents/skills/server-management/SKILL.md +20 -20
  372. package/.agents/skills/shadcn-ui-expert/SKILL.md +21 -21
  373. package/.agents/skills/shape/SKILL.md +21 -21
  374. package/.agents/skills/skill-creator/SKILL.md +28 -21
  375. package/.agents/skills/soft-skill/SKILL.md +21 -21
  376. package/.agents/skills/sounds-on-the-web/SKILL.md +21 -21
  377. package/.agents/skills/sql-pro/SKILL.md +21 -21
  378. package/.agents/skills/supabase-postgres-best-practices/SKILL.md +21 -21
  379. package/.agents/skills/svg-animation/SKILL.md +21 -21
  380. package/.agents/skills/swiftui-expert/SKILL.md +21 -21
  381. package/.agents/skills/swiss-design/SKILL.md +21 -21
  382. package/.agents/skills/system-design-pro/SKILL.md +21 -21
  383. package/.agents/skills/systematic-debugging/SKILL.md +22 -21
  384. package/.agents/skills/systematic-debugging/condition-based-waiting.md +14 -9
  385. package/.agents/skills/systematic-debugging/defense-in-depth.md +9 -3
  386. package/.agents/skills/systematic-debugging/root-cause-tracing.md +14 -0
  387. package/.agents/skills/tailwind-patterns/SKILL.md +21 -21
  388. package/.agents/skills/taste-skill/SKILL.md +21 -21
  389. package/.agents/skills/tdd-workflow/SKILL.md +28 -27
  390. package/.agents/skills/test-result-analyzer/SKILL.md +21 -21
  391. package/.agents/skills/testing-patterns/SKILL.md +21 -21
  392. package/.agents/skills/thermo-nuclear-code-quality-review/SKILL.md +21 -21
  393. package/.agents/skills/thinking-protocol/SKILL.md +21 -20
  394. package/.agents/skills/to-spring-or-not-to-spring/SKILL.md +21 -21
  395. package/.agents/skills/transitions-dev/SKILL.md +21 -21
  396. package/.agents/skills/trend-researcher/SKILL.md +21 -21
  397. package/.agents/skills/typescript-advanced/SKILL.md +21 -21
  398. package/.agents/skills/typeset/SKILL.md +21 -21
  399. package/.agents/skills/ui-reasoning-engine/SKILL.md +21 -21
  400. package/.agents/skills/ui-skill-packs/SKILL.md +21 -21
  401. package/.agents/skills/ui-skills-root/SKILL.md +21 -21
  402. package/.agents/skills/ui-ux-pro-max/SKILL.md +21 -21
  403. package/.agents/skills/ui-ux-researcher/SKILL.md +21 -21
  404. package/.agents/skills/vector-search-pgvector/SKILL.md +21 -20
  405. package/.agents/skills/verification-before-completion/SKILL.md +40 -36
  406. package/.agents/skills/vue-expert/SKILL.md +21 -21
  407. package/.agents/skills/vulnerability-scanner/SKILL.md +21 -21
  408. package/.agents/skills/web-accessibility-auditor/SKILL.md +21 -21
  409. package/.agents/skills/web-design-guidelines/SKILL.md +21 -21
  410. package/.agents/skills/web-quality-audit/SKILL.md +21 -21
  411. package/.agents/skills/webapp-testing/SKILL.md +21 -21
  412. package/.agents/skills/webgpu-performance/SKILL.md +21 -21
  413. package/.agents/skills/whimsy-injector/SKILL.md +21 -21
  414. package/.agents/skills/workflow-optimizer/SKILL.md +21 -21
  415. package/.agents/skills/zero-trust-passkeys/SKILL.md +21 -20
  416. package/.codex-plugin/plugin.json +1 -5
  417. package/.kimi-plugin/plugin.json +1 -5
  418. package/.opencode/INSTALL.md +1 -0
  419. package/.opencode/plugins/tribunal.js +15 -6
  420. package/.pi/extensions/tribunal.ts +26 -29
  421. package/AGENTS.md +15 -13
  422. package/CLAUDE.md +3 -1
  423. package/README.md +542 -535
  424. package/bin/adapter-install.js +263 -263
  425. package/bin/mcp-server.js +17 -12
  426. package/bin/wrapper.js +12 -1
  427. package/dist/tui/banner.js +77 -77
  428. package/gemini-extension.json +1 -1
  429. package/package.json +7 -7
  430. package/plugin.json +1 -1
  431. package/scripts/apply-version.js +2 -2
  432. package/scripts/audit_skill_sdo.js +6 -4
  433. package/scripts/context_compiler.js +207 -83
  434. package/scripts/modernize_skills.js +25 -11
  435. package/scripts/package-cores.js +4 -1
  436. package/scripts/skill_enhancement_engine.js +211 -50
  437. package/scripts/telemetry_gc.js +154 -0
  438. package/skills/12-principles-of-animation/SKILL.md +21 -21
  439. package/skills/60fps-animation/SKILL.md +24 -22
  440. package/skills/accessible-animation/SKILL.md +29 -31
  441. package/skills/adapt/SKILL.md +21 -21
  442. package/skills/advanced-rag-pipelines/SKILL.md +21 -21
  443. package/skills/agent-organizer/SKILL.md +21 -21
  444. package/skills/agentic-patterns/SKILL.md +21 -21
  445. package/skills/agentic-workflows-2026/SKILL.md +21 -20
  446. package/skills/ai-app-hardening/SKILL.md +21 -20
  447. package/skills/ai-prompt-injection-defense/SKILL.md +21 -21
  448. package/skills/animation-on-scroll/SKILL.md +36 -32
  449. package/skills/animation-systems/SKILL.md +35 -35
  450. package/skills/antfu-conventions/SKILL.md +21 -21
  451. package/skills/api-patterns/SKILL.md +21 -21
  452. package/skills/api-security-auditor/SKILL.md +21 -21
  453. package/skills/app-builder/SKILL.md +21 -21
  454. package/skills/appflow-wireframe/SKILL.md +21 -23
  455. package/skills/apple-design/SKILL.md +21 -21
  456. package/skills/architecture/SKILL.md +21 -21
  457. package/skills/audit-and-fix/SKILL.md +21 -21
  458. package/skills/authentication-best-practices/SKILL.md +21 -21
  459. package/skills/backend-security-expert/SKILL.md +21 -21
  460. package/skills/baseline-ui/SKILL.md +21 -21
  461. package/skills/bash-linux/SKILL.md +20 -20
  462. package/skills/behavioral-modes/SKILL.md +21 -21
  463. package/skills/better-colors/SKILL.md +21 -21
  464. package/skills/better-typography/SKILL.md +21 -20
  465. package/skills/better-ui/SKILL.md +38 -26
  466. package/skills/bolder/SKILL.md +21 -21
  467. package/skills/brainstorming/SKILL.md +21 -20
  468. package/skills/browser-audit/SKILL.md +35 -28
  469. package/skills/browser-native-ai/SKILL.md +21 -21
  470. package/skills/build-primitive/SKILL.md +21 -21
  471. package/skills/building-native-ui/SKILL.md +21 -21
  472. package/skills/cicd-pro/SKILL.md +20 -20
  473. package/skills/clarify/SKILL.md +21 -21
  474. package/skills/clean-code/SKILL.md +21 -21
  475. package/skills/cloud-architect/SKILL.md +20 -20
  476. package/skills/cobejs/SKILL.md +21 -21
  477. package/skills/code-review-checklist/SKILL.md +21 -21
  478. package/skills/codebase-design/SKILL.md +21 -21
  479. package/skills/colorize/SKILL.md +21 -21
  480. package/skills/compact-landing/SKILL.md +21 -21
  481. package/skills/company-logos/SKILL.md +21 -21
  482. package/skills/config-validator/SKILL.md +21 -21
  483. package/skills/containerization-pro/SKILL.md +20 -20
  484. package/skills/context-engineering-pro/SKILL.md +21 -20
  485. package/skills/create-design-md/SKILL.md +21 -21
  486. package/skills/critique/SKILL.md +21 -21
  487. package/skills/csharp-developer/SKILL.md +21 -21
  488. package/skills/data-validation-schemas/SKILL.md +21 -21
  489. package/skills/database-design/SKILL.md +21 -21
  490. package/skills/delight/SKILL.md +21 -21
  491. package/skills/deployment-procedures/SKILL.md +20 -20
  492. package/skills/design-lab/SKILL.md +22 -22
  493. package/skills/devops-engineer/SKILL.md +20 -20
  494. package/skills/devops-incident-responder/SKILL.md +20 -20
  495. package/skills/diagnosing-bugs/SKILL.md +22 -22
  496. package/skills/distill/SKILL.md +21 -21
  497. package/skills/documentation-templates/SKILL.md +21 -21
  498. package/skills/domain-modeling/SKILL.md +21 -21
  499. package/skills/duckdb-analytical-sql/SKILL.md +21 -20
  500. package/skills/edge-ai-mobile/SKILL.md +21 -20
  501. package/skills/edge-computing/SKILL.md +21 -21
  502. package/skills/emil-design-eng/SKILL.md +21 -21
  503. package/skills/error-resilience/SKILL.md +21 -21
  504. package/skills/expo-router-v4/SKILL.md +21 -20
  505. package/skills/extract-design-system/SKILL.md +21 -21
  506. package/skills/fabel-protocol/SKILL.md +21 -21
  507. package/skills/fixing-accessibility/SKILL.md +21 -21
  508. package/skills/fixing-metadata/SKILL.md +21 -21
  509. package/skills/fixing-motion-performance/SKILL.md +21 -21
  510. package/skills/framer-motion-expert/SKILL.md +21 -21
  511. package/skills/frontend-design/SKILL.md +21 -21
  512. package/skills/frontend-security-expert/SKILL.md +21 -21
  513. package/skills/game-design-expert/SKILL.md +21 -21
  514. package/skills/game-engineering-expert/SKILL.md +21 -21
  515. package/skills/generative-ui-expert/SKILL.md +21 -21
  516. package/skills/geo-fundamentals/SKILL.md +21 -21
  517. package/skills/git-pro/SKILL.md +21 -21
  518. package/skills/github-operations/SKILL.md +21 -21
  519. package/skills/gpt-taste/SKILL.md +21 -21
  520. package/skills/gsap-core/SKILL.md +21 -21
  521. package/skills/gsap-frameworks/SKILL.md +21 -21
  522. package/skills/gsap-performance/SKILL.md +21 -21
  523. package/skills/gsap-plugins/SKILL.md +21 -21
  524. package/skills/gsap-react/SKILL.md +21 -21
  525. package/skills/gsap-scrolltrigger/SKILL.md +21 -21
  526. package/skills/gsap-timeline/SKILL.md +21 -21
  527. package/skills/gsap-utils/SKILL.md +21 -21
  528. package/skills/harden/SKILL.md +21 -21
  529. package/skills/harness-protocol/SKILL.md +21 -21
  530. package/skills/i18n-localization/SKILL.md +21 -21
  531. package/skills/impeccable/SKILL.md +21 -21
  532. package/skills/improve-codebase-architecture/SKILL.md +21 -21
  533. package/skills/improve-ui/SKILL.md +21 -21
  534. package/skills/intelligent-routing/SKILL.md +21 -20
  535. package/skills/knowledge-graph/SKILL.md +21 -21
  536. package/skills/landing-page/SKILL.md +21 -21
  537. package/skills/lint-and-validate/SKILL.md +21 -21
  538. package/skills/llm-engineering/SKILL.md +21 -21
  539. package/skills/local-first/SKILL.md +21 -21
  540. package/skills/local-first-architecture/SKILL.md +21 -21
  541. package/skills/lottie-animation/SKILL.md +21 -21
  542. package/skills/marquee-loop/SKILL.md +21 -21
  543. package/skills/masked-reveal/SKILL.md +21 -21
  544. package/skills/mcp-builder/SKILL.md +21 -21
  545. package/skills/micro-interaction/SKILL.md +39 -32
  546. package/skills/mobile-design/SKILL.md +21 -21
  547. package/skills/monorepo-management/SKILL.md +21 -21
  548. package/skills/morphing-icons/SKILL.md +21 -21
  549. package/skills/motion-engineering/SKILL.md +21 -21
  550. package/skills/nextjs-react-expert/SKILL.md +21 -21
  551. package/skills/nodejs-best-practices/SKILL.md +21 -21
  552. package/skills/observability/SKILL.md +21 -21
  553. package/skills/opentelemetry-observability/SKILL.md +20 -19
  554. package/skills/page-transition-animation/SKILL.md +21 -21
  555. package/skills/parallel-agents/SKILL.md +21 -21
  556. package/skills/performance-profiling/SKILL.md +21 -21
  557. package/skills/plan-writing/SKILL.md +21 -21
  558. package/skills/platform-engineer/SKILL.md +20 -20
  559. package/skills/platform-engineering-opentofu/SKILL.md +20 -19
  560. package/skills/playwright-ai-e2e/SKILL.md +21 -20
  561. package/skills/playwright-best-practices/SKILL.md +21 -21
  562. package/skills/polish/SKILL.md +21 -21
  563. package/skills/powershell-windows/SKILL.md +20 -20
  564. package/skills/pricing-page/SKILL.md +21 -21
  565. package/skills/product-aware-heuristics/SKILL.md +21 -21
  566. package/skills/progressive-blur/SKILL.md +21 -21
  567. package/skills/project-idioms/SKILL.md +21 -21
  568. package/skills/property-based-testing/SKILL.md +21 -20
  569. package/skills/python-patterns/SKILL.md +21 -21
  570. package/skills/python-pro/SKILL.md +21 -21
  571. package/skills/quieter/SKILL.md +21 -21
  572. package/skills/react-doctor/SKILL.md +21 -21
  573. package/skills/react-specialist/SKILL.md +21 -21
  574. package/skills/readme-builder/SKILL.md +21 -21
  575. package/skills/realtime-patterns/SKILL.md +21 -21
  576. package/skills/red-team-tactics/SKILL.md +21 -21
  577. package/skills/redesign-skill/SKILL.md +21 -21
  578. package/skills/review-animations/SKILL.md +21 -21
  579. package/skills/rust-pro/SKILL.md +21 -21
  580. package/skills/seo-fundamentals/SKILL.md +21 -21
  581. package/skills/server-management/SKILL.md +20 -20
  582. package/skills/shadcn-ui-expert/SKILL.md +21 -21
  583. package/skills/shape/SKILL.md +21 -21
  584. package/skills/skill-creator/SKILL.md +28 -21
  585. package/skills/soft-skill/SKILL.md +21 -21
  586. package/skills/sounds-on-the-web/SKILL.md +21 -21
  587. package/skills/sql-pro/SKILL.md +21 -21
  588. package/skills/supabase-postgres-best-practices/SKILL.md +21 -21
  589. package/skills/svg-animation/SKILL.md +21 -21
  590. package/skills/swiftui-expert/SKILL.md +21 -21
  591. package/skills/swiss-design/SKILL.md +21 -21
  592. package/skills/system-design-pro/SKILL.md +21 -21
  593. package/skills/systematic-debugging/SKILL.md +22 -21
  594. package/skills/systematic-debugging/condition-based-waiting.md +14 -9
  595. package/skills/systematic-debugging/defense-in-depth.md +9 -3
  596. package/skills/systematic-debugging/root-cause-tracing.md +14 -0
  597. package/skills/tailwind-patterns/SKILL.md +21 -21
  598. package/skills/taste-skill/SKILL.md +21 -21
  599. package/skills/tdd-workflow/SKILL.md +28 -27
  600. package/skills/test-result-analyzer/SKILL.md +21 -21
  601. package/skills/testing-patterns/SKILL.md +21 -21
  602. package/skills/thermo-nuclear-code-quality-review/SKILL.md +21 -21
  603. package/skills/thinking-protocol/SKILL.md +21 -20
  604. package/skills/to-spring-or-not-to-spring/SKILL.md +21 -21
  605. package/skills/transitions-dev/SKILL.md +21 -21
  606. package/skills/trend-researcher/SKILL.md +21 -21
  607. package/skills/typescript-advanced/SKILL.md +21 -21
  608. package/skills/typeset/SKILL.md +21 -21
  609. package/skills/ui-reasoning-engine/SKILL.md +21 -21
  610. package/skills/ui-skill-packs/SKILL.md +21 -21
  611. package/skills/ui-skills-root/SKILL.md +21 -21
  612. package/skills/ui-ux-pro-max/SKILL.md +21 -21
  613. package/skills/ui-ux-researcher/SKILL.md +21 -21
  614. package/skills/vector-search-pgvector/SKILL.md +21 -20
  615. package/skills/verification-before-completion/SKILL.md +40 -36
  616. package/skills/vue-expert/SKILL.md +21 -21
  617. package/skills/vulnerability-scanner/SKILL.md +21 -21
  618. package/skills/web-accessibility-auditor/SKILL.md +21 -21
  619. package/skills/web-design-guidelines/SKILL.md +21 -21
  620. package/skills/web-quality-audit/SKILL.md +21 -21
  621. package/skills/webapp-testing/SKILL.md +21 -21
  622. package/skills/webgpu-performance/SKILL.md +21 -21
  623. package/skills/whimsy-injector/SKILL.md +21 -21
  624. package/skills/workflow-optimizer/SKILL.md +21 -21
  625. package/skills/zero-trust-passkeys/SKILL.md +21 -20
package/README.md CHANGED
@@ -1,535 +1,542 @@
1
- <!-- PROJECT HEADER -->
2
- <div align="center">
3
- <br>
4
- <a href="https://github.com/Harmitx7/tribunal-kit">
5
- <img src="docs/assets/tribunal-hero-header.svg" alt="Tribunal Kit Hero Banner" width="100%" style="max-width: 1000px; margin-bottom: 24px; border-radius: 14px;" />
6
- </a>
7
-
8
- <p style="font-size: 1.35em; color: #ffffff; font-weight: 600; margin: 10px 0 8px 0;">
9
- Your AI writes code that doesn't exist. Tribunal Kit stops it.
10
- </p>
11
- <p style="font-size: 1.0em; color: #88888b; font-weight: 400; letter-spacing: 0.5px; margin: 0 0 25px 0;">
12
- The zero-dependency governance layer for AI coding agents — 52 specialists, 28 reviewers, compiled Rust core.
13
- </p>
14
-
15
- <!-- BADGES -->
16
- <div style="margin-bottom: 25px;">
17
- <a href="https://www.npmjs.com/package/tribunal-kit">
18
- <img src="https://img.shields.io/npm/v/tribunal-kit?style=for-the-badge&logo=npm&logoColor=white&color=ff1637" alt="NPM Version" />
19
- </a>
20
- <a href="https://github.com/Harmitx7/tribunal-kit">
21
- <img src="https://img.shields.io/github/stars/Harmitx7/tribunal-kit?style=for-the-badge&logo=github&logoColor=white&color=111111&label=Stars" alt="GitHub Stars" />
22
- </a>
23
- <a href="https://www.npmjs.com/package/tribunal-kit">
24
- <img src="https://img.shields.io/npm/dw/tribunal-kit?style=for-the-badge&logo=npm&logoColor=white&color=1a1a1f&label=Downloads" alt="NPM Downloads" />
25
- </a>
26
- <a href="https://github.com/Harmitx7/tribunal-kit/actions/workflows/ci.yml">
27
- <img src="https://img.shields.io/github/actions/workflow/status/Harmitx7/tribunal-kit/ci.yml?style=for-the-badge&logo=githubactions&logoColor=white&label=CI" alt="CI Status" />
28
- </a>
29
- <br>
30
- <a href="LICENSE">
31
- <img src="https://img.shields.io/badge/License-MIT-1a1a1f?style=for-the-badge&color=2d2d30" alt="License" />
32
- </a>
33
- <a href="CHANGELOG.md">
34
- <img src="https://img.shields.io/badge/Release-v9.0.2-ff3300?style=for-the-badge&color=111111&logo=github&logoColor=ff3300" alt="Release Version" />
35
- </a>
36
- <a href="package.json">
37
- <img src="https://img.shields.io/badge/Dependencies-0-ff3300?style=for-the-badge&color=111111&logoColor=ff3300" alt="Zero Dependencies" />
38
- </a>
39
- <a href="DESIGN.md">
40
- <img src="https://img.shields.io/badge/Design_System-Classical_Neo--Brutalist-ff3300?style=for-the-badge&color=111111" alt="Design System" />
41
- </a>
42
- <a href="crates/core">
43
- <img src="https://img.shields.io/badge/Core-Rust_10ms-DEA584?style=for-the-badge&logo=rust&logoColor=white" alt="Rust Core" />
44
- </a>
45
- <a href="mcp_config.json">
46
- <img src="https://img.shields.io/badge/MCP-Ready-00c2ff?style=for-the-badge&logo=openai&logoColor=111" alt="MCP Server" />
47
- </a>
48
- <a href="SECURITY.md">
49
- <img src="https://img.shields.io/badge/Security-Strict_Sandbox-ff1637?style=for-the-badge" alt="Security Policy" />
50
- </a>
51
- </div>
52
-
53
- <p>
54
- <strong>Universal Compatibility:</strong>
55
- <code>Cursor</code> • <code>Claude Code</code> • <code>Windsurf</code> • <code>VS Code</code> • <code>Aider</code> • <code>Devin</code>
56
- </p>
57
- </div>
58
-
59
- <br>
60
-
61
- <!-- THE PROBLEM -->
62
- <div style="background: linear-gradient(145deg, #180a0c, #11141c); border: 1px solid #4a1820; border-radius: 12px; padding: 24px; margin-bottom: 20px;">
63
- <div style="display: flex; align-items: center; margin-bottom: 12px;">
64
- <span style="background-color: #ff2200; color: white; padding: 4px 8px; border-radius: 4px; font-size: 0.75em; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-right: 10px;">The Problem</span>
65
- <strong style="color: #ffffff; font-size: 1.15em;">AI coding agents hallucinate. Constantly.</strong>
66
- </div>
67
- <p style="color: #c9c9d1; font-size: 0.95em; line-height: 1.6; margin: 0;">
68
- They import phantom packages that don't exist on npm. They invent deprecated framework hooks. They hallucinate database columns not in your schema. They bloat system prompts with static rules models ignore, and repeat the exact syntax bug you fixed 20 minutes ago.
69
- <br><br>
70
- <strong>No linter catches this. No typechecker catches this.</strong> Linters only run <em>after</em> code is written and cannot understand semantic intent. Until now, nothing governed your AI in real time.
71
- </p>
72
- </div>
73
-
74
- <!-- THE SOLUTION -->
75
- <div style="background: linear-gradient(145deg, #121622, #0c0f17); border: 1px solid #ff3300; border-radius: 12px; padding: 24px; margin-bottom: 35px;">
76
- <div style="display: flex; align-items: center; margin-bottom: 12px;">
77
- <span style="background-color: #ff3300; color: #ffffff; padding: 4px 8px; border-radius: 4px; font-size: 0.75em; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-right: 10px;">The Solution</span>
78
- <strong style="color: #ffffff; font-size: 1.15em;">One command. Your AI stops lying.</strong>
79
- </div>
80
- <p style="color: #c9c9d1; font-size: 0.95em; line-height: 1.6; margin: 0;">
81
- Tribunal Kit wraps your coding agents in an active <strong>neurosymbolic verification envelope</strong> — 52 specialist agents, 28 parallel reviewers, 185 skills, and a native compiled Rust core. It intercepts AI output in <strong>&lt; 10ms</strong>, validates it against your live repository AST, and blocks hallucinated code before it ever touches disk.
82
- </p>
83
- </div>
84
-
85
- <!-- VISUAL DEMONSTRATION -->
86
- <div align="center" style="margin: 28px 0;">
87
- <img src="docs/assets/realtime-difference.svg" alt="The Real-Time Difference: Without vs With Tribunal Kit" width="100%" style="max-width: 1100px; border-radius: 14px;" />
88
- </div>
89
-
90
- ---
91
-
92
- <!-- QUICKSTART -->
93
-
94
- ## ⚡ 30-Second Quickstart
95
-
96
- Install the governance layer in any repository with one command:
97
-
98
- ```bash
99
- npx tribunal-kit init # Scaffolds .agent/ and auto-detects Cursor, Windsurf, VS Code
100
- npx tribunal-kit sync # Synchronizes active governance rules across all IDEs
101
- npx tribunal-kit status # Verifies repository health and rule integrity
102
- ```
103
-
104
- ### 🔌 Universal CLI Agent Adapter (Claude Code, Aider, Cline)
105
-
106
- Tribunal Kit includes native plugins and adapter hooks for terminal agents:
107
-
108
- ```bash
109
- npx tribunal-kit tk-adapt # Auto-detect and install for all active CLI agents
110
- npx tribunal-kit tk-adapt claude # Install directly for Claude Code
111
- npx tribunal-kit tk-adapt aider # Install directly for Aider
112
- npx tribunal-kit tk-adapt --global # Install globally to ~/.tribunal-kit/
113
- ```
114
-
115
- ### 🛡️ Pre-Push Supply Chain Protection
116
-
117
- Catch hallucinated imports and ghost packages before code ever reaches your remote:
118
-
119
- ```bash
120
- npx tribunal-kit hook # Installs automated Git pre-push governance hook
121
- npx tribunal-kit guardrail # Manually scans changes for phantom packages & // VERIFY tags
122
- ```
123
-
124
- <br>
125
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
126
-
127
- <!-- NATIVE PLUGINS ECOSYSTEM -->
128
-
129
- ## 🔌 First-Class Native Plugins & Ecosystem Integrations
130
-
131
- Tribunal Kit ships with pre-configured native plugins and extensions across the AI engineering landscape:
132
-
133
- <div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
134
- <table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
135
- <thead>
136
- <tr style="border-bottom: 2px solid #22222f; background-color: #16161d; color: #ffffff;">
137
- <th style="padding: 12px 16px; font-weight: 600;">Environment / Agent</th>
138
- <th style="padding: 12px 16px; font-weight: 600;">Integration Type</th>
139
- <th style="padding: 12px 16px; font-weight: 600;">One-Line Activation</th>
140
- </tr>
141
- </thead>
142
- <tbody>
143
- <tr style="border-bottom: 1px solid #222225;">
144
- <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Anthropic Claude Code</td>
145
- <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Native Marketplace Plugin (<code>.claude-plugin/</code>)</td>
146
- <td style="padding: 12px 16px;"><code>/plugin marketplace add Harmitx7/tribunal-kit</code> or <code>tk-adapt claude</code></td>
147
- </tr>
148
- <tr style="border-bottom: 1px solid #222225;">
149
- <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">OpenCode.ai</td>
150
- <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Native Plugin Config (<code>.opencode/</code>)</td>
151
- <td style="padding: 12px 16px;">Add <code>"plugin": ["tribunal-kit@latest"]</code> in <code>opencode.json</code></td>
152
- </tr>
153
- <tr style="border-bottom: 1px solid #222225;">
154
- <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Cursor IDE</td>
155
- <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Plugin &amp; Rule Bridge (<code>.cursor-plugin/</code>)</td>
156
- <td style="padding: 12px 16px;"><code>npx tribunal-kit sync</code></td>
157
- </tr>
158
- <tr style="border-bottom: 1px solid #222225;">
159
- <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Cognition Devin</td>
160
- <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Devin Native Plugin (<code>.devin-plugin/</code>)</td>
161
- <td style="padding: 12px 16px;">Auto-detected via <code>.devin-plugin/plugin.json</code></td>
162
- </tr>
163
- <tr style="border-bottom: 1px solid #222225;">
164
- <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Google Gemini CLI</td>
165
- <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Extension Manifest (<code>gemini-extension.json</code>)</td>
166
- <td style="padding: 12px 16px;">Auto-registered via <code>gemini-extension.json</code></td>
167
- </tr>
168
- <tr style="border-bottom: 1px solid #222225;">
169
- <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Moonshot Kimi &amp; Hermes</td>
170
- <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Native Plugin Bundles (<code>.kimi-plugin</code>, <code>.hermes-plugin</code>)</td>
171
- <td style="padding: 12px 16px;">Packaged out-of-the-box with manifest bindings</td>
172
- </tr>
173
- <tr style="border-bottom: 1px solid #222225;">
174
- <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Aider CLI &amp; Codex</td>
175
- <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Conventions &amp; Agents Bridge</td>
176
- <td style="padding: 12px 16px;"><code>npx tribunal-kit tk-adapt aider</code></td>
177
- </tr>
178
- </tbody>
179
- </table>
180
- </div>
181
-
182
- <br>
183
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
184
-
185
- <!-- WHAT YOU GET -->
186
-
187
- ### 📦 What's Inside
188
-
189
- | Layer | Count | What It Does |
190
- | :--- | :--- | :--- |
191
- | **Specialist Agents** | 52 | Domain-specific reasoning (Frontend, Backend, Security, Database, Mobile, DevOps) |
192
- | **Tribunal Reviewers** | 28 | Parallel review pipeline that intercepts logic and security defects before disk write |
193
- | **Reusable Skills** | 184 | Deep knowledge packs (React 19, Next.js 15, Rust, Python, Vue, Animations, A11y) |
194
- | **Slash Workflows** | 41 | One-command operations (`/generate`, `/debug`, `/audit`, `/deploy`, `/refactor`) |
195
- | **Native Plugins** | 9+ | First-class plugins for Claude Code, Cursor, OpenCode, Devin, Kimi, Hermes, Pi, and Gemini CLI |
196
- | **Compiled Rust Core** | 1 | Native binary for AOT Semantic Graph extraction, AST parsing, hashing, and deduping |
197
- | **MCP Server** | 1 | Model Context Protocol integration with `query_semantic_graph` capabilities |
198
- | **Supreme Court Precedents** | ∞ | Permanent repository memory that records AI mistakes so they are never repeated |
199
-
200
- <br>
201
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
202
-
203
- <!-- COMPARATIVE ANALYSIS -->
204
-
205
- ## 📈 Comparative Analysis: Tribunal Kit vs. Alternatives
206
-
207
- AI engineering requires active verification, not passive prompt text:
208
-
209
- <div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
210
- <table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
211
- <thead>
212
- <tr style="border-bottom: 2px solid #22222f; background-color: #16161d;">
213
- <th style="padding: 14px 18px; color: #ffffff; font-weight: 600;">Dimension / Capability</th>
214
- <th style="padding: 14px 18px; color: #ff4d1a; font-weight: 700;">Tribunal Kit 🛡️</th>
215
- <th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Static <code>.cursorrules</code></th>
216
- <th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">AST Linters (ESLint)</th>
217
- <th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Manual System Prompts</th>
218
- </tr>
219
- </thead>
220
- <tbody>
221
- <tr style="border-bottom: 1px solid #222228;">
222
- <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Hallucination Interception</td>
223
- <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Active check gates (<code>tk guardrail</code>)</td>
224
- <td style="padding: 14px 18px; color: #c9c9d1;">None (passive text only)</td>
225
- <td style="padding: 14px 18px; color: #c9c9d1;">None (misses semantic intent)</td>
226
- <td style="padding: 14px 18px; color: #c9c9d1;">None (models drift)</td>
227
- </tr>
228
- <tr style="border-bottom: 1px solid #222228;">
229
- <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Context Window Overhead</td>
230
- <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Budget-gated recall &amp; MCP tools</td>
231
- <td style="padding: 14px 18px; color: #c9c9d1;">Severe (bloats with entire files)</td>
232
- <td style="padding: 14px 18px; color: #c9c9d1;">N/A (runs post-edit)</td>
233
- <td style="padding: 14px 18px; color: #c9c9d1;">High (burns context budget)</td>
234
- </tr>
235
- <tr style="border-bottom: 1px solid #222228;">
236
- <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Cross-Session Memory</td>
237
- <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Supreme Court Case Law (<code>tk case</code>)</td>
238
- <td style="padding: 14px 18px; color: #c9c9d1;">None (forgets every prompt)</td>
239
- <td style="padding: 14px 18px; color: #c9c9d1;">None</td>
240
- <td style="padding: 14px 18px; color: #c9c9d1;">None</td>
241
- </tr>
242
- <tr style="border-bottom: 1px solid #222228;">
243
- <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Self-Evolution</td>
244
- <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Git diff learning &amp; SkillOpt</td>
245
- <td style="padding: 14px 18px; color: #c9c9d1;">Manual editing</td>
246
- <td style="padding: 14px 18px; color: #c9c9d1;">Manual config edits</td>
247
- <td style="padding: 14px 18px; color: #c9c9d1;">Manual prompt tuning</td>
248
- </tr>
249
- <tr style="border-bottom: 1px solid #222228;">
250
- <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">IDE &amp; CLI Universal Support</td>
251
- <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Cursor, Windsurf, VSCode, Claude, Aider</td>
252
- <td style="padding: 14px 18px; color: #c9c9d1;">Cursor/Windsurf only</td>
253
- <td style="padding: 14px 18px; color: #c9c9d1;">Independent</td>
254
- <td style="padding: 14px 18px; color: #c9c9d1;">Hand-copied</td>
255
- </tr>
256
- <tr style="border-bottom: 1px solid #222228;">
257
- <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Execution Performance</td>
258
- <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Compiled Rust Core (<code>tribunal-core</code>)</td>
259
- <td style="padding: 14px 18px; color: #c9c9d1;">N/A (static)</td>
260
- <td style="padding: 14px 18px; color: #c9c9d1;">Slow Node processes</td>
261
- <td style="padding: 14px 18px; color: #c9c9d1;">Slow API calls</td>
262
- </tr>
263
- </tbody>
264
- </table>
265
- </div>
266
-
267
- <br>
268
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
269
-
270
- <!-- SECTION: 4 SUPERPOWERS -->
271
-
272
- ## 🏛️ The 4 Core Superpowers
273
-
274
- <div align="center" style="margin: 25px 0 35px 0;">
275
- <img src="docs/assets/superpowers-grid.svg" alt="The 4 Core Superpowers of Tribunal Kit" width="100%" style="max-width: 1200px; border-radius: 14px;" />
276
- </div>
277
-
278
- ### 1. ⚖️ Supreme Court Case Law & Memory (`tk case`)
279
- **Your AI will never make the same mistake twice.** Whenever your coding assistant introduces an antipattern or bug, record it as a legal precedent:
280
-
281
- ```bash
282
- # Add an AI mistake precedent
283
- tk case add
284
-
285
- # Search case law database
286
- tk case search "postgres deadlock"
287
- ```
288
-
289
- The `precedence-reviewer` actively checks this database during generation. If the agent attempts the same antipattern, Tribunal Kit rules it unconstitutional and blocks the write.
290
-
291
- ### 2. 🛡️ Phantom Package & Schema Guardrails (`tk guardrail`)
292
- AI models frequently hallucinate libraries that sound plausible but do not exist, exposing developers to **AI Package Hallucination Exploits (Slopsquatting)**:
293
-
294
- ```bash
295
- # Scan workspace changes for unverified dependencies and // VERIFY tags
296
- npx tribunal-kit guardrail
297
- ```
298
-
299
- ### 3. 🧬 SkillOpt: Autonomous Self-Evolution Engine
300
- Stop manually re-prompting. SkillOpt mutates, token-checks, and benchmarks instruction skills directly against real test harnesses:
301
-
302
- ```bash
303
- # Optimize a skill against a test harness
304
- tk optimize-skill --target ./skills/auth-security.md "npm run test:auth" --epochs 5 --candidates 3
305
- ```
306
-
307
- - **Proposal Generation**: The LLM suggests micro-patches for instruction files.
308
- - **Rust Deduplication**: Normalized Levenshtein similarity (default `0.85`) filters redundant proposals.
309
- - **Genetic Promotion**: Passing harness tests promote winning candidates as the new baseline.
310
-
311
- ### 4. Compiled Rust Core (`tribunal-core`)
312
- Heavy computation is delegated to a native Rust binary:
313
- - **Zero-Latency Hash Manifests**: File synchronization uses SHA-256 incremental hash diffs, speeding up CLI sync by **95%**.
314
- - **Semaphore-Bounded Parallelism**: Fully concurrent thread pools (64 in Rust, 32 in Node.js) eliminate resource starvation in massive monorepos.
315
-
316
- <br>
317
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
318
-
319
- <!-- PIPELINE MERMAID -->
320
-
321
- ## ⚖️ The Tribunal Pipeline — Mitigating AI Code Hallucinations
322
-
323
- Code generation is solved. **Code correctness is the frontier.**
324
-
325
- The Tribunal Pipeline intercepts raw agent generation and routes it through a parallel suite of **28 domain-specific reviewers** before presenting changes to the developer:
326
-
327
- <div align="center" style="margin: 25px 0 35px 0;">
328
- <img src="docs/assets/tribunal-pipeline.svg" alt="The Tribunal Architecture Pipeline" width="100%" style="max-width: 1200px; border-radius: 14px;" />
329
- </div>
330
-
331
- <details>
332
- <summary><b>View Raw Pipeline Specification (Mermaid Graph)</b></summary>
333
- <br>
334
-
335
- ```mermaid
336
- graph LR
337
- A[User Request] --> B[Context Broker]
338
- B --> C[Compiled Rust Core]
339
- C --> D[28 Parallel Reviewers]
340
- D -->|Violation| E[Inner-Loop Auto-Correct]
341
- E -.-> B
342
- D -->|Passed| F[Human Gate]
343
- F --> G[Safe Commit to Disk]
344
- ```
345
-
346
- </details>
347
-
348
- ### Reviewer Swarms Include:
349
- - **`logic-reviewer`** · Semantic soundness & impossible logic checks.
350
- - **`security-auditor`** · Payload boundaries, injection & OWASP scanning.
351
- - **`resilience-reviewer`** · Async error boundaries and retry logic.
352
- - **`ui-ux-auditor`** · Structural accessibility (WCAG 2.2 AA) & premium animations.
353
- - **`schema-reviewer`** · Type narrowing, Prisma/Drizzle integrity checks.
354
-
355
- <br>
356
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
357
-
358
- <!-- SOVEREIGN CONTRACTS -->
359
-
360
- ## 📜 Sovereign Covenant Protocol — Behavioral Contract Testing (`tk contract`)
361
-
362
- Declare repo invariants in declarative YAML rules stored in `.tribunal/contracts/`:
363
-
364
- ```yaml
365
- name: 'No console.log in production code'
366
- scope: 'src/**/*.ts, src/**/*.tsx'
367
- severity: block
368
- must_not:
369
- - pattern: 'console.log'
370
- message: 'Use structured logger instead of console.log'
371
- ```
372
-
373
- ```bash
374
- # Scaffold starter contracts
375
- npx tribunal-kit contract init
376
-
377
- # Verify contract invariants against modified files
378
- npx tribunal-kit contract verify
379
-
380
- # Replay failure trace snapshot
381
- npx tribunal-kit contract replay <trace_id>
382
- ```
383
-
384
- <br>
385
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
386
-
387
- <!-- MCP SERVER -->
388
-
389
- ## 🔌 Model Context Protocol (MCP) Server Integration
390
-
391
- Tribunal Kit hosts an out-of-the-box **MCP server** via stdio. Connect it to Cursor, VSCode, Windsurf, or Claude Desktop to allow coding agents to query tools dynamically.
392
-
393
- ### Config Snippet (`mcp_config.json` / Claude Desktop)
394
-
395
- ```json
396
- {
397
- "mcpServers": {
398
- "tribunal-kit": {
399
- "command": "npx",
400
- "args": ["-y", "tribunal-kit", "mcp"]
401
- }
402
- }
403
- }
404
- ```
405
-
406
- ### Exposed MCP Tools:
407
- - `query_semantic_graph` — Queries active project AST and dependency edges.
408
- - `verify_contracts` — Verifies proposed code against team contract rules before writing to disk.
409
- - `get_tribunal_skill` — Dynamically injects skills without overloading system prompts.
410
-
411
- <br>
412
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
413
-
414
- <!-- COMMAND REFERENCE -->
415
-
416
- ## 💻 Complete CLI Command Reference
417
-
418
- Below is the structured list of all core commands available via `npx tribunal-kit <command>` (or `tk <command>`):
419
-
420
- <div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
421
- <table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
422
- <thead>
423
- <tr style="border-bottom: 2px solid #22222f; background-color: #16161d; color: #ffffff;">
424
- <th style="padding: 12px 16px; font-weight: 600;">Command</th>
425
- <th style="padding: 12px 16px; font-weight: 600;">Action / Arguments</th>
426
- <th style="padding: 12px 16px; font-weight: 600;">Description</th>
427
- </tr>
428
- </thead>
429
- <tbody>
430
- <tr style="border-bottom: 1px solid #222225;">
431
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">init</kbd></td>
432
- <td style="padding: 12px 16px; color: #c9c9d1;"><code>[--force] [--path &lt;dir&gt;]</code></td>
433
- <td style="padding: 12px 16px; color: #a0a0a5;">Initializes the <code>.agent/</code> configuration payload.</td>
434
- </tr>
435
- <tr style="border-bottom: 1px solid #222225;">
436
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">sync</kbd></td>
437
- <td style="padding: 12px 16px; color: #c9c9d1;">—</td>
438
- <td style="padding: 12px 16px; color: #a0a0a5;">Syncs <code>.agent</code> rules with Cursor, Windsurf, and VSCode configs.</td>
439
- </tr>
440
- <tr style="border-bottom: 1px solid #222225;">
441
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">status</kbd></td>
442
- <td style="padding: 12px 16px; color: #c9c9d1;">—</td>
443
- <td style="padding: 12px 16px; color: #a0a0a5;">Evaluates workspace rules and manifest counts for violations.</td>
444
- </tr>
445
- <tr style="border-bottom: 1px solid #222225;">
446
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">guardrail</kbd></td>
447
- <td style="padding: 12px 16px; color: #c9c9d1;"><code>[--file &lt;path&gt;]</code></td>
448
- <td style="padding: 12px 16px; color: #a0a0a5;">Scans workspace changes for phantom packages and <code>// VERIFY</code> tags.</td>
449
- </tr>
450
- <tr style="border-bottom: 1px solid #222225;">
451
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">tk-adapt</kbd></td>
452
- <td style="padding: 12px 16px; color: #c9c9d1;"><code>[claude|aider|--global]</code></td>
453
- <td style="padding: 12px 16px; color: #a0a0a5;">Universal CLI agent adapter installer for Claude Code & Aider.</td>
454
- </tr>
455
- <tr style="border-bottom: 1px solid #222225;">
456
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">hook</kbd></td>
457
- <td style="padding: 12px 16px; color: #c9c9d1;">—</td>
458
- <td style="padding: 12px 16px; color: #a0a0a5;">Installs an automated Git pre-push governance check hook.</td>
459
- </tr>
460
- <tr style="border-bottom: 1px solid #222225;">
461
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">optimize-skill</kbd></td>
462
- <td style="padding: 12px 16px; color: #c9c9d1;"><code>--target &lt;file&gt; "&lt;cmd&gt;"</code></td>
463
- <td style="padding: 12px 16px; color: #a0a0a5;">Launches a self-evolving prompt optimization sequence.</td>
464
- </tr>
465
- <tr style="border-bottom: 1px solid #222225;">
466
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">align</kbd></td>
467
- <td style="padding: 12px 16px; color: #c9c9d1;"><code>[--file &lt;path&gt;]</code></td>
468
- <td style="padding: 12px 16px; color: #a0a0a5;">Align outputs, strip intro/conclusion slop, enforce framework bounds.</td>
469
- </tr>
470
- <tr style="border-bottom: 1px solid #222225;">
471
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">learn</kbd></td>
472
- <td style="padding: 12px 16px; color: #c9c9d1;"><code>[--dry-run]</code></td>
473
- <td style="padding: 12px 16px; color: #a0a0a5;">Analyzes Git diff logs to automatically distill project idioms.</td>
474
- </tr>
475
- <tr style="border-bottom: 1px solid #222225;">
476
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">case</kbd></td>
477
- <td style="padding: 12px 16px; color: #c9c9d1;"><code>add | search &lt;q&gt; | export</code></td>
478
- <td style="padding: 12px 16px; color: #a0a0a5;">Records, searches, or compiles AI mistake precedents.</td>
479
- </tr>
480
- <tr style="border-bottom: 1px solid #222225;">
481
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">memory</kbd></td>
482
- <td style="padding: 12px 16px; color: #c9c9d1;"><code>store | recall | gc</code></td>
483
- <td style="padding: 12px 16px; color: #a0a0a5;">Manages 4-type persistent memory with budget-gated recall.</td>
484
- </tr>
485
- <tr style="border-bottom: 1px solid #222225;">
486
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">marathon</kbd></td>
487
- <td style="padding: 12px 16px; color: #c9c9d1;"><code>init | status | next</code></td>
488
- <td style="padding: 12px 16px; color: #a0a0a5;">Sets up and executes long-running autonomous development.</td>
489
- </tr>
490
- <tr style="border-bottom: 1px solid #222225;">
491
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">contract</kbd></td>
492
- <td style="padding: 12px 16px; color: #c9c9d1;"><code>init | verify | list | trace | replay</code></td>
493
- <td style="padding: 12px 16px; color: #a0a0a5;">AI Agent Behavioral Contract Testing and failure context trace replay.</td>
494
- </tr>
495
- </tbody>
496
- </table>
497
- </div>
498
-
499
- <br>
500
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
501
-
502
- <!-- VIRAL BADGE SECTION -->
503
-
504
- ## 🌐 Spread the Shield (Add to Your Repository)
505
-
506
- Help protect the open-source ecosystem from AI hallucinations. Embed this badge in your repository's `README.md`:
507
-
508
- ```markdown
509
- [![Protected by Tribunal Kit](https://img.shields.io/badge/Protected%20by-Tribunal%20Kit-ff3300?style=for-the-badge&logo=shield&logoColor=white)](https://github.com/Harmitx7/tribunal-kit)
510
- ```
511
-
512
- **Renders as:**
513
- [![Protected by Tribunal Kit](https://img.shields.io/badge/Protected%20by-Tribunal%20Kit-ff3300?style=for-the-badge&logo=shield&logoColor=white)](https://github.com/Harmitx7/tribunal-kit)
514
-
515
- <div align="center" style="margin: 25px 0;">
516
- <img src="docs/assets/shield-badge-banner.svg" alt="Protected by Tribunal Kit Supply Chain Seal" width="100%" style="max-width: 800px; border-radius: 12px;" />
517
- </div>
518
-
519
- <br>
520
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
521
-
522
- <!-- FOOTER -->
523
-
524
- ## 🤝 Contributing & Security
525
-
526
- - **Design System**: Built under the Classical Neo-Brutalist & Kinetic Governance specification. See [DESIGN.md](DESIGN.md).
527
- - **Security Policy**: Zero network runtime dependencies, zero dynamic `eval`, and sandboxed file paths. Review [SECURITY.md](SECURITY.md).
528
- - **Contributing Guide**: We welcome community-authored agents, skills, and Rust core optimizations. See [CONTRIBUTING.md](CONTRIBUTING.md).
529
-
530
- <div align="center" style="background: #0e1118; border: 1px solid #242938; border-radius: 8px; padding: 25px; margin-top: 50px;">
531
- <img src="https://img.shields.io/badge/Status-Active_&_Secured-ff3300?style=for-the-badge&logoColor=white" alt="Status" />
532
- <br><br>
533
- <span style="font-style: italic; color: #f5f2eb; font-size: 0.95em;">"Never guess database schemas. Verify every async boundary. Welcome to the Tribunal."</span><br><br>
534
- <sub style="color: #8a92a3;"><b>MIT Licensed</b> Engineered for ultimate AI code governance Classical Neo-Brutalist Edition.</sub>
535
- </div>
1
+ <!-- PROJECT HEADER -->
2
+ <div align="center">
3
+ <br>
4
+ <a href="https://github.com/Harmitx7/tribunal-kit">
5
+ <img src="docs/assets/tribunal-hero-header.svg" alt="Tribunal Kit Hero Banner" width="100%" style="max-width: 1000px; margin-bottom: 24px; border-radius: 14px;" />
6
+ </a>
7
+
8
+ <p style="font-size: 1.35em; color: #ffffff; font-weight: 600; margin: 10px 0 8px 0;">
9
+ Your AI writes code that doesn't exist. Tribunal Kit stops it.
10
+ </p>
11
+ <p style="font-size: 1.0em; color: #88888b; font-weight: 400; letter-spacing: 0.5px; margin: 0 0 25px 0;">
12
+ The zero-dependency governance layer for AI coding agents — 52 specialists, 28 reviewers, compiled Rust core.
13
+ </p>
14
+
15
+ <!-- BADGES -->
16
+ <div style="margin-bottom: 25px;">
17
+ <a href="https://www.npmjs.com/package/tribunal-kit">
18
+ <img src="https://img.shields.io/npm/v/tribunal-kit?style=for-the-badge&logo=npm&logoColor=white&color=ff1637" alt="NPM Version" />
19
+ </a>
20
+ <a href="https://github.com/Harmitx7/tribunal-kit">
21
+ <img src="https://img.shields.io/github/stars/Harmitx7/tribunal-kit?style=for-the-badge&logo=github&logoColor=white&color=111111&label=Stars" alt="GitHub Stars" />
22
+ </a>
23
+ <a href="https://www.npmjs.com/package/tribunal-kit">
24
+ <img src="https://img.shields.io/npm/dw/tribunal-kit?style=for-the-badge&logo=npm&logoColor=white&color=1a1a1f&label=Downloads" alt="NPM Downloads" />
25
+ </a>
26
+ <a href="https://github.com/Harmitx7/tribunal-kit/actions/workflows/ci.yml">
27
+ <img src="https://img.shields.io/github/actions/workflow/status/Harmitx7/tribunal-kit/ci.yml?style=for-the-badge&logo=githubactions&logoColor=white&label=CI" alt="CI Status" />
28
+ </a>
29
+ <br>
30
+ <a href="LICENSE">
31
+ <img src="https://img.shields.io/badge/License-MIT-1a1a1f?style=for-the-badge&color=2d2d30" alt="License" />
32
+ </a>
33
+ <a href="CHANGELOG.md">
34
+ <img src="https://img.shields.io/badge/Release-v9.2.1-ff3300?style=for-the-badge&color=111111&logo=github&logoColor=ff3300" alt="Release Version" />
35
+ </a>
36
+ <a href="package.json">
37
+ <img src="https://img.shields.io/badge/Dependencies-0-ff3300?style=for-the-badge&color=111111&logoColor=ff3300" alt="Zero Dependencies" />
38
+ </a>
39
+ <a href="DESIGN.md">
40
+ <img src="https://img.shields.io/badge/Design_System-Classical_Neo--Brutalist-ff3300?style=for-the-badge&color=111111" alt="Design System" />
41
+ </a>
42
+ <a href="crates/core">
43
+ <img src="https://img.shields.io/badge/Core-Rust_10ms-DEA584?style=for-the-badge&logo=rust&logoColor=white" alt="Rust Core" />
44
+ </a>
45
+ <a href="mcp_config.json">
46
+ <img src="https://img.shields.io/badge/MCP-Ready-00c2ff?style=for-the-badge&logo=openai&logoColor=111" alt="MCP Server" />
47
+ </a>
48
+ <a href="SECURITY.md">
49
+ <img src="https://img.shields.io/badge/Security-Strict_Sandbox-ff1637?style=for-the-badge" alt="Security Policy" />
50
+ </a>
51
+ </div>
52
+
53
+ <p>
54
+ <strong>Universal Compatibility:</strong>
55
+ <code>Cursor</code> • <code>Claude Code</code> • <code>Windsurf</code> • <code>VS Code</code> • <code>Aider</code> • <code>Devin</code>
56
+ </p>
57
+ </div>
58
+
59
+ <br>
60
+
61
+ <!-- THE PROBLEM -->
62
+ <div style="background: linear-gradient(145deg, #180a0c, #11141c); border: 1px solid #4a1820; border-radius: 12px; padding: 24px; margin-bottom: 20px;">
63
+ <div style="display: flex; align-items: center; margin-bottom: 12px;">
64
+ <span style="background-color: #ff2200; color: white; padding: 4px 8px; border-radius: 4px; font-size: 0.75em; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-right: 10px;">The Problem</span>
65
+ <strong style="color: #ffffff; font-size: 1.15em;">AI coding agents hallucinate. Constantly.</strong>
66
+ </div>
67
+ <p style="color: #c9c9d1; font-size: 0.95em; line-height: 1.6; margin: 0;">
68
+ They import phantom packages that don't exist on npm. They invent deprecated framework hooks. They hallucinate database columns not in your schema. They bloat system prompts with static rules models ignore, and repeat the exact syntax bug you fixed 20 minutes ago.
69
+ <br><br>
70
+ <strong>No linter catches this. No typechecker catches this.</strong> Linters only run <em>after</em> code is written and cannot understand semantic intent. Until now, nothing governed your AI in real time.
71
+ </p>
72
+ </div>
73
+
74
+ <!-- THE SOLUTION -->
75
+ <div style="background: linear-gradient(145deg, #121622, #0c0f17); border: 1px solid #ff3300; border-radius: 12px; padding: 24px; margin-bottom: 35px;">
76
+ <div style="display: flex; align-items: center; margin-bottom: 12px;">
77
+ <span style="background-color: #ff3300; color: #ffffff; padding: 4px 8px; border-radius: 4px; font-size: 0.75em; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-right: 10px;">The Solution</span>
78
+ <strong style="color: #ffffff; font-size: 1.15em;">One command. Your AI stops lying.</strong>
79
+ </div>
80
+ <p style="color: #c9c9d1; font-size: 0.95em; line-height: 1.6; margin: 0;">
81
+ Tribunal Kit wraps your coding agents in an active <strong>neurosymbolic verification envelope</strong> — 52 specialist agents, 28 parallel reviewers, 185 skills, and a native compiled Rust core. It intercepts AI output in <strong>&lt; 10ms</strong>, validates it against your live repository AST, and blocks hallucinated code before it ever touches disk.
82
+ </p>
83
+ </div>
84
+
85
+ <!-- VISUAL DEMONSTRATION -->
86
+ <div align="center" style="margin: 28px 0;">
87
+ <img src="docs/assets/realtime-difference.svg" alt="The Real-Time Difference: Without vs With Tribunal Kit" width="100%" style="max-width: 1100px; border-radius: 14px;" />
88
+ </div>
89
+
90
+ ---
91
+
92
+ <!-- QUICKSTART -->
93
+
94
+ ## ⚡ 30-Second Quickstart
95
+
96
+ Install the governance layer in any repository with one command:
97
+
98
+ ```bash
99
+ npx tribunal-kit init # Scaffolds .agent/ and auto-detects Cursor, Windsurf, VS Code
100
+ npx tribunal-kit sync # Synchronizes active governance rules across all IDEs
101
+ npx tribunal-kit status # Verifies repository health and rule integrity
102
+ ```
103
+
104
+ ### 🔌 Universal CLI Agent Adapter (Claude Code, Aider, Cline)
105
+
106
+ Tribunal Kit includes native plugins and adapter hooks for terminal agents:
107
+
108
+ ```bash
109
+ npx tribunal-kit tk-adapt # Auto-detect and install for all active CLI agents
110
+ npx tribunal-kit tk-adapt claude # Install directly for Claude Code
111
+ npx tribunal-kit tk-adapt aider # Install directly for Aider
112
+ npx tribunal-kit tk-adapt --global # Install globally to ~/.tribunal-kit/
113
+ ```
114
+
115
+ ### 🛡️ Pre-Push Supply Chain Protection
116
+
117
+ Catch hallucinated imports and ghost packages before code ever reaches your remote:
118
+
119
+ ```bash
120
+ npx tribunal-kit hook # Installs automated Git pre-push governance hook
121
+ npx tribunal-kit guardrail # Manually scans changes for phantom packages & // VERIFY tags
122
+ ```
123
+
124
+ <br>
125
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
126
+
127
+ <!-- NATIVE PLUGINS ECOSYSTEM -->
128
+
129
+ ## 🔌 First-Class Native Plugins & Ecosystem Integrations
130
+
131
+ Tribunal Kit ships with pre-configured native plugins and extensions across the AI engineering landscape:
132
+
133
+ <div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
134
+ <table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
135
+ <thead>
136
+ <tr style="border-bottom: 2px solid #22222f; background-color: #16161d; color: #ffffff;">
137
+ <th style="padding: 12px 16px; font-weight: 600;">Environment / Agent</th>
138
+ <th style="padding: 12px 16px; font-weight: 600;">Integration Type</th>
139
+ <th style="padding: 12px 16px; font-weight: 600;">One-Line Activation</th>
140
+ </tr>
141
+ </thead>
142
+ <tbody>
143
+ <tr style="border-bottom: 1px solid #222225;">
144
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Anthropic Claude Code</td>
145
+ <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Native Marketplace Plugin (<code>.claude-plugin/</code>)</td>
146
+ <td style="padding: 12px 16px;"><code>/plugin marketplace add Harmitx7/tribunal-kit</code> or <code>tk-adapt claude</code></td>
147
+ </tr>
148
+ <tr style="border-bottom: 1px solid #222225;">
149
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">OpenCode.ai</td>
150
+ <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Native Plugin Config (<code>.opencode/</code>)</td>
151
+ <td style="padding: 12px 16px;">Add <code>"plugin": ["tribunal-kit@latest"]</code> in <code>opencode.json</code></td>
152
+ </tr>
153
+ <tr style="border-bottom: 1px solid #222225;">
154
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Cursor IDE</td>
155
+ <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Plugin &amp; Rule Bridge (<code>.cursor-plugin/</code>)</td>
156
+ <td style="padding: 12px 16px;"><code>npx tribunal-kit sync</code></td>
157
+ </tr>
158
+ <tr style="border-bottom: 1px solid #222225;">
159
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Cognition Devin</td>
160
+ <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Devin Native Plugin (<code>.devin-plugin/</code>)</td>
161
+ <td style="padding: 12px 16px;">Auto-detected via <code>.devin-plugin/plugin.json</code></td>
162
+ </tr>
163
+ <tr style="border-bottom: 1px solid #222225;">
164
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Google Gemini CLI</td>
165
+ <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Extension Manifest (<code>gemini-extension.json</code>)</td>
166
+ <td style="padding: 12px 16px;">Auto-registered via <code>gemini-extension.json</code></td>
167
+ </tr>
168
+ <tr style="border-bottom: 1px solid #222225;">
169
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Moonshot Kimi &amp; Hermes</td>
170
+ <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Native Plugin Bundles (<code>.kimi-plugin</code>, <code>.hermes-plugin</code>)</td>
171
+ <td style="padding: 12px 16px;">Packaged out-of-the-box with manifest bindings</td>
172
+ </tr>
173
+ <tr style="border-bottom: 1px solid #222225;">
174
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Aider CLI &amp; Codex</td>
175
+ <td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Conventions &amp; Agents Bridge</td>
176
+ <td style="padding: 12px 16px;"><code>npx tribunal-kit tk-adapt aider</code></td>
177
+ </tr>
178
+ </tbody>
179
+ </table>
180
+ </div>
181
+
182
+ <br>
183
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
184
+
185
+ <!-- WHAT YOU GET -->
186
+
187
+ ### 📦 What's Inside
188
+
189
+ | Layer | Count | What It Does |
190
+ | :--------------------------- | :---- | :--------------------------------------------------------------------------------------------- |
191
+ | **Specialist Agents** | 52 | Domain-specific reasoning (Frontend, Backend, Security, Database, Mobile, DevOps) |
192
+ | **Tribunal Reviewers** | 28 | Parallel review pipeline that intercepts logic and security defects before disk write |
193
+ | **Reusable Skills** | 184 | Deep knowledge packs (React 19, Next.js 15, Rust, Python, Vue, Animations, A11y) |
194
+ | **Slash Workflows** | 41 | One-command operations (`/generate`, `/debug`, `/audit`, `/deploy`, `/refactor`) |
195
+ | **Native Plugins** | 9+ | First-class plugins for Claude Code, Cursor, OpenCode, Devin, Kimi, Hermes, Pi, and Gemini CLI |
196
+ | **Compiled Rust Core** | 1 | Native binary for AOT Semantic Graph extraction, AST parsing, hashing, and deduping |
197
+ | **MCP Server** | 1 | Model Context Protocol integration with `query_semantic_graph` capabilities |
198
+ | **Supreme Court Precedents** | ∞ | Permanent repository memory that records AI mistakes so they are never repeated |
199
+
200
+ <br>
201
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
202
+
203
+ <!-- COMPARATIVE ANALYSIS -->
204
+
205
+ ## 📈 Comparative Analysis: Tribunal Kit vs. Alternatives
206
+
207
+ AI engineering requires active verification, not passive prompt text:
208
+
209
+ <div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
210
+ <table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
211
+ <thead>
212
+ <tr style="border-bottom: 2px solid #22222f; background-color: #16161d;">
213
+ <th style="padding: 14px 18px; color: #ffffff; font-weight: 600;">Dimension / Capability</th>
214
+ <th style="padding: 14px 18px; color: #ff4d1a; font-weight: 700;">Tribunal Kit 🛡️</th>
215
+ <th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Static <code>.cursorrules</code></th>
216
+ <th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">AST Linters (ESLint)</th>
217
+ <th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Manual System Prompts</th>
218
+ </tr>
219
+ </thead>
220
+ <tbody>
221
+ <tr style="border-bottom: 1px solid #222228;">
222
+ <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Hallucination Interception</td>
223
+ <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Active check gates (<code>tk guardrail</code>)</td>
224
+ <td style="padding: 14px 18px; color: #c9c9d1;">None (passive text only)</td>
225
+ <td style="padding: 14px 18px; color: #c9c9d1;">None (misses semantic intent)</td>
226
+ <td style="padding: 14px 18px; color: #c9c9d1;">None (models drift)</td>
227
+ </tr>
228
+ <tr style="border-bottom: 1px solid #222228;">
229
+ <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Context Window Overhead</td>
230
+ <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Budget-gated recall &amp; MCP tools</td>
231
+ <td style="padding: 14px 18px; color: #c9c9d1;">Severe (bloats with entire files)</td>
232
+ <td style="padding: 14px 18px; color: #c9c9d1;">N/A (runs post-edit)</td>
233
+ <td style="padding: 14px 18px; color: #c9c9d1;">High (burns context budget)</td>
234
+ </tr>
235
+ <tr style="border-bottom: 1px solid #222228;">
236
+ <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Cross-Session Memory</td>
237
+ <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Supreme Court Case Law (<code>tk case</code>)</td>
238
+ <td style="padding: 14px 18px; color: #c9c9d1;">None (forgets every prompt)</td>
239
+ <td style="padding: 14px 18px; color: #c9c9d1;">None</td>
240
+ <td style="padding: 14px 18px; color: #c9c9d1;">None</td>
241
+ </tr>
242
+ <tr style="border-bottom: 1px solid #222228;">
243
+ <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Self-Evolution</td>
244
+ <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Git diff learning &amp; SkillOpt</td>
245
+ <td style="padding: 14px 18px; color: #c9c9d1;">Manual editing</td>
246
+ <td style="padding: 14px 18px; color: #c9c9d1;">Manual config edits</td>
247
+ <td style="padding: 14px 18px; color: #c9c9d1;">Manual prompt tuning</td>
248
+ </tr>
249
+ <tr style="border-bottom: 1px solid #222228;">
250
+ <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">IDE &amp; CLI Universal Support</td>
251
+ <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Cursor, Windsurf, VSCode, Claude, Aider</td>
252
+ <td style="padding: 14px 18px; color: #c9c9d1;">Cursor/Windsurf only</td>
253
+ <td style="padding: 14px 18px; color: #c9c9d1;">Independent</td>
254
+ <td style="padding: 14px 18px; color: #c9c9d1;">Hand-copied</td>
255
+ </tr>
256
+ <tr style="border-bottom: 1px solid #222228;">
257
+ <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Execution Performance</td>
258
+ <td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Compiled Rust Core (<code>tribunal-core</code>)</td>
259
+ <td style="padding: 14px 18px; color: #c9c9d1;">N/A (static)</td>
260
+ <td style="padding: 14px 18px; color: #c9c9d1;">Slow Node processes</td>
261
+ <td style="padding: 14px 18px; color: #c9c9d1;">Slow API calls</td>
262
+ </tr>
263
+ </tbody>
264
+ </table>
265
+ </div>
266
+
267
+ <br>
268
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
269
+
270
+ <!-- SECTION: 4 SUPERPOWERS -->
271
+
272
+ ## 🏛️ The 4 Core Superpowers
273
+
274
+ <div align="center" style="margin: 25px 0 35px 0;">
275
+ <img src="docs/assets/superpowers-grid.svg" alt="The 4 Core Superpowers of Tribunal Kit" width="100%" style="max-width: 1200px; border-radius: 14px;" />
276
+ </div>
277
+
278
+ ### 1. ⚖️ Supreme Court Case Law & Memory (`tk case`)
279
+
280
+ **Your AI will never make the same mistake twice.** Whenever your coding assistant introduces an antipattern or bug, record it as a legal precedent:
281
+
282
+ ```bash
283
+ # Add an AI mistake precedent
284
+ tk case add
285
+
286
+ # Search case law database
287
+ tk case search "postgres deadlock"
288
+ ```
289
+
290
+ The `precedence-reviewer` actively checks this database during generation. If the agent attempts the same antipattern, Tribunal Kit rules it unconstitutional and blocks the write.
291
+
292
+ ### 2. 🛡️ Phantom Package & Schema Guardrails (`tk guardrail`)
293
+
294
+ AI models frequently hallucinate libraries that sound plausible but do not exist, exposing developers to **AI Package Hallucination Exploits (Slopsquatting)**:
295
+
296
+ ```bash
297
+ # Scan workspace changes for unverified dependencies and // VERIFY tags
298
+ npx tribunal-kit guardrail
299
+ ```
300
+
301
+ ### 3. 🧬 SkillOpt: Autonomous Self-Evolution Engine
302
+
303
+ Stop manually re-prompting. SkillOpt mutates, token-checks, and benchmarks instruction skills directly against real test harnesses:
304
+
305
+ ```bash
306
+ # Optimize a skill against a test harness
307
+ tk optimize-skill --target ./skills/auth-security.md "npm run test:auth" --epochs 5 --candidates 3
308
+ ```
309
+
310
+ - **Proposal Generation**: The LLM suggests micro-patches for instruction files.
311
+ - **Rust Deduplication**: Normalized Levenshtein similarity (default `0.85`) filters redundant proposals.
312
+ - **Genetic Promotion**: Passing harness tests promote winning candidates as the new baseline.
313
+
314
+ ### 4. Compiled Rust Core (`tribunal-core`)
315
+
316
+ Heavy computation is delegated to a native Rust binary:
317
+
318
+ - **Zero-Latency Hash Manifests**: File synchronization uses SHA-256 incremental hash diffs, speeding up CLI sync by **95%**.
319
+ - **Semaphore-Bounded Parallelism**: Fully concurrent thread pools (64 in Rust, 32 in Node.js) eliminate resource starvation in massive monorepos.
320
+
321
+ <br>
322
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
323
+
324
+ <!-- PIPELINE MERMAID -->
325
+
326
+ ## ⚖️ The Tribunal Pipeline — Mitigating AI Code Hallucinations
327
+
328
+ Code generation is solved. **Code correctness is the frontier.**
329
+
330
+ The Tribunal Pipeline intercepts raw agent generation and routes it through a parallel suite of **28 domain-specific reviewers** before presenting changes to the developer:
331
+
332
+ <div align="center" style="margin: 25px 0 35px 0;">
333
+ <img src="docs/assets/tribunal-pipeline.svg" alt="The Tribunal Architecture Pipeline" width="100%" style="max-width: 1200px; border-radius: 14px;" />
334
+ </div>
335
+
336
+ <details>
337
+ <summary><b>View Raw Pipeline Specification (Mermaid Graph)</b></summary>
338
+ <br>
339
+
340
+ ```mermaid
341
+ graph LR
342
+ A[User Request] --> B[Context Broker]
343
+ B --> C[Compiled Rust Core]
344
+ C --> D[28 Parallel Reviewers]
345
+ D -->|Violation| E[Inner-Loop Auto-Correct]
346
+ E -.-> B
347
+ D -->|Passed| F[Human Gate]
348
+ F --> G[Safe Commit to Disk]
349
+ ```
350
+
351
+ </details>
352
+
353
+ ### Reviewer Swarms Include:
354
+
355
+ - **`logic-reviewer`** · Semantic soundness & impossible logic checks.
356
+ - **`security-auditor`** · Payload boundaries, injection & OWASP scanning.
357
+ - **`resilience-reviewer`** · Async error boundaries and retry logic.
358
+ - **`ui-ux-auditor`** · Structural accessibility (WCAG 2.2 AA) & premium animations.
359
+ - **`schema-reviewer`** · Type narrowing, Prisma/Drizzle integrity checks.
360
+
361
+ <br>
362
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
363
+
364
+ <!-- SOVEREIGN CONTRACTS -->
365
+
366
+ ## 📜 Sovereign Covenant Protocol — Behavioral Contract Testing (`tk contract`)
367
+
368
+ Declare repo invariants in declarative YAML rules stored in `.tribunal/contracts/`:
369
+
370
+ ```yaml
371
+ name: 'No console.log in production code'
372
+ scope: 'src/**/*.ts, src/**/*.tsx'
373
+ severity: block
374
+ must_not:
375
+ - pattern: 'console.log'
376
+ message: 'Use structured logger instead of console.log'
377
+ ```
378
+
379
+ ```bash
380
+ # Scaffold starter contracts
381
+ npx tribunal-kit contract init
382
+
383
+ # Verify contract invariants against modified files
384
+ npx tribunal-kit contract verify
385
+
386
+ # Replay failure trace snapshot
387
+ npx tribunal-kit contract replay <trace_id>
388
+ ```
389
+
390
+ <br>
391
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
392
+
393
+ <!-- MCP SERVER -->
394
+
395
+ ## 🔌 Model Context Protocol (MCP) Server Integration
396
+
397
+ Tribunal Kit hosts an out-of-the-box **MCP server** via stdio. Connect it to Cursor, VSCode, Windsurf, or Claude Desktop to allow coding agents to query tools dynamically.
398
+
399
+ ### Config Snippet (`mcp_config.json` / Claude Desktop)
400
+
401
+ ```json
402
+ {
403
+ "mcpServers": {
404
+ "tribunal-kit": {
405
+ "command": "npx",
406
+ "args": ["-y", "tribunal-kit", "mcp"]
407
+ }
408
+ }
409
+ }
410
+ ```
411
+
412
+ ### Exposed MCP Tools:
413
+
414
+ - `query_semantic_graph` Queries active project AST and dependency edges.
415
+ - `verify_contracts` — Verifies proposed code against team contract rules before writing to disk.
416
+ - `get_tribunal_skill` Dynamically injects skills without overloading system prompts.
417
+
418
+ <br>
419
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
420
+
421
+ <!-- COMMAND REFERENCE -->
422
+
423
+ ## 💻 Complete CLI Command Reference
424
+
425
+ Below is the structured list of all core commands available via `npx tribunal-kit <command>` (or `tk <command>`):
426
+
427
+ <div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
428
+ <table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
429
+ <thead>
430
+ <tr style="border-bottom: 2px solid #22222f; background-color: #16161d; color: #ffffff;">
431
+ <th style="padding: 12px 16px; font-weight: 600;">Command</th>
432
+ <th style="padding: 12px 16px; font-weight: 600;">Action / Arguments</th>
433
+ <th style="padding: 12px 16px; font-weight: 600;">Description</th>
434
+ </tr>
435
+ </thead>
436
+ <tbody>
437
+ <tr style="border-bottom: 1px solid #222225;">
438
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">init</kbd></td>
439
+ <td style="padding: 12px 16px; color: #c9c9d1;"><code>[--force] [--path &lt;dir&gt;]</code></td>
440
+ <td style="padding: 12px 16px; color: #a0a0a5;">Initializes the <code>.agent/</code> configuration payload.</td>
441
+ </tr>
442
+ <tr style="border-bottom: 1px solid #222225;">
443
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">sync</kbd></td>
444
+ <td style="padding: 12px 16px; color: #c9c9d1;">—</td>
445
+ <td style="padding: 12px 16px; color: #a0a0a5;">Syncs <code>.agent</code> rules with Cursor, Windsurf, and VSCode configs.</td>
446
+ </tr>
447
+ <tr style="border-bottom: 1px solid #222225;">
448
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">status</kbd></td>
449
+ <td style="padding: 12px 16px; color: #c9c9d1;">—</td>
450
+ <td style="padding: 12px 16px; color: #a0a0a5;">Evaluates workspace rules and manifest counts for violations.</td>
451
+ </tr>
452
+ <tr style="border-bottom: 1px solid #222225;">
453
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">guardrail</kbd></td>
454
+ <td style="padding: 12px 16px; color: #c9c9d1;"><code>[--file &lt;path&gt;]</code></td>
455
+ <td style="padding: 12px 16px; color: #a0a0a5;">Scans workspace changes for phantom packages and <code>// VERIFY</code> tags.</td>
456
+ </tr>
457
+ <tr style="border-bottom: 1px solid #222225;">
458
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">tk-adapt</kbd></td>
459
+ <td style="padding: 12px 16px; color: #c9c9d1;"><code>[claude|aider|--global]</code></td>
460
+ <td style="padding: 12px 16px; color: #a0a0a5;">Universal CLI agent adapter installer for Claude Code & Aider.</td>
461
+ </tr>
462
+ <tr style="border-bottom: 1px solid #222225;">
463
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">hook</kbd></td>
464
+ <td style="padding: 12px 16px; color: #c9c9d1;">—</td>
465
+ <td style="padding: 12px 16px; color: #a0a0a5;">Installs an automated Git pre-push governance check hook.</td>
466
+ </tr>
467
+ <tr style="border-bottom: 1px solid #222225;">
468
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">optimize-skill</kbd></td>
469
+ <td style="padding: 12px 16px; color: #c9c9d1;"><code>--target &lt;file&gt; "&lt;cmd&gt;"</code></td>
470
+ <td style="padding: 12px 16px; color: #a0a0a5;">Launches a self-evolving prompt optimization sequence.</td>
471
+ </tr>
472
+ <tr style="border-bottom: 1px solid #222225;">
473
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">align</kbd></td>
474
+ <td style="padding: 12px 16px; color: #c9c9d1;"><code>[--file &lt;path&gt;]</code></td>
475
+ <td style="padding: 12px 16px; color: #a0a0a5;">Align outputs, strip intro/conclusion slop, enforce framework bounds.</td>
476
+ </tr>
477
+ <tr style="border-bottom: 1px solid #222225;">
478
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">learn</kbd></td>
479
+ <td style="padding: 12px 16px; color: #c9c9d1;"><code>[--dry-run]</code></td>
480
+ <td style="padding: 12px 16px; color: #a0a0a5;">Analyzes Git diff logs to automatically distill project idioms.</td>
481
+ </tr>
482
+ <tr style="border-bottom: 1px solid #222225;">
483
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">case</kbd></td>
484
+ <td style="padding: 12px 16px; color: #c9c9d1;"><code>add | search &lt;q&gt; | export</code></td>
485
+ <td style="padding: 12px 16px; color: #a0a0a5;">Records, searches, or compiles AI mistake precedents.</td>
486
+ </tr>
487
+ <tr style="border-bottom: 1px solid #222225;">
488
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">memory</kbd></td>
489
+ <td style="padding: 12px 16px; color: #c9c9d1;"><code>store | recall | gc</code></td>
490
+ <td style="padding: 12px 16px; color: #a0a0a5;">Manages 4-type persistent memory with budget-gated recall.</td>
491
+ </tr>
492
+ <tr style="border-bottom: 1px solid #222225;">
493
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">marathon</kbd></td>
494
+ <td style="padding: 12px 16px; color: #c9c9d1;"><code>init | status | next</code></td>
495
+ <td style="padding: 12px 16px; color: #a0a0a5;">Sets up and executes long-running autonomous development.</td>
496
+ </tr>
497
+ <tr style="border-bottom: 1px solid #222225;">
498
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">contract</kbd></td>
499
+ <td style="padding: 12px 16px; color: #c9c9d1;"><code>init | verify | list | trace | replay</code></td>
500
+ <td style="padding: 12px 16px; color: #a0a0a5;">AI Agent Behavioral Contract Testing and failure context trace replay.</td>
501
+ </tr>
502
+ </tbody>
503
+ </table>
504
+ </div>
505
+
506
+ <br>
507
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
508
+
509
+ <!-- VIRAL BADGE SECTION -->
510
+
511
+ ## 🌐 Spread the Shield (Add to Your Repository)
512
+
513
+ Help protect the open-source ecosystem from AI hallucinations. Embed this badge in your repository's `README.md`:
514
+
515
+ ```markdown
516
+ [![Protected by Tribunal Kit](https://img.shields.io/badge/Protected%20by-Tribunal%20Kit-ff3300?style=for-the-badge&logo=shield&logoColor=white)](https://github.com/Harmitx7/tribunal-kit)
517
+ ```
518
+
519
+ **Renders as:**
520
+ [![Protected by Tribunal Kit](https://img.shields.io/badge/Protected%20by-Tribunal%20Kit-ff3300?style=for-the-badge&logo=shield&logoColor=white)](https://github.com/Harmitx7/tribunal-kit)
521
+
522
+ <div align="center" style="margin: 25px 0;">
523
+ <img src="docs/assets/shield-badge-banner.svg" alt="Protected by Tribunal Kit Supply Chain Seal" width="100%" style="max-width: 800px; border-radius: 12px;" />
524
+ </div>
525
+
526
+ <br>
527
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
528
+
529
+ <!-- FOOTER -->
530
+
531
+ ## 🤝 Contributing & Security
532
+
533
+ - **Design System**: Built under the Classical Neo-Brutalist & Kinetic Governance specification. See [DESIGN.md](DESIGN.md).
534
+ - **Security Policy**: Zero network runtime dependencies, zero dynamic `eval`, and sandboxed file paths. Review [SECURITY.md](SECURITY.md).
535
+ - **Contributing Guide**: We welcome community-authored agents, skills, and Rust core optimizations. See [CONTRIBUTING.md](CONTRIBUTING.md).
536
+
537
+ <div align="center" style="background: #0e1118; border: 1px solid #242938; border-radius: 8px; padding: 25px; margin-top: 50px;">
538
+ <img src="https://img.shields.io/badge/Status-Active_&_Secured-ff3300?style=for-the-badge&logoColor=white" alt="Status" />
539
+ <br><br>
540
+ <span style="font-style: italic; color: #f5f2eb; font-size: 0.95em;">"Never guess database schemas. Verify every async boundary. Welcome to the Tribunal."</span><br><br>
541
+ <sub style="color: #8a92a3;"><b>MIT Licensed</b> • Engineered for ultimate AI code governance • Classical Neo-Brutalist Edition.</sub>
542
+ </div>