Skip to content

Release v1.8.1: fix concurrent marker contention and lifecycle tests - #79

Merged
CBEPX merged 3 commits into
mainfrom
fix/release-181-identity-barrier
Oct 14, 2026
Merged

CBEPX merged 3 commits into
mainfrom
fix/release-181-identity-barrier

Conversation

@CBEPX

@CBEPX CBEPX commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Five simultaneous task launches could exhaust three lock attempts on the current-session marker. Give marker writes a two-second deadline. Only ordinary marker writes use the new retry policy. Preserve live-owner checks, atomic writes, and the retry policy for explicit deadlines in hooks and the reaper.

Correct two test lifecycle races. The Darwin fixture now waits for a distinct positive child PID. Detached advisor fixtures wait for terminal state and worker exit before cleanup.

Prepare v1.8.1 with the advisor and reliability changes from #77. The v1.8.0 tag remains for provenance. Its Release was never published.

Validation: the marker contention regression fails before the fix. The state tests and five-task concurrent integration scenario pass after it. The existing hook recovery regression also passes. Independent Fable review approved the narrowed retry policy. Changed-line mutation score is 94.44% (14 killed, 3 timeouts, 1 survived). Full local checks pass: 1280 unit tests, 144 integration tests, 33 E2E tests, lint, and both typechecks. Hosted checks must pass before merge.

Closes #80.

@CBEPX

CBEPX commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner Author

Agent work: stage finished

Client: codex · Session: codex-cc76-release-20261014-1238 · Claim: 7d48bd5f-61de-459f-9018-ca5fc3e00264

Mode: write · Started: 2026-10-14T12:39:22+03:00 · Updated: 2026-10-14T14:20:22+03:00

Stage: Completed: PR79 merged at 95cc226; main CI and all required mutation reports passed; v1.8.1 published with anonymous asset checksum verification, pinned plugin installed, 8668 state files preserved, Fable and Sonnet native smoke passed. No owned jobs or child processes remain. Restart Codex to reload. PR78 is a separate dependency follow-up.

Scope in this repository: package.json, package-lock.json, .codex-plugin/plugin.json, CHANGELOG.md, docs/superpowers/plans/2026-10-13-reliability-advisor.md, .superpowers/sdd/2026-10-13-reliability-advisor, scripts/lib/mcp-capabilities.mjs, tests/claude-cli.test.mjs, tests/peer-companion.test.mjs, tests/hooks.test.mjs, tests/integration/claude-companion.test.mjs, tests/advisor-controls.test.mjs, scripts/lib/state.mjs, tests/state.test.mjs, stryker.shard.config.mjs, tests/mutation-config.test.mjs

@CBEPX CBEPX added the agent:busy Active agent-work claim; ownership is recorded in the coordination registry label Oct 14, 2026
@CBEPX CBEPX changed the title Release v1.8.1: correct the Darwin child identity barrier Release v1.8.1: correct lifecycle test barriers and cleanup Oct 14, 2026
@CBEPX CBEPX changed the title Release v1.8.1: correct lifecycle test barriers and cleanup Release v1.8.1: fix concurrent marker contention and lifecycle tests Oct 14, 2026
@CBEPX
CBEPX merged commit 95cc226 into main Oct 14, 2026
7 checks passed
@CBEPX CBEPX removed the agent:busy Active agent-work claim; ownership is recorded in the coordination registry label Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate intermittent current-session lock exhaustion during concurrent starts

1 participant