Repository navigation
fix(bin): retire stale records for reassigned pool slots - #5559
Closed
Arobotmaster wants to merge 4 commits into
Closed
Arobotmaster wants to merge 4 commits into
Arobotmaster wants to merge 4 commits into
Conversation
Closed
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.
Intent
清理已放弃的 Mirasim 工作,保住 First Mate 原版历史和非 Mirasim 的 Pi Fast 成果。已明确同意丢弃只属于 Mirasim 的未合并本地改动与演示文件;两条 Mirasim PR 已关闭。当前三项旧任务的副本记录冲突,导致安全清理被拒绝;修复这条安全清理路径,使旧任务可在确证归属后退出而不碰别的任务成果。
What Changed
Risk Assessment
Testing
The targeted teardown suite passed its applicable checks, with tmux-only checks skipped because tmux was unavailable. Five stale-slot scenarios passed in isolated Herdr 0.9.1 labs using real endpoints, real Pi registration, and throwaway pool slots. The two previously missing refusal paths preserved both endpoints, metadata, claims, dirty owner work, and Git state. Guarded teardown removed each lab and verified the default-session tripwire. This is a CLI change, so transcript artifacts provide the product-level evidence.
Evidence: Live active, confirmed-dead, and cross-home collision scenarios
Source: Live active, confirmed-dead, and cross-home collision scenarios
Evidence: Live unknown-liveness and current-owner refusal evidence
Source: Live unknown-liveness and current-owner refusal evidence
Evidence: Live block, reconcile, and subsequent owner cleanup evidence
Source: Live block, reconcile, and subsequent owner cleanup evidence
Evidence: Targeted teardown regression output
Source: Targeted teardown regression output
Evidence: Real Herdr agent lifecycle regression output
Source: Real Herdr agent lifecycle regression output
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ No issues found.
🔧 **Test** - 1 issue found → no changes applied ✅
fm-teardown.sh stale-active --forcerefused and both records, the claim, dirty work, and both Herdr panes remained.same-idteardown refused while both metadata files, the child-home claim, dirty file, and Herdr pane remained.bash tests/fm-teardown-endpoint-safety.test.shbash tests/fm-backend-herdr-agent-exit-shell-e2e.test.shROOT="$PWD" EVIDENCE=~/.no-mistakes/evidence/01M3AA72HRK6AC7HY8QAE4S3SQ bash ~/.no-mistakes/evidence/01M3AA72HRK6AC7HY8QAE4S3SQ/live-stale-slot-cleanup.shbin/fm-herdr-lab.sh run fm-lab-audit session list --jsonto confirm the test labs were removedgit status --short && git diff --checkto confirm testing left the worktree clean🔧 No changes applied.
✅ Re-checked - no issues remain.
unknown, teardown exited 1 with the explicit liveness refusal, and both panes, the Pi process, metadata, claim,…stale-mirasim, stated that nothing changed even with--force, and preserved both endpoints, metadata, cl…tests/fm-teardown-endpoint-safety.test.sh~/.no-mistakes/evidence/01M3AA72HRK6AC7HY8QAE4S3SQ/live-herdr-stale-slot-validation.sh 2>&1 | tee ~/.no-mistakes/evidence/01M3AA72HRK6AC7HY8QAE4S3SQ/live-herdr-stale-slot-validation.logPost-lab checks confirmed the suspended Pi process and temporary slot fixture were removed, andgit status --shortremained clean.✅ No issues found.
tests/fm-teardown-endpoint-safety.test.shtests/fm-backend-herdr-agent-exit-shell-e2e.test.shROOT="$PWD" EVIDENCE="~/.no-mistakes/evidence/01M3AA72HRK6AC7HY8QAE4S3SQ" bash .../live-stale-slot-cleanup.shROOT="$PWD" EVIDENCE="~/.no-mistakes/evidence/01M3AA72HRK6AC7HY8QAE4S3SQ" bash .../live-stale-slot-missing-scenarios.shbash .../live-herdr-stale-slot-validation.shConfirmed the named lab session was deleted and the default Herdr session remained running and unchanged.✅ **Document** - passed
✅ No issues found.
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ No issues found.
✅ **Push** - passed
✅ No issues found.
✅ No issues found.