Skip to content

Commit fc486c3

Browse files
authored
Merge pull request #10 from GrillerGeek/copilot/fix-plugin-hash-id-issue
fix: agent prompts still generating sequential IDs after hash-ID migration
2 parents 4605c5b + 788b255 commit fc486c3

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

plugin/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "idd-framework",
3-
"version": "1.2.7",
3+
"version": "1.2.8",
44
"description": "Intent-Driven Development framework plugin — automates the IDD workflow with role-specific tools for stakeholder interviews, artifact generation, and structured documentation",
55
"author": { "name": "GrillerGeek" },
66
"homepage": "https://github.com/grillergeek/idd-framework",

plugin/agents/expectation-author.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ You are the IDD Expectation Author. Your role is to help define verifiable Expec
6363
- High: Novel domain, many edge cases, integration risk
6464

6565
6. **Generate Artifacts** — For each Expectation:
66-
- Generate an Expectation ID (EXP-9b04, incrementing)
66+
- Generate an Expectation ID by running `idd-next-id expectation` (e.g., `EXP-9b04`)
6767
- Use the template at `${CLAUDE_PLUGIN_ROOT}/skills/idd-orchestration/references/expectation-template.md`
6868
- Save to `docs/expectations/[expectation-id].yaml`
6969
- Update the parent Intention file at `docs/intentions/[intention-id].yaml` to add the new Expectation ID to the `expectations` list

plugin/agents/intention-author.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ You are the IDD Intention Author. Your role is to guide the Product Owner in dec
5252
- Identify dependencies between Intentions
5353

5454
4. **Generate Artifacts** — For each Intention:
55-
- Generate an Intention ID (INT-7c21, incrementing)
55+
- Generate an Intention ID by running `idd-next-id intention` (e.g., `INT-7c21`)
5656
- Use the template at `${CLAUDE_PLUGIN_ROOT}/skills/idd-orchestration/references/intention-template.md`
5757
- Save to `docs/intentions/[intention-id].yaml`
5858

plugin/agents/product-interviewer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Use AskUserQuestion for each section. Be conversational but thorough.
6464
**After the Interview:**
6565

6666
1. Summarize what you captured and present it to the stakeholder for confirmation
67-
2. Generate a Product ID (PROD-a3f8, incrementing from existing products in `docs/products/`)
67+
2. Generate a Product ID by running `idd-next-id product` (e.g., `PROD-a3f8`)
6868
3. Produce the Product artifact using the template at `${CLAUDE_PLUGIN_ROOT}/skills/idd-orchestration/references/product-template.md`
6969
4. Save to `docs/products/[product-id].yaml`
7070
5. Present the artifact to the user and ask if any adjustments are needed

plugin/agents/quick-spec-author.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Decompose the feature description into 2-4 outcome-focused Intentions:
5151
- Assign priorities and identify dependencies
5252
- Present to the user for quick confirmation/adjustment
5353

54-
Read `${CLAUDE_PLUGIN_ROOT}/skills/idd-orchestration/references/intention-template.md` for the schema. Generate and save INT-*.yaml files to `docs/intentions/`.
54+
Read `${CLAUDE_PLUGIN_ROOT}/skills/idd-orchestration/references/intention-template.md` for the schema. Generate IDs by running `idd-next-id intention` for each artifact. Save INT-*.yaml files to `docs/intentions/`.
5555

5656
### Phase 3: Define Expectations
5757

@@ -61,7 +61,7 @@ For each Intention, define Expectations with edge cases:
6161
- Enumerate at least 2 edge cases per Expectation (boundary values, error conditions, unusual states)
6262
- Assess complexity (low/medium/high)
6363

64-
Read `${CLAUDE_PLUGIN_ROOT}/skills/idd-orchestration/references/expectation-template.md` for the schema. Generate and save EXP-*.yaml files to `docs/expectations/`. After saving Expectations, update each parent Intention file to add the new Expectation IDs to its `expectations` list.
64+
Read `${CLAUDE_PLUGIN_ROOT}/skills/idd-orchestration/references/expectation-template.md` for the schema. Generate IDs by running `idd-next-id expectation` for each artifact. Save EXP-*.yaml files to `docs/expectations/`. After saving Expectations, update each parent Intention file to add the new Expectation IDs to its `expectations` list.
6565

6666
### Phase 4: Author the Spec
6767

@@ -84,7 +84,7 @@ Read `${CLAUDE_PLUGIN_ROOT}/skills/idd-orchestration/references/spec-reference.m
8484

8585
**Validation Block** — Split into automated (tests, type checks, contract checks) and human review (UX, architecture, data accuracy).
8686

87-
Run the completeness checklist. Generate and save SPEC-*.yaml to `docs/specs/`.
87+
Run the completeness checklist. Generate the Spec ID by running `idd-next-id spec`. Save SPEC-*.yaml to `docs/specs/`.
8888

8989
### Phase 5: Present Summary
9090

plugin/agents/spec-author.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You are the IDD Spec Author. Your role is to create AI-ready Specs with all 5 ma
5555

5656
4. **Completeness Check** — Run through the checklist from `${CLAUDE_PLUGIN_ROOT}/skills/idd-orchestration/references/spec-reference.md` and flag any gaps.
5757

58-
5. **Save** — Generate a Spec ID (SPEC-d12e, incrementing) and save to `docs/specs/[spec-id].yaml`.
58+
5. **Save** — Generate a Spec ID by running `idd-next-id spec` (e.g., `SPEC-d12e`) and save to `docs/specs/[spec-id].yaml`.
5959

6060
6. **Present** — Show the complete Spec to the user for review before finalizing.
6161

0 commit comments

Comments
 (0)