Skip to content

theinterneti/TTA.dev / .claude/skills/generated/recovery

recovery

Verified

Recovery subsystem in TTA.dev: execute and related code. 32 symbols | 4 files | Cohesion: 75%

Recovery

32 symbols | 4 files | Cohesion: 75%

When to Use

  • Working on recovery-related functionality in TTA.dev
  • Modifying execute
  • Navigating ttadev/primitives/recovery/circuit_breaker_primitive.py, ttadev/primitives/recovery/fallback.py

Key Files

FileSymbols
tests/primitives/recovery/test_retry_primitive.py_make_primitive, test_succeeds_on_first_attempt, test_passes_context_to_wrapped_primitive, test_raises_after_max_retries_exceeded, test_zero_retries_fails_immediately (+9)
tests/primitives/recovery/test_fallback_primitive.py_make_ctx, _ok, _fail, test_primary_succeeds_returns_primary_result_with_tracer, test_fallback_invoked_when_primary_fails_with_tracer (+8)
ttadev/primitives/recovery/circuit_breaker_primitive.pyclassify_error, should_retry, calculate_delay, wrapper
ttadev/primitives/recovery/fallback.pyexecute

Entry Points

Start here when exploring this area:

  • execute (Function) — ttadev/primitives/recovery/fallback.py:64
  • test_primary_succeeds_returns_primary_result_with_tracer (Function) — tests/primitives/recovery/test_fallback_primitive.py:67
  • test_fallback_invoked_when_primary_fails_with_tracer (Function) — tests/primitives/recovery/test_fallback_primitive.py:79
  • test_raises_primary_error_when_both_fail_with_tracer (Function) — tests/primitives/recovery/test_fallback_primitive.py:91
  • test_fallback_not_called_when_primary_succeeds_with_tracer (Function) — tests/primitives/recovery/test_fallback_primitive.py:102

Key Symbols

SymbolTypeFileLine
executeFunctionttadev/primitives/recovery/fallback.py64
test_primary_succeeds_returns_primary_result_with_tracerFunctiontests/primitives/recovery/test_fallback_primitive.py67
test_fallback_invoked_when_primary_fails_with_tracerFunctiontests/primitives/recovery/test_fallback_primitive.py79
test_raises_primary_error_when_both_fail_with_tracerFunctiontests/primitives/recovery/test_fallback_primitive.py91
test_fallback_not_called_when_primary_succeeds_with_tracerFunctiontests/primitives/recovery/test_fallback_primitive.py102
test_primary_succeeds_returns_primary_result_without_tracerFunctiontests/primitives/recovery/test_fallback_primitive.py125
test_fallback_invoked_when_primary_fails_without_tracerFunctiontests/primitives/recovery/test_fallback_primitive.py138
test_raises_primary_error_when_both_fail_without_tracerFunctiontests/primitives/recovery/test_fallback_primitive.py151
test_checkpoints_recorded_on_primary_successFunctiontests/primitives/recovery/test_fallback_primitive.py170
test_checkpoints_recorded_on_fallback_pathFunctiontests/primitives/recovery/test_fallback_primitive.py186
test_checkpoints_recorded_on_both_failFunctiontests/primitives/recovery/test_fallback_primitive.py201
test_succeeds_on_first_attemptFunctiontests/primitives/recovery/test_retry_primitive.py105
test_passes_context_to_wrapped_primitiveFunctiontests/primitives/recovery/test_retry_primitive.py147
test_raises_after_max_retries_exceededFunctiontests/primitives/recovery/test_retry_primitive.py190
test_zero_retries_fails_immediatelyFunctiontests/primitives/recovery/test_retry_primitive.py223
test_sleep_called_between_retriesFunctiontests/primitives/recovery/test_retry_primitive.py258
test_defensive_runtime_error_when_last_error_is_noneFunctiontests/primitives/recovery/test_retry_primitive.py332
test_succeeds_on_nth_attemptFunctiontests/primitives/recovery/test_retry_primitive.py125
test_passes_input_data_unchangedFunctiontests/primitives/recovery/test_retry_primitive.py167
test_respects_max_retries_countFunctiontests/primitives/recovery/test_retry_primitive.py203

Execution Flows

FlowTypeSteps
Wrapper → Classify_errorintra_community3

Connected Areas

AreaConnections
Unit18 calls

How to Explore

  1. gitnexus_context({name: "execute"}) — see callers and callees
  2. gitnexus_query({query: "recovery"}) — find related execution flows
  3. Read key files listed above for implementation details
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 319kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 319kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 319kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 319kUpdated Claude CodeCodexVerifiedInstall