Repository navigation
Conversation
Promote realized reservations in lib/spec/spec-next.sh to permanent SPENT records in the same ledger, counted with no TTL and anchored repo scoping. Replace the home-made mkdir mutex with lib/goal/goal-lock.sh kernel flock so concurrent worktrees serialize safely on Ubuntu 26.04 uutils coreutils.
Reclaim dead-owner or empty mkdir-lock dirs before goal_lock while refusing live holders and non-empty dirs fail-closed; strip trailing CR in SPENT and RESERVE parsing/dedupe; close fd 9 inside command substitutions so SIGKILL releases the flock immediately; default GOAL_LOCK_TIMEOUT to 60 inside reserve; clarify commands/mega.md spent contract.
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.
What
A spec number that was used stays used, and reserving a number no longer deadlocks on Ubuntu 26.04.
Demo
Two worktrees racing reserves, 20 rounds under load: no number issued twice.
Proof
docs/verification/spec-number-stays-spent.md
Bookkeeping
no-board-row: leftover audit slice tracked on the devkit leftovers item