awesome-slash 2.4.4 → 2.5.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 (151) hide show
  1. package/.claude-plugin/marketplace.json +6 -6
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +123 -1
  4. package/README.md +186 -159
  5. package/SECURITY.md +25 -81
  6. package/adapters/codex/install.sh +58 -16
  7. package/adapters/opencode/install.sh +92 -23
  8. package/lib/index.js +47 -4
  9. package/lib/patterns/review-patterns.js +58 -11
  10. package/lib/patterns/slop-patterns.js +154 -147
  11. package/lib/platform/detect-platform.js +99 -350
  12. package/lib/platform/detection-configs.js +93 -0
  13. package/lib/platform/state-dir.js +122 -0
  14. package/lib/platform/verify-tools.js +10 -78
  15. package/lib/schemas/README.md +195 -0
  16. package/lib/schemas/validator.js +247 -0
  17. package/lib/sources/custom-handler.js +199 -0
  18. package/lib/sources/policy-questions.js +239 -0
  19. package/lib/sources/source-cache.js +164 -0
  20. package/lib/state/workflow-state.js +368 -665
  21. package/lib/types/README.md +292 -0
  22. package/lib/types/agent-frontmatter.d.ts +134 -0
  23. package/lib/types/command-frontmatter.d.ts +107 -0
  24. package/lib/types/hook-frontmatter.d.ts +115 -0
  25. package/lib/types/index.d.ts +84 -0
  26. package/lib/types/plugin-manifest.d.ts +102 -0
  27. package/lib/types/skill-frontmatter.d.ts +89 -0
  28. package/lib/utils/cache-manager.js +154 -0
  29. package/lib/utils/context-optimizer.js +5 -36
  30. package/lib/utils/deprecation.js +37 -0
  31. package/lib/utils/shell-escape.js +88 -0
  32. package/mcp-server/index.js +513 -22
  33. package/package.json +6 -2
  34. package/plugins/deslop-around/.claude-plugin/plugin.json +1 -1
  35. package/plugins/deslop-around/lib/index.js +170 -0
  36. package/plugins/deslop-around/lib/patterns/review-patterns.js +58 -11
  37. package/plugins/deslop-around/lib/patterns/slop-patterns.js +169 -129
  38. package/plugins/deslop-around/lib/platform/detect-platform.js +162 -316
  39. package/plugins/deslop-around/lib/platform/detection-configs.js +93 -0
  40. package/plugins/deslop-around/lib/platform/state-dir.js +122 -0
  41. package/plugins/deslop-around/lib/platform/verify-tools.js +10 -78
  42. package/plugins/deslop-around/lib/schemas/README.md +195 -0
  43. package/plugins/deslop-around/lib/schemas/validator.js +247 -0
  44. package/plugins/deslop-around/lib/sources/custom-handler.js +199 -0
  45. package/plugins/deslop-around/lib/sources/policy-questions.js +239 -0
  46. package/plugins/deslop-around/lib/sources/source-cache.js +164 -0
  47. package/plugins/deslop-around/lib/state/workflow-state.js +387 -484
  48. package/plugins/deslop-around/lib/types/README.md +292 -0
  49. package/plugins/deslop-around/lib/types/agent-frontmatter.d.ts +134 -0
  50. package/plugins/deslop-around/lib/types/command-frontmatter.d.ts +107 -0
  51. package/plugins/deslop-around/lib/types/hook-frontmatter.d.ts +115 -0
  52. package/plugins/deslop-around/lib/types/index.d.ts +84 -0
  53. package/plugins/deslop-around/lib/types/plugin-manifest.d.ts +102 -0
  54. package/plugins/deslop-around/lib/types/skill-frontmatter.d.ts +89 -0
  55. package/plugins/deslop-around/lib/utils/cache-manager.js +154 -0
  56. package/plugins/deslop-around/lib/utils/context-optimizer.js +115 -37
  57. package/plugins/deslop-around/lib/utils/deprecation.js +37 -0
  58. package/plugins/deslop-around/lib/utils/shell-escape.js +88 -0
  59. package/plugins/next-task/.claude-plugin/plugin.json +1 -1
  60. package/plugins/next-task/agents/delivery-validator.md +2 -2
  61. package/plugins/next-task/agents/implementation-agent.md +3 -4
  62. package/plugins/next-task/agents/planning-agent.md +77 -19
  63. package/plugins/next-task/agents/review-orchestrator.md +21 -122
  64. package/plugins/next-task/agents/task-discoverer.md +164 -23
  65. package/plugins/next-task/commands/next-task.md +180 -14
  66. package/plugins/next-task/lib/index.js +170 -0
  67. package/plugins/next-task/lib/patterns/review-patterns.js +58 -11
  68. package/plugins/next-task/lib/patterns/slop-patterns.js +169 -129
  69. package/plugins/next-task/lib/platform/detect-platform.js +162 -316
  70. package/plugins/next-task/lib/platform/detection-configs.js +93 -0
  71. package/plugins/next-task/lib/platform/state-dir.js +122 -0
  72. package/plugins/next-task/lib/platform/verify-tools.js +10 -78
  73. package/plugins/next-task/lib/schemas/README.md +195 -0
  74. package/plugins/next-task/lib/schemas/validator.js +247 -0
  75. package/plugins/next-task/lib/sources/custom-handler.js +199 -0
  76. package/plugins/next-task/lib/sources/policy-questions.js +239 -0
  77. package/plugins/next-task/lib/sources/source-cache.js +164 -0
  78. package/plugins/next-task/lib/state/workflow-state.js +387 -484
  79. package/plugins/next-task/lib/types/README.md +292 -0
  80. package/plugins/next-task/lib/types/agent-frontmatter.d.ts +134 -0
  81. package/plugins/next-task/lib/types/command-frontmatter.d.ts +107 -0
  82. package/plugins/next-task/lib/types/hook-frontmatter.d.ts +115 -0
  83. package/plugins/next-task/lib/types/index.d.ts +84 -0
  84. package/plugins/next-task/lib/types/plugin-manifest.d.ts +102 -0
  85. package/plugins/next-task/lib/types/skill-frontmatter.d.ts +89 -0
  86. package/plugins/next-task/lib/utils/cache-manager.js +154 -0
  87. package/plugins/next-task/lib/utils/context-optimizer.js +115 -37
  88. package/plugins/next-task/lib/utils/deprecation.js +37 -0
  89. package/plugins/next-task/lib/utils/shell-escape.js +88 -0
  90. package/plugins/project-review/.claude-plugin/plugin.json +1 -1
  91. package/plugins/project-review/lib/index.js +170 -0
  92. package/plugins/project-review/lib/patterns/review-patterns.js +58 -11
  93. package/plugins/project-review/lib/patterns/slop-patterns.js +169 -129
  94. package/plugins/project-review/lib/platform/detect-platform.js +162 -316
  95. package/plugins/project-review/lib/platform/detection-configs.js +93 -0
  96. package/plugins/project-review/lib/platform/state-dir.js +122 -0
  97. package/plugins/project-review/lib/platform/verify-tools.js +10 -78
  98. package/plugins/project-review/lib/schemas/README.md +195 -0
  99. package/plugins/project-review/lib/schemas/validator.js +247 -0
  100. package/plugins/project-review/lib/sources/custom-handler.js +199 -0
  101. package/plugins/project-review/lib/sources/policy-questions.js +239 -0
  102. package/plugins/project-review/lib/sources/source-cache.js +164 -0
  103. package/plugins/project-review/lib/state/workflow-state.js +387 -484
  104. package/plugins/project-review/lib/types/README.md +292 -0
  105. package/plugins/project-review/lib/types/agent-frontmatter.d.ts +134 -0
  106. package/plugins/project-review/lib/types/command-frontmatter.d.ts +107 -0
  107. package/plugins/project-review/lib/types/hook-frontmatter.d.ts +115 -0
  108. package/plugins/project-review/lib/types/index.d.ts +84 -0
  109. package/plugins/project-review/lib/types/plugin-manifest.d.ts +102 -0
  110. package/plugins/project-review/lib/types/skill-frontmatter.d.ts +89 -0
  111. package/plugins/project-review/lib/utils/cache-manager.js +154 -0
  112. package/plugins/project-review/lib/utils/context-optimizer.js +115 -37
  113. package/plugins/project-review/lib/utils/deprecation.js +37 -0
  114. package/plugins/project-review/lib/utils/shell-escape.js +88 -0
  115. package/plugins/reality-check/.claude-plugin/plugin.json +1 -1
  116. package/plugins/reality-check/agents/code-explorer.md +1 -1
  117. package/plugins/ship/.claude-plugin/plugin.json +1 -1
  118. package/plugins/ship/lib/index.js +170 -0
  119. package/plugins/ship/lib/patterns/review-patterns.js +58 -11
  120. package/plugins/ship/lib/patterns/slop-patterns.js +169 -129
  121. package/plugins/ship/lib/platform/detect-platform.js +162 -316
  122. package/plugins/ship/lib/platform/detection-configs.js +93 -0
  123. package/plugins/ship/lib/platform/state-dir.js +122 -0
  124. package/plugins/ship/lib/platform/verify-tools.js +10 -78
  125. package/plugins/ship/lib/schemas/README.md +195 -0
  126. package/plugins/ship/lib/schemas/validator.js +247 -0
  127. package/plugins/ship/lib/sources/custom-handler.js +199 -0
  128. package/plugins/ship/lib/sources/policy-questions.js +239 -0
  129. package/plugins/ship/lib/sources/source-cache.js +164 -0
  130. package/plugins/ship/lib/state/workflow-state.js +387 -484
  131. package/plugins/ship/lib/types/README.md +292 -0
  132. package/plugins/ship/lib/types/agent-frontmatter.d.ts +134 -0
  133. package/plugins/ship/lib/types/command-frontmatter.d.ts +107 -0
  134. package/plugins/ship/lib/types/hook-frontmatter.d.ts +115 -0
  135. package/plugins/ship/lib/types/index.d.ts +84 -0
  136. package/plugins/ship/lib/types/plugin-manifest.d.ts +102 -0
  137. package/plugins/ship/lib/types/skill-frontmatter.d.ts +89 -0
  138. package/plugins/ship/lib/utils/cache-manager.js +154 -0
  139. package/plugins/ship/lib/utils/context-optimizer.js +115 -37
  140. package/plugins/ship/lib/utils/deprecation.js +37 -0
  141. package/plugins/ship/lib/utils/shell-escape.js +88 -0
  142. package/scripts/install/codex.sh +216 -72
  143. package/scripts/install/opencode.sh +197 -21
  144. package/lib/state/workflow-state.schema.json +0 -282
  145. package/plugins/deslop-around/lib/state/workflow-state.schema.json +0 -282
  146. package/plugins/next-task/agents/policy-selector.md +0 -248
  147. package/plugins/next-task/lib/state/tasks-registry.schema.json +0 -85
  148. package/plugins/next-task/lib/state/workflow-state.schema.json +0 -282
  149. package/plugins/next-task/lib/state/worktree-status.schema.json +0 -219
  150. package/plugins/project-review/lib/state/workflow-state.schema.json +0 -282
  151. package/plugins/ship/lib/state/workflow-state.schema.json +0 -282
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "awesome-slash",
3
3
  "description": "Professional-grade slash commands for Claude Code with cross-platform support (OpenCode, Codex CLI)",
