Skip to content

Commit 16c5c8b

Browse files
committed
chore: release v5.8.4
1 parent aa577a9 commit 16c5c8b

6 files changed

Lines changed: 19 additions & 6 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "agentsys",
33
"description": "19 specialized plugins for AI workflow automation - task orchestration, PR workflow, slop detection, code review, drift detection, enhancement analysis, documentation sync, unified static analysis, perf investigations, topic research, agent config linting, cross-tool AI consultation, structured AI debate, workflow pattern learning, codebase onboarding, and contributor guidance",
4-
"version": "5.8.3",
4+
"version": "5.8.4",
55
"owner": {
66
"name": "Avi Fenesh",
77
"url": "https://github.com/avifenesh"

.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.8.3",
3+
"version": "5.8.4",
44
"description": "Professional-grade slash commands for Claude Code with cross-platform support",
55
"keywords": [
66
"workflow",

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased]
1111

12+
## [5.8.4] - 2026-04-20
13+
14+
### Fixed
15+
- **tasks.json atomic optimistic locking** (#331) - Concurrent `/next-task` and `/ship` runs could silently lose claims or leave stale registry entries due to unguarded read-modify-write on `tasks.json`. Fix uses `_version` + per-write `_writerId` optimistic locking (mirrors existing `flow.json` pattern): write atomically via rename, re-read and verify both fields match before declaring success, retry up to 5× with jitter on mismatch.
16+
- **tasks.json schema unification** - `worktree-manager` wrote `{ version, tasks[] }` while `workflow-state.js` read `{ active }`, causing claim exclusion in `discover-tasks` to always return an empty set. Unified schema is `{ active, tasks[], _version, _writerId }` with on-read normalization of both legacy formats — no migration needed.
17+
- **Silent corruption risk** - `readTasks()` now throws on corrupted JSON instead of returning a safe default, preventing `updateTasks` from silently overwriting potentially recoverable data.
18+
- **Agent prompt raw file writes** - `worktree-manager` Phase 6 and Cleanup Reference replaced inline `fs.writeFileSync` with `workflowState.claimTask()` / `workflowState.releaseTask()` library calls that are atomic and retry-safe.
19+
20+
### Added
21+
- `updateTasks(mutatorFn)` - optimistic-lock loop for `tasks.json` mutations (mirrors `updateFlow`)
22+
- `claimTask(entry, projectPath)` - atomic upsert into `tasks[]` registry for worktree-manager
23+
- `releaseTask(taskId, projectPath)` - atomic removal from `tasks[]` registry for ship/abort; idempotent
24+
1225
## [5.8.3] - 2026-04-11
1326

1427
### Fixed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.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.8.3",
3+
"version": "5.8.4",
44
"description": "A modular runtime and orchestration system for AI agents - works with Claude Code, OpenCode, and Codex CLI",
55
"main": "lib/platform/detect-platform.js",
66
"type": "commonjs",

site/content.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"url": "https://agent-sh.github.io/agentsys",
66
"repo": "https://github.com/agent-sh/agentsys",
77
"npm": "https://www.npmjs.com/package/agentsys",
8-
"version": "5.8.3",
8+
"version": "5.8.4",
99
"author": "Avi Fenesh",
1010
"author_url": "https://github.com/avifenesh"
1111
},

0 commit comments

Comments
 (0)