Reliability & performance · Improve
Improve Reliability
Implement one selected reliability fix at the owner layer without broad redesign, making failure handling explicit, safe, observable, and validated.
MCP library 1.6.1 · Instruction library 1.6.1 · English technical instructions
← Back to searchUse this workflow
Connect Vibe Coding Library to a coding agent that supports MCP over Streamable HTTP. Choose Other / MCP agent for a neutral prompt, or a ready-made Codex or Claude Code invocation. Add your task details below.
Goal
Implement one selected reliability fix at the owner layer without broad redesign, making failure handling explicit, safe, observable, and validated.
Inspect
The selected failure path, its owner layer, direct callers/consumers, config/env, retry/timeout/idempotency behavior, user-facing errors, logs/metrics, tests, docs/runbooks, and deploy/runtime contracts.
Focus areas
- Add or tighten timeout/cancellation/deadline behavior using existing repo patterns.
- Make retry/backoff/idempotency behavior explicit and safe for the affected side effect.
- Introduce a bounded degraded mode only when repo evidence supports safe fallback semantics.
- Make startup/readiness/shutdown behavior reflect actual dependency availability.
- Add durable recovery, dead-letter, reconciliation, or operator diagnostics for the selected path when the repo has the seam for it.
- Update tests/docs/config examples for the changed reliability contract.
Implementation principles
- Fix the selected behavior at the owning layer/source of truth, not only at the visible symptom.
- Do not add hidden fallbacks, broad catch blocks, silent retries, speculative flags, new frameworks, or broad abstractions unless repository evidence requires them.
- Preserve existing public/internal contracts unless the selected fix explicitly requires a contract change; update consumers when contracts change.
- Make failure, consistency, idempotency, and performance behavior explicit enough to test or observe.
- Do not log secrets, raw tokens, raw PII, private documents, prompts, or user-visible stack traces.
Validation
Run repository-native checks for the changed slice. Prefer tests that exercise the owner invariant or hot path, then directly affected integration/build/type checks. If a check cannot run, state the concrete limitation.
Correct the owning deadline, retry, effect commit or recovery path using the original operation and failure sequence. Replay the failed case and a normal control, inspecting durable state, unfinished work and error/recovery visibility. Return failed acceptance to that owner, then finish Patch Checking once supported. Keep mitigation and full recovery distinct when an external rollout or observation window remains required.
Workflow ID: reliability-polish · View the versioned source · Shared workflow and authority rules