@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.
- package/dist/cli/commands/claim.d.ts.map +1 -1
- package/dist/cli/commands/claim.js +57 -1
- package/dist/cli/commands/claim.js.map +1 -1
- package/dist/cli/commands/guard.d.ts.map +1 -1
- package/dist/cli/commands/guard.js +43 -14
- package/dist/cli/commands/guard.js.map +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +3 -2
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/now.d.ts.map +1 -1
- package/dist/cli/commands/now.js +5 -2
- package/dist/cli/commands/now.js.map +1 -1
- package/dist/cli/commands/pr.d.ts +10 -3
- package/dist/cli/commands/pr.d.ts.map +1 -1
- package/dist/cli/commands/pr.js +45 -5
- package/dist/cli/commands/pr.js.map +1 -1
- package/dist/cli/commands/retro.d.ts.map +1 -1
- package/dist/cli/commands/retro.js +31 -4
- package/dist/cli/commands/retro.js.map +1 -1
- package/dist/cli/commands/review.d.ts +13 -1
- package/dist/cli/commands/review.d.ts.map +1 -1
- package/dist/cli/commands/review.js +99 -8
- package/dist/cli/commands/review.js.map +1 -1
- package/dist/cli/commands/roadmap.d.ts.map +1 -1
- package/dist/cli/commands/roadmap.js +75 -22
- package/dist/cli/commands/roadmap.js.map +1 -1
- package/dist/cli/commands/session.d.ts.map +1 -1
- package/dist/cli/commands/session.js +81 -15
- package/dist/cli/commands/session.js.map +1 -1
- package/dist/cli/commands/sprint.d.ts.map +1 -1
- package/dist/cli/commands/sprint.js +24 -6
- package/dist/cli/commands/sprint.js.map +1 -1
- package/dist/cli/commands/standup.d.ts.map +1 -1
- package/dist/cli/commands/standup.js +68 -0
- package/dist/cli/commands/standup.js.map +1 -1
- package/dist/cli/commands/status.d.ts.map +1 -1
- package/dist/cli/commands/status.js +25 -0
- package/dist/cli/commands/status.js.map +1 -1
- package/dist/cli/commands/transcript.d.ts.map +1 -1
- package/dist/cli/commands/transcript.js +15 -4
- package/dist/cli/commands/transcript.js.map +1 -1
- package/dist/cli/commands/validate.d.ts +11 -0
- package/dist/cli/commands/validate.d.ts.map +1 -1
- package/dist/cli/commands/validate.js +45 -5
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/guards/claim-area.d.ts +27 -0
- package/dist/cli/guards/claim-area.d.ts.map +1 -0
- package/dist/cli/guards/claim-area.js +44 -0
- package/dist/cli/guards/claim-area.js.map +1 -0
- package/dist/cli/guards/claim-required.d.ts.map +1 -1
- package/dist/cli/guards/claim-required.js +41 -14
- package/dist/cli/guards/claim-required.js.map +1 -1
- package/dist/cli/guards/docs.d.ts.map +1 -1
- package/dist/cli/guards/docs.js +7 -0
- package/dist/cli/guards/docs.js.map +1 -1
- package/dist/cli/guards/phase-boundary.d.ts.map +1 -1
- package/dist/cli/guards/phase-boundary.js +34 -1
- package/dist/cli/guards/phase-boundary.js.map +1 -1
- package/dist/cli/guards/plan-analysis.d.ts +2 -2
- package/dist/cli/guards/plan-analysis.d.ts.map +1 -1
- package/dist/cli/guards/plan-analysis.js +16 -2
- package/dist/cli/guards/plan-analysis.js.map +1 -1
- package/dist/cli/guards/pr-review.d.ts +0 -8
- package/dist/cli/guards/pr-review.d.ts.map +1 -1
- package/dist/cli/guards/pr-review.js +31 -0
- package/dist/cli/guards/pr-review.js.map +1 -1
- package/dist/cli/guards/scope-drift.d.ts.map +1 -1
- package/dist/cli/guards/scope-drift.js +2 -4
- package/dist/cli/guards/scope-drift.js.map +1 -1
- package/dist/cli/guards/shell-write.d.ts +23 -0
- package/dist/cli/guards/shell-write.d.ts.map +1 -0
- package/dist/cli/guards/shell-write.js +81 -0
- package/dist/cli/guards/shell-write.js.map +1 -0
- package/dist/cli/guards/sprint-completion.js +11 -5
- package/dist/cli/guards/sprint-completion.js.map +1 -1
- package/dist/cli/guards/workflow-step-gate.d.ts.map +1 -1
- package/dist/cli/guards/workflow-step-gate.js +28 -3
- package/dist/cli/guards/workflow-step-gate.js.map +1 -1
- package/dist/cli/guards/worktree-check.d.ts.map +1 -1
- package/dist/cli/guards/worktree-check.js +86 -52
- package/dist/cli/guards/worktree-check.js.map +1 -1
- package/dist/cli/index.js +2 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/loop/workflow-adapter.d.ts.map +1 -1
- package/dist/cli/loop/workflow-adapter.js +3 -0
- package/dist/cli/loop/workflow-adapter.js.map +1 -1
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/cli/registry.js +2 -0
- package/dist/cli/registry.js.map +1 -1
- package/dist/cli/roadmap-source-store.d.ts +27 -1
- package/dist/cli/roadmap-source-store.d.ts.map +1 -1
- package/dist/cli/roadmap-source-store.js +213 -22
- package/dist/cli/roadmap-source-store.js.map +1 -1
- package/dist/cli/session-scope.d.ts +35 -0
- package/dist/cli/session-scope.d.ts.map +1 -0
- package/dist/cli/session-scope.js +79 -0
- package/dist/cli/session-scope.js.map +1 -0
- package/dist/cli/session-state.d.ts.map +1 -1
- package/dist/cli/session-state.js +5 -2
- package/dist/cli/session-state.js.map +1 -1
- package/dist/cli/sprint-rollover.d.ts +17 -2
- package/dist/cli/sprint-rollover.d.ts.map +1 -1
- package/dist/cli/sprint-rollover.js +163 -40
- package/dist/cli/sprint-rollover.js.map +1 -1
- package/dist/cli/sprint-state.d.ts +18 -0
- package/dist/cli/sprint-state.d.ts.map +1 -1
- package/dist/cli/sprint-state.js +26 -0
- package/dist/cli/sprint-state.js.map +1 -1
- package/dist/cli/template-generator.d.ts.map +1 -1
- package/dist/cli/template-generator.js +1 -0
- package/dist/cli/template-generator.js.map +1 -1
- package/dist/cli/workflow-resync.d.ts +5 -2
- package/dist/cli/workflow-resync.d.ts.map +1 -1
- package/dist/cli/workflow-resync.js +28 -0
- package/dist/cli/workflow-resync.js.map +1 -1
- package/dist/core/config.d.ts +3 -0
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js.map +1 -1
- package/dist/core/formatter.js +4 -4
- package/dist/core/formatter.js.map +1 -1
- package/dist/core/guard.d.ts +1 -1
- package/dist/core/guard.d.ts.map +1 -1
- package/dist/core/guard.js +9 -0
- package/dist/core/guard.js.map +1 -1
- package/dist/core/index.d.ts +7 -3
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +4 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/roadmap-source-patch.d.ts +26 -0
- package/dist/core/roadmap-source-patch.d.ts.map +1 -0
- package/dist/core/roadmap-source-patch.js +172 -0
- package/dist/core/roadmap-source-patch.js.map +1 -0
- package/dist/core/roadmap-sources.d.ts +44 -0
- package/dist/core/roadmap-sources.d.ts.map +1 -1
- package/dist/core/roadmap-sources.js +235 -37
- package/dist/core/roadmap-sources.js.map +1 -1
- package/dist/core/roadmap.d.ts +50 -1
- package/dist/core/roadmap.d.ts.map +1 -1
- package/dist/core/roadmap.js +72 -6
- package/dist/core/roadmap.js.map +1 -1
- package/dist/core/sprint-id.d.ts +29 -0
- package/dist/core/sprint-id.d.ts.map +1 -0
- package/dist/core/sprint-id.js +86 -0
- package/dist/core/sprint-id.js.map +1 -0
- package/dist/core/standup.d.ts +18 -0
- package/dist/core/standup.d.ts.map +1 -1
- package/dist/core/standup.js +23 -1
- package/dist/core/standup.js.map +1 -1
- package/package.json +4 -2
- package/templates/claude-code/commands/wrap-session.md +36 -0
- package/templates/codex/plugins/slope/.codex-plugin/plugin.json +1 -1
- 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
|