Skip to content

chore: v0.40.0 - #158

Merged
fylorn merged 1 commit into
mainfrom
chore/v0.40.0
Sep 24, 2026
Merged

fylorn merged 1 commit into
mainfrom
chore/v0.40.0

Conversation

@fylorn

@fylorn fylorn commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Since v0.39.0:

  • feat!: tw-breaker, one circuit-breaker state machine for both gateways; hidden-text scan in tw-guard #155: tw-breaker, a single circuit-breaker state machine that the desktop's upstream health and the server edition's route and MCP breakers now all run.
    • Breaker is plain, serialisable data. Transitions are pure functions of it, a Policy and a time the caller supplies.
    • Triggers are either consecutive failures or an error rate over a window, and the number of probes is configurable.
    • A cooled breaker reads as half-open with nobody nudging it.
    • The desktop's own rules (fail open when every candidate is down, bypass for a single candidate) stay in tw-gateway. A half-open provider still reads "ok".
    • hidden moves from tw-scan into tw-guard, with Kind::smuggles (tag characters and bidi overrides).
    • Breaking: tw_gateway::health::State is now tw_breaker::State, which adds HalfOpen; tw_scan::hidden is now tw_guard::hidden.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fylorn
fylorn merged commit 579217a into main Sep 24, 2026
2 checks passed
@fylorn
fylorn deleted the chore/v0.40.0 branch September 24, 2026 03:12
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