tribunal-kit 7.0.0 → 9.0.0

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 (349) hide show
  1. package/.agent/ARCHITECTURE.md +2 -2
  2. package/.agent/config/claude.json +18 -0
  3. package/.agent/config/plugin.json +102 -0
  4. package/.agent/config/slash-commands.json +103 -0
  5. package/.agent/config/specialist-registry.json +415 -0
  6. package/.agent/config/system-prompt.md +244 -0
  7. package/.agent/history/architecture-graph.yaml +302 -3
  8. package/.agent/history/graph-cache.json +515 -45
  9. package/.agent/history/memory.db +0 -0
  10. package/.agent/history/snapshots/bin__adapter-install.js.json +13 -0
  11. package/.agent/history/snapshots/bin__global-store.js.json +15 -0
  12. package/.agent/history/snapshots/bin__mcp-server.js.json +19 -0
  13. package/.agent/history/snapshots/bin__proxy-server.js.json +20 -0
  14. package/.agent/history/snapshots/bin__spawn-agent.js.json +12 -0
  15. package/.agent/history/snapshots/bin__tk-proxy.js.json +21 -0
  16. package/.agent/history/snapshots/bin__tribunal-kit.js.json +9 -7
  17. package/.agent/history/snapshots/bin__wrapper.js.json +14 -0
  18. package/.agent/history/snapshots/eslint.config.js.json +1 -2
  19. package/.agent/history/snapshots/scripts__benchmark.js.json +14 -0
  20. package/.agent/history/snapshots/scripts__changelog.js.json +1 -2
  21. package/.agent/history/snapshots/scripts__fix-vbc.js.json +11 -0
  22. package/.agent/history/snapshots/scripts__stress_benchmark.js.json +15 -0
  23. package/.agent/history/snapshots/scripts__sync-version.js.json +1 -2
  24. package/.agent/history/snapshots/scripts__validate-payload.js.json +1 -2
  25. package/.agent/history/snapshots/scripts__visual_audit.js.json +11 -0
  26. package/.agent/history/snapshots/test__integration__bridges.test.js.json +1 -2
  27. package/.agent/history/snapshots/test__integration__graceful_degradation.test.js.json +12 -0
  28. package/.agent/history/snapshots/test__integration__init.test.js.json +1 -2
  29. package/.agent/history/snapshots/test__integration__minimal_change_pipeline.test.js.json +13 -0
  30. package/.agent/history/snapshots/test__integration__parallel_tribunal.test.js.json +12 -0
  31. package/.agent/history/snapshots/test__integration__routing.test.js.json +1 -2
  32. package/.agent/history/snapshots/test__integration__swarm_dispatcher.test.js.json +1 -2
  33. package/.agent/history/snapshots/test__integration__sync_status.test.js.json +13 -0
  34. package/.agent/history/snapshots/test__integration__wave2.test.js.json +1 -2
  35. package/.agent/history/snapshots/test__integration__wrapper.test.js.json +13 -0
  36. package/.agent/history/snapshots/test__unit__align.test.js.json +10 -0
  37. package/.agent/history/snapshots/test__unit__args.test.js.json +3 -3
  38. package/.agent/history/snapshots/test__unit__audit_release.test.js.json +16 -0
  39. package/.agent/history/snapshots/test__unit__case_law_manager.test.js.json +1 -2
  40. package/.agent/history/snapshots/test__unit__cicd_validator.test.js.json +12 -0
  41. package/.agent/history/snapshots/test__unit__compile.test.js.json +10 -0
  42. package/.agent/history/snapshots/test__unit__context_broker.test.js.json +1 -2
  43. package/.agent/history/snapshots/test__unit__contract_engine.test.js.json +13 -0
  44. package/.agent/history/snapshots/test__unit__copyDir.test.js.json +3 -3
  45. package/.agent/history/snapshots/test__unit__graph_tools.test.js.json +1 -2
  46. package/.agent/history/snapshots/test__unit__guardrail_engine.test.js.json +10 -0
  47. package/.agent/history/snapshots/test__unit__impact_classifier.test.js.json +12 -0
  48. package/.agent/history/snapshots/test__unit__init.test.js.json +14 -0
  49. package/.agent/history/snapshots/test__unit__inner_loop_validator.test.js.json +1 -2
  50. package/.agent/history/snapshots/test__unit__integrity_manifest.test.js.json +13 -0
  51. package/.agent/history/snapshots/test__unit__learn.test.js.json +11 -0
  52. package/.agent/history/snapshots/test__unit__marathon.test.js.json +22 -0
  53. package/.agent/history/snapshots/test__unit__mcp_server.test.js.json +16 -0
  54. package/.agent/history/snapshots/test__unit__memory.test.js.json +13 -0
  55. package/.agent/history/snapshots/test__unit__minimal_change.test.js.json +10 -0
  56. package/.agent/history/snapshots/test__unit__native.test.js.json +10 -0
  57. package/.agent/history/snapshots/test__unit__optimize.test.js.json +13 -0
  58. package/.agent/history/snapshots/test__unit__path_resolution.test.js.json +14 -0
  59. package/.agent/history/snapshots/test__unit__production_readiness_evidence.test.js.json +21 -0
  60. package/.agent/history/snapshots/test__unit__selfInstall.test.js.json +3 -3
  61. package/.agent/history/snapshots/test__unit__semver.test.js.json +3 -3
  62. package/.agent/history/snapshots/test__unit__skill_evolution.test.js.json +11 -0
  63. package/.agent/history/snapshots/test__unit__stress.test.js.json +15 -0
  64. package/.agent/history/snapshots/test__unit__swarm_dispatcher.test.js.json +3 -3
  65. package/.agent/history/snapshots/test__unit__utils.test.js.json +10 -0
  66. package/.agent/routing_index.json +2 -2
  67. package/.agent/scripts/ast_context_loader.js +137 -0
  68. package/.agent/scripts/memory_engine.js +581 -0
  69. package/.agent/scripts/payload_schemas.js +146 -0
  70. package/.agent/scripts/prompt_compiler.js +59 -11
  71. package/.agent/scripts/swarm_dispatcher.js +295 -67
  72. package/.agent/scripts/token_budget_broker.js +117 -6
  73. package/.agent/skills/12-principles-of-animation/SKILL.md +19 -16
  74. package/.agent/skills/60fps-animation/SKILL.md +47 -21
  75. package/.agent/skills/accessible-animation/SKILL.md +19 -16
  76. package/.agent/skills/adapt/SKILL.md +19 -16
  77. package/.agent/skills/advanced-rag-pipelines/SKILL.md +41 -40
  78. package/.agent/skills/agent-organizer/SKILL.md +9 -59
  79. package/.agent/skills/agentic-patterns/SKILL.md +9 -57
  80. package/.agent/skills/agentic-workflows-2026/SKILL.md +45 -8
  81. package/.agent/skills/ai-app-hardening/SKILL.md +31 -5
  82. package/.agent/skills/ai-prompt-injection-defense/SKILL.md +28 -66
  83. package/.agent/skills/animation-on-scroll/SKILL.md +19 -16
  84. package/.agent/skills/animation-systems/SKILL.md +19 -15
  85. package/.agent/skills/antfu-conventions/SKILL.md +19 -18
  86. package/.agent/skills/api-patterns/SKILL.md +8 -58
  87. package/.agent/skills/api-security-auditor/SKILL.md +8 -58
  88. package/.agent/skills/app-builder/SKILL.md +9 -59
  89. package/.agent/skills/appflow-wireframe/SKILL.md +13 -57
  90. package/.agent/skills/apple-design/SKILL.md +22 -14
  91. package/.agent/skills/architecture/SKILL.md +9 -59
  92. package/.agent/skills/audit-and-fix/SKILL.md +19 -16
  93. package/.agent/skills/authentication-best-practices/SKILL.md +8 -58
  94. package/.agent/skills/backend-security-expert/SKILL.md +32 -65
  95. package/.agent/skills/baseline-ui/SKILL.md +22 -14
  96. package/.agent/skills/bash-linux/SKILL.md +9 -59
  97. package/.agent/skills/behavioral-modes/SKILL.md +9 -57
  98. package/.agent/skills/better-colors/SKILL.md +22 -14
  99. package/.agent/skills/better-typography/SKILL.md +26 -14
  100. package/.agent/skills/better-ui/SKILL.md +54 -19
  101. package/.agent/skills/bolder/SKILL.md +19 -16
  102. package/.agent/skills/brainstorming/SKILL.md +9 -57
  103. package/.agent/skills/browser-native-ai/SKILL.md +9 -28
  104. package/.agent/skills/build-primitive/SKILL.md +19 -16
  105. package/.agent/skills/building-native-ui/SKILL.md +9 -59
  106. package/.agent/skills/cicd-pro/SKILL.md +21 -28
  107. package/.agent/skills/clarify/SKILL.md +19 -16
  108. package/.agent/skills/clean-code/SKILL.md +18 -61
  109. package/.agent/skills/cloud-architect/SKILL.md +21 -28
  110. package/.agent/skills/cobejs/SKILL.md +19 -15
  111. package/.agent/skills/code-review-checklist/SKILL.md +8 -58
  112. package/.agent/skills/codebase-design/SKILL.md +33 -22
  113. package/.agent/skills/colorize/SKILL.md +19 -16
  114. package/.agent/skills/compact-landing/SKILL.md +19 -16
  115. package/.agent/skills/company-logos/SKILL.md +19 -16
  116. package/.agent/skills/config-validator/SKILL.md +9 -59
  117. package/.agent/skills/containerization-pro/SKILL.md +21 -28
  118. package/.agent/skills/context-engineering-pro/SKILL.md +31 -5
  119. package/.agent/skills/create-design-md/SKILL.md +22 -14
  120. package/.agent/skills/critique/SKILL.md +20 -11
  121. package/.agent/skills/csharp-developer/SKILL.md +8 -58
  122. package/.agent/skills/data-validation-schemas/SKILL.md +9 -59
  123. package/.agent/skills/database-design/SKILL.md +27 -67
  124. package/.agent/skills/delight/SKILL.md +19 -16
  125. package/.agent/skills/deployment-procedures/SKILL.md +9 -59
  126. package/.agent/skills/design-lab/SKILL.md +19 -16
  127. package/.agent/skills/devops-engineer/SKILL.md +8 -58
  128. package/.agent/skills/devops-incident-responder/SKILL.md +9 -59
  129. package/.agent/skills/diagnosing-bugs/SKILL.md +20 -21
  130. package/.agent/skills/distill/SKILL.md +19 -16
  131. package/.agent/skills/documentation-templates/SKILL.md +9 -59
  132. package/.agent/skills/domain-modeling/SKILL.md +19 -18
  133. package/.agent/skills/duckdb-analytical-sql/SKILL.md +31 -5
  134. package/.agent/skills/edge-ai-mobile/SKILL.md +31 -5
  135. package/.agent/skills/edge-computing/SKILL.md +9 -59
  136. package/.agent/skills/emil-design-eng/SKILL.md +21 -24
  137. package/.agent/skills/error-resilience/SKILL.md +31 -66
  138. package/.agent/skills/expo-router-v4/SKILL.md +31 -5
  139. package/.agent/skills/extract-design-system/SKILL.md +9 -59
  140. package/.agent/skills/fabel-protocol/SKILL.md +26 -8
  141. package/.agent/skills/fixing-accessibility/SKILL.md +22 -14
  142. package/.agent/skills/fixing-metadata/SKILL.md +19 -16
  143. package/.agent/skills/fixing-motion-performance/SKILL.md +22 -14
  144. package/.agent/skills/framer-motion-expert/SKILL.md +9 -57
  145. package/.agent/skills/frontend-design/SKILL.md +27 -7
  146. package/.agent/skills/frontend-security-expert/SKILL.md +8 -58
  147. package/.agent/skills/game-design-expert/SKILL.md +9 -59
  148. package/.agent/skills/game-engineering-expert/SKILL.md +9 -59
  149. package/.agent/skills/generative-ui-expert/SKILL.md +9 -28
  150. package/.agent/skills/geo-fundamentals/SKILL.md +9 -59
  151. package/.agent/skills/git-pro/SKILL.md +19 -30
  152. package/.agent/skills/github-operations/SKILL.md +8 -58
  153. package/.agent/skills/gpt-taste/SKILL.md +19 -16
  154. package/.agent/skills/gsap-core/SKILL.md +8 -78
  155. package/.agent/skills/gsap-frameworks/SKILL.md +8 -78
  156. package/.agent/skills/gsap-performance/SKILL.md +9 -77
  157. package/.agent/skills/gsap-plugins/SKILL.md +9 -77
  158. package/.agent/skills/gsap-react/SKILL.md +9 -21
  159. package/.agent/skills/gsap-scrolltrigger/SKILL.md +8 -78
  160. package/.agent/skills/gsap-timeline/SKILL.md +9 -77
  161. package/.agent/skills/gsap-utils/SKILL.md +9 -77
  162. package/.agent/skills/harden/SKILL.md +19 -16
  163. package/.agent/skills/harness-protocol/SKILL.md +9 -21
  164. package/.agent/skills/i18n-localization/SKILL.md +9 -59
  165. package/.agent/skills/impeccable/SKILL.md +19 -18
  166. package/.agent/skills/improve-codebase-architecture/SKILL.md +19 -17
  167. package/.agent/skills/improve-ui/SKILL.md +22 -14
  168. package/.agent/skills/intelligent-routing/SKILL.md +9 -23
  169. package/.agent/skills/knowledge-graph/SKILL.md +9 -21
  170. package/.agent/skills/landing-page/SKILL.md +19 -16
  171. package/.agent/skills/lint-and-validate/SKILL.md +9 -59
  172. package/.agent/skills/llm-engineering/SKILL.md +8 -58
  173. package/.agent/skills/local-first/SKILL.md +9 -59
  174. package/.agent/skills/local-first-architecture/SKILL.md +37 -20
  175. package/.agent/skills/lottie-animation/SKILL.md +19 -15
  176. package/.agent/skills/marquee-loop/SKILL.md +19 -16
  177. package/.agent/skills/masked-reveal/SKILL.md +19 -15
  178. package/.agent/skills/mcp-builder/SKILL.md +9 -59
  179. package/.agent/skills/micro-interaction/SKILL.md +19 -16
  180. package/.agent/skills/mobile-design/SKILL.md +8 -58
  181. package/.agent/skills/monorepo-management/SKILL.md +9 -59
  182. package/.agent/skills/morphing-icons/SKILL.md +19 -15
  183. package/.agent/skills/motion-engineering/SKILL.md +22 -15
  184. package/.agent/skills/nextjs-react-expert/SKILL.md +35 -67
  185. package/.agent/skills/nodejs-best-practices/SKILL.md +34 -61
  186. package/.agent/skills/observability/SKILL.md +8 -58
  187. package/.agent/skills/opentelemetry-observability/SKILL.md +31 -5
  188. package/.agent/skills/page-transition-animation/SKILL.md +19 -16
  189. package/.agent/skills/parallel-agents/SKILL.md +9 -59
  190. package/.agent/skills/performance-profiling/SKILL.md +8 -58
  191. package/.agent/skills/plan-writing/SKILL.md +36 -69
  192. package/.agent/skills/platform-engineer/SKILL.md +9 -59
  193. package/.agent/skills/platform-engineering-opentofu/SKILL.md +31 -5
  194. package/.agent/skills/playwright-ai-e2e/SKILL.md +31 -5
  195. package/.agent/skills/playwright-best-practices/SKILL.md +9 -59
  196. package/.agent/skills/polish/SKILL.md +19 -16
  197. package/.agent/skills/powershell-windows/SKILL.md +8 -58
  198. package/.agent/skills/pricing-page/SKILL.md +19 -16
  199. package/.agent/skills/product-aware-heuristics/SKILL.md +27 -8
  200. package/.agent/skills/progressive-blur/SKILL.md +19 -16
  201. package/.agent/skills/project-idioms/SKILL.md +9 -59
  202. package/.agent/skills/property-based-testing/SKILL.md +31 -5
  203. package/.agent/skills/python-patterns/SKILL.md +9 -59
  204. package/.agent/skills/python-pro/SKILL.md +35 -67
  205. package/.agent/skills/quieter/SKILL.md +19 -16
  206. package/.agent/skills/react-doctor/SKILL.md +19 -16
  207. package/.agent/skills/react-specialist/SKILL.md +26 -65
  208. package/.agent/skills/readme-builder/SKILL.md +9 -59
  209. package/.agent/skills/realtime-patterns/SKILL.md +8 -58
  210. package/.agent/skills/red-team-tactics/SKILL.md +9 -59
  211. package/.agent/skills/redesign-skill/SKILL.md +19 -16
  212. package/.agent/skills/review-animations/SKILL.md +21 -25
  213. package/.agent/skills/rust-pro/SKILL.md +30 -61
  214. package/.agent/skills/seo-fundamentals/SKILL.md +9 -59
  215. package/.agent/skills/server-management/SKILL.md +9 -59
  216. package/.agent/skills/shadcn-ui-expert/SKILL.md +9 -59
  217. package/.agent/skills/shape/SKILL.md +19 -16
  218. package/.agent/skills/skill-creator/SKILL.md +36 -86
  219. package/.agent/skills/soft-skill/SKILL.md +19 -16
  220. package/.agent/skills/sounds-on-the-web/SKILL.md +19 -16
  221. package/.agent/skills/sql-pro/SKILL.md +47 -62
  222. package/.agent/skills/supabase-postgres-best-practices/SKILL.md +9 -59
  223. package/.agent/skills/svg-animation/SKILL.md +19 -15
  224. package/.agent/skills/swiftui-expert/SKILL.md +9 -59
  225. package/.agent/skills/swiss-design/SKILL.md +19 -16
  226. package/.agent/skills/system-design-pro/SKILL.md +21 -26
  227. package/.agent/skills/systematic-debugging/SKILL.md +19 -60
  228. package/.agent/skills/systematic-debugging/condition-based-waiting.md +115 -0
  229. package/.agent/skills/systematic-debugging/defense-in-depth.md +122 -0
  230. package/.agent/skills/systematic-debugging/root-cause-tracing.md +169 -0
  231. package/.agent/skills/tailwind-patterns/SKILL.md +8 -58
  232. package/.agent/skills/taste-skill/SKILL.md +19 -16
  233. package/.agent/skills/tdd-workflow/SKILL.md +65 -25
  234. package/.agent/skills/test-result-analyzer/SKILL.md +9 -59
  235. package/.agent/skills/testing-patterns/SKILL.md +8 -58
  236. package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +19 -18
  237. package/.agent/skills/thinking-protocol/SKILL.md +33 -2
  238. package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +19 -15
  239. package/.agent/skills/transitions-dev/SKILL.md +19 -15
  240. package/.agent/skills/trend-researcher/SKILL.md +9 -59
  241. package/.agent/skills/typescript-advanced/SKILL.md +21 -64
  242. package/.agent/skills/typeset/SKILL.md +19 -16
  243. package/.agent/skills/ui-reasoning-engine/SKILL.md +27 -8
  244. package/.agent/skills/ui-skill-packs/SKILL.md +26 -16
  245. package/.agent/skills/ui-skills-root/SKILL.md +22 -14
  246. package/.agent/skills/ui-ux-pro-max/SKILL.md +38 -12
  247. package/.agent/skills/ui-ux-researcher/SKILL.md +9 -59
  248. package/.agent/skills/vector-search-pgvector/SKILL.md +31 -5
  249. package/.agent/skills/verification-before-completion/SKILL.md +125 -0
  250. package/.agent/skills/vue-expert/SKILL.md +9 -57
  251. package/.agent/skills/vulnerability-scanner/SKILL.md +8 -58
  252. package/.agent/skills/web-accessibility-auditor/SKILL.md +9 -59
  253. package/.agent/skills/web-design-guidelines/SKILL.md +27 -7
  254. package/.agent/skills/web-quality-audit/SKILL.md +19 -16
  255. package/.agent/skills/webapp-testing/SKILL.md +9 -59
  256. package/.agent/skills/webgpu-performance/SKILL.md +9 -28
  257. package/.agent/skills/whimsy-injector/SKILL.md +9 -57
  258. package/.agent/skills/workflow-optimizer/SKILL.md +9 -57
  259. package/.agent/skills/zero-trust-passkeys/SKILL.md +31 -5
  260. package/.agent/templates/DESIGN.md +680 -160
  261. package/.agent/templates/sdd/implementer-prompt.md +53 -0
  262. package/.agent/templates/sdd/re-review-prompt.md +28 -0
  263. package/.agent/templates/sdd/task-reviewer-prompt.md +59 -0
  264. package/.agent/workflows/acf.md +4 -0
  265. package/.agent/workflows/api-tester.md +5 -0
  266. package/.agent/workflows/audit.md +5 -0
  267. package/.agent/workflows/brainstorm.md +17 -1
  268. package/.agent/workflows/changelog.md +5 -0
  269. package/.agent/workflows/contract.md +19 -0
  270. package/.agent/workflows/create.md +6 -1
  271. package/.agent/workflows/debug.md +5 -0
  272. package/.agent/workflows/deploy.md +6 -1
  273. package/.agent/workflows/enhance.md +6 -1
  274. package/.agent/workflows/fix-ci.md +5 -0
  275. package/.agent/workflows/fix.md +5 -0
  276. package/.agent/workflows/generate.md +5 -0
  277. package/.agent/workflows/marathon.md +6 -1
  278. package/.agent/workflows/migrate.md +5 -0
  279. package/.agent/workflows/minimal.md +4 -0
  280. package/.agent/workflows/orchestrate.md +6 -1
  281. package/.agent/workflows/performance-benchmarker.md +6 -1
  282. package/.agent/workflows/pipeline.md +5 -0
  283. package/.agent/workflows/plan.md +6 -1
  284. package/.agent/workflows/preview.md +6 -1
  285. package/.agent/workflows/refactor.md +6 -0
  286. package/.agent/workflows/review-ai.md +5 -0
  287. package/.agent/workflows/review.md +5 -0
  288. package/.agent/workflows/sdd.md +122 -0
  289. package/.agent/workflows/session.md +5 -0
  290. package/.agent/workflows/status.md +4 -0
  291. package/.agent/workflows/super-prompt.md +4 -0
  292. package/.agent/workflows/swarm.md +6 -1
  293. package/.agent/workflows/test.md +6 -1
  294. package/.agent/workflows/tribunal-backend.md +5 -0
  295. package/.agent/workflows/tribunal-cicd.md +5 -0
  296. package/.agent/workflows/tribunal-database.md +5 -0
  297. package/.agent/workflows/tribunal-full.md +8 -0
  298. package/.agent/workflows/tribunal-mobile.md +5 -0
  299. package/.agent/workflows/tribunal-performance.md +5 -0
  300. package/.agent/workflows/tribunal-speed.md +5 -0
  301. package/.agent/workflows/tribunal-ui.md +7 -0
  302. package/.agents/plugins/marketplace.json +20 -0
  303. package/.claude/CLAUDE.md +442 -0
  304. package/.claude-plugin/marketplace.json +17 -0
  305. package/.claude-plugin/plugin.json +26 -0
  306. package/.codex-plugin/plugin.json +45 -0
  307. package/.cursor-plugin/plugin.json +26 -0
  308. package/.devin-plugin/plugin.json +14 -0
  309. package/.hermes-plugin/__init__.py +102 -0
  310. package/.hermes-plugin/plugin.yaml +6 -0
  311. package/.kimi-plugin/plugin.json +38 -0
  312. package/.opencode/INSTALL.md +41 -0
  313. package/.opencode/plugins/tribunal.js +101 -0
  314. package/.pi/extensions/tribunal.ts +133 -0
  315. package/CONTRIBUTING.md +1 -1
  316. package/README.md +253 -218
  317. package/SECURITY.md +3 -3
  318. package/bin/adapter-install.js +240 -0
  319. package/bin/global-store.js +48 -0
  320. package/bin/mcp-server.js +568 -252
  321. package/bin/proxy-server.js +113 -0
  322. package/bin/spawn-agent.js +39 -0
  323. package/bin/tk-proxy.js +34 -0
  324. package/bin/wrapper.js +1 -0
  325. package/dist/cli.js +355 -355
  326. package/dist/commands/init.js +8 -51
  327. package/dist/commands/status.js +61 -36
  328. package/dist/commands/validate.js +22 -31
  329. package/dist/esm/index.mjs +142 -142
  330. package/dist/index.d.ts +349 -343
  331. package/dist/tui/banner.js +77 -0
  332. package/dist/tui/index.js +21 -0
  333. package/dist/tui/reviewer-grid.js +90 -0
  334. package/dist/tui/shimmer.js +91 -0
  335. package/dist/tui/theme.js +130 -0
  336. package/dist/tui/tree.js +93 -0
  337. package/dist/tui/wizard.js +148 -0
  338. package/dist/utils/helpers.js +5 -41
  339. package/gemini-extension.json +6 -0
  340. package/hooks/hooks-cursor.json +16 -0
  341. package/hooks/hooks.json +16 -0
  342. package/hooks/session-start.js +77 -0
  343. package/package.json +165 -129
  344. package/scripts/audit_skill_sdo.js +87 -0
  345. package/scripts/build-graph.js +71 -0
  346. package/scripts/modernize_skills.js +254 -0
  347. package/.agent/history/snapshots/migrate_refs.js.json +0 -11
  348. package/.agent/scripts/compile_router.py +0 -5
  349. package/.agent/scripts/migrate_skills_frontmatter.py +0 -5
