@slope-dev/slope 1.63.0 → 1.64.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.
Files changed (152) hide show
  1. package/dist/cli/commands/claim.d.ts.map +1 -1
  2. package/dist/cli/commands/claim.js +57 -1
  3. package/dist/cli/commands/claim.js.map +1 -1
  4. package/dist/cli/commands/guard.d.ts.map +1 -1
  5. package/dist/cli/commands/guard.js +43 -14
  6. package/dist/cli/commands/guard.js.map +1 -1
  7. package/dist/cli/commands/init.d.ts.map +1 -1
  8. package/dist/cli/commands/init.js +3 -2
  9. package/dist/cli/commands/init.js.map +1 -1
  10. package/dist/cli/commands/now.d.ts.map +1 -1
  11. package/dist/cli/commands/now.js +5 -2
  12. package/dist/cli/commands/now.js.map +1 -1
  13. package/dist/cli/commands/pr.d.ts +10 -3
  14. package/dist/cli/commands/pr.d.ts.map +1 -1
  15. package/dist/cli/commands/pr.js +45 -5
  16. package/dist/cli/commands/pr.js.map +1 -1
  17. package/dist/cli/commands/retro.d.ts.map +1 -1
  18. package/dist/cli/commands/retro.js +31 -4
  19. package/dist/cli/commands/retro.js.map +1 -1
  20. package/dist/cli/commands/review.d.ts +13 -1
  21. package/dist/cli/commands/review.d.ts.map +1 -1
  22. package/dist/cli/commands/review.js +99 -8
  23. package/dist/cli/commands/review.js.map +1 -1
  24. package/dist/cli/commands/roadmap.d.ts.map +1 -1
  25. package/dist/cli/commands/roadmap.js +75 -22
  26. package/dist/cli/commands/roadmap.js.map +1 -1
  27. package/dist/cli/commands/session.d.ts.map +1 -1
  28. package/dist/cli/commands/session.js +81 -15
  29. package/dist/cli/commands/session.js.map +1 -1
  30. package/dist/cli/commands/sprint.d.ts.map +1 -1
  31. package/dist/cli/commands/sprint.js +24 -6
  32. package/dist/cli/commands/sprint.js.map +1 -1
  33. package/dist/cli/commands/standup.d.ts.map +1 -1
  34. package/dist/cli/commands/standup.js +68 -0
  35. package/dist/cli/commands/standup.js.map +1 -1
  36. package/dist/cli/commands/status.d.ts.map +1 -1
  37. package/dist/cli/commands/status.js +25 -0
  38. package/dist/cli/commands/status.js.map +1 -1
  39. package/dist/cli/commands/transcript.d.ts.map +1 -1
  40. package/dist/cli/commands/transcript.js +15 -4
  41. package/dist/cli/commands/transcript.js.map +1 -1
  42. package/dist/cli/commands/validate.d.ts +11 -0
  43. package/dist/cli/commands/validate.d.ts.map +1 -1
  44. package/dist/cli/commands/validate.js +45 -5
  45. package/dist/cli/commands/validate.js.map +1 -1
  46. package/dist/cli/guards/claim-area.d.ts +27 -0
  47. package/dist/cli/guards/claim-area.d.ts.map +1 -0
  48. package/dist/cli/guards/claim-area.js +44 -0
  49. package/dist/cli/guards/claim-area.js.map +1 -0
  50. package/dist/cli/guards/claim-required.d.ts.map +1 -1
  51. package/dist/cli/guards/claim-required.js +41 -14
  52. package/dist/cli/guards/claim-required.js.map +1 -1
  53. package/dist/cli/guards/docs.d.ts.map +1 -1
  54. package/dist/cli/guards/docs.js +7 -0
  55. package/dist/cli/guards/docs.js.map +1 -1
  56. package/dist/cli/guards/phase-boundary.d.ts.map +1 -1
  57. package/dist/cli/guards/phase-boundary.js +34 -1
  58. package/dist/cli/guards/phase-boundary.js.map +1 -1
  59. package/dist/cli/guards/plan-analysis.d.ts +2 -2
  60. package/dist/cli/guards/plan-analysis.d.ts.map +1 -1
  61. package/dist/cli/guards/plan-analysis.js +16 -2
  62. package/dist/cli/guards/plan-analysis.js.map +1 -1
  63. package/dist/cli/guards/pr-review.d.ts +0 -8
  64. package/dist/cli/guards/pr-review.d.ts.map +1 -1
  65. package/dist/cli/guards/pr-review.js +31 -0
  66. package/dist/cli/guards/pr-review.js.map +1 -1
  67. package/dist/cli/guards/scope-drift.d.ts.map +1 -1
  68. package/dist/cli/guards/scope-drift.js +2 -4
  69. package/dist/cli/guards/scope-drift.js.map +1 -1
  70. package/dist/cli/guards/shell-write.d.ts +23 -0
  71. package/dist/cli/guards/shell-write.d.ts.map +1 -0
  72. package/dist/cli/guards/shell-write.js +81 -0
  73. package/dist/cli/guards/shell-write.js.map +1 -0
  74. package/dist/cli/guards/sprint-completion.js +11 -5
  75. package/dist/cli/guards/sprint-completion.js.map +1 -1
  76. package/dist/cli/guards/workflow-step-gate.d.ts.map +1 -1
  77. package/dist/cli/guards/workflow-step-gate.js +28 -3
  78. package/dist/cli/guards/workflow-step-gate.js.map +1 -1
  79. package/dist/cli/guards/worktree-check.d.ts.map +1 -1
  80. package/dist/cli/guards/worktree-check.js +86 -52
  81. package/dist/cli/guards/worktree-check.js.map +1 -1
  82. package/dist/cli/index.js +2 -1
  83. package/dist/cli/index.js.map +1 -1
  84. package/dist/cli/loop/workflow-adapter.d.ts.map +1 -1
  85. package/dist/cli/loop/workflow-adapter.js +3 -0
  86. package/dist/cli/loop/workflow-adapter.js.map +1 -1
  87. package/dist/cli/registry.d.ts.map +1 -1
  88. package/dist/cli/registry.js +2 -0
  89. package/dist/cli/registry.js.map +1 -1
  90. package/dist/cli/roadmap-source-store.d.ts +27 -1
  91. package/dist/cli/roadmap-source-store.d.ts.map +1 -1
  92. package/dist/cli/roadmap-source-store.js +213 -22
  93. package/dist/cli/roadmap-source-store.js.map +1 -1
  94. package/dist/cli/session-scope.d.ts +35 -0
  95. package/dist/cli/session-scope.d.ts.map +1 -0
  96. package/dist/cli/session-scope.js +79 -0
  97. package/dist/cli/session-scope.js.map +1 -0
  98. package/dist/cli/session-state.d.ts.map +1 -1
  99. package/dist/cli/session-state.js +5 -2
  100. package/dist/cli/session-state.js.map +1 -1
  101. package/dist/cli/sprint-rollover.d.ts +17 -2
  102. package/dist/cli/sprint-rollover.d.ts.map +1 -1
  103. package/dist/cli/sprint-rollover.js +163 -40
  104. package/dist/cli/sprint-rollover.js.map +1 -1
  105. package/dist/cli/sprint-state.d.ts +18 -0
  106. package/dist/cli/sprint-state.d.ts.map +1 -1
  107. package/dist/cli/sprint-state.js +26 -0
  108. package/dist/cli/sprint-state.js.map +1 -1
  109. package/dist/cli/template-generator.d.ts.map +1 -1
  110. package/dist/cli/template-generator.js +1 -0
  111. package/dist/cli/template-generator.js.map +1 -1
  112. package/dist/cli/workflow-resync.d.ts +5 -2
  113. package/dist/cli/workflow-resync.d.ts.map +1 -1
  114. package/dist/cli/workflow-resync.js +28 -0
  115. package/dist/cli/workflow-resync.js.map +1 -1
  116. package/dist/core/config.d.ts +3 -0
  117. package/dist/core/config.d.ts.map +1 -1
  118. package/dist/core/config.js.map +1 -1
  119. package/dist/core/formatter.js +4 -4
  120. package/dist/core/formatter.js.map +1 -1
  121. package/dist/core/guard.d.ts +1 -1
  122. package/dist/core/guard.d.ts.map +1 -1
  123. package/dist/core/guard.js +9 -0
  124. package/dist/core/guard.js.map +1 -1
  125. package/dist/core/index.d.ts +7 -3
  126. package/dist/core/index.d.ts.map +1 -1
  127. package/dist/core/index.js +4 -2
  128. package/dist/core/index.js.map +1 -1
  129. package/dist/core/roadmap-source-patch.d.ts +26 -0
  130. package/dist/core/roadmap-source-patch.d.ts.map +1 -0
  131. package/dist/core/roadmap-source-patch.js +172 -0
  132. package/dist/core/roadmap-source-patch.js.map +1 -0
  133. package/dist/core/roadmap-sources.d.ts +44 -0
  134. package/dist/core/roadmap-sources.d.ts.map +1 -1
  135. package/dist/core/roadmap-sources.js +235 -37
  136. package/dist/core/roadmap-sources.js.map +1 -1
  137. package/dist/core/roadmap.d.ts +50 -1
  138. package/dist/core/roadmap.d.ts.map +1 -1
  139. package/dist/core/roadmap.js +72 -6
  140. package/dist/core/roadmap.js.map +1 -1
  141. package/dist/core/sprint-id.d.ts +29 -0
  142. package/dist/core/sprint-id.d.ts.map +1 -0
  143. package/dist/core/sprint-id.js +86 -0
  144. package/dist/core/sprint-id.js.map +1 -0
  145. package/dist/core/standup.d.ts +18 -0
  146. package/dist/core/standup.d.ts.map +1 -1
  147. package/dist/core/standup.js +23 -1
  148. package/dist/core/standup.js.map +1 -1
  149. package/package.json +4 -2
  150. package/templates/claude-code/commands/wrap-session.md +36 -0
  151. package/templates/codex/plugins/slope/.codex-plugin/plugin.json +1 -1
  152. package/templates/pi/skills/wrap-session.md +41 -0
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: wrap-session
3
+ description: Session-close routine. Generates the standup wrap, checks for uncommitted and unpushed work, reports sprint state, ends the session to release claims, and emits a handoff summary.
4
+ ---
5
+
6
+ # Wrap Session — Close Out the Working Session
7
+
8
+ Run the session-close routine. A session is not a sprint: a long session can span several sprints or end mid-sprint, so this complements `/post-sprint` rather than replacing it. Leaked claims and unpushed work are the two failure modes this prevents.
9
+
10
+ ## Steps
11
+
12
+ ### 1. Generate the standup wrap
13
+
14
+ Run `slope standup` — it reports sprint + scorecard state, branch + commits this session, transcript volume, blockers, and decisions. This is the body of your handoff summary.
15
+
16
+ ### 2. Check for unpushed work
17
+
18
+ The last push is the recovery point. Run:
19
+
20
+ - `git status --short` — uncommitted changes? Commit them (use a `wip:` prefix if incomplete).
21
+ - `git log @{upstream}..HEAD --oneline 2>/dev/null || git log origin/main..HEAD --oneline` — unpushed commits? Push the branch.
22
+
23
+ Never end a session with uncommitted or unpushed work.
24
+
25
+ ### 3. Report sprint state
26
+
27
+ - `slope sprint status` — if gates are pending, say which ones in the handoff.
28
+ - For every sprint touched this session, confirm `docs/retros/sprint-N.json` exists or note that the scorecard is missing.
29
+ - `slope status` — check for dangling workflow executions or stale claims that would gate the next session.
30
+
31
+ ### 4. End the session
32
+
33
+ Run `slope session end` — with one active session it defaults to it; this releases the session's claims. Leaked claims block later sessions.
34
+
35
+ ### 5. Emit the handoff summary
36
+
37
+ Close with a short summary for the next session:
38
+
39
+ - **Shipped**: PRs merged, sprints closed (with scores)
40
+ - **Open**: current sprint state, pending gates, unmerged branches
41
+ - **Next**: the single most useful thing the next session should pick up