tribunal-kit 8.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.
- package/.agent/ARCHITECTURE.md +2 -2
- package/.agent/config/plugin.json +4 -4
- package/.agent/config/system-prompt.md +54 -1
- package/.agent/routing_index.json +2 -2
- package/.agent/skills/12-principles-of-animation/SKILL.md +19 -16
- package/.agent/skills/60fps-animation/SKILL.md +47 -21
- package/.agent/skills/accessible-animation/SKILL.md +19 -16
- package/.agent/skills/adapt/SKILL.md +19 -16
- package/.agent/skills/advanced-rag-pipelines/SKILL.md +41 -40
- package/.agent/skills/agent-organizer/SKILL.md +9 -59
- package/.agent/skills/agentic-patterns/SKILL.md +9 -57
- package/.agent/skills/agentic-workflows-2026/SKILL.md +45 -8
- package/.agent/skills/ai-app-hardening/SKILL.md +31 -5
- package/.agent/skills/ai-prompt-injection-defense/SKILL.md +28 -66
- package/.agent/skills/animation-on-scroll/SKILL.md +19 -16
- package/.agent/skills/animation-systems/SKILL.md +19 -15
- package/.agent/skills/antfu-conventions/SKILL.md +19 -18
- package/.agent/skills/api-patterns/SKILL.md +8 -58
- package/.agent/skills/api-security-auditor/SKILL.md +8 -58
- package/.agent/skills/app-builder/SKILL.md +9 -59
- package/.agent/skills/appflow-wireframe/SKILL.md +13 -57
- package/.agent/skills/apple-design/SKILL.md +22 -14
- package/.agent/skills/architecture/SKILL.md +9 -59
- package/.agent/skills/audit-and-fix/SKILL.md +19 -16
- package/.agent/skills/authentication-best-practices/SKILL.md +8 -58
- package/.agent/skills/backend-security-expert/SKILL.md +32 -65
- package/.agent/skills/baseline-ui/SKILL.md +22 -14
- package/.agent/skills/bash-linux/SKILL.md +9 -59
- package/.agent/skills/behavioral-modes/SKILL.md +9 -57
- package/.agent/skills/better-colors/SKILL.md +22 -14
- package/.agent/skills/better-typography/SKILL.md +26 -14
- package/.agent/skills/better-ui/SKILL.md +54 -19
- package/.agent/skills/bolder/SKILL.md +19 -16
- package/.agent/skills/brainstorming/SKILL.md +9 -57
- package/.agent/skills/browser-native-ai/SKILL.md +9 -28
- package/.agent/skills/build-primitive/SKILL.md +19 -16
- package/.agent/skills/building-native-ui/SKILL.md +9 -59
- package/.agent/skills/cicd-pro/SKILL.md +21 -28
- package/.agent/skills/clarify/SKILL.md +19 -16
- package/.agent/skills/clean-code/SKILL.md +18 -61
- package/.agent/skills/cloud-architect/SKILL.md +21 -28
- package/.agent/skills/cobejs/SKILL.md +19 -15
- package/.agent/skills/code-review-checklist/SKILL.md +8 -58
- package/.agent/skills/codebase-design/SKILL.md +33 -22
- package/.agent/skills/colorize/SKILL.md +19 -16
- package/.agent/skills/compact-landing/SKILL.md +19 -16
- package/.agent/skills/company-logos/SKILL.md +19 -16
- package/.agent/skills/config-validator/SKILL.md +9 -59
- package/.agent/skills/containerization-pro/SKILL.md +21 -28
- package/.agent/skills/context-engineering-pro/SKILL.md +31 -5
- package/.agent/skills/create-design-md/SKILL.md +22 -14
- package/.agent/skills/critique/SKILL.md +20 -11
- package/.agent/skills/csharp-developer/SKILL.md +8 -58
- package/.agent/skills/data-validation-schemas/SKILL.md +9 -59
- package/.agent/skills/database-design/SKILL.md +27 -67
- package/.agent/skills/delight/SKILL.md +19 -16
- package/.agent/skills/deployment-procedures/SKILL.md +9 -59
- package/.agent/skills/design-lab/SKILL.md +19 -16
- package/.agent/skills/devops-engineer/SKILL.md +8 -58
- package/.agent/skills/devops-incident-responder/SKILL.md +9 -59
- package/.agent/skills/diagnosing-bugs/SKILL.md +20 -21
- package/.agent/skills/distill/SKILL.md +19 -16
- package/.agent/skills/documentation-templates/SKILL.md +9 -59
- package/.agent/skills/domain-modeling/SKILL.md +19 -18
- package/.agent/skills/duckdb-analytical-sql/SKILL.md +31 -5
- package/.agent/skills/edge-ai-mobile/SKILL.md +31 -5
- package/.agent/skills/edge-computing/SKILL.md +9 -59
- package/.agent/skills/emil-design-eng/SKILL.md +21 -24
- package/.agent/skills/error-resilience/SKILL.md +31 -66
- package/.agent/skills/expo-router-v4/SKILL.md +31 -5
- package/.agent/skills/extract-design-system/SKILL.md +9 -59
- package/.agent/skills/fabel-protocol/SKILL.md +26 -8
- package/.agent/skills/fixing-accessibility/SKILL.md +22 -14
- package/.agent/skills/fixing-metadata/SKILL.md +19 -16
- package/.agent/skills/fixing-motion-performance/SKILL.md +22 -14
- package/.agent/skills/framer-motion-expert/SKILL.md +9 -57
- package/.agent/skills/frontend-design/SKILL.md +27 -7
- package/.agent/skills/frontend-security-expert/SKILL.md +8 -58
- package/.agent/skills/game-design-expert/SKILL.md +9 -59
- package/.agent/skills/game-engineering-expert/SKILL.md +9 -59
- package/.agent/skills/generative-ui-expert/SKILL.md +9 -28
- package/.agent/skills/geo-fundamentals/SKILL.md +9 -59
- package/.agent/skills/git-pro/SKILL.md +19 -30
- package/.agent/skills/github-operations/SKILL.md +8 -58
- package/.agent/skills/gpt-taste/SKILL.md +19 -16
- package/.agent/skills/gsap-core/SKILL.md +8 -78
- package/.agent/skills/gsap-frameworks/SKILL.md +8 -78
- package/.agent/skills/gsap-performance/SKILL.md +9 -77
- package/.agent/skills/gsap-plugins/SKILL.md +9 -77
- package/.agent/skills/gsap-react/SKILL.md +9 -21
- package/.agent/skills/gsap-scrolltrigger/SKILL.md +8 -78
- package/.agent/skills/gsap-timeline/SKILL.md +9 -77
- package/.agent/skills/gsap-utils/SKILL.md +9 -77
- package/.agent/skills/harden/SKILL.md +19 -16
- package/.agent/skills/harness-protocol/SKILL.md +9 -21
- package/.agent/skills/i18n-localization/SKILL.md +9 -59
- package/.agent/skills/impeccable/SKILL.md +19 -18
- package/.agent/skills/improve-codebase-architecture/SKILL.md +19 -17
- package/.agent/skills/improve-ui/SKILL.md +22 -14
- package/.agent/skills/intelligent-routing/SKILL.md +9 -23
- package/.agent/skills/knowledge-graph/SKILL.md +9 -21
- package/.agent/skills/landing-page/SKILL.md +19 -16
- package/.agent/skills/lint-and-validate/SKILL.md +9 -59
- package/.agent/skills/llm-engineering/SKILL.md +8 -58
- package/.agent/skills/local-first/SKILL.md +9 -59
- package/.agent/skills/local-first-architecture/SKILL.md +37 -20
- package/.agent/skills/lottie-animation/SKILL.md +19 -15
- package/.agent/skills/marquee-loop/SKILL.md +19 -16
- package/.agent/skills/masked-reveal/SKILL.md +19 -15
- package/.agent/skills/mcp-builder/SKILL.md +9 -59
- package/.agent/skills/micro-interaction/SKILL.md +19 -16
- package/.agent/skills/mobile-design/SKILL.md +8 -58
- package/.agent/skills/monorepo-management/SKILL.md +9 -59
- package/.agent/skills/morphing-icons/SKILL.md +19 -15
- package/.agent/skills/motion-engineering/SKILL.md +22 -15
- package/.agent/skills/nextjs-react-expert/SKILL.md +35 -67
- package/.agent/skills/nodejs-best-practices/SKILL.md +34 -61
- package/.agent/skills/observability/SKILL.md +8 -58
- package/.agent/skills/opentelemetry-observability/SKILL.md +31 -5
- package/.agent/skills/page-transition-animation/SKILL.md +19 -16
- package/.agent/skills/parallel-agents/SKILL.md +9 -59
- package/.agent/skills/performance-profiling/SKILL.md +8 -58
- package/.agent/skills/plan-writing/SKILL.md +36 -69
- package/.agent/skills/platform-engineer/SKILL.md +9 -59
- package/.agent/skills/platform-engineering-opentofu/SKILL.md +31 -5
- package/.agent/skills/playwright-ai-e2e/SKILL.md +31 -5
- package/.agent/skills/playwright-best-practices/SKILL.md +9 -59
- package/.agent/skills/polish/SKILL.md +19 -16
- package/.agent/skills/powershell-windows/SKILL.md +8 -58
- package/.agent/skills/pricing-page/SKILL.md +19 -16
- package/.agent/skills/product-aware-heuristics/SKILL.md +27 -8
- package/.agent/skills/progressive-blur/SKILL.md +19 -16
- package/.agent/skills/project-idioms/SKILL.md +9 -59
- package/.agent/skills/property-based-testing/SKILL.md +31 -5
- package/.agent/skills/python-patterns/SKILL.md +9 -59
- package/.agent/skills/python-pro/SKILL.md +35 -67
- package/.agent/skills/quieter/SKILL.md +19 -16
- package/.agent/skills/react-doctor/SKILL.md +19 -16
- package/.agent/skills/react-specialist/SKILL.md +26 -65
- package/.agent/skills/readme-builder/SKILL.md +9 -59
- package/.agent/skills/realtime-patterns/SKILL.md +8 -58
- package/.agent/skills/red-team-tactics/SKILL.md +9 -59
- package/.agent/skills/redesign-skill/SKILL.md +19 -16
- package/.agent/skills/review-animations/SKILL.md +21 -25
- package/.agent/skills/rust-pro/SKILL.md +30 -61
- package/.agent/skills/seo-fundamentals/SKILL.md +9 -59
- package/.agent/skills/server-management/SKILL.md +9 -59
- package/.agent/skills/shadcn-ui-expert/SKILL.md +9 -59
- package/.agent/skills/shape/SKILL.md +19 -16
- package/.agent/skills/skill-creator/SKILL.md +36 -86
- package/.agent/skills/soft-skill/SKILL.md +19 -16
- package/.agent/skills/sounds-on-the-web/SKILL.md +19 -16
- package/.agent/skills/sql-pro/SKILL.md +47 -62
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +9 -59
- package/.agent/skills/svg-animation/SKILL.md +19 -15
- package/.agent/skills/swiftui-expert/SKILL.md +9 -59
- package/.agent/skills/swiss-design/SKILL.md +19 -16
- package/.agent/skills/system-design-pro/SKILL.md +21 -26
- package/.agent/skills/systematic-debugging/SKILL.md +19 -60
- package/.agent/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/.agent/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/.agent/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/.agent/skills/tailwind-patterns/SKILL.md +8 -58
- package/.agent/skills/taste-skill/SKILL.md +19 -16
- package/.agent/skills/tdd-workflow/SKILL.md +65 -25
- package/.agent/skills/test-result-analyzer/SKILL.md +9 -59
- package/.agent/skills/testing-patterns/SKILL.md +8 -58
- package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +19 -18
- package/.agent/skills/thinking-protocol/SKILL.md +33 -2
- package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +19 -15
- package/.agent/skills/transitions-dev/SKILL.md +19 -15
- package/.agent/skills/trend-researcher/SKILL.md +9 -59
- package/.agent/skills/typescript-advanced/SKILL.md +21 -64
- package/.agent/skills/typeset/SKILL.md +19 -16
- package/.agent/skills/ui-reasoning-engine/SKILL.md +27 -8
- package/.agent/skills/ui-skill-packs/SKILL.md +26 -16
- package/.agent/skills/ui-skills-root/SKILL.md +22 -14
- package/.agent/skills/ui-ux-pro-max/SKILL.md +38 -12
- package/.agent/skills/ui-ux-researcher/SKILL.md +9 -59
- package/.agent/skills/vector-search-pgvector/SKILL.md +31 -5
- package/.agent/skills/verification-before-completion/SKILL.md +125 -0
- package/.agent/skills/vue-expert/SKILL.md +9 -57
- package/.agent/skills/vulnerability-scanner/SKILL.md +8 -58
- package/.agent/skills/web-accessibility-auditor/SKILL.md +9 -59
- package/.agent/skills/web-design-guidelines/SKILL.md +27 -7
- package/.agent/skills/web-quality-audit/SKILL.md +19 -16
- package/.agent/skills/webapp-testing/SKILL.md +9 -59
- package/.agent/skills/webgpu-performance/SKILL.md +9 -28
- package/.agent/skills/whimsy-injector/SKILL.md +9 -57
- package/.agent/skills/workflow-optimizer/SKILL.md +9 -57
- package/.agent/skills/zero-trust-passkeys/SKILL.md +31 -5
- package/.agent/templates/DESIGN.md +680 -160
- package/.agent/templates/sdd/implementer-prompt.md +53 -0
- package/.agent/templates/sdd/re-review-prompt.md +28 -0
- package/.agent/templates/sdd/task-reviewer-prompt.md +59 -0
- package/.agent/workflows/acf.md +4 -0
- package/.agent/workflows/api-tester.md +5 -0
- package/.agent/workflows/audit.md +5 -0
- package/.agent/workflows/brainstorm.md +17 -1
- package/.agent/workflows/changelog.md +5 -0
- package/.agent/workflows/contract.md +19 -0
- package/.agent/workflows/create.md +6 -1
- package/.agent/workflows/debug.md +5 -0
- package/.agent/workflows/deploy.md +6 -1
- package/.agent/workflows/enhance.md +6 -1
- package/.agent/workflows/fix-ci.md +5 -0
- package/.agent/workflows/fix.md +5 -0
- package/.agent/workflows/generate.md +5 -0
- package/.agent/workflows/marathon.md +6 -1
- package/.agent/workflows/migrate.md +5 -0
- package/.agent/workflows/minimal.md +4 -0
- package/.agent/workflows/orchestrate.md +6 -1
- package/.agent/workflows/performance-benchmarker.md +6 -1
- package/.agent/workflows/pipeline.md +5 -0
- package/.agent/workflows/plan.md +6 -1
- package/.agent/workflows/preview.md +6 -1
- package/.agent/workflows/refactor.md +6 -0
- package/.agent/workflows/review-ai.md +5 -0
- package/.agent/workflows/review.md +5 -0
- package/.agent/workflows/sdd.md +122 -0
- package/.agent/workflows/session.md +5 -0
- package/.agent/workflows/status.md +4 -0
- package/.agent/workflows/super-prompt.md +4 -0
- package/.agent/workflows/swarm.md +6 -1
- package/.agent/workflows/test.md +6 -1
- package/.agent/workflows/tribunal-backend.md +5 -0
- package/.agent/workflows/tribunal-cicd.md +5 -0
- package/.agent/workflows/tribunal-database.md +5 -0
- package/.agent/workflows/tribunal-full.md +8 -0
- package/.agent/workflows/tribunal-mobile.md +5 -0
- package/.agent/workflows/tribunal-performance.md +5 -0
- package/.agent/workflows/tribunal-speed.md +5 -0
- package/.agent/workflows/tribunal-ui.md +7 -0
- package/.agents/plugins/marketplace.json +20 -0
- package/.claude-plugin/marketplace.json +17 -0
- package/.claude-plugin/plugin.json +26 -0
- package/.codex-plugin/plugin.json +45 -0
- package/.cursor-plugin/plugin.json +26 -0
- package/.devin-plugin/plugin.json +14 -0
- package/.hermes-plugin/__init__.py +102 -0
- package/.hermes-plugin/plugin.yaml +6 -0
- package/.kimi-plugin/plugin.json +38 -0
- package/.opencode/INSTALL.md +41 -0
- package/.opencode/plugins/tribunal.js +101 -0
- package/.pi/extensions/tribunal.ts +133 -0
- package/CONTRIBUTING.md +1 -1
- package/README.md +246 -221
- package/bin/wrapper.js +1 -0
- package/dist/cli.js +355 -355
- package/dist/esm/index.mjs +142 -142
- package/dist/index.d.ts +349 -343
- package/gemini-extension.json +6 -0
- package/hooks/hooks-cursor.json +16 -0
- package/hooks/hooks.json +16 -0
- package/hooks/session-start.js +77 -0
- package/package.json +165 -146
- package/scripts/audit_skill_sdo.js +87 -0
- package/scripts/modernize_skills.js +254 -0
package/README.md
CHANGED
|
@@ -3,28 +3,28 @@
|
|
|
3
3
|
<br>
|
|
4
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.
|
|
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:
|
|
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:
|
|
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-
|
|
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,87 +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.
|
|
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
|
|
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:
|
|
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.
|
|
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
|
|
70
|
-
Tribunal Kit wraps your coding agents in
|
|
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>< 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
|
-
<!--
|
|
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:
|
|
75
110
|
|
|
76
111
|
```bash
|
|
77
|
-
npx tribunal-kit init #
|
|
78
|
-
npx tribunal-kit sync #
|
|
79
|
-
npx tribunal-kit status #
|
|
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
|
|
80
115
|
```
|
|
81
116
|
|
|
82
|
-
### 🔌 CLI Agent
|
|
117
|
+
### 🔌 Universal CLI Agent Adapter (Claude Code, Aider, Cline)
|
|
83
118
|
|
|
84
|
-
|
|
119
|
+
Tribunal Kit includes native plugins and adapter hooks for terminal agents:
|
|
85
120
|
|
|
86
121
|
```bash
|
|
87
|
-
npx tribunal-kit tk-adapt # Auto-detect and install for all
|
|
88
|
-
npx tribunal-kit tk-adapt claude # Install
|
|
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
|
|
89
125
|
npx tribunal-kit tk-adapt --global # Install globally to ~/.tribunal-kit/
|
|
90
126
|
```
|
|
91
127
|
|
|
128
|
+
### 🛡️ Pre-Push Supply Chain Protection
|
|
129
|
+
|
|
130
|
+
Catch hallucinated imports and ghost packages before code ever reaches your remote:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
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
|
|
135
|
+
```
|
|
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>
|
|
92
196
|
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
93
197
|
|
|
94
198
|
<!-- WHAT YOU GET -->
|
|
95
199
|
|
|
96
|
-
### What's Inside
|
|
200
|
+
### 📦 What's Inside
|
|
97
201
|
|
|
98
|
-
| Layer
|
|
99
|
-
|
|
|
100
|
-
| **Specialist Agents**
|
|
101
|
-
| **Tribunal Reviewers** | 28
|
|
102
|
-
| **Reusable Skills**
|
|
103
|
-
| **Slash Workflows**
|
|
104
|
-
| **
|
|
105
|
-
| **
|
|
106
|
-
| **
|
|
107
|
-
| **
|
|
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 |
|
|
108
212
|
|
|
109
213
|
<br>
|
|
110
214
|
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
111
215
|
|
|
112
|
-
<!--
|
|
113
|
-
<details style="background: #111115; border: 1px solid #222225; border-radius: 8px; padding: 12px 18px; margin-bottom: 45px;">
|
|
114
|
-
<summary style="font-weight: 600; color: #ffffff; cursor: pointer; user-select: none; font-size: 1.05em;">
|
|
115
|
-
📂 Table of Contents (Click to Expand)
|
|
116
|
-
</summary>
|
|
117
|
-
<div style="margin-top: 15px; padding-left: 10px;">
|
|
118
|
-
<ul style="list-style-type: none; padding-left: 0; line-height: 1.8;">
|
|
119
|
-
<li>👉 <a href="#-comparative-analysis" style="color: #a0a0a5; text-decoration: none;">Comparative Analysis: Tribunal Kit vs. Alternatives</a></li>
|
|
120
|
-
<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>
|
|
121
|
-
<li>👉 <a href="#%EF%B8%8F-advanced-setup" style="color: #a0a0a5; text-decoration: none;">Advanced Setup</a></li>
|
|
122
|
-
<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>
|
|
123
|
-
<li>👉 <a href="#-omniscience-cognitive-alignment-engine-ocae" style="color: #a0a0a5; text-decoration: none;">Omniscience Cognitive Alignment Engine (OCAE)</a></li>
|
|
124
|
-
<li>👉 <a href="#-skillopt-autonomous-self-evolution-engine" style="color: #a0a0a5; text-decoration: none;">SkillOpt: Autonomous Self-Evolution Engine</a></li>
|
|
125
|
-
<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>
|
|
126
|
-
<li>👉 <a href="#-the-marathon-harness--long-running-autonomy" style="color: #a0a0a5; text-decoration: none;">The Marathon Harness — Long-Running Autonomy</a></li>
|
|
127
|
-
<li>👉 <a href="#-mcp-server-integration" style="color: #a0a0a5; text-decoration: none;">Model Context Protocol (MCP) Server Integration</a></li>
|
|
128
|
-
<li>👉 <a href="#-cli-command-reference" style="color: #a0a0a5; text-decoration: none;">CLI Command Reference</a></li>
|
|
129
|
-
<li>👉 <a href="#-contributing--security" style="color: #a0a0a5; text-decoration: none;">Contributing & Security Guidelines</a></li>
|
|
130
|
-
</ul>
|
|
131
|
-
</div>
|
|
132
|
-
</details>
|
|
216
|
+
<!-- COMPARATIVE ANALYSIS -->
|
|
133
217
|
|
|
134
|
-
## 📈 Comparative Analysis
|
|
218
|
+
## 📈 Comparative Analysis: Tribunal Kit vs. Alternatives
|
|
135
219
|
|
|
136
|
-
AI engineering requires
|
|
220
|
+
AI engineering requires active verification, not passive prompt text:
|
|
137
221
|
|
|
138
222
|
<div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
|
|
139
223
|
<table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
|
|
@@ -141,42 +225,42 @@ AI engineering requires more than static template rules or raw linters. See how
|
|
|
141
225
|
<tr style="border-bottom: 2px solid #22222f; background-color: #16161d;">
|
|
142
226
|
<th style="padding: 14px 18px; color: #ffffff; font-weight: 600;">Dimension / Capability</th>
|
|
143
227
|
<th style="padding: 14px 18px; color: #ccff00; font-weight: 600;">Tribunal Kit 🛡️</th>
|
|
144
|
-
<th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Static
|
|
228
|
+
<th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Static <code>.cursorrules</code></th>
|
|
145
229
|
<th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">AST Linters (ESLint)</th>
|
|
146
|
-
<th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Manual
|
|
230
|
+
<th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Manual System Prompts</th>
|
|
147
231
|
</tr>
|
|
148
232
|
</thead>
|
|
149
233
|
<tbody>
|
|
150
234
|
<tr style="border-bottom: 1px solid #222228;">
|
|
151
|
-
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Hallucination
|
|
152
|
-
<td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Active check gates (
|
|
153
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">None (
|
|
154
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">None (
|
|
155
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">None (
|
|
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>
|
|
156
240
|
</tr>
|
|
157
241
|
<tr style="border-bottom: 1px solid #222228;">
|
|
158
242
|
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Context Window Overhead</td>
|
|
159
243
|
<td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Budget-gated recall & MCP tools</td>
|
|
160
244
|
<td style="padding: 14px 18px; color: #c9c9d1;">Severe (bloats with entire files)</td>
|
|
161
245
|
<td style="padding: 14px 18px; color: #c9c9d1;">N/A (runs post-edit)</td>
|
|
162
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">High (
|
|
246
|
+
<td style="padding: 14px 18px; color: #c9c9d1;">High (burns context budget)</td>
|
|
163
247
|
</tr>
|
|
164
248
|
<tr style="border-bottom: 1px solid #222228;">
|
|
165
|
-
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">
|
|
166
|
-
<td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">
|
|
167
|
-
<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>
|
|
168
252
|
<td style="padding: 14px 18px; color: #c9c9d1;">None</td>
|
|
169
253
|
<td style="padding: 14px 18px; color: #c9c9d1;">None</td>
|
|
170
254
|
</tr>
|
|
171
255
|
<tr style="border-bottom: 1px solid #222228;">
|
|
172
256
|
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Self-Evolution</td>
|
|
173
|
-
<td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Git diff
|
|
257
|
+
<td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Git diff learning & SkillOpt</td>
|
|
174
258
|
<td style="padding: 14px 18px; color: #c9c9d1;">Manual editing</td>
|
|
175
259
|
<td style="padding: 14px 18px; color: #c9c9d1;">Manual config edits</td>
|
|
176
260
|
<td style="padding: 14px 18px; color: #c9c9d1;">Manual prompt tuning</td>
|
|
177
261
|
</tr>
|
|
178
262
|
<tr style="border-bottom: 1px solid #222228;">
|
|
179
|
-
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">IDE &
|
|
263
|
+
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">IDE & CLI Universal Support</td>
|
|
180
264
|
<td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Cursor, Windsurf, VSCode, Claude, Aider</td>
|
|
181
265
|
<td style="padding: 14px 18px; color: #c9c9d1;">Cursor/Windsurf only</td>
|
|
182
266
|
<td style="padding: 14px 18px; color: #c9c9d1;">Independent</td>
|
|
@@ -184,8 +268,8 @@ AI engineering requires more than static template rules or raw linters. See how
|
|
|
184
268
|
</tr>
|
|
185
269
|
<tr style="border-bottom: 1px solid #222228;">
|
|
186
270
|
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Execution Performance</td>
|
|
187
|
-
<td style="padding: 14px 18px; color: #ccff00; font-weight: 600; background-color: #1a2211;">Rust Core (tribunal-core)</td>
|
|
188
|
-
<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>
|
|
189
273
|
<td style="padding: 14px 18px; color: #c9c9d1;">Slow Node processes</td>
|
|
190
274
|
<td style="padding: 14px 18px; color: #c9c9d1;">Slow API calls</td>
|
|
191
275
|
</tr>
|
|
@@ -196,50 +280,52 @@ AI engineering requires more than static template rules or raw linters. See how
|
|
|
196
280
|
<br>
|
|
197
281
|
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
198
282
|
|
|
199
|
-
<!-- SECTION
|
|
283
|
+
<!-- SECTION: 4 SUPERPOWERS -->
|
|
200
284
|
|
|
201
|
-
##
|
|
285
|
+
## 🏛️ The 4 Core Superpowers
|
|
202
286
|
|
|
203
|
-
|
|
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:
|
|
204
289
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
<br>
|
|
210
|
-
<hr style="border: 1px solid #222; margin: 40px 0;">
|
|
211
|
-
<br>
|
|
290
|
+
```bash
|
|
291
|
+
# Add an AI mistake precedent
|
|
292
|
+
tk case add
|
|
212
293
|
|
|
213
|
-
|
|
294
|
+
# Search case law database
|
|
295
|
+
tk case search "postgres deadlock"
|
|
296
|
+
```
|
|
214
297
|
|
|
215
|
-
|
|
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.
|
|
216
299
|
|
|
217
|
-
|
|
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)**:
|
|
218
302
|
|
|
219
303
|
```bash
|
|
220
|
-
#
|
|
221
|
-
npx tribunal-kit hook
|
|
222
|
-
|
|
223
|
-
# Scan your workspace for AI hallucinations (phantom packages, unverified APIs)
|
|
304
|
+
# Scan workspace changes for unverified dependencies and // VERIFY tags
|
|
224
305
|
npx tribunal-kit guardrail
|
|
306
|
+
```
|
|
225
307
|
|
|
226
|
-
|
|
227
|
-
|
|
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:
|
|
228
310
|
|
|
229
|
-
|
|
230
|
-
|
|
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
|
|
231
314
|
```
|
|
232
315
|
|
|
233
|
-
|
|
234
|
-
|
|
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.
|
|
235
319
|
|
|
236
|
-
|
|
237
|
-
|
|
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.
|
|
238
324
|
|
|
239
325
|
<br>
|
|
240
326
|
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
241
327
|
|
|
242
|
-
<!--
|
|
328
|
+
<!-- PIPELINE MERMAID -->
|
|
243
329
|
|
|
244
330
|
## ⚖️ The Tribunal Pipeline — Mitigating AI Code Hallucinations
|
|
245
331
|
|
|
@@ -268,152 +354,76 @@ graph TD
|
|
|
268
354
|
```
|
|
269
355
|
|
|
270
356
|
### Reviewer Swarms Include:
|
|
271
|
-
|
|
272
|
-
- **`
|
|
273
|
-
- **`security-auditor`** · Payload boundaries, SQL injection & OWASP scanning.
|
|
357
|
+
- **`logic-reviewer`** · Semantic soundness & impossible logic checks.
|
|
358
|
+
- **`security-auditor`** · Payload boundaries, injection & OWASP scanning.
|
|
274
359
|
- **`resilience-reviewer`** · Async error boundaries and retry logic.
|
|
275
|
-
- **`ui-ux-auditor`** · Structural accessibility (
|
|
276
|
-
- **`schema-reviewer`** · Type narrowing
|
|
360
|
+
- **`ui-ux-auditor`** · Structural accessibility (WCAG 2.2 AA) & premium animations.
|
|
361
|
+
- **`schema-reviewer`** · Type narrowing, Prisma/Drizzle integrity checks.
|
|
277
362
|
|
|
278
363
|
<br>
|
|
279
364
|
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
280
365
|
|
|
281
|
-
<!--
|
|
282
|
-
|
|
283
|
-
## 🧠 Omniscience Cognitive Alignment Engine (OCAE)
|
|
284
|
-
|
|
285
|
-
The **Omniscience Cognitive Alignment Engine (OCAE)** aligns any LLM with the reasoning loops of a senior staff engineer:
|
|
286
|
-
|
|
287
|
-
- **Step 0 Epistemic Loop**: Always-on cognition loop enforcing confidence checking (L1–L5), knowledge freshness audits, and precision budgeting before any script execution.
|
|
288
|
-
- **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).
|
|
289
|
-
- **Prose Alignment Formatting**: Collapses ugly lists and bullet points into highly readable, scannable documentation prose, stripping out typical AI conversational introduction/conclusion slop.
|
|
290
|
-
|
|
291
|
-
<br>
|
|
292
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
366
|
+
<!-- SOVEREIGN CONTRACTS -->
|
|
293
367
|
|
|
294
|
-
|
|
368
|
+
## 📜 Sovereign Covenant Protocol — Behavioral Contract Testing (`tk contract`)
|
|
295
369
|
|
|
296
|
-
|
|
370
|
+
Declare repo invariants in declarative YAML rules stored in `.tribunal/contracts/`:
|
|
297
371
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
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'
|
|
303
379
|
```
|
|
304
380
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
4. **Genetic Promotion**: The highest-scoring candidate is promoted as the new baseline for the next epoch.
|
|
309
|
-
|
|
310
|
-
<br>
|
|
311
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
312
|
-
|
|
313
|
-
<!-- SECTION 8 -->
|
|
314
|
-
|
|
315
|
-
## 🏛️ Supreme Court Case Law & Memory
|
|
316
|
-
|
|
317
|
-
Tribunal Kit builds a permanent repository memory layer that spans across conversation sessions:
|
|
318
|
-
|
|
319
|
-
### 1. Supreme Court Case Law (`tk case`)
|
|
320
|
-
|
|
321
|
-
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.
|
|
322
|
-
|
|
323
|
-
- Add precedence: `tk case add`
|
|
324
|
-
- Search case law: `tk case search "postgres deadlock"`
|
|
325
|
-
|
|
326
|
-
### 2. 4-Type Persistent Memory (`tk memory`)
|
|
327
|
-
|
|
328
|
-
Manages your project context utilizing a strict 4-category cognitive taxonomy:
|
|
329
|
-
|
|
330
|
-
- **Semantic Memory** — Project context (e.g., "Uses Drizzle with SQLite").
|
|
331
|
-
- **Procedural Memory** — Action guidelines (e.g., "Compile Rust binary before publishing").
|
|
332
|
-
- **Episodic Memory** — Development history and events.
|
|
333
|
-
- **Working Memory** — Current task scope.
|
|
334
|
-
|
|
335
|
-
Budget-gated recall ensures that agents only pull relevant memory segments, avoiding token window bloat and context dilution.
|
|
336
|
-
|
|
337
|
-
<br>
|
|
338
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
339
|
-
|
|
340
|
-
<!-- SECTION 9 -->
|
|
341
|
-
|
|
342
|
-
## 🏃 The Marathon Harness — Long-Running Autonomy
|
|
381
|
+
```bash
|
|
382
|
+
# Scaffold starter contracts
|
|
383
|
+
npx tribunal-kit contract init
|
|
343
384
|
|
|
344
|
-
|
|
385
|
+
# Verify contract invariants against modified files
|
|
386
|
+
npx tribunal-kit contract verify
|
|
345
387
|
|
|
346
|
-
|
|
347
|
-
-
|
|
348
|
-
|
|
388
|
+
# Replay failure trace snapshot
|
|
389
|
+
npx tribunal-kit contract replay <trace_id>
|
|
390
|
+
```
|
|
349
391
|
|
|
350
392
|
<br>
|
|
351
393
|
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
352
394
|
|
|
353
|
-
<!--
|
|
395
|
+
<!-- MCP SERVER -->
|
|
354
396
|
|
|
355
397
|
## 🔌 Model Context Protocol (MCP) Server Integration
|
|
356
398
|
|
|
357
|
-
Tribunal Kit hosts an out-of-the-box **
|
|
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.
|
|
358
400
|
|
|
359
|
-
### Config
|
|
401
|
+
### Config Snippet (`mcp_config.json` / Claude Desktop)
|
|
360
402
|
|
|
361
403
|
```json
|
|
362
404
|
{
|
|
363
405
|
"mcpServers": {
|
|
364
406
|
"tribunal-kit": {
|
|
365
|
-
"command": "
|
|
366
|
-
"args": ["
|
|
367
|
-
"env": {
|
|
368
|
-
"PROJECT_ROOT": "C:/Users/sunrise/Desktop/pfojects/cli project/tribunal-kit"
|
|
369
|
-
}
|
|
407
|
+
"command": "npx",
|
|
408
|
+
"args": ["-y", "tribunal-kit", "mcp"]
|
|
370
409
|
}
|
|
371
410
|
}
|
|
372
411
|
}
|
|
373
412
|
```
|
|
374
413
|
|
|
375
|
-
### Exposed MCP Tools
|
|
376
|
-
|
|
377
|
-
- `verify_contracts` —
|
|
378
|
-
- `get_tribunal_skill`
|
|
379
|
-
|
|
380
|
-
<br>
|
|
381
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
382
|
-
|
|
383
|
-
<!-- SECTION 13 -->
|
|
384
|
-
|
|
385
|
-
## 📜 Sovereign Covenant Protocol — AI Agent Behavioral Contract Testing (`tk contract`)
|
|
386
|
-
|
|
387
|
-
Design by Contract applied to AI coding agents. Declare invariants in declarative YAML rules stored in `.tribunal/contracts/`:
|
|
388
|
-
|
|
389
|
-
```yaml
|
|
390
|
-
name: 'No console.log in production code'
|
|
391
|
-
scope: 'src/**/*.ts, src/**/*.tsx'
|
|
392
|
-
severity: block
|
|
393
|
-
must_not:
|
|
394
|
-
- pattern: 'console.log'
|
|
395
|
-
message: 'Use structured logger instead of console.log'
|
|
396
|
-
```
|
|
397
|
-
|
|
398
|
-
```bash
|
|
399
|
-
# Scaffold starter contracts
|
|
400
|
-
npx tribunal-kit contract init
|
|
401
|
-
|
|
402
|
-
# Run contract checks against target or modified files
|
|
403
|
-
npx tribunal-kit contract verify
|
|
404
|
-
|
|
405
|
-
# Replay a failure context trace snapshot
|
|
406
|
-
npx tribunal-kit contract replay <trace_id>
|
|
407
|
-
```
|
|
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.
|
|
408
418
|
|
|
409
419
|
<br>
|
|
410
420
|
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
411
421
|
|
|
412
|
-
<!--
|
|
422
|
+
<!-- COMMAND REFERENCE -->
|
|
413
423
|
|
|
414
|
-
## 💻 CLI Command Reference
|
|
424
|
+
## 💻 Complete CLI Command Reference
|
|
415
425
|
|
|
416
|
-
Below is the structured list of all core commands available via `npx tribunal-kit <command>` (or
|
|
426
|
+
Below is the structured list of all core commands available via `npx tribunal-kit <command>` (or `tk <command>`):
|
|
417
427
|
|
|
418
428
|
<div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
|
|
419
429
|
<table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
|
|
@@ -445,6 +455,16 @@ Below is the structured list of all core commands available via `npx tribunal-ki
|
|
|
445
455
|
<td style="padding: 12px 16px; color: #c9c9d1;"><code>[--file <path>]</code></td>
|
|
446
456
|
<td style="padding: 12px 16px; color: #a0a0a5;">Scans workspace changes for phantom packages and <code>// VERIFY</code> tags.</td>
|
|
447
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>
|
|
448
468
|
<tr style="border-bottom: 1px solid #222225;">
|
|
449
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>
|
|
450
470
|
<td style="padding: 12px 16px; color: #c9c9d1;"><code>--target <file> "<cmd>"</code></td>
|
|
@@ -470,11 +490,6 @@ Below is the structured list of all core commands available via `npx tribunal-ki
|
|
|
470
490
|
<td style="padding: 12px 16px; color: #c9c9d1;"><code>store | recall | gc</code></td>
|
|
471
491
|
<td style="padding: 12px 16px; color: #a0a0a5;">Manages 4-type persistent memory with budget-gated recall.</td>
|
|
472
492
|
</tr>
|
|
473
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
474
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">graph</kbd></td>
|
|
475
|
-
<td style="padding: 12px 16px; color: #c9c9d1;">—</td>
|
|
476
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Maps codebase dependencies and outputs clean context snapshots.</td>
|
|
477
|
-
</tr>
|
|
478
493
|
<tr style="border-bottom: 1px solid #222225;">
|
|
479
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>
|
|
480
495
|
<td style="padding: 12px 16px; color: #c9c9d1;"><code>init | status | next</code></td>
|
|
@@ -492,19 +507,29 @@ Below is the structured list of all core commands available via `npx tribunal-ki
|
|
|
492
507
|
<br>
|
|
493
508
|
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
494
509
|
|
|
495
|
-
<!-- SECTION
|
|
510
|
+
<!-- VIRAL BADGE SECTION -->
|
|
496
511
|
|
|
497
|
-
##
|
|
512
|
+
## 🌐 Spread the Shield (Add to Your Repository)
|
|
498
513
|
|
|
499
|
-
|
|
514
|
+
Help protect the open-source ecosystem from AI hallucinations. Embed this badge in your repository's `README.md`:
|
|
500
515
|
|
|
501
|
-
|
|
502
|
-
|
|
516
|
+
```markdown
|
|
517
|
+
[](https://github.com/Harmitx7/tribunal-kit)
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
**Renders as:**
|
|
521
|
+
[](https://github.com/Harmitx7/tribunal-kit)
|
|
503
522
|
|
|
504
523
|
<br>
|
|
505
|
-
<
|
|
524
|
+
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
506
525
|
|
|
507
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
|
+
|
|
508
533
|
<div align="center" style="background: #111115; border: 1px solid #22222a; border-radius: 8px; padding: 25px; margin-top: 50px;">
|
|
509
534
|
<img src="https://img.shields.io/badge/Status-Active_&_Secured-ccff00?style=for-the-badge&logoColor=1a1a1a" alt="Status" />
|
|
510
535
|
<br><br>
|