package/README.md CHANGED
@@ -1,30 +1,30 @@
1
1
  <!-- PROJECT HEADER -->
2
2
  <div align="center">
3
3
  <br>
4
- <img src="./docs/tribunalkit_no_bg.png" alt="TribunalKit Logo" width="380" style="margin-bottom: 20px;" />
4
+ <img src="https://raw.githubusercontent.com/Harmitx7/tribunal-kit/main/docs/tribunalkit_no_bg.png" alt="TribunalKit Logo" width="380" style="margin-bottom: 20px;" />
5
5
 
6
- <h1 style="font-size: 3.25em; font-weight: 800; letter-spacing: -2px; margin: 0; color: #ffffff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;">
6
+ <h1 style="font-size: 3.5em; font-weight: 800; letter-spacing: -2px; margin: 0; color: #ffffff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;">
7
7
  TRIBUNAL KIT
8
8
  </h1>
9
9
 
10
10
  <p style="font-size: 1.35em; color: #ffffff; font-weight: 600; margin: 15px 0 8px 0;">
11
11
  Your AI writes code that doesn't exist. Tribunal Kit stops it.
12
12
  </p>
13
- <p style="font-size: 0.95em; color: #88888b; font-weight: 400; letter-spacing: 1px; margin: 0 0 25px 0;">
14
- The governance layer for AI coding agents — 52 specialists, 28 reviewers, Rust core.
13
+ <p style="font-size: 1.0em; color: #88888b; font-weight: 400; letter-spacing: 0.5px; margin: 0 0 25px 0;">
14
+ The zero-dependency governance layer for AI coding agents — 52 specialists, 28 reviewers, compiled Rust core.
15
15
  </p>