4
- "version": "2.4.2",
4
+ "version": "2.5.1",
5
5
  "owner": {
6
6
  "name": "Avi Fenesh",
7
7
  "url": "https://github.com/avifenesh"
@@ -13,35 +13,35 @@
13
13
  "name": "next-task",
14
14
  "source": "./plugins/next-task",
15
15
  "description": "Master workflow orchestrator: autonomous workflow with model optimization (opus/sonnet/haiku), two-file state management, workflow enforcement gates, 14 specialist agents",
16
- "version": "2.3.1",
16
+ "version": "2.5.1",
17
17
  "category": "productivity"
18
18
  },
19
19
  {
20
20
  "name": "ship",
21
21
  "source": "./plugins/ship",
22
22
  "description": "Complete PR workflow: commit to production, skips review when called from next-task, removes task from registry on cleanup, automatic rollback",
23
- "version": "2.3.1",
23
+ "version": "2.5.1",
24
24
  "category": "deployment"
25
25
  },
26
26
  {
27
27
  "name": "deslop-around",
28
28
  "source": "./plugins/deslop-around",
29
29
  "description": "AI slop cleanup with minimal diffs and behavior preservation",
30
- "version": "2.3.1",
30
+ "version": "2.5.1",
31
31
  "category": "development"
32
32
  },
