imdone-cli 0.74.0 → 0.74.1
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/CHANGELOG.md +6 -0
- package/dist/.claude/skills/hypothesis-driven-development/SKILL.md +10 -8
- package/dist/.claude/skills/hypothesis-driven-development/references/define-the-outcome.md +21 -5
- package/dist/.claude/skills/hypothesis-driven-development/references/session-setup.md +2 -1
- package/dist/.codex/skills/hypothesis-driven-development/SKILL.md +10 -8
- package/dist/.codex/skills/hypothesis-driven-development/agents/openai.yaml +2 -2
- package/dist/.codex/skills/hypothesis-driven-development/references/define-the-outcome.md +21 -5
- package/dist/.codex/skills/hypothesis-driven-development/references/session-setup.md +2 -1
- package/dist/.imdone/templates/stock/hypothesis-driven-development.md +5 -0
- package/dist/CHANGELOG.md +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.cjs.map +1 -1
- package/dist/preinstall.cjs +1 -1
- package/dist/preinstall.cjs.map +1 -1
- package/dist/preinstall.min.cjs +1 -1
- package/dist/preinstall.min.cjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog 📝
|
|
2
2
|
|
|
3
|
+
## 0.74.1
|
|
4
|
+
|
|
5
|
+
- Ship the missed bundled HDD skill updates from `0.74.0`, including the new required `Problem Framing` step before `Hypothesis` so agents anchor hypotheses, slices, acceptance criteria, and plans in a user-provided or user-confirmed problem
|
|
6
|
+
- Update the stock HDD story template so newly created HDD stories include `## Problem Framing` and a matching checklist item before hypothesis work starts
|
|
7
|
+
- Keep Codex and Claude HDD skill copies aligned on command-owned sync timing, README/changelog planning coverage, and project-specific README and changelog style guides
|
|
8
|
+
|
|
3
9
|
## 0.74.0
|
|
4
10
|
|
|
5
11
|
- Make Jira-backed `imdone pull` faster when nothing changed upstream by using saved provider sync state to skip redundant full issue-list fetches when the local cache can prove there is no meaningful delta
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hypothesis-driven-development
|
|
3
|
-
description: Guide a story through hypothesis-driven development from
|
|
4
|
-
user-invocable: true
|
|
5
|
-
argument-hint: "[issueKey]"
|
|
3
|
+
description: Guide a story through hypothesis-driven development from user-confirmed problem framing through hypothesis, design, plan, implementation order, and outcome review. Use when the user wants to refine a story, define or repair binary acceptance criteria, create or revise an AI-executable plan, add success metrics or demo steps, validate dependency direction, or check progress against the workflow artifacts.
|
|
6
4
|
---
|
|
7
5
|
|
|
8
6
|
# Hypothesis-Driven Development
|
|
@@ -65,13 +63,15 @@ Run only the current phase and current unchecked item. Skip anything already che
|
|
|
65
63
|
### Phase 1: Define the Outcome
|
|
66
64
|
|
|
67
65
|
Order:
|
|
68
|
-
1.
|
|
69
|
-
2.
|
|
70
|
-
3.
|
|
71
|
-
4.
|
|
72
|
-
5.
|
|
66
|
+
1. Problem Framing
|
|
67
|
+
2. Hypothesis
|
|
68
|
+
3. Vertical Slice
|
|
69
|
+
4. Acceptance Criteria
|
|
70
|
+
5. Validate Assumptions
|
|
71
|
+
6. Demo Plan
|
|
73
72
|
|
|
74
73
|
Write locations:
|
|
74
|
+
- Problem Framing: inline in `## Problem Framing` above `## Hypothesis`
|
|
75
75
|
- Hypothesis: inline in `## Hypothesis` above `## Define the Outcome`
|
|
76
76
|
- Related Work: inline in `## Related Work` above `## Define the Outcome`
|
|
77
77
|
- Vertical Slice: inline in `## Vertical Slice` above `## Define the Outcome`
|
|
@@ -81,6 +81,7 @@ Write locations:
|
|
|
81
81
|
- Demo Plan: `attachments/demo.md`
|
|
82
82
|
|
|
83
83
|
Load `references/define-the-outcome.md` only when working this phase.
|
|
84
|
+
Before Hypothesis, require a user-provided or user-confirmed problem framing. If the issue already contains enough context, draft the framing from the story and ask the user to confirm it with numbered choices. If the issue does not contain enough context, ask the user for the problem framing before writing outcome artifacts.
|
|
84
85
|
During Vertical Slice, first inspect related past stories or experiments in the current backlog plus the configured archive, then link the useful ones under `## Related Work` so the slice benefits from prior decisions and evidence.
|
|
85
86
|
During Success Metrics, require both a user feedback path and an implemented measurement/data-capture mechanism as part of the slice. For app-facing work, prefer in-app feedback plus product instrumentation. For CLI, API, automation, or infrastructure work, treat that interface as the app surface and require a concrete equivalent such as command output, help/feedback links, structured logs, persisted artifacts, audit records, metrics, or provider-visible state. Do not accept "no telemetry", "manual observation only", or "follow-up later" as complete for the current slice.
|
|
86
87
|
|
|
@@ -146,6 +147,7 @@ Load only the reference file needed for the current decision:
|
|
|
146
147
|
- Keep the issue file current as an attachment index. When an issue attachment exists or is created, make sure the issue file links to it. Leave existing template links in place, and accept duplicates when adding missing links is simpler than normalizing them.
|
|
147
148
|
- Use `imdone agent-config` as the only boundary for HDD config reads and writes, including push reminder settings, push timing state, `active_story`, and saved-key path resolution. Do not parse or rewrite agent config YAML inline, and do not call local skill helper scripts for configuration state.
|
|
148
149
|
- Before any push reminder, check `imdone agent-config get-config` and only ask whether to run `imdone push` when `push.imdoneStatus.hasPendingChanges` is true.
|
|
150
|
+
- Do not mark Hypothesis complete until `## Problem Framing` exists and the user has provided or confirmed it during the HDD session.
|
|
149
151
|
- Every HDD user-facing question must include numbered answer choices so the user can reply with a number alone. Use a numbered free-form option when the user may need to correct the framing or provide custom details.
|
|
150
152
|
- In `interval_prompt` mode, check push timing through `imdone agent-config get-config` before starting any substantial read, edit, verification, or implementation cycle, not only at phase boundaries. Treat `push.promptDue` as already gated by elapsed interval and pending `imdone status` changes.
|
|
151
153
|
- When using this skill, end each user-facing message with a visible indicator showing the active story key, a short story summary, and the HDD skill version from `imdone --version`. Example: `🧭 HDD v0.58.2 | SCRUM-260 — Share changelog section on prompt upgrade`
|
|
@@ -4,11 +4,27 @@ Use this reference during Phase 1.
|
|
|
4
4
|
|
|
5
5
|
## Order
|
|
6
6
|
|
|
7
|
-
1.
|
|
8
|
-
2.
|
|
9
|
-
3.
|
|
10
|
-
4.
|
|
11
|
-
5.
|
|
7
|
+
1. Problem Framing
|
|
8
|
+
2. Hypothesis
|
|
9
|
+
3. Vertical Slice
|
|
10
|
+
4. Acceptance Criteria
|
|
11
|
+
5. Validate Assumptions
|
|
12
|
+
6. Demo Plan
|
|
13
|
+
|
|
14
|
+
## Problem Framing
|
|
15
|
+
|
|
16
|
+
- Require a user-provided or user-confirmed problem framing before drafting or approving Hypothesis.
|
|
17
|
+
- Write the framing in a dedicated `## Problem Framing` section above `## Hypothesis`, not inside the checklist item.
|
|
18
|
+
- If the issue already contains enough context, draft the framing from the story and ask the user to confirm it with numbered choices before writing or checking the item.
|
|
19
|
+
- If the issue does not contain enough context, ask the user for the framing before writing other Define the Outcome artifacts.
|
|
20
|
+
- The framing must name:
|
|
21
|
+
- the user, customer, or operational role affected
|
|
22
|
+
- the problem, pain, or workflow breakdown
|
|
23
|
+
- why it matters now, including impact or evidence
|
|
24
|
+
- the current workaround or failure mode when known
|
|
25
|
+
- what would be observably better if the problem were solved
|
|
26
|
+
- For enabling, CLI, infrastructure, or internal workflow stories, use the affected internal user or automation workflow instead of forcing an external-customer frame.
|
|
27
|
+
- Do not mark Hypothesis complete until Problem Framing exists and was provided or confirmed by the user in the current HDD session.
|
|
12
28
|
|
|
13
29
|
## Product Owner Review
|
|
14
30
|
|
|
@@ -67,7 +67,7 @@ If the story is not already using the HDD template, use the `imdone-template` sk
|
|
|
67
67
|
- apply template `hypothesis_driven_development` when it exists locally; otherwise apply `stock_hypothesis_driven_development`
|
|
68
68
|
- re-read the story and attachments after templating, then continue the HDD workflow
|
|
69
69
|
- explain briefly that you are switching the story onto the HDD template so the refinement artifacts land in the expected structure
|
|
70
|
-
- make sure `## Acceptance Criteria`, `## Vertical Slice`, `## Related Work`, `## Hypothesis`, and `## Validate Assumptions` live above `## Define the Outcome`; the checklist should only track whether those sections and attachment artifacts are complete
|
|
70
|
+
- make sure `## Problem Framing`, `## Acceptance Criteria`, `## Vertical Slice`, `## Related Work`, `## Hypothesis`, and `## Validate Assumptions` live above `## Define the Outcome`; the checklist should only track whether those sections and attachment artifacts are complete
|
|
71
71
|
- make sure `Measure Results` and `Retrospect` are backed by `## Results` and `## Retrospect` sections in `attachments/success-metrics.md`; the checklist should only track completion
|
|
72
72
|
|
|
73
73
|
If the story already has `#HDD-template` but its sections, headings, or checklist order no longer match the current bundled HDD format:
|
|
@@ -79,6 +79,7 @@ If the story already has `#HDD-template` but its sections, headings, or checklis
|
|
|
79
79
|
|
|
80
80
|
Extract:
|
|
81
81
|
- user-visible behavior that must change
|
|
82
|
+
- user-provided or user-confirmed problem framing
|
|
82
83
|
- user or customer outcome that should improve
|
|
83
84
|
- constraints that must not change
|
|
84
85
|
- likely files or subsystems involved
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hypothesis-driven-development
|
|
3
|
-
description: Guide a story through hypothesis-driven development from
|
|
4
|
-
user-invocable: true
|
|
5
|
-
argument-hint: "[issueKey]"
|
|
3
|
+
description: Guide a story through hypothesis-driven development from user-confirmed problem framing through hypothesis, design, plan, implementation order, and outcome review. Use when the user wants to refine a story, define or repair binary acceptance criteria, create or revise an AI-executable plan, add success metrics or demo steps, validate dependency direction, or check progress against the workflow artifacts.
|
|
6
4
|
---
|
|
7
5
|
|
|
8
6
|
# Hypothesis-Driven Development
|
|
@@ -65,13 +63,15 @@ Run only the current phase and current unchecked item. Skip anything already che
|
|
|
65
63
|
### Phase 1: Define the Outcome
|
|
66
64
|
|
|
67
65
|
Order:
|
|
68
|
-
1.
|
|
69
|
-
2.
|
|
70
|
-
3.
|
|
71
|
-
4.
|
|
72
|
-
5.
|
|
66
|
+
1. Problem Framing
|
|
67
|
+
2. Hypothesis
|
|
68
|
+
3. Vertical Slice
|
|
69
|
+
4. Acceptance Criteria
|
|
70
|
+
5. Validate Assumptions
|
|
71
|
+
6. Demo Plan
|
|
73
72
|
|
|
74
73
|
Write locations:
|
|
74
|
+
- Problem Framing: inline in `## Problem Framing` above `## Hypothesis`
|
|
75
75
|
- Hypothesis: inline in `## Hypothesis` above `## Define the Outcome`
|
|
76
76
|
- Related Work: inline in `## Related Work` above `## Define the Outcome`
|
|
77
77
|
- Vertical Slice: inline in `## Vertical Slice` above `## Define the Outcome`
|
|
@@ -81,6 +81,7 @@ Write locations:
|
|
|
81
81
|
- Demo Plan: `attachments/demo.md`
|
|
82
82
|
|
|
83
83
|
Load `references/define-the-outcome.md` only when working this phase.
|
|
84
|
+
Before Hypothesis, require a user-provided or user-confirmed problem framing. If the issue already contains enough context, draft the framing from the story and ask the user to confirm it with numbered choices. If the issue does not contain enough context, ask the user for the problem framing before writing outcome artifacts.
|
|
84
85
|
During Vertical Slice, first inspect related past stories or experiments in the current backlog plus the configured archive, then link the useful ones under `## Related Work` so the slice benefits from prior decisions and evidence.
|
|
85
86
|
During Success Metrics, require both a user feedback path and an implemented measurement/data-capture mechanism as part of the slice. For app-facing work, prefer in-app feedback plus product instrumentation. For CLI, API, automation, or infrastructure work, treat that interface as the app surface and require a concrete equivalent such as command output, help/feedback links, structured logs, persisted artifacts, audit records, metrics, or provider-visible state. Do not accept "no telemetry", "manual observation only", or "follow-up later" as complete for the current slice.
|
|
86
87
|
|
|
@@ -146,6 +147,7 @@ Load only the reference file needed for the current decision:
|
|
|
146
147
|
- Keep the issue file current as an attachment index. When an issue attachment exists or is created, make sure the issue file links to it. Leave existing template links in place, and accept duplicates when adding missing links is simpler than normalizing them.
|
|
147
148
|
- Use `imdone agent-config` as the only boundary for HDD config reads and writes, including push reminder settings, push timing state, `active_story`, and saved-key path resolution. Do not parse or rewrite agent config YAML inline, and do not call local skill helper scripts for configuration state.
|
|
148
149
|
- Before any push reminder, check `imdone agent-config get-config` and only ask whether to run `imdone push` when `push.imdoneStatus.hasPendingChanges` is true.
|
|
150
|
+
- Do not mark Hypothesis complete until `## Problem Framing` exists and the user has provided or confirmed it during the HDD session.
|
|
149
151
|
- Every HDD user-facing question must include numbered answer choices so the user can reply with a number alone. Use a numbered free-form option when the user may need to correct the framing or provide custom details.
|
|
150
152
|
- In `interval_prompt` mode, check push timing through `imdone agent-config get-config` before starting any substantial read, edit, verification, or implementation cycle, not only at phase boundaries. Treat `push.promptDue` as already gated by elapsed interval and pending `imdone status` changes.
|
|
151
153
|
- When using this skill, end each user-facing message with a visible indicator showing the active story key, a short story summary, and the HDD skill version from `imdone --version`. Example: `🧭 HDD v0.58.2 | SCRUM-260 — Share changelog section on prompt upgrade`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Hypothesis Driven Development"
|
|
3
|
-
short_description: "Guide a story through
|
|
4
|
-
default_prompt: "Use $hypothesis-driven-development
|
|
3
|
+
short_description: "Guide a story from problem framing through HDD outcome review"
|
|
4
|
+
default_prompt: "Use $hypothesis-driven-development to refine a story from user-confirmed problem framing through hypothesis, plan, implementation, and outcome review."
|
|
5
5
|
|
|
6
6
|
policy:
|
|
7
7
|
allow_implicit_invocation: true
|
|
@@ -4,11 +4,27 @@ Use this reference during Phase 1.
|
|
|
4
4
|
|
|
5
5
|
## Order
|
|
6
6
|
|
|
7
|
-
1.
|
|
8
|
-
2.
|
|
9
|
-
3.
|
|
10
|
-
4.
|
|
11
|
-
5.
|
|
7
|
+
1. Problem Framing
|
|
8
|
+
2. Hypothesis
|
|
9
|
+
3. Vertical Slice
|
|
10
|
+
4. Acceptance Criteria
|
|
11
|
+
5. Validate Assumptions
|
|
12
|
+
6. Demo Plan
|
|
13
|
+
|
|
14
|
+
## Problem Framing
|
|
15
|
+
|
|
16
|
+
- Require a user-provided or user-confirmed problem framing before drafting or approving Hypothesis.
|
|
17
|
+
- Write the framing in a dedicated `## Problem Framing` section above `## Hypothesis`, not inside the checklist item.
|
|
18
|
+
- If the issue already contains enough context, draft the framing from the story and ask the user to confirm it with numbered choices before writing or checking the item.
|
|
19
|
+
- If the issue does not contain enough context, ask the user for the framing before writing other Define the Outcome artifacts.
|
|
20
|
+
- The framing must name:
|
|
21
|
+
- the user, customer, or operational role affected
|
|
22
|
+
- the problem, pain, or workflow breakdown
|
|
23
|
+
- why it matters now, including impact or evidence
|
|
24
|
+
- the current workaround or failure mode when known
|
|
25
|
+
- what would be observably better if the problem were solved
|
|
26
|
+
- For enabling, CLI, infrastructure, or internal workflow stories, use the affected internal user or automation workflow instead of forcing an external-customer frame.
|
|
27
|
+
- Do not mark Hypothesis complete until Problem Framing exists and was provided or confirmed by the user in the current HDD session.
|
|
12
28
|
|
|
13
29
|
## Product Owner Review
|
|
14
30
|
|
|
@@ -67,7 +67,7 @@ If the story is not already using the HDD template, use the `imdone-template` sk
|
|
|
67
67
|
- apply template `hypothesis_driven_development` when it exists locally; otherwise apply `stock_hypothesis_driven_development`
|
|
68
68
|
- re-read the story and attachments after templating, then continue the HDD workflow
|
|
69
69
|
- explain briefly that you are switching the story onto the HDD template so the refinement artifacts land in the expected structure
|
|
70
|
-
- make sure `## Acceptance Criteria`, `## Vertical Slice`, `## Related Work`, `## Hypothesis`, and `## Validate Assumptions` live above `## Define the Outcome`; the checklist should only track whether those sections and attachment artifacts are complete
|
|
70
|
+
- make sure `## Problem Framing`, `## Acceptance Criteria`, `## Vertical Slice`, `## Related Work`, `## Hypothesis`, and `## Validate Assumptions` live above `## Define the Outcome`; the checklist should only track whether those sections and attachment artifacts are complete
|
|
71
71
|
- make sure `Measure Results` and `Retrospect` are backed by `## Results` and `## Retrospect` sections in `attachments/success-metrics.md`; the checklist should only track completion
|
|
72
72
|
|
|
73
73
|
If the story already has `#HDD-template` but its sections, headings, or checklist order no longer match the current bundled HDD format:
|
|
@@ -79,6 +79,7 @@ If the story already has `#HDD-template` but its sections, headings, or checklis
|
|
|
79
79
|
|
|
80
80
|
Extract:
|
|
81
81
|
- user-visible behavior that must change
|
|
82
|
+
- user-provided or user-confirmed problem framing
|
|
82
83
|
- user or customer outcome that should improve
|
|
83
84
|
- constraints that must not change
|
|
84
85
|
- likely files or subsystems involved
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
${markdown}
|
|
2
2
|
|
|
3
|
+
## Problem Framing
|
|
4
|
+
|
|
5
|
+
- [Who is affected, what problem they have, why it matters now, the current workaround or failure mode, and what would be observably better if solved]
|
|
6
|
+
|
|
3
7
|
## Hypothesis
|
|
4
8
|
|
|
5
9
|
- "We believe [doing this] will result in [this outcome] because [reason]"
|
|
@@ -22,6 +26,7 @@ ${markdown}
|
|
|
22
26
|
|
|
23
27
|
## Define the Outcome
|
|
24
28
|
|
|
29
|
+
- [ ] **Problem Framing**
|
|
25
30
|
- [ ] **Hypothesis**
|
|
26
31
|
- [ ] **Vertical Slice**
|
|
27
32
|
- [ ] **Acceptance Criteria**
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog 📝
|
|
2
2
|
|
|
3
|
+
## 0.74.1
|
|
4
|
+
|
|
5
|
+
- Ship the missed bundled HDD skill updates from `0.74.0`, including the new required `Problem Framing` step before `Hypothesis` so agents anchor hypotheses, slices, acceptance criteria, and plans in a user-provided or user-confirmed problem
|
|
6
|
+
- Update the stock HDD story template so newly created HDD stories include `## Problem Framing` and a matching checklist item before hypothesis work starts
|
|
7
|
+
- Keep Codex and Claude HDD skill copies aligned on command-owned sync timing, README/changelog planning coverage, and project-specific README and changelog style guides
|
|
8
|
+
|
|
3
9
|
## 0.74.0
|
|
4
10
|
|
|
5
11
|
- Make Jira-backed `imdone pull` faster when nothing changed upstream by using saved provider sync state to skip redundant full issue-list fetches when the local cache can prove there is no meaningful delta
|
package/dist/index.cjs
CHANGED
|
@@ -154,7 +154,7 @@ var init_package = __esm({
|
|
|
154
154
|
"package.json"() {
|
|
155
155
|
package_default = {
|
|
156
156
|
name: "imdone-cli",
|
|
157
|
-
version: "0.74.
|
|
157
|
+
version: "0.74.1",
|
|
158
158
|
author: "Jesse Piascik",
|
|
159
159
|
description: "Turn Jira or GitHub issues into a local Markdown workspace for AI and humans, synced back to your provider.",
|
|
160
160
|
license: "Proprietary",
|