16
16
 
17
17
  <!-- BADGES -->
18
- <div style="margin-bottom: 30px;">
18
+ <div style="margin-bottom: 25px;">
19
19
  <a href="https://www.npmjs.com/package/tribunal-kit">
20
20
  <img src="https://img.shields.io/npm/v/tribunal-kit?style=for-the-badge&logo=npm&logoColor=white&color=ff1637" alt="NPM Version" />
21
21
  </a>
22
- <a href="https://www.npmjs.com/package/tribunal-kit">
23
- <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" />
24
- </a>
25
22
  <a href="https://github.com/Harmitx7/tribunal-kit">
26
23
  <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" />
27
24
  </a>
25
+ <a href="https://www.npmjs.com/package/tribunal-kit">
26
+ <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" />
27
+ </a>
28
28
  <a href="https://github.com/Harmitx7/tribunal-kit/actions/workflows/ci.yml">
29
29
  <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" />
30
30
  </a>
@@ -33,18 +33,26 @@
33
33
  <img src="https://img.shields.io/badge/License-MIT-1a1a1f?style=for-the-badge&color=2d2d30" alt="License" />
34
34
  </a>
35
35
  <a href="CHANGELOG.md">
36
- <img src="https://img.shields.io/badge/Release-v7.0.0-ccff00?style=for-the-badge&color=111111&logo=github&logoColor=ccff00" alt="Release Version" />
36
+ <img src="https://img.shields.io/badge/Release-v9.0.0-ccff00?style=for-the-badge&color=111111&logo=github&logoColor=ccff00" alt="Release Version" />
37
+ </a>
38
+ <a href="package.json">
39
+ <img src="https://img.shields.io/badge/Dependencies-0-ccff00?style=for-the-badge&color=111111&logoColor=111" alt="Zero Dependencies" />
40
+ </a>
41
+ <a href="crates/core">
42
+ <img src="https://img.shields.io/badge/Core-Rust_10ms-DEA584?style=for-the-badge&logo=rust&logoColor=white" alt="Rust Core" />
37
43
  </a>
