@slope-dev/slope 1.59.2 → 1.60.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 (135) hide show
  1. package/dist/cli/actor.d.ts +18 -0
  2. package/dist/cli/actor.d.ts.map +1 -0
  3. package/dist/cli/actor.js +133 -0
  4. package/dist/cli/actor.js.map +1 -0
  5. package/dist/cli/commands/agent.d.ts.map +1 -1
  6. package/dist/cli/commands/agent.js +8 -6
  7. package/dist/cli/commands/agent.js.map +1 -1
  8. package/dist/cli/commands/briefing.d.ts.map +1 -1
  9. package/dist/cli/commands/briefing.js +12 -1
  10. package/dist/cli/commands/briefing.js.map +1 -1
  11. package/dist/cli/commands/claim.d.ts.map +1 -1
  12. package/dist/cli/commands/claim.js +10 -6
  13. package/dist/cli/commands/claim.js.map +1 -1
  14. package/dist/cli/commands/commit-ready.d.ts.map +1 -1
  15. package/dist/cli/commands/commit-ready.js +4 -2
  16. package/dist/cli/commands/commit-ready.js.map +1 -1
  17. package/dist/cli/commands/init.d.ts.map +1 -1
  18. package/dist/cli/commands/init.js +6 -0
  19. package/dist/cli/commands/init.js.map +1 -1
  20. package/dist/cli/commands/interview.d.ts.map +1 -1
  21. package/dist/cli/commands/interview.js +5 -0
  22. package/dist/cli/commands/interview.js.map +1 -1
  23. package/dist/cli/commands/release.d.ts.map +1 -1
  24. package/dist/cli/commands/release.js +7 -3
  25. package/dist/cli/commands/release.js.map +1 -1
  26. package/dist/cli/commands/retro.d.ts.map +1 -1
  27. package/dist/cli/commands/retro.js +27 -6
  28. package/dist/cli/commands/retro.js.map +1 -1
  29. package/dist/cli/commands/review-run.d.ts +2 -0
  30. package/dist/cli/commands/review-run.d.ts.map +1 -1
  31. package/dist/cli/commands/review-run.js +38 -8
  32. package/dist/cli/commands/review-run.js.map +1 -1
  33. package/dist/cli/commands/review-state.d.ts +2 -5
  34. package/dist/cli/commands/review-state.d.ts.map +1 -1
  35. package/dist/cli/commands/review-state.js +166 -43
  36. package/dist/cli/commands/review-state.js.map +1 -1
  37. package/dist/cli/commands/roadmap.d.ts.map +1 -1
  38. package/dist/cli/commands/roadmap.js +17 -4
  39. package/dist/cli/commands/roadmap.js.map +1 -1
  40. package/dist/cli/commands/sprint.d.ts.map +1 -1
  41. package/dist/cli/commands/sprint.js +255 -28
  42. package/dist/cli/commands/sprint.js.map +1 -1
  43. package/dist/cli/commands/start.d.ts.map +1 -1
  44. package/dist/cli/commands/start.js +20 -4
  45. package/dist/cli/commands/start.js.map +1 -1
  46. package/dist/cli/commands/ticket.d.ts.map +1 -1
  47. package/dist/cli/commands/ticket.js +31 -9
  48. package/dist/cli/commands/ticket.js.map +1 -1
  49. package/dist/cli/commands/version.d.ts +12 -0
  50. package/dist/cli/commands/version.d.ts.map +1 -1
  51. package/dist/cli/commands/version.js +169 -4
  52. package/dist/cli/commands/version.js.map +1 -1
  53. package/dist/cli/git-preflight.d.ts +9 -0
  54. package/dist/cli/git-preflight.d.ts.map +1 -0
  55. package/dist/cli/git-preflight.js +36 -0
  56. package/dist/cli/git-preflight.js.map +1 -0
  57. package/dist/cli/guards/phase-boundary.d.ts.map +1 -1
  58. package/dist/cli/guards/phase-boundary.js +52 -8
  59. package/dist/cli/guards/phase-boundary.js.map +1 -1
  60. package/dist/cli/guards/post-push.d.ts.map +1 -1
  61. package/dist/cli/guards/post-push.js +7 -1
  62. package/dist/cli/guards/post-push.js.map +1 -1
  63. package/dist/cli/guards/pr-review.d.ts +6 -0
  64. package/dist/cli/guards/pr-review.d.ts.map +1 -1
  65. package/dist/cli/guards/pr-review.js +22 -11
  66. package/dist/cli/guards/pr-review.js.map +1 -1
  67. package/dist/cli/guards/session-briefing.d.ts.map +1 -1
  68. package/dist/cli/guards/session-briefing.js +20 -2
  69. package/dist/cli/guards/session-briefing.js.map +1 -1
  70. package/dist/cli/guards/sprint-completion.js +14 -1
  71. package/dist/cli/guards/sprint-completion.js.map +1 -1
  72. package/dist/cli/guards/workflow-step-gate.d.ts.map +1 -1
  73. package/dist/cli/guards/workflow-step-gate.js +25 -6
  74. package/dist/cli/guards/workflow-step-gate.js.map +1 -1
  75. package/dist/cli/registry.d.ts.map +1 -1
  76. package/dist/cli/registry.js +20 -3
  77. package/dist/cli/registry.js.map +1 -1
  78. package/dist/cli/reviewer-agents.d.ts +22 -0
  79. package/dist/cli/reviewer-agents.d.ts.map +1 -0
  80. package/dist/cli/reviewer-agents.js +141 -0
  81. package/dist/cli/reviewer-agents.js.map +1 -0
  82. package/dist/cli/sprint-state.d.ts +28 -2
  83. package/dist/cli/sprint-state.d.ts.map +1 -1
  84. package/dist/cli/sprint-state.js +146 -9
  85. package/dist/cli/sprint-state.js.map +1 -1
  86. package/dist/cli/workflow-resync.d.ts +2 -0
  87. package/dist/cli/workflow-resync.d.ts.map +1 -1
  88. package/dist/cli/workflow-resync.js +25 -4
  89. package/dist/cli/workflow-resync.js.map +1 -1
  90. package/dist/core/analyzers/git.d.ts.map +1 -1
  91. package/dist/core/analyzers/git.js +95 -5
  92. package/dist/core/analyzers/git.js.map +1 -1
  93. package/dist/core/constants.d.ts.map +1 -1
  94. package/dist/core/constants.js +1 -0
  95. package/dist/core/constants.js.map +1 -1
  96. package/dist/core/findings.d.ts +20 -0
  97. package/dist/core/findings.d.ts.map +1 -0
  98. package/dist/core/findings.js +85 -0
  99. package/dist/core/findings.js.map +1 -0
  100. package/dist/core/generators/first-sprint.js +1 -1
  101. package/dist/core/generators/first-sprint.js.map +1 -1
  102. package/dist/core/generators/roadmap.js +3 -3
  103. package/dist/core/generators/roadmap.js.map +1 -1
  104. package/dist/core/index.d.ts +3 -1
  105. package/dist/core/index.d.ts.map +1 -1
  106. package/dist/core/index.js +2 -0
  107. package/dist/core/index.js.map +1 -1
  108. package/dist/core/interview-engine.d.ts.map +1 -1
  109. package/dist/core/interview-engine.js +5 -4
  110. package/dist/core/interview-engine.js.map +1 -1
  111. package/dist/core/interview-metaphor.d.ts +5 -0
  112. package/dist/core/interview-metaphor.d.ts.map +1 -0
  113. package/dist/core/interview-metaphor.js +20 -0
  114. package/dist/core/interview-metaphor.js.map +1 -0
  115. package/dist/core/interview-steps.d.ts.map +1 -1
  116. package/dist/core/interview-steps.js +3 -6
  117. package/dist/core/interview-steps.js.map +1 -1
  118. package/dist/core/interview.d.ts.map +1 -1
  119. package/dist/core/interview.js +5 -6
  120. package/dist/core/interview.js.map +1 -1
  121. package/dist/core/types.d.ts +11 -1
  122. package/dist/core/types.d.ts.map +1 -1
  123. package/dist/store/index.d.ts +13 -0
  124. package/dist/store/index.d.ts.map +1 -1
  125. package/dist/store/index.js +60 -7
  126. package/dist/store/index.js.map +1 -1
  127. package/package.json +1 -1
  128. package/src/core/workflows/sprint-standard.yaml +6 -0
  129. package/templates/claude-code/commands/post-sprint.md +2 -0
  130. package/templates/claude-code/commands/start-sprint.md +1 -0
  131. package/templates/codex/plugins/slope/.codex-plugin/plugin.json +1 -1
  132. package/templates/codex/plugins/slope/skills/slope-retro/SKILL.md +1 -1
  133. package/templates/generic/SLOPE-CHECKLIST.md +3 -2
  134. package/templates/pi/skills/post-sprint.md +2 -0
  135. package/templates/pi/skills/start-sprint.md +1 -0
