tribunal-kit 9.2.3 → 9.2.4
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/.tribunal/session.jsonl +15 -0
- package/.agent/ARCHITECTURE.md +4 -4
- package/.agent/agents/agent-shield-auditor.md +18 -0
- package/.agent/agents/harness-manager.md +49 -0
- package/.agent/agents/human-gate-negotiator.md +22 -0
- package/.agent/agents/kernel-scheduler.md +56 -0
- package/.agent/agents/memory-archivist.md +37 -0
- package/.agent/agents/orchestrator.md +5 -0
- package/.agent/agents/project-planner.md +5 -0
- package/.agent/agents/security-auditor.md +5 -0
- package/.agent/rules/GEMINI.md +1 -1
- package/.agent/scripts/_utils.js +1 -1
- package/.agent/scripts/checklist.js +1 -1
- package/.agent/scripts/context_compiler.js +1 -1
- package/.agent/scripts/guardrail_engine.js +1 -1
- package/.agent/scripts/harness_manager.js +60 -0
- package/.agent/scripts/lint_runner.js +1 -1
- package/.agent/scripts/mcp_server.js +181 -0
- package/.agent/scripts/memory_archivist.js +97 -0
- package/.agent/scripts/memory_consolidator.js +37 -0
- package/.agent/scripts/memory_engine.js +61 -21
- package/.agent/scripts/pipeline_engine.js +17 -2
- package/.agent/scripts/session_logger.js +115 -0
- package/.agent/scripts/session_manager.js +10 -0
- package/.agent/scripts/swarm_dispatcher.js +74 -1
- package/.agent/scripts/syscall_registry.js +105 -0
- package/.agent/scripts/test_runner.js +1 -1
- package/.agent/scripts/verify_all.js +2 -2
- package/.agent/skill_topic_map.json +28 -1
- package/.agent/skills/agent-syscall-guidelines/SKILL.md +25 -0
- package/.agent/skills/agentic-workflows-2026/SKILL.md +8 -0
- package/.agent/skills/agentshield-security/SKILL.md +26 -0
- package/.agent/skills/context-engineering-pro/SKILL.md +7 -0
- package/.agent/skills/fabel-protocol/SKILL.md +5 -0
- package/.agent/skills/graph-engineering/SKILL.md +28 -0
- package/.agent/skills/harness-protocol/SKILL.md +8 -0
- package/.agent/skills/hf-cli/SKILL.md +239 -0
- package/.agent/skills/hf-cloud-aws-context-discovery/SKILL.md +74 -0
- package/.agent/skills/hf-cloud-python-env-setup/SKILL.md +90 -0
- package/.agent/skills/hf-cloud-python-env-setup/requirements.txt +17 -0
- package/.agent/skills/hf-cloud-python-env-setup/scripts/check_versions.py +29 -0
- package/.agent/skills/hf-cloud-python-env-setup/scripts/setup_env.py +143 -0
- package/.agent/skills/hf-cloud-sagemaker-deployment-planner/SKILL.md +90 -0
- package/.agent/skills/hf-cloud-sagemaker-iam-preflight/SKILL.md +102 -0
- package/.agent/skills/hf-cloud-sagemaker-iam-preflight/references/minimum-permissions.json +47 -0
- package/.agent/skills/hf-cloud-sagemaker-iam-preflight/references/trust-policy.json +12 -0
- package/.agent/skills/hf-cloud-sagemaker-iam-preflight/scripts/check_role.py +184 -0
- package/.agent/skills/hf-cloud-sagemaker-iam-preflight/scripts/create_role.py +118 -0
- package/.agent/skills/hf-cloud-sagemaker-production-defaults/SKILL.md +419 -0
- package/.agent/skills/hf-cloud-sagemaker-production-defaults/references/deployment-template.md +59 -0
- package/.agent/skills/hf-cloud-sagemaker-production-defaults/scripts/_common.py +148 -0
- package/.agent/skills/hf-cloud-sagemaker-production-defaults/scripts/deploy.py +327 -0
- package/.agent/skills/hf-cloud-sagemaker-production-defaults/scripts/deploy_async.py +434 -0
- package/.agent/skills/hf-cloud-sagemaker-production-defaults/scripts/deploy_ic.py +506 -0
- package/.agent/skills/hf-cloud-sagemaker-production-defaults/scripts/invoke_endpoint.py +180 -0
- package/.agent/skills/hf-cloud-sagemaker-production-defaults/scripts/teardown.py +246 -0
- package/.agent/skills/hf-cloud-serving-image-selection/SKILL.md +220 -0
- package/.agent/skills/hf-cloud-serving-image-selection/references/model-to-image.md +111 -0
- package/.agent/skills/hf-cloud-serving-image-selection/scripts/mirror_image.py +145 -0
- package/.agent/skills/hf-mem/SKILL.md +79 -0
- package/.agent/skills/huggingface-best/SKILL.md +134 -0
- package/.agent/skills/huggingface-community-evals/SKILL.md +207 -0
- package/.agent/skills/huggingface-community-evals/examples/.env.example +3 -0
- package/.agent/skills/huggingface-community-evals/examples/USAGE_EXAMPLES.md +101 -0
- package/.agent/skills/huggingface-community-evals/scripts/inspect_eval_uv.py +104 -0
- package/.agent/skills/huggingface-community-evals/scripts/inspect_vllm_uv.py +306 -0
- package/.agent/skills/huggingface-community-evals/scripts/lighteval_vllm_uv.py +297 -0
- package/.agent/skills/huggingface-datasets/SKILL.md +107 -0
- package/.agent/skills/huggingface-gradio/SKILL.md +298 -0
- package/.agent/skills/huggingface-gradio/examples.md +613 -0
- package/.agent/skills/huggingface-llm-trainer/SKILL.md +738 -0
- package/.agent/skills/huggingface-llm-trainer/references/gguf_conversion.md +296 -0
- package/.agent/skills/huggingface-llm-trainer/references/hardware_guide.md +283 -0
- package/.agent/skills/huggingface-llm-trainer/references/hub_saving.md +364 -0
- package/.agent/skills/huggingface-llm-trainer/references/local_training_macos.md +231 -0
- package/.agent/skills/huggingface-llm-trainer/references/reliability_principles.md +371 -0
- package/.agent/skills/huggingface-llm-trainer/references/trackio_guide.md +191 -0
- package/.agent/skills/huggingface-llm-trainer/references/training_methods.md +150 -0
- package/.agent/skills/huggingface-llm-trainer/references/training_patterns.md +203 -0
- package/.agent/skills/huggingface-llm-trainer/references/troubleshooting.md +282 -0
- package/.agent/skills/huggingface-llm-trainer/references/unsloth.md +313 -0
- package/.agent/skills/huggingface-llm-trainer/scripts/convert_to_gguf.py +424 -0
- package/.agent/skills/huggingface-llm-trainer/scripts/dataset_inspector.py +417 -0
- package/.agent/skills/huggingface-llm-trainer/scripts/estimate_cost.py +150 -0
- package/.agent/skills/huggingface-llm-trainer/scripts/hf_benchmarks.py +659 -0
- package/.agent/skills/huggingface-llm-trainer/scripts/train_dpo_example.py +106 -0
- package/.agent/skills/huggingface-llm-trainer/scripts/train_grpo_example.py +89 -0
- package/.agent/skills/huggingface-llm-trainer/scripts/train_sft_example.py +122 -0
- package/.agent/skills/huggingface-llm-trainer/scripts/unsloth_sft_example.py +512 -0
- package/.agent/skills/huggingface-local-models/SKILL.md +113 -0
- package/.agent/skills/huggingface-local-models/references/hardware.md +38 -0
- package/.agent/skills/huggingface-local-models/references/hub-discovery.md +178 -0
- package/.agent/skills/huggingface-local-models/references/quantization.md +256 -0
- package/.agent/skills/huggingface-lora-space-builder/SKILL.md +394 -0
- package/.agent/skills/huggingface-lora-space-builder/references/adapting-to-the-lora.md +113 -0
- package/.agent/skills/huggingface-lora-space-builder/references/base-models/krea-2.md +63 -0
- package/.agent/skills/huggingface-lora-space-builder/references/base-models/ltx.md +205 -0
- package/.agent/skills/huggingface-lora-space-builder/references/base-models/qwen-image.md +144 -0
- package/.agent/skills/huggingface-lora-space-builder/references/creative-mode.md +262 -0
- package/.agent/skills/huggingface-lora-space-builder/references/tasks.md +124 -0
- package/.agent/skills/huggingface-lora-space-builder/references/zerogpu-and-publishing.md +196 -0
- package/.agent/skills/huggingface-paper-publisher/SKILL.md +624 -0
- package/.agent/skills/huggingface-paper-publisher/examples/example_usage.md +326 -0
- package/.agent/skills/huggingface-paper-publisher/references/quick_reference.md +216 -0
- package/.agent/skills/huggingface-paper-publisher/scripts/paper_manager.py +606 -0
- package/.agent/skills/huggingface-paper-publisher/templates/arxiv.md +299 -0
- package/.agent/skills/huggingface-paper-publisher/templates/ml-report.md +358 -0
- package/.agent/skills/huggingface-paper-publisher/templates/modern.md +319 -0
- package/.agent/skills/huggingface-paper-publisher/templates/standard.md +201 -0
- package/.agent/skills/huggingface-papers/SKILL.md +239 -0
- package/.agent/skills/huggingface-spaces/README.md +9 -0
- package/.agent/skills/huggingface-spaces/SKILL.md +242 -0
- package/.agent/skills/huggingface-spaces/references/3d-cuda-extensions.md +109 -0
- package/.agent/skills/huggingface-spaces/references/3d-generation.md +98 -0
- package/.agent/skills/huggingface-spaces/references/3d-gsplat.md +53 -0
- package/.agent/skills/huggingface-spaces/references/3d-models.md +227 -0
- package/.agent/skills/huggingface-spaces/references/3d-outputs.md +114 -0
- package/.agent/skills/huggingface-spaces/references/buckets.md +89 -0
- package/.agent/skills/huggingface-spaces/references/debugging.md +236 -0
- package/.agent/skills/huggingface-spaces/references/gradio.md +200 -0
- package/.agent/skills/huggingface-spaces/references/grants.md +63 -0
- package/.agent/skills/huggingface-spaces/references/inference-providers.md +97 -0
- package/.agent/skills/huggingface-spaces/references/known-errors.md +232 -0
- package/.agent/skills/huggingface-spaces/references/requirements.md +169 -0
- package/.agent/skills/huggingface-spaces/references/zerogpu.md +349 -0
- package/.agent/skills/huggingface-tool-builder/SKILL.md +120 -0
- package/.agent/skills/huggingface-tool-builder/references/baseline_hf_api.py +57 -0
- package/.agent/skills/huggingface-tool-builder/references/baseline_hf_api.sh +40 -0
- package/.agent/skills/huggingface-tool-builder/references/baseline_hf_api.tsx +57 -0
- package/.agent/skills/huggingface-tool-builder/references/find_models_by_paper.sh +230 -0
- package/.agent/skills/huggingface-tool-builder/references/hf_enrich_models.sh +96 -0
- package/.agent/skills/huggingface-tool-builder/references/hf_model_card_frontmatter.sh +188 -0
- package/.agent/skills/huggingface-tool-builder/references/hf_model_papers_auth.sh +171 -0
- package/.agent/skills/huggingface-trackio/SKILL.md +142 -0
- package/.agent/skills/huggingface-trackio/references/alerts.md +196 -0
- package/.agent/skills/huggingface-trackio/references/logging_metrics.md +212 -0
- package/.agent/skills/huggingface-trackio/references/retrieving_metrics.md +251 -0
- package/.agent/skills/huggingface-vision-trainer/SKILL.md +593 -0
- package/.agent/skills/huggingface-vision-trainer/references/finetune_sam2_trainer.md +254 -0
- package/.agent/skills/huggingface-vision-trainer/references/hub_saving.md +618 -0
- package/.agent/skills/huggingface-vision-trainer/references/image_classification_training_notebook.md +279 -0
- package/.agent/skills/huggingface-vision-trainer/references/object_detection_training_notebook.md +700 -0
- package/.agent/skills/huggingface-vision-trainer/references/reliability_principles.md +310 -0
- package/.agent/skills/huggingface-vision-trainer/references/timm_trainer.md +91 -0
- package/.agent/skills/huggingface-vision-trainer/scripts/dataset_inspector.py +814 -0
- package/.agent/skills/huggingface-vision-trainer/scripts/estimate_cost.py +217 -0
- package/.agent/skills/huggingface-vision-trainer/scripts/image_classification_training.py +383 -0
- package/.agent/skills/huggingface-vision-trainer/scripts/object_detection_training.py +710 -0
- package/.agent/skills/huggingface-vision-trainer/scripts/sam_segmentation_training.py +382 -0
- package/.agent/skills/huggingface-zerogpu/SKILL.md +289 -0
- package/.agent/skills/huggingface-zerogpu/references/concurrency.md +79 -0
- package/.agent/skills/huggingface-zerogpu/references/cuda-and-deps.md +66 -0
- package/.agent/skills/huggingface-zerogpu/references/how-quota-works.md +74 -0
- package/.agent/skills/huggingface-zerogpu/references/how-zerogpu-works.md +50 -0
- package/.agent/skills/human-gate-negotiation/SKILL.md +30 -0
- package/.agent/skills/intelligent-routing/SKILL.md +10 -4
- package/.agent/skills/semantic-filesystem-navigation/SKILL.md +24 -0
- package/.agent/skills/session-log-interrogation/SKILL.md +29 -0
- package/.agent/skills/subagent-driven-development/SKILL.md +32 -0
- package/.agent/skills/systematic-debugging/SKILL.md +5 -0
- package/.agent/skills/train-sentence-transformers/SKILL.md +109 -0
- package/.agent/skills/train-sentence-transformers/references/base_model_selection.md +79 -0
- package/.agent/skills/train-sentence-transformers/references/dataset_formats.md +128 -0
- package/.agent/skills/train-sentence-transformers/references/evaluators_cross_encoder.md +116 -0
- package/.agent/skills/train-sentence-transformers/references/evaluators_multi_vector_encoder.md +101 -0
- package/.agent/skills/train-sentence-transformers/references/evaluators_sentence_transformer.md +151 -0
- package/.agent/skills/train-sentence-transformers/references/evaluators_sparse_encoder.md +121 -0
- package/.agent/skills/train-sentence-transformers/references/hardware_guide.md +105 -0
- package/.agent/skills/train-sentence-transformers/references/hf_jobs_execution.md +173 -0
- package/.agent/skills/train-sentence-transformers/references/losses_cross_encoder.md +137 -0
- package/.agent/skills/train-sentence-transformers/references/losses_multi_vector_encoder.md +100 -0
- package/.agent/skills/train-sentence-transformers/references/losses_sentence_transformer.md +246 -0
- package/.agent/skills/train-sentence-transformers/references/losses_sparse_encoder.md +106 -0
- package/.agent/skills/train-sentence-transformers/references/model_architectures.md +178 -0
- package/.agent/skills/train-sentence-transformers/references/prompts_and_instructions.md +160 -0
- package/.agent/skills/train-sentence-transformers/references/training_args.md +270 -0
- package/.agent/skills/train-sentence-transformers/references/troubleshooting.md +225 -0
- package/.agent/skills/train-sentence-transformers/scripts/mine_hard_negatives.py +199 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_cross_encoder_distillation_example.py +254 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_cross_encoder_example.py +253 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_cross_encoder_listwise_example.py +282 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_multi_vector_encoder_example.py +240 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_sentence_transformer_distillation_example.py +303 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_sentence_transformer_example.py +227 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_sentence_transformer_make_multilingual_example.py +308 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_sentence_transformer_matryoshka_example.py +212 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_sentence_transformer_multi_dataset_example.py +258 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_sentence_transformer_static_embedding_example.py +273 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_sentence_transformer_with_lora_example.py +275 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_sparse_encoder_distillation_example.py +262 -0
- package/.agent/skills/train-sentence-transformers/scripts/train_sparse_encoder_example.py +237 -0
- package/.agent/skills/transformers-js/SKILL.md +692 -0
- package/.agent/skills/transformers-js/references/CACHE.md +339 -0
- package/.agent/skills/transformers-js/references/CONFIGURATION.md +438 -0
- package/.agent/skills/transformers-js/references/EXAMPLES.md +620 -0
- package/.agent/skills/transformers-js/references/MODEL_ARCHITECTURES.md +167 -0
- package/.agent/skills/transformers-js/references/MODEL_REGISTRY.md +197 -0
- package/.agent/skills/transformers-js/references/PIPELINE_OPTIONS.md +557 -0
- package/.agent/skills/transformers-js/references/TEXT_GENERATION.md +315 -0
- package/.agent/skills/tribunal-instincts-memory/SKILL.md +31 -0
- package/.agent/skills/trl-training/SKILL.md +318 -0
- package/.agent/workflows/assimilate.md +21 -0
- package/.agent/workflows/audit.md +5 -0
- package/.agent/workflows/generate.md +5 -0
- package/.agent/workflows/htop.md +22 -0
- package/.agent/workflows/marathon.md +5 -0
- package/.agent/workflows/resume.md +20 -0
- package/.agent/workflows/team-mode.md +22 -0
- package/.agents/skills/agent-syscall-guidelines/SKILL.md +25 -0
- package/.agents/skills/agentic-workflows-2026/SKILL.md +8 -0
- package/.agents/skills/agentshield-security/SKILL.md +26 -0
- package/.agents/skills/context-engineering-pro/SKILL.md +7 -0
- package/.agents/skills/fabel-protocol/SKILL.md +5 -0
- package/.agents/skills/graph-engineering/SKILL.md +28 -0
- package/.agents/skills/harness-protocol/SKILL.md +8 -0
- package/.agents/skills/hf-cli/SKILL.md +239 -0
- package/.agents/skills/hf-cloud-aws-context-discovery/SKILL.md +74 -0
- package/.agents/skills/hf-cloud-python-env-setup/SKILL.md +90 -0
- package/.agents/skills/hf-cloud-python-env-setup/requirements.txt +17 -0
- package/.agents/skills/hf-cloud-python-env-setup/scripts/check_versions.py +29 -0
- package/.agents/skills/hf-cloud-python-env-setup/scripts/setup_env.py +143 -0
- package/.agents/skills/hf-cloud-sagemaker-deployment-planner/SKILL.md +90 -0
- package/.agents/skills/hf-cloud-sagemaker-iam-preflight/SKILL.md +102 -0
- package/.agents/skills/hf-cloud-sagemaker-iam-preflight/references/minimum-permissions.json +47 -0
- package/.agents/skills/hf-cloud-sagemaker-iam-preflight/references/trust-policy.json +12 -0
- package/.agents/skills/hf-cloud-sagemaker-iam-preflight/scripts/check_role.py +184 -0
- package/.agents/skills/hf-cloud-sagemaker-iam-preflight/scripts/create_role.py +118 -0
- package/.agents/skills/hf-cloud-sagemaker-production-defaults/SKILL.md +419 -0
- package/.agents/skills/hf-cloud-sagemaker-production-defaults/references/deployment-template.md +59 -0
- package/.agents/skills/hf-cloud-sagemaker-production-defaults/scripts/_common.py +148 -0
- package/.agents/skills/hf-cloud-sagemaker-production-defaults/scripts/deploy.py +327 -0
- package/.agents/skills/hf-cloud-sagemaker-production-defaults/scripts/deploy_async.py +434 -0
- package/.agents/skills/hf-cloud-sagemaker-production-defaults/scripts/deploy_ic.py +506 -0
- package/.agents/skills/hf-cloud-sagemaker-production-defaults/scripts/invoke_endpoint.py +180 -0
- package/.agents/skills/hf-cloud-sagemaker-production-defaults/scripts/teardown.py +246 -0
- package/.agents/skills/hf-cloud-serving-image-selection/SKILL.md +220 -0
- package/.agents/skills/hf-cloud-serving-image-selection/references/model-to-image.md +111 -0
- package/.agents/skills/hf-cloud-serving-image-selection/scripts/mirror_image.py +145 -0
- package/.agents/skills/hf-mem/SKILL.md +79 -0
- package/.agents/skills/huggingface-best/SKILL.md +134 -0
- package/.agents/skills/huggingface-community-evals/SKILL.md +207 -0
- package/.agents/skills/huggingface-community-evals/examples/.env.example +3 -0
- package/.agents/skills/huggingface-community-evals/examples/USAGE_EXAMPLES.md +101 -0
- package/.agents/skills/huggingface-community-evals/scripts/inspect_eval_uv.py +104 -0
- package/.agents/skills/huggingface-community-evals/scripts/inspect_vllm_uv.py +306 -0
- package/.agents/skills/huggingface-community-evals/scripts/lighteval_vllm_uv.py +297 -0
- package/.agents/skills/huggingface-datasets/SKILL.md +107 -0
- package/.agents/skills/huggingface-gradio/SKILL.md +298 -0
- package/.agents/skills/huggingface-gradio/examples.md +613 -0
- package/.agents/skills/huggingface-llm-trainer/SKILL.md +738 -0
- package/.agents/skills/huggingface-llm-trainer/references/gguf_conversion.md +296 -0
- package/.agents/skills/huggingface-llm-trainer/references/hardware_guide.md +283 -0
- package/.agents/skills/huggingface-llm-trainer/references/hub_saving.md +364 -0
- package/.agents/skills/huggingface-llm-trainer/references/local_training_macos.md +231 -0
- package/.agents/skills/huggingface-llm-trainer/references/reliability_principles.md +371 -0
- package/.agents/skills/huggingface-llm-trainer/references/trackio_guide.md +191 -0
- package/.agents/skills/huggingface-llm-trainer/references/training_methods.md +150 -0
- package/.agents/skills/huggingface-llm-trainer/references/training_patterns.md +203 -0
- package/.agents/skills/huggingface-llm-trainer/references/troubleshooting.md +282 -0
- package/.agents/skills/huggingface-llm-trainer/references/unsloth.md +313 -0
- package/.agents/skills/huggingface-llm-trainer/scripts/convert_to_gguf.py +424 -0
- package/.agents/skills/huggingface-llm-trainer/scripts/dataset_inspector.py +417 -0
- package/.agents/skills/huggingface-llm-trainer/scripts/estimate_cost.py +150 -0
- package/.agents/skills/huggingface-llm-trainer/scripts/hf_benchmarks.py +659 -0
- package/.agents/skills/huggingface-llm-trainer/scripts/train_dpo_example.py +106 -0
- package/.agents/skills/huggingface-llm-trainer/scripts/train_grpo_example.py +89 -0
- package/.agents/skills/huggingface-llm-trainer/scripts/train_sft_example.py +122 -0
- package/.agents/skills/huggingface-llm-trainer/scripts/unsloth_sft_example.py +512 -0
- package/.agents/skills/huggingface-local-models/SKILL.md +113 -0
- package/.agents/skills/huggingface-local-models/references/hardware.md +38 -0
- package/.agents/skills/huggingface-local-models/references/hub-discovery.md +178 -0
- package/.agents/skills/huggingface-local-models/references/quantization.md +256 -0
- package/.agents/skills/huggingface-lora-space-builder/SKILL.md +394 -0
- package/.agents/skills/huggingface-lora-space-builder/references/adapting-to-the-lora.md +113 -0
- package/.agents/skills/huggingface-lora-space-builder/references/base-models/krea-2.md +63 -0
- package/.agents/skills/huggingface-lora-space-builder/references/base-models/ltx.md +205 -0
- package/.agents/skills/huggingface-lora-space-builder/references/base-models/qwen-image.md +144 -0
- package/.agents/skills/huggingface-lora-space-builder/references/creative-mode.md +262 -0
- package/.agents/skills/huggingface-lora-space-builder/references/tasks.md +124 -0
- package/.agents/skills/huggingface-lora-space-builder/references/zerogpu-and-publishing.md +196 -0
- package/.agents/skills/huggingface-paper-publisher/SKILL.md +624 -0
- package/.agents/skills/huggingface-paper-publisher/examples/example_usage.md +326 -0
- package/.agents/skills/huggingface-paper-publisher/references/quick_reference.md +216 -0
- package/.agents/skills/huggingface-paper-publisher/scripts/paper_manager.py +606 -0
- package/.agents/skills/huggingface-paper-publisher/templates/arxiv.md +299 -0
- package/.agents/skills/huggingface-paper-publisher/templates/ml-report.md +358 -0
- package/.agents/skills/huggingface-paper-publisher/templates/modern.md +319 -0
- package/.agents/skills/huggingface-paper-publisher/templates/standard.md +201 -0
- package/.agents/skills/huggingface-papers/SKILL.md +239 -0
- package/.agents/skills/huggingface-spaces/README.md +9 -0
- package/.agents/skills/huggingface-spaces/SKILL.md +242 -0
- package/.agents/skills/huggingface-spaces/references/3d-cuda-extensions.md +109 -0
- package/.agents/skills/huggingface-spaces/references/3d-generation.md +98 -0
- package/.agents/skills/huggingface-spaces/references/3d-gsplat.md +53 -0
- package/.agents/skills/huggingface-spaces/references/3d-models.md +227 -0
- package/.agents/skills/huggingface-spaces/references/3d-outputs.md +114 -0
- package/.agents/skills/huggingface-spaces/references/buckets.md +89 -0
- package/.agents/skills/huggingface-spaces/references/debugging.md +236 -0
- package/.agents/skills/huggingface-spaces/references/gradio.md +200 -0
- package/.agents/skills/huggingface-spaces/references/grants.md +63 -0
- package/.agents/skills/huggingface-spaces/references/inference-providers.md +97 -0
- package/.agents/skills/huggingface-spaces/references/known-errors.md +232 -0
- package/.agents/skills/huggingface-spaces/references/requirements.md +169 -0
- package/.agents/skills/huggingface-spaces/references/zerogpu.md +349 -0
- package/.agents/skills/huggingface-tool-builder/SKILL.md +120 -0
- package/.agents/skills/huggingface-tool-builder/references/baseline_hf_api.py +57 -0
- package/.agents/skills/huggingface-tool-builder/references/baseline_hf_api.sh +40 -0
- package/.agents/skills/huggingface-tool-builder/references/baseline_hf_api.tsx +57 -0
- package/.agents/skills/huggingface-tool-builder/references/find_models_by_paper.sh +230 -0
- package/.agents/skills/huggingface-tool-builder/references/hf_enrich_models.sh +96 -0
- package/.agents/skills/huggingface-tool-builder/references/hf_model_card_frontmatter.sh +188 -0
- package/.agents/skills/huggingface-tool-builder/references/hf_model_papers_auth.sh +171 -0
- package/.agents/skills/huggingface-trackio/SKILL.md +142 -0
- package/.agents/skills/huggingface-trackio/references/alerts.md +196 -0
- package/.agents/skills/huggingface-trackio/references/logging_metrics.md +212 -0
- package/.agents/skills/huggingface-trackio/references/retrieving_metrics.md +251 -0
- package/.agents/skills/huggingface-vision-trainer/SKILL.md +593 -0
- package/.agents/skills/huggingface-vision-trainer/references/finetune_sam2_trainer.md +254 -0
- package/.agents/skills/huggingface-vision-trainer/references/hub_saving.md +618 -0
- package/.agents/skills/huggingface-vision-trainer/references/image_classification_training_notebook.md +279 -0
- package/.agents/skills/huggingface-vision-trainer/references/object_detection_training_notebook.md +700 -0
- package/.agents/skills/huggingface-vision-trainer/references/reliability_principles.md +310 -0
- package/.agents/skills/huggingface-vision-trainer/references/timm_trainer.md +91 -0
- package/.agents/skills/huggingface-vision-trainer/scripts/dataset_inspector.py +814 -0
- package/.agents/skills/huggingface-vision-trainer/scripts/estimate_cost.py +217 -0
- package/.agents/skills/huggingface-vision-trainer/scripts/image_classification_training.py +383 -0
- package/.agents/skills/huggingface-vision-trainer/scripts/object_detection_training.py +710 -0
- package/.agents/skills/huggingface-vision-trainer/scripts/sam_segmentation_training.py +382 -0
- package/.agents/skills/huggingface-zerogpu/SKILL.md +289 -0
- package/.agents/skills/huggingface-zerogpu/references/concurrency.md +79 -0
- package/.agents/skills/huggingface-zerogpu/references/cuda-and-deps.md +66 -0
- package/.agents/skills/huggingface-zerogpu/references/how-quota-works.md +74 -0
- package/.agents/skills/huggingface-zerogpu/references/how-zerogpu-works.md +50 -0
- package/.agents/skills/human-gate-negotiation/SKILL.md +30 -0
- package/.agents/skills/intelligent-routing/SKILL.md +10 -4
- package/.agents/skills/semantic-filesystem-navigation/SKILL.md +24 -0
- package/.agents/skills/session-log-interrogation/SKILL.md +29 -0
- package/.agents/skills/subagent-driven-development/SKILL.md +32 -0
- package/.agents/skills/systematic-debugging/SKILL.md +5 -0
- package/.agents/skills/train-sentence-transformers/SKILL.md +109 -0
- package/.agents/skills/train-sentence-transformers/references/base_model_selection.md +79 -0
- package/.agents/skills/train-sentence-transformers/references/dataset_formats.md +128 -0
- package/.agents/skills/train-sentence-transformers/references/evaluators_cross_encoder.md +116 -0
- package/.agents/skills/train-sentence-transformers/references/evaluators_multi_vector_encoder.md +101 -0
- package/.agents/skills/train-sentence-transformers/references/evaluators_sentence_transformer.md +151 -0
- package/.agents/skills/train-sentence-transformers/references/evaluators_sparse_encoder.md +121 -0
- package/.agents/skills/train-sentence-transformers/references/hardware_guide.md +105 -0
- package/.agents/skills/train-sentence-transformers/references/hf_jobs_execution.md +173 -0
- package/.agents/skills/train-sentence-transformers/references/losses_cross_encoder.md +137 -0
- package/.agents/skills/train-sentence-transformers/references/losses_multi_vector_encoder.md +100 -0
- package/.agents/skills/train-sentence-transformers/references/losses_sentence_transformer.md +246 -0
- package/.agents/skills/train-sentence-transformers/references/losses_sparse_encoder.md +106 -0
- package/.agents/skills/train-sentence-transformers/references/model_architectures.md +178 -0
- package/.agents/skills/train-sentence-transformers/references/prompts_and_instructions.md +160 -0
- package/.agents/skills/train-sentence-transformers/references/training_args.md +270 -0
- package/.agents/skills/train-sentence-transformers/references/troubleshooting.md +225 -0
- package/.agents/skills/train-sentence-transformers/scripts/mine_hard_negatives.py +199 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_cross_encoder_distillation_example.py +254 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_cross_encoder_example.py +253 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_cross_encoder_listwise_example.py +282 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_multi_vector_encoder_example.py +240 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_sentence_transformer_distillation_example.py +303 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_sentence_transformer_example.py +227 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_sentence_transformer_make_multilingual_example.py +308 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_sentence_transformer_matryoshka_example.py +212 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_sentence_transformer_multi_dataset_example.py +258 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_sentence_transformer_static_embedding_example.py +273 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_sentence_transformer_with_lora_example.py +275 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_sparse_encoder_distillation_example.py +262 -0
- package/.agents/skills/train-sentence-transformers/scripts/train_sparse_encoder_example.py +237 -0
- package/.agents/skills/transformers-js/SKILL.md +692 -0
- package/.agents/skills/transformers-js/references/CACHE.md +339 -0
- package/.agents/skills/transformers-js/references/CONFIGURATION.md +438 -0
- package/.agents/skills/transformers-js/references/EXAMPLES.md +620 -0
- package/.agents/skills/transformers-js/references/MODEL_ARCHITECTURES.md +167 -0
- package/.agents/skills/transformers-js/references/MODEL_REGISTRY.md +197 -0
- package/.agents/skills/transformers-js/references/PIPELINE_OPTIONS.md +557 -0
- package/.agents/skills/transformers-js/references/TEXT_GENERATION.md +315 -0
- package/.agents/skills/tribunal-instincts-memory/SKILL.md +31 -0
- package/.agents/skills/trl-training/SKILL.md +318 -0
- package/CONTRIBUTING.md +2 -2
- package/README.md +135 -435
- package/bin/adapter-install.js +1 -1
- package/bin/mcp-server.js +5 -5
- package/dist/tui/banner.js +1 -1
- package/gemini-extension.json +1 -1
- package/mcp_config.json +1 -1
- package/package.json +7 -7
- package/plugin.json +1 -1
- package/scripts/context_compiler.js +1 -1
- package/scripts/skill_enhancement_engine.js +6 -6
- package/skills/agent-syscall-guidelines/SKILL.md +25 -0
- package/skills/agentic-workflows-2026/SKILL.md +8 -0
- package/skills/agentshield-security/SKILL.md +26 -0
- package/skills/context-engineering-pro/SKILL.md +7 -0
- package/skills/fabel-protocol/SKILL.md +5 -0
- package/skills/graph-engineering/SKILL.md +28 -0
- package/skills/harness-protocol/SKILL.md +8 -0
- package/skills/hf-cli/SKILL.md +239 -0
- package/skills/hf-cloud-aws-context-discovery/SKILL.md +74 -0
- package/skills/hf-cloud-python-env-setup/SKILL.md +90 -0
- package/skills/hf-cloud-python-env-setup/requirements.txt +17 -0
- package/skills/hf-cloud-python-env-setup/scripts/check_versions.py +29 -0
- package/skills/hf-cloud-python-env-setup/scripts/setup_env.py +143 -0
- package/skills/hf-cloud-sagemaker-deployment-planner/SKILL.md +90 -0
- package/skills/hf-cloud-sagemaker-iam-preflight/SKILL.md +102 -0
- package/skills/hf-cloud-sagemaker-iam-preflight/references/minimum-permissions.json +47 -0
- package/skills/hf-cloud-sagemaker-iam-preflight/references/trust-policy.json +12 -0
- package/skills/hf-cloud-sagemaker-iam-preflight/scripts/check_role.py +184 -0
- package/skills/hf-cloud-sagemaker-iam-preflight/scripts/create_role.py +118 -0
- package/skills/hf-cloud-sagemaker-production-defaults/SKILL.md +419 -0
- package/skills/hf-cloud-sagemaker-production-defaults/references/deployment-template.md +59 -0
- package/skills/hf-cloud-sagemaker-production-defaults/scripts/_common.py +148 -0
- package/skills/hf-cloud-sagemaker-production-defaults/scripts/deploy.py +327 -0
- package/skills/hf-cloud-sagemaker-production-defaults/scripts/deploy_async.py +434 -0
- package/skills/hf-cloud-sagemaker-production-defaults/scripts/deploy_ic.py +506 -0
- package/skills/hf-cloud-sagemaker-production-defaults/scripts/invoke_endpoint.py +180 -0
- package/skills/hf-cloud-sagemaker-production-defaults/scripts/teardown.py +246 -0
- package/skills/hf-cloud-serving-image-selection/SKILL.md +220 -0
- package/skills/hf-cloud-serving-image-selection/references/model-to-image.md +111 -0
- package/skills/hf-cloud-serving-image-selection/scripts/mirror_image.py +145 -0
- package/skills/hf-mem/SKILL.md +79 -0
- package/skills/huggingface-best/SKILL.md +134 -0
- package/skills/huggingface-community-evals/SKILL.md +207 -0
- package/skills/huggingface-community-evals/examples/.env.example +3 -0
- package/skills/huggingface-community-evals/examples/USAGE_EXAMPLES.md +101 -0
- package/skills/huggingface-community-evals/scripts/inspect_eval_uv.py +104 -0
- package/skills/huggingface-community-evals/scripts/inspect_vllm_uv.py +306 -0
- package/skills/huggingface-community-evals/scripts/lighteval_vllm_uv.py +297 -0
- package/skills/huggingface-datasets/SKILL.md +107 -0
- package/skills/huggingface-gradio/SKILL.md +298 -0
- package/skills/huggingface-gradio/examples.md +613 -0
- package/skills/huggingface-llm-trainer/SKILL.md +738 -0
- package/skills/huggingface-llm-trainer/references/gguf_conversion.md +296 -0
- package/skills/huggingface-llm-trainer/references/hardware_guide.md +283 -0
- package/skills/huggingface-llm-trainer/references/hub_saving.md +364 -0
- package/skills/huggingface-llm-trainer/references/local_training_macos.md +231 -0
- package/skills/huggingface-llm-trainer/references/reliability_principles.md +371 -0
- package/skills/huggingface-llm-trainer/references/trackio_guide.md +191 -0
- package/skills/huggingface-llm-trainer/references/training_methods.md +150 -0
- package/skills/huggingface-llm-trainer/references/training_patterns.md +203 -0
- package/skills/huggingface-llm-trainer/references/troubleshooting.md +282 -0
- package/skills/huggingface-llm-trainer/references/unsloth.md +313 -0
- package/skills/huggingface-llm-trainer/scripts/convert_to_gguf.py +424 -0
- package/skills/huggingface-llm-trainer/scripts/dataset_inspector.py +417 -0
- package/skills/huggingface-llm-trainer/scripts/estimate_cost.py +150 -0
- package/skills/huggingface-llm-trainer/scripts/hf_benchmarks.py +659 -0
- package/skills/huggingface-llm-trainer/scripts/train_dpo_example.py +106 -0
- package/skills/huggingface-llm-trainer/scripts/train_grpo_example.py +89 -0
- package/skills/huggingface-llm-trainer/scripts/train_sft_example.py +122 -0
- package/skills/huggingface-llm-trainer/scripts/unsloth_sft_example.py +512 -0
- package/skills/huggingface-local-models/SKILL.md +113 -0
- package/skills/huggingface-local-models/references/hardware.md +38 -0
- package/skills/huggingface-local-models/references/hub-discovery.md +178 -0
- package/skills/huggingface-local-models/references/quantization.md +256 -0
- package/skills/huggingface-lora-space-builder/SKILL.md +394 -0
- package/skills/huggingface-lora-space-builder/references/adapting-to-the-lora.md +113 -0
- package/skills/huggingface-lora-space-builder/references/base-models/krea-2.md +63 -0
- package/skills/huggingface-lora-space-builder/references/base-models/ltx.md +205 -0
- package/skills/huggingface-lora-space-builder/references/base-models/qwen-image.md +144 -0
- package/skills/huggingface-lora-space-builder/references/creative-mode.md +262 -0
- package/skills/huggingface-lora-space-builder/references/tasks.md +124 -0
- package/skills/huggingface-lora-space-builder/references/zerogpu-and-publishing.md +196 -0
- package/skills/huggingface-paper-publisher/SKILL.md +624 -0
- package/skills/huggingface-paper-publisher/examples/example_usage.md +326 -0
- package/skills/huggingface-paper-publisher/references/quick_reference.md +216 -0
- package/skills/huggingface-paper-publisher/scripts/paper_manager.py +606 -0
- package/skills/huggingface-paper-publisher/templates/arxiv.md +299 -0
- package/skills/huggingface-paper-publisher/templates/ml-report.md +358 -0
- package/skills/huggingface-paper-publisher/templates/modern.md +319 -0
- package/skills/huggingface-paper-publisher/templates/standard.md +201 -0
- package/skills/huggingface-papers/SKILL.md +239 -0
- package/skills/huggingface-spaces/README.md +9 -0
- package/skills/huggingface-spaces/SKILL.md +242 -0
- package/skills/huggingface-spaces/references/3d-cuda-extensions.md +109 -0
- package/skills/huggingface-spaces/references/3d-generation.md +98 -0
- package/skills/huggingface-spaces/references/3d-gsplat.md +53 -0
- package/skills/huggingface-spaces/references/3d-models.md +227 -0
- package/skills/huggingface-spaces/references/3d-outputs.md +114 -0
- package/skills/huggingface-spaces/references/buckets.md +89 -0
- package/skills/huggingface-spaces/references/debugging.md +236 -0
- package/skills/huggingface-spaces/references/gradio.md +200 -0
- package/skills/huggingface-spaces/references/grants.md +63 -0
- package/skills/huggingface-spaces/references/inference-providers.md +97 -0
- package/skills/huggingface-spaces/references/known-errors.md +232 -0
- package/skills/huggingface-spaces/references/requirements.md +169 -0
- package/skills/huggingface-spaces/references/zerogpu.md +349 -0
- package/skills/huggingface-tool-builder/SKILL.md +120 -0
- package/skills/huggingface-tool-builder/references/baseline_hf_api.py +57 -0
- package/skills/huggingface-tool-builder/references/baseline_hf_api.sh +40 -0
- package/skills/huggingface-tool-builder/references/baseline_hf_api.tsx +57 -0
- package/skills/huggingface-tool-builder/references/find_models_by_paper.sh +230 -0
- package/skills/huggingface-tool-builder/references/hf_enrich_models.sh +96 -0
- package/skills/huggingface-tool-builder/references/hf_model_card_frontmatter.sh +188 -0
- package/skills/huggingface-tool-builder/references/hf_model_papers_auth.sh +171 -0
- package/skills/huggingface-trackio/SKILL.md +142 -0
- package/skills/huggingface-trackio/references/alerts.md +196 -0
- package/skills/huggingface-trackio/references/logging_metrics.md +212 -0
- package/skills/huggingface-trackio/references/retrieving_metrics.md +251 -0
- package/skills/huggingface-vision-trainer/SKILL.md +593 -0
- package/skills/huggingface-vision-trainer/references/finetune_sam2_trainer.md +254 -0
- package/skills/huggingface-vision-trainer/references/hub_saving.md +618 -0
- package/skills/huggingface-vision-trainer/references/image_classification_training_notebook.md +279 -0
- package/skills/huggingface-vision-trainer/references/object_detection_training_notebook.md +700 -0
- package/skills/huggingface-vision-trainer/references/reliability_principles.md +310 -0
- package/skills/huggingface-vision-trainer/references/timm_trainer.md +91 -0
- package/skills/huggingface-vision-trainer/scripts/dataset_inspector.py +814 -0
- package/skills/huggingface-vision-trainer/scripts/estimate_cost.py +217 -0
- package/skills/huggingface-vision-trainer/scripts/image_classification_training.py +383 -0
- package/skills/huggingface-vision-trainer/scripts/object_detection_training.py +710 -0
- package/skills/huggingface-vision-trainer/scripts/sam_segmentation_training.py +382 -0
- package/skills/huggingface-zerogpu/SKILL.md +289 -0
- package/skills/huggingface-zerogpu/references/concurrency.md +79 -0
- package/skills/huggingface-zerogpu/references/cuda-and-deps.md +66 -0
- package/skills/huggingface-zerogpu/references/how-quota-works.md +74 -0
- package/skills/huggingface-zerogpu/references/how-zerogpu-works.md +50 -0
- package/skills/human-gate-negotiation/SKILL.md +30 -0
- package/skills/intelligent-routing/SKILL.md +10 -4
- package/skills/semantic-filesystem-navigation/SKILL.md +24 -0
- package/skills/session-log-interrogation/SKILL.md +29 -0
- package/skills/subagent-driven-development/SKILL.md +32 -0
- package/skills/systematic-debugging/SKILL.md +5 -0
- package/skills/train-sentence-transformers/SKILL.md +109 -0
- package/skills/train-sentence-transformers/references/base_model_selection.md +79 -0
- package/skills/train-sentence-transformers/references/dataset_formats.md +128 -0
- package/skills/train-sentence-transformers/references/evaluators_cross_encoder.md +116 -0
- package/skills/train-sentence-transformers/references/evaluators_multi_vector_encoder.md +101 -0
- package/skills/train-sentence-transformers/references/evaluators_sentence_transformer.md +151 -0
- package/skills/train-sentence-transformers/references/evaluators_sparse_encoder.md +121 -0
- package/skills/train-sentence-transformers/references/hardware_guide.md +105 -0
- package/skills/train-sentence-transformers/references/hf_jobs_execution.md +173 -0
- package/skills/train-sentence-transformers/references/losses_cross_encoder.md +137 -0
- package/skills/train-sentence-transformers/references/losses_multi_vector_encoder.md +100 -0
- package/skills/train-sentence-transformers/references/losses_sentence_transformer.md +246 -0
- package/skills/train-sentence-transformers/references/losses_sparse_encoder.md +106 -0
- package/skills/train-sentence-transformers/references/model_architectures.md +178 -0
- package/skills/train-sentence-transformers/references/prompts_and_instructions.md +160 -0
- package/skills/train-sentence-transformers/references/training_args.md +270 -0
- package/skills/train-sentence-transformers/references/troubleshooting.md +225 -0
- package/skills/train-sentence-transformers/scripts/mine_hard_negatives.py +199 -0
- package/skills/train-sentence-transformers/scripts/train_cross_encoder_distillation_example.py +254 -0
- package/skills/train-sentence-transformers/scripts/train_cross_encoder_example.py +253 -0
- package/skills/train-sentence-transformers/scripts/train_cross_encoder_listwise_example.py +282 -0
- package/skills/train-sentence-transformers/scripts/train_multi_vector_encoder_example.py +240 -0
- package/skills/train-sentence-transformers/scripts/train_sentence_transformer_distillation_example.py +303 -0
- package/skills/train-sentence-transformers/scripts/train_sentence_transformer_example.py +227 -0
- package/skills/train-sentence-transformers/scripts/train_sentence_transformer_make_multilingual_example.py +308 -0
- package/skills/train-sentence-transformers/scripts/train_sentence_transformer_matryoshka_example.py +212 -0
- package/skills/train-sentence-transformers/scripts/train_sentence_transformer_multi_dataset_example.py +258 -0
- package/skills/train-sentence-transformers/scripts/train_sentence_transformer_static_embedding_example.py +273 -0
- package/skills/train-sentence-transformers/scripts/train_sentence_transformer_with_lora_example.py +275 -0
- package/skills/train-sentence-transformers/scripts/train_sparse_encoder_distillation_example.py +262 -0
- package/skills/train-sentence-transformers/scripts/train_sparse_encoder_example.py +237 -0
- package/skills/transformers-js/SKILL.md +692 -0
- package/skills/transformers-js/references/CACHE.md +339 -0
- package/skills/transformers-js/references/CONFIGURATION.md +438 -0
- package/skills/transformers-js/references/EXAMPLES.md +620 -0
- package/skills/transformers-js/references/MODEL_ARCHITECTURES.md +167 -0
- package/skills/transformers-js/references/MODEL_REGISTRY.md +197 -0
- package/skills/transformers-js/references/PIPELINE_OPTIONS.md +557 -0
- package/skills/transformers-js/references/TEXT_GENERATION.md +315 -0
- package/skills/tribunal-instincts-memory/SKILL.md +31 -0
- package/skills/trl-training/SKILL.md +318 -0
package/README.md
CHANGED
|
@@ -6,38 +6,28 @@
|
|
|
6
6
|
</a>
|
|
7
7
|
|
|
8
8
|
<h1 style="font-size: 1.35em; color: #ffffff; font-weight: 600; margin: 10px 0 8px 0;">
|
|
9
|
-
Tribunal Kit
|
|
9
|
+
Tribunal Kit
|
|
10
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
|
-
|
|
12
|
+
The minimal-dependency governance layer for AI coding agents. Real-time hallucination prevention, parallel AST review, and cross-session memory via a compiled Rust core.
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
<!-- BADGES -->
|
|
16
16
|
<div style="margin-bottom: 25px;">
|
|
17
|
-
<a href="https://
|
|
18
|
-
<img src="https://img.shields.io/
|
|
19
|
-
</a>
|
|
20
|
-
<a href="https://github.com/Harmitx7/tribunal-kit">
|
|
21
|
-
<img src="https://img.shields.io/github/stars/Harmitx7/tribunal-kit?style=for-the-badge&logo=github&logoColor=white&color=111111&label=Stars" alt="GitHub Stars" />
|
|
17
|
+
<a href="https://github.com/Harmitx7/tribunal-kit/releases">
|
|
18
|
+
<img src="https://img.shields.io/badge/Release-v9.2.4-blue?style=for-the-badge" alt="Release" />
|
|
22
19
|
</a>
|
|
23
20
|
<a href="https://www.npmjs.com/package/tribunal-kit">
|
|
24
|
-
<img src="https://img.shields.io/npm/
|
|
21
|
+
<img src="https://img.shields.io/npm/v/tribunal-kit?style=for-the-badge&logo=npm&logoColor=white&color=ff1637" alt="NPM Version" />
|
|
25
22
|
</a>
|
|
26
23
|
<a href="https://github.com/Harmitx7/tribunal-kit/actions/workflows/ci.yml">
|
|
27
24
|
<img src="https://img.shields.io/github/actions/workflow/status/Harmitx7/tribunal-kit/ci.yml?style=for-the-badge&logo=githubactions&logoColor=white&label=CI" alt="CI Status" />
|
|
28
25
|
</a>
|
|
29
|
-
<br>
|
|
30
26
|
<a href="LICENSE">
|
|
31
27
|
<img src="https://img.shields.io/badge/License-MIT-1a1a1f?style=for-the-badge&color=2d2d30" alt="License" />
|
|
32
28
|
</a>
|
|
33
|
-
<a href="CHANGELOG.md">
|
|
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
|
-
</a>
|
|
36
29
|
<a href="package.json">
|
|
37
|
-
<img src="https://img.shields.io/badge/Dependencies-
|
|
38
|
-
</a>
|
|
39
|
-
<a href="DESIGN.md">
|
|
40
|
-
<img src="https://img.shields.io/badge/Design_System-Classical_Neo--Brutalist-ff3300?style=for-the-badge&color=111111" alt="Design System" />
|
|
30
|
+
<img src="https://img.shields.io/badge/Dependencies-Minimal-ff3300?style=for-the-badge&color=111111&logoColor=ff3300" alt="Minimal Dependencies" />
|
|
41
31
|
</a>
|
|
42
32
|
<a href="crates/core">
|
|
43
33
|
<img src="https://img.shields.io/badge/Core-Rust_10ms-DEA584?style=for-the-badge&logo=rust&logoColor=white" alt="Rust Core" />
|
|
@@ -45,9 +35,6 @@
|
|
|
45
35
|
<a href="mcp_config.json">
|
|
46
36
|
<img src="https://img.shields.io/badge/MCP-Ready-00c2ff?style=for-the-badge&logo=openai&logoColor=111" alt="MCP Server" />
|
|
47
37
|
</a>
|
|
48
|
-
<a href="SECURITY.md">
|
|
49
|
-
<img src="https://img.shields.io/badge/Security-Strict_Sandbox-ff1637?style=for-the-badge" alt="Security Policy" />
|
|
50
|
-
</a>
|
|
51
38
|
</div>
|
|
52
39
|
|
|
53
40
|
<p>
|
|
@@ -58,485 +45,198 @@
|
|
|
58
45
|
|
|
59
46
|
<br>
|
|
60
47
|
|
|
61
|
-
|
|
62
|
-
<div style="background: linear-gradient(145deg, #180a0c, #11141c); border: 1px solid #4a1820; border-radius: 12px; padding: 24px; margin-bottom: 20px;">
|
|
63
|
-
<div style="display: flex; align-items: center; margin-bottom: 12px;">
|
|
64
|
-
<span style="background-color: #ff2200; color: white; padding: 4px 8px; border-radius: 4px; font-size: 0.75em; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-right: 10px;">The Problem</span>
|
|
65
|
-
<strong style="color: #ffffff; font-size: 1.15em;">AI coding agents hallucinate. Constantly.</strong>
|
|
66
|
-
</div>
|
|
67
|
-
<p style="color: #c9c9d1; font-size: 0.95em; line-height: 1.6; margin: 0;">
|
|
68
|
-
They import phantom packages that don't exist on npm. They invent deprecated framework hooks. They hallucinate database columns not in your schema. They bloat system prompts with static rules models ignore, and repeat the exact syntax bug you fixed 20 minutes ago.
|
|
69
|
-
<br><br>
|
|
70
|
-
<strong>No linter catches this. No typechecker catches this.</strong> Linters only run <em>after</em> code is written and cannot understand semantic intent. Until now, nothing governed your AI in real time.
|
|
71
|
-
</p>
|
|
72
|
-
</div>
|
|
48
|
+
## 🛡️ Value Proposition
|
|
73
49
|
|
|
74
|
-
|
|
75
|
-
<div style="background: linear-gradient(145deg, #121622, #0c0f17); border: 1px solid #ff3300; border-radius: 12px; padding: 24px; margin-bottom: 35px;">
|
|
76
|
-
<div style="display: flex; align-items: center; margin-bottom: 12px;">
|
|
77
|
-
<span style="background-color: #ff3300; color: #ffffff; padding: 4px 8px; border-radius: 4px; font-size: 0.75em; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-right: 10px;">The Solution</span>
|
|
78
|
-
<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
|
-
</div>
|
|
80
|
-
<p style="color: #c9c9d1; font-size: 0.95em; line-height: 1.6; margin: 0;">
|
|
81
|
-
Tribunal Kit wraps your coding agents in an active <strong>neurosymbolic verification envelope</strong> — 52 specialist agents, 28 parallel reviewers, 185 skills, and a native compiled Rust core. It intercepts AI output in <strong>< 10ms</strong>, validates it against your live repository AST, and blocks hallucinated code before it ever touches disk.
|
|
82
|
-
</p>
|
|
83
|
-
</div>
|
|
50
|
+
AI coding assistants frequently hallucinate dependencies, deprecated framework hooks, and incorrect database columns. Linters and typecheckers catch these errors only *after* the code is written, failing to understand semantic intent during generation.
|
|
84
51
|
|
|
85
|
-
|
|
86
|
-
<div align="center" style="margin: 28px 0;">
|
|
87
|
-
<img src="docs/assets/realtime-difference.svg" alt="The Real-Time Difference: Without vs With Tribunal Kit" width="100%" style="max-width: 1100px; border-radius: 14px;" />
|
|
88
|
-
</div>
|
|
52
|
+
Tribunal Kit acts as a **neurosymbolic verification envelope**. It intercepts AI output locally in **< 10ms**, validates it against your live repository AST, and prevents hallucinated code and phantom packages from ever touching your disk.
|
|
89
53
|
|
|
90
54
|
---
|
|
91
55
|
|
|
92
|
-
|
|
56
|
+
## ⚡ Core Capabilities
|
|
93
57
|
|
|
94
|
-
|
|
58
|
+
- **Parallel Review Pipeline:** 29 domain-specific reviewers analyze generated code simultaneously before the write operation.
|
|
59
|
+
- **Compiled Rust Core:** Sub-10ms AST parsing, semantic graph extraction, and file synchronization using SHA-256 diffs.
|
|
60
|
+
- **Phantom Package Guardrails:** Blocks "slopsquatting" and non-existent npm package imports during generation.
|
|
61
|
+
- **Cross-Session Memory:** "Supreme Court Case Law" (`tk case`) records past AI mistakes so they are never repeated across sessions.
|
|
62
|
+
- **Subagent-Driven Development (SDD):** Orchestrates multi-agent fan-out and synthesis, strictly isolating context windows to prevent token bloat.
|
|
63
|
+
- **Minimal Dependencies:** The Node.js CLI runtime requires almost zero production dependencies, protecting your supply chain.
|
|
64
|
+
- **Native MCP Server:** Exposes real-time repository AST and team contract rules to Model Context Protocol compatible clients.
|
|
95
65
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
```bash
|
|
99
|
-
npx tribunal-kit init # Scaffolds .agent/ and auto-detects Cursor, Windsurf, VS Code
|
|
100
|
-
npx tribunal-kit sync # Synchronizes active governance rules across all IDEs
|
|
101
|
-
npx tribunal-kit status # Verifies repository health and rule integrity
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
### 🔌 Universal CLI Agent Adapter (Claude Code, Aider, Cline)
|
|
66
|
+
---
|
|
105
67
|
|
|
106
|
-
|
|
68
|
+
## 🏗️ Architecture Overview
|
|
107
69
|
|
|
108
|
-
|
|
109
|
-
npx tribunal-kit tk-adapt # Auto-detect and install for all active CLI agents
|
|
110
|
-
npx tribunal-kit tk-adapt claude # Install directly for Claude Code
|
|
111
|
-
npx tribunal-kit tk-adapt aider # Install directly for Aider
|
|
112
|
-
npx tribunal-kit tk-adapt --global # Install globally to ~/.tribunal-kit/
|
|
113
|
-
```
|
|
70
|
+
Tribunal Kit operates as a fast, intercepting middleware layer between the AI generation event and the local filesystem.
|
|
114
71
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
72
|
+
```mermaid
|
|
73
|
+
graph LR
|
|
74
|
+
A[User Request] --> B[Context Broker]
|
|
75
|
+
B --> C[Compiled Rust Core<br/>AST / Graph extraction]
|
|
76
|
+
C --> D[29 Parallel Reviewers]
|
|
77
|
+
D -->|Violation| E[Inner-Loop Auto-Correct]
|
|
78
|
+
E -.-> B
|
|
79
|
+
D -->|Passed| F[Human Gate]
|
|
80
|
+
F --> G[Safe Commit to Disk]
|
|
118
81
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
npx tribunal-kit guardrail # Manually scans changes for phantom packages & // VERIFY tags
|
|
82
|
+
style C fill:#ff3300,stroke:#fff,stroke-width:1px,color:#fff
|
|
83
|
+
style D fill:#111,stroke:#444,stroke-width:1px,color:#fff
|
|
122
84
|
```
|
|
123
85
|
|
|
124
|
-
|
|
125
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
126
|
-
|
|
127
|
-
<!-- NATIVE PLUGINS ECOSYSTEM -->
|
|
128
|
-
|
|
129
|
-
## 🔌 First-Class Native Plugins & Ecosystem Integrations
|
|
130
|
-
|
|
131
|
-
Tribunal Kit ships with pre-configured native plugins and extensions across the AI engineering landscape:
|
|
132
|
-
|
|
133
|
-
<div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
|
|
134
|
-
<table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
|
|
135
|
-
<thead>
|
|
136
|
-
<tr style="border-bottom: 2px solid #22222f; background-color: #16161d; color: #ffffff;">
|
|
137
|
-
<th style="padding: 12px 16px; font-weight: 600;">Environment / Agent</th>
|
|
138
|
-
<th style="padding: 12px 16px; font-weight: 600;">Integration Type</th>
|
|
139
|
-
<th style="padding: 12px 16px; font-weight: 600;">One-Line Activation</th>
|
|
140
|
-
</tr>
|
|
141
|
-
</thead>
|
|
142
|
-
<tbody>
|
|
143
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
144
|
-
<td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Anthropic Claude Code</td>
|
|
145
|
-
<td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Native Marketplace Plugin (<code>.claude-plugin/</code>)</td>
|
|
146
|
-
<td style="padding: 12px 16px;"><code>/plugin marketplace add Harmitx7/tribunal-kit</code> or <code>tk-adapt claude</code></td>
|
|
147
|
-
</tr>
|
|
148
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
149
|
-
<td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">OpenCode.ai</td>
|
|
150
|
-
<td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Native Plugin Config (<code>.opencode/</code>)</td>
|
|
151
|
-
<td style="padding: 12px 16px;">Add <code>"plugin": ["tribunal-kit@latest"]</code> in <code>opencode.json</code></td>
|
|
152
|
-
</tr>
|
|
153
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
154
|
-
<td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Cursor IDE</td>
|
|
155
|
-
<td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Plugin & Rule Bridge (<code>.cursor-plugin/</code>)</td>
|
|
156
|
-
<td style="padding: 12px 16px;"><code>npx tribunal-kit sync</code></td>
|
|
157
|
-
</tr>
|
|
158
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
159
|
-
<td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Cognition Devin</td>
|
|
160
|
-
<td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Devin Native Plugin (<code>.devin-plugin/</code>)</td>
|
|
161
|
-
<td style="padding: 12px 16px;">Auto-detected via <code>.devin-plugin/plugin.json</code></td>
|
|
162
|
-
</tr>
|
|
163
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
164
|
-
<td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Google Gemini CLI</td>
|
|
165
|
-
<td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Extension Manifest (<code>gemini-extension.json</code>)</td>
|
|
166
|
-
<td style="padding: 12px 16px;">Auto-registered via <code>gemini-extension.json</code></td>
|
|
167
|
-
</tr>
|
|
168
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
169
|
-
<td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Moonshot Kimi & Hermes</td>
|
|
170
|
-
<td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Native Plugin Bundles (<code>.kimi-plugin</code>, <code>.hermes-plugin</code>)</td>
|
|
171
|
-
<td style="padding: 12px 16px;">Packaged out-of-the-box with manifest bindings</td>
|
|
172
|
-
</tr>
|
|
173
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
174
|
-
<td style="padding: 12px 16px; font-weight: 600; color: #ffffff;">Aider CLI & Codex</td>
|
|
175
|
-
<td style="padding: 12px 16px; color: #ff4d1a; font-weight: 600;">Conventions & Agents Bridge</td>
|
|
176
|
-
<td style="padding: 12px 16px;"><code>npx tribunal-kit tk-adapt aider</code></td>
|
|
177
|
-
</tr>
|
|
178
|
-
</tbody>
|
|
179
|
-
</table>
|
|
180
|
-
</div>
|
|
181
|
-
|
|
182
|
-
<br>
|
|
183
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
184
|
-
|
|
185
|
-
<!-- WHAT YOU GET -->
|
|
186
|
-
|
|
187
|
-
### 📦 What's Inside
|
|
86
|
+
### Data Flow
|
|
188
87
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
| **Tribunal Reviewers** | 28 | Parallel review pipeline that intercepts logic and security defects before disk write |
|
|
193
|
-
| **Reusable Skills** | 184 | Deep knowledge packs (React 19, Next.js 15, Rust, Python, Vue, Animations, A11y) |
|
|
194
|
-
| **Slash Workflows** | 41 | One-command operations (`/generate`, `/debug`, `/audit`, `/deploy`, `/refactor`) |
|
|
195
|
-
| **Native Plugins** | 9+ | First-class plugins for Claude Code, Cursor, OpenCode, Devin, Kimi, Hermes, Pi, and Gemini CLI |
|
|
196
|
-
| **Compiled Rust Core** | 1 | Native binary for AOT Semantic Graph extraction, AST parsing, hashing, and deduping |
|
|
197
|
-
| **MCP Server** | 1 | Model Context Protocol integration with `query_semantic_graph` capabilities |
|
|
198
|
-
| **Supreme Court Precedents** | ∞ | Permanent repository memory that records AI mistakes so they are never repeated |
|
|
199
|
-
|
|
200
|
-
<br>
|
|
201
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
202
|
-
|
|
203
|
-
<!-- COMPARATIVE ANALYSIS -->
|
|
204
|
-
|
|
205
|
-
## 📈 Comparative Analysis: Tribunal Kit vs. Alternatives
|
|
206
|
-
|
|
207
|
-
AI engineering requires active verification, not passive prompt text:
|
|
208
|
-
|
|
209
|
-
<div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
|
|
210
|
-
<table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
|
|
211
|
-
<thead>
|
|
212
|
-
<tr style="border-bottom: 2px solid #22222f; background-color: #16161d;">
|
|
213
|
-
<th style="padding: 14px 18px; color: #ffffff; font-weight: 600;">Dimension / Capability</th>
|
|
214
|
-
<th style="padding: 14px 18px; color: #ff4d1a; font-weight: 700;">Tribunal Kit 🛡️</th>
|
|
215
|
-
<th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Static <code>.cursorrules</code></th>
|
|
216
|
-
<th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">AST Linters (ESLint)</th>
|
|
217
|
-
<th style="padding: 14px 18px; color: #a0a0a5; font-weight: 600;">Manual System Prompts</th>
|
|
218
|
-
</tr>
|
|
219
|
-
</thead>
|
|
220
|
-
<tbody>
|
|
221
|
-
<tr style="border-bottom: 1px solid #222228;">
|
|
222
|
-
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Hallucination Interception</td>
|
|
223
|
-
<td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Active check gates (<code>tk guardrail</code>)</td>
|
|
224
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">None (passive text only)</td>
|
|
225
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">None (misses semantic intent)</td>
|
|
226
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">None (models drift)</td>
|
|
227
|
-
</tr>
|
|
228
|
-
<tr style="border-bottom: 1px solid #222228;">
|
|
229
|
-
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Context Window Overhead</td>
|
|
230
|
-
<td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Budget-gated recall & MCP tools</td>
|
|
231
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">Severe (bloats with entire files)</td>
|
|
232
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">N/A (runs post-edit)</td>
|
|
233
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">High (burns context budget)</td>
|
|
234
|
-
</tr>
|
|
235
|
-
<tr style="border-bottom: 1px solid #222228;">
|
|
236
|
-
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Cross-Session Memory</td>
|
|
237
|
-
<td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Supreme Court Case Law (<code>tk case</code>)</td>
|
|
238
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">None (forgets every prompt)</td>
|
|
239
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">None</td>
|
|
240
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">None</td>
|
|
241
|
-
</tr>
|
|
242
|
-
<tr style="border-bottom: 1px solid #222228;">
|
|
243
|
-
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Self-Evolution</td>
|
|
244
|
-
<td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Git diff learning & SkillOpt</td>
|
|
245
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">Manual editing</td>
|
|
246
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">Manual config edits</td>
|
|
247
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">Manual prompt tuning</td>
|
|
248
|
-
</tr>
|
|
249
|
-
<tr style="border-bottom: 1px solid #222228;">
|
|
250
|
-
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">IDE & CLI Universal Support</td>
|
|
251
|
-
<td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Cursor, Windsurf, VSCode, Claude, Aider</td>
|
|
252
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">Cursor/Windsurf only</td>
|
|
253
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">Independent</td>
|
|
254
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">Hand-copied</td>
|
|
255
|
-
</tr>
|
|
256
|
-
<tr style="border-bottom: 1px solid #222228;">
|
|
257
|
-
<td style="padding: 14px 18px; font-weight: 600; color: #ffffff;">Execution Performance</td>
|
|
258
|
-
<td style="padding: 14px 18px; color: #ff4d1a; font-weight: 700; background-color: #1c100c;">Compiled Rust Core (<code>tribunal-core</code>)</td>
|
|
259
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">N/A (static)</td>
|
|
260
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">Slow Node processes</td>
|
|
261
|
-
<td style="padding: 14px 18px; color: #c9c9d1;">Slow API calls</td>
|
|
262
|
-
</tr>
|
|
263
|
-
</tbody>
|
|
264
|
-
</table>
|
|
265
|
-
</div>
|
|
266
|
-
|
|
267
|
-
<br>
|
|
268
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
88
|
+
1. **Input:** An LLM agent generates a code change proposal (or triggers a workflow like `/generate`).
|
|
89
|
+
2. **Processing:** The Rust Core extracts the current AST and validates the semantic bounds. The proposal is dispatched to parallel Reviewers (e.g., `logic-reviewer`, `security-auditor`).
|
|
90
|
+
3. **Output:** If valid, it passes to the Human Gate or writes directly to disk. If invalid, the process is halted, and feedback is fed back into the agent's context loop.
|
|
269
91
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
## 🏛️ The 4 Core Superpowers
|
|
273
|
-
|
|
274
|
-
<div align="center" style="margin: 25px 0 35px 0;">
|
|
275
|
-
<img src="docs/assets/superpowers-grid.svg" alt="The 4 Core Superpowers of Tribunal Kit" width="100%" style="max-width: 1200px; border-radius: 14px;" />
|
|
276
|
-
</div>
|
|
92
|
+
---
|
|
277
93
|
|
|
278
|
-
|
|
94
|
+
## 🚀 Installation & Quick Start
|
|
279
95
|
|
|
280
|
-
|
|
96
|
+
Install Tribunal Kit in your project directory. Node.js >= 18.0.0 is required.
|
|
281
97
|
|
|
282
98
|
```bash
|
|
283
|
-
#
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
# Search case law database
|
|
287
|
-
tk case search "postgres deadlock"
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
The `precedence-reviewer` actively checks this database during generation. If the agent attempts the same antipattern, Tribunal Kit rules it unconstitutional and blocks the write.
|
|
99
|
+
# 1. Initialize Tribunal Kit in your repository
|
|
100
|
+
npx tribunal-kit init
|
|
291
101
|
|
|
292
|
-
|
|
102
|
+
# 2. Sync rules with your local IDE (Cursor, Windsurf, VS Code)
|
|
103
|
+
npx tribunal-kit sync
|
|
293
104
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
```bash
|
|
297
|
-
# Scan workspace changes for unverified dependencies and // VERIFY tags
|
|
298
|
-
npx tribunal-kit guardrail
|
|
105
|
+
# 3. Verify repository health and active rules
|
|
106
|
+
npx tribunal-kit status
|
|
299
107
|
```
|
|
300
108
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
Stop manually re-prompting. SkillOpt mutates, token-checks, and benchmarks instruction skills directly against real test harnesses:
|
|
304
|
-
|
|
109
|
+
**Using a CLI Agent?**
|
|
110
|
+
Install the native adapter for Claude Code or Aider:
|
|
305
111
|
```bash
|
|
306
|
-
|
|
307
|
-
|
|
112
|
+
npx tribunal-kit tk-adapt claude
|
|
113
|
+
# or
|
|
114
|
+
npx tribunal-kit tk-adapt aider
|
|
308
115
|
```
|
|
309
116
|
|
|
310
|
-
|
|
311
|
-
- **Rust Deduplication**: Normalized Levenshtein similarity (default `0.85`) filters redundant proposals.
|
|
312
|
-
- **Genetic Promotion**: Passing harness tests promote winning candidates as the new baseline.
|
|
117
|
+
---
|
|
313
118
|
|
|
314
|
-
|
|
119
|
+
## 💻 Usage Guide & CLI Reference
|
|
315
120
|
|
|
316
|
-
|
|
121
|
+
Tribunal Kit CLI operations are routed through the compiled Rust binary when supported, falling back to the JavaScript engine gracefully.
|
|
317
122
|
|
|
318
|
-
|
|
319
|
-
|
|
123
|
+
| Command | Arguments | Description |
|
|
124
|
+
| :--- | :--- | :--- |
|
|
125
|
+
| `init` | `[--force]` | Initializes the `.agent/` configuration payload. |
|
|
126
|
+
| `sync` | — | Syncs rules with IDEs (.cursorrules, .windsurfrules). |
|
|
127
|
+
| `status` | — | Evaluates workspace rules and checks for violations. |
|
|
128
|
+
| `guardrail` | `[--file <path>]` | Scans changes for phantom packages and `// VERIFY` tags. |
|
|
129
|
+
| `tk-adapt` | `[claude\|aider\|--global]` | Installs universal CLI agent adapters. |
|
|
130
|
+
| `hook` | — | Installs the automated Git pre-push governance hook. |
|
|
131
|
+
| `memory` | `store \| recall \| gc` | Manages persistent cross-session AI memory. |
|
|
132
|
+
| `case` | `add \| search <q>` | Records or searches for AI mistake precedents. |
|
|
320
133
|
|
|
321
|
-
|
|
322
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
134
|
+
*(For workflow execution, Tribunal Kit monitors for slash commands like `/orchestrate`, `/audit`, or `/deploy` inside your AI context).*
|
|
323
135
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
## ⚖️ The Tribunal Pipeline — Mitigating AI Code Hallucinations
|
|
136
|
+
---
|
|
327
137
|
|
|
328
|
-
|
|
138
|
+
## ⚙️ Configuration Reference
|
|
329
139
|
|
|
330
|
-
|
|
140
|
+
Tribunal Kit is largely zero-config, driven by the `.agent/` directory, but exposes settings via `mcp_config.json` and `package.json`.
|
|
331
141
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
142
|
+
**Example MCP Configuration (`mcp_config.json`)**
|
|
143
|
+
```json
|
|
144
|
+
{
|
|
145
|
+
"mcpServers": {
|
|
146
|
+
"tribunal-kit": {
|
|
147
|
+
"command": "node",
|
|
148
|
+
"args": [".agent/scripts/mcp_server.js"],
|
|
149
|
+
"env": { "NODE_ENV": "production" }
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
```
|
|
335
154
|
|
|
336
|
-
|
|
337
|
-
<summary><b>View Raw Pipeline Specification (Mermaid Graph)</b></summary>
|
|
338
|
-
<br>
|
|
155
|
+
---
|
|
339
156
|
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
157
|
+
## 📂 Project Structure
|
|
158
|
+
|
|
159
|
+
```text
|
|
160
|
+
tribunal-kit/
|
|
161
|
+
├── .agent/ # Active AI governance rules and workflows
|
|
162
|
+
│ ├── agents/ # Specialist agent definitions
|
|
163
|
+
│ ├── scripts/ # Verification and build scripts
|
|
164
|
+
│ ├── skills/ # Reusable AI knowledge packs
|
|
165
|
+
│ └── workflows/ # Slash command executions (e.g., /orchestrate)
|
|
166
|
+
├── bin/ # CLI entry points (wrapper.js)
|
|
167
|
+
├── crates/core/ # Compiled Rust semantic engine
|
|
168
|
+
├── dist/ # JS Fallback CLI runtime
|
|
169
|
+
├── docs/ # Project documentation and assets
|
|
170
|
+
└── AGENTS.md # Master Fabel protocol and rule registry
|
|
349
171
|
```
|
|
350
172
|
|
|
351
|
-
|
|
173
|
+
---
|
|
352
174
|
|
|
353
|
-
|
|
175
|
+
## 🔗 Integrations
|
|
354
176
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
177
|
+
| Environment / Tool | Integration Type | Status |
|
|
178
|
+
| :--- | :--- | :--- |
|
|
179
|
+
| **Cursor IDE** | Plugin & `.cursorrules` bridge | Supported |
|
|
180
|
+
| **Anthropic Claude Code** | Native Marketplace Plugin (`.claude-plugin/`) | Supported |
|
|
181
|
+
| **Windsurf** | Native `.windsurfrules` sync | Supported |
|
|
182
|
+
| **Cognition Devin** | Native Plugin (`.devin-plugin/`) | Supported |
|
|
183
|
+
| **Aider CLI** | Conventions Bridge (`tk-adapt`) | Supported |
|
|
184
|
+
| **Google Gemini CLI** | Extension Manifest (`gemini-extension.json`) | Supported |
|
|
360
185
|
|
|
361
|
-
|
|
362
|
-
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## 🔒 Security and Reliability
|
|
363
189
|
|
|
364
|
-
|
|
190
|
+
- **Strict Sandboxing:** Tribunal Kit executes entirely locally. It does not phone home, exfiltrate data, or execute arbitrary remote binaries.
|
|
191
|
+
- **Zero Dependencies:** The production NPM distribution is meticulously engineered to have zero external dependencies, entirely neutralizing downstream supply-chain attacks.
|
|
192
|
+
- **Memory Boundaries:** Context provided to agents is strictly bounded by the `context_broker`, preventing context overflow and reducing token hallucination vectors.
|
|
365
193
|
|
|
366
|
-
|
|
194
|
+
---
|
|
367
195
|
|
|
368
|
-
|
|
196
|
+
## 🧪 Testing and Quality
|
|
369
197
|
|
|
370
|
-
|
|
371
|
-
name: 'No console.log in production code'
|
|
372
|
-
scope: 'src/**/*.ts, src/**/*.tsx'
|
|
373
|
-
severity: block
|
|
374
|
-
must_not:
|
|
375
|
-
- pattern: 'console.log'
|
|
376
|
-
message: 'Use structured logger instead of console.log'
|
|
377
|
-
```
|
|
198
|
+
Tribunal Kit employs rigorous continuous integration.
|
|
378
199
|
|
|
379
200
|
```bash
|
|
380
|
-
#
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
# Verify contract invariants against modified files
|
|
384
|
-
npx tribunal-kit contract verify
|
|
201
|
+
# Run payload validation and the Jest test suite
|
|
202
|
+
npm run test:all
|
|
385
203
|
|
|
386
|
-
#
|
|
387
|
-
|
|
204
|
+
# Run the Rust core test suite
|
|
205
|
+
npm run test:rust
|
|
388
206
|
```
|
|
389
207
|
|
|
390
|
-
|
|
391
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
392
|
-
|
|
393
|
-
<!-- MCP SERVER -->
|
|
394
|
-
|
|
395
|
-
## 🔌 Model Context Protocol (MCP) Server Integration
|
|
396
|
-
|
|
397
|
-
Tribunal Kit hosts an out-of-the-box **MCP server** via stdio. Connect it to Cursor, VSCode, Windsurf, or Claude Desktop to allow coding agents to query tools dynamically.
|
|
208
|
+
The validation pipeline enforces `validate-payload.js` checks to ensure every specialist agent, workflow, and skill definition conforms to the strict schema before compilation.
|
|
398
209
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
```json
|
|
402
|
-
{
|
|
403
|
-
"mcpServers": {
|
|
404
|
-
"tribunal-kit": {
|
|
405
|
-
"command": "npx",
|
|
406
|
-
"args": ["-y", "tribunal-kit", "mcp"]
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
```
|
|
210
|
+
---
|
|
411
211
|
|
|
412
|
-
|
|
212
|
+
## ⚡ Performance
|
|
413
213
|
|
|
414
|
-
|
|
415
|
-
-
|
|
416
|
-
-
|
|
214
|
+
By offloading AST evaluation and file hashing to the `tribunal-core` Rust binary, Tribunal Kit achieves:
|
|
215
|
+
- **Sub-10ms** execution overhead for the `guardrail` and `sync` commands.
|
|
216
|
+
- Up to **95% faster** context validation compared to standard Node.js implementations traversing large monorepos.
|
|
417
217
|
|
|
418
|
-
|
|
419
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
420
|
-
|
|
421
|
-
<!-- COMMAND REFERENCE -->
|
|
422
|
-
|
|
423
|
-
## 💻 Complete CLI Command Reference
|
|
424
|
-
|
|
425
|
-
Below is the structured list of all core commands available via `npx tribunal-kit <command>` (or `tk <command>`):
|
|
426
|
-
|
|
427
|
-
<div style="overflow-x: auto; margin-top: 20px; border-radius: 8px; border: 1px solid #222225;">
|
|
428
|
-
<table style="width: 100%; border-collapse: collapse; text-align: left; background-color: #111115;">
|
|
429
|
-
<thead>
|
|
430
|
-
<tr style="border-bottom: 2px solid #22222f; background-color: #16161d; color: #ffffff;">
|
|
431
|
-
<th style="padding: 12px 16px; font-weight: 600;">Command</th>
|
|
432
|
-
<th style="padding: 12px 16px; font-weight: 600;">Action / Arguments</th>
|
|
433
|
-
<th style="padding: 12px 16px; font-weight: 600;">Description</th>
|
|
434
|
-
</tr>
|
|
435
|
-
</thead>
|
|
436
|
-
<tbody>
|
|
437
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
438
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">init</kbd></td>
|
|
439
|
-
<td style="padding: 12px 16px; color: #c9c9d1;"><code>[--force] [--path <dir>]</code></td>
|
|
440
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Initializes the <code>.agent/</code> configuration payload.</td>
|
|
441
|
-
</tr>
|
|
442
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
443
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">sync</kbd></td>
|
|
444
|
-
<td style="padding: 12px 16px; color: #c9c9d1;">—</td>
|
|
445
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Syncs <code>.agent</code> rules with Cursor, Windsurf, and VSCode configs.</td>
|
|
446
|
-
</tr>
|
|
447
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
448
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">status</kbd></td>
|
|
449
|
-
<td style="padding: 12px 16px; color: #c9c9d1;">—</td>
|
|
450
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Evaluates workspace rules and manifest counts for violations.</td>
|
|
451
|
-
</tr>
|
|
452
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
453
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">guardrail</kbd></td>
|
|
454
|
-
<td style="padding: 12px 16px; color: #c9c9d1;"><code>[--file <path>]</code></td>
|
|
455
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Scans workspace changes for phantom packages and <code>// VERIFY</code> tags.</td>
|
|
456
|
-
</tr>
|
|
457
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
458
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">tk-adapt</kbd></td>
|
|
459
|
-
<td style="padding: 12px 16px; color: #c9c9d1;"><code>[claude|aider|--global]</code></td>
|
|
460
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Universal CLI agent adapter installer for Claude Code & Aider.</td>
|
|
461
|
-
</tr>
|
|
462
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
463
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">hook</kbd></td>
|
|
464
|
-
<td style="padding: 12px 16px; color: #c9c9d1;">—</td>
|
|
465
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Installs an automated Git pre-push governance check hook.</td>
|
|
466
|
-
</tr>
|
|
467
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
468
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">optimize-skill</kbd></td>
|
|
469
|
-
<td style="padding: 12px 16px; color: #c9c9d1;"><code>--target <file> "<cmd>"</code></td>
|
|
470
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Launches a self-evolving prompt optimization sequence.</td>
|
|
471
|
-
</tr>
|
|
472
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
473
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">align</kbd></td>
|
|
474
|
-
<td style="padding: 12px 16px; color: #c9c9d1;"><code>[--file <path>]</code></td>
|
|
475
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Align outputs, strip intro/conclusion slop, enforce framework bounds.</td>
|
|
476
|
-
</tr>
|
|
477
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
478
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">learn</kbd></td>
|
|
479
|
-
<td style="padding: 12px 16px; color: #c9c9d1;"><code>[--dry-run]</code></td>
|
|
480
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Analyzes Git diff logs to automatically distill project idioms.</td>
|
|
481
|
-
</tr>
|
|
482
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
483
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">case</kbd></td>
|
|
484
|
-
<td style="padding: 12px 16px; color: #c9c9d1;"><code>add | search <q> | export</code></td>
|
|
485
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Records, searches, or compiles AI mistake precedents.</td>
|
|
486
|
-
</tr>
|
|
487
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
488
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">memory</kbd></td>
|
|
489
|
-
<td style="padding: 12px 16px; color: #c9c9d1;"><code>store | recall | gc</code></td>
|
|
490
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Manages 4-type persistent memory with budget-gated recall.</td>
|
|
491
|
-
</tr>
|
|
492
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
493
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">marathon</kbd></td>
|
|
494
|
-
<td style="padding: 12px 16px; color: #c9c9d1;"><code>init | status | next</code></td>
|
|
495
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">Sets up and executes long-running autonomous development.</td>
|
|
496
|
-
</tr>
|
|
497
|
-
<tr style="border-bottom: 1px solid #222225;">
|
|
498
|
-
<td style="padding: 12px 16px;"><kbd style="background: #1c1c24; border: 1px solid #333; padding: 2px 6px; border-radius: 4px; color: #ffffff;">contract</kbd></td>
|
|
499
|
-
<td style="padding: 12px 16px; color: #c9c9d1;"><code>init | verify | list | trace | replay</code></td>
|
|
500
|
-
<td style="padding: 12px 16px; color: #a0a0a5;">AI Agent Behavioral Contract Testing and failure context trace replay.</td>
|
|
501
|
-
</tr>
|
|
502
|
-
</tbody>
|
|
503
|
-
</table>
|
|
504
|
-
</div>
|
|
218
|
+
*(Benchmarks available via `npm run benchmark:rust` locally)*.
|
|
505
219
|
|
|
506
|
-
|
|
507
|
-
<hr style="height: 1px; border: none; background: linear-gradient(to right, transparent, #33333f, transparent); margin: 40px 0;" />
|
|
220
|
+
---
|
|
508
221
|
|
|
509
|
-
|
|
222
|
+
## 🤝 Contributing
|
|
510
223
|
|
|
511
|
-
|
|
224
|
+
We welcome community-authored agents, skills, and Rust core optimizations.
|
|
512
225
|
|
|
513
|
-
|
|
226
|
+
1. Ensure Node.js 18+ and Rust/Cargo are installed.
|
|
227
|
+
2. Build the Rust core: `npm run build:rust`
|
|
228
|
+
3. Run tests: `npm run test:all`
|
|
229
|
+
4. Review [CONTRIBUTING.md](CONTRIBUTING.md) and [DESIGN.md](DESIGN.md) before submitting pull requests.
|
|
514
230
|
|
|
515
|
-
|
|
516
|
-
[](https://github.com/Harmitx7/tribunal-kit)
|
|
517
|
-
```
|
|
231
|
+
---
|
|
518
232
|
|
|
519
|
-
|
|
520
|
-
[](https://github.com/Harmitx7/tribunal-kit)
|
|
233
|
+
## 📄 License
|
|
521
234
|
|
|
522
|
-
|
|
523
|
-
<img src="docs/assets/shield-badge-banner.svg" alt="Protected by Tribunal Kit Supply Chain Seal" width="100%" style="max-width: 800px; border-radius: 12px;" />
|
|
524
|
-
</div>
|
|
235
|
+
This project is open-source and licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.
|
|
525
236
|
|
|
526
237
|
<br>
|
|
527
|
-
<
|
|
528
|
-
|
|
529
|
-
<!-- FOOTER -->
|
|
530
|
-
|
|
531
|
-
## 🤝 Contributing & Security
|
|
532
|
-
|
|
533
|
-
- **Design System**: Built under the Classical Neo-Brutalist & Kinetic Governance specification. See [DESIGN.md](DESIGN.md).
|
|
534
|
-
- **Security Policy**: Zero network runtime dependencies, zero dynamic `eval`, and sandboxed file paths. Review [SECURITY.md](SECURITY.md).
|
|
535
|
-
- **Contributing Guide**: We welcome community-authored agents, skills, and Rust core optimizations. See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
536
|
-
|
|
537
|
-
<div align="center" style="background: #0e1118; border: 1px solid #242938; border-radius: 8px; padding: 25px; margin-top: 50px;">
|
|
238
|
+
<div align="center">
|
|
538
239
|
<img src="https://img.shields.io/badge/Status-Active_&_Secured-ff3300?style=for-the-badge&logoColor=white" alt="Status" />
|
|
539
240
|
<br><br>
|
|
540
|
-
<span style="font-style: italic; color: #
|
|
541
|
-
<sub style="color: #8a92a3;"><b>MIT Licensed</b> • Engineered for ultimate AI code governance • Classical Neo-Brutalist Edition.</sub>
|
|
241
|
+
<span style="font-style: italic; color: #8a92a3; font-size: 0.95em;">Engineered for ultimate AI code governance.</span>
|
|
542
242
|
</div>
|