38
44
  <a href="mcp_config.json">
39
45
  <img src="https://img.shields.io/badge/MCP-Ready-00c2ff?style=for-the-badge&logo=openai&logoColor=111" alt="MCP Server" />
40
46
  </a>
41
- <a href="package.json">
42
- <img src="https://img.shields.io/badge/Dependencies-0-ccff00?style=for-the-badge&color=111111" alt="Zero Dependencies" />
43
- </a>
44
47
  <a href="SECURITY.md">
45
48
  <img src="https://img.shields.io/badge/Security-Strict_Sandbox-ff1637?style=for-the-badge" alt="Security Policy" />
46
49
  </a>
47
50
  </div>
51
+
52
+ <p>
53
+ <strong>Universal Compatibility:</strong>
54
+ <code>Cursor</code> • <code>Claude Code</code> • <code>Windsurf</code> • <code>VS Code</code> • <code>Aider</code> • <code>Devin</code>
55
+ </p>
48
56
  </div>
49
57
 
50
58
  <br>
@@ -53,77 +61,163 @@
53
61
  <div style="background: linear-gradient(145deg, #1a0a0a, #16161c); border: 1px solid #3a1a1a; border-radius: 12px; padding: 24px; margin-bottom: 20px;">
54
62
  <div style="display: flex; align-items: center; margin-bottom: 12px;">
55
63
  <span style="background-color: #ff1637; color: white; padding: 4px 8px; border-radius: 4px; font-size: 0.75em; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; margin-right: 10px;">The Problem</span>
56
- <strong style="color: #ffffff; font-size: 1.1em;">AI coding agents hallucinate. Constantly.</strong>
64
+ <strong style="color: #ffffff; font-size: 1.15em;">AI coding agents hallucinate. Constantly.</strong>
57
65
  </div>
58
66
  <p style="color: #c9c9d1; font-size: 0.95em; line-height: 1.6; margin: 0;">
59
- They import packages that don't exist. They call API methods that were deprecated two versions ago. They forget your project conventions mid-conversation. They generate code that <em>looks</em> right but silently breaks at runtime. <strong>No linter catches this. No type-checker catches this.</strong> The hallucination happens at the semantic layer and until now, nothing governed it.
67
+ 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.
68
+ <br><br>
69
+ <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.
60
70
  </p>
61
71
  </div>
62
72
 
63
73
  <!-- THE SOLUTION -->
64
- <div style="background: linear-gradient(145deg, #0a1a0a, #16161c); border: 1px solid #1a3a1a; border-radius: 12px; padding: 24px; margin-bottom: 40px;">
74
+ <div style="background: linear-gradient(145deg, #0a1a0a, #16161c); border: 1px solid #1a3a1a; border-radius: 12px; padding: 24px; margin-bottom: 35px;">
65
75
  <div style="display: flex; align-items: center; margin-bottom: 12px;">
66
76
  <span style="background-color: #ccff00; color: #111; padding: 4px 8px; border-radius: 4px; font-size: 0.75em; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; margin-right: 10px;">The Solution</span>
67
- <strong style="color: #ffffff; font-size: 1.1em;">One command. Your AI stops lying.</strong>
77
+ <strong style="color: #ffffff; font-size: 1.15em;">One command. Your AI stops lying.</strong>
68
78
  </div>
69
- <p style="color: #c9c9d1; font-size: 0.95em; line-height: 1.6; margin: 0 0 15px 0;">
70
- Tribunal Kit wraps your coding agents in a <strong>neurosymbolic verification envelope</strong> — 52 specialist agents, 28 parallel reviewers, 183 reusable skills, and a compiled Rust core that intercepts AI output, validates it against your actual codebase, and blocks hallucinated code before it reaches disk. Works with <strong>Cursor</strong>, <strong>VSCode</strong>, <strong>Windsurf</strong>, <strong>Claude Code</strong>, and <strong>Aider</strong>.
79
+ <p style="color: #c9c9d1; font-size: 0.95em; line-height: 1.6; margin: 0;">
80
+ Tribunal Kit wraps your coding agents in an active <strong>neurosymbolic verification envelope</strong> — 52 specialist agents, 28 parallel reviewers, 184 skills, and a native compiled Rust core. It intercepts AI output in <strong>&lt; 12ms</strong>, validates it against your live repository AST, and blocks hallucinated code before it ever touches disk.
71
81
  </p>
72
82
  </div>
73
83
 