@@ -20,7 +20,7 @@ Use this after the PR is merged, or when the user asks to preserve lessons from
20
20
  2. Persist the retro:
21
21
  `slope retro post-merge --sprint=<N> --pr=<PR> --summary="<summary>" --learning="<learning>" --hazard="<hazard>" --follow-up="<follow-up>"`
22
22
  3. Repeat `--learning`, `--hazard`, and `--follow-up` as needed.
23
- 4. Use `--learning=project:8:<text>` or another `category[:weight]:text` prefix when the memory category matters.
23
+ 4. Use `--learning=project:8:<text>` or another supported `category[:weight]:text` prefix when the memory category matters. Supported categories are `workflow`, `style`, `project`, `hazard`, and `other`; `process` is accepted as an alias for `workflow`; weight must be 1-10.
24
24
 
25
25
  ## Verify
26
26
 
@@ -18,8 +18,9 @@
18
18
  ## Post-Hole (Sprint End)
19
19
  1. Build scorecard JSON, run `slope validate`
20
20
  2. Update common-issues with new patterns
21
- 3. Run `slope review` for markdown output
22
- 4. Run `slope card` for handicap trends
21
+ 3. Log recurring workaround/codification candidates with `slope review findings add --type=workaround --recurs --cost=s|m|l --description="..."`
22
+ 4. Run `slope review` for markdown output
23
+ 5. Run `slope card` for handicap trends
23
24
 
