Skip to content

docs: circuit breaker pattern guide - #647

Merged
bradygaster merged 1 commit into
bradygaster:devfrom
diberry:squad/52-circuit-breaker-docs
Mar 27, 2026
Merged

docs: circuit breaker pattern guide#647
bradygaster merged 1 commit into
bradygaster:devfrom
diberry:squad/52-circuit-breaker-docs

Conversation

@diberry

@diberry diberry commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Concise guide for the circuit breaker resilience pattern — state machine, exponential backoff, configuration defaults, and custom agent integration.

Works out of the box with sensible defaults. Configuration section documents all parameters for customization.

Closes diberry#52

@bradygaster — new guide page for circuit breaker pattern (124 lines, concise). 3 files: doc, nav entry, test entry.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Concise, scannable guide to the circuit breaker resilience pattern for agents.
Covers state machine transitions, exponential backoff, persistent state,
configuration options, and practical examples for custom agents.

Placement: docs/src/content/docs/guide/building-resilient-agents.md
Navigation updated with new guide entry after building-extensions.
Test assertions updated (EXPECTED_GUIDES).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bradygaster
bradygaster merged commit 5a1a7cb into bradygaster:dev Mar 27, 2026
3 checks passed
diberry pushed a commit to diberry/squad that referenced this pull request Mar 27, 2026
- Replace phantom @squad/resilience import with pseudocode example
- Fix squad.json -> squad.config.ts convention
- Add successThreshold explanation
- Scribe charter files already deduplicated on dev branch

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

content: Building Resilient Agents: Circuit Breaker Pattern in Squad

3 participants