Skip to content

Honor current probe contracts in admission cooldown planning - #29

Merged
tonywangcn merged 1 commit into
mainfrom
fix/source-plan-probe-contract
Oct 13, 2026
Merged

tonywangcn merged 1 commit into
mainfrom
fix/source-plan-probe-contract

Conversation

@tonywangcn

Copy link
Copy Markdown
Member

When the base probe contract changes, successes recorded under the previous contract could still protect a feed from admission cooldown. Clear contract-scoped completion and elapsed-work counters in the planning snapshot alongside sampled yield; retained Redis history remains unchanged until the normal completion path resets it.

Validation: make check, Staticcheck, and regressions for mismatched and matching contracts, three completed zero-admission observations, and unchanged stored quality.

Invalidate retained completion evidence in the planning snapshot when its base probe contract differs. Preserve stored history and protect matching-contract successes.
@tonywangcn
tonywangcn merged commit b6b926d into main Oct 13, 2026
2 checks passed
@tonywangcn
tonywangcn deleted the fix/source-plan-probe-contract branch October 13, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant