tribunal-kit 5.8.3 → 5.8.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/ARCHITECTURE.md +2 -2
- package/.agent/history/integrity_manifest.json +958 -0
- package/.agent/history/memory/.memory.idx +153 -1
- package/.agent/history/memory/MEMORY.md +11 -1
- package/.agent/scripts/case_law_manager.js +3 -15
- package/.agent/scripts/context_broker.js +3 -1
- package/.agent/scripts/guardrail_engine.js +643 -0
- package/.agent/scripts/integrity_manifest.js +486 -0
- package/.agent/scripts/signal_detector.js +1 -1
- package/.agent/scripts/skill_evolution.js +3 -15
- package/.agent/scripts/skill_integrator.js +2 -12
- package/.agent/scripts/swarm_dispatcher.js +2 -12
- package/.agent/skills/12-principles-of-animation/SKILL.md +69 -0
- package/.agent/skills/60fps-animation/SKILL.md +78 -0
- package/.agent/skills/accessible-animation/SKILL.md +86 -0
- package/.agent/skills/adapt/SKILL.md +75 -0
- package/.agent/skills/animation-on-scroll/SKILL.md +110 -0
- package/.agent/skills/animation-systems/SKILL.md +69 -0
- package/.agent/skills/antfu-conventions/SKILL.md +74 -0
- package/.agent/skills/apple-design/SKILL.md +108 -0
- package/.agent/skills/audit-and-fix/SKILL.md +83 -0
- package/.agent/skills/baseline-ui/SKILL.md +74 -0
- package/.agent/skills/better-colors/SKILL.md +124 -0
- package/.agent/skills/better-typography/SKILL.md +111 -0
- package/.agent/skills/better-ui/SKILL.md +102 -0
- package/.agent/skills/bolder/SKILL.md +68 -0
- package/.agent/skills/build-primitive/SKILL.md +70 -0
- package/.agent/skills/clarify/SKILL.md +75 -0
- package/.agent/skills/cobejs/SKILL.md +96 -0
- package/.agent/skills/codebase-design/SKILL.md +84 -0
- package/.agent/skills/colorize/SKILL.md +77 -0
- package/.agent/skills/compact-landing/SKILL.md +70 -0
- package/.agent/skills/company-logos/SKILL.md +73 -0
- package/.agent/skills/create-design-md/SKILL.md +104 -0
- package/.agent/skills/critique/SKILL.md +95 -0
- package/.agent/skills/delight/SKILL.md +65 -0
- package/.agent/skills/design-lab/SKILL.md +59 -0
- package/.agent/skills/diagnosing-bugs/SKILL.md +190 -0
- package/.agent/skills/distill/SKILL.md +65 -0
- package/.agent/skills/domain-modeling/SKILL.md +78 -0
- package/.agent/skills/fixing-accessibility/SKILL.md +98 -0
- package/.agent/skills/fixing-metadata/SKILL.md +97 -0
- package/.agent/skills/fixing-motion-performance/SKILL.md +96 -0
- package/.agent/skills/gpt-taste/SKILL.md +68 -0
- package/.agent/skills/harden/SKILL.md +74 -0
- package/.agent/skills/impeccable/SKILL.md +72 -0
- package/.agent/skills/improve-codebase-architecture/SKILL.md +67 -0
- package/.agent/skills/improve-ui/SKILL.md +83 -0
- package/.agent/skills/landing-page/SKILL.md +88 -0
- package/.agent/skills/lint-and-validate/SKILL.md +0 -1
- package/.agent/skills/local-first-architecture/SKILL.md +66 -0
- package/.agent/skills/lottie-animation/SKILL.md +82 -0
- package/.agent/skills/marquee-loop/SKILL.md +96 -0
- package/.agent/skills/masked-reveal/SKILL.md +88 -0
- package/.agent/skills/micro-interaction/SKILL.md +100 -0
- package/.agent/skills/morphing-icons/SKILL.md +85 -0
- package/.agent/skills/page-transition-animation/SKILL.md +108 -0
- package/.agent/skills/parallel-agents/SKILL.md +5 -5
- package/.agent/skills/polish/SKILL.md +63 -0
- package/.agent/skills/pricing-page/SKILL.md +68 -0
- package/.agent/skills/progressive-blur/SKILL.md +100 -0
- package/.agent/skills/quieter/SKILL.md +68 -0
- package/.agent/skills/react-doctor/SKILL.md +70 -0
- package/.agent/skills/redesign-skill/SKILL.md +65 -0
- package/.agent/skills/shape/SKILL.md +73 -0
- package/.agent/skills/soft-skill/SKILL.md +72 -0
- package/.agent/skills/sounds-on-the-web/SKILL.md +100 -0
- package/.agent/skills/svg-animation/SKILL.md +91 -0
- package/.agent/skills/swiss-design/SKILL.md +64 -0
- package/.agent/skills/taste-skill/SKILL.md +71 -0
- package/.agent/skills/tdd-workflow/SKILL.md +36 -165
- package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +82 -0
- package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +66 -0
- package/.agent/skills/transitions-dev/SKILL.md +101 -0
- package/.agent/skills/typeset/SKILL.md +76 -0
- package/.agent/skills/ui-skills-root/SKILL.md +85 -0
- package/.agent/skills/web-quality-audit/SKILL.md +67 -0
- package/.agent/workflows/generate.md +1 -1
- package/.agent/workflows/tribunal-full.md +6 -6
- package/.agent/workflows/tribunal-speed.md +2 -2
- package/README.md +348 -238
- package/bin/tribunal-kit.js +62 -1482
- package/dist/cli.js +13 -0
- package/dist/commands/align.js +1 -1
- package/dist/commands/compile.js +1 -1
- package/dist/commands/guardrail.js +275 -0
- package/dist/commands/init.js +10 -9
- package/dist/commands/optimize.js +318 -0
- package/dist/utils/version.js +1 -1
- package/package.json +10 -8
- package/scripts/fix-vbc.js +98 -0
- package/scripts/fix-vbc.ps1 +119 -0
|
@@ -2143,7 +2143,159 @@
|
|
|
2143
2143
|
"token_estimate": 18,
|
|
2144
2144
|
"source": "manual",
|
|
2145
2145
|
"session_id": null
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
"id": 142,
|
|
2149
|
+
"memory_type": "semantic",
|
|
2150
|
+
"content": "❌ Overriding project idioms without explicit justification -> ✅ Idioms represent team decisions; flag deviations with reasoning",
|
|
2151
|
+
"tags": [
|
|
2152
|
+
"project-idiom",
|
|
2153
|
+
"auto-learned"
|
|
2154
|
+
],
|
|
2155
|
+
"created_at": "1784618632Z",
|
|
2156
|
+
"last_accessed": "1784618632Z",
|
|
2157
|
+
"access_count": 0,
|
|
2158
|
+
"token_estimate": 32,
|
|
2159
|
+
"source": "manual",
|
|
2160
|
+
"session_id": null
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"id": 143,
|
|
2164
|
+
"memory_type": "semantic",
|
|
2165
|
+
"content": "❌ Applying idioms from one project to a different project -> ✅ Idioms are project-specific; verify they apply to the current codebase",
|
|
2166
|
+
"tags": [
|
|
2167
|
+
"project-idiom",
|
|
2168
|
+
"auto-learned"
|
|
2169
|
+
],
|
|
2170
|
+
"created_at": "1784618632Z",
|
|
2171
|
+
"last_accessed": "1784618632Z",
|
|
2172
|
+
"access_count": 0,
|
|
2173
|
+
"token_estimate": 34,
|
|
2174
|
+
"source": "manual",
|
|
2175
|
+
"session_id": null
|
|
2176
|
+
},
|
|
2177
|
+
{
|
|
2178
|
+
"id": 144,
|
|
2179
|
+
"memory_type": "semantic",
|
|
2180
|
+
"content": "❌ **Forbidden:** Declaring a task complete because the output \"looks correct.\"",
|
|
2181
|
+
"tags": [
|
|
2182
|
+
"project-idiom",
|
|
2183
|
+
"auto-learned"
|
|
2184
|
+
],
|
|
2185
|
+
"created_at": "1784618632Z",
|
|
2186
|
+
"last_accessed": "1784618632Z",
|
|
2187
|
+
"access_count": 0,
|
|
2188
|
+
"token_estimate": 20,
|
|
2189
|
+
"source": "manual",
|
|
2190
|
+
"session_id": null
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
"id": 145,
|
|
2194
|
+
"memory_type": "semantic",
|
|
2195
|
+
"content": "✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.",
|
|
2196
|
+
"tags": [
|
|
2197
|
+
"project-idiom",
|
|
2198
|
+
"auto-learned"
|
|
2199
|
+
],
|
|
2200
|
+
"created_at": "1784618632Z",
|
|
2201
|
+
"last_accessed": "1784618632Z",
|
|
2202
|
+
"access_count": 0,
|
|
2203
|
+
"token_estimate": 54,
|
|
2204
|
+
"source": "manual",
|
|
2205
|
+
"session_id": null
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
"id": 146,
|
|
2209
|
+
"memory_type": "semantic",
|
|
2210
|
+
"content": "[ ] Have I reviewed the user's specific constraints and requests?",
|
|
2211
|
+
"tags": [
|
|
2212
|
+
"project-idiom",
|
|
2213
|
+
"auto-learned"
|
|
2214
|
+
],
|
|
2215
|
+
"created_at": "1784618632Z",
|
|
2216
|
+
"last_accessed": "1784618632Z",
|
|
2217
|
+
"access_count": 0,
|
|
2218
|
+
"token_estimate": 17,
|
|
2219
|
+
"source": "manual",
|
|
2220
|
+
"session_id": null
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
"id": 147,
|
|
2224
|
+
"memory_type": "semantic",
|
|
2225
|
+
"content": "[ ] Have I checked the environment for relevant existing implementations?",
|
|
2226
|
+
"tags": [
|
|
2227
|
+
"project-idiom",
|
|
2228
|
+
"auto-learned"
|
|
2229
|
+
],
|
|
2230
|
+
"created_at": "1784618632Z",
|
|
2231
|
+
"last_accessed": "1784618632Z",
|
|
2232
|
+
"access_count": 0,
|
|
2233
|
+
"token_estimate": 19,
|
|
2234
|
+
"source": "manual",
|
|
2235
|
+
"session_id": null
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"id": 148,
|
|
2239
|
+
"memory_type": "semantic",
|
|
2240
|
+
"content": "❌ **Forbidden:** Declaring a task complete because the output \"looks correct.\"",
|
|
2241
|
+
"tags": [
|
|
2242
|
+
"project-idiom",
|
|
2243
|
+
"auto-learned"
|
|
2244
|
+
],
|
|
2245
|
+
"created_at": "1784618632Z",
|
|
2246
|
+
"last_accessed": "1784618632Z",
|
|
2247
|
+
"access_count": 0,
|
|
2248
|
+
"token_estimate": 20,
|
|
2249
|
+
"source": "manual",
|
|
2250
|
+
"session_id": null
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
"id": 149,
|
|
2254
|
+
"memory_type": "semantic",
|
|
2255
|
+
"content": "✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.",
|
|
2256
|
+
"tags": [
|
|
2257
|
+
"project-idiom",
|
|
2258
|
+
"auto-learned"
|
|
2259
|
+
],
|
|
2260
|
+
"created_at": "1784618632Z",
|
|
2261
|
+
"last_accessed": "1784618632Z",
|
|
2262
|
+
"access_count": 0,
|
|
2263
|
+
"token_estimate": 54,
|
|
2264
|
+
"source": "manual",
|
|
2265
|
+
"session_id": null
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"id": 150,
|
|
2269
|
+
"memory_type": "procedural",
|
|
2270
|
+
"content": "Run `echo 'No build step required for this project'` to build the project",
|
|
2271
|
+
"tags": [
|
|
2272
|
+
"build-script",
|
|
2273
|
+
"build",
|
|
2274
|
+
"auto-learned"
|
|
2275
|
+
],
|
|
2276
|
+
"created_at": "1784618632Z",
|
|
2277
|
+
"last_accessed": "1784618632Z",
|
|
2278
|
+
"access_count": 0,
|
|
2279
|
+
"token_estimate": 19,
|
|
2280
|
+
"source": "manual",
|
|
2281
|
+
"session_id": null
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
"id": 151,
|
|
2285
|
+
"memory_type": "procedural",
|
|
2286
|
+
"content": "Run `npm run validate-payload && jest --coverage` to test the project",
|
|
2287
|
+
"tags": [
|
|
2288
|
+
"build-script",
|
|
2289
|
+
"test",
|
|
2290
|
+
"auto-learned"
|
|
2291
|
+
],
|
|
2292
|
+
"created_at": "1784618632Z",
|
|
2293
|
+
"last_accessed": "1784618632Z",
|
|
2294
|
+
"access_count": 0,
|
|
2295
|
+
"token_estimate": 18,
|
|
2296
|
+
"source": "manual",
|
|
2297
|
+
"session_id": null
|
|
2146
2298
|
}
|
|
2147
2299
|
],
|
|
2148
|
-
"next_id":
|
|
2300
|
+
"next_id": 152
|
|
2149
2301
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 🧠 Tribunal Memory Index
|
|
2
2
|
> Auto-generated by `tribunal-kit memory export`. Do not edit manually.
|
|
3
|
-
> Entries:
|
|
3
|
+
> Entries: 151 | Semantic: 121 | Procedural: 30 | Episodic: 0 | Working: 0
|
|
4
4
|
|
|
5
5
|
## SEMANTIC (Permanent Facts)
|
|
6
6
|
| ID | Content | Tags | Source | Created |
|
|
@@ -118,6 +118,14 @@
|
|
|
118
118
|
| 137 | [ ] Have I checked the environment for relevant existing implementations? | project-idiom, auto-learned | manual | 1784396209Z |
|
|
119
119
|
| 138 | ❌ **Forbidden:** Declaring a task complete because the output "looks correct." | project-idiom, auto-learned | manual | 1784396209Z |
|
|
120
120
|
| 139 | ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended. | project-idiom, auto-learned | manual | 1784396209Z |
|
|
121
|
+
| 142 | ❌ Overriding project idioms without explicit justification -> ✅ Idioms represent team decisions; flag deviations with reasoning | project-idiom, auto-learned | manual | 1784618632Z |
|
|
122
|
+
| 143 | ❌ Applying idioms from one project to a different project -> ✅ Idioms are project-specific; verify they apply to the current codebase | project-idiom, auto-learned | manual | 1784618632Z |
|
|
123
|
+
| 144 | ❌ **Forbidden:** Declaring a task complete because the output "looks correct." | project-idiom, auto-learned | manual | 1784618632Z |
|
|
124
|
+
| 145 | ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended. | project-idiom, auto-learned | manual | 1784618632Z |
|
|
125
|
+
| 146 | [ ] Have I reviewed the user's specific constraints and requests? | project-idiom, auto-learned | manual | 1784618632Z |
|
|
126
|
+
| 147 | [ ] Have I checked the environment for relevant existing implementations? | project-idiom, auto-learned | manual | 1784618632Z |
|
|
127
|
+
| 148 | ❌ **Forbidden:** Declaring a task complete because the output "looks correct." | project-idiom, auto-learned | manual | 1784618632Z |
|
|
128
|
+
| 149 | ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended. | project-idiom, auto-learned | manual | 1784618632Z |
|
|
121
129
|
|
|
122
130
|
## PROCEDURAL (How-To Recipes)
|
|
123
131
|
| ID | Content | Tags | Source | Created |
|
|
@@ -150,4 +158,6 @@
|
|
|
150
158
|
| 131 | Run `npm run validate-payload && jest --coverage` to test the project | build-script, test, auto-learned | manual | 1784187808Z |
|
|
151
159
|
| 140 | Run `echo 'No build step required for this project'` to build the project | build-script, build, auto-learned | manual | 1784396209Z |
|
|
152
160
|
| 141 | Run `npm run validate-payload && jest --coverage` to test the project | build-script, test, auto-learned | manual | 1784396209Z |
|
|
161
|
+
| 150 | Run `echo 'No build step required for this project'` to build the project | build-script, build, auto-learned | manual | 1784618632Z |
|
|
162
|
+
| 151 | Run `npm run validate-payload && jest --coverage` to test the project | build-script, test, auto-learned | manual | 1784618632Z |
|
|
153
163
|
|
|
@@ -28,21 +28,9 @@ const readline = require("readline");
|
|
|
28
28
|
// ── Colours ──────────────────────────────────────────────────────────────────
|
|
29
29
|
const { GREEN, YELLOW, CYAN, RED, BOLD, DIM, RESET } = require("./_colors");
|
|
30
30
|
|
|
31
|
-
// ──
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
const root = path.parse(current).root;
|
|
35
|
-
while (current !== root) {
|
|
36
|
-
const candidate = path.join(current, ".agent");
|
|
37
|
-
if (fs.existsSync(candidate) && fs.statSync(candidate).isDirectory())
|
|
38
|
-
return candidate;
|
|
39
|
-
current = path.dirname(current);
|
|
40
|
-
}
|
|
41
|
-
console.error(
|
|
42
|
-
`${RED}✖ Error: '.agent' directory not found. Please run 'npx tribunal-kit init' first.${RESET}`,
|
|
43
|
-
);
|
|
44
|
-
process.exit(1);
|
|
45
|
-
}
|
|
31
|
+
// ── Shared Utilities ──────────────────────────────────────────────────────────
|
|
32
|
+
const { findAgentDir } = require("./_utils");
|
|
33
|
+
|
|
46
34
|
|
|
47
35
|
// ── Lazy path resolution (avoids side effects at require-time) ───────────────
|
|
48
36
|
let _paths = null;
|
|
@@ -50,8 +50,10 @@
|
|
|
50
50
|
const fs = require("fs");
|
|
51
51
|
const path = require("path");
|
|
52
52
|
|
|
53
|
-
// ── Colours
|
|
53
|
+
// ── Colours & Shared Utilities ────────────────────────────────────────────────
|
|
54
54
|
const { GREEN, YELLOW, CYAN, RED, BOLD, DIM, RESET } = require("./_colors");
|
|
55
|
+
const { findAgentDir } = require("./_utils");
|
|
56
|
+
|
|
55
57
|
|
|
56
58
|
// ── Domain → Skill affinity map ───────────────────────────────────────────────
|
|
57
59
|
// Keywords in the user's task that strongly indicate specific skills.
|