@benzotti/jedi 0.1.20 → 0.1.22
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 +17 -5
- package/framework/agents/jdi-planner.md +14 -3
- package/framework/templates/PLAN.md +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9299,8 +9299,8 @@ You are Jedi, an AI development framework that uses specialised agents to plan,
|
|
|
9299
9299
|
## Identity
|
|
9300
9300
|
|
|
9301
9301
|
You are **Jedi**, not Claude. Always refer to yourself as "Jedi" in your responses.
|
|
9302
|
-
Use "Jedi" in summaries
|
|
9303
|
-
|
|
9302
|
+
Use "Jedi" in summaries and status updates (e.g. "Jedi has completed..." not "Claude has completed...").
|
|
9303
|
+
Do not add a signature line \u2014 the response is already branded by the Jedi CLI.
|
|
9304
9304
|
|
|
9305
9305
|
## Framework
|
|
9306
9306
|
|
|
@@ -9324,6 +9324,12 @@ Check \`.jdi/persistence/codebase-index.md\` for an indexed representation of th
|
|
|
9324
9324
|
If it exists, use it for faster navigation. If it doesn't, consider generating one
|
|
9325
9325
|
and saving it to \`.jdi/persistence/codebase-index.md\` for future runs.
|
|
9326
9326
|
|
|
9327
|
+
## Scope Discipline
|
|
9328
|
+
|
|
9329
|
+
Only do what was explicitly requested. Do not add extras, tooling, or features the user did not ask for.
|
|
9330
|
+
If something is ambiguous, ask \u2014 do not guess.
|
|
9331
|
+
Use S/M/L t-shirt sizing, never time estimates.
|
|
9332
|
+
|
|
9327
9333
|
## Workflow Routing
|
|
9328
9334
|
|
|
9329
9335
|
Based on the user's request, follow the appropriate workflow:
|
|
@@ -11403,7 +11409,13 @@ var actionCommand = defineCommand({
|
|
|
11403
11409
|
``,
|
|
11404
11410
|
`- If the feedback is a **question** ("why did you...", "what about...", "can you explain..."), answer it conversationally first. If the answer implies a change is needed, explain that and then apply it.`,
|
|
11405
11411
|
`- If the feedback is an **approval** ("approved", "lgtm", "looks good", "ship it"), finalise the current work \u2014 create commits and/or a PR as appropriate.`,
|
|
11406
|
-
`- If the feedback is a **refinement** ("change task 2", "use a different approach", "add error handling"), explain what you're changing and why, then apply the changes. Present an updated summary
|
|
11412
|
+
`- If the feedback is a **refinement** ("change task 2", "use a different approach", "add error handling"), explain what you're changing and why, then apply the changes. Present an updated summary with the full updated plan in a collapsible block:`,
|
|
11413
|
+
` <details>`,
|
|
11414
|
+
` <summary>View full plan</summary>`,
|
|
11415
|
+
` `,
|
|
11416
|
+
` [full updated plan content here as markdown]`,
|
|
11417
|
+
` `,
|
|
11418
|
+
` </details>`,
|
|
11407
11419
|
``,
|
|
11408
11420
|
`Read state.yaml and any existing plan files to understand what was previously done. Apply changes incrementally \u2014 do not restart from scratch.`
|
|
11409
11421
|
].join(`
|
|
@@ -11621,7 +11633,7 @@ var setupActionCommand = defineCommand({
|
|
|
11621
11633
|
consola.box([
|
|
11622
11634
|
"Jedi GitHub Action Setup",
|
|
11623
11635
|
"",
|
|
11624
|
-
"Uses:
|
|
11636
|
+
"Uses: Jedi CLI via Claude Code",
|
|
11625
11637
|
"Trigger: 'Hey Jedi' in issue/PR comments",
|
|
11626
11638
|
"",
|
|
11627
11639
|
"Required secrets (set via GitHub UI or CLI):",
|
|
@@ -11650,7 +11662,7 @@ var setupActionCommand = defineCommand({
|
|
|
11650
11662
|
// package.json
|
|
11651
11663
|
var package_default = {
|
|
11652
11664
|
name: "@benzotti/jedi",
|
|
11653
|
-
version: "0.1.
|
|
11665
|
+
version: "0.1.22",
|
|
11654
11666
|
description: "JDI - Context-efficient AI development framework for Claude Code",
|
|
11655
11667
|
type: "module",
|
|
11656
11668
|
bin: {
|
|
@@ -58,12 +58,23 @@ Plan files use human-readable slugged names: `{phase}-{plan}-{slug}.{suffix}`
|
|
|
58
58
|
|
|
59
59
|
## Task Sizing
|
|
60
60
|
|
|
61
|
+
Use t-shirt sizes instead of time estimates:
|
|
62
|
+
|
|
63
|
+
| Size | Scope |
|
|
64
|
+
|------|-------|
|
|
65
|
+
| **S** | Single file change, simple logic |
|
|
66
|
+
| **M** | 2-4 files, moderate logic or integration |
|
|
67
|
+
| **L** | 5+ files, complex logic, multiple subsystems |
|
|
68
|
+
| **XL** | Too large — must be split into multiple tasks |
|
|
69
|
+
|
|
61
70
|
| Constraint | Value |
|
|
62
71
|
|------------|-------|
|
|
63
|
-
| Duration | 15-60 min per task |
|
|
64
72
|
| Tasks per plan | 2-4 maximum |
|
|
65
73
|
| Context target | ~50% of budget |
|
|
66
74
|
| Each task | Independently verifiable |
|
|
75
|
+
| Max task size | L (split XL into smaller tasks) |
|
|
76
|
+
|
|
77
|
+
Never use time estimates. Use S/M/L sizing in task manifests and plan summaries.
|
|
67
78
|
|
|
68
79
|
---
|
|
69
80
|
|
|
@@ -137,7 +148,7 @@ Read `.jdi/config/variables.yaml` (create from template if missing). Update: `fe
|
|
|
137
148
|
3. Write each task to `.jdi/plans/{phase}-{plan}-{slug}.T{n}.md` — follow template from `.jdi/framework/templates/PLAN-TASK.md`. One file per task.
|
|
138
149
|
|
|
139
150
|
#### 7b: Update ROADMAP.yaml
|
|
140
|
-
Add plan entry to appropriate phase section with wave and
|
|
151
|
+
Add plan entry to appropriate phase section with wave and sizing.
|
|
141
152
|
|
|
142
153
|
#### 7c: Update REQUIREMENTS.yaml Traceability
|
|
143
154
|
Map requirements to plan tasks.
|
|
@@ -153,7 +164,7 @@ task_files:
|
|
|
153
164
|
- .jdi/plans/{phase}-{plan}-{slug}.T1.md
|
|
154
165
|
- .jdi/plans/{phase}-{plan}-{slug}.T2.md
|
|
155
166
|
task_count: {n}
|
|
156
|
-
|
|
167
|
+
overall_size: S | M | L
|
|
157
168
|
wave: {assigned_wave}
|
|
158
169
|
provides: [what this plan delivers]
|
|
159
170
|
```
|
|
@@ -62,11 +62,11 @@ tech_stack:
|
|
|
62
62
|
|
|
63
63
|
## Tasks
|
|
64
64
|
|
|
65
|
-
| Task | Name | Type | Wave | File |
|
|
66
|
-
|
|
67
|
-
| T1 | {Task Name} | auto | 1 | `{X}-{YY}-{plan-slug}.T1.md` |
|
|
68
|
-
| T2 | {Task Name} | auto | 1 | `{X}-{YY}-{plan-slug}.T2.md` |
|
|
69
|
-
| T3 | {Task Name} | checkpoint:human-verify | 2 | `{X}-{YY}-{plan-slug}.T3.md` |
|
|
65
|
+
| Task | Name | Size | Type | Wave | File |
|
|
66
|
+
|------|------|------|------|------|------|
|
|
67
|
+
| T1 | {Task Name} | S | auto | 1 | `{X}-{YY}-{plan-slug}.T1.md` |
|
|
68
|
+
| T2 | {Task Name} | M | auto | 1 | `{X}-{YY}-{plan-slug}.T2.md` |
|
|
69
|
+
| T3 | {Task Name} | S | checkpoint:human-verify | 2 | `{X}-{YY}-{plan-slug}.T3.md` |
|
|
70
70
|
|
|
71
71
|
> Task details are in individual files. See `task_files` in frontmatter.
|
|
72
72
|
|