74
- <!-- QUICK INSTALL -->
84
+ <!-- VISUAL DEMONSTRATION -->
85
+ ### ⚡ The Real-Time Difference
86
+
87
+ ```text
88
+ WITHOUT TRIBUNAL KIT WITH TRIBUNAL KIT
89
+ ───────────────────────────────────────────── ─────────────────────────────────────────────
90
+ $ cursor "Build a file upload Server Action" $ cursor "Build a file upload Server Action"
91
+
92
+ AI Output: AI Output:
93
+ import { useFormStatus } from 'react-dom'; import { useActionState } from 'react';
94
+ import { uploadFile } from 'ghost-s3-uploader'; import { put } from '@vercel/blob';
95
+
96
+ Runtime Result: Tribunal Core Intercept (9ms):
97
+ ❌ Error: Cannot find module 'ghost-s3-uploader' 🛡️ [BLOCKED] 'ghost-s3-uploader' is a PHANTOM PACKAGE
98
+ ❌ Warning: useFormStatus deprecated in React 19 ⚖️ [CASE LAW] Enforcing Next.js 15 Server Action rules
99
+ ✅ [APPROVED] Verified against package.json & AST
100
+ 💥 45 minutes wasted debugging ⚡ 0 minutes wasted. 100% working code shipped.
101
+ ```
102
+
103
+ ---
104
+
105
+ <!-- QUICKSTART -->
106
+
107
+ ## ⚡ 30-Second Quickstart
108
+
109
+ Install the governance layer in any repository with one command:
110
+
111
+ ```bash
112
+ npx tribunal-kit init # Scaffolds .agent/ and auto-detects Cursor, Windsurf, VS Code
113
+ npx tribunal-kit sync # Synchronizes active governance rules across all IDEs
114
+ npx tribunal-kit status # Verifies repository health and rule integrity
115
+ ```
116
+
117
+ ### 🔌 Universal CLI Agent Adapter (Claude Code, Aider, Cline)
118
+
119
+ Tribunal Kit includes native plugins and adapter hooks for terminal agents:
120
+
121
+ ```bash
122
+ npx tribunal-kit tk-adapt # Auto-detect and install for all active CLI agents
123
+ npx tribunal-kit tk-adapt claude # Install directly for Claude Code
124
+ npx tribunal-kit tk-adapt aider # Install directly for Aider
125
+ npx tribunal-kit tk-adapt --global # Install globally to ~/.tribunal-kit/
126
+ ```
127
+
128
+ ### 🛡️ Pre-Push Supply Chain Protection
129
+
130
+ Catch hallucinated imports and ghost packages before code ever reaches your remote:
75
131
 
76
132
  ```bash
77
- npx tribunal-kit init # Install the governance layer (< 60 seconds)
78
- npx tribunal-kit sync # Bridge with Cursor / Windsurf / VSCode
79
- npx tribunal-kit status # Verify everything is locked in
133
+ npx tribunal-kit hook # Installs automated Git pre-push governance hook
134
+ npx tribunal-kit guardrail # Manually scans changes for phantom packages & // VERIFY tags
80
135
  ```
81
136
 
137
+ <br>
138
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
139
+
140
+ <!-- NATIVE PLUGINS ECOSYSTEM -->
141
+
142
+ ## 🔌 First-Class Native Plugins & Ecosystem Integrations
143
+
144
+ Tribunal Kit ships with pre-configured native plugins and extensions across the AI engineering landscape:
145
+
146
+ <div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
147
+ <table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
148
+ <thead>
149
+ <tr style="border-bottom: 2px solid #22222f; background-color: #16161d; color: #ffffff;">
150
+ <th style="padding: 12px 16px; font-weight: 600;">Environment / Agent</th>
151
+ <th style="padding: 12px 16px; font-weight: 600;">Integration Type</th>
152
+ <th style="padding: 12px 16px; font-weight: 600;">One-Line Activation</th>
153
+ </tr>
154
+ </thead>
155
+ <tbody>
156
+ <tr style="border-bottom: 1px solid #222225;">
157
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Anthropic Claude Code</td>
158
+ <td style="padding: 12px 16px; color: #ccff00;">Native Marketplace Plugin (<code>.claude-plugin/</code>)</td>
159
+ <td style="padding: 12px 16px;"><code>/plugin marketplace add Harmitx7/tribunal-kit</code> or <code>tk-adapt claude</code></td>
160
+ </tr>
161
+ <tr style="border-bottom: 1px solid #222225;">
162
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">OpenCode.ai</td>
163
+ <td style="padding: 12px 16px; color: #ccff00;">Native Plugin Config (<code>.opencode/</code>)</td>
164
+ <td style="padding: 12px 16px;">Add <code>"plugin": ["tribunal-kit@latest"]</code> in <code>opencode.json</code></td>
165
+ </tr>
166
+ <tr style="border-bottom: 1px solid #222225;">
167
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Cursor IDE</td>
168
+ <td style="padding: 12px 16px; color: #ccff00;">Plugin & Rule Bridge (<code>.cursor-plugin/</code>)</td>
169
+ <td style="padding: 12px 16px;"><code>npx tribunal-kit sync</code></td>
170
+ </tr>
171
+ <tr style="border-bottom: 1px solid #222225;">
172
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Cognition Devin</td>
173
+ <td style="padding: 12px 16px; color: #ccff00;">Devin Native Plugin (<code>.devin-plugin/</code>)</td>
174
+ <td style="padding: 12px 16px;">Auto-detected via <code>.devin-plugin/plugin.json</code></td>
175
+ </tr>
176
+ <tr style="border-bottom: 1px solid #222225;">
177
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Google Gemini CLI</td>
178
+ <td style="padding: 12px 16px; color: #ccff00;">Extension Manifest (<code>gemini-extension.json</code>)</td>
179
+ <td style="padding: 12px 16px;">Auto-registered via <code>gemini-extension.json</code></td>
180
+ </tr>
181
+ <tr style="border-bottom: 1px solid #222225;">
182
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Moonshot Kimi & Hermes</td>
183
+ <td style="padding: 12px 16px; color: #ccff00;">Native Plugin Bundles (<code>.kimi-plugin</code>, <code>.hermes-plugin</code>)</td>
184
+ <td style="padding: 12px 16px;">Packaged out-of-the-box with manifest bindings</td>
185
+ </tr>
186
+ <tr style="border-bottom: 1px solid #222225;">
187
+ <td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Aider CLI & Codex</td>
188
+ <td style="padding: 12px 16px; color: #ccff00;">Conventions & Agents Bridge</td>
189
+ <td style="padding: 12px 16px;"><code>npx tribunal-kit tk-adapt aider</code></td>
190
+ </tr>
191
+ </tbody>
192
+ </table>
193
+ </div>
194
+
195
+ <br>
82
196
  <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
83
197
 
84
198
  <!-- WHAT YOU GET -->
85
199
 
86
- ### What's Inside
200
+ ### 📦 What's Inside
87
201
 
88
- | Layer | Count | What It Does |
89
- | :--------------------- | :------ | :---------------------------------------------------------------------------------- |
90
- | **Specialist Agents** | 51 | Domain-specific reasoning (frontend, backend, security, database, mobile, DevOps) |
91
- | **Tribunal Reviewers** | 27 | Parallel code review pipeline that catches hallucinations before they ship |
92
- | **Reusable Skills** | 183 | Deep knowledge packs (React 19, Next.js 15, Rust, Python, Vue, animations, a11y) |
93
- | **Slash Workflows** | 38 | One-command operations (`/generate`, `/debug`, `/audit`, `/deploy`, `/refactor`) |
94
- | **Rust Core** | 1 | Native binary for sub-50ms operations (hashing, dedup, DAG scheduling, compression) |
95
- | **MCP Server** | 1 | Model Context Protocol integration for dynamic tool access |
96
- | **Persistent Memory** | 4 types | Semantic, Procedural, Episodic, Working survives across sessions |
97
- | **Case Law Database** | ∞ | Records past AI mistakes as permanent precedents to prevent recurrence |
202
+ | Layer | Count | What It Does |
203
+ | :--- | :--- | :--- |
204
+ | **Specialist Agents** | 52 | Domain-specific reasoning (Frontend, Backend, Security, Database, Mobile, DevOps) |
205
+ | **Tribunal Reviewers** | 28 | Parallel review pipeline that intercepts logic and security defects before disk write |
206
+ | **Reusable Skills** | 184 | Deep knowledge packs (React 19, Next.js 15, Rust, Python, Vue, Animations, A11y) |
207
+ | **Slash Workflows** | 41 | One-command operations (`/generate`, `/debug`, `/audit`, `/deploy`, `/refactor`) |
208
+ | **Native Plugins** | 9+ | First-class plugins for Claude Code, Cursor, OpenCode, Devin, Kimi, Hermes, Pi, and Gemini CLI |
209
+ | **Compiled Rust Core** | 1 | Native binary for AOT Semantic Graph extraction, AST parsing, hashing, and deduping |
210
+ | **MCP Server** | 1 | Model Context Protocol integration with `query_semantic_graph` capabilities |
211
+ | **Supreme Court Precedents** | ∞ | Permanent repository memory that records AI mistakes so they are never repeated |
98
212
 
99
213
  <br>
100
214
  <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
101
215
 
