tribunal-kit 9.0.2 → 9.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/agents/backend-specialist.md +1 -1
- package/.agent/agents/code-archaeologist.md +1 -1
- package/.agent/agents/database-architect.md +1 -1
- package/.agent/agents/debugger.md +1 -1
- package/.agent/agents/devops-engineer.md +1 -1
- package/.agent/agents/documentation-writer.md +1 -1
- package/.agent/agents/explorer-agent.md +1 -1
- package/.agent/agents/game-developer.md +1 -1
- package/.agent/agents/minimalist-reviewer.md +1 -1
- package/.agent/agents/mobile-developer.md +1 -1
- package/.agent/agents/orchestrator.md +44 -2
- package/.agent/agents/penetration-tester.md +1 -1
- package/.agent/agents/performance-optimizer.md +1 -1
- package/.agent/agents/product-manager.md +1 -1
- package/.agent/agents/product-owner.md +1 -1
- package/.agent/agents/project-planner.md +1 -1
- package/.agent/agents/qa-automation-engineer.md +1 -1
- package/.agent/agents/seo-specialist.md +1 -1
- package/.agent/agents/test-engineer.md +1 -1
- package/.agent/config/claude.json +1 -1
- package/.agent/config/plugin.json +1 -1
- package/.agent/history/architecture-explorer.html +352 -0
- package/.agent/history/architecture-graph.yaml +181 -1
- package/.agent/history/graph-cache.json +323 -13
- package/.agent/history/integrity_manifest.json +3937 -299
- package/.agent/history/memory/.memory.idx +50 -50
- package/.agent/history/snapshots/.opencode__plugins__tribunal.js.json +12 -0
- package/.agent/history/snapshots/.pi__extensions__tribunal.ts.json +12 -0
- package/.agent/history/snapshots/bin__adapter-install.js.json +1 -1
- package/.agent/history/snapshots/bin__mcp-server.js.json +4 -2
- package/.agent/history/snapshots/bin__proxy-server.js.json +1 -1
- package/.agent/history/snapshots/bin__spawn-agent.js.json +1 -1
- package/.agent/history/snapshots/bin__wrapper.js.json +1 -1
- package/.agent/history/snapshots/eslint.config.js.json +1 -1
- package/.agent/history/snapshots/hooks__session-start.js.json +11 -0
- package/.agent/history/snapshots/scripts__apply-version.js.json +11 -0
- package/.agent/history/snapshots/scripts__audit_skill_sdo.js.json +11 -0
- package/.agent/history/snapshots/scripts__clean-pycache.js.json +11 -0
- package/.agent/history/snapshots/scripts__context_compiler.js.json +17 -0
- package/.agent/history/snapshots/scripts__modernize_skills.js.json +11 -0
- package/.agent/history/snapshots/scripts__package-cores.js.json +12 -0
- package/.agent/history/snapshots/scripts__skill_enhancement_engine.js.json +11 -0
- package/.agent/history/snapshots/scripts__sync-skills.js.json +11 -0
- package/.agent/history/snapshots/scripts__telemetry_gc.js.json +11 -0
- package/.agent/history/snapshots/scripts__validate-payload.js.json +1 -1
- package/.agent/history/snapshots/test__integration__browser_cli.test.js.json +12 -0
- package/.agent/history/snapshots/test__integration__sync_status.test.js.json +1 -1
- package/.agent/history/snapshots/test__unit__ast_context_loader.test.js.json +12 -0
- package/.agent/history/snapshots/test__unit__browser_case_bridge.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__browser_discovery.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__browser_idpi.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__browser_sentinel.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__browser_synapse.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__browser_trimmer.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__context_compiler.test.js.json +26 -0
- package/.agent/history/snapshots/test__unit__init.test.js.json +1 -1
- package/.agent/history/snapshots/test__unit__learn.test.js.json +1 -1
- package/.agent/history/snapshots/test__unit__mcp_server.test.js.json +1 -1
- package/.agent/history/snapshots/test__unit__platform_download_audit.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__prompt_compiler.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__sdd_integration.test.js.json +12 -0
- package/.agent/history/snapshots/test__unit__stress.test.js.json +1 -1
- package/.agent/history/snapshots/test__unit__token_budget_broker.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__tui.test.js.json +10 -0
- package/.agent/routing_index.json +266 -1531
- package/.agent/rules/kernel.md +86 -0
- package/.agent/scripts/_utils.js +78 -0
- package/.agent/scripts/browser_audit.js +13 -5
- package/.agent/scripts/bundle_analyzer.js +7 -3
- package/.agent/scripts/context_broker.js +0 -8
- package/.agent/scripts/context_compiler.js +1106 -3
- package/.agent/scripts/dependency_analyzer.js +16 -16
- package/.agent/scripts/guardrail_engine.js +48 -11
- package/.agent/scripts/inner_loop_validator.js +1 -1
- package/.agent/scripts/memory_engine.js +490 -329
- package/.agent/scripts/payload_schemas.js +18 -0
- package/.agent/scripts/pipeline_engine.js +29 -105
- package/.agent/scripts/schema_validator.js +2 -1
- package/.agent/scripts/swarm_dispatcher.js +148 -46
- package/.agent/scripts/test_runner.js +1 -2
- package/.agent/skill_topic_map.json +71 -22
- package/.agent/skills/12-principles-of-animation/SKILL.md +1 -76
- package/.agent/skills/60fps-animation/SKILL.md +4 -77
- package/.agent/skills/accessible-animation/SKILL.md +9 -86
- package/.agent/skills/adapt/SKILL.md +1 -76
- package/.agent/skills/advanced-rag-pipelines/SKILL.md +1 -76
- package/.agent/skills/agent-organizer/SKILL.md +1 -76
- package/.agent/skills/agentic-patterns/SKILL.md +1 -76
- package/.agent/skills/agentic-workflows-2026/SKILL.md +1 -75
- package/.agent/skills/ai-app-hardening/SKILL.md +1 -75
- package/.agent/skills/ai-prompt-injection-defense/SKILL.md +1 -76
- package/.agent/skills/animation-on-scroll/SKILL.md +16 -87
- package/.agent/skills/animation-systems/SKILL.md +15 -90
- package/.agent/skills/antfu-conventions/SKILL.md +0 -75
- package/.agent/skills/api-patterns/SKILL.md +1 -76
- package/.agent/skills/api-security-auditor/SKILL.md +1 -76
- package/.agent/skills/app-builder/SKILL.md +1 -76
- package/.agent/skills/appflow-wireframe/SKILL.md +1 -78
- package/.agent/skills/apple-design/SKILL.md +1 -76
- package/.agent/skills/architecture/SKILL.md +1 -76
- package/.agent/skills/audit-and-fix/SKILL.md +41 -77
- package/.agent/skills/authentication-best-practices/SKILL.md +1 -76
- package/.agent/skills/backend-security-expert/SKILL.md +1 -76
- package/.agent/skills/baseline-ui/SKILL.md +1 -76
- package/.agent/skills/bash-linux/SKILL.md +1 -76
- package/.agent/skills/behavioral-modes/SKILL.md +1 -76
- package/.agent/skills/better-colors/SKILL.md +1 -76
- package/.agent/skills/better-typography/SKILL.md +1 -75
- package/.agent/skills/better-ui/SKILL.md +18 -81
- package/.agent/skills/bolder/SKILL.md +1 -76
- package/.agent/skills/brainstorming/SKILL.md +1 -75
- package/.agent/skills/browser-audit/SKILL.md +15 -83
- package/.agent/skills/browser-native-ai/SKILL.md +1 -76
- package/.agent/skills/build-primitive/SKILL.md +1 -76
- package/.agent/skills/building-native-ui/SKILL.md +1 -76
- package/.agent/skills/cicd-pro/SKILL.md +1 -76
- package/.agent/skills/clarify/SKILL.md +1 -76
- package/.agent/skills/clean-code/SKILL.md +1 -76
- package/.agent/skills/cloud-architect/SKILL.md +1 -76
- package/.agent/skills/cobejs/SKILL.md +1 -76
- package/.agent/skills/code-review-checklist/SKILL.md +1 -76
- package/.agent/skills/codebase-design/SKILL.md +1 -76
- package/.agent/skills/colorize/SKILL.md +1 -76
- package/.agent/skills/compact-landing/SKILL.md +1 -76
- package/.agent/skills/company-logos/SKILL.md +1 -76
- package/.agent/skills/config-validator/SKILL.md +1 -76
- package/.agent/skills/containerization-pro/SKILL.md +1 -76
- package/.agent/skills/context-engineering-pro/SKILL.md +1 -75
- package/.agent/skills/create-design-md/SKILL.md +1 -76
- package/.agent/skills/critique/SKILL.md +1 -76
- package/.agent/skills/csharp-developer/SKILL.md +1 -76
- package/.agent/skills/data-validation-schemas/SKILL.md +1 -76
- package/.agent/skills/database-design/SKILL.md +1 -76
- package/.agent/skills/delight/SKILL.md +1 -76
- package/.agent/skills/deployment-procedures/SKILL.md +1 -76
- package/.agent/skills/design-lab/SKILL.md +0 -75
- package/.agent/skills/devops-engineer/SKILL.md +1 -76
- package/.agent/skills/devops-incident-responder/SKILL.md +1 -76
- package/.agent/skills/diagnosing-bugs/SKILL.md +0 -75
- package/.agent/skills/distill/SKILL.md +1 -76
- package/.agent/skills/documentation-templates/SKILL.md +1 -76
- package/.agent/skills/domain-modeling/SKILL.md +1 -76
- package/.agent/skills/duckdb-analytical-sql/SKILL.md +1 -75
- package/.agent/skills/edge-ai-mobile/SKILL.md +1 -75
- package/.agent/skills/edge-computing/SKILL.md +1 -76
- package/.agent/skills/emil-design-eng/SKILL.md +1 -76
- package/.agent/skills/error-resilience/SKILL.md +1 -76
- package/.agent/skills/expo-router-v4/SKILL.md +1 -75
- package/.agent/skills/extract-design-system/SKILL.md +1 -76
- package/.agent/skills/fabel-protocol/SKILL.md +1 -76
- package/.agent/skills/fixing-accessibility/SKILL.md +1 -76
- package/.agent/skills/fixing-metadata/SKILL.md +1 -76
- package/.agent/skills/fixing-motion-performance/SKILL.md +1 -76
- package/.agent/skills/framer-motion-expert/SKILL.md +1 -76
- package/.agent/skills/frontend-design/SKILL.md +1 -76
- package/.agent/skills/frontend-security-expert/SKILL.md +1 -76
- package/.agent/skills/game-design-expert/SKILL.md +1 -76
- package/.agent/skills/game-engineering-expert/SKILL.md +1 -76
- package/.agent/skills/generative-ui-expert/SKILL.md +1 -76
- package/.agent/skills/geo-fundamentals/SKILL.md +1 -76
- package/.agent/skills/git-pro/SKILL.md +1 -76
- package/.agent/skills/github-operations/SKILL.md +1 -76
- package/.agent/skills/gpt-taste/SKILL.md +1 -76
- package/.agent/skills/gsap-core/SKILL.md +1 -76
- package/.agent/skills/gsap-frameworks/SKILL.md +1 -76
- package/.agent/skills/gsap-performance/SKILL.md +1 -76
- package/.agent/skills/gsap-plugins/SKILL.md +1 -76
- package/.agent/skills/gsap-react/SKILL.md +1 -76
- package/.agent/skills/gsap-scrolltrigger/SKILL.md +1 -76
- package/.agent/skills/gsap-timeline/SKILL.md +1 -76
- package/.agent/skills/gsap-utils/SKILL.md +1 -76
- package/.agent/skills/harden/SKILL.md +1 -76
- package/.agent/skills/harness-protocol/SKILL.md +1 -76
- package/.agent/skills/i18n-localization/SKILL.md +1 -76
- package/.agent/skills/impeccable/SKILL.md +1 -76
- package/.agent/skills/improve-codebase-architecture/SKILL.md +1 -76
- package/.agent/skills/improve-ui/SKILL.md +1 -76
- package/.agent/skills/intelligent-routing/SKILL.md +2 -87
- package/.agent/skills/knowledge-graph/SKILL.md +1 -76
- package/.agent/skills/landing-page/SKILL.md +1 -76
- package/.agent/skills/lint-and-validate/SKILL.md +1 -76
- package/.agent/skills/llm-engineering/SKILL.md +1 -76
- package/.agent/skills/local-first/SKILL.md +1 -76
- package/.agent/skills/local-first-architecture/SKILL.md +1 -76
- package/.agent/skills/lottie-animation/SKILL.md +1 -76
- package/.agent/skills/marquee-loop/SKILL.md +1 -76
- package/.agent/skills/masked-reveal/SKILL.md +1 -76
- package/.agent/skills/mcp-builder/SKILL.md +1 -76
- package/.agent/skills/micro-interaction/SKILL.md +19 -87
- package/.agent/skills/mobile-design/SKILL.md +1 -76
- package/.agent/skills/monorepo-management/SKILL.md +1 -76
- package/.agent/skills/morphing-icons/SKILL.md +1 -76
- package/.agent/skills/motion-engineering/SKILL.md +1 -76
- package/.agent/skills/nextjs-react-expert/SKILL.md +1 -76
- package/.agent/skills/nodejs-best-practices/SKILL.md +1 -76
- package/.agent/skills/observability/SKILL.md +1 -76
- package/.agent/skills/opentelemetry-observability/SKILL.md +1 -75
- package/.agent/skills/page-transition-animation/SKILL.md +1 -76
- package/.agent/skills/parallel-agents/SKILL.md +1 -76
- package/.agent/skills/performance-profiling/SKILL.md +1 -76
- package/.agent/skills/plan-writing/SKILL.md +1 -76
- package/.agent/skills/platform-engineer/SKILL.md +1 -76
- package/.agent/skills/platform-engineering-opentofu/SKILL.md +1 -75
- package/.agent/skills/playwright-ai-e2e/SKILL.md +1 -75
- package/.agent/skills/playwright-best-practices/SKILL.md +1 -76
- package/.agent/skills/polish/SKILL.md +1 -76
- package/.agent/skills/powershell-windows/SKILL.md +1 -76
- package/.agent/skills/pricing-page/SKILL.md +1 -76
- package/.agent/skills/product-aware-heuristics/SKILL.md +1 -76
- package/.agent/skills/progressive-blur/SKILL.md +1 -76
- package/.agent/skills/project-idioms/SKILL.md +1 -76
- package/.agent/skills/property-based-testing/SKILL.md +1 -75
- package/.agent/skills/python-patterns/SKILL.md +1 -76
- package/.agent/skills/python-pro/SKILL.md +1 -76
- package/.agent/skills/quieter/SKILL.md +1 -76
- package/.agent/skills/react-doctor/SKILL.md +1 -76
- package/.agent/skills/react-specialist/SKILL.md +1 -76
- package/.agent/skills/readme-builder/SKILL.md +1 -76
- package/.agent/skills/realtime-patterns/SKILL.md +1 -76
- package/.agent/skills/red-team-tactics/SKILL.md +1 -76
- package/.agent/skills/redesign-skill/SKILL.md +1 -76
- package/.agent/skills/review-animations/SKILL.md +1 -76
- package/.agent/skills/rust-pro/SKILL.md +1 -76
- package/.agent/skills/seo-fundamentals/SKILL.md +1 -76
- package/.agent/skills/server-management/SKILL.md +1 -76
- package/.agent/skills/shadcn-ui-expert/SKILL.md +1 -76
- package/.agent/skills/shape/SKILL.md +1 -76
- package/.agent/skills/skill-creator/SKILL.md +127 -86
- package/.agent/skills/soft-skill/SKILL.md +1 -76
- package/.agent/skills/sounds-on-the-web/SKILL.md +1 -76
- package/.agent/skills/sql-pro/SKILL.md +1 -76
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +1 -76
- package/.agent/skills/svg-animation/SKILL.md +1 -76
- package/.agent/skills/swiftui-expert/SKILL.md +1 -76
- package/.agent/skills/swiss-design/SKILL.md +1 -76
- package/.agent/skills/system-design-pro/SKILL.md +1 -76
- package/.agent/skills/systematic-debugging/SKILL.md +2 -76
- package/.agent/skills/systematic-debugging/condition-based-waiting.md +14 -9
- package/.agent/skills/systematic-debugging/defense-in-depth.md +9 -3
- package/.agent/skills/systematic-debugging/root-cause-tracing.md +14 -0
- package/.agent/skills/tailwind-patterns/SKILL.md +1 -76
- package/.agent/skills/taste-skill/SKILL.md +1 -76
- package/.agent/skills/tdd-workflow/SKILL.md +8 -82
- package/.agent/skills/test-result-analyzer/SKILL.md +1 -76
- package/.agent/skills/testing-patterns/SKILL.md +1 -76
- package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +1 -76
- package/.agent/skills/thinking-protocol/SKILL.md +1 -77
- package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +1 -76
- package/.agent/skills/transitions-dev/SKILL.md +1 -76
- package/.agent/skills/trend-researcher/SKILL.md +1 -76
- package/.agent/skills/typescript-advanced/SKILL.md +1 -76
- package/.agent/skills/typeset/SKILL.md +1 -76
- package/.agent/skills/ui-reasoning-engine/SKILL.md +1 -76
- package/.agent/skills/ui-skill-packs/SKILL.md +1 -76
- package/.agent/skills/ui-skills-root/SKILL.md +1 -76
- package/.agent/skills/ui-ux-pro-max/SKILL.md +1 -76
- package/.agent/skills/ui-ux-researcher/SKILL.md +1 -76
- package/.agent/skills/vector-search-pgvector/SKILL.md +1 -75
- package/.agent/skills/verification-before-completion/SKILL.md +20 -91
- package/.agent/skills/vue-expert/SKILL.md +1 -76
- package/.agent/skills/vulnerability-scanner/SKILL.md +1 -76
- package/.agent/skills/web-accessibility-auditor/SKILL.md +1 -76
- package/.agent/skills/web-design-guidelines/SKILL.md +1 -76
- package/.agent/skills/web-quality-audit/SKILL.md +1 -76
- package/.agent/skills/webapp-testing/SKILL.md +1 -76
- package/.agent/skills/webgpu-performance/SKILL.md +1 -76
- package/.agent/skills/whimsy-injector/SKILL.md +1 -76
- package/.agent/skills/workflow-optimizer/SKILL.md +1 -76
- package/.agent/skills/zero-trust-passkeys/SKILL.md +1 -75
- package/.agent/templates/DESIGN.md +312 -290
- package/.agent/templates/sdd/task-reviewer-prompt.md +2 -2
- package/.agent/workflows/audit-live.md +4 -3
- package/.agent/workflows/brainstorm.md +1 -0
- package/.agent/workflows/context.md +9 -7
- package/.agent/workflows/generate.md +1 -1
- package/.agent/workflows/minimal.md +3 -2
- package/.agent/workflows/orchestrate.md +1 -1
- package/.agent/workflows/plan.md +1 -1
- package/.agent/workflows/review-ai.md +1 -1
- package/.agent/workflows/sdd.md +15 -0
- package/.agent/workflows/skill-enhancement-engine.md +17 -21
- package/.agent/workflows/super-prompt.md +25 -24
- package/.agent/workflows/swarm.md +1 -1
- package/.agent/workflows/tribunal-backend.md +1 -1
- package/.agent/workflows/tribunal-cicd.md +1 -1
- package/.agent/workflows/tribunal-database.md +1 -1
- package/.agent/workflows/tribunal-frontend.md +1 -1
- package/.agent/workflows/tribunal-full.md +9 -9
- package/.agent/workflows/tribunal-mobile.md +1 -1
- package/.agent/workflows/tribunal-speed.md +1 -1
- package/.agent/workflows/tribunal-ui.md +1 -1
- package/.agents/skills/12-principles-of-animation/SKILL.md +1 -76
- package/.agents/skills/60fps-animation/SKILL.md +4 -77
- package/.agents/skills/accessible-animation/SKILL.md +9 -86
- package/.agents/skills/adapt/SKILL.md +1 -76
- package/.agents/skills/advanced-rag-pipelines/SKILL.md +1 -76
- package/.agents/skills/agent-organizer/SKILL.md +1 -76
- package/.agents/skills/agentic-patterns/SKILL.md +1 -76
- package/.agents/skills/agentic-workflows-2026/SKILL.md +1 -75
- package/.agents/skills/ai-app-hardening/SKILL.md +1 -75
- package/.agents/skills/ai-prompt-injection-defense/SKILL.md +1 -76
- package/.agents/skills/animation-on-scroll/SKILL.md +16 -87
- package/.agents/skills/animation-systems/SKILL.md +15 -90
- package/.agents/skills/antfu-conventions/SKILL.md +0 -75
- package/.agents/skills/api-patterns/SKILL.md +1 -76
- package/.agents/skills/api-security-auditor/SKILL.md +1 -76
- package/.agents/skills/app-builder/SKILL.md +1 -76
- package/.agents/skills/appflow-wireframe/SKILL.md +1 -78
- package/.agents/skills/apple-design/SKILL.md +1 -76
- package/.agents/skills/architecture/SKILL.md +1 -76
- package/.agents/skills/audit-and-fix/SKILL.md +41 -77
- package/.agents/skills/authentication-best-practices/SKILL.md +1 -76
- package/.agents/skills/backend-security-expert/SKILL.md +1 -76
- package/.agents/skills/baseline-ui/SKILL.md +1 -76
- package/.agents/skills/bash-linux/SKILL.md +1 -76
- package/.agents/skills/behavioral-modes/SKILL.md +1 -76
- package/.agents/skills/better-colors/SKILL.md +1 -76
- package/.agents/skills/better-typography/SKILL.md +1 -75
- package/.agents/skills/better-ui/SKILL.md +18 -81
- package/.agents/skills/bolder/SKILL.md +1 -76
- package/.agents/skills/brainstorming/SKILL.md +1 -75
- package/.agents/skills/browser-audit/SKILL.md +15 -83
- package/.agents/skills/browser-native-ai/SKILL.md +1 -76
- package/.agents/skills/build-primitive/SKILL.md +1 -76
- package/.agents/skills/building-native-ui/SKILL.md +1 -76
- package/.agents/skills/cicd-pro/SKILL.md +1 -76
- package/.agents/skills/clarify/SKILL.md +1 -76
- package/.agents/skills/clean-code/SKILL.md +1 -76
- package/.agents/skills/cloud-architect/SKILL.md +1 -76
- package/.agents/skills/cobejs/SKILL.md +1 -76
- package/.agents/skills/code-review-checklist/SKILL.md +1 -76
- package/.agents/skills/codebase-design/SKILL.md +1 -76
- package/.agents/skills/colorize/SKILL.md +1 -76
- package/.agents/skills/compact-landing/SKILL.md +1 -76
- package/.agents/skills/company-logos/SKILL.md +1 -76
- package/.agents/skills/config-validator/SKILL.md +1 -76
- package/.agents/skills/containerization-pro/SKILL.md +1 -76
- package/.agents/skills/context-engineering-pro/SKILL.md +1 -75
- package/.agents/skills/create-design-md/SKILL.md +1 -76
- package/.agents/skills/critique/SKILL.md +1 -76
- package/.agents/skills/csharp-developer/SKILL.md +1 -76
- package/.agents/skills/data-validation-schemas/SKILL.md +1 -76
- package/.agents/skills/database-design/SKILL.md +1 -76
- package/.agents/skills/delight/SKILL.md +1 -76
- package/.agents/skills/deployment-procedures/SKILL.md +1 -76
- package/.agents/skills/design-lab/SKILL.md +0 -75
- package/.agents/skills/devops-engineer/SKILL.md +1 -76
- package/.agents/skills/devops-incident-responder/SKILL.md +1 -76
- package/.agents/skills/diagnosing-bugs/SKILL.md +0 -75
- package/.agents/skills/distill/SKILL.md +1 -76
- package/.agents/skills/documentation-templates/SKILL.md +1 -76
- package/.agents/skills/domain-modeling/SKILL.md +1 -76
- package/.agents/skills/duckdb-analytical-sql/SKILL.md +1 -75
- package/.agents/skills/edge-ai-mobile/SKILL.md +1 -75
- package/.agents/skills/edge-computing/SKILL.md +1 -76
- package/.agents/skills/emil-design-eng/SKILL.md +1 -76
- package/.agents/skills/error-resilience/SKILL.md +1 -76
- package/.agents/skills/expo-router-v4/SKILL.md +1 -75
- package/.agents/skills/extract-design-system/SKILL.md +1 -76
- package/.agents/skills/fabel-protocol/SKILL.md +1 -76
- package/.agents/skills/fixing-accessibility/SKILL.md +1 -76
- package/.agents/skills/fixing-metadata/SKILL.md +1 -76
- package/.agents/skills/fixing-motion-performance/SKILL.md +1 -76
- package/.agents/skills/framer-motion-expert/SKILL.md +1 -76
- package/.agents/skills/frontend-design/SKILL.md +1 -76
- package/.agents/skills/frontend-security-expert/SKILL.md +1 -76
- package/.agents/skills/game-design-expert/SKILL.md +1 -76
- package/.agents/skills/game-engineering-expert/SKILL.md +1 -76
- package/.agents/skills/generative-ui-expert/SKILL.md +1 -76
- package/.agents/skills/geo-fundamentals/SKILL.md +1 -76
- package/.agents/skills/git-pro/SKILL.md +1 -76
- package/.agents/skills/github-operations/SKILL.md +1 -76
- package/.agents/skills/gpt-taste/SKILL.md +1 -76
- package/.agents/skills/gsap-core/SKILL.md +1 -76
- package/.agents/skills/gsap-frameworks/SKILL.md +1 -76
- package/.agents/skills/gsap-performance/SKILL.md +1 -76
- package/.agents/skills/gsap-plugins/SKILL.md +1 -76
- package/.agents/skills/gsap-react/SKILL.md +1 -76
- package/.agents/skills/gsap-scrolltrigger/SKILL.md +1 -76
- package/.agents/skills/gsap-timeline/SKILL.md +1 -76
- package/.agents/skills/gsap-utils/SKILL.md +1 -76
- package/.agents/skills/harden/SKILL.md +1 -76
- package/.agents/skills/harness-protocol/SKILL.md +1 -76
- package/.agents/skills/i18n-localization/SKILL.md +1 -76
- package/.agents/skills/impeccable/SKILL.md +1 -76
- package/.agents/skills/improve-codebase-architecture/SKILL.md +1 -76
- package/.agents/skills/improve-ui/SKILL.md +1 -76
- package/.agents/skills/intelligent-routing/SKILL.md +2 -87
- package/.agents/skills/knowledge-graph/SKILL.md +1 -76
- package/.agents/skills/landing-page/SKILL.md +1 -76
- package/.agents/skills/lint-and-validate/SKILL.md +1 -76
- package/.agents/skills/llm-engineering/SKILL.md +1 -76
- package/.agents/skills/local-first/SKILL.md +1 -76
- package/.agents/skills/local-first-architecture/SKILL.md +1 -76
- package/.agents/skills/lottie-animation/SKILL.md +1 -76
- package/.agents/skills/marquee-loop/SKILL.md +1 -76
- package/.agents/skills/masked-reveal/SKILL.md +1 -76
- package/.agents/skills/mcp-builder/SKILL.md +1 -76
- package/.agents/skills/micro-interaction/SKILL.md +19 -87
- package/.agents/skills/mobile-design/SKILL.md +1 -76
- package/.agents/skills/monorepo-management/SKILL.md +1 -76
- package/.agents/skills/morphing-icons/SKILL.md +1 -76
- package/.agents/skills/motion-engineering/SKILL.md +1 -76
- package/.agents/skills/nextjs-react-expert/SKILL.md +1 -76
- package/.agents/skills/nodejs-best-practices/SKILL.md +1 -76
- package/.agents/skills/observability/SKILL.md +1 -76
- package/.agents/skills/opentelemetry-observability/SKILL.md +1 -75
- package/.agents/skills/page-transition-animation/SKILL.md +1 -76
- package/.agents/skills/parallel-agents/SKILL.md +1 -76
- package/.agents/skills/performance-profiling/SKILL.md +1 -76
- package/.agents/skills/plan-writing/SKILL.md +1 -76
- package/.agents/skills/platform-engineer/SKILL.md +1 -76
- package/.agents/skills/platform-engineering-opentofu/SKILL.md +1 -75
- package/.agents/skills/playwright-ai-e2e/SKILL.md +1 -75
- package/.agents/skills/playwright-best-practices/SKILL.md +1 -76
- package/.agents/skills/polish/SKILL.md +1 -76
- package/.agents/skills/powershell-windows/SKILL.md +1 -76
- package/.agents/skills/pricing-page/SKILL.md +1 -76
- package/.agents/skills/product-aware-heuristics/SKILL.md +1 -76
- package/.agents/skills/progressive-blur/SKILL.md +1 -76
- package/.agents/skills/project-idioms/SKILL.md +1 -76
- package/.agents/skills/property-based-testing/SKILL.md +1 -75
- package/.agents/skills/python-patterns/SKILL.md +1 -76
- package/.agents/skills/python-pro/SKILL.md +1 -76
- package/.agents/skills/quieter/SKILL.md +1 -76
- package/.agents/skills/react-doctor/SKILL.md +1 -76
- package/.agents/skills/react-specialist/SKILL.md +1 -76
- package/.agents/skills/readme-builder/SKILL.md +1 -76
- package/.agents/skills/realtime-patterns/SKILL.md +1 -76
- package/.agents/skills/red-team-tactics/SKILL.md +1 -76
- package/.agents/skills/redesign-skill/SKILL.md +1 -76
- package/.agents/skills/review-animations/SKILL.md +1 -76
- package/.agents/skills/rust-pro/SKILL.md +1 -76
- package/.agents/skills/seo-fundamentals/SKILL.md +1 -76
- package/.agents/skills/server-management/SKILL.md +1 -76
- package/.agents/skills/shadcn-ui-expert/SKILL.md +1 -76
- package/.agents/skills/shape/SKILL.md +1 -76
- package/.agents/skills/skill-creator/SKILL.md +127 -86
- package/.agents/skills/soft-skill/SKILL.md +1 -76
- package/.agents/skills/sounds-on-the-web/SKILL.md +1 -76
- package/.agents/skills/sql-pro/SKILL.md +1 -76
- package/.agents/skills/supabase-postgres-best-practices/SKILL.md +1 -76
- package/.agents/skills/svg-animation/SKILL.md +1 -76
- package/.agents/skills/swiftui-expert/SKILL.md +1 -76
- package/.agents/skills/swiss-design/SKILL.md +1 -76
- package/.agents/skills/system-design-pro/SKILL.md +1 -76
- package/.agents/skills/systematic-debugging/SKILL.md +2 -76
- package/.agents/skills/systematic-debugging/condition-based-waiting.md +14 -9
- package/.agents/skills/systematic-debugging/defense-in-depth.md +9 -3
- package/.agents/skills/systematic-debugging/root-cause-tracing.md +14 -0
- package/.agents/skills/tailwind-patterns/SKILL.md +1 -76
- package/.agents/skills/taste-skill/SKILL.md +1 -76
- package/.agents/skills/tdd-workflow/SKILL.md +8 -82
- package/.agents/skills/test-result-analyzer/SKILL.md +1 -76
- package/.agents/skills/testing-patterns/SKILL.md +1 -76
- package/.agents/skills/thermo-nuclear-code-quality-review/SKILL.md +1 -76
- package/.agents/skills/thinking-protocol/SKILL.md +1 -77
- package/.agents/skills/to-spring-or-not-to-spring/SKILL.md +1 -76
- package/.agents/skills/transitions-dev/SKILL.md +1 -76
- package/.agents/skills/trend-researcher/SKILL.md +1 -76
- package/.agents/skills/typescript-advanced/SKILL.md +1 -76
- package/.agents/skills/typeset/SKILL.md +1 -76
- package/.agents/skills/ui-reasoning-engine/SKILL.md +1 -76
- package/.agents/skills/ui-skill-packs/SKILL.md +1 -76
- package/.agents/skills/ui-skills-root/SKILL.md +1 -76
- package/.agents/skills/ui-ux-pro-max/SKILL.md +1 -76
- package/.agents/skills/ui-ux-researcher/SKILL.md +1 -76
- package/.agents/skills/vector-search-pgvector/SKILL.md +1 -75
- package/.agents/skills/verification-before-completion/SKILL.md +20 -91
- package/.agents/skills/vue-expert/SKILL.md +1 -76
- package/.agents/skills/vulnerability-scanner/SKILL.md +1 -76
- package/.agents/skills/web-accessibility-auditor/SKILL.md +1 -76
- package/.agents/skills/web-design-guidelines/SKILL.md +1 -76
- package/.agents/skills/web-quality-audit/SKILL.md +1 -76
- package/.agents/skills/webapp-testing/SKILL.md +1 -76
- package/.agents/skills/webgpu-performance/SKILL.md +1 -76
- package/.agents/skills/whimsy-injector/SKILL.md +1 -76
- package/.agents/skills/workflow-optimizer/SKILL.md +1 -76
- package/.agents/skills/zero-trust-passkeys/SKILL.md +1 -75
- package/.codex-plugin/plugin.json +1 -5
- package/.kimi-plugin/plugin.json +1 -5
- package/.opencode/INSTALL.md +1 -0
- package/.opencode/plugins/tribunal.js +15 -6
- package/.pi/extensions/tribunal.ts +26 -29
- package/AGENTS.md +15 -13
- package/CLAUDE.md +3 -1
- package/README.md +23 -16
- package/bin/adapter-install.js +1 -1
- package/bin/mcp-server.js +88 -58
- package/bin/wrapper.js +22 -2
- package/dist/commands/init.js +25 -11
- package/dist/tui/banner.js +77 -77
- package/gemini-extension.json +1 -1
- package/package.json +13 -10
- package/plugin.json +1 -1
- package/scripts/apply-version.js +2 -2
- package/scripts/audit_skill_sdo.js +6 -4
- package/scripts/context_compiler.js +256 -83
- package/scripts/modernize_skills.js +25 -11
- package/scripts/package-cores.js +4 -1
- package/scripts/skill_enhancement_engine.js +212 -77
- package/scripts/telemetry_gc.js +156 -0
- package/scripts/validate-payload.js +1 -6
- package/skills/12-principles-of-animation/SKILL.md +1 -76
- package/skills/60fps-animation/SKILL.md +4 -77
- package/skills/accessible-animation/SKILL.md +9 -86
- package/skills/adapt/SKILL.md +1 -76
- package/skills/advanced-rag-pipelines/SKILL.md +1 -76
- package/skills/agent-organizer/SKILL.md +1 -76
- package/skills/agentic-patterns/SKILL.md +1 -76
- package/skills/agentic-workflows-2026/SKILL.md +1 -75
- package/skills/ai-app-hardening/SKILL.md +1 -75
- package/skills/ai-prompt-injection-defense/SKILL.md +1 -76
- package/skills/animation-on-scroll/SKILL.md +16 -87
- package/skills/animation-systems/SKILL.md +15 -90
- package/skills/antfu-conventions/SKILL.md +0 -75
- package/skills/api-patterns/SKILL.md +1 -76
- package/skills/api-security-auditor/SKILL.md +1 -76
- package/skills/app-builder/SKILL.md +1 -76
- package/skills/appflow-wireframe/SKILL.md +1 -78
- package/skills/apple-design/SKILL.md +1 -76
- package/skills/architecture/SKILL.md +1 -76
- package/skills/audit-and-fix/SKILL.md +41 -77
- package/skills/authentication-best-practices/SKILL.md +1 -76
- package/skills/backend-security-expert/SKILL.md +1 -76
- package/skills/baseline-ui/SKILL.md +1 -76
- package/skills/bash-linux/SKILL.md +1 -76
- package/skills/behavioral-modes/SKILL.md +1 -76
- package/skills/better-colors/SKILL.md +1 -76
- package/skills/better-typography/SKILL.md +1 -75
- package/skills/better-ui/SKILL.md +18 -81
- package/skills/bolder/SKILL.md +1 -76
- package/skills/brainstorming/SKILL.md +1 -75
- package/skills/browser-audit/SKILL.md +15 -83
- package/skills/browser-native-ai/SKILL.md +1 -76
- package/skills/build-primitive/SKILL.md +1 -76
- package/skills/building-native-ui/SKILL.md +1 -76
- package/skills/cicd-pro/SKILL.md +1 -76
- package/skills/clarify/SKILL.md +1 -76
- package/skills/clean-code/SKILL.md +1 -76
- package/skills/cloud-architect/SKILL.md +1 -76
- package/skills/cobejs/SKILL.md +1 -76
- package/skills/code-review-checklist/SKILL.md +1 -76
- package/skills/codebase-design/SKILL.md +1 -76
- package/skills/colorize/SKILL.md +1 -76
- package/skills/compact-landing/SKILL.md +1 -76
- package/skills/company-logos/SKILL.md +1 -76
- package/skills/config-validator/SKILL.md +1 -76
- package/skills/containerization-pro/SKILL.md +1 -76
- package/skills/context-engineering-pro/SKILL.md +1 -75
- package/skills/create-design-md/SKILL.md +1 -76
- package/skills/critique/SKILL.md +1 -76
- package/skills/csharp-developer/SKILL.md +1 -76
- package/skills/data-validation-schemas/SKILL.md +1 -76
- package/skills/database-design/SKILL.md +1 -76
- package/skills/delight/SKILL.md +1 -76
- package/skills/deployment-procedures/SKILL.md +1 -76
- package/skills/design-lab/SKILL.md +0 -75
- package/skills/devops-engineer/SKILL.md +1 -76
- package/skills/devops-incident-responder/SKILL.md +1 -76
- package/skills/diagnosing-bugs/SKILL.md +0 -75
- package/skills/distill/SKILL.md +1 -76
- package/skills/documentation-templates/SKILL.md +1 -76
- package/skills/domain-modeling/SKILL.md +1 -76
- package/skills/duckdb-analytical-sql/SKILL.md +1 -75
- package/skills/edge-ai-mobile/SKILL.md +1 -75
- package/skills/edge-computing/SKILL.md +1 -76
- package/skills/emil-design-eng/SKILL.md +1 -76
- package/skills/error-resilience/SKILL.md +1 -76
- package/skills/expo-router-v4/SKILL.md +1 -75
- package/skills/extract-design-system/SKILL.md +1 -76
- package/skills/fabel-protocol/SKILL.md +1 -76
- package/skills/fixing-accessibility/SKILL.md +1 -76
- package/skills/fixing-metadata/SKILL.md +1 -76
- package/skills/fixing-motion-performance/SKILL.md +1 -76
- package/skills/framer-motion-expert/SKILL.md +1 -76
- package/skills/frontend-design/SKILL.md +1 -76
- package/skills/frontend-security-expert/SKILL.md +1 -76
- package/skills/game-design-expert/SKILL.md +1 -76
- package/skills/game-engineering-expert/SKILL.md +1 -76
- package/skills/generative-ui-expert/SKILL.md +1 -76
- package/skills/geo-fundamentals/SKILL.md +1 -76
- package/skills/git-pro/SKILL.md +1 -76
- package/skills/github-operations/SKILL.md +1 -76
- package/skills/gpt-taste/SKILL.md +1 -76
- package/skills/gsap-core/SKILL.md +1 -76
- package/skills/gsap-frameworks/SKILL.md +1 -76
- package/skills/gsap-performance/SKILL.md +1 -76
- package/skills/gsap-plugins/SKILL.md +1 -76
- package/skills/gsap-react/SKILL.md +1 -76
- package/skills/gsap-scrolltrigger/SKILL.md +1 -76
- package/skills/gsap-timeline/SKILL.md +1 -76
- package/skills/gsap-utils/SKILL.md +1 -76
- package/skills/harden/SKILL.md +1 -76
- package/skills/harness-protocol/SKILL.md +1 -76
- package/skills/i18n-localization/SKILL.md +1 -76
- package/skills/impeccable/SKILL.md +1 -76
- package/skills/improve-codebase-architecture/SKILL.md +1 -76
- package/skills/improve-ui/SKILL.md +1 -76
- package/skills/intelligent-routing/SKILL.md +2 -87
- package/skills/knowledge-graph/SKILL.md +1 -76
- package/skills/landing-page/SKILL.md +1 -76
- package/skills/lint-and-validate/SKILL.md +1 -76
- package/skills/llm-engineering/SKILL.md +1 -76
- package/skills/local-first/SKILL.md +1 -76
- package/skills/local-first-architecture/SKILL.md +1 -76
- package/skills/lottie-animation/SKILL.md +1 -76
- package/skills/marquee-loop/SKILL.md +1 -76
- package/skills/masked-reveal/SKILL.md +1 -76
- package/skills/mcp-builder/SKILL.md +1 -76
- package/skills/micro-interaction/SKILL.md +19 -87
- package/skills/mobile-design/SKILL.md +1 -76
- package/skills/monorepo-management/SKILL.md +1 -76
- package/skills/morphing-icons/SKILL.md +1 -76
- package/skills/motion-engineering/SKILL.md +1 -76
- package/skills/nextjs-react-expert/SKILL.md +1 -76
- package/skills/nodejs-best-practices/SKILL.md +1 -76
- package/skills/observability/SKILL.md +1 -76
- package/skills/opentelemetry-observability/SKILL.md +1 -75
- package/skills/page-transition-animation/SKILL.md +1 -76
- package/skills/parallel-agents/SKILL.md +1 -76
- package/skills/performance-profiling/SKILL.md +1 -76
- package/skills/plan-writing/SKILL.md +1 -76
- package/skills/platform-engineer/SKILL.md +1 -76
- package/skills/platform-engineering-opentofu/SKILL.md +1 -75
- package/skills/playwright-ai-e2e/SKILL.md +1 -75
- package/skills/playwright-best-practices/SKILL.md +1 -76
- package/skills/polish/SKILL.md +1 -76
- package/skills/powershell-windows/SKILL.md +1 -76
- package/skills/pricing-page/SKILL.md +1 -76
- package/skills/product-aware-heuristics/SKILL.md +1 -76
- package/skills/progressive-blur/SKILL.md +1 -76
- package/skills/project-idioms/SKILL.md +1 -76
- package/skills/property-based-testing/SKILL.md +1 -75
- package/skills/python-patterns/SKILL.md +1 -76
- package/skills/python-pro/SKILL.md +1 -76
- package/skills/quieter/SKILL.md +1 -76
- package/skills/react-doctor/SKILL.md +1 -76
- package/skills/react-specialist/SKILL.md +1 -76
- package/skills/readme-builder/SKILL.md +1 -76
- package/skills/realtime-patterns/SKILL.md +1 -76
- package/skills/red-team-tactics/SKILL.md +1 -76
- package/skills/redesign-skill/SKILL.md +1 -76
- package/skills/review-animations/SKILL.md +1 -76
- package/skills/rust-pro/SKILL.md +1 -76
- package/skills/seo-fundamentals/SKILL.md +1 -76
- package/skills/server-management/SKILL.md +1 -76
- package/skills/shadcn-ui-expert/SKILL.md +1 -76
- package/skills/shape/SKILL.md +1 -76
- package/skills/skill-creator/SKILL.md +127 -86
- package/skills/soft-skill/SKILL.md +1 -76
- package/skills/sounds-on-the-web/SKILL.md +1 -76
- package/skills/sql-pro/SKILL.md +1 -76
- package/skills/supabase-postgres-best-practices/SKILL.md +1 -76
- package/skills/svg-animation/SKILL.md +1 -76
- package/skills/swiftui-expert/SKILL.md +1 -76
- package/skills/swiss-design/SKILL.md +1 -76
- package/skills/system-design-pro/SKILL.md +1 -76
- package/skills/systematic-debugging/SKILL.md +2 -76
- package/skills/systematic-debugging/condition-based-waiting.md +14 -9
- package/skills/systematic-debugging/defense-in-depth.md +9 -3
- package/skills/systematic-debugging/root-cause-tracing.md +14 -0
- package/skills/tailwind-patterns/SKILL.md +1 -76
- package/skills/taste-skill/SKILL.md +1 -76
- package/skills/tdd-workflow/SKILL.md +8 -82
- package/skills/test-result-analyzer/SKILL.md +1 -76
- package/skills/testing-patterns/SKILL.md +1 -76
- package/skills/thermo-nuclear-code-quality-review/SKILL.md +1 -76
- package/skills/thinking-protocol/SKILL.md +1 -77
- package/skills/to-spring-or-not-to-spring/SKILL.md +1 -76
- package/skills/transitions-dev/SKILL.md +1 -76
- package/skills/trend-researcher/SKILL.md +1 -76
- package/skills/typescript-advanced/SKILL.md +1 -76
- package/skills/typeset/SKILL.md +1 -76
- package/skills/ui-reasoning-engine/SKILL.md +1 -76
- package/skills/ui-skill-packs/SKILL.md +1 -76
- package/skills/ui-skills-root/SKILL.md +1 -76
- package/skills/ui-ux-pro-max/SKILL.md +1 -76
- package/skills/ui-ux-researcher/SKILL.md +1 -76
- package/skills/vector-search-pgvector/SKILL.md +1 -75
- package/skills/verification-before-completion/SKILL.md +20 -91
- package/skills/vue-expert/SKILL.md +1 -76
- package/skills/vulnerability-scanner/SKILL.md +1 -76
- package/skills/web-accessibility-auditor/SKILL.md +1 -76
- package/skills/web-design-guidelines/SKILL.md +1 -76
- package/skills/web-quality-audit/SKILL.md +1 -76
- package/skills/webapp-testing/SKILL.md +1 -76
- package/skills/webgpu-performance/SKILL.md +1 -76
- package/skills/whimsy-injector/SKILL.md +1 -76
- package/skills/workflow-optimizer/SKILL.md +1 -76
- package/skills/zero-trust-passkeys/SKILL.md +1 -75
package/CLAUDE.md
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
# Tribunal Kit — Claude Bridge
|
|
2
|
+
|
|
2
3
|
# Auto-generated by tribunal-kit init. Do not edit manually.
|
|
4
|
+
|
|
3
5
|
# Source: .agent/rules/GEMINI.md
|
|
4
6
|
|
|
5
7
|
---
|
|
8
|
+
|
|
6
9
|
trigger: always_on
|
|
7
10
|
---
|
|
8
11
|
|
|
@@ -439,4 +442,3 @@ Before modifying any file:
|
|
|
439
442
|
**Workflows:** `.agent/workflows/`
|
|
440
443
|
**Rules (this file):** `.agent/rules/GEMINI.md`
|
|
441
444
|
**Architecture:** `.agent/ARCHITECTURE.md`
|
|
442
|
-
|
package/README.md
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
<img src="docs/assets/tribunal-hero-header.svg" alt="Tribunal Kit Hero Banner" width="100%" style="max-width: 1000px; margin-bottom: 24px; border-radius: 14px;" />
|
|
6
6
|
</a>
|
|
7
7
|
|
|
8
|
-
<
|
|
9
|
-
|
|
10
|
-
</
|
|
8
|
+
<h1 style="font-size: 1.35em; color: #ffffff; font-weight: 600; margin: 10px 0 8px 0;">
|
|
9
|
+
Tribunal Kit: AI Coding Agent Governance Layer
|
|
10
|
+
</h1>
|
|
11
11
|
<p style="font-size: 1.0em; color: #88888b; font-weight: 400; letter-spacing: 0.5px; margin: 0 0 25px 0;">
|
|
12
|
-
The zero-dependency governance layer for
|
|
12
|
+
Your AI writes code that doesn't exist. Tribunal Kit stops it. The zero-dependency AI governance layer for preventing hallucinations and ghost packages — 52 specialists, 28 reviewers, compiled Rust core.
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
<!-- BADGES -->
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<img src="https://img.shields.io/badge/License-MIT-1a1a1f?style=for-the-badge&color=2d2d30" alt="License" />
|
|
32
32
|
</a>
|
|
33
33
|
<a href="CHANGELOG.md">
|
|
34
|
-
<img src="https://img.shields.io/badge/Release-v9.
|
|
34
|
+
<img src="https://img.shields.io/badge/Release-v9.2.3-ff3300?style=for-the-badge&color=111111&logo=github&logoColor=ff3300" alt="Release Version" />
|
|
35
35
|
</a>
|
|
36
36
|
<a href="package.json">
|
|
37
37
|
<img src="https://img.shields.io/badge/Dependencies-0-ff3300?style=for-the-badge&color=111111&logoColor=ff3300" alt="Zero Dependencies" />
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
<div style="background: linear-gradient(145deg, #121622, #0c0f17); border: 1px solid #ff3300; border-radius: 12px; padding: 24px; margin-bottom: 35px;">
|
|
76
76
|
<div style="display: flex; align-items: center; margin-bottom: 12px;">
|
|
77
77
|
<span style="background-color: #ff3300; color: #ffffff; padding: 4px 8px; border-radius: 4px; font-size: 0.75em; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-right: 10px;">The Solution</span>
|
|
78
|
-
<
|
|
78
|
+
<h2 style="color: #ffffff; font-size: 1.15em; margin: 0; font-weight: bold; display: inline;">One command. Your AI stops hallucinating ghost packages.</h2>
|
|
79
79
|
</div>
|
|
80
80
|
<p style="color: #c9c9d1; font-size: 0.95em; line-height: 1.6; margin: 0;">
|
|
81
81
|
Tribunal Kit wraps your coding agents in an active <strong>neurosymbolic verification envelope</strong> — 52 specialist agents, 28 parallel reviewers, 185 skills, and a native compiled Rust core. It intercepts AI output in <strong>< 10ms</strong>, validates it against your live repository AST, and blocks hallucinated code before it ever touches disk.
|
|
@@ -186,16 +186,16 @@ Tribunal Kit ships with pre-configured native plugins and extensions across the
|
|
|
186
186
|
|
|
187
187
|
### 📦 What's Inside
|
|
188
188
|
|
|
189
|
-
| Layer
|
|
190
|
-
|
|
|
191
|
-
| **Specialist Agents**
|
|
192
|
-
| **Tribunal Reviewers**
|
|
193
|
-
| **Reusable Skills**
|
|
194
|
-
| **Slash Workflows**
|
|
195
|
-
| **Native Plugins**
|
|
196
|
-
| **Compiled Rust Core**
|
|
197
|
-
| **MCP Server**
|
|
198
|
-
| **Supreme Court Precedents** | ∞
|
|
189
|
+
| Layer | Count | What It Does |
|
|
190
|
+
| :--------------------------- | :---- | :--------------------------------------------------------------------------------------------- |
|
|
191
|
+
| **Specialist Agents** | 52 | Domain-specific reasoning (Frontend, Backend, Security, Database, Mobile, DevOps) |
|
|
192
|
+
| **Tribunal Reviewers** | 28 | Parallel review pipeline that intercepts logic and security defects before disk write |
|
|
193
|
+
| **Reusable Skills** | 184 | Deep knowledge packs (React 19, Next.js 15, Rust, Python, Vue, Animations, A11y) |
|
|
194
|
+
| **Slash Workflows** | 41 | One-command operations (`/generate`, `/debug`, `/audit`, `/deploy`, `/refactor`) |
|
|
195
|
+
| **Native Plugins** | 9+ | First-class plugins for Claude Code, Cursor, OpenCode, Devin, Kimi, Hermes, Pi, and Gemini CLI |
|
|
196
|
+
| **Compiled Rust Core** | 1 | Native binary for AOT Semantic Graph extraction, AST parsing, hashing, and deduping |
|
|
197
|
+
| **MCP Server** | 1 | Model Context Protocol integration with `query_semantic_graph` capabilities |
|
|
198
|
+
| **Supreme Court Precedents** | ∞ | Permanent repository memory that records AI mistakes so they are never repeated |
|
|
199
199
|
|
|
200
200
|
<br>
|
|
201
201
|
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
@@ -276,6 +276,7 @@ AI engineering requires active verification, not passive prompt text:
|
|
|
276
276
|
</div>
|
|
277
277
|
|
|
278
278
|
### 1. ⚖️ Supreme Court Case Law & Memory (`tk case`)
|
|
279
|
+
|
|
279
280
|
**Your AI will never make the same mistake twice.** Whenever your coding assistant introduces an antipattern or bug, record it as a legal precedent:
|
|
280
281
|
|
|
281
282
|
```bash
|
|
@@ -289,6 +290,7 @@ tk case search "postgres deadlock"
|
|
|
289
290
|
The `precedence-reviewer` actively checks this database during generation. If the agent attempts the same antipattern, Tribunal Kit rules it unconstitutional and blocks the write.
|
|
290
291
|
|
|
291
292
|
### 2. 🛡️ Phantom Package & Schema Guardrails (`tk guardrail`)
|
|
293
|
+
|
|
292
294
|
AI models frequently hallucinate libraries that sound plausible but do not exist, exposing developers to **AI Package Hallucination Exploits (Slopsquatting)**:
|
|
293
295
|
|
|
294
296
|
```bash
|
|
@@ -297,6 +299,7 @@ npx tribunal-kit guardrail
|
|
|
297
299
|
```
|
|
298
300
|
|
|
299
301
|
### 3. 🧬 SkillOpt: Autonomous Self-Evolution Engine
|
|
302
|
+
|
|
300
303
|
Stop manually re-prompting. SkillOpt mutates, token-checks, and benchmarks instruction skills directly against real test harnesses:
|
|
301
304
|
|
|
302
305
|
```bash
|
|
@@ -309,7 +312,9 @@ tk optimize-skill --target ./skills/auth-security.md "npm run test:auth" --epoch
|
|
|
309
312
|
- **Genetic Promotion**: Passing harness tests promote winning candidates as the new baseline.
|
|
310
313
|
|
|
311
314
|
### 4. ⚡ Compiled Rust Core (`tribunal-core`)
|
|
315
|
+
|
|
312
316
|
Heavy computation is delegated to a native Rust binary:
|
|
317
|
+
|
|
313
318
|
- **Zero-Latency Hash Manifests**: File synchronization uses SHA-256 incremental hash diffs, speeding up CLI sync by **95%**.
|
|
314
319
|
- **Semaphore-Bounded Parallelism**: Fully concurrent thread pools (64 in Rust, 32 in Node.js) eliminate resource starvation in massive monorepos.
|
|
315
320
|
|
|
@@ -346,6 +351,7 @@ graph LR
|
|
|
346
351
|
</details>
|
|
347
352
|
|
|
348
353
|
### Reviewer Swarms Include:
|
|
354
|
+
|
|
349
355
|
- **`logic-reviewer`** · Semantic soundness & impossible logic checks.
|
|
350
356
|
- **`security-auditor`** · Payload boundaries, injection & OWASP scanning.
|
|
351
357
|
- **`resilience-reviewer`** · Async error boundaries and retry logic.
|
|
@@ -404,6 +410,7 @@ Tribunal Kit hosts an out-of-the-box **MCP server** via stdio. Connect it to Cur
|
|
|
404
410
|
```
|
|
405
411
|
|
|
406
412
|
### Exposed MCP Tools:
|
|
413
|
+
|
|
407
414
|
- `query_semantic_graph` — Queries active project AST and dependency edges.
|
|
408
415
|
- `verify_contracts` — Verifies proposed code against team contract rules before writing to disk.
|
|
409
416
|
- `get_tribunal_skill` — Dynamically injects skills without overloading system prompts.
|
package/bin/adapter-install.js
CHANGED
|
@@ -204,7 +204,7 @@ function main() {
|
|
|
204
204
|
console.log('');
|
|
205
205
|
console.log('┌─────────────────────────────────────────────┐');
|
|
206
206
|
console.log('│ 🔱 Tribunal Kit — Universal Agent Adapter │');
|
|
207
|
-
console.log('│ v9.
|
|
207
|
+
console.log('│ v9.2.3 · 52 specialists · 185 skills │');
|
|
208
208
|
console.log('└─────────────────────────────────────────────┘');
|
|
209
209
|
console.log('');
|
|
210
210
|
|
package/bin/mcp-server.js
CHANGED
|
@@ -55,6 +55,9 @@ class ToolRepeatGuard {
|
|
|
55
55
|
}
|
|
56
56
|
return sorted;
|
|
57
57
|
}
|
|
58
|
+
if (typeof obj === 'string') {
|
|
59
|
+
return obj.trim().toLowerCase().replace(/\s+/g, ' ');
|
|
60
|
+
}
|
|
58
61
|
return obj;
|
|
59
62
|
};
|
|
60
63
|
|
|
@@ -570,7 +573,8 @@ async function handleRequest(req) {
|
|
|
570
573
|
properties: {
|
|
571
574
|
url: {
|
|
572
575
|
type: 'string',
|
|
573
|
-
description:
|
|
576
|
+
description:
|
|
577
|
+
'The target URL to inspect (e.g. http://localhost:3000 or https://example.com)',
|
|
574
578
|
},
|
|
575
579
|
},
|
|
576
580
|
required: ['url'],
|
|
@@ -610,7 +614,8 @@ async function handleRequest(req) {
|
|
|
610
614
|
},
|
|
611
615
|
maxDiffPercent: {
|
|
612
616
|
type: 'number',
|
|
613
|
-
description:
|
|
617
|
+
description:
|
|
618
|
+
'Maximum allowable difference percentage before failing (default: 1.0)',
|
|
614
619
|
},
|
|
615
620
|
},
|
|
616
621
|
required: ['url1', 'url2'],
|
|
@@ -619,8 +624,7 @@ async function handleRequest(req) {
|
|
|
619
624
|
},
|
|
620
625
|
{
|
|
621
626
|
name: 'tk_browser_screenshot',
|
|
622
|
-
description:
|
|
623
|
-
'Captures a viewport screenshot of a target URL as base64 PNG data.',
|
|
627
|
+
description: 'Captures a viewport screenshot of a target URL as base64 PNG data.',
|
|
624
628
|
inputSchema: {
|
|
625
629
|
type: 'object',
|
|
626
630
|
properties: {
|
|
@@ -646,7 +650,8 @@ async function handleRequest(req) {
|
|
|
646
650
|
},
|
|
647
651
|
selector: {
|
|
648
652
|
type: 'string',
|
|
649
|
-
description:
|
|
653
|
+
description:
|
|
654
|
+
'CSS selector matching the element (e.g. button.primary or #pricing-card)',
|
|
650
655
|
},
|
|
651
656
|
name: {
|
|
652
657
|
type: 'string',
|
|
@@ -670,7 +675,8 @@ async function handleRequest(req) {
|
|
|
670
675
|
},
|
|
671
676
|
verify: {
|
|
672
677
|
type: 'boolean',
|
|
673
|
-
description:
|
|
678
|
+
description:
|
|
679
|
+
'If true, verifies whether previously reported runtime errors have cleared',
|
|
674
680
|
},
|
|
675
681
|
},
|
|
676
682
|
required: ['url'],
|
|
@@ -696,7 +702,7 @@ async function handleRequest(req) {
|
|
|
696
702
|
{
|
|
697
703
|
name: 'tribunal_get_context',
|
|
698
704
|
description:
|
|
699
|
-
|
|
705
|
+
"Generate or retrieve an elite Flight Data HUD context dossier for any file, multi-file pair, or directory. Automatically extracts public API contracts, callers, Chesterton's Fences, invariants, and test recipes. Supports drift checking and living vault sync.",
|
|
700
706
|
inputSchema: {
|
|
701
707
|
type: 'object',
|
|
702
708
|
properties: {
|
|
@@ -710,7 +716,8 @@ async function handleRequest(req) {
|
|
|
710
716
|
},
|
|
711
717
|
write: {
|
|
712
718
|
type: 'boolean',
|
|
713
|
-
description:
|
|
719
|
+
description:
|
|
720
|
+
'Whether to write the generated dossier to docs/context/ and update INDEX.md (default: true).',
|
|
714
721
|
},
|
|
715
722
|
check: {
|
|
716
723
|
type: 'boolean',
|
|
@@ -741,67 +748,62 @@ async function handleRequest(req) {
|
|
|
741
748
|
const check = req.params?.arguments?.check;
|
|
742
749
|
|
|
743
750
|
try {
|
|
744
|
-
const compiler = require('../scripts/context_compiler');
|
|
745
751
|
const workspaceRoot = process.cwd();
|
|
746
|
-
|
|
752
|
+
|
|
747
753
|
if (check) {
|
|
748
|
-
const
|
|
754
|
+
const { spawn } = require('child_process');
|
|
755
|
+
const result = await new Promise((resolve, reject) => {
|
|
756
|
+
const child = spawn(process.execPath, [path.join(__dirname, '../scripts/context_compiler.js'), '--check', '--json'], { cwd: workspaceRoot, encoding: 'utf8' });
|
|
757
|
+
let out = '';
|
|
758
|
+
child.stdout.on('data', d => out += d);
|
|
759
|
+
child.stderr.on('data', d => out += d);
|
|
760
|
+
child.on('close', code => resolve(out));
|
|
761
|
+
child.on('error', reject);
|
|
762
|
+
});
|
|
749
763
|
return {
|
|
750
764
|
content: [
|
|
751
765
|
{
|
|
752
766
|
type: 'text',
|
|
753
|
-
text:
|
|
767
|
+
text: result,
|
|
754
768
|
},
|
|
755
769
|
],
|
|
756
770
|
};
|
|
757
771
|
}
|
|
758
772
|
|
|
759
|
-
if (target && compareWith) {
|
|
760
|
-
const bridge = compiler.analyzeMultiFileBridge(target, compareWith, workspaceRoot);
|
|
761
|
-
const md = compiler.renderBridgeDossier(bridge);
|
|
762
|
-
if (write) {
|
|
763
|
-
const outName = `${path.basename(target).replace(/\.[^.]+$/, '')}__${path.basename(compareWith).replace(/\.[^.]+$/, '')}.bridge.md`;
|
|
764
|
-
const dest = path.join(workspaceRoot, 'docs', 'context', outName);
|
|
765
|
-
fs.mkdirSync(path.dirname(dest), { recursive: true });
|
|
766
|
-
fs.writeFileSync(dest, md, 'utf8');
|
|
767
|
-
compiler.syncVaultIndex(workspaceRoot);
|
|
768
|
-
}
|
|
769
|
-
return {
|
|
770
|
-
content: [{ type: 'text', text: md }],
|
|
771
|
-
};
|
|
772
|
-
}
|
|
773
|
-
|
|
774
773
|
if (!target) {
|
|
775
|
-
throw new RpcError(
|
|
774
|
+
throw new RpcError(
|
|
775
|
+
-32602,
|
|
776
|
+
'Missing required argument: target (file or directory path)',
|
|
777
|
+
);
|
|
776
778
|
}
|
|
777
779
|
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
fs.writeFileSync(dest, md, 'utf8');
|
|
787
|
-
compiler.syncVaultIndex(workspaceRoot);
|
|
788
|
-
}
|
|
789
|
-
return {
|
|
790
|
-
content: [{ type: 'text', text: md }],
|
|
791
|
-
};
|
|
780
|
+
// We use scripts/context_compiler.js to parse AST without blocking the event loop
|
|
781
|
+
const { spawn } = require('child_process');
|
|
782
|
+
const args = [path.join(__dirname, '../scripts/context_compiler.js')];
|
|
783
|
+
|
|
784
|
+
if (compareWith) {
|
|
785
|
+
args.push('--multi', target, compareWith);
|
|
786
|
+
} else {
|
|
787
|
+
args.push(target);
|
|
792
788
|
}
|
|
793
|
-
|
|
794
|
-
const fileData = compiler.analyzeSingleFile(target, workspaceRoot);
|
|
795
|
-
const md = compiler.renderSingleFileDossier(fileData);
|
|
789
|
+
|
|
796
790
|
if (write) {
|
|
797
|
-
|
|
798
|
-
const dest = path.join(workspaceRoot, 'docs', 'context', outName);
|
|
799
|
-
fs.mkdirSync(path.dirname(dest), { recursive: true });
|
|
800
|
-
fs.writeFileSync(dest, md, 'utf8');
|
|
801
|
-
compiler.syncVaultIndex(workspaceRoot);
|
|
791
|
+
args.push('--write');
|
|
802
792
|
}
|
|
793
|
+
|
|
794
|
+
const result = await new Promise((resolve, reject) => {
|
|
795
|
+
const child = spawn(process.execPath, args, { cwd: workspaceRoot, encoding: 'utf8' });
|
|
796
|
+
let out = '';
|
|
797
|
+
child.stdout.on('data', d => out += d);
|
|
798
|
+
child.stderr.on('data', d => out += d);
|
|
799
|
+
child.on('close', code => {
|
|
800
|
+
resolve(out);
|
|
801
|
+
});
|
|
802
|
+
child.on('error', reject);
|
|
803
|
+
});
|
|
804
|
+
|
|
803
805
|
return {
|
|
804
|
-
content: [{ type: 'text', text:
|
|
806
|
+
content: [{ type: 'text', text: result }],
|
|
805
807
|
};
|
|
806
808
|
} catch (e) {
|
|
807
809
|
return {
|
|
@@ -973,9 +975,7 @@ async function handleRequest(req) {
|
|
|
973
975
|
}
|
|
974
976
|
try {
|
|
975
977
|
const { captureRuntimeErrors, verifyRuntimeFix } = require('../dist/browser');
|
|
976
|
-
const result = verify
|
|
977
|
-
? await verifyRuntimeFix(url)
|
|
978
|
-
: await captureRuntimeErrors(url);
|
|
978
|
+
const result = verify ? await verifyRuntimeFix(url) : await captureRuntimeErrors(url);
|
|
979
979
|
return {
|
|
980
980
|
content: [
|
|
981
981
|
{
|
|
@@ -1324,10 +1324,40 @@ async function handleRequest(req) {
|
|
|
1324
1324
|
}
|
|
1325
1325
|
|
|
1326
1326
|
try {
|
|
1327
|
-
const
|
|
1328
|
-
const {
|
|
1329
|
-
const
|
|
1330
|
-
|
|
1327
|
+
const workspaceRoot = process.cwd();
|
|
1328
|
+
const { spawn } = require('child_process');
|
|
1329
|
+
const args = [path.join(__dirname, 'wrapper.js'), 'context-broker', '--repo-path', workspaceRoot];
|
|
1330
|
+
if (files && files.length > 0) {
|
|
1331
|
+
args.push('--target-file');
|
|
1332
|
+
args.push(files[0]);
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
const result = await new Promise((resolve, reject) => {
|
|
1336
|
+
const child = spawn(process.execPath, args, { cwd: workspaceRoot, encoding: 'utf8' });
|
|
1337
|
+
let out = '';
|
|
1338
|
+
child.stdout.on('data', d => out += d);
|
|
1339
|
+
child.stderr.on('data', d => out += d);
|
|
1340
|
+
child.on('close', code => {
|
|
1341
|
+
resolve(out);
|
|
1342
|
+
});
|
|
1343
|
+
child.on('error', reject);
|
|
1344
|
+
});
|
|
1345
|
+
|
|
1346
|
+
let finalOutput = '';
|
|
1347
|
+
try {
|
|
1348
|
+
const parsed = JSON.parse(result);
|
|
1349
|
+
finalOutput = `# Tribunal Context Broker\n\n`;
|
|
1350
|
+
if (task) {
|
|
1351
|
+
finalOutput += `Task: ${task}\n\n`;
|
|
1352
|
+
}
|
|
1353
|
+
if (parsed.context_snapshot) {
|
|
1354
|
+
finalOutput += parsed.context_snapshot;
|
|
1355
|
+
}
|
|
1356
|
+
} catch (e) {
|
|
1357
|
+
finalOutput = result;
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
return { content: [{ type: 'text', text: stripBoilerplate(finalOutput) }] };
|
|
1331
1361
|
} catch (e) {
|
|
1332
1362
|
return {
|
|
1333
1363
|
content: [{ type: 'text', text: `Failed to retrieve sparse context: ${e.message}` }],
|
package/bin/wrapper.js
CHANGED
|
@@ -28,13 +28,25 @@ const RUST_COMMANDS = new Set([
|
|
|
28
28
|
'optimize-step',
|
|
29
29
|
'impact-tier',
|
|
30
30
|
'sdd',
|
|
31
|
+
'fitness',
|
|
32
|
+
'telemetry-record',
|
|
33
|
+
'telemetry-summary',
|
|
34
|
+
'resolve-skills',
|
|
35
|
+
'heatmap',
|
|
36
|
+
'pollinate',
|
|
37
|
+
'leaderboard',
|
|
38
|
+
'benchmark',
|
|
39
|
+
'genome',
|
|
40
|
+
'compile',
|
|
41
|
+
'purge',
|
|
42
|
+
'ast-extract',
|
|
31
43
|
]);
|
|
32
44
|
|
|
33
45
|
// Determine the path to the compiled Rust binary
|
|
34
46
|
// In a full production release, this checks optionalDependencies in node_modules
|
|
35
47
|
// For development, it checks the local target/release folder
|
|
36
48
|
function getBinaryPath() {
|
|
37
|
-
if (process.env.TRIBUNAL_FORCE_JS === '1') {
|
|
49
|
+
if (process.env.TRIBUNAL_FORCE_JS === '1' || process.env.TRIBUNAL_FORCE_JS === 'true') {
|
|
38
50
|
return null;
|
|
39
51
|
}
|
|
40
52
|
|
|
@@ -188,4 +200,12 @@ function main() {
|
|
|
188
200
|
runLegacyFallback();
|
|
189
201
|
}
|
|
190
202
|
|
|
191
|
-
main
|
|
203
|
+
if (require.main === module) {
|
|
204
|
+
main();
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
module.exports = {
|
|
208
|
+
getBinaryPath,
|
|
209
|
+
runRustBinary,
|
|
210
|
+
RUST_COMMANDS,
|
|
211
|
+
};
|
package/dist/commands/init.js
CHANGED
|
@@ -263,6 +263,20 @@ async function generateIDEBridges(targetDir, agentDest, dryRun = false, isMinima
|
|
|
263
263
|
catch {
|
|
264
264
|
// rules file doesn't exist
|
|
265
265
|
}
|
|
266
|
+
// Bridge files consume the high-density kernel rules to save tokens, falling back to GEMINI.md
|
|
267
|
+
const kernelFile = path_1.default.join(agentDest, 'rules', 'kernel.md');
|
|
268
|
+
let bridgeRulesContent = '';
|
|
269
|
+
let bridgeSource = rulesFilename;
|
|
270
|
+
try {
|
|
271
|
+
bridgeRulesContent = await fs_1.default.promises.readFile(kernelFile, 'utf8');
|
|
272
|
+
bridgeSource = 'kernel.md';
|
|
273
|
+
}
|
|
274
|
+
catch {
|
|
275
|
+
bridgeRulesContent = rulesContent;
|
|
276
|
+
}
|
|
277
|
+
if (!bridgeRulesContent) {
|
|
278
|
+
bridgeRulesContent = rulesContent;
|
|
279
|
+
}
|
|
266
280
|
// Helper: write a bridge file only if it doesn't already exist
|
|
267
281
|
const writeBridge = async (filePath, content, label) => {
|
|
268
282
|
if (dryRun) {
|
|
@@ -285,16 +299,16 @@ async function generateIDEBridges(targetDir, agentDest, dryRun = false, isMinima
|
|
|
285
299
|
// ── 1. Cursor (.cursorrules) ──────────────────────────
|
|
286
300
|
const cursorRules = `# Tribunal Kit — Cursor Bridge
|
|
287
301
|
# Auto-generated by tribunal-kit init. Do not edit manually.
|
|
288
|
-
# Source: .agent/rules/${
|
|
302
|
+
# Source: .agent/rules/${bridgeSource}
|
|
289
303
|
|
|
290
|
-
${
|
|
304
|
+
${bridgeRulesContent}
|
|
291
305
|
`;
|
|
292
306
|
// ── 2. Windsurf (.windsurfrules) ─────────────────────
|
|
293
307
|
const windsurfRules = `# Tribunal Kit — Windsurf Bridge
|
|
294
308
|
# Auto-generated by tribunal-kit init. Do not edit manually.
|
|
295
|
-
# Source: .agent/rules/${
|
|
309
|
+
# Source: .agent/rules/${bridgeSource}
|
|
296
310
|
|
|
297
|
-
${
|
|
311
|
+
${bridgeRulesContent}
|
|
298
312
|
`;
|
|
299
313
|
// ── 3. Gemini / Antigravity (.gemini/settings.json) ──
|
|
300
314
|
const geminiSettings = JSON.stringify({
|
|
@@ -314,28 +328,28 @@ trigger: always_on
|
|
|
314
328
|
# Auto-generated by tribunal-kit init.
|
|
315
329
|
# Full rules: .agent/rules/${rulesFilename}
|
|
316
330
|
|
|
317
|
-
${
|
|
331
|
+
${bridgeRulesContent}
|
|
318
332
|
`;
|
|
319
333
|
// ── 4. GitHub Copilot (.github/copilot-instructions.md) ──
|
|
320
334
|
const copilotInstructions = `# Tribunal Kit — Copilot Bridge
|
|
321
335
|
# Auto-generated by tribunal-kit init. Do not edit manually.
|
|
322
|
-
# Source: .agent/rules/${
|
|
336
|
+
# Source: .agent/rules/${bridgeSource}
|
|
323
337
|
|
|
324
|
-
${
|
|
338
|
+
${bridgeRulesContent}
|
|
325
339
|
`;
|
|
326
340
|
// ── 5. Claude (.claude/CLAUDE.md & CLAUDE.md) ───────
|
|
327
341
|
const claudeRules = `# Tribunal Kit — Claude Bridge
|
|
328
342
|
# Auto-generated by tribunal-kit init. Do not edit manually.
|
|
329
|
-
# Source: .agent/rules/${
|
|
343
|
+
# Source: .agent/rules/${bridgeSource}
|
|
330
344
|
|
|
331
|
-
${
|
|
345
|
+
${bridgeRulesContent}
|
|
332
346
|
`;
|
|
333
347
|
// ── 6. Codex & Universal Agents (AGENTS.md) ──────────
|
|
334
348
|
const codexRules = `# Tribunal Kit — Codex Bridge
|
|
335
349
|
# Auto-generated by tribunal-kit init. Do not edit manually.
|
|
336
|
-
# Source: .agent/rules/${
|
|
350
|
+
# Source: .agent/rules/${bridgeSource}
|
|
337
351
|
|
|
338
|
-
${
|
|
352
|
+
${bridgeRulesContent}
|
|
339
353
|
`;
|
|
340
354
|
// Fire ALL bridge writes concurrently via Promise.all
|
|
341
355
|
const bridges = [
|
package/dist/tui/banner.js
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Minimalist framed header cards and status banners.
|
|
5
|
-
* Parity with Brainless & Claude Code design tokens.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
const { isTTY, hasColor, hasTrueColor, RGB, GLYPHS, color, bold, getColumns } = require('./theme');
|
|
9
|
-
|
|
10
|
-
function renderBanner(version = '9.
|
|
11
|
-
if (quiet) return;
|
|
12
|
-
if (!isTTY && !hasColor) {
|
|
13
|
-
console.error(`TRIBUNAL-KIT v${version} — Anti-Hallucination Governance Layer`);
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const g = GLYPHS;
|
|
18
|
-
const cols = getColumns();
|
|
19
|
-
const width = Math.min(84, Math.max(64, cols));
|
|
20
|
-
const innerWidth = width - 4;
|
|
21
|
-
|
|
22
|
-
const titleLeft = `🛡️ TRIBUNAL-KIT v${version}`;
|
|
23
|
-
const rightPill = '[Fortress Mode · ⚡ Rust Core]';
|
|
24
|
-
const leftLen = titleLeft.length; // emojis and text
|
|
25
|
-
const rightLen = rightPill.length;
|
|
26
|
-
|
|
27
|
-
const spaces = innerWidth > leftLen + rightLen ? innerWidth - (leftLen + rightLen) : 2;
|
|
28
|
-
|
|
29
|
-
const borderTop = ` ${g.boxTl}${g.boxH.repeat(innerWidth + 2)}${g.boxTr}`;
|
|
30
|
-
const borderBottom = ` ${g.boxBl}${g.boxH.repeat(innerWidth + 2)}${g.boxBr}`;
|
|
31
|
-
|
|
32
|
-
const coloredBorderTop = color(RGB.SLATE_700, borderTop);
|
|
33
|
-
const coloredBorderBottom = color(RGB.SLATE_700, borderBottom);
|
|
34
|
-
const pipe = color(RGB.SLATE_700, g.boxV);
|
|
35
|
-
|
|
36
|
-
// Gradient title line
|
|
37
|
-
let boldTitle;
|
|
38
|
-
if (hasTrueColor) {
|
|
39
|
-
let res = '🛡️ ';
|
|
40
|
-
const text = `TRIBUNAL-KIT v${version}`;
|
|
41
|
-
const len = text.length;
|
|
42
|
-
for (let i = 0; i < len; i++) {
|
|
43
|
-
const ratio = i / len;
|
|
44
|
-
const r = 255;
|
|
45
|
-
const gVal = Math.floor(105 + ratio * 80);
|
|
46
|
-
const bVal = Math.floor(74 - ratio * 30);
|
|
47
|
-
res += `\x1b[38;2;${r};${gVal};${bVal}m\x1b[1m${text[i]}\x1b[0m`;
|
|
48
|
-
}
|
|
49
|
-
boldTitle = res;
|
|
50
|
-
} else {
|
|
51
|
-
boldTitle = bold(titleLeft);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
const coloredRightPill = color(RGB.ZINC_500, rightPill);
|
|
55
|
-
const subtitle = 'Autonomous Anti-Hallucination Governance Layer for AI Coding Agents';
|
|
56
|
-
const subSpaces = Math.max(0, innerWidth - subtitle.length);
|
|
57
|
-
const coloredSubtitle = color(RGB.ZINC_400, subtitle);
|
|
58
|
-
|
|
59
|
-
console.log();
|
|
60
|
-
console.log(coloredBorderTop);
|
|
61
|
-
console.log(` ${pipe} ${boldTitle}${' '.repeat(spaces)}${coloredRightPill} ${pipe}`);
|
|
62
|
-
console.log(` ${pipe} ${coloredSubtitle}${' '.repeat(subSpaces)} ${pipe}`);
|
|
63
|
-
console.log(coloredBorderBottom);
|
|
64
|
-
console.log();
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
function renderSectionHeader(title) {
|
|
68
|
-
const g = GLYPHS;
|
|
69
|
-
const prefix = color(RGB.FLAME, g.chevron);
|
|
70
|
-
const boldTitle = bold(title);
|
|
71
|
-
console.log(` ${prefix} ${boldTitle}`);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
module.exports = {
|
|
75
|
-
renderBanner,
|
|
76
|
-
renderSectionHeader,
|
|
77
|
-
};
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Minimalist framed header cards and status banners.
|
|
5
|
+
* Parity with Brainless & Claude Code design tokens.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const { isTTY, hasColor, hasTrueColor, RGB, GLYPHS, color, bold, getColumns } = require('./theme');
|
|
9
|
+
|
|
10
|
+
function renderBanner(version = '9.2.3', quiet = false) {
|
|
11
|
+
if (quiet) return;
|
|
12
|
+
if (!isTTY && !hasColor) {
|
|
13
|
+
console.error(`TRIBUNAL-KIT v${version} — Anti-Hallucination Governance Layer`);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const g = GLYPHS;
|
|
18
|
+
const cols = getColumns();
|
|
19
|
+
const width = Math.min(84, Math.max(64, cols));
|
|
20
|
+
const innerWidth = width - 4;
|
|
21
|
+
|
|
22
|
+
const titleLeft = `🛡️ TRIBUNAL-KIT v${version}`;
|
|
23
|
+
const rightPill = '[Fortress Mode · ⚡ Rust Core]';
|
|
24
|
+
const leftLen = titleLeft.length; // emojis and text
|
|
25
|
+
const rightLen = rightPill.length;
|
|
26
|
+
|
|
27
|
+
const spaces = innerWidth > leftLen + rightLen ? innerWidth - (leftLen + rightLen) : 2;
|
|
28
|
+
|
|
29
|
+
const borderTop = ` ${g.boxTl}${g.boxH.repeat(innerWidth + 2)}${g.boxTr}`;
|
|
30
|
+
const borderBottom = ` ${g.boxBl}${g.boxH.repeat(innerWidth + 2)}${g.boxBr}`;
|
|
31
|
+
|
|
32
|
+
const coloredBorderTop = color(RGB.SLATE_700, borderTop);
|
|
33
|
+
const coloredBorderBottom = color(RGB.SLATE_700, borderBottom);
|
|
34
|
+
const pipe = color(RGB.SLATE_700, g.boxV);
|
|
35
|
+
|
|
36
|
+
// Gradient title line
|
|
37
|
+
let boldTitle;
|
|
38
|
+
if (hasTrueColor) {
|
|
39
|
+
let res = '🛡️ ';
|
|
40
|
+
const text = `TRIBUNAL-KIT v${version}`;
|
|
41
|
+
const len = text.length;
|
|
42
|
+
for (let i = 0; i < len; i++) {
|
|
43
|
+
const ratio = i / len;
|
|
44
|
+
const r = 255;
|
|
45
|
+
const gVal = Math.floor(105 + ratio * 80);
|
|
46
|
+
const bVal = Math.floor(74 - ratio * 30);
|
|
47
|
+
res += `\x1b[38;2;${r};${gVal};${bVal}m\x1b[1m${text[i]}\x1b[0m`;
|
|
48
|
+
}
|
|
49
|
+
boldTitle = res;
|
|
50
|
+
} else {
|
|
51
|
+
boldTitle = bold(titleLeft);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const coloredRightPill = color(RGB.ZINC_500, rightPill);
|
|
55
|
+
const subtitle = 'Autonomous Anti-Hallucination Governance Layer for AI Coding Agents';
|
|
56
|
+
const subSpaces = Math.max(0, innerWidth - subtitle.length);
|
|
57
|
+
const coloredSubtitle = color(RGB.ZINC_400, subtitle);
|
|
58
|
+
|
|
59
|
+
console.log();
|
|
60
|
+
console.log(coloredBorderTop);
|
|
61
|
+
console.log(` ${pipe} ${boldTitle}${' '.repeat(spaces)}${coloredRightPill} ${pipe}`);
|
|
62
|
+
console.log(` ${pipe} ${coloredSubtitle}${' '.repeat(subSpaces)} ${pipe}`);
|
|
63
|
+
console.log(coloredBorderBottom);
|
|
64
|
+
console.log();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
function renderSectionHeader(title) {
|
|
68
|
+
const g = GLYPHS;
|
|
69
|
+
const prefix = color(RGB.FLAME, g.chevron);
|
|
70
|
+
const boldTitle = bold(title);
|
|
71
|
+
console.log(` ${prefix} ${boldTitle}`);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
module.exports = {
|
|
75
|
+
renderBanner,
|
|
76
|
+
renderSectionHeader,
|
|
77
|
+
};
|
package/gemini-extension.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tribunal-kit",
|
|
3
3
|
"description": "Enterprise-grade governance layer and anti-hallucination engine: 52 specialists, 28 parallel reviewers, Rust core, and SDD workflows.",
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.2.3",
|
|
5
5
|
"contextFileName": ".agent/rules/GEMINI.md"
|
|
6
6
|
}
|