@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.
- package/assets/claude-md-section.md +12 -0
- package/assets/core/SETUP.md +12 -12
- package/assets/core/env.config.md +25 -3
- package/assets/hooks/main-guard.cjs +73 -6
- package/assets/hooks/project-guard.cjs +80 -6
- package/assets/hooks/review-gate.cjs +73 -6
- package/assets/review/page.html +2 -1
- package/assets/rules/commit-trailers.md +2 -2
- package/assets/rules/offered-unblocks.md +22 -0
- package/assets/rules/spec-planning.md +12 -1
- package/assets/skills/no-spec/SKILL.md +5 -0
- package/assets/skills/spec/SKILL.md +20 -3
- package/assets/skills/spec-bug/SKILL.md +8 -2
- package/assets/skills/spec-complete/SKILL.md +28 -2
- package/assets/skills/spec-diff/SKILL.md +5 -0
- package/assets/skills/spec-hotfix/SKILL.md +8 -2
- package/assets/skills/spec-idea/SKILL.md +5 -0
- package/assets/skills/spec-init/SKILL.md +4 -2
- package/assets/skills/spec-next/SKILL.md +18 -0
- package/assets/skills/spec-park/SKILL.md +92 -0
- package/assets/skills/spec-resume/SKILL.md +153 -0
- package/assets/skills/spec-start/SKILL.md +6 -2
- package/assets/skills/spec-sync/SKILL.md +10 -10
- package/assets/skills/spec-to-main/SKILL.md +5 -1
- package/assets/skills/spec-todo/SKILL.md +5 -2
- package/package.json +1 -1
- package/src/cli.js +311 -15
- package/src/env/base.js +21 -5
- package/src/env/basepin.js +62 -0
- package/src/env/bootstrap.js +3 -1
- package/src/env/checks.js +49 -0
- package/src/env/config.js +48 -1
- package/src/env/hooks.js +53 -4
- package/src/env/provision.js +10 -2
- package/src/env/resolve.js +66 -13
- package/src/env/resume.js +234 -0
- package/src/env/review.js +4 -1
- package/src/env/serve.js +3 -0
- package/src/ideacmd.js +11 -1
- package/src/init.js +287 -49
- package/src/tada/todo.js +19 -4
- package/src/vendor/provider-kit/src/specs.js +46 -1
- 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
|
-
|
|
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 = {
|