fix(pid-recycling): detect recycled PIDs + add dev infrastructure#3
Merged
Conversation
… dev infrastructure BUG-1: Sessions showed as "running" when macOS recycled PIDs. Fixed by capturing process start time (`ps -p <pid> -o lstart=`) and verifying it against session creation time. A process that started before the session was created cannot be running that session. Also adds: - Biome linting (check + format) - `npm run typecheck` (tsc --noEmit) - GitHub Actions CI (lint → typecheck → build → test) - Vitest config excluding dist/ from test discovery - Pre-push hook (.githooks/pre-push) running full CI checks - Release script (scripts/release.sh) - CLAUDE.md with project conventions and workflow docs Co-Authored-By: Charlie Hulcher <charlie@kindo.ai>
c-h-
added a commit
that referenced
this pull request
Feb 20, 2026
… dev infrastructure (#3) BUG-1: Sessions showed as "running" when macOS recycled PIDs. Fixed by capturing process start time (`ps -p <pid> -o lstart=`) and verifying it against session creation time. A process that started before the session was created cannot be running that session. Also adds: - Biome linting (check + format) - `npm run typecheck` (tsc --noEmit) - GitHub Actions CI (lint → typecheck → build → test) - Vitest config excluding dist/ from test discovery - Pre-push hook (.githooks/pre-push) running full CI checks - Release script (scripts/release.sh) - CLAUDE.md with project conventions and workflow docs Co-authored-by: Doink (OpenClaw) <charlie+doink@kindo.ai>
c-h-
pushed a commit
that referenced
this pull request
Apr 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agent-ctl listshowed stale sessions as "running" due to macOS PID recycling. Fixed by capturing process start time viaps -p <pid> -o lstart=and verifying it against session creation time — a process that started before a session was created can't be running that session.@biomejs/biomewithnpm run lint/lint:fix/formatnpm run typecheck, pre-push hook, release script, CLAUDE.md with project conventionsTest plan
🤖 Generated with Claude Code