Repository navigation
fix(watcher): keep same-hash stale suppressor across busy flicker - #746
Closed
RooseveltAdvisors wants to merge 1 commit into
Closed
RooseveltAdvisors wants to merge 1 commit into
RooseveltAdvisors wants to merge 1 commit into
Conversation
A bare live captain-held/paused surface sets .paused-<key> (#743). The same-hash busy branch then called clear_pause_tracking, which wiped .stale-<key> even when pane text was unchanged. The next idle poll re-armed first-sight and emitted another bare stale wake every arm cycle. Split pause-cadence cleanup from suppressor identity on that path: clear_pause_state only. Hash changes still clear the suppressor. Regression: idle bare surface -> same-hash busy -> idle again must not emit a second bare stale inside PAUSE_RESURFACE_SECS.
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
clear_pause_tracking(which wiped.stale-<key>). Callclear_pause_stateonly so pause-cadence markers drop while the same-hash stale suppressor remains..paused-<key>. A later busy observation (herdr agent working without pane-text change) was clearing the suppressor and re-arming first-sight every poll, spamming barestale: <window>wakes.Test plan
tests/fm-watch-triage.test.shfull suite including newtest_same_hash_busy_does_not_resurface_live_gatePAUSE_RESURFACE_SECSbin/fm-lint.shwith ShellCheck 0.11.0Diagnostic evidence:
data/firstmate-duplicate-stale-injection/report.md(scout).