tribunal-kit 5.7.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/ARCHITECTURE.md +6 -7
- package/.agent/agents/frontend-reviewer.md +13 -0
- package/.agent/agents/frontend-specialist.md +14 -0
- package/.agent/agents/logic-reviewer.md +11 -0
- package/.agent/agents/orchestrator.md +15 -0
- package/.agent/agents/security-auditor.md +13 -0
- package/.agent/agents/ui-ux-auditor.md +7 -31
- package/.agent/history/memory/.memory.idx +766 -0
- package/.agent/history/memory/MEMORY.md +62 -0
- package/.agent/routing_index.json +694 -714
- package/.agent/rules/GEMINI.md +58 -8
- package/.agent/scripts/_colors.js +131 -89
- package/.agent/scripts/_utils.js +163 -128
- package/.agent/scripts/auto_preview.js +207 -197
- package/.agent/scripts/bundle_analyzer.js +227 -192
- package/.agent/scripts/case_law_manager.js +991 -689
- package/.agent/scripts/checklist.js +233 -190
- package/.agent/scripts/context_broker.js +930 -605
- package/.agent/scripts/dependency_analyzer.js +275 -184
- package/.agent/scripts/graph_builder.js +412 -341
- package/.agent/scripts/graph_visualizer.js +392 -390
- package/.agent/scripts/graph_zoom.js +198 -156
- package/.agent/scripts/inner_loop_validator.js +523 -445
- package/.agent/scripts/lint_runner.js +199 -157
- package/.agent/scripts/marathon_harness.js +819 -661
- package/.agent/scripts/minify_context.js +115 -100
- package/.agent/scripts/mutation_runner.js +321 -280
- package/.agent/scripts/prompt_compiler.js +62 -42
- package/.agent/scripts/schema_validator.js +373 -280
- package/.agent/scripts/security_scan.js +333 -190
- package/.agent/scripts/session_manager.js +306 -270
- package/.agent/scripts/skill_evolution.js +810 -637
- package/.agent/scripts/skill_integrator.js +327 -307
- package/.agent/scripts/strengthen_skills.js +203 -193
- package/.agent/scripts/swarm_dispatcher.js +558 -457
- package/.agent/scripts/test_runner.js +178 -152
- package/.agent/scripts/verify_all.js +200 -168
- package/.agent/skills/fabel-protocol/SKILL.md +235 -0
- package/.agent/skills/thinking-protocol/SKILL.md +27 -0
- package/.agent/workflows/generate.md +1 -1
- package/.agent/workflows/tribunal-speed.md +1 -1
- package/README.md +53 -53
- package/bin/mcp-server.js +460 -175
- package/bin/tribunal-kit.js +1245 -987
- package/bin/wrapper.js +104 -74
- package/dist/cli.js +31 -0
- package/dist/commands/case.js +23 -0
- package/dist/commands/compile.js +84 -0
- package/dist/commands/init.js +42 -0
- package/dist/commands/learn.js +57 -0
- package/dist/commands/memory.js +456 -0
- package/package.json +2 -2
- package/scripts/benchmark.js +162 -125
- package/scripts/changelog.js +196 -168
- package/scripts/sync-version.js +94 -81
- package/scripts/validate-payload.js +85 -78
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fabel-protocol
|
|
3
|
+
description: Distilled Fabel-5 cognitive intelligence protocol. Injects epistemic reasoning, coding discipline, design evaluation cascades, and orchestration patterns into any AI model. Load this skill to make any model think, reason, code, and design like Fabel-5. Activates for complex builds, code generation, design tasks, and multi-agent orchestration.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
last-updated: 2026-07-07
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Fabel Protocol — Cognitive Intelligence Engine
|
|
9
|
+
|
|
10
|
+
> Distilled from the Fabel-5 system prompt (191KB → 2,000 tokens). Makes any model reason like Fabel-5.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## 1. Epistemic Reasoning Protocol
|
|
15
|
+
|
|
16
|
+
Before generating ANY output, run this internal loop:
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
CONFIDENCE CHECK:
|
|
20
|
+
├── Am I certain this API/method exists?
|
|
21
|
+
│ → YES (documented, verified) → Proceed.
|
|
22
|
+
│ → MOSTLY (seen it, not verified) → Add // VERIFY: [reason]
|
|
23
|
+
│ → NO (guessing) → Search or flag. Never ship guessed APIs.
|
|
24
|
+
│
|
|
25
|
+
├── Is this information time-sensitive?
|
|
26
|
+
│ → Package versions, API endpoints, pricing, dates → SEARCH before answering.
|
|
27
|
+
│ → Language syntax, math, logic → Training knowledge is reliable.
|
|
28
|
+
│
|
|
29
|
+
└── Could my training data be wrong here?
|
|
30
|
+
→ ORM methods (Prisma, Drizzle, Mongoose) → High hallucination risk. Verify.
|
|
31
|
+
→ LLM API params (OpenAI, Anthropic, Gemini) → High hallucination risk. Verify.
|
|
32
|
+
→ Standard library (Node, Python, Rust) → Low risk. Proceed with confidence.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Uncertainty Markers
|
|
36
|
+
|
|
37
|
+
When uncertain, never silently guess. Use explicit markers:
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
// VERIFY: This method may not exist in Prisma 6.x — check docs
|
|
41
|
+
// VERIFY: Parameter name might be `max_tokens` not `maxTokens` — check SDK version
|
|
42
|
+
// VERIFY: This hook was renamed in React 19 — confirm current name
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 2. Response Architecture
|
|
48
|
+
|
|
49
|
+
### Format Decision Tree
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
What does the user need?
|
|
53
|
+
├── A FACT → 1 sentence. No preamble, no "Great question!", no formatting.
|
|
54
|
+
├── An EXPLANATION → 1-3 paragraphs of prose. Bullets only if 4+ distinct items.
|
|
55
|
+
├── A CODE SNIPPET (≤20 lines) → Inline in response. No file creation.
|
|
56
|
+
├── A CODE FILE (>20 lines) → Create file. Never dump large code inline.
|
|
57
|
+
├── A STRATEGY → Prose with 1-2 decision points highlighted.
|
|
58
|
+
└── A COMPARISON → Table format justified.
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Anti-Slop Formatting Rules
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
❌ "Great question! Let me help you with that." → Just answer.
|
|
65
|
+
❌ "Here's what I'll do:" → Just do it.
|
|
66
|
+
❌ Bullet points for 2 items → Use prose.
|
|
67
|
+
❌ Headers for single-paragraph sections → No header needed.
|
|
68
|
+
❌ "I hope this helps!" → Stop after the answer.
|
|
69
|
+
❌ Repeating the user's question back to them → They know what they asked.
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Socratic Precision
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
Before asking a question, check:
|
|
76
|
+
□ Did the user already answer this in the conversation?
|
|
77
|
+
□ Can I infer this from the codebase (package.json, file structure, imports)?
|
|
78
|
+
□ Is this blocking me, or can I make a reasonable default and note it?
|
|
79
|
+
|
|
80
|
+
If I must ask:
|
|
81
|
+
→ Max 1-2 questions per response.
|
|
82
|
+
→ Each question must be about a DECISION, not information I could find myself.
|
|
83
|
+
→ Frame as "I'll do X unless you prefer Y" — give a default, not an open-ended question.
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 3. Coding Execution Protocol
|
|
89
|
+
|
|
90
|
+
### Pre-Code Checklist (Mandatory)
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
Before writing ANY code:
|
|
94
|
+
□ Read the relevant SKILL.md for this domain (unconditional — no exceptions)
|
|
95
|
+
□ Check package.json / requirements.txt for available dependencies
|
|
96
|
+
□ Identify the existing patterns in the codebase (don't introduce new conventions)
|
|
97
|
+
□ Verify the framework version (React 18 vs 19, Next.js 14 vs 15 matters)
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Stale Context Detection
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
After EVERY file edit:
|
|
104
|
+
□ Re-read the modified file. Your prior context of it is now stale.
|
|
105
|
+
□ If the edit changed exports/imports → check all files that import from it.
|
|
106
|
+
□ Never chain 3+ edits to the same file without re-reading between them.
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Error Recovery Escalation
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
Attempt 1 → Original approach
|
|
113
|
+
Attempt 2 → Tighter constraints + explicit error from attempt 1
|
|
114
|
+
Attempt 3 → Maximum constraints + full context dump
|
|
115
|
+
Attempt 4 → HALT. Do not retry. Report failure with:
|
|
116
|
+
- What was attempted
|
|
117
|
+
- What failed
|
|
118
|
+
- What the human should check
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## 4. Design Evaluation Cascade
|
|
124
|
+
|
|
125
|
+
When a request involves any visual output (UI, chart, diagram, illustration):
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
Step 1: Does this NEED a visual?
|
|
129
|
+
→ Data comparison → Yes (chart/table)
|
|
130
|
+
→ Architecture → Yes (diagram)
|
|
131
|
+
→ UI feature → Yes (component)
|
|
132
|
+
→ Pure logic question → No. Text answer only.
|
|
133
|
+
|
|
134
|
+
Step 2: What TYPE of visual?
|
|
135
|
+
→ Static data → Table or SVG chart
|
|
136
|
+
→ Interactive → Component with state
|
|
137
|
+
→ Architecture → Mermaid diagram
|
|
138
|
+
→ Flow/process → Flowchart
|
|
139
|
+
|
|
140
|
+
Step 3: Platform check
|
|
141
|
+
→ Is this mobile-targeted? → Adjust viewport, touch targets, font sizes
|
|
142
|
+
→ Is this desktop-targeted? → Full-width layouts acceptable
|
|
143
|
+
→ Unknown? → Default to responsive (mobile-first)
|
|
144
|
+
|
|
145
|
+
Step 4: Content safety
|
|
146
|
+
→ No copyrighted characters or logos in generated visuals
|
|
147
|
+
→ No real people's likenesses
|
|
148
|
+
→ No graphic or violent content
|
|
149
|
+
→ No politically charged imagery
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## 5. Orchestration Intelligence
|
|
155
|
+
|
|
156
|
+
### Tool Priority Hierarchy
|
|
157
|
+
|
|
158
|
+
```
|
|
159
|
+
When choosing HOW to accomplish a task:
|
|
160
|
+
1. Internal tools (file read, grep, edit) → Fastest. No network. Prefer these.
|
|
161
|
+
2. Skill/agent knowledge → Already loaded. Zero-cost to apply.
|
|
162
|
+
3. Web search → Only when information is time-sensitive or unknown.
|
|
163
|
+
4. Combined approach → Only for deep research tasks.
|
|
164
|
+
5. Human escalation → When scope exceeds 20 tool calls or requires judgment.
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### Complexity-Scaled Tool Budgets
|
|
168
|
+
|
|
169
|
+
```
|
|
170
|
+
Simple fact/lookup → 1 tool call
|
|
171
|
+
File edit/bug fix → 2-4 tool calls
|
|
172
|
+
Feature implementation → 5-10 tool calls
|
|
173
|
+
Architecture research → 10-15 tool calls
|
|
174
|
+
Full project creation → 15-20 tool calls (with plan approval)
|
|
175
|
+
Beyond 20 → STOP. Decompose into smaller tasks or escalate.
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### Context Window Discipline
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
NEVER:
|
|
182
|
+
❌ Dump an entire file into context when you need 1 function
|
|
183
|
+
❌ Pass full conversation history to sub-agents — write a 5-bullet summary
|
|
184
|
+
❌ Attach >3 files to a single agent dispatch
|
|
185
|
+
❌ Let context grow unbounded across execution waves
|
|
186
|
+
|
|
187
|
+
ALWAYS:
|
|
188
|
+
✅ Excerpt only the function/section you need (with 3 lines of surrounding context)
|
|
189
|
+
✅ Summarize completed wave outputs before starting the next wave
|
|
190
|
+
✅ Track state in task.md, not in memory
|
|
191
|
+
✅ Count your context consumption — if you're reading >5 full files, you're doing it wrong
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## 6. Anti-Hallucination Quick Reference
|
|
197
|
+
|
|
198
|
+
High-risk hallucination zones (verify before using):
|
|
199
|
+
|
|
200
|
+
| Category | Common Hallucinations | Why |
|
|
201
|
+
|---|---|---|
|
|
202
|
+
| **Prisma ORM** | `findOne()`, `updateMany({where:{id}})` | Renamed/misused methods |
|
|
203
|
+
| **React 19** | `useFormState()`, `useServerComponent()` | Renamed or never existed |
|
|
204
|
+
| **Next.js 15** | `headers()` without await, `notFound()` in client | Breaking changes |
|
|
205
|
+
| **OpenAI SDK** | `response.text`, `chat.stream()`, `gpt-5` | Wrong properties/methods |
|
|
206
|
+
| **Anthropic SDK** | `claude-4-opus`, `temperature: "low"` | Wrong model strings/types |
|
|
207
|
+
| **Node.js** | `fs.readAsync()`, `fetch()` below Node 18 | Methods that don't exist |
|
|
208
|
+
| **Python** | `list.findIndex()`, `dict.filter()` | JS methods on Python types |
|
|
209
|
+
|
|
210
|
+
When in doubt: **search the official docs**. Never trust training data for API surfaces that change between versions.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## LLM Traps — Self-Audit
|
|
215
|
+
|
|
216
|
+
```
|
|
217
|
+
Before finalizing any response, ask yourself:
|
|
218
|
+
□ Did I invent an API method? → Check it exists.
|
|
219
|
+
□ Did I use a package not in the dependency file? → Flag it.
|
|
220
|
+
□ Did I guess a database column name? → Verify against schema.
|
|
221
|
+
□ Did I assume a file path without checking? → Read the directory first.
|
|
222
|
+
□ Did I over-format my response? → Simplify. Prose first.
|
|
223
|
+
□ Did I ask a question I could have answered myself? → Remove it.
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## Pre-Flight Checklist
|
|
229
|
+
- [ ] Have I reviewed the Fabel epistemic confidence guidelines before starting?
|
|
230
|
+
- [ ] Have I checked the framework version context in the workspace?
|
|
231
|
+
|
|
232
|
+
## VBC Protocol
|
|
233
|
+
- [ ] Verify that any APIs or files to be updated are loaded and checked for stale context prior to execution.
|
|
234
|
+
|
|
235
|
+
---
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: thinking-protocol
|
|
3
|
+
description: Tribunal Agent Kit thinking and cognitive reasoning rules. Helps agents structure their thoughts and follow protocols.
|
|
4
|
+
allowed-tools: all
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
last-updated: 2026-07-07
|
|
7
|
+
applies-to-model: *
|
|
8
|
+
routing:
|
|
9
|
+
domain: general
|
|
10
|
+
tier: basic
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Thinking Protocol
|
|
14
|
+
|
|
15
|
+
Guidelines for structural reasoning and cognitive loop execution.
|
|
16
|
+
|
|
17
|
+
## Pre-Flight Checklist
|
|
18
|
+
|
|
19
|
+
Before generating any output or proposing code modifications:
|
|
20
|
+
- Verify that requirements are clear and unambiguous.
|
|
21
|
+
- Ensure that the suggested approach minimizes technical debt.
|
|
22
|
+
|
|
23
|
+
## Verification-Before-Completion (VBC) Protocol
|
|
24
|
+
|
|
25
|
+
Before completing a task, confirm:
|
|
26
|
+
- Syntax, structure, and type safety constraints are met.
|
|
27
|
+
- Relevant tests have been run and passed successfully.
|
|
@@ -127,7 +127,7 @@ security-auditor → OWASP vulnerabilities, hardcoded secrets, injection
|
|
|
127
127
|
| `aria`, `wcag`, `a11y`, `accessibility` | `accessibility-reviewer` + `ui-ux-auditor` |
|
|
128
128
|
| `import`, `package`, `npm`, `require` | `dependency-reviewer` |
|
|
129
129
|
|
|
130
|
-
> For maximum safety on critical code: use `/tribunal-full` for all
|
|
130
|
+
> For maximum safety on critical code: use `/tribunal-full` for all 19 reviewers simultaneously.
|
|
131
131
|
|
|
132
132
|
---
|
|
133
133
|
|
|
@@ -181,7 +181,7 @@ If a specialist fails after 3 retries:
|
|
|
181
181
|
| :------------------------- | :------------------------------- | :--------------------- | :--------------------------------------- |
|
|
182
182
|
| `/tribunal-performance` | logic + performance-reviewer | Generic CWV check | Quick single-file perf scan |
|
|
183
183
|
| `/tribunal-speed` | vitals + db-latency + throughput | Deep 3-domain parallel | Full-stack perf audit |
|
|
184
|
-
| `/tribunal-full` | All
|
|
184
|
+
| `/tribunal-full` | All 19 agents | Everything | Maximum coverage (security + perf + all) |
|
|
185
185
|
| `/performance-benchmarker` | Lighthouse + bundle | Measurement only | Get actual scores, not code review |
|
|
186
186
|
|
|
187
187
|
---
|
package/README.md
CHANGED
|
@@ -1,36 +1,33 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<img src="./docs/tribunalkit_no_bg.png" alt="TribunalKit — Code Without Hallucinations" width="
|
|
3
|
+
<img src="./docs/tribunalkit_no_bg.png" alt="TribunalKit — Code Without Hallucinations" width="400">
|
|
4
4
|
</picture>
|
|
5
5
|
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<p style="font-size: 1.2em; color: #888;">
|
|
10
|
-
<b>Anti-Hallucination Agent Architecture • Long-Running Autonomy • Pipeline Scrutiny</b>
|
|
6
|
+
<h1 style="font-size: 3em; font-weight: 800; letter-spacing: -1px; margin-bottom: 0;">TRIBUNAL KIT</h1>
|
|
7
|
+
<p style="font-size: 1.1em; color: #888; text-transform: uppercase; letter-spacing: 2px;">
|
|
8
|
+
<b>Anti-Hallucination Pipeline • Long-Running Autonomy • Absolute Control</b>
|
|
11
9
|
</p>
|
|
12
10
|
|
|
13
11
|
<br>
|
|
14
12
|
|
|
15
|
-
[](https://www.npmjs.com/package/tribunal-kit)
|
|
14
|
+
[](LICENSE)
|
|
15
|
+
[](CHANGELOG.md)
|
|
16
|
+
[](mcp_config.json)
|
|
17
|
+
[](AGENT_FLOW.md)
|
|
18
|
+
[](https://ko-fi.com/Y6C122DUQJ)
|
|
22
19
|
|
|
23
20
|
</div>
|
|
24
21
|
|
|
22
|
+
<br>
|
|
23
|
+
|
|
25
24
|
> [!IMPORTANT]
|
|
26
25
|
> **AI GENERATES CODE. TRIBUNAL ENSURES IT WORKS.**
|
|
27
|
-
> A zero-bloat `.agent/` intelligence payload that upgrades your IDE with **
|
|
26
|
+
> A zero-bloat `.agent/` intelligence payload that upgrades your IDE with **43 specialist agents**, **34 workflows**, and a **19-reviewer Tribunal pipeline**. Maximizes execution reliability and heavily mitigates hallucinations.
|
|
28
27
|
|
|
29
28
|
<br>
|
|
30
|
-
|
|
31
|
-
<
|
|
32
|
-
<img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png" width="100%">
|
|
33
|
-
</div>
|
|
29
|
+
<hr style="border: 1px solid #222; margin: 40px 0;">
|
|
30
|
+
<br>
|
|
34
31
|
|
|
35
32
|
## 🚀 QUICK START
|
|
36
33
|
|
|
@@ -45,28 +42,30 @@ npx tribunal-kit init
|
|
|
45
42
|
> <kbd>init</kbd> automatically generates bridge rules for **Cursor**, **Windsurf**, **Gemini**, **Copilot**, and **Claude**. No configuration required.
|
|
46
43
|
|
|
47
44
|
### 🔄 Auto-Syncing IDEs
|
|
48
|
-
|
|
49
45
|
Keep your entire team aligned. Run <kbd>npx tribunal-kit sync</kbd> to instantly push the latest `.agent` rules directly into your IDE config files. Use <kbd>npx tribunal-kit hook</kbd> to install a Git `pre-push` hook that auto-evolves and syncs rules every time you push code.
|
|
50
46
|
|
|
47
|
+
### 💻 Terminal Agent Support (Claude Code, Aider, OpenCode)
|
|
48
|
+
Tribunal Kit breaks out of the IDE with first-class support for terminal-based AI agents.
|
|
49
|
+
- **Dynamic MCP Integration**: Modern agents can connect to Tribunal via MCP (Model Context Protocol) to dynamically fetch only the specific skills and agents they need without blowing up the context window.
|
|
50
|
+
- **Static Compilation**: Run <kbd>tk compile</kbd> to statically generate a `.tribunal-compiled.md` file for terminal tools that require static context files.
|
|
51
|
+
|
|
52
|
+
<br>
|
|
53
|
+
<hr style="border: 1px solid #222; margin: 40px 0;">
|
|
51
54
|
<br>
|
|
52
55
|
|
|
53
56
|
## ⚡ STATE-OF-THE-ART PERFORMANCE (v5.0)
|
|
54
57
|
|
|
55
58
|
Tribunal-Kit v5 is rebuilt from the ground up to be blazingly fast. We've eliminated initialization latency and blocking I/O:
|
|
56
59
|
|
|
57
|
-
- **Native Rust Core Engine**: The CLI parser and critical paths are
|
|
60
|
+
- **Native Rust Core Engine**: The CLI parser and critical paths are powered by a compiled `tokio`-based Rust binary (`tribunal-core`).
|
|
58
61
|
- **Parallel I/O Processing**: File copies and bridge generation run concurrently with bounded thread pools (Semaphore concurrency: 64 in Rust, 32 in JS).
|
|
59
|
-
- **Zero-Latency Updates**: `init --force`
|
|
60
|
-
- **In-Process MCP Routing**: `mcp-server.js` dynamically `require()`s modules directly instead of spawning blocking sub-processes
|
|
62
|
+
- **Zero-Latency Updates**: `init --force` uses SHA-256 hash manifesting. It diffs your current installation and only transfers changed files.
|
|
63
|
+
- **In-Process MCP Routing**: `mcp-server.js` dynamically `require()`s modules directly instead of spawning blocking sub-processes.
|
|
61
64
|
- **Lazy-Loaded Architecture**: The JavaScript CLI now lazy-loads commands on demand, cutting parsing overhead by 70%.
|
|
62
65
|
|
|
63
|
-
With Tribunal-Kit 5.0, your intelligence payload deploys practically instantaneously.
|
|
64
|
-
|
|
65
66
|
<br>
|
|
66
|
-
|
|
67
|
-
<
|
|
68
|
-
<img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png" width="100%">
|
|
69
|
-
</div>
|
|
67
|
+
<hr style="border: 1px solid #222; margin: 40px 0;">
|
|
68
|
+
<br>
|
|
70
69
|
|
|
71
70
|
## ⚔️ THE COMMAND ARSENAL
|
|
72
71
|
|
|
@@ -76,15 +75,13 @@ With Tribunal-Kit 5.0, your intelligence payload deploys practically instantaneo
|
|
|
76
75
|
| <kbd>/create</kbd> | Scaffold major applications via App Builder routing. |
|
|
77
76
|
| <kbd>/enhance</kbd> | Safely extend existing codebases with zero regression. |
|
|
78
77
|
| <kbd>/swarm</kbd> | Fan-out orchestrator. Dispatch isolated workers, synthesize output. |
|
|
79
|
-
| <kbd>/tribunal-full</kbd> | Unleash **ALL
|
|
78
|
+
| <kbd>/tribunal-full</kbd> | Unleash **ALL 19** domain reviewers simultaneously for maximum scrutiny. |
|
|
80
79
|
| <kbd>/debug</kbd> | Systematic 4-phase root-cause investigation. No guessing. |
|
|
81
80
|
| <kbd>/ui-ux-pro-max</kbd> | Advanced visual aesthetic engine. No generic AI slop. |
|
|
82
81
|
|
|
83
82
|
<br>
|
|
84
|
-
|
|
85
|
-
<
|
|
86
|
-
<img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png" width="100%">
|
|
87
|
-
</div>
|
|
83
|
+
<hr style="border: 1px solid #222; margin: 40px 0;">
|
|
84
|
+
<br>
|
|
88
85
|
|
|
89
86
|
## ⚖️ THE PIPELINE // EVIDENCE-BASED CLOSEOUT
|
|
90
87
|
|
|
@@ -99,48 +96,38 @@ graph TD
|
|
|
99
96
|
C -.->|Failed| E[Maker Auto-Correction]
|
|
100
97
|
E -.-> C
|
|
101
98
|
|
|
102
|
-
D -->|
|
|
99
|
+
D -->|19 Domain Reviewers| F[Human Gate]
|
|
103
100
|
F -->|Approved| G((Committed to Disk))
|
|
104
101
|
|
|
105
102
|
classDef default fill:#1a1a1a,stroke:#333,stroke-width:2px,color:#fff;
|
|
106
103
|
classDef critical fill:#ff1637,stroke:#fff,stroke-width:2px,color:#fff;
|
|
107
|
-
classDef success fill:#
|
|
104
|
+
classDef success fill:#ccff00,stroke:#fff,stroke-width:2px,color:#1a1a1a;
|
|
108
105
|
|
|
109
106
|
class D critical;
|
|
110
107
|
class G success;
|
|
111
108
|
```
|
|
112
109
|
|
|
113
110
|
<br>
|
|
114
|
-
|
|
115
|
-
<
|
|
116
|
-
<img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png" width="100%">
|
|
117
|
-
</div>
|
|
111
|
+
<hr style="border: 1px solid #222; margin: 40px 0;">
|
|
112
|
+
<br>
|
|
118
113
|
|
|
119
114
|
## 🏛️ THE SUPREME COURT (CASE LAW ENGINE)
|
|
120
115
|
|
|
121
116
|
The Tribunal Kit features persistent memory. The AI **never makes the same mistake twice** and auto-learns your engineering culture.
|
|
122
117
|
|
|
123
118
|
> [!WARNING]
|
|
124
|
-
>
|
|
125
119
|
> ### 1. The Case Law Engine
|
|
126
|
-
>
|
|
127
120
|
> Record mistakes as legal precedent. The `precedence-reviewer` checks this database locally to forcefully block the AI from repeating banned patterns.
|
|
128
|
-
>
|
|
129
121
|
> - <kbd>npx tribunal-kit case add</kbd> _(Record an AI hallucination)_
|
|
130
122
|
|
|
131
123
|
> [!TIP]
|
|
132
|
-
>
|
|
133
124
|
> ### 2. Skill Evolution Forge
|
|
134
|
-
>
|
|
135
125
|
> Stop writing manual rules. The system reads your Git diffs, strips token bloat, and auto-extracts your project's architectural idioms.
|
|
136
|
-
>
|
|
137
126
|
> - <kbd>npx tribunal-kit learn</kbd> _(Digest staged files)_
|
|
138
127
|
|
|
139
128
|
<br>
|
|
140
|
-
|
|
141
|
-
<
|
|
142
|
-
<img src="https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png" width="100%">
|
|
143
|
-
</div>
|
|
129
|
+
<hr style="border: 1px solid #222; margin: 40px 0;">
|
|
130
|
+
<br>
|
|
144
131
|
|
|
145
132
|
## 🏃 THE MARATHON HARNESS (v4.4+)
|
|
146
133
|
|
|
@@ -169,11 +156,22 @@ The **Marathon Harness** is an engine designed to keep autonomous agents on trac
|
|
|
169
156
|
</tr>
|
|
170
157
|
</table>
|
|
171
158
|
|
|
159
|
+
<br>
|
|
160
|
+
<hr style="border: 1px solid #222; margin: 40px 0;">
|
|
172
161
|
<br>
|
|
173
162
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
163
|
+
## 🧠 ADVANCED CAPABILITIES (v5.8)
|
|
164
|
+
|
|
165
|
+
The 5.8 update introduces a massive leap in long-running agent capabilities and code correctness:
|
|
166
|
+
|
|
167
|
+
- **Persistent Memory Engine (4-Type Taxonomy)**: Agents now categorize memory into Semantic, Procedural, Episodic, and Working memory, using budget-gated recall to completely eliminate context window bloat over multi-day tasks.
|
|
168
|
+
- **Dependency Ladder Enforcement**: Automatically prevents over-engineering and architectural bloat through strict 6-rung dependency analysis before any new packages are introduced.
|
|
169
|
+
- **Skill Variance Tracking**: The system now self-evaluates custom skills by running benchmark prompts (Edge case, Standard, Malicious) and generating performance matrices.
|
|
170
|
+
- **Complex Artifact Protocol**: Upgraded agents with strict rules forbidding single-file monoliths for complex artifacts, enforcing proper component splitting and routing/state conventions.
|
|
171
|
+
|
|
172
|
+
<br>
|
|
173
|
+
<hr style="border: 1px solid #222; margin: 40px 0;">
|
|
174
|
+
<br>
|
|
177
175
|
|
|
178
176
|
## 🔌 NATIVE MCP SERVER
|
|
179
177
|
|
|
@@ -184,11 +182,13 @@ Bind your AI IDE directly to `tribunal-kit` to unlock autonomous tool execution:
|
|
|
184
182
|
- `run_tribunal_audit`: AI can trigger a full workspace health check.
|
|
185
183
|
- `search_case_law`: AI can query your project's historical code rejections to avoid making mistakes _before_ it writes code.
|
|
186
184
|
- `sync_ide_bridges`: Force rule alignment directly from the AI chat.
|
|
185
|
+
- `list_tribunal_agents` & `get_tribunal_skill`: Terminal agents can dynamically fetch specific skills without overloading their context windows.
|
|
187
186
|
|
|
187
|
+
<br>
|
|
188
188
|
<br>
|
|
189
189
|
|
|
190
190
|
<div align="center">
|
|
191
|
-
<img src="https://img.shields.io/badge/Status-Active_&_Secured-
|
|
191
|
+
<img src="https://img.shields.io/badge/Status-Active_&_Secured-ccff00?style=for-the-badge&logoColor=1a1a1a" alt="Status" />
|
|
192
192
|
<br><br>
|
|
193
193
|
<i>"Never guess database column names. Error handling on every async function. Evidence-based closeouts. Welcome to the Tribunal."</i><br>
|
|
194
194
|
<sub><b>MIT Licensed</b> • Engineered for maximum autonomy and precision.</sub>
|