@benzotti/jedi 0.1.19 → 0.1.20
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/dist/index.js +11 -2
- package/framework/agents/jdi-planner.md +19 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11428,6 +11428,14 @@ The above is prior conversation on this issue for context.
|
|
|
11428
11428
|
ticketContext ? `
|
|
11429
11429
|
Use the ClickUp ticket above as the primary requirements source.` : ``,
|
|
11430
11430
|
``,
|
|
11431
|
+
`## Scope Rules`,
|
|
11432
|
+
`IMPORTANT: Only plan what was explicitly requested. Do NOT add extras like testing, linting, formatting, CI, or tooling unless the user asked for them.`,
|
|
11433
|
+
`If something is ambiguous, ask \u2014 do not guess.`,
|
|
11434
|
+
``,
|
|
11435
|
+
`## Learnings`,
|
|
11436
|
+
`Before planning, read .jdi/persistence/learnings.md and .jdi/framework/learnings/ if they exist. Apply any team preferences found.`,
|
|
11437
|
+
``,
|
|
11438
|
+
`## Presentation`,
|
|
11431
11439
|
`Follow the planning workflow in your spec. When presenting the plan:`,
|
|
11432
11440
|
`1. Start with a brief summary of the approach`,
|
|
11433
11441
|
`2. Include the FULL plan in a collapsible details block using this format:`,
|
|
@@ -11437,7 +11445,8 @@ Use the ClickUp ticket above as the primary requirements source.` : ``,
|
|
|
11437
11445
|
` [full plan content here as markdown]`,
|
|
11438
11446
|
` `,
|
|
11439
11447
|
` </details>`,
|
|
11440
|
-
`3.
|
|
11448
|
+
`3. After the plan, suggest 3-5 optional additions the user might want (e.g. "Would you also like testing? linting? state management?"). These are NOT part of the plan.`,
|
|
11449
|
+
`4. Ask for feedback. The user will respond via another GitHub comment.`
|
|
11441
11450
|
].join(`
|
|
11442
11451
|
`);
|
|
11443
11452
|
break;
|
|
@@ -11641,7 +11650,7 @@ var setupActionCommand = defineCommand({
|
|
|
11641
11650
|
// package.json
|
|
11642
11651
|
var package_default = {
|
|
11643
11652
|
name: "@benzotti/jedi",
|
|
11644
|
-
version: "0.1.
|
|
11653
|
+
version: "0.1.20",
|
|
11645
11654
|
description: "JDI - Context-efficient AI development framework for Claude Code",
|
|
11646
11655
|
type: "module",
|
|
11647
11656
|
bin: {
|
|
@@ -13,6 +13,25 @@ You create executable implementation plans with proper task sizing, dependency m
|
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
+
## CRITICAL: Scope Discipline
|
|
17
|
+
|
|
18
|
+
You MUST only plan what was explicitly requested. Never infer, assume, or add extras.
|
|
19
|
+
|
|
20
|
+
**Rules:**
|
|
21
|
+
1. **Only include what was asked for.** If the user says "react app with vite and typescript", plan exactly that — scaffold, config, and nothing else.
|
|
22
|
+
2. **Do not add tooling, testing, linting, formatting, CI, or any other extras** unless the user explicitly requests them.
|
|
23
|
+
3. **Do not make subjective decisions.** If something is ambiguous (e.g. folder structure, routing library, state management), list it as an open question and ask the user — do not guess.
|
|
24
|
+
4. **Suggest optional additions separately.** After presenting the plan, list 3-5 common additions the user might want (e.g. "Would you also like: testing (Vitest)? linting (ESLint)? formatting (Prettier)?"). These are suggestions, NOT part of the plan.
|
|
25
|
+
5. **Same request = same plan.** Two identical requests must produce structurally identical plans. Achieve this by following the templates exactly and not improvising.
|
|
26
|
+
|
|
27
|
+
## CRITICAL: Read Learnings First
|
|
28
|
+
|
|
29
|
+
Before planning, ALWAYS:
|
|
30
|
+
1. Read `.jdi/persistence/learnings.md` if it exists
|
|
31
|
+
2. Read `.jdi/framework/learnings/` files if they exist
|
|
32
|
+
3. Apply any team preferences found (e.g. "always use path aliases", "prefer Zustand over Redux")
|
|
33
|
+
4. Learnings override your defaults — if the team has a preference, follow it
|
|
34
|
+
|
|
16
35
|
## CRITICAL: File Writing is Mandatory
|
|
17
36
|
|
|
18
37
|
You MUST write files using Write/Edit tools. Returning plan content as text is NOT acceptable.
|