24
25
  ## Commit Discipline
25
26
  - Commit after each file, feature, migration, or bug fix
@@ -55,6 +55,7 @@ Run `slope review` to generate the sprint review markdown. Share the output with
55
55
  If any new recurring patterns were encountered during this sprint:
56
56
  - Check `.slope/common-issues.json` for existing patterns
57
57
  - Add new patterns or update `sprints_hit` arrays for existing ones
58
+ - Sweep for recurring workarounds that were routed around in-flow. Log structural ones with `slope review findings add --type=workaround --recurs --cost=s|m|l --description="..."`.
58
59
 
59
60
  ### 6. Roadmap status (auto-updated)
60
61
 
@@ -69,4 +70,5 @@ Ask the user if they'd like to create a PR. If yes, create one with the sprint r
69
70
  - Always run `slope validate` after creating the scorecard — never skip this
70
71
  - The scorecard must match the actual work done (commits), not the plan
71
72
  - Record hazards honestly — they feed the handicap system and improve future guidance
73
+ - Log recurring workaround/codification candidates; one-offs can stay out of the ledger
72
74
  - If the sprint had review findings, run `slope review amend` after adding findings
@@ -17,6 +17,7 @@ Run the complete pre-sprint routine: verify prior sprint hygiene, get briefing,
17
17
 
18
18
  - If a number was provided as an argument, use it
19
19
  - Otherwise, run `slope next` to auto-detect the next sprint number
20
+ - Treat the sprint number as the current SLOPE work unit. It may be a time-boxed interval or a scope-based agent milestone.
20
21
 
21
22
  ### 2. Verify prior sprint scorecard
22
23