@skitterbyte/skitterspec-jira 2.14.0 → 2.16.0

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.
Files changed (43) hide show
  1. package/assets/claude-md-section.md +12 -0
  2. package/assets/core/SETUP.md +12 -12
  3. package/assets/core/env.config.md +25 -3
  4. package/assets/hooks/main-guard.cjs +73 -6
  5. package/assets/hooks/project-guard.cjs +80 -6
  6. package/assets/hooks/review-gate.cjs +73 -6
  7. package/assets/review/page.html +2 -1
  8. package/assets/rules/commit-trailers.md +2 -2
  9. package/assets/rules/offered-unblocks.md +22 -0
  10. package/assets/rules/spec-planning.md +12 -1
  11. package/assets/skills/no-spec/SKILL.md +5 -0
  12. package/assets/skills/spec/SKILL.md +20 -3
  13. package/assets/skills/spec-bug/SKILL.md +8 -2
  14. package/assets/skills/spec-complete/SKILL.md +28 -2
  15. package/assets/skills/spec-diff/SKILL.md +5 -0
  16. package/assets/skills/spec-hotfix/SKILL.md +8 -2
  17. package/assets/skills/spec-idea/SKILL.md +5 -0
  18. package/assets/skills/spec-init/SKILL.md +4 -2
  19. package/assets/skills/spec-next/SKILL.md +18 -0
  20. package/assets/skills/spec-park/SKILL.md +92 -0
  21. package/assets/skills/spec-resume/SKILL.md +153 -0
  22. package/assets/skills/spec-start/SKILL.md +6 -2
  23. package/assets/skills/spec-sync/SKILL.md +10 -10
  24. package/assets/skills/spec-to-main/SKILL.md +5 -1
  25. package/assets/skills/spec-todo/SKILL.md +5 -2
  26. package/package.json +1 -1
  27. package/src/cli.js +311 -15
  28. package/src/env/base.js +21 -5
  29. package/src/env/basepin.js +62 -0
  30. package/src/env/bootstrap.js +3 -1
  31. package/src/env/checks.js +49 -0
  32. package/src/env/config.js +48 -1
  33. package/src/env/hooks.js +53 -4
  34. package/src/env/provision.js +10 -2
  35. package/src/env/resolve.js +66 -13
  36. package/src/env/resume.js +234 -0
  37. package/src/env/review.js +4 -1
  38. package/src/env/serve.js +3 -0
  39. package/src/ideacmd.js +11 -1
  40. package/src/init.js +287 -49
  41. package/src/tada/todo.js +19 -4
  42. package/src/vendor/provider-kit/src/specs.js +46 -1
  43. package/src/vendor/sync-core/src/summary.js +10 -1
@@ -188,6 +188,11 @@ function specBlockInner({ snapshotDir, sections, body, phases }) {
188
188
  if (t) parts.push(`**Touches** ${t}`)
189
189
  const gating = headerValue(body, 'Gating')
190
190
  if (gating) parts.push(`**Gating** ${gating}`)
191
+ // A spec parked on something outside the repo (feat-spec-resume). It says
192
+ // why the ticket is not moving, and never sets its Status: the tracker owns
193
+ // status. Absent, nothing is written, so an unparked block is unchanged.
194
+ const blocked = headerValue(body, 'Blocked on')
195
+ if (blocked && blocked !== '—') parts.push(`**Blocked on** ${blocked}`)
191
196
  const progress = progressLine(phases)
192
197
  if (progress) parts.push(progress)
193
198
  parts.push(`**Spec** \`${specPath(snapshotDir)}\``)
@@ -239,7 +244,11 @@ function progressLine(phases) {
239
244
  function phaseBlockInner(phase) {
240
245
  const goal = String((phase && phase.goal) || '').trim() || String((phase && phase.name) || '').trim()
241
246
  const { ticked, total } = taskCounts(phase)
242
- return total ? `${goal}\n\n**Progress** ${ticked} of ${total} tasks` : goal
247
+ const blocked = headerValue(((phase && phase.lines) || []).join('\n'), 'Blocked on')
248
+ const parts = [goal]
249
+ if (blocked && blocked !== '—') parts.push(`**Blocked on** ${blocked}`)
250
+ if (total) parts.push(`**Progress** ${ticked} of ${total} tasks`)
251
+ return parts.join('\n\n')
243
252
  }
244
253
 
245
254
  module.exports = {