tribunal-kit 7.0.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/config/claude.json +18 -0
- package/.agent/config/plugin.json +102 -0
- package/.agent/config/slash-commands.json +103 -0
- package/.agent/config/specialist-registry.json +415 -0
- package/.agent/config/system-prompt.md +191 -0
- package/.agent/history/architecture-graph.yaml +302 -3
- package/.agent/history/graph-cache.json +515 -45
- package/.agent/history/memory.db +0 -0
- package/.agent/history/snapshots/bin__adapter-install.js.json +13 -0
- package/.agent/history/snapshots/bin__global-store.js.json +15 -0
- package/.agent/history/snapshots/bin__mcp-server.js.json +19 -0
- package/.agent/history/snapshots/bin__proxy-server.js.json +20 -0
- package/.agent/history/snapshots/bin__spawn-agent.js.json +12 -0
- package/.agent/history/snapshots/bin__tk-proxy.js.json +21 -0
- package/.agent/history/snapshots/bin__tribunal-kit.js.json +9 -7
- package/.agent/history/snapshots/bin__wrapper.js.json +14 -0
- package/.agent/history/snapshots/eslint.config.js.json +1 -2
- package/.agent/history/snapshots/scripts__benchmark.js.json +14 -0
- package/.agent/history/snapshots/scripts__changelog.js.json +1 -2
- package/.agent/history/snapshots/scripts__fix-vbc.js.json +11 -0
- package/.agent/history/snapshots/scripts__stress_benchmark.js.json +15 -0
- package/.agent/history/snapshots/scripts__sync-version.js.json +1 -2
- package/.agent/history/snapshots/scripts__validate-payload.js.json +1 -2
- package/.agent/history/snapshots/scripts__visual_audit.js.json +11 -0
- package/.agent/history/snapshots/test__integration__bridges.test.js.json +1 -2
- package/.agent/history/snapshots/test__integration__graceful_degradation.test.js.json +12 -0
- package/.agent/history/snapshots/test__integration__init.test.js.json +1 -2
- package/.agent/history/snapshots/test__integration__minimal_change_pipeline.test.js.json +13 -0
- package/.agent/history/snapshots/test__integration__parallel_tribunal.test.js.json +12 -0
- package/.agent/history/snapshots/test__integration__routing.test.js.json +1 -2
- package/.agent/history/snapshots/test__integration__swarm_dispatcher.test.js.json +1 -2
- package/.agent/history/snapshots/test__integration__sync_status.test.js.json +13 -0
- package/.agent/history/snapshots/test__integration__wave2.test.js.json +1 -2
- package/.agent/history/snapshots/test__integration__wrapper.test.js.json +13 -0
- package/.agent/history/snapshots/test__unit__align.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__args.test.js.json +3 -3
- package/.agent/history/snapshots/test__unit__audit_release.test.js.json +16 -0
- package/.agent/history/snapshots/test__unit__case_law_manager.test.js.json +1 -2
- package/.agent/history/snapshots/test__unit__cicd_validator.test.js.json +12 -0
- package/.agent/history/snapshots/test__unit__compile.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__context_broker.test.js.json +1 -2
- package/.agent/history/snapshots/test__unit__contract_engine.test.js.json +13 -0
- package/.agent/history/snapshots/test__unit__copyDir.test.js.json +3 -3
- package/.agent/history/snapshots/test__unit__graph_tools.test.js.json +1 -2
- package/.agent/history/snapshots/test__unit__guardrail_engine.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__impact_classifier.test.js.json +12 -0
- package/.agent/history/snapshots/test__unit__init.test.js.json +14 -0
- package/.agent/history/snapshots/test__unit__inner_loop_validator.test.js.json +1 -2
- package/.agent/history/snapshots/test__unit__integrity_manifest.test.js.json +13 -0
- package/.agent/history/snapshots/test__unit__learn.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__marathon.test.js.json +22 -0
- package/.agent/history/snapshots/test__unit__mcp_server.test.js.json +16 -0
- package/.agent/history/snapshots/test__unit__memory.test.js.json +13 -0
- package/.agent/history/snapshots/test__unit__minimal_change.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__native.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__optimize.test.js.json +13 -0
- package/.agent/history/snapshots/test__unit__path_resolution.test.js.json +14 -0
- package/.agent/history/snapshots/test__unit__production_readiness_evidence.test.js.json +21 -0
- package/.agent/history/snapshots/test__unit__selfInstall.test.js.json +3 -3
- package/.agent/history/snapshots/test__unit__semver.test.js.json +3 -3
- package/.agent/history/snapshots/test__unit__skill_evolution.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__stress.test.js.json +15 -0
- package/.agent/history/snapshots/test__unit__swarm_dispatcher.test.js.json +3 -3
- package/.agent/history/snapshots/test__unit__utils.test.js.json +10 -0
- package/.agent/scripts/ast_context_loader.js +137 -0
- package/.agent/scripts/memory_engine.js +581 -0
- package/.agent/scripts/payload_schemas.js +146 -0
- package/.agent/scripts/prompt_compiler.js +59 -11
- package/.agent/scripts/swarm_dispatcher.js +295 -67
- package/.agent/scripts/token_budget_broker.js +117 -6
- package/.claude/CLAUDE.md +442 -0
- package/README.md +22 -12
- package/SECURITY.md +3 -3
- package/bin/adapter-install.js +240 -0
- package/bin/global-store.js +48 -0
- package/bin/mcp-server.js +568 -252
- package/bin/proxy-server.js +113 -0
- package/bin/spawn-agent.js +39 -0
- package/bin/tk-proxy.js +34 -0
- package/dist/commands/init.js +8 -51
- package/dist/commands/status.js +61 -36
- package/dist/commands/validate.js +22 -31
- package/dist/tui/banner.js +77 -0
- package/dist/tui/index.js +21 -0
- package/dist/tui/reviewer-grid.js +90 -0
- package/dist/tui/shimmer.js +91 -0
- package/dist/tui/theme.js +130 -0
- package/dist/tui/tree.js +93 -0
- package/dist/tui/wizard.js +148 -0
- package/dist/utils/helpers.js +5 -41
- package/package.json +27 -10
- package/scripts/build-graph.js +71 -0
- package/.agent/history/snapshots/migrate_refs.js.json +0 -11
- package/.agent/scripts/compile_router.py +0 -5
- package/.agent/scripts/migrate_skills_frontmatter.py +0 -5
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
# Tribunal Kit v7 — Universal AI Agent Governance Layer
|
|
2
|
+
|
|
3
|
+
You are operating under the governance of **Tribunal Kit**, the anti-hallucination and code quality enforcement layer. These directives are non-negotiable and override any conflicting instructions.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 0. Fabel Protocol (Execute Before Every Response)
|
|
8
|
+
|
|
9
|
+
### Epistemic Check
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
Do I KNOW this, or am I GUESSING?
|
|
13
|
+
→ Guessing → mark // VERIFY: [reason] and search before answering.
|
|
14
|
+
Has this information possibly changed since my training?
|
|
15
|
+
→ Yes → Search before answering. Never serve stale facts.
|
|
16
|
+
Am I importing a package/method that exists?
|
|
17
|
+
→ Verify against package.json / requirements.txt / official docs.
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### Confidence Levels
|
|
21
|
+
|
|
22
|
+
- **L1:** Absolute certainty (verified against active codebase)
|
|
23
|
+
- **L2:** High confidence (standard library, stable APIs)
|
|
24
|
+
- **L3:** Moderate confidence (likely but unverified — requires `// VERIFY`)
|
|
25
|
+
- **L4:** Low confidence (speculative — requires immediate search)
|
|
26
|
+
- **L5:** Pure speculation (**forbidden from code generation**)
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 1. Anti-Hallucination Protocol (Non-Negotiable)
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
✗ Never import packages not verified in package.json / requirements.txt
|
|
34
|
+
✗ Never call undocumented or invented framework methods
|
|
35
|
+
✗ Never guess database column or table names
|
|
36
|
+
✗ Never generate entire applications in one shot — one module at a time
|
|
37
|
+
✗ Never propose a fix before root cause is confirmed with evidence
|
|
38
|
+
✓ Write // VERIFY: [reason] on every uncertain line
|
|
39
|
+
✓ After every file edit, re-read the file — prior context may be stale
|
|
40
|
+
✓ Every uncertain API call gets a // VERIFY comment
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## 2. Automatic Agent Routing
|
|
46
|
+
|
|
47
|
+
When you detect code or design requests, route to the correct specialist:
|
|
48
|
+
|
|
49
|
+
| Domain | Specialist |
|
|
50
|
+
| ---------------------------- | ----------------------- |
|
|
51
|
+
| API / server / backend | `backend-specialist` |
|
|
52
|
+
| React / Next.js / UI | `frontend-specialist` |
|
|
53
|
+
| Database / schema / SQL | `database-architect` |
|
|
54
|
+
| Python / FastAPI / Django | `python-pro` |
|
|
55
|
+
| Mobile (RN / Flutter) | `mobile-developer` |
|
|
56
|
+
| Debugging / errors | `debugger` |
|
|
57
|
+
| Security / vulnerabilities | `security-auditor` |
|
|
58
|
+
| Performance / optimization | `performance-optimizer` |
|
|
59
|
+
| DevOps / CI-CD / Docker | `devops-engineer` |
|
|
60
|
+
| Test generation | `test-engineer` |
|
|
61
|
+
| AI/LLM integration | `ai-code-reviewer` |
|
|
62
|
+
| System design / architecture | `system-architect` |
|
|
63
|
+
|
|
64
|
+
When activated, announce: `🤖 Applying knowledge of @[agent-name]...`
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 3. Socratic Gate (Adaptive)
|
|
69
|
+
|
|
70
|
+
| Impact Tier | Scope | Policy |
|
|
71
|
+
| ------------------ | -------------------------- | ----------------------------------------- |
|
|
72
|
+
| Tier 0 (Fast-Pass) | Typo, CSS, markdown | **BYPASS** — 0 questions |
|
|
73
|
+
| Tier 1 (Express) | Single-file edit | **BYPASS** — direct edit |
|
|
74
|
+
| Tier 2 (Targeted) | Multi-file feature | Ask 1 question **only if ambiguous** |
|
|
75
|
+
| Tier 3 (Full) | Auth, schema, architecture | **MUST** ask 1-2 targeted questions first |
|
|
76
|
+
|
|
77
|
+
**Rules:**
|
|
78
|
+
|
|
79
|
+
- Max 2 questions per response
|
|
80
|
+
- Never ask what the user already told you
|
|
81
|
+
- Never ask "what stack?" if the repo shows it
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## 4. Tribunal Review Gate
|
|
86
|
+
|
|
87
|
+
Before any generated code is considered final, it MUST pass through domain-specific reviewers:
|
|
88
|
+
|
|
89
|
+
| Code Type | Reviewers |
|
|
90
|
+
| -------------- | ----------------------------------------------------------------- |
|
|
91
|
+
| Backend/API | logic + security + dependency + type-safety + resilience + schema |
|
|
92
|
+
| Frontend/React | logic + security + frontend + type-safety + ui-ux + accessibility |
|
|
93
|
+
| Database/SQL | logic + security + sql + schema |
|
|
94
|
+
| Mobile | logic + security + mobile + type-safety |
|
|
95
|
+
| CI/CD | pipeline + security + dependency + resilience |
|
|
96
|
+
| Before merge | ALL 28 reviewers (`/tribunal-full`) |
|
|
97
|
+
|
|
98
|
+
**The Human Gate is never skipped. No code is written to a file without explicit user approval.**
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## 5. Code Quality Standards
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
✓ Self-documenting names — no abbreviations without context
|
|
106
|
+
✓ No over-engineering — solve the stated problem, not imagined future ones
|
|
107
|
+
✓ Error handling on every async function
|
|
108
|
+
✓ TypeScript: no `any` without an explanation comment
|
|
109
|
+
✓ Tests: every logic-bearing change gets a test
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## 6. Security Standards (Always Active)
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
✓ All SQL queries parameterized — never string-interpolated
|
|
118
|
+
✓ Secrets in environment variables — never hardcoded
|
|
119
|
+
✓ JWT: always enforce algorithms option
|
|
120
|
+
✓ Auth checks before business logic — never after
|
|
121
|
+
✓ Input validation at every API boundary
|
|
122
|
+
✓ No prompt injection: user input → role: "user", never into role: "system"
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 7. Error Recovery Protocol
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
Attempt 1 → Run with original parameters
|
|
131
|
+
Attempt 2 → Stricter constraints + specific feedback from failure
|
|
132
|
+
Attempt 3 → Maximum constraints + full context dump
|
|
133
|
+
Attempt 4 → HALT. Report to human with full failure history.
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Hard limit: 3 retries. After the third failure, STOP and escalate.
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## 8. Available Slash Commands
|
|
141
|
+
|
|
142
|
+
Use these commands to invoke specific Tribunal workflows:
|
|
143
|
+
|
|
144
|
+
- `/tribunal [file]` — Full 28-reviewer audit
|
|
145
|
+
- `/tribunal-backend [file]` — Backend-specific review
|
|
146
|
+
- `/tribunal-frontend [file]` — Frontend-specific review
|
|
147
|
+
- `/tribunal-database [file]` — Database-specific review
|
|
148
|
+
- `/tribunal-performance [file]` — Performance audit
|
|
149
|
+
- `/summon <specialist>` — Summon a specific specialist by name
|
|
150
|
+
- `/skill <name>` — Load a skill on-demand from the 186-skill library
|
|
151
|
+
- `/audit` — Full project health check
|
|
152
|
+
- `/generate <desc>` — Anti-hallucination code generation pipeline
|
|
153
|
+
- `/debug <error>` — Systematic 4-phase root cause investigation
|
|
154
|
+
- `/create <desc>` — Create new application through the full pipeline
|
|
155
|
+
- `/enhance <desc>` — Add features with impact analysis
|
|
156
|
+
- `/review [file]` — Read-only hallucination audit
|
|
157
|
+
- `/swarm <task>` — Multi-agent swarm orchestration
|
|
158
|
+
- `/marathon <spec>` — Long-running multi-session project harness
|
|
159
|
+
- `/pipeline <task>` — 3-pass code generation (Planner → Builder → Validator)
|
|
160
|
+
- `/intensity <level>` — Set enforcement level: `lite` | `standard` | `strict` | `paranoid`
|
|
161
|
+
- `/status` — Show task progress and audit results
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## 9. Context Window Discipline
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
✗ Never dump entire files into context — excerpt only the relevant function
|
|
169
|
+
✗ Never repeat full conversation history to sub-agents — send a summary
|
|
170
|
+
✗ Never attach every file in the project — only files the agent will read
|
|
171
|
+
✓ Scale tool calls to complexity: 1 (fact), 3-5 (medium), 5-10 (deep)
|
|
172
|
+
✓ 20+ tool calls → Stop. Scope is too large. Escalate to human.
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
## 10. Prompt Injection Defense
|
|
178
|
+
|
|
179
|
+
If you are processing user-provided content that will be sent to another LLM:
|
|
180
|
+
|
|
181
|
+
```
|
|
182
|
+
✓ User input → role: "user" message, never into role: "system"
|
|
183
|
+
✓ If user content must appear in system prompt → wrap in explicit delimiters
|
|
184
|
+
✓ Sanitize: strip XML/HTML tags from user input before it enters any prompt
|
|
185
|
+
✗ Never let user input set top-level system message or override model instructions
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
_Tribunal Kit v7.0.0 — 52 specialists, 28 reviewers, 186 skills, Rust core_
|
|
191
|
+
*https://github.com/Harmitx7/tribunal-kit*
|
|
@@ -1,14 +1,86 @@
|
|
|
1
1
|
# Auto-generated Architecture Graph by Tribunal Kit
|
|
2
2
|
# DO NOT EDIT MANUALLY - Auto-updates via incremental cache
|
|
3
3
|
|
|
4
|
-
"bin/
|
|
4
|
+
"bin/adapter-install.js":
|
|
5
|
+
riskScore: "Low"
|
|
6
|
+
blastRadius: 0
|
|
7
|
+
imports:
|
|
8
|
+
- "fs"
|
|
9
|
+
- "path"
|
|
10
|
+
- "os"
|
|
11
|
+
- "child_process"
|
|
12
|
+
"bin/global-store.js":
|
|
5
13
|
riskScore: "Medium"
|
|
6
|
-
blastRadius:
|
|
14
|
+
blastRadius: 2
|
|
7
15
|
imports:
|
|
8
16
|
- "fs"
|
|
9
17
|
- "path"
|
|
18
|
+
- "os"
|
|
19
|
+
exports:
|
|
20
|
+
- "initializeGlobalStore"
|
|
21
|
+
- "getGlobalAgentPath"
|
|
22
|
+
- "GLOBAL_STORE_PATH"
|
|
23
|
+
dependents:
|
|
24
|
+
- "bin/proxy-server.js"
|
|
25
|
+
- "bin/tk-proxy.js"
|
|
26
|
+
"bin/mcp-server.js":
|
|
27
|
+
riskScore: "Medium"
|
|
28
|
+
blastRadius: 3
|
|
29
|
+
imports:
|
|
30
|
+
- "path"
|
|
31
|
+
- "child_process"
|
|
32
|
+
- "readline"
|
|
33
|
+
- "fs"
|
|
34
|
+
- "../dist/commands/memory.js"
|
|
35
|
+
- "../dist/commands/align.js"
|
|
36
|
+
exports:
|
|
37
|
+
- "handleRequest"
|
|
38
|
+
- "stripBoilerplate"
|
|
39
|
+
- "runTribunalAudit"
|
|
40
|
+
dependents:
|
|
41
|
+
- "test/unit/audit_release.test.js"
|
|
42
|
+
- "test/unit/mcp_server.test.js"
|
|
43
|
+
- "test/unit/production_readiness_evidence.test.js"
|
|
44
|
+
"bin/proxy-server.js":
|
|
45
|
+
riskScore: "Low"
|
|
46
|
+
blastRadius: 1
|
|
47
|
+
imports:
|
|
48
|
+
- "http"
|
|
10
49
|
- "https"
|
|
50
|
+
- "fs"
|
|
51
|
+
- "path"
|
|
52
|
+
- "./global-store"
|
|
53
|
+
exports:
|
|
54
|
+
- "startProxyServer"
|
|
55
|
+
- "stopProxyServer"
|
|
56
|
+
dependents:
|
|
57
|
+
- "bin/tk-proxy.js"
|
|
58
|
+
"bin/spawn-agent.js":
|
|
59
|
+
riskScore: "Low"
|
|
60
|
+
blastRadius: 1
|
|
61
|
+
imports:
|
|
11
62
|
- "child_process"
|
|
63
|
+
exports:
|
|
64
|
+
- "spawnAgent"
|
|
65
|
+
dependents:
|
|
66
|
+
- "bin/tk-proxy.js"
|
|
67
|
+
"bin/tk-proxy.js":
|
|
68
|
+
riskScore: "Low"
|
|
69
|
+
blastRadius: 0
|
|
70
|
+
imports:
|
|
71
|
+
- "./global-store"
|
|
72
|
+
- "./proxy-server"
|
|
73
|
+
- "./spawn-agent"
|
|
74
|
+
"bin/tribunal-kit.js":
|
|
75
|
+
riskScore: "High"
|
|
76
|
+
blastRadius: 5
|
|
77
|
+
imports:
|
|
78
|
+
- "path"
|
|
79
|
+
- "../dist/cli.js"
|
|
80
|
+
- "../dist/utils/version"
|
|
81
|
+
- "../dist/utils/fs"
|
|
82
|
+
- "../dist/commands/init"
|
|
83
|
+
- "../dist/commands/marathon"
|
|
12
84
|
exports:
|
|
13
85
|
- "parseArgs"
|
|
14
86
|
- "compareSemver"
|
|
@@ -18,16 +90,31 @@
|
|
|
18
90
|
- "CORE_AGENTS"
|
|
19
91
|
- "CORE_SKILLS"
|
|
20
92
|
- "generateIDEBridges"
|
|
93
|
+
- "cmdMarathon"
|
|
21
94
|
dependents:
|
|
22
95
|
- "test/unit/args.test.js"
|
|
23
96
|
- "test/unit/copyDir.test.js"
|
|
97
|
+
- "test/unit/marathon.test.js"
|
|
24
98
|
- "test/unit/selfInstall.test.js"
|
|
25
99
|
- "test/unit/semver.test.js"
|
|
26
|
-
"
|
|
100
|
+
"bin/wrapper.js":
|
|
101
|
+
riskScore: "Low"
|
|
102
|
+
blastRadius: 0
|
|
103
|
+
imports:
|
|
104
|
+
- "fs"
|
|
105
|
+
- "path"
|
|
106
|
+
- "child_process"
|
|
107
|
+
- "os"
|
|
108
|
+
- "../dist/cli.js"
|
|
109
|
+
"scripts/benchmark.js":
|
|
27
110
|
riskScore: "Low"
|
|
28
111
|
blastRadius: 0
|
|
29
112
|
imports:
|
|
113
|
+
- "child_process"
|
|
114
|
+
- "path"
|
|
30
115
|
- "fs"
|
|
116
|
+
- "os"
|
|
117
|
+
- "../.agent/scripts/minimal_change_engine"
|
|
31
118
|
"scripts/changelog.js":
|
|
32
119
|
riskScore: "Low"
|
|
33
120
|
blastRadius: 0
|
|
@@ -35,6 +122,26 @@
|
|
|
35
122
|
- "child_process"
|
|
36
123
|
- "fs"
|
|
37
124
|
- "path"
|
|
125
|
+
"scripts/fix-vbc.js":
|
|
126
|
+
riskScore: "Low"
|
|
127
|
+
blastRadius: 0
|
|
128
|
+
imports:
|
|
129
|
+
- "fs"
|
|
130
|
+
- "path"
|
|
131
|
+
"scripts/stress_benchmark.js":
|
|
132
|
+
riskScore: "Low"
|
|
133
|
+
blastRadius: 1
|
|
134
|
+
imports:
|
|
135
|
+
- "fs"
|
|
136
|
+
- "path"
|
|
137
|
+
- "os"
|
|
138
|
+
- "perf_hooks"
|
|
139
|
+
exports:
|
|
140
|
+
- "app"
|
|
141
|
+
- "parseUser"
|
|
142
|
+
- "runStressSuite"
|
|
143
|
+
dependents:
|
|
144
|
+
- "test/unit/stress.test.js"
|
|
38
145
|
"scripts/sync-version.js":
|
|
39
146
|
riskScore: "Low"
|
|
40
147
|
blastRadius: 0
|
|
@@ -47,6 +154,14 @@
|
|
|
47
154
|
imports:
|
|
48
155
|
- "fs"
|
|
49
156
|
- "path"
|
|
157
|
+
"scripts/visual_audit.js":
|
|
158
|
+
riskScore: "Low"
|
|
159
|
+
blastRadius: 0
|
|
160
|
+
imports:
|
|
161
|
+
- "fs"
|
|
162
|
+
- "path"
|
|
163
|
+
exports:
|
|
164
|
+
- "runVisualAudit"
|
|
50
165
|
"test/integration/bridges.test.js":
|
|
51
166
|
riskScore: "Low"
|
|
52
167
|
blastRadius: 0
|
|
@@ -55,6 +170,13 @@
|
|
|
55
170
|
- "path"
|
|
56
171
|
- "fs"
|
|
57
172
|
- "os"
|
|
173
|
+
"test/integration/graceful_degradation.test.js":
|
|
174
|
+
riskScore: "Low"
|
|
175
|
+
blastRadius: 0
|
|
176
|
+
imports:
|
|
177
|
+
- "path"
|
|
178
|
+
- "child_process"
|
|
179
|
+
- "../../.agent/scripts/context_broker"
|
|
58
180
|
"test/integration/init.test.js":
|
|
59
181
|
riskScore: "Low"
|
|
60
182
|
blastRadius: 0
|
|
@@ -63,6 +185,21 @@
|
|
|
63
185
|
- "path"
|
|
64
186
|
- "fs"
|
|
65
187
|
- "os"
|
|
188
|
+
"test/integration/minimal_change_pipeline.test.js":
|
|
189
|
+
riskScore: "Low"
|
|
190
|
+
blastRadius: 0
|
|
191
|
+
imports:
|
|
192
|
+
- "path"
|
|
193
|
+
- "fs"
|
|
194
|
+
- "../../.agent/scripts/pipeline_engine"
|
|
195
|
+
- "../../.agent/scripts/case_law_manager"
|
|
196
|
+
"test/integration/parallel_tribunal.test.js":
|
|
197
|
+
riskScore: "Low"
|
|
198
|
+
blastRadius: 0
|
|
199
|
+
imports:
|
|
200
|
+
- "fs"
|
|
201
|
+
- "path"
|
|
202
|
+
- "child_process"
|
|
66
203
|
"test/integration/routing.test.js":
|
|
67
204
|
riskScore: "Low"
|
|
68
205
|
blastRadius: 0
|
|
@@ -77,6 +214,14 @@
|
|
|
77
214
|
- "fs"
|
|
78
215
|
- "os"
|
|
79
216
|
- "../../.agent/scripts/swarm_dispatcher.js"
|
|
217
|
+
"test/integration/sync_status.test.js":
|
|
218
|
+
riskScore: "Low"
|
|
219
|
+
blastRadius: 0
|
|
220
|
+
imports:
|
|
221
|
+
- "fs"
|
|
222
|
+
- "path"
|
|
223
|
+
- "os"
|
|
224
|
+
- "child_process"
|
|
80
225
|
"test/integration/wave2.test.js":
|
|
81
226
|
riskScore: "Low"
|
|
82
227
|
blastRadius: 0
|
|
@@ -85,21 +230,61 @@
|
|
|
85
230
|
- "../../.agent/scripts/skill_integrator.js"
|
|
86
231
|
- "../../.agent/scripts/skill_evolution.js"
|
|
87
232
|
- "../../.agent/scripts/case_law_manager.js"
|
|
233
|
+
"test/integration/wrapper.test.js":
|
|
234
|
+
riskScore: "Low"
|
|
235
|
+
blastRadius: 0
|
|
236
|
+
imports:
|
|
237
|
+
- "child_process"
|
|
238
|
+
- "path"
|
|
239
|
+
- "fs"
|
|
240
|
+
- "os"
|
|
241
|
+
"test/unit/align.test.js":
|
|
242
|
+
riskScore: "Low"
|
|
243
|
+
blastRadius: 0
|
|
244
|
+
imports:
|
|
245
|
+
- "../../dist/commands/align"
|
|
88
246
|
"test/unit/args.test.js":
|
|
89
247
|
riskScore: "Low"
|
|
90
248
|
blastRadius: 0
|
|
91
249
|
imports:
|
|
92
250
|
- "../../bin/tribunal-kit"
|
|
251
|
+
"test/unit/audit_release.test.js":
|
|
252
|
+
riskScore: "Low"
|
|
253
|
+
blastRadius: 0
|
|
254
|
+
imports:
|
|
255
|
+
- "fs"
|
|
256
|
+
- "path"
|
|
257
|
+
- "../../bin/mcp-server"
|
|
93
258
|
"test/unit/case_law_manager.test.js":
|
|
94
259
|
riskScore: "Low"
|
|
95
260
|
blastRadius: 0
|
|
96
261
|
imports:
|
|
97
262
|
- "../../.agent/scripts/case_law_manager"
|
|
263
|
+
"test/unit/cicd_validator.test.js":
|
|
264
|
+
riskScore: "Low"
|
|
265
|
+
blastRadius: 0
|
|
266
|
+
imports:
|
|
267
|
+
- "path"
|
|
268
|
+
- "fs"
|
|
269
|
+
- "../../.agent/scripts/cicd_validator.js"
|
|
270
|
+
"test/unit/compile.test.js":
|
|
271
|
+
riskScore: "Low"
|
|
272
|
+
blastRadius: 0
|
|
273
|
+
imports:
|
|
274
|
+
- "../../dist/commands/compile"
|
|
98
275
|
"test/unit/context_broker.test.js":
|
|
99
276
|
riskScore: "Low"
|
|
100
277
|
blastRadius: 0
|
|
101
278
|
imports:
|
|
102
279
|
- "../../.agent/scripts/context_broker"
|
|
280
|
+
"test/unit/contract_engine.test.js":
|
|
281
|
+
riskScore: "Low"
|
|
282
|
+
blastRadius: 0
|
|
283
|
+
imports:
|
|
284
|
+
- "fs"
|
|
285
|
+
- "path"
|
|
286
|
+
- "../../.agent/scripts/contract_engine"
|
|
287
|
+
- "../../.agent/scripts/trace_engine"
|
|
103
288
|
"test/unit/copyDir.test.js":
|
|
104
289
|
riskScore: "Low"
|
|
105
290
|
blastRadius: 0
|
|
@@ -114,11 +299,107 @@
|
|
|
114
299
|
imports:
|
|
115
300
|
- "fs"
|
|
116
301
|
- "path"
|
|
302
|
+
"test/unit/guardrail_engine.test.js":
|
|
303
|
+
riskScore: "Low"
|
|
304
|
+
blastRadius: 0
|
|
305
|
+
imports:
|
|
306
|
+
- "../../.agent/scripts/guardrail_engine"
|
|
307
|
+
"test/unit/impact_classifier.test.js":
|
|
308
|
+
riskScore: "Low"
|
|
309
|
+
blastRadius: 0
|
|
310
|
+
imports:
|
|
311
|
+
- "../../.agent/scripts/impact_classifier"
|
|
312
|
+
- "../../.agent/scripts/socratic_gate_policy"
|
|
313
|
+
- "../../.agent/scripts/token_budget_broker"
|
|
314
|
+
"test/unit/init.test.js":
|
|
315
|
+
riskScore: "Low"
|
|
316
|
+
blastRadius: 0
|
|
317
|
+
imports:
|
|
318
|
+
- "fs"
|
|
319
|
+
- "path"
|
|
320
|
+
- "os"
|
|
321
|
+
- "../../dist/commands/init"
|
|
322
|
+
- "../../dist/utils/fs"
|
|
117
323
|
"test/unit/inner_loop_validator.test.js":
|
|
118
324
|
riskScore: "Low"
|
|
119
325
|
blastRadius: 0
|
|
120
326
|
imports:
|
|
121
327
|
- "../../.agent/scripts/inner_loop_validator"
|
|
328
|
+
"test/unit/integrity_manifest.test.js":
|
|
329
|
+
riskScore: "Low"
|
|
330
|
+
blastRadius: 0
|
|
331
|
+
imports:
|
|
332
|
+
- "fs"
|
|
333
|
+
- "path"
|
|
334
|
+
- "os"
|
|
335
|
+
- "../../.agent/scripts/integrity_manifest"
|
|
336
|
+
"test/unit/learn.test.js":
|
|
337
|
+
riskScore: "Low"
|
|
338
|
+
blastRadius: 0
|
|
339
|
+
imports:
|
|
340
|
+
- "../../dist/commands/learn"
|
|
341
|
+
- "../../dist/utils/helpers"
|
|
342
|
+
"test/unit/marathon.test.js":
|
|
343
|
+
riskScore: "Low"
|
|
344
|
+
blastRadius: 0
|
|
345
|
+
imports:
|
|
346
|
+
- "fs"
|
|
347
|
+
- "child_process"
|
|
348
|
+
- "../../bin/tribunal-kit"
|
|
349
|
+
"test/unit/mcp_server.test.js":
|
|
350
|
+
riskScore: "Low"
|
|
351
|
+
blastRadius: 0
|
|
352
|
+
imports:
|
|
353
|
+
- "path"
|
|
354
|
+
- "fs"
|
|
355
|
+
- "../../bin/mcp-server"
|
|
356
|
+
"test/unit/memory.test.js":
|
|
357
|
+
riskScore: "Low"
|
|
358
|
+
blastRadius: 0
|
|
359
|
+
imports:
|
|
360
|
+
- "path"
|
|
361
|
+
- "fs"
|
|
362
|
+
- "os"
|
|
363
|
+
- "../../dist/commands/memory"
|
|
364
|
+
"test/unit/minimal_change.test.js":
|
|
365
|
+
riskScore: "Low"
|
|
366
|
+
blastRadius: 0
|
|
367
|
+
imports:
|
|
368
|
+
- "../../.agent/scripts/minimal_change_engine"
|
|
369
|
+
"test/unit/native.test.js":
|
|
370
|
+
riskScore: "Low"
|
|
371
|
+
blastRadius: 0
|
|
372
|
+
imports:
|
|
373
|
+
- "../../dist/commands/native"
|
|
374
|
+
"test/unit/optimize.test.js":
|
|
375
|
+
riskScore: "Low"
|
|
376
|
+
blastRadius: 0
|
|
377
|
+
imports:
|
|
378
|
+
- "../../dist/commands/optimize"
|
|
379
|
+
- "fs"
|
|
380
|
+
- "path"
|
|
381
|
+
- "child_process"
|
|
382
|
+
"test/unit/path_resolution.test.js":
|
|
383
|
+
riskScore: "Low"
|
|
384
|
+
blastRadius: 0
|
|
385
|
+
imports:
|
|
386
|
+
- "fs"
|
|
387
|
+
- "os"
|
|
388
|
+
- "path"
|
|
389
|
+
- "child_process"
|
|
390
|
+
- "../../.agent/scripts/marathon_harness"
|
|
391
|
+
"test/unit/production_readiness_evidence.test.js":
|
|
392
|
+
riskScore: "Low"
|
|
393
|
+
blastRadius: 0
|
|
394
|
+
imports:
|
|
395
|
+
- "fs"
|
|
396
|
+
- "path"
|
|
397
|
+
- "child_process"
|
|
398
|
+
- "../../.agent/scripts/impact_classifier"
|
|
399
|
+
- "../../.agent/scripts/socratic_gate_policy"
|
|
400
|
+
- "../../.agent/scripts/token_budget_broker"
|
|
401
|
+
- "../../.agent/scripts/integrity_manifest"
|
|
402
|
+
- "../../bin/mcp-server"
|
|
122
403
|
"test/unit/selfInstall.test.js":
|
|
123
404
|
riskScore: "Low"
|
|
124
405
|
blastRadius: 0
|
|
@@ -132,9 +413,27 @@
|
|
|
132
413
|
blastRadius: 0
|
|
133
414
|
imports:
|
|
134
415
|
- "../../bin/tribunal-kit"
|
|
416
|
+
"test/unit/skill_evolution.test.js":
|
|
417
|
+
riskScore: "Low"
|
|
418
|
+
blastRadius: 0
|
|
419
|
+
imports:
|
|
420
|
+
- "../../.agent/scripts/signal_detector"
|
|
421
|
+
- "../../.agent/scripts/skill_evolution"
|
|
422
|
+
"test/unit/stress.test.js":
|
|
423
|
+
riskScore: "Low"
|
|
424
|
+
blastRadius: 0
|
|
425
|
+
imports:
|
|
426
|
+
- "path"
|
|
427
|
+
- "../../scripts/stress_benchmark"
|
|
135
428
|
"test/unit/swarm_dispatcher.test.js":
|
|
136
429
|
riskScore: "Low"
|
|
137
430
|
blastRadius: 0
|
|
138
431
|
imports:
|
|
139
432
|
- "path"
|
|
140
433
|
- "fs"
|
|
434
|
+
- "../../.agent/scripts/swarm_dispatcher.js"
|
|
435
|
+
"test/unit/utils.test.js":
|
|
436
|
+
riskScore: "Low"
|
|
437
|
+
blastRadius: 0
|
|
438
|
+
imports:
|
|
439
|
+
- "../../.agent/scripts/_utils"
|