feat(implement-issues): active-run heartbeat + claim-before-git so concurrent sessions detect a live pass #1
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ksamaschke/implementation-skills-claude#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
2026-07-05, fritz-ai-local: while an implement-issues pass was mid-implementation of an issue, a second (steering) Claude session on the same checkout found no observable trace of the active run — the tracker issue was still unassigned, no scratchpad/lock existed in the repo,
git worktree listwas clean. The steering session (wrongly, but plausibly) started its own pipeline for the same issue and created/deleted the very branch the loop was working on. The existing protections (tracker claim + 24h-staleness rule, scratchpad detection) all have a window at pass start and don't cover a run that claims late or crashes silently.Ask
Make an active implement-issues pass visible and detectable on the checkout it operates on:
.claude/implement-issues.activein the target repo — agent id, pass started_at, current issue, last-updated timestamp. Refresh at phase transitions; remove on clean pass end. A heartbeat older than a defined staleness threshold may be treated as a crashed run (existing resume rules apply).Acceptance criteria
.claude/scratchpads).Deployment (required — part of this work item)
Changes to this plugin only reach agents via the versioned plugin cache. Definition of done includes: (1) bump the plugin version (plugin.json / marketplace metadata per repo convention); (2) refresh the installed cache on the workstation (
claude plugin update <plugin>@samaschke-skillsor the repo's documented update path); (3) verify the new version is the one listed in~/.claude/plugins/cache/samaschke-skills/...and note the "restart sessions to apply" caveat. Do not close this issue at "merged".