@tiqora/tiqora 0.0.3-dev → 0.0.4-dev

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.
@@ -168,37 +168,71 @@ Choose:
168
168
  </step>
169
169
 
170
170
  <step n="7" goal="Create story in PM tool">
171
- <critical>Use PM MCP to create the story in Jira/GitHub/GitLab with the info we discussed.</critical>
171
+ <critical>Use PM MCP to create the story in Jira with the info we discussed. Be explicit about MCP operations.</critical>
172
+
173
+ <check if="pm_tool is none">
174
+ <action>Skip MCP creation (pm_tool is "none").</action>
175
+ <action>Ensure directory exists: {story_artifact_dir}.</action>
176
+ <action>Persist story artifact locally to {created_story_file} (JSON) with all the details from our conversation.</action>
177
+ <output>[WORKFLOW] ⚠ Story saved locally (no PM tool configured)
178
+ Artifact: {created_story_file}
179
+ </output>
180
+ <action>GOTO step 8</action>
181
+ </check>
172
182
 
173
183
  <action if="pm_tool is not none">
174
- Use PM MCP connector to create story:
175
- - Title: {{story_title}}
176
- - Description: {{story_description}}
177
- - Project: {jira.project_key} or equivalent
184
+ Create issue in Jira via PM MCP connector:
185
+ - Action: Create new issue
186
+ - Project Key: {jira.project_key}
187
+ - Issue Type: "Story"
188
+ - Summary: {{story_title}}
189
+ - Description: {{story_description}} (formatted with all sections from our discussion)
178
190
  - Priority: {{priority}}
179
- - Type: "Story"
191
+ - Additional fields: assignee (unassigned for now), labels (use pm_tool if needed)
180
192
  </action>
181
193
 
182
- <check if="story creation succeeds">
183
- <action>Capture returned story ID/key as {{ticketId}}.</action>
194
+ <check if="MCP Jira create issue succeeds">
195
+ <action>Capture returned issue key/ID as {{ticketId}} (e.g., "EX-123").</action>
184
196
  <action>Ensure directory exists: {story_artifact_dir}.</action>
185
- <action>Persist story artifact to {created_story_file} (JSON) with all the details from our conversation.</action>
197
+ <action>Persist story artifact to {created_story_file} (JSON) with:
198
+ - All conversation details
199
+ - {{ticketId}} (reference to created Jira issue)
200
+ - jira_url (link to the issue in Jira)
201
+ - created_at timestamp
202
+ - status: "created_in_jira"
203
+ </action>
204
+ <action if="pm_tool is not none">Post creation comment to Jira issue (ENGLISH):
205
+ "✓ Story created via Tiqora create-story workflow
206
+
207
+ Ready for:
208
+ 1. PM challenge gate (run /tiq:workflow:dev-story {{ticketId}})
209
+ 2. Dev implementation (challenge + code)
210
+
211
+ Artifact: {created_story_file}"
212
+ </action>
186
213
  <output>[WORKFLOW] ✓ Story created in {{pm_tool}}
187
- ID: {{ticketId}}
214
+ Key: {{ticketId}}
188
215
  Artifact: {created_story_file}
189
216
  </output>
190
217
  </check>
191
218
 
192
- <check if="story creation fails">
219
+ <check if="MCP Jira create issue fails">
193
220
  <ask>Couldn't create the story in {{pm_tool}}. Want to:
194
221
  (retry) Try again?
195
- (queue) Save locally and retry later?
222
+ (queue) Save locally and queue for retry?
196
223
  (skip) Just keep it locally for now?</ask>
197
224
 
198
225
  <check if="user chooses queue">
199
226
  <action>Persist story locally with status = "pending_sync".</action>
200
- <action>Queue retry in .tiqora/sync/queue.json.</action>
201
- <output>⚠ Story saved locally, will try to create in {{pm_tool}} later.</output>
227
+ <action>Queue retry in .tiqora/sync/queue.json with:
228
+ - story data: title, description, priority
229
+ - action: "create_jira_issue"
230
+ - project_key: {jira.project_key}
231
+ - retry_count: 0
232
+ </action>
233
+ <action>Ensure directory exists: {story_artifact_dir}.</action>
234
+ <action>Persist story artifact to {created_story_file} with status = "pending_sync".</action>
235
+ <output>⚠ Story saved locally, will try to create in {{pm_tool}} later via sync queue.</output>
202
236
  </check>
203
237
 
204
238
  <check if="user chooses retry">
@@ -206,8 +240,9 @@ Choose:
206
240
  </check>
207
241
 
208
242
  <check if="user chooses skip">
209
- <action>Persist story locally (not created in PM tool yet).</action>
210
- <output>Story saved locally. You can create it manually later if needed.</output>
243
+ <action>Ensure directory exists: {story_artifact_dir}.</action>
244
+ <action>Persist story locally (not created in PM tool yet) to {created_story_file} with status = "draft".</action>
245
+ <output>⚠ Story saved locally. Run `tiqora sync` later to create in {{pm_tool}}, or create manually.</output>
211
246
  </check>
212
247
  </check>
213
248
  </step>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiqora/tiqora",
3
- "version": "0.0.3-dev",
3
+ "version": "0.0.4-dev",
4
4
  "description": "Agentic delivery CLI for solo devs: challenge tickets, orchestrate PM/SM/Dev flows, and keep execution synced.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",