102
- <!-- TABLE OF CONTENTS -->
103
- <details style="background: #111115; border: 1px solid #222225; border-radius: 8px; padding: 12px 18px; margin-bottom: 45px;">
104
- <summary style="font-weight: 600; color: #ffffff; cursor: pointer; user-select: none; font-size: 1.05em;">
105
- 📂 Table of Contents (Click to Expand)
106
- </summary>
107
- <div style="margin-top: 15px; padding-left: 10px;">
108
- <ul style="list-style-type: none; padding-left: 0; line-height: 1.8;">
109
- <li>👉 <a href="#-comparative-analysis" style="color: #a0a0a5; text-decoration: none;">Comparative Analysis: Tribunal Kit vs. Alternatives</a></li>
110
- <li>👉 <a href="#-state-of-the-art-performance-rust-core" style="color: #a0a0a5; text-decoration: none;">State-of-the-Art Performance (Rust Core)</a></li>
111
- <li>👉 <a href="#%EF%B8%8F-advanced-setup" style="color: #a0a0a5; text-decoration: none;">Advanced Setup</a></li>
112
- <li>👉 <a href="#%EF%B8%8F-the-tribunal-pipeline--mitigating-ai-code-hallucinations" style="color: #a0a0a5; text-decoration: none;">The Tribunal Pipeline — Mitigating AI Code Hallucinations</a></li>
113
- <li>👉 <a href="#-omniscience-cognitive-alignment-engine-ocae" style="color: #a0a0a5; text-decoration: none;">Omniscience Cognitive Alignment Engine (OCAE)</a></li>
114
- <li>👉 <a href="#-skillopt-autonomous-self-evolution-engine" style="color: #a0a0a5; text-decoration: none;">SkillOpt: Autonomous Self-Evolution Engine</a></li>
115
- <li>👉 <a href="#%EF%B8%8F-supreme-court-case-law--memory" style="color: #a0a0a5; text-decoration: none;">Supreme Court Case Law & Persistent Memory</a></li>
116
- <li>👉 <a href="#-the-marathon-harness--long-running-autonomy" style="color: #a0a0a5; text-decoration: none;">The Marathon Harness — Long-Running Autonomy</a></li>
117
- <li>👉 <a href="#-mcp-server-integration" style="color: #a0a0a5; text-decoration: none;">Model Context Protocol (MCP) Server Integration</a></li>
118
- <li>👉 <a href="#-cli-command-reference" style="color: #a0a0a5; text-decoration: none;">CLI Command Reference</a></li>
119
- <li>👉 <a href="#-contributing--security" style="color: #a0a0a5; text-decoration: none;">Contributing & Security Guidelines</a></li>
120
- </ul>
121
- </div>
122
- </details>
216
+ <!-- COMPARATIVE ANALYSIS -->
123
217
 
124
- ## 📈 Comparative Analysis
218
+ ## 📈 Comparative Analysis: Tribunal Kit vs. Alternatives
125
219
 
126
- AI engineering requires more than static template rules or raw linters. See how Tribunal Kit stacks up against alternatives:
220
+ AI engineering requires active verification, not passive prompt text:
127
221
 
128
222
  <div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
129
223
  <table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
@@ -131,42 +225,42 @@ AI engineering requires more than static template rules or raw linters. See how
131
225
  <tr style="border-bottom: 2px solid #22222f; background-color: #16161d;">
132
226
  <th style="padding: 14px 18px; color: #ffffff; font-weight: 600;">Dimension / Capability</th>
133
227
  <th style="padding: 14px 18px; color: #ccff00; font-weight: 600;">Tribunal Kit 🛡️</th>
134
- <th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Static `.cursorrules`</th>
228
+ <th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Static <code>.cursorrules</code></th>
135
229
  <th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">AST Linters (ESLint)</th>
136
- <th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Manual Prompting</th>
230
+ <th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Manual System Prompts</th>
137
231
  </tr>
138
232
  </thead>
139
233
  <tbody>
140
234
  <tr style="border-bottom: 1px solid #222228;">
