@gravirei/reis 2.6.2 → 2.7.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/CHANGELOG.md CHANGED
@@ -1,5 +1,109 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.7.0] - 2026-01-26
4
+
5
+ ### 🚀 Major Release: GSD Feature Migration
6
+
7
+ This release brings a major enhancement to REIS by migrating powerful features from GSD (Get Shit Done) methodology, including 5 new subagents, 4 new commands, and enhanced cycle capabilities.
8
+
9
+ ### ✨ New Subagents (5)
10
+
11
+ | Subagent | Purpose |
12
+ |----------|---------|
13
+ | **reis_scout** | Phase-level research before planning |
14
+ | **reis_analyst** | Project-level analysis and context gathering |
15
+ | **reis_synthesizer** | Combines multiple research outputs |
16
+ | **reis_architect** | Dedicated roadmap creation |
17
+ | **reis_integrator** | Cross-phase wiring verification (used by `reis audit`) |
18
+
19
+ ### 🆕 New Commands (4)
20
+
21
+ #### `reis quick <task>`
22
+ Execute quick tasks without full research/verification cycle.
23
+ ```bash
24
+ reis quick "fix typo in README"
25
+ reis quick "add missing semicolon" --no-commit
26
+ ```
27
+
28
+ #### `reis audit [milestone]`
29
+ Audit milestone completion and cross-phase integration. Invokes `reis_integrator` for comprehensive checks.
30
+ ```bash
31
+ reis audit v1.0
32
+ reis audit --phase 3 --strict
33
+ ```
34
+
35
+ #### `reis complete-milestone <milestone>`
36
+ Archive completed milestones (runs audit first).
37
+ ```bash
38
+ reis complete-milestone v1.0
39
+ reis complete-milestone v1.0 --no-tag --skip-audit
40
+ ```
41
+
42
+ #### `reis plan-gaps [milestone]`
43
+ Identify and plan for tech debt before milestone completion.
44
+ ```bash
45
+ reis plan-gaps v1.0
46
+ reis plan-gaps --priority high --dry-run
47
+ ```
48
+
49
+ ### 🔄 Enhanced Cycle Command
50
+
51
+ New flags for `reis cycle`:
52
+
53
+ | Flag | Description |
54
+ |------|-------------|
55
+ | `--research` | Run `reis_scout` before planning (phase-level research) |
56
+ | `--full-research` | Run `reis_analyst` + `reis_scout` before planning |
57
+ | `--quick` | Fast mode: skip research, review, and gates |
58
+
59
+ ```bash
60
+ # Default cycle (unchanged)
61
+ reis cycle 1
62
+
63
+ # With phase research
64
+ reis cycle 1 --research
65
+
66
+ # With full research (project + phase)
67
+ reis cycle 1 --full-research
68
+
69
+ # Quick mode for small changes
70
+ reis cycle 1 --quick
71
+ ```
72
+
73
+ ### 📝 New Templates (4)
74
+
75
+ - `templates/research.md` - Research output format
76
+ - `templates/context.md` - Project context tracking
77
+ - `templates/UAT.md` - User Acceptance Testing checklist
78
+ - `templates/SUMMARY.md` - Phase execution summary
79
+
80
+ ### 📚 New Documentation (3)
81
+
82
+ - `docs/verification-patterns.md` - Stub detection, wiring checks
83
+ - `docs/tdd.md` - TDD workflow guidance for REIS projects
84
+ - `docs/model-profiles.md` - Quality/balanced/budget agent modes
85
+ - `docs/CYCLE_COMMAND.md` - Comprehensive cycle documentation (707 lines)
86
+ - `docs/diagrams/` - Mermaid diagrams for cycle workflow
87
+
88
+ ### 🎯 Design Decisions
89
+
90
+ - **Research is opt-in**: Default cycle remains fast, research runs only with flags
91
+ - **Integration checks separate**: `reis_integrator` runs via `reis audit`, not in default cycle
92
+ - **Enhanced planner**: `reis_planner` now automatically reads research outputs if they exist
93
+
94
+ ### 📊 Summary
95
+
96
+ | Category | Added |
97
+ |----------|-------|
98
+ | Subagents | 5 new |
99
+ | Commands | 4 new |
100
+ | Templates | 4 new |
101
+ | Docs | 4 new |
102
+ | Cycle Flags | 3 new |
103
+ | Total Files | 20+ new/modified |
104
+
105
+ ---
106
+
3
107
  ## [2.6.2] - 2026-01-26
