@slope-dev/slope 1.58.5 → 1.59.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/README.md +21 -0
- package/dist/cli/commands/help.d.ts +3 -1
- package/dist/cli/commands/help.d.ts.map +1 -1
- package/dist/cli/commands/help.js +60 -12
- package/dist/cli/commands/help.js.map +1 -1
- package/dist/cli/commands/now.d.ts +30 -0
- package/dist/cli/commands/now.d.ts.map +1 -0
- package/dist/cli/commands/now.js +155 -0
- package/dist/cli/commands/now.js.map +1 -0
- package/dist/cli/commands/roadmap.d.ts.map +1 -1
- package/dist/cli/commands/roadmap.js +129 -1
- package/dist/cli/commands/roadmap.js.map +1 -1
- package/dist/cli/commands/start.d.ts +2 -0
- package/dist/cli/commands/start.d.ts.map +1 -0
- package/dist/cli/commands/start.js +57 -0
- package/dist/cli/commands/start.js.map +1 -0
- package/dist/cli/commands/status.d.ts +5 -0
- package/dist/cli/commands/status.d.ts.map +1 -1
- package/dist/cli/commands/status.js +21 -3
- package/dist/cli/commands/status.js.map +1 -1
- package/dist/cli/index.js +17 -126
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/registry.d.ts +3 -0
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/cli/registry.js +83 -60
- package/dist/cli/registry.js.map +1 -1
- package/dist/cli/template-generator.d.ts.map +1 -1
- package/dist/cli/template-generator.js +58 -24
- package/dist/cli/template-generator.js.map +1 -1
- package/dist/core/adapters/generic.d.ts.map +1 -1
- package/dist/core/adapters/generic.js +5 -0
- package/dist/core/adapters/generic.js.map +1 -1
- package/dist/core/analyzers/git.d.ts.map +1 -1
- package/dist/core/analyzers/git.js +10 -1
- package/dist/core/analyzers/git.js.map +1 -1
- package/dist/mcp/index.js +1 -0
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/registry.js +2 -2
- package/dist/mcp/registry.js.map +1 -1
- package/package.json +1 -1
- package/packages/pi-extension/dist/index.js +5 -4
- package/templates/codex/plugins/slope/.codex-plugin/plugin.json +1 -1
- package/templates/codex/plugins/slope/skills/slope-setup/SKILL.md +4 -0
- package/templates/codex/plugins/slope/skills/slope-sprint/SKILL.md +1 -0
package/dist/cli/registry.js
CHANGED
|
@@ -4,32 +4,46 @@ export const CLI_INTERNAL_MODULES = ['phase', 'review-state', 'review-run', 'spr
|
|
|
4
4
|
export const CLI_COMMAND_REGISTRY = [
|
|
5
5
|
// ── Lifecycle ──────────────────────────────────────────────────
|
|
6
6
|
{
|
|
7
|
-
cmd: 'init', desc: 'Initialize .slope/ directory', category: 'lifecycle',
|
|
7
|
+
cmd: 'init', desc: 'Initialize .slope/ directory', category: 'lifecycle', audience: 'human',
|
|
8
8
|
flags: [
|
|
9
9
|
{ flag: '--metaphor=<id>', desc: 'Set metaphor theme (golf, gaming, dnd, etc.)' },
|
|
10
10
|
{ flag: '--interactive', desc: 'Rich interactive setup wizard' },
|
|
11
11
|
],
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
cmd: 'interview', desc: 'Run project interview (human or agent JSON mode)', category: 'lifecycle',
|
|
14
|
+
cmd: 'interview', desc: 'Run project interview (human or agent JSON mode)', category: 'lifecycle', audience: 'advanced',
|
|
15
15
|
flags: [
|
|
16
16
|
{ flag: '--agent', desc: 'JSON I/O mode for agent harnesses' },
|
|
17
17
|
{ flag: '--force', desc: 'Re-interview even if project already initialized' },
|
|
18
18
|
],
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
cmd: 'help', desc: 'Show detailed per-command usage', category: 'lifecycle',
|
|
21
|
+
cmd: 'help', desc: 'Show detailed per-command usage', category: 'lifecycle', audience: 'human',
|
|
22
22
|
flags: [{ flag: '<command>', desc: 'Command name to show details for' }],
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
cmd: '
|
|
25
|
+
cmd: 'now', desc: 'Compact current-state cockpit', category: 'lifecycle', audience: 'human',
|
|
26
|
+
flags: [
|
|
27
|
+
{ flag: '--sprint=<N>', desc: 'Override inferred current sprint' },
|
|
28
|
+
{ flag: '--json', desc: 'Output as JSON' },
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
cmd: 'start', desc: 'Human start-of-work cockpit', category: 'lifecycle', audience: 'human',
|
|
33
|
+
flags: [
|
|
34
|
+
{ flag: '--sprint=<N>', desc: 'Override inferred current sprint' },
|
|
35
|
+
{ flag: '--ticket=<key>', desc: 'Claim and begin a ticket' },
|
|
36
|
+
],
|
|
26
37
|
},
|
|
27
38
|
{
|
|
28
|
-
cmd: '
|
|
39
|
+
cmd: 'quickstart', desc: 'Interactive tutorial for new users', category: 'lifecycle', audience: 'human',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
cmd: 'doctor', desc: 'Check repo health and auto-fix issues', category: 'lifecycle', audience: 'human',
|
|
29
43
|
flags: [{ flag: '--fix', desc: 'Auto-fix detected issues' }],
|
|
30
44
|
},
|
|
31
45
|
{
|
|
32
|
-
cmd: 'version', desc: 'Show version or bump with automated PR workflow', category: 'lifecycle',
|
|
46
|
+
cmd: 'version', desc: 'Show version or bump with automated PR workflow', category: 'lifecycle', audience: 'advanced',
|
|
33
47
|
subcommands: [
|
|
34
48
|
{ name: 'bump', desc: 'Bump version with automated PR workflow', flags: [
|
|
35
49
|
{ flag: '<version>', desc: 'Explicit version (e.g. 1.28.0)' },
|
|
@@ -41,7 +55,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
41
55
|
],
|
|
42
56
|
},
|
|
43
57
|
{
|
|
44
|
-
cmd: 'session', desc: 'Manage live sessions', category: 'lifecycle',
|
|
58
|
+
cmd: 'session', desc: 'Manage live sessions', category: 'lifecycle', audience: 'agent',
|
|
45
59
|
subcommands: [
|
|
46
60
|
{ name: 'start', desc: 'Start a new session', flags: [
|
|
47
61
|
{ flag: '--role=<role>', desc: 'Session role (primary, secondary, observer)' },
|
|
@@ -62,7 +76,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
62
76
|
],
|
|
63
77
|
},
|
|
64
78
|
{
|
|
65
|
-
cmd: 'claim', desc: 'Claim a ticket or area for the sprint', category: 'lifecycle',
|
|
79
|
+
cmd: 'claim', desc: 'Claim a ticket or area for the sprint', category: 'lifecycle', audience: 'agent',
|
|
66
80
|
flags: [
|
|
67
81
|
{ flag: '--target=<path>', desc: 'File or directory to claim' },
|
|
68
82
|
{ flag: '--ticket=<key>', desc: 'Ticket key (e.g. S48-1)' },
|
|
@@ -70,19 +84,19 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
70
84
|
],
|
|
71
85
|
},
|
|
72
86
|
{
|
|
73
|
-
cmd: 'release', desc: 'Release a claim by ID or target', category: 'lifecycle',
|
|
87
|
+
cmd: 'release', desc: 'Release a claim by ID or target', category: 'lifecycle', audience: 'agent',
|
|
74
88
|
flags: [
|
|
75
89
|
{ flag: '--id=<id>', desc: 'Claim ID to release' },
|
|
76
90
|
{ flag: '--target=<path>', desc: 'Release claim by target path' },
|
|
77
91
|
],
|
|
78
92
|
},
|
|
79
93
|
{
|
|
80
|
-
cmd: 'status', desc: 'Show sprint course status and conflicts', category: 'lifecycle',
|
|
94
|
+
cmd: 'status', desc: 'Show sprint course status and conflicts', category: 'lifecycle', audience: 'human',
|
|
81
95
|
flags: [{ flag: '--json', desc: 'Output as JSON' }],
|
|
82
96
|
},
|
|
83
|
-
{ cmd: 'next', desc: 'Show next sprint number (auto-detect)', category: 'lifecycle' },
|
|
97
|
+
{ cmd: 'next', desc: 'Show next sprint number (auto-detect)', category: 'lifecycle', audience: 'advanced' },
|
|
84
98
|
{
|
|
85
|
-
cmd: 'resume', desc: 'Portable sprint resume from tracked artifacts', category: 'lifecycle',
|
|
99
|
+
cmd: 'resume', desc: 'Portable sprint resume from tracked artifacts', category: 'lifecycle', audience: 'agent',
|
|
86
100
|
flags: [
|
|
87
101
|
{ flag: '--from=<path>', desc: 'Resume pointer path (default: docs/backlog/.sprint-active.json)' },
|
|
88
102
|
{ flag: '--sprint=<N>', desc: 'Explicit sprint number when no pointer exists' },
|
|
@@ -92,7 +106,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
92
106
|
],
|
|
93
107
|
},
|
|
94
108
|
{
|
|
95
|
-
cmd: 'sprint', desc: 'Manage sprint lifecycle state and gates', category: 'lifecycle',
|
|
109
|
+
cmd: 'sprint', desc: 'Manage sprint lifecycle state and gates', category: 'lifecycle', audience: 'agent',
|
|
96
110
|
subcommands: [
|
|
97
111
|
{ name: 'start', desc: 'Start a new sprint', flags: [
|
|
98
112
|
{ flag: '--number=<N>', desc: 'Sprint number (required)' },
|
|
@@ -100,6 +114,10 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
100
114
|
{ flag: '--touches=<paths>', desc: 'Comma-separated paths to check against sibling worktrees' },
|
|
101
115
|
{ flag: '--force', desc: 'Override pre-sprint reality-check blockers' },
|
|
102
116
|
] },
|
|
117
|
+
{ name: 'begin', desc: 'Bundled start + claim + briefing + prep flow', flags: [
|
|
118
|
+
{ flag: '--sprint=<N>', desc: 'Sprint number (required)' },
|
|
119
|
+
{ flag: '--ticket=<key>', desc: 'Ticket key to claim and prep' },
|
|
120
|
+
] },
|
|
103
121
|
{ name: 'gate', desc: 'Mark a gate as complete', flags: [
|
|
104
122
|
{ flag: '<name>', desc: 'Gate name to complete' },
|
|
105
123
|
] },
|
|
@@ -118,7 +136,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
118
136
|
},
|
|
119
137
|
// ── Scoring ────────────────────────────────────────────────────
|
|
120
138
|
{
|
|
121
|
-
cmd: 'card', desc: 'Display handicap card', category: 'scoring',
|
|
139
|
+
cmd: 'card', desc: 'Display handicap card', category: 'scoring', audience: 'human',
|
|
122
140
|
flags: [
|
|
123
141
|
{ flag: '--metaphor=<id>', desc: 'Display theme override' },
|
|
124
142
|
{ flag: '--player=<name>', desc: 'Filter to a specific player' },
|
|
@@ -127,14 +145,14 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
127
145
|
],
|
|
128
146
|
},
|
|
129
147
|
{
|
|
130
|
-
cmd: 'validate', desc: 'Validate scorecard(s)', category: 'scoring',
|
|
148
|
+
cmd: 'validate', desc: 'Validate scorecard(s)', category: 'scoring', audience: 'agent',
|
|
131
149
|
flags: [
|
|
132
150
|
{ flag: '<path>', desc: 'Scorecard JSON file to validate' },
|
|
133
151
|
{ flag: '--skills', desc: 'Check scorecard skill references against .slope/skills.json' },
|
|
134
152
|
],
|
|
135
153
|
},
|
|
136
154
|
{
|
|
137
|
-
cmd: 'review', desc: 'Format sprint review or manage review state', category: 'scoring',
|
|
155
|
+
cmd: 'review', desc: 'Format sprint review or manage review state', category: 'scoring', audience: 'human',
|
|
138
156
|
subcommands: [
|
|
139
157
|
{ name: 'start', desc: 'Start a plan review', flags: [
|
|
140
158
|
{ flag: '--tier=<tier>', desc: 'Review tier (skip, light, standard, deep)' },
|
|
@@ -162,7 +180,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
162
180
|
],
|
|
163
181
|
},
|
|
164
182
|
{
|
|
165
|
-
cmd: 'auto-card', desc: 'Generate scorecard from git + CI signals', category: 'scoring',
|
|
183
|
+
cmd: 'auto-card', desc: 'Generate scorecard from git + CI signals', category: 'scoring', audience: 'agent',
|
|
166
184
|
flags: [
|
|
167
185
|
{ flag: '--sprint=<N>', desc: 'Sprint number (required)' },
|
|
168
186
|
{ flag: '--since=<date>', desc: 'Start date for git log' },
|
|
@@ -176,7 +194,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
176
194
|
],
|
|
177
195
|
},
|
|
178
196
|
{
|
|
179
|
-
cmd: 'classify', desc: 'Classify a shot from execution trace', category: 'scoring',
|
|
197
|
+
cmd: 'classify', desc: 'Classify a shot from execution trace', category: 'scoring', audience: 'agent',
|
|
180
198
|
flags: [
|
|
181
199
|
{ flag: '--scope=<files>', desc: 'Comma-separated file scope' },
|
|
182
200
|
{ flag: '--modified=<files>', desc: 'Comma-separated modified files' },
|
|
@@ -186,7 +204,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
186
204
|
],
|
|
187
205
|
},
|
|
188
206
|
{
|
|
189
|
-
cmd: 'tournament', desc: 'Build tournament review from sprints', category: 'scoring',
|
|
207
|
+
cmd: 'tournament', desc: 'Build tournament review from sprints', category: 'scoring', audience: 'advanced',
|
|
190
208
|
flags: [
|
|
191
209
|
{ flag: '--id=<id>', desc: 'Tournament identifier' },
|
|
192
210
|
{ flag: '--name=<name>', desc: 'Tournament display name' },
|
|
@@ -196,7 +214,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
196
214
|
},
|
|
197
215
|
// ── Analysis ───────────────────────────────────────────────────
|
|
198
216
|
{
|
|
199
|
-
cmd: 'briefing', desc: 'Pre-round briefing with hazards and nutrition', category: 'analysis',
|
|
217
|
+
cmd: 'briefing', desc: 'Pre-round briefing with hazards and nutrition', category: 'analysis', audience: 'human',
|
|
200
218
|
flags: [
|
|
201
219
|
{ flag: '--categories=<list>', desc: 'Filter by issue categories (comma-separated)' },
|
|
202
220
|
{ flag: '--keywords=<list>', desc: 'Filter by keywords (comma-separated)' },
|
|
@@ -209,7 +227,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
209
227
|
],
|
|
210
228
|
},
|
|
211
229
|
{
|
|
212
|
-
cmd: 'plan', desc: 'Pre-shot advisor (club + training + hazards)', category: 'analysis',
|
|
230
|
+
cmd: 'plan', desc: 'Pre-shot advisor (club + training + hazards)', category: 'analysis', audience: 'agent',
|
|
213
231
|
flags: [
|
|
214
232
|
{ flag: '--complexity=<level>', desc: 'Complexity (trivial, small, medium, large)' },
|
|
215
233
|
{ flag: '--slope-factors=<list>', desc: 'Comma-separated slope factors' },
|
|
@@ -218,14 +236,14 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
218
236
|
],
|
|
219
237
|
},
|
|
220
238
|
{
|
|
221
|
-
cmd: 'report', desc: 'Generate HTML performance report', category: 'analysis',
|
|
239
|
+
cmd: 'report', desc: 'Generate HTML performance report', category: 'analysis', audience: 'advanced',
|
|
222
240
|
flags: [
|
|
223
241
|
{ flag: '--html', desc: 'Generate HTML report' },
|
|
224
242
|
{ flag: '--output=<path>', desc: 'Output file path' },
|
|
225
243
|
],
|
|
226
244
|
},
|
|
227
245
|
{
|
|
228
|
-
cmd: 'dashboard', desc: 'Live local performance dashboard', category: 'analysis',
|
|
246
|
+
cmd: 'dashboard', desc: 'Live local performance dashboard', category: 'analysis', audience: 'advanced',
|
|
229
247
|
flags: [
|
|
230
248
|
{ flag: '--port=<N>', desc: 'HTTP port (default: 3000)' },
|
|
231
249
|
{ flag: '--no-open', desc: 'Don\'t auto-open browser' },
|
|
@@ -235,7 +253,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
235
253
|
],
|
|
236
254
|
},
|
|
237
255
|
{
|
|
238
|
-
cmd: 'standup', desc: 'Generate or ingest standup report', category: 'analysis',
|
|
256
|
+
cmd: 'standup', desc: 'Generate or ingest standup report', category: 'analysis', audience: 'agent',
|
|
239
257
|
flags: [
|
|
240
258
|
{ flag: '--session=<id>', desc: 'Session ID for standup generation' },
|
|
241
259
|
{ flag: '--role=<id>', desc: 'Agent role filter' },
|
|
@@ -246,7 +264,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
246
264
|
],
|
|
247
265
|
},
|
|
248
266
|
{
|
|
249
|
-
cmd: 'analyze', desc: 'Scan repo and generate profile', category: 'analysis',
|
|
267
|
+
cmd: 'analyze', desc: 'Scan repo and generate profile', category: 'analysis', audience: 'advanced',
|
|
250
268
|
flags: [
|
|
251
269
|
{ flag: '--analyzers=<list>', desc: 'Run specific analyzers (comma-separated: stack, git, etc.)' },
|
|
252
270
|
{ flag: '--json', desc: 'Output full profile as JSON' },
|
|
@@ -254,7 +272,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
254
272
|
},
|
|
255
273
|
// ── Tooling ────────────────────────────────────────────────────
|
|
256
274
|
{
|
|
257
|
-
cmd: 'hook', desc: 'Manage lifecycle hooks', category: 'tooling',
|
|
275
|
+
cmd: 'hook', desc: 'Manage lifecycle hooks', category: 'tooling', audience: 'internal',
|
|
258
276
|
subcommands: [
|
|
259
277
|
{ name: 'add', desc: 'Install guard hooks', flags: [
|
|
260
278
|
{ flag: '--level=<level>', desc: 'Hook level (full, scoring)' },
|
|
@@ -267,7 +285,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
267
285
|
],
|
|
268
286
|
},
|
|
269
287
|
{
|
|
270
|
-
cmd: 'guard', desc: 'Run guard handler or manage guard activation', category: 'tooling',
|
|
288
|
+
cmd: 'guard', desc: 'Run guard handler or manage guard activation', category: 'tooling', audience: 'internal',
|
|
271
289
|
subcommands: [
|
|
272
290
|
{ name: '<name>', desc: 'Run a guard (reads hook JSON from stdin)' },
|
|
273
291
|
{ name: 'list', desc: 'Show all available guards' },
|
|
@@ -285,7 +303,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
285
303
|
],
|
|
286
304
|
},
|
|
287
305
|
{
|
|
288
|
-
cmd: 'extract', desc: 'Extract events into SLOPE store', category: 'tooling',
|
|
306
|
+
cmd: 'extract', desc: 'Extract events into SLOPE store', category: 'tooling', audience: 'internal',
|
|
289
307
|
flags: [
|
|
290
308
|
{ flag: '--file=<path>', desc: 'Event file to extract' },
|
|
291
309
|
{ flag: '--session-id=<id>', desc: 'Session ID to tag events' },
|
|
@@ -293,7 +311,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
293
311
|
],
|
|
294
312
|
},
|
|
295
313
|
{
|
|
296
|
-
cmd: 'distill', desc: 'Promote event patterns to common issues', category: 'tooling',
|
|
314
|
+
cmd: 'distill', desc: 'Promote event patterns to common issues', category: 'tooling', audience: 'agent',
|
|
297
315
|
flags: [
|
|
298
316
|
{ flag: '--auto', desc: 'Auto-promote patterns above threshold' },
|
|
299
317
|
{ flag: '--dry-run', desc: 'Preview without writing' },
|
|
@@ -302,14 +320,14 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
302
320
|
],
|
|
303
321
|
},
|
|
304
322
|
{
|
|
305
|
-
cmd: 'map', desc: 'Generate/update codebase map', category: 'tooling',
|
|
323
|
+
cmd: 'map', desc: 'Generate/update codebase map', category: 'tooling', audience: 'agent',
|
|
306
324
|
flags: [
|
|
307
325
|
{ flag: '--check', desc: 'Check staleness (exit 1 if stale)' },
|
|
308
326
|
{ flag: '--output=<path>', desc: 'Custom output path (default: CODEBASE.md)' },
|
|
309
327
|
],
|
|
310
328
|
},
|
|
311
329
|
{
|
|
312
|
-
cmd: 'workflow', desc: 'Manage workflow definitions', category: 'tooling',
|
|
330
|
+
cmd: 'workflow', desc: 'Manage workflow definitions', category: 'tooling', audience: 'internal',
|
|
313
331
|
subcommands: [
|
|
314
332
|
{ name: 'validate', desc: 'Parse and validate a workflow definition' },
|
|
315
333
|
{ name: 'list', desc: 'List all available workflows (project + built-in)' },
|
|
@@ -317,7 +335,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
317
335
|
],
|
|
318
336
|
},
|
|
319
337
|
{
|
|
320
|
-
cmd: 'flows', desc: 'Manage user flow definitions', category: 'tooling',
|
|
338
|
+
cmd: 'flows', desc: 'Manage user flow definitions', category: 'tooling', audience: 'advanced',
|
|
321
339
|
subcommands: [
|
|
322
340
|
{ name: 'init', desc: 'Create .slope/flows.json with example template' },
|
|
323
341
|
{ name: 'list', desc: 'List all flows with staleness indicators' },
|
|
@@ -325,7 +343,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
325
343
|
],
|
|
326
344
|
},
|
|
327
345
|
{
|
|
328
|
-
cmd: 'inspirations', desc: 'Track external OSS inspiration sources', category: 'tooling',
|
|
346
|
+
cmd: 'inspirations', desc: 'Track external OSS inspiration sources', category: 'tooling', audience: 'advanced',
|
|
329
347
|
subcommands: [
|
|
330
348
|
{ name: 'add', desc: 'Add an inspiration source', flags: [
|
|
331
349
|
{ flag: '--url=<url>', desc: 'Source URL (required)' },
|
|
@@ -343,7 +361,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
343
361
|
],
|
|
344
362
|
},
|
|
345
363
|
{
|
|
346
|
-
cmd: 'skills', desc: 'Manage repo-local Agent Skills registry', category: 'tooling',
|
|
364
|
+
cmd: 'skills', desc: 'Manage repo-local Agent Skills registry', category: 'tooling', audience: 'advanced',
|
|
347
365
|
subcommands: [
|
|
348
366
|
{ name: 'scan', desc: 'Scan configured skill roots into .slope/skills.json', flags: [
|
|
349
367
|
{ flag: '--root=<path>', desc: 'Skill root to scan (repeatable or comma-separated)' },
|
|
@@ -359,7 +377,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
359
377
|
],
|
|
360
378
|
},
|
|
361
379
|
{
|
|
362
|
-
cmd: 'issue', desc: 'Detect and triage SLOPE-driven product issues', category: 'tooling',
|
|
380
|
+
cmd: 'issue', desc: 'Detect and triage SLOPE-driven product issues', category: 'tooling', audience: 'agent',
|
|
363
381
|
subcommands: [
|
|
364
382
|
{ name: 'scout', desc: 'Scan common issues/transcripts and propose GitHub issues', flags: [
|
|
365
383
|
{ flag: '--source=<path>', desc: 'File or directory to scan (repeatable)' },
|
|
@@ -380,7 +398,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
380
398
|
],
|
|
381
399
|
},
|
|
382
400
|
{
|
|
383
|
-
cmd: 'metaphor', desc: 'Manage metaphor display themes', category: 'tooling',
|
|
401
|
+
cmd: 'metaphor', desc: 'Manage metaphor display themes', category: 'tooling', audience: 'advanced',
|
|
384
402
|
subcommands: [
|
|
385
403
|
{ name: 'list', desc: 'Show all available metaphors' },
|
|
386
404
|
{ name: 'set', desc: 'Set the active metaphor', flags: [
|
|
@@ -392,7 +410,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
392
410
|
],
|
|
393
411
|
},
|
|
394
412
|
{
|
|
395
|
-
cmd: 'plugin', desc: 'Manage custom plugins', category: 'tooling',
|
|
413
|
+
cmd: 'plugin', desc: 'Manage custom plugins', category: 'tooling', audience: 'advanced',
|
|
396
414
|
subcommands: [
|
|
397
415
|
{ name: 'list', desc: 'Show all plugins (built-in + custom)' },
|
|
398
416
|
{ name: 'validate', desc: 'Validate a plugin file', flags: [
|
|
@@ -401,7 +419,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
401
419
|
],
|
|
402
420
|
},
|
|
403
421
|
{
|
|
404
|
-
cmd: 'store', desc: 'Store diagnostics and management', category: 'tooling',
|
|
422
|
+
cmd: 'store', desc: 'Store diagnostics and management', category: 'tooling', audience: 'internal',
|
|
405
423
|
subcommands: [
|
|
406
424
|
{ name: 'status', desc: 'Show store type, schema version, and stats', flags: [
|
|
407
425
|
{ flag: '--json', desc: 'Output as JSON' },
|
|
@@ -412,7 +430,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
412
430
|
],
|
|
413
431
|
},
|
|
414
432
|
{
|
|
415
|
-
cmd: 'escalate', desc: 'Escalate issues based on severity triggers', category: 'tooling',
|
|
433
|
+
cmd: 'escalate', desc: 'Escalate issues based on severity triggers', category: 'tooling', audience: 'agent',
|
|
416
434
|
flags: [
|
|
417
435
|
{ flag: '--reason=<text>', desc: 'Manual escalation reason' },
|
|
418
436
|
{ flag: '--session-id=<id>', desc: 'Session ID context' },
|
|
@@ -421,7 +439,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
421
439
|
],
|
|
422
440
|
},
|
|
423
441
|
{
|
|
424
|
-
cmd: 'transcript', desc: 'View session transcript data', category: 'tooling',
|
|
442
|
+
cmd: 'transcript', desc: 'View session transcript data', category: 'tooling', audience: 'internal',
|
|
425
443
|
subcommands: [
|
|
426
444
|
{ name: 'list', desc: 'List available transcripts' },
|
|
427
445
|
{ name: 'show', desc: 'Show turn-by-turn summary', flags: [
|
|
@@ -434,8 +452,12 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
434
452
|
},
|
|
435
453
|
// ── Planning ───────────────────────────────────────────────────
|
|
436
454
|
{
|
|
437
|
-
cmd: 'roadmap', desc: 'Strategic planning and roadmap tools', category: 'planning',
|
|
455
|
+
cmd: 'roadmap', desc: 'Strategic planning, interview handoff, and roadmap tools', category: 'planning', audience: 'human',
|
|
438
456
|
subcommands: [
|
|
457
|
+
{ name: 'interview', desc: 'Run project interview for planning input (alias of slope interview)', flags: [
|
|
458
|
+
{ flag: '--agent', desc: 'JSON I/O mode for agent harnesses' },
|
|
459
|
+
{ flag: '--force', desc: 'Re-interview even if project already initialized' },
|
|
460
|
+
] },
|
|
439
461
|
{ name: 'validate', desc: 'Schema + dependency graph checks', flags: [
|
|
440
462
|
{ flag: '--path=<file>', desc: 'Roadmap file path' },
|
|
441
463
|
] },
|
|
@@ -453,13 +475,14 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
453
475
|
{ flag: '--path=<file>', desc: 'Roadmap file path' },
|
|
454
476
|
{ flag: '--dry-run', desc: 'Preview without writing' },
|
|
455
477
|
] },
|
|
456
|
-
{ name: 'generate', desc: 'Generate from vision + backlog analysis', flags: [
|
|
478
|
+
{ name: 'generate', desc: 'Generate from vision + backlog analysis after slope vision create/update', flags: [
|
|
457
479
|
{ flag: '--path=<file>', desc: 'Output roadmap file path' },
|
|
480
|
+
{ flag: '--dry-run', desc: 'Preview without writing' },
|
|
458
481
|
] },
|
|
459
482
|
],
|
|
460
483
|
},
|
|
461
484
|
{
|
|
462
|
-
cmd: 'retro', desc: 'Retrospective scorecard utilities', category: 'planning',
|
|
485
|
+
cmd: 'retro', desc: 'Retrospective scorecard utilities', category: 'planning', audience: 'agent',
|
|
463
486
|
subcommands: [
|
|
464
487
|
{ name: 'backfill', desc: 'Generate scorecard from git history (#318)', flags: [
|
|
465
488
|
{ flag: '--sprint=<N>', desc: 'Sprint number (or use --all-missing)' },
|
|
@@ -480,7 +503,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
480
503
|
],
|
|
481
504
|
},
|
|
482
505
|
{
|
|
483
|
-
cmd: 'vision', desc: 'Display project vision document', category: 'planning',
|
|
506
|
+
cmd: 'vision', desc: 'Display project vision document', category: 'planning', audience: 'human',
|
|
484
507
|
subcommands: [
|
|
485
508
|
{ name: 'create', desc: 'Create a new vision document', flags: [
|
|
486
509
|
{ flag: '--purpose=<text>', desc: 'Project purpose' },
|
|
@@ -494,7 +517,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
494
517
|
flags: [{ flag: '--json', desc: 'Output as JSON' }],
|
|
495
518
|
},
|
|
496
519
|
{
|
|
497
|
-
cmd: 'initiative', desc: 'Multi-sprint initiative orchestration', category: 'planning',
|
|
520
|
+
cmd: 'initiative', desc: 'Multi-sprint initiative orchestration', category: 'planning', audience: 'advanced',
|
|
498
521
|
subcommands: [
|
|
499
522
|
{ name: 'create', desc: 'Create a new initiative' },
|
|
500
523
|
{ name: 'status', desc: 'Show current initiative state' },
|
|
@@ -511,7 +534,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
511
534
|
},
|
|
512
535
|
// ── Loop ─────────────────────────────────────────────
|
|
513
536
|
{
|
|
514
|
-
cmd: 'loop', desc: 'Autonomous sprint execution loop', category: 'tooling',
|
|
537
|
+
cmd: 'loop', desc: 'Autonomous sprint execution loop', category: 'tooling', audience: 'advanced',
|
|
515
538
|
subcommands: [
|
|
516
539
|
{ name: 'run', desc: 'Single sprint execution', flags: [
|
|
517
540
|
{ flag: '--sprint=<ID>', desc: 'Sprint ID to execute' },
|
|
@@ -557,7 +580,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
557
580
|
],
|
|
558
581
|
},
|
|
559
582
|
{
|
|
560
|
-
cmd: 'worktree', desc: 'Manage git worktrees', category: 'tooling',
|
|
583
|
+
cmd: 'worktree', desc: 'Manage git worktrees', category: 'tooling', audience: 'agent',
|
|
561
584
|
subcommands: [
|
|
562
585
|
{ name: 'status', desc: 'Show sibling worktree dirty/ahead/migration state', flags: [
|
|
563
586
|
{ flag: '--base=<ref>', desc: 'Base ref for ahead/behind and changed-file detection' },
|
|
@@ -572,7 +595,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
572
595
|
},
|
|
573
596
|
// ── Indexing ──────────────────────────────────────────────────────
|
|
574
597
|
{
|
|
575
|
-
cmd: 'index-cmd', desc: 'Semantic embedding index management', category: 'tooling',
|
|
598
|
+
cmd: 'index-cmd', desc: 'Semantic embedding index management', category: 'tooling', audience: 'internal',
|
|
576
599
|
flags: [
|
|
577
600
|
{ flag: '--full', desc: 'Full reindex (drop + rebuild)' },
|
|
578
601
|
{ flag: '--status', desc: 'Show index stats' },
|
|
@@ -581,7 +604,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
581
604
|
],
|
|
582
605
|
},
|
|
583
606
|
{
|
|
584
|
-
cmd: 'context', desc: 'Semantic context search for agents', category: 'tooling',
|
|
607
|
+
cmd: 'context', desc: 'Semantic context search for agents', category: 'tooling', audience: 'agent',
|
|
585
608
|
flags: [
|
|
586
609
|
{ flag: '<query>', desc: 'Free-text semantic search query' },
|
|
587
610
|
{ flag: '--ticket=<key>', desc: 'Use ticket title as query' },
|
|
@@ -591,7 +614,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
591
614
|
],
|
|
592
615
|
},
|
|
593
616
|
{
|
|
594
|
-
cmd: 'prep', desc: 'Generate execution plan for a ticket', category: 'tooling',
|
|
617
|
+
cmd: 'prep', desc: 'Generate execution plan for a ticket', category: 'tooling', audience: 'agent',
|
|
595
618
|
flags: [
|
|
596
619
|
{ flag: '<ticket-id>', desc: 'Ticket ID to prepare' },
|
|
597
620
|
{ flag: '--json', desc: 'Output as JSON' },
|
|
@@ -600,7 +623,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
600
623
|
],
|
|
601
624
|
},
|
|
602
625
|
{
|
|
603
|
-
cmd: 'enrich', desc: 'Batch-enrich backlog with file context', category: 'tooling',
|
|
626
|
+
cmd: 'enrich', desc: 'Batch-enrich backlog with file context', category: 'tooling', audience: 'agent',
|
|
604
627
|
flags: [
|
|
605
628
|
{ flag: '<backlog-path>', desc: 'Path to backlog file' },
|
|
606
629
|
{ flag: '--output=<path>', desc: 'Output path for enriched backlog' },
|
|
@@ -609,7 +632,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
609
632
|
],
|
|
610
633
|
},
|
|
611
634
|
{
|
|
612
|
-
cmd: 'stats', desc: 'Export stats JSON for slope-web live dashboard', category: 'tooling',
|
|
635
|
+
cmd: 'stats', desc: 'Export stats JSON for slope-web live dashboard', category: 'tooling', audience: 'internal',
|
|
613
636
|
subcommands: [
|
|
614
637
|
{ name: 'export', desc: 'Compute SlopeStats JSON from local scorecards + registries', flags: [
|
|
615
638
|
{ flag: '--pretty', desc: 'Pretty-print JSON output' },
|
|
@@ -618,7 +641,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
618
641
|
],
|
|
619
642
|
},
|
|
620
643
|
{
|
|
621
|
-
cmd: 'docs', desc: 'Generate documentation manifest and changelog', category: 'tooling',
|
|
644
|
+
cmd: 'docs', desc: 'Generate documentation manifest and changelog', category: 'tooling', audience: 'agent',
|
|
622
645
|
subcommands: [
|
|
623
646
|
{ name: 'generate', desc: 'Build manifest JSON from registries + git history', flags: [
|
|
624
647
|
{ flag: '--output=<path>', desc: 'Write manifest to path (default: .slope/docs.json)' },
|
|
@@ -642,7 +665,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
642
665
|
],
|
|
643
666
|
},
|
|
644
667
|
{
|
|
645
|
-
cmd: 'org', desc: 'Multi-repo aggregation and org-level metrics', category: 'analysis',
|
|
668
|
+
cmd: 'org', desc: 'Multi-repo aggregation and org-level metrics', category: 'analysis', audience: 'advanced',
|
|
646
669
|
subcommands: [
|
|
647
670
|
{ name: 'init', desc: 'Create .slope/org.json template' },
|
|
648
671
|
{ name: 'status', desc: 'Show all repos with handicaps and sprint counts', flags: [
|
|
@@ -654,7 +677,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
654
677
|
],
|
|
655
678
|
},
|
|
656
679
|
{
|
|
657
|
-
cmd: 'memory', desc: 'Cross-session memory management', category: 'analysis',
|
|
680
|
+
cmd: 'memory', desc: 'Cross-session memory management', category: 'analysis', audience: 'advanced',
|
|
658
681
|
subcommands: [
|
|
659
682
|
{ name: 'add', desc: 'Add a memory', flags: [
|
|
660
683
|
{ flag: '--category=<cat>', desc: 'Category: workflow, style, project, hazard, other' },
|
|
@@ -675,7 +698,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
675
698
|
],
|
|
676
699
|
},
|
|
677
700
|
{
|
|
678
|
-
cmd: 'agent', desc: 'Machine-readable operational primitives for AI agents', category: 'tooling',
|
|
701
|
+
cmd: 'agent', desc: 'Machine-readable operational primitives for AI agents', category: 'tooling', audience: 'agent',
|
|
679
702
|
subcommands: [
|
|
680
703
|
{ name: 'status', desc: 'Show current state (human or JSON)', flags: [
|
|
681
704
|
{ flag: '--json', desc: 'Emit AgentStatus JSON' },
|
|
@@ -686,7 +709,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
686
709
|
],
|
|
687
710
|
},
|
|
688
711
|
{
|
|
689
|
-
cmd: 'ticket', desc: 'Per-ticket lifecycle commands', category: 'lifecycle',
|
|
712
|
+
cmd: 'ticket', desc: 'Per-ticket lifecycle commands', category: 'lifecycle', audience: 'agent',
|
|
690
713
|
subcommands: [
|
|
691
714
|
{ name: 'done', desc: 'Mark ticket complete; release claim', flags: [
|
|
692
715
|
{ flag: '<key>', desc: 'Ticket key (e.g. S1-1)' },
|
|
@@ -696,14 +719,14 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
696
719
|
],
|
|
697
720
|
},
|
|
698
721
|
{
|
|
699
|
-
cmd: 'commit-ready', desc: 'Pre-commit checklist for agents', category: 'tooling',
|
|
722
|
+
cmd: 'commit-ready', desc: 'Pre-commit checklist for agents', category: 'tooling', audience: 'agent',
|
|
700
723
|
flags: [
|
|
701
724
|
{ flag: '--json', desc: 'Emit CommitReadyResult JSON' },
|
|
702
725
|
{ flag: '--strict', desc: 'Exit non-zero when blockers exist' },
|
|
703
726
|
],
|
|
704
727
|
},
|
|
705
728
|
{
|
|
706
|
-
cmd: 'gate', desc: 'Initiative review gate aliases (agent-friendly)', category: 'tooling',
|
|
729
|
+
cmd: 'gate', desc: 'Initiative review gate aliases (agent-friendly)', category: 'tooling', audience: 'agent',
|
|
707
730
|
subcommands: [
|
|
708
731
|
{ name: 'status', desc: 'Pending plan/pr gates per sprint', flags: [
|
|
709
732
|
{ flag: '--json', desc: 'Emit pending list as JSON' },
|
|
@@ -721,7 +744,7 @@ export const CLI_COMMAND_REGISTRY = [
|
|
|
721
744
|
],
|
|
722
745
|
},
|
|
723
746
|
{
|
|
724
|
-
cmd: 'pr', desc: 'Pull request helpers (auto-close, finalize, closeout)', category: 'tooling',
|
|
747
|
+
cmd: 'pr', desc: 'Pull request helpers (auto-close, finalize, closeout)', category: 'tooling', audience: 'agent',
|
|
725
748
|
subcommands: [
|
|
726
749
|
{ name: 'finalize', desc: 'Inject Closes #N for issue refs in commit messages (#321)', flags: [
|
|
727
750
|
{ flag: '--pr=<N>', desc: 'PR number (default: resolved from current branch)' },
|