141
- <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Hallucination Mitigation</td>
142
- <td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Active check gates (`tk guardrail`)</td>
143
- <td style="padding: 14px 18px; color: #c9c9d1;">None (static text only)</td>
144
- <td style="padding: 14px 18px; color: #c9c9d1;">None (doesn't check context logic)</td>
145
- <td style="padding: 14px 18px; color: #c9c9d1;">None (rely on model)</td>
235
+ <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Hallucination Interception</td>
236
+ <td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Active check gates (<code>tk guardrail</code>)</td>
237
+ <td style="padding: 14px 18px; color: #c9c9d1;">None (passive text only)</td>
238
+ <td style="padding: 14px 18px; color: #c9c9d1;">None (misses semantic intent)</td>
239
+ <td style="padding: 14px 18px; color: #c9c9d1;">None (models drift)</td>
146
240
  </tr>
147
241
  <tr style="border-bottom: 1px solid #222228;">
148
242
  <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Context Window Overhead</td>
149
243
  <td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Budget-gated recall & MCP tools</td>
150
244
  <td style="padding: 14px 18px; color: #c9c9d1;">Severe (bloats with entire files)</td>
151
245
  <td style="padding: 14px 18px; color: #c9c9d1;">N/A (runs post-edit)</td>
152
- <td style="padding: 14px 18px; color: #c9c9d1;">High (bloats system prompt)</td>
246
+ <td style="padding: 14px 18px; color: #c9c9d1;">High (burns context budget)</td>
153
247
  </tr>
154
248
  <tr style="border-bottom: 1px solid #222228;">
155
- <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Cognitive Alignment</td>
156
- <td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">OCAE Fabel-5 alignment</td>
157
- <td style="padding: 14px 18px; color: #c9c9d1;">None</td>
249
+ <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Cross-Session Memory</td>
250
+ <td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Supreme Court Case Law (<code>tk case</code>)</td>
251
+ <td style="padding: 14px 18px; color: #c9c9d1;">None (forgets every prompt)</td>
158
252
  <td style="padding: 14px 18px; color: #c9c9d1;">None</td>
159
253
  <td style="padding: 14px 18px; color: #c9c9d1;">None</td>
160
254
  </tr>
161
255
  <tr style="border-bottom: 1px solid #222228;">
162
256
  <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Self-Evolution</td>
163
- <td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Git diff log learning & SkillOpt</td>
257
+ <td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Git diff learning & SkillOpt</td>
164
258
  <td style="padding: 14px 18px; color: #c9c9d1;">Manual editing</td>
165
259
  <td style="padding: 14px 18px; color: #c9c9d1;">Manual config edits</td>
166
260
  <td style="padding: 14px 18px; color: #c9c9d1;">Manual prompt tuning</td>
167
261
  </tr>
168
262
  <tr style="border-bottom: 1px solid #222228;">
169
- <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">IDE & Terminal Support</td>
263
+ <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">IDE & CLI Universal Support</td>
170
264
  <td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Cursor, Windsurf, VSCode, Claude, Aider</td>
171
265
  <td style="padding: 14px 18px; color: #c9c9d1;">Cursor/Windsurf only</td>
172
266
  <td style="padding: 14px 18px; color: #c9c9d1;">Independent</td>
@@ -174,8 +268,8 @@ AI engineering requires more than static template rules or raw linters. See how
174
268
  </tr>
175
269
  <tr style="border-bottom: 1px solid #222228;">
176
270
  <td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Execution Performance</td>
177
- <td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Rust Core (tribunal-core)</td>
178
- <td style="padding: 14px 18px; color: #c9c9d1;">N/A</td>
271
+ <td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Compiled Rust Core (<code>tribunal-core</code>)</td>
272
+ <td style="padding: 14px 18px; color: #c9c9d1;">N/A (static)</td>
179
273
  <td style="padding: 14px 18px; color: #c9c9d1;">Slow Node processes</td>
180
274
  <td style="padding: 14px 18px; color: #c9c9d1;">Slow API calls</td>
181
275
  </tr>
@@ -186,50 +280,52 @@ AI engineering requires more than static template rules or raw linters. See how
186
280
  <br>
187
281
  <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
188
282
 
189
- <!-- SECTION 3 -->
190
-
191
- ## ⚡ State-of-the-Art Performance (Rust Core)
283
+ <!-- SECTION: 4 SUPERPOWERS -->
192
284
 
193
- Tribunal Kit v6 splits heavy computational tasks between a native Rust core and a flexible JS orchestrator:
285
+ ## 🏛️ The 4 Core Superpowers
194
286
 
195
- - **Compiled Rust Core (`tribunal-core`)**: Powers all deterministic operations, such as path-traversal sandboxing, Levenshtein distance calculations, text merges, and memory database reads to eliminate Node startup latency.
196
- - **Zero-Latency Hash Manifests**: File synchronization and updates use SHA-256 incremental hash diffs, copying only modified assets and reducing CLI setup time by **95%**.
197
- - **Semaphore-Bounded Parallelism**: Fully concurrent operations with thread limits (64 in Rust, 32 in Node.js) to avoid resource starvation in complex monorepos.
287
+ ### 1. ⚖️ Supreme Court Case Law & Memory (`tk case`)
288
+ **Your AI will never make the same mistake twice.** Whenever your coding assistant introduces an antipattern or bug, record it as a legal precedent:
198
289
 
199
- <br>
200
- <hr style="border: 1px solid #222; margin: 40px 0;">
201
- <br>
290
+ ```bash
291
+ # Add an AI mistake precedent
292
+ tk case add
202
293
 
203
- <!-- SECTION 4 -->
294
+ # Search case law database
295
+ tk case search "postgres deadlock"
296
+ ```
204
297
 
205
- ## 🛠️ Advanced Setup
298
+ 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.
206
299
 
207
- Already ran `npx tribunal-kit init`? Here's how to go further:
300
+ ### 2. 🛡️ Phantom Package & Schema Guardrails (`tk guardrail`)
301
+ AI models frequently hallucinate libraries that sound plausible but do not exist, exposing developers to **AI Package Hallucination Exploits (Slopsquatting)**:
208
302
 
209
303
  ```bash
210
- # Install Git pre-push governance hook
211
- npx tribunal-kit hook
212
-
213
- # Scan your workspace for AI hallucinations (phantom packages, unverified APIs)
304
+ # Scan workspace changes for unverified dependencies and // VERIFY tags
214
305
  npx tribunal-kit guardrail
306
+ ```
215
307
 
216
- # Record an AI coding mistake as permanent precedent (case law)
217
- npx tribunal-kit case add
308
+ ### 3. 🧬 SkillOpt: Autonomous Self-Evolution Engine
309
+ Stop manually re-prompting. SkillOpt mutates, token-checks, and benchmarks instruction skills directly against real test harnesses:
218
310
 
219
- # Optimize a skill file using the SkillOpt evolution engine
220
- tk optimize-skill --target ./skills/auth-security.md "npm run test:auth" --epochs 5
311
+ ```bash
312
+ # Optimize a skill against a test harness
313
+ tk optimize-skill --target ./skills/auth-security.md "npm run test:auth" --epochs 5 --candidates 3
221
314
  ```
222
315
 
223
- > [!TIP]
224
- > The `tk hook` command installs a Git `pre-push` hook that auto-runs `tk guardrail` before every push — catching hallucinated imports and unverified APIs before they reach your remote.
316
+ - **Proposal Generation**: The LLM suggests micro-patches for instruction files.
317
+ - **Rust Deduplication**: Normalized Levenshtein similarity (default `0.85`) filters redundant proposals.
318
+ - **Genetic Promotion**: Passing harness tests promote winning candidates as the new baseline.
225
319
 
226
- > [!NOTE]
227
- > **MCP Server**: To connect Tribunal Kit to Cursor, VSCode, or Claude Desktop as an MCP server, see the [MCP Server Integration](#-mcp-server-integration) section below.
320
+ ### 4. ⚡ Compiled Rust Core (`tribunal-core`)
321
+ Heavy computation is delegated to a native Rust binary:
322
+ - **Zero-Latency Hash Manifests**: File synchronization uses SHA-256 incremental hash diffs, speeding up CLI sync by **95%**.
323
+ - **Semaphore-Bounded Parallelism**: Fully concurrent thread pools (64 in Rust, 32 in Node.js) eliminate resource starvation in massive monorepos.
228
324
 
229
325
  <br>
230
326
  <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
231
327
 
232
- <!-- SECTION 5 -->
328
+ <!-- PIPELINE MERMAID -->
233
329
 
234
330
  ## ⚖️ The Tribunal Pipeline — Mitigating AI Code Hallucinations
235
331
 
@@ -258,152 +354,76 @@ graph TD
258
354
  ```
259
355
 
260
356
  ### Reviewer Swarms Include:
261
-
262
- - **`logic-reviewer`** · Semantic soundness & behavior checks.
263
- - **`security-auditor`** · Payload boundaries, SQL injection & OWASP scanning.
357
+ - **`logic-reviewer`** · Semantic soundness & impossible logic checks.
358
+ - **`security-auditor`** · Payload boundaries, injection & OWASP scanning.
264
359
  - **`resilience-reviewer`** · Async error boundaries and retry logic.
265
- - **`ui-ux-auditor`** · Structural accessibility (a11y) & premium animations.
266
- - **`schema-reviewer`** · Type narrowing and database integrity checks.
267
-
268
- <br>
269
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
270
-
271
- <!-- SECTION 6 -->
272
-
273
- ## 🧠 Omniscience Cognitive Alignment Engine (OCAE)
274
-
275
- The **Omniscience Cognitive Alignment Engine (OCAE)** aligns any LLM with the reasoning loops of a senior staff engineer:
276
-
277
- - **Step 0 Epistemic Loop**: Always-on cognition loop enforcing confidence checking (L1–L5), knowledge freshness audits, and precision budgeting before any script execution.
278
- - **Dynamic API Trap Mitigation**: Automatically guards code blocks against framework-specific compiler breakages (e.g., React 19 hook constraints, Drizzle ORM filtration issues, and Next.js 15 route headers).
279
- - **Prose Alignment Formatting**: Collapses ugly lists and bullet points into highly readable, scannable documentation prose, stripping out typical AI conversational introduction/conclusion slop.
360
+ - **`ui-ux-auditor`** · Structural accessibility (WCAG 2.2 AA) & premium animations.
361
+ - **`schema-reviewer`** · Type narrowing, Prisma/Drizzle integrity checks.
280
362
 
281
363
  <br>
282
364
  <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
283
365
 
284
- <!-- SECTION 7 -->
366
+ <!-- SOVEREIGN CONTRACTS -->
285
367
 
286
- ## 🧬 SkillOpt: Autonomous Self-Evolution Engine
368
+ ## 📜 Sovereign Covenant Protocol — Behavioral Contract Testing (`tk contract`)
287
369
 
288
- Stop writing and tuning system prompts by hand. The **SkillOpt Self-Evolution Engine** automatically refines your prompt rules directly from test harness feedback:
370
+ Declare repo invariants in declarative YAML rules stored in `.tribunal/contracts/`:
289
371
 
290
- ```bash
291
- # Optimize a custom skill against a test harness
292
- tk optimize-skill --target ./skills/auth-security.md "npm run test:auth" --epochs 5 --candidates 3
372
+ ```yaml
373
+ name: 'No console.log in production code'
374
+ scope: 'src/**/*.ts, src/**/*.tsx'
375
+ severity: block
376
+ must_not:
377
+ - pattern: 'console.log'
378
+ message: 'Use structured logger instead of console.log'
293
379
  ```
294
380
 
295
- 1. **Proposal Generation**: The LLM suggests micro-patches to improve the target instruction file.
296
- 2. **Rust Deduplication**: Proposals are compiled, token-checked, and filtered using normalized Levenshtein similarity (default `0.85`) to exclude redundant changes.
297
- 3. **Harness Evaluation**: The test command is executed. Successfully passing tests raise the candidate score.
298
- 4. **Genetic Promotion**: The highest-scoring candidate is promoted as the new baseline for the next epoch.
299
-
300
- <br>
301
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
302
-
303
- <!-- SECTION 8 -->
304
-
305
- ## 🏛️ Supreme Court Case Law & Memory
306
-
307
- Tribunal Kit builds a permanent repository memory layer that spans across conversation sessions:
308
-
309
- ### 1. Supreme Court Case Law (`tk case`)
310
-
311
- Record AI coding errors as permanent local precedents. The `precedence-reviewer` actively references this local database to block the AI from repeating past code defects or pattern bugs.
312
-
313
- - Add precedence: `tk case add`
314
- - Search case law: `tk case search "postgres deadlock"`
315
-
316
- ### 2. 4-Type Persistent Memory (`tk memory`)
317
-
318
- Manages your project context utilizing a strict 4-category cognitive taxonomy:
319
-
320
- - **Semantic Memory** — Project context (e.g., "Uses Drizzle with SQLite").
321
- - **Procedural Memory** — Action guidelines (e.g., "Compile Rust binary before publishing").
322
- - **Episodic Memory** — Development history and events.
323
- - **Working Memory** — Current task scope.
324
-
325
- Budget-gated recall ensures that agents only pull relevant memory segments, avoiding token window bloat and context dilution.
326
-
327
- <br>
328
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
329
-
330
- <!-- SECTION 9 -->
331
-
332
- ## 🏃 The Marathon Harness — Long-Running Autonomy
381
+ ```bash
382
+ # Scaffold starter contracts
383
+ npx tribunal-kit contract init
333
384
 
334
- The **Marathon Harness** governs long-running multi-session tasks, keeping agents on track without looping or stalling:
385
+ # Verify contract invariants against modified files
386
+ npx tribunal-kit contract verify
335
387
 
336
- - **Feature DAG Graphing**: Declare tasks with dependency bounds (e.g., `--deps=1,2`). If a core schema migration fails, dependent API route tasks are dynamically deadlocked and bypassed until fixed.
337
- - **ANSI TUI Swarm Dashboard**: Intercepts verbose, noisy terminal output when running parallel swarms (`tk /swarm`), projecting agent research, coding, and review steps in real-time.
338
- - **Failure Context Recalls**: Tracks failure histories, error stacks, and retry budgets. If a task is picked up by a new agent session, the agent receives the exact history of failed approaches to course-correct instantly.
388
+ # Replay failure trace snapshot
389
+ npx tribunal-kit contract replay <trace_id>
390
+ ```
339
391
 
340
392
  <br>
341
393
  <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
342
394
 
343
- <!-- SECTION 10 -->
395
+ <!-- MCP SERVER -->
344
396
 
345
397
  ## 🔌 Model Context Protocol (MCP) Server Integration
346
398
 
347
- Tribunal Kit hosts an out-of-the-box **Model Context Protocol (MCP)** server via stdio. Connect it to Cursor, VSCode, Windsurf, or Claude Desktop to allow coding agents to query tools dynamically.
399
+ 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.
348
400
 
349
- ### Config Example (`mcp_config.json` / Claude Desktop config)
401
+ ### Config Snippet (`mcp_config.json` / Claude Desktop)
350
402
 
351
403
  ```json
352
404
  {
353
405
  "mcpServers": {
354
406
  "tribunal-kit": {
355
- "command": "node",
356
- "args": ["C:/Users/sunrise/Desktop/pfojects/cli project/tribunal-kit/bin/wrapper.js"],
357
- "env": {
358
- "PROJECT_ROOT": "C:/Users/sunrise/Desktop/pfojects/cli project/tribunal-kit"
359
- }
407
+ "command": "npx",
408
+ "args": ["-y", "tribunal-kit", "mcp"]
360
409
  }
361
410
  }
362
411
  }
363
412
  ```
364
413
 
365
- ### Exposed MCP Tools
366
-
367
- - `verify_contracts` — Proactively verifies proposed code against team contract rules before writing to disk.
368
- - `get_tribunal_skill` / `list_tribunal_agents` — Dynamically injects skills/agent guidelines without overloading system prompts.
414
+ ### Exposed MCP Tools:
415
+ - `query_semantic_graph` — Queries active project AST and dependency edges.
416
+ - `verify_contracts` — Verifies proposed code against team contract rules before writing to disk.
417
+ - `get_tribunal_skill` — Dynamically injects skills without overloading system prompts.
369
418
 
370
419
  <br>
371
420
  <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
372
421
 
373
- <!-- SECTION 13 -->
422
+ <!-- COMMAND REFERENCE -->
374
423
 
375
- ## 📜 Sovereign Covenant Protocol — AI Agent Behavioral Contract Testing (`tk contract`)
424
+ ## 💻 Complete CLI Command Reference
376
425
 
377
- Design by Contract applied to AI coding agents. Declare invariants in declarative YAML rules stored in `.tribunal/contracts/`:
378
-
379
- ```yaml
380
- name: 'No console.log in production code'
381
- scope: 'src/**/*.ts, src/**/*.tsx'
382
- severity: block
383
- must_not:
384
- - pattern: 'console.log'
385
- message: 'Use structured logger instead of console.log'
386
- ```
387
-
388
- ```bash
389
- # Scaffold starter contracts
390
- npx tribunal-kit contract init
391
-
392
- # Run contract checks against target or modified files
393
- npx tribunal-kit contract verify
394
-
395
- # Replay a failure context trace snapshot
396
- npx tribunal-kit contract replay <trace_id>
397
- ```
398
-
399
- <br>
400
- <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
401
-
402
- <!-- SECTION 11 -->
403
-
404
- ## 💻 CLI Command Reference
405
-
406
- Below is the structured list of all core commands available via `npx tribunal-kit <command>` (or the alias `tk`):
426
+ Below is the structured list of all core commands available via `npx tribunal-kit <command>` (or `tk <command>`):
407
427
 
408
428
  <div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
409
429
  <table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
@@ -435,6 +455,16 @@ Below is the structured list of all core commands available via `npx tribunal-ki
435
455
  <td style="padding: 12px 16px; color: #c9c9d1;"><code>[--file &lt;path&gt;]</code></td>
436
456
  <td style="padding: 12px 16px; color: #a0a0a5;">Scans workspace changes for phantom packages and <code>// VERIFY</code> tags.</td>
437
457
  </tr>
458
+ <tr style="border-bottom: 1px solid #222225;">
459
+ <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>
460
+ <td style="padding: 12px 16px; color: #c9c9d1;"><code>[claude|aider|--global]</code></td>
461
+ <td style="padding: 12px 16px; color: #a0a0a5;">Universal CLI agent adapter installer for Claude Code & Aider.</td>
462
+ </tr>
463
+ <tr style="border-bottom: 1px solid #222225;">
464
+ <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">hook</kbd></td>
465
+ <td style="padding: 12px 16px; color: #c9c9d1;">—</td>
466
+ <td style="padding: 12px 16px; color: #a0a0a5;">Installs an automated Git pre-push governance check hook.</td>
467
+ </tr>
438
468
  <tr style="border-bottom: 1px solid #222225;">
439
469
  <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>
440
470
  <td style="padding: 12px 16px; color: #c9c9d1;"><code>--target &lt;file&gt; "&lt;cmd&gt;"</code></td>
@@ -460,11 +490,6 @@ Below is the structured list of all core commands available via `npx tribunal-ki
460
490
  <td style="padding: 12px 16px; color: #c9c9d1;"><code>store | recall | gc</code></td>
461
491
  <td style="padding: 12px 16px; color: #a0a0a5;">Manages 4-type persistent memory with budget-gated recall.</td>
462
492
  </tr>
463
- <tr style="border-bottom: 1px solid #222225;">
464
- <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">graph</kbd></td>
465
- <td style="padding: 12px 16px; color: #c9c9d1;">—</td>
466
- <td style="padding: 12px 16px; color: #a0a0a5;">Maps codebase dependencies and outputs clean context snapshots.</td>
467
- </tr>
468
493
  <tr style="border-bottom: 1px solid #222225;">
469
494
  <td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">marathon</kbd></td>
470
495
  <td style="padding: 12px 16px; color: #c9c9d1;"><code>init | status | next</code></td>
@@ -482,19 +507,29 @@ Below is the structured list of all core commands available via `npx tribunal-ki
482
507
  <br>
483
508
  <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
484
509
 
485
- <!-- SECTION 12 -->
510
+ <!-- VIRAL BADGE SECTION -->
486
511
 
487
- ## 🤝 Contributing & Security
512
+ ## 🌐 Spread the Shield (Add to Your Repository)
488
513
 
489
- We maintain high code standards and absolute runtime safety:
514
+ Help protect the open-source ecosystem from AI hallucinations. Embed this badge in your repository's `README.md`:
490
515
 
491
- - **Security Policy**: Tribunal Kit operates with **zero runtime network dependencies**, zero dangerous `eval` executes, and sandboxed file paths to protect your codebase. Read more in [SECURITY.md](SECURITY.md).
492
- - **Contributing Guide**: We welcome community-authored agents, skills, and workflows! Please read [CONTRIBUTING.md](CONTRIBUTING.md) to set up your local development environment and run our verification tests.
516
+ ```markdown
517
+ [![Protected by Tribunal Kit](https://img.shields.io/badge/Protected%20by-Tribunal%20Kit-ccff00?style=for-the-badge&logo=shield&logoColor=black)](https://github.com/Harmitx7/tribunal-kit)
518
+ ```
519
+
520
+ **Renders as:**
521
+ [![Protected by Tribunal Kit](https://img.shields.io/badge/Protected%20by-Tribunal%20Kit-ccff00?style=for-the-badge&logo=shield&logoColor=black)](https://github.com/Harmitx7/tribunal-kit)
493
522
 
494
523
  <br>
495
- <br>
524
+ <hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
496
525
 
497
526
  <!-- FOOTER -->
527
+
528
+ ## 🤝 Contributing & Security
529
+
530
+ - **Security Policy**: Zero network runtime dependencies, zero dynamic `eval`, and sandboxed file paths. Review [SECURITY.md](SECURITY.md).
531
+ - **Contributing Guide**: We welcome community-authored agents, skills, and Rust core optimizations. See [CONTRIBUTING.md](CONTRIBUTING.md).
532
+
498
533
  <div align="center" style="background: #111115; border: 1px solid #22222a; border-radius: 8px; padding: 25px; margin-top: 50px;">
499
534
  <img src="https://img.shields.io/badge/Status-Active_&_Secured-ccff00?style=for-the-badge&logoColor=1a1a1a" alt="Status" />
500
535
  <br><br>