33
33
  {
34
34
  "name": "project-review",
35
35
  "source": "./plugins/project-review",
36
36
  "description": "Multi-agent iterative code review until zero issues remain",
37
- "version": "2.3.1",
37
+ "version": "2.5.1",
38
38
  "category": "development"
39
39
  },
40
40
  {
41
41
  "name": "reality-check",
42
42
  "source": "./plugins/reality-check",
43
43
  "description": "Deep repository analysis to realign project plans with code reality - detects drift, gaps, and creates prioritized reconstruction plans",
44
- "version": "1.0.0",
44
+ "version": "2.5.1",
45
45
  "category": "productivity"
46
46
  }
47
47
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awesome-slash",
3
- "version": "2.4.2",
3
+ "version": "2.5.1",
4
4
  "description": "Professional-grade slash commands for Claude Code with cross-platform support",
5
5
  "author": {
6
6
  "name": "Avi Fenesh",
package/CHANGELOG.md CHANGED
@@ -7,6 +7,127 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ No unreleased changes documented.
11
+
12
+ ## [2.5.1] - 2026-01-19
13
+
14
+ ### Added
15
+ - **Platform-Aware State Directories** - State files now stored in platform-specific directories
16
+ - Claude Code: `.claude/`
17
+ - OpenCode: `.opencode/`
18
+ - Codex CLI: `.codex/`
19
+ - Override with `AI_STATE_DIR` environment variable
20
+ - **New lib/platform/state-dir.js** - Centralized platform detection module
21
+
22
+ ### Fixed
23
+ - **OpenCode Installer** - Fixed config format (uses `mcp` key, `type: local`)
24
+ - **Codex Installer** - Fixed to use `config.toml` with Windows-style paths
25
+ - **MCP Server Bugs** - Fixed `state.workflow.id` → `state.task.id` references
26
+ - **MCP Resume Logic** - Fixed `checkpoints.canResume` to use correct state fields
27
+
28
+ ### Changed
29
+ - **Codex Skills** - Added explicit instructions to get files from git diff or ask user
30
+ - **OpenCode Commands** - Added "CRITICAL: Always Ask User First" sections
31
+ - **Documentation** - Added note that Codex uses `$` prefix instead of `/` for commands
32
+
33
+ ## [2.5.0] - 2026-01-19
34
+
35
+ ### Added
36
+ - **Multi-Source Task Discovery** - Support for GitHub, GitLab, local files, custom CLI tools
37
+ - **Source Preference Caching** - Last-used source cached in `sources/preference.json`
38
+ - **Large Backlog Handling** - Pagination and priority filtering for repos with many issues
39
+
40
+ ### Changed
41
+ - **Streamlined Policy Selection** - Direct questions from orchestrator, removed separate agent
42
+
43
+ ### Security
44
+ - **Command Injection** - Fixed shell command injection vulnerabilities
45
+ - **Path Traversal** - Fixed path traversal in source-cache.js
46
+
47
+ ## [2.4.7] - 2026-01-18
48
+
49
+ ### Changed
50
+ - **Simplified State Management** - Rewrote workflow-state.js (#90)
51
+ - Reduced from 922 to ~520 lines
52
+ - Removed overengineered config system (~10,000 lines deleted)
53
+ - Removed 13 unused JSON schema files
54
+ - Replaced complex nested state with simple two-file system:
55
+ - `tasks.json` in main project: tracks active worktree/task
56
+ - `flow.json` in worktree: tracks workflow progress
57
+ - Removed arbitrary maxReviewIterations (now runs until approved)
58
+ - Removed unused mergeStrategy option
59
+ - **Tasks Lifecycle Wiring** - tasks.json now auto-registers/clears with workflow lifecycle
60
+ - `createFlow()` automatically registers task in tasks.json
61
+ - `completeWorkflow()` and `abortWorkflow()` automatically clear active task
62
+ - **Agent Model Updates** - task-discoverer and code-explorer upgraded to opus
63
+ - **Project Philosophy** - Added development guidelines to CLAUDE.md
64
+ - Core priorities: User DX > worry-free automation > minimal tokens > quality > simplicity
65
+ - Plugin purpose clarification: for OTHER projects, not internal tooling
66
+
67
+ ### Fixed
68
+ - **Path Validation** - Added path validation to prevent traversal attacks in workflow-state.js
69
+ - **Error Logging** - Added critical error logging for corrupted JSON files
70
+ - **hasActiveTask** - Fixed false positive with legacy format (uses `!= null` instead of truthiness)
71
+ - **writeFlow** - Fixed mutation issues by cloning before modification
72
+ - **updateFlow** - Fixed null handling logic
73
+ - **completePhase** - Fixed to use updateFlow pattern consistently
74
+
75
+ ## [2.4.6] - 2026-01-18
76
+
77
+ ### Fixed
78
+ - **Documentation Accuracy** - Fixed all documentation inconsistencies (#91)
79
+ - Fixed config file name: `.claude.config.json` → `.awesomeslashrc.json` in INSTALLATION.md
80
+ - Fixed phase counts: Updated to 18 phases in USAGE.md, CROSS_PLATFORM.md
81
+ - Removed all time estimates from user-facing docs (policy compliance)
82
+ - Updated planning-agent tools in CLAUDE.md and CROSS_PLATFORM.md
83
+ - Fixed non-existent script references in migration guides
84
+ - **Auto-Resume Prevention** - Added mandatory gates to prevent automatic task resumption (#92)
85
+ - Added ⛔ NO AUTO-RESUME gate in next-task.md
86
+ - Added mandatory existing task check in policy-selector.md (Phase 1.5)
87
+ - User must explicitly choose: start new, resume, abort, or view status
88
+ - Warning for active tasks (< 1 hour old) that may be running elsewhere
89
+ - Default behavior: "Start New Task (Recommended)"
90
+
91
+ ### Changed
92
+ - **Planning Flow Architecture** - Improved planning workflow separation (#93)
93
+ - planning-agent now outputs structured JSON instead of entering plan mode
94
+ - Orchestrator receives JSON, formats to markdown, enters plan mode
95
+ - Context-efficient: JSON with `=== PLAN_START ===` markers
96
+ - Clean separation: agent creates, orchestrator presents
97
+ - Removed EnterPlanMode tool from planning-agent
98
+ - **Work Guidelines** - Added "No Summary Files" policy to CLAUDE.md
99
+ - Prohibited: `*_FIXES_APPLIED.md`, `*_AUDIT.md`, `*_SUMMARY.md`
100
+ - Summary info goes in CHANGELOG.md or commit messages only
101
+ - Focus on work, not documentation about work
102
+
103
+ ## [2.4.5] - 2026-01-18
104
+
105
+ ### Fixed
106
+ - **Agent Tool Enforcement** - Critical fixes for agent tool usage (#88)
107
+ - Fixed policy-selector agent not showing checkbox UI - Added AskUserQuestion to tools
108
+ - Fixed task-discoverer agent not showing task selection as checkboxes
109
+ - Fixed planning-agent not entering plan mode after creating plans
110
+ - Added CRITICAL REQUIREMENT sections to enforce proper tool usage
111
+ - **Schema Validator** - Fixed validation bugs
112
+ - Added string constraints (minLength, maxLength, pattern) to main validate() method
113
+ - Fixed null type checking to handle null separately from object type
114
+ - Added array constraints (minItems, maxItems, uniqueItems) to main validate() method
115
+ - **Cache Management** - Migrated to CacheManager abstraction
116
+ - Fixed unbounded state cache growth in workflow-state.js
117
+ - Replaced plain Map with CacheManager (maxSize: 50, ttl: 200ms)
118
+ - Removed custom cache management code for consistency
119
+
120
+ ### Changed
121
+ - **Documentation** - Simplified and clarified user-facing docs
122
+ - Streamlined MANUAL_TESTING.md - removed verbose explanations
123
+ - Made README.md more concise and professional
124
+ - Removed excessive formatting and emoji icons
125
+
126
+ ### Tests
127
+ - Fixed cache-manager test maxSize conflicts
128
+ - Skipped 3 MCP server integration tests (mocking complexity)
129
+ - All core tests passing: 513/516 passed, 3 skipped
130
+
10
131
  ## [2.4.4] - 2026-01-18
11
132
 
12
133
  ### Added
@@ -225,7 +346,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
225
346
 
226
347
  ### Added
227
348
  - **Master Workflow Orchestrator** - Complete task-to-production automation
228
- - **State Management** - `.claude/.workflow-state.json` for workflow persistence
349
+ - **State Management** - `.claude/workflow-state.json` for workflow persistence
229
350
  - **8 Specialist Agents** - Opus for complex tasks, Sonnet for operations
230
351
  - **Cross-Platform MCP Server** - Integration with OpenCode and Codex CLI
231
352
  - **Resume Capability** - `--status`, `--resume`, `--abort` flags
@@ -291,3 +412,4 @@ Initial release with full feature set.
291
412
  - MIT License
292
413
  - Security policy
293
414
  - Contributing guidelines
415
+