How should retries work in agent workflows?
Retry only transient failures with bounded exponential backoff and jitter. Before retrying non-idempotent operations, check whether the first attempt ...
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 781–792 of 3610 questions
Retry only transient failures with bounded exponential backoff and jitter. Before retrying non-idempotent operations, check whether the first attempt ...
Track repeated tool arguments, unchanged state, recurring errors, and lack of progress against acceptance criteria. Stop or escalate after bounded rep...
Bind approval to the exact action, arguments, target environment, and relevant diff or content hash. Expire approval when those details change. Broad ...
Record task and actor identity, tool name, validated arguments or a redacted summary, policy decision, timestamps, outcome, and approval reference. Av...
Bind each task to an authenticated tenant and workspace server-side, enforce authorization on every tool call, isolate credentials and files, and neve...
Unrestricted egress can leak source code or secrets and reach malicious endpoints. Use allowlists, proxies, and explicit review for external uploads o...
Treat tool output as untrusted data, validate its structure and origin, and never let embedded instructions override trusted policy. For high-risk act...
Maintain an approved registry, verify publisher and source, review permissions, pin versions where feasible, test updates in staging, monitor behavior...
Test prompt injection in files and issues, path traversal, command injection, secret exfiltration, permission bypass, malicious dependencies, tenant i...
Measure review time, defect escape rate, acceptance with minor edits, rework, and severity-weighted findings. Generation speed alone is misleading if ...
Consider affected component, privilege level, data sensitivity, public API impact, test coverage, and reversibility. Use risk scores to select extra c...
Prefer small commits or isolated branches, preserve the original diff, and define rollback steps before risky operations. Database and infrastructure ...