4
108
 
5
109
  ### 🐛 Critical Bug Fix
package/bin/reis.js CHANGED
@@ -332,6 +332,63 @@ program
332
332
  await debugCmd(target, { ...options, noKanban: globalOpts.kanban === false });
333
333
  });
334
334
 
335
+ // Quick task execution (no full cycle)
336
+ const quickCmd = require('../lib/commands/quick.js');
337
+ program
338
+ .command('quick <task>')
339
+ .description('Execute a quick task without full research/verification cycle')
340
+ .option('--no-commit', 'Skip git commit after execution')
341
+ .option('--verify', 'Run quick verification after execution')
342
+ .option('-v, --verbose', 'Detailed output')
343
+ .action(async (task, options, command) => {
344
+ const globalOpts = command.parent?.opts() || {};
345
+ await quickCmd(task, { ...options, noKanban: globalOpts.kanban === false });
346
+ });
347
+
348
+ // Audit command (milestone verification)
349
+ const auditCmd = require('../lib/commands/audit.js');
350
+ program
351
+ .command('audit [milestone]')
352
+ .description('Audit milestone completion and cross-phase integration (uses reis_integrator)')
353
+ .option('--phase <n>', 'Audit single phase instead of milestone')
354
+ .option('--strict', 'Fail on any incomplete item or integration issue')
355
+ .option('-o, --output <file>', 'Custom output location for report')
356
+ .option('-v, --verbose', 'Detailed verification output')
357
+ .action(async (milestone, options, command) => {
358
+ const globalOpts = command.parent?.opts() || {};
359
+ await auditCmd({ milestone, ...options, noKanban: globalOpts.kanban === false });
360
+ });
361
+
362
+ // Complete milestone command
363
+ const completeMilestoneCmd = require('../lib/commands/complete-milestone.js');
364
+ program
365
+ .command('complete-milestone <milestone>')
366
+ .description('Archive completed milestone (runs audit first)')
367
+ .option('--tag', 'Create git tag for milestone (default: true)')
368
+ .option('--no-tag', 'Skip git tag creation')
369
+ .option('--no-archive', 'Skip archiving phase plans')
370
+ .option('--skip-audit', 'Skip audit verification (dangerous)')
371
+ .option('--force', 'Complete even with audit warnings')
372
+ .action(async (milestone, options, command) => {
373
+ const globalOpts = command.parent?.opts() || {};
374
+ await completeMilestoneCmd({ milestone, ...options, noKanban: globalOpts.kanban === false });
375
+ });
376
+
377
+ // Plan gaps command
378
+ const planGapsCmd = require('../lib/commands/plan-gaps.js');
379
+ program
380
+ .command('plan-gaps [milestone]')
381
+ .description('Identify and plan for tech debt and gaps before milestone completion')
382
+ .option('--priority <level>', 'Filter by priority (high|medium|low|all)', 'all')
383
+ .option('--from-audit <file>', 'Use specific audit file as input')
384
+ .option('--dry-run', 'Preview gaps without generating plans')
385
+ .option('--max-plans <n>', 'Maximum number of plans to generate')
386
+ .option('-v, --verbose', 'Detailed output')
387
+ .action(async (milestone, options, command) => {
388
+ const globalOpts = command.parent?.opts() || {};
389
+ await planGapsCmd({ milestone, ...options, noKanban: globalOpts.kanban === false });
390
+ });
391
+
335
392
  program
336
393
  .command('cycle [phase-or-plan]')
337
394
  .description('Complete PLAN → EXECUTE → VERIFY → GATE → DEBUG cycle')
@@ -342,6 +399,9 @@ program
342
399
  .option('--skip-review', 'Skip plan review phase')
343
400
  .option('--skip-gates', 'Skip quality gates phase')
344
401
  .option('--gate-only <category>', 'Run only specific gate category (security|quality|performance|accessibility)')
402
+ .option('--research', 'Run reis_scout research before planning')
403
+ .option('--full-research', 'Run reis_analyst + reis_scout before planning')
404
+ .option('--quick', 'Fast mode: skip research, review, and gates (use for small, low-risk changes)')
345
405
  .option('-v, --verbose', 'Detailed output')
346
406
  .action(async (phaseOrPlan, options, command) => {
347
407
  const globalOpts = command.parent?.opts() || {};