Skip to content

Commit 7248620

Browse files
committed
chore: release v5.0.1
1 parent f81cfa6 commit 7248620

85 files changed

Lines changed: 188 additions & 125 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude-plugin/marketplace.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "agentsys",
33
"description": "12 specialized plugins for AI workflow automation - task orchestration, PR workflow, slop detection, code review, drift detection, enhancement analysis, documentation sync, repo mapping, perf investigations, topic research, agent config linting, and cross-tool AI consultation",
4-
"version": "5.0.0",
4+
"version": "5.0.1",
55
"owner": {
66
"name": "Avi Fenesh",
77
"url": "https://github.com/avifenesh"
@@ -26,84 +26,84 @@
2626
"name": "next-task",
2727
"source": "./plugins/next-task",
2828
"description": "Master workflow orchestrator: autonomous workflow with model optimization (opus/sonnet/haiku), two-file state management, workflow enforcement gates, 14 specialist agents",
29-
"version": "5.0.0",
29+
"version": "5.0.1",
3030
"category": "productivity"
3131
},
3232
{
3333
"name": "ship",
3434
"source": "./plugins/ship",
3535
"description": "Complete PR workflow: commit to production, skips review when called from next-task, removes task from registry on cleanup, automatic rollback",
36-
"version": "5.0.0",
36+
"version": "5.0.1",
3737
"category": "deployment"
3838
},
3939
{
4040
"name": "deslop",
4141
"source": "./plugins/deslop",
4242
"description": "3-phase AI slop detection: regex patterns (HIGH), multi-pass analyzers (MEDIUM), CLI tools (LOW)",
43-
"version": "5.0.0",
43+
"version": "5.0.1",
4444
"category": "development"
4545
},
4646
{
4747
"name": "audit-project",
4848
"source": "./plugins/audit-project",
4949
"description": "Multi-agent iterative code review until zero issues remain",
50-
"version": "5.0.0",
50+
"version": "5.0.1",
5151
"category": "development"
5252
},
5353
{
5454
"name": "drift-detect",
5555
"source": "./plugins/drift-detect",
5656
"description": "Deep repository analysis to realign project plans with code reality - detects drift, gaps, and creates prioritized reconstruction plans",
57-
"version": "5.0.0",
57+
"version": "5.0.1",
5858
"category": "productivity"
5959
},
6060
{
6161
"name": "enhance",
6262
"source": "./plugins/enhance",
6363
"description": "Master enhancement orchestrator: parallel analyzer execution for plugins, agents, docs, CLAUDE.md, and prompts with unified reporting",
64-
"version": "5.0.0",
64+
"version": "5.0.1",
6565
"category": "development"
6666
},
6767
{
6868
"name": "sync-docs",
6969
"source": "./plugins/sync-docs",
7070
"description": "Standalone documentation sync: find outdated refs, update CHANGELOG, flag stale examples based on code changes",
71-
"version": "5.0.0",
71+
"version": "5.0.1",
7272
"category": "development"
7373
},
7474
{
7575
"name": "repo-map",
7676
"source": "./plugins/repo-map",
7777
"description": "AST-based repository map generation using ast-grep with incremental updates for faster drift analysis",
78-
"version": "5.0.0",
78+
"version": "5.0.1",
7979
"category": "development"
8080
},
8181
{
8282
"name": "perf",
8383
"source": "./plugins/perf",
8484
"description": "Rigorous performance investigation workflow with baselines, profiling, hypotheses, and evidence-backed decisions",
85-
"version": "5.0.0",
85+
"version": "5.0.1",
8686
"category": "development"
8787
},
8888
{
8989
"name": "learn",
9090
"source": "./plugins/learn",
9191
"description": "Research topics online and create comprehensive learning guides with RAG-optimized indexes",
92-
"version": "5.0.0",
92+
"version": "5.0.1",
9393
"category": "productivity"
9494
},
9595
{
9696
"name": "agnix",
9797
"source": "./plugins/agnix",
9898
"description": "Lint agent configuration files (SKILL.md, CLAUDE.md, hooks, MCP) against 155 rules across 10+ AI tools",
99-
"version": "5.0.0",
99+
"version": "5.0.1",
100100
"category": "development"
101101
},
102102
{
103103
"name": "consult",
104104
"source": "./plugins/consult",
105105
"description": "Cross-tool AI consultation: get second opinions from Gemini CLI, Codex CLI, Claude Code, OpenCode, or Copilot CLI with model and thinking effort control",
106-
"version": "5.0.0",
106+
"version": "5.0.1",
107107
"category": "productivity"
108108
}
109109
]

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agentsys",
3-
"version": "5.0.0",
3+
"version": "5.0.1",
44
"description": "Professional-grade slash commands for Claude Code with cross-platform support",
55
"keywords": [
66
"workflow",

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,27 @@ All notable changes to this project will be documented in this file.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [Unreleased]
11+
12+
## [5.0.1] - 2026-02-14
13+
14+
### Fixed
15+
- **OpenCode legacy cleanup** - Installer now removes legacy agent files (`review.md`, `ship.md`, `workflow.md`) left over from pre-rename installs
16+
- **OpenCode install validator** - Now checks only the agents/commands/skills produced by discovery, preventing false positives from legacy files
17+
- **Windows compatibility** - `bump-version.js` uses `npm.cmd` on win32 (fixes `execFileSync` PATHEXT resolution)
18+
- **Windows test fixes** - Scaffold test tolerates `EBUSY` on temp directory cleanup; script-failure-hooks test skips bash-dependent tests on Windows
19+
- **Jest module resolution** - Added `moduleNameMapper` for `@agentsys/lib` to resolve to local `lib/` directory
20+
21+
### Changed
22+
- **Workflow ship references** - Updated all `/ship` references to `ship:ship` (plugin-namespaced command) across next-task command, agents, hooks, and Codex/OpenCode adapters
23+
1024
## [4.1.1] - 2025-02-09
1125

1226
### Fixed
1327
- **Skills $ARGUMENTS parsing** - Added `$ARGUMENTS` parsing to 13 skills that declared `argument-hint` but never consumed the arguments (CC-SK-012)
1428
- **agnix config** - Migrated `.agnix.toml` `disabled_rules` from deprecated slug format to proper rule IDs (XP-003, AS-014)
1529
- **Memory file language** - Strengthened imperative language in AGENTS.md/CLAUDE.md (PE-003, CC-MEM-006)
1630

17-
## [Unreleased]
18-
1931
## [4.2.2] - 2026-02-12
2032

2133
### Fixed

__tests__/scaffold.test.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@ beforeEach(() => {
5252
afterEach(() => {
5353
consoleLogSpy.mockRestore();
5454
consoleErrorSpy.mockRestore();
55-
fs.rmSync(tmpDir, { recursive: true, force: true });
55+
try {
56+
fs.rmSync(tmpDir, { recursive: true, force: true });
57+
} catch (error) {
58+
if (process.platform !== 'win32') {
59+
throw error;
60+
}
61+
}
5662
});
5763

5864
// ---------------------------------------------------------------------------

__tests__/script-failure-hooks.test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ const AGENTS_MD = path.join(ROOT, 'AGENTS.md');
1515
*/
1616
function runHook(jsonInput) {
1717
try {
18+
if (!bashAvailable) {
19+
return '';
20+
}
1821
const result = execFileSync('bash', [HOOK_SCRIPT], {
1922
input: jsonInput,
2023
encoding: 'utf8',
@@ -35,6 +38,10 @@ try {
3538
bashAvailable = false;
3639
}
3740

41+
if (process.platform === 'win32') {
42+
bashAvailable = false;
43+
}
44+
3845
describe('script failure enforcement hooks', () => {
3946
describe('.claude/settings.json', () => {
4047
test('exists and is valid JSON', () => {

adapters/codex/skills/next-task/SKILL.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ This workflow exists because each step serves a purpose. Taking shortcuts defeat
5454
9. Review Loop
5555
10. Delivery Validation
5656
11. Docs Update
57-
12. /ship
57+
12. `ship:ship`
5858

5959
**Human interaction points (ONLY THESE):**
6060
1. Policy selection via checkboxes
@@ -73,10 +73,10 @@ Each phase must complete before the next starts:
7373
| Review Loop | Must approve (no open issues or override) |
7474
| Delivery | Tests pass, build passes |
7575
| Docs | Documentation updated |
76-
| Ship | Explicit /ship invocation (not hook-only) |
76+
| Ship | Explicit `ship:ship` invocation (plugin command) |
7777

7878
**Forbidden actions for agents:**
79-
- No agent may create PRs or push to remote (only /ship)
79+
- No agent may create PRs or push to remote (only ship:ship)
8080
- No agent may skip Phase 9, delivery-validator, or docs update
8181
</workflow-gates>
8282

@@ -503,17 +503,17 @@ workflowState.completePhase({ docsUpdated: true, fixesApplied: result.fixes?.len
503503
</phase-11>
504504
505505
<phase-12>
506-
## Phase 12: Handoff to /ship
506+
## Phase 12: Handoff to ship:ship
507507
508-
After docs update (sync-docs-agent) completes, invoke /ship explicitly:
508+
After docs update (sync-docs-agent) completes, invoke `ship:ship` explicitly:
509509
510510
```javascript
511-
console.log(`Task #${state.task.id} passed all validation. Invoking /ship...`);
511+
console.log(`Task #${state.task.id} passed all validation. Invoking ship:ship...`);
512512
const stateDir = workflowState.getStateDir(); // Returns platform-aware state directory
513513
await Task({ subagent_type: "ship:ship", prompt: `Ship the task. State file: ${stateDir}/flow.json` });
514514
```
515515
516-
**/ship responsibilities:**
516+
**ship:ship responsibilities:**
517517
- Create PR, push branch
518518
- Monitor CI and review comments
519519
- Merge when approved
@@ -541,6 +541,6 @@ try {
541541
- Sonnet for validation tasks (review, delivery)
542542
- Haiku for simple tasks (worktree)
543543
- Fully autonomous after plan approval
544-
- Explicit /ship handoff for PR workflow
544+
- Explicit ship:ship handoff for PR workflow
545545
546546
Begin workflow now.

adapters/opencode/agents/delivery-validator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ delivery-validator (YOU ARE HERE)
7070
**MUST NOT do:**
7171
- Create PRs
7272
- Push to remote
73-
- Invoke /ship
73+
- Invoke ship
7474
- Skip sync-docs-agent
7575

7676
## State Updates

adapters/opencode/agents/implementation-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ implementation-agent (YOU ARE HERE)
166166
167167
sync-docs-agent
168168
169-
/ship command (creates PR)
169+
ship command (creates PR)
170170
```
171171

172172
### Required Handoff

adapters/opencode/agents/worktree-manager.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,12 @@ Report: branch name, worktree path, base commit. Confirm PWD anchored to worktre
167167
| Component | Creates | Cleans Up |
168168
|-----------|---------|-----------|
169169
| worktree-manager | worktrees, tasks.json entries, workflow-status.json | Nothing |
170-
| /ship | - | worktrees (after merge), tasks.json entries |
170+
| ship | - | worktrees (after merge), tasks.json entries |
171171
| --abort | - | worktrees, tasks.json entries |
172172

173173
**Agents MUST NOT**: clean up worktrees, remove tasks from registry, or delete branches.
174174

175-
## Cleanup Reference (for /ship and --abort)
175+
## Cleanup Reference (for ship and --abort)
176176

177177
*(Bash command with Node.js require - adapt for OpenCode)*
178178

@@ -192,7 +192,7 @@ On failure: remove partial worktree, prune refs, update state with `failPhase()`
192192

193193
## Constraints
194194

195-
- Only create worktrees - never delete them (cleanup is handled by /ship or --abort)
195+
- Only create worktrees - never delete them (cleanup is handled by ship or --abort)
196196
- Do not remove tasks from tasks.json registry
197197
- Do not delete branches
198198
- Do not modify files in the main repository after switching to worktree

adapters/opencode/commands/next-task.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ This workflow exists because each step serves a purpose. Taking shortcuts defeat
8787
9. Review Loop
8888
10. Delivery Validation
8989
11. Docs Update
90-
12. /ship
90+
12. `ship`
9191

9292
**Human interaction points (ONLY THESE):**
9393
1. Policy selection via checkboxes
@@ -106,10 +106,10 @@ Each phase must complete before the next starts:
106106
| Review Loop | Must approve (no open issues or override) |
107107
| Delivery | Tests pass, build passes |
108108
| Docs | Documentation updated |
109-
| Ship | Explicit /ship invocation (not hook-only) |
109+
| Ship | Explicit `ship` invocation (plugin command) |
110110

111111
**Forbidden actions for agents:**
112-
- No agent may create PRs or push to remote (only /ship)
112+
- No agent may create PRs or push to remote (only ship)
113113
- No agent may skip Phase 9, delivery-validator, or docs update
114114
</workflow-gates>
115115

@@ -354,13 +354,13 @@ Uses the unified sync-docs agent from the sync-docs plugin with `before-pr` scop
354354
</phase-11>
355355

356356
<phase-12>
357-
## Phase 12: Handoff to /ship
357+
## Phase 12: Handoff to ship
358358

359-
After docs update (sync-docs-agent) completes, invoke /ship explicitly:
359+
After docs update (sync-docs-agent) completes, invoke `ship` explicitly:
360360

361361
*(JavaScript reference - not executable in OpenCode)*
362362

363-
**/ship responsibilities:**
363+
**ship responsibilities:**
364364
- Create PR, push branch
365365
- Monitor CI and review comments
366366
- Merge when approved
@@ -388,6 +388,6 @@ try {
388388
- Sonnet for validation tasks (review, delivery)
389389
- Haiku for simple tasks (worktree)
390390
- Fully autonomous after plan approval
391-
- Explicit /ship handoff for PR workflow
391+
- Explicit ship handoff for PR workflow
392392

393393
Begin workflow now.

0 commit comments

Comments
 (0)