Pwn AI Httpretry

Drive PWN::AI::HttpRetry from pwn_eval.

0dayInc Updated
PWN demo: original fade-in, then a fixture playback of pwn-ai reviewing app.example.test on this host. No provider call. Not a verified engagement.

File contents

PWN::AI::HttpRetry

Shared REST timeout / 429 / ReadTimeout policy for every AI provider. Default wall clock per attempt is 180s with up to 5 attempts (≈900s total). Short quiet sidecar hops stay single-shot.

When to use

Call PWN::AI::HttpRetry from pwn_eval when the task needs this module. Do not reimplement it in shell.

Methodologies

Generated from pwn/ai/http_retry.rb. Prefer the public class methods below. Class methods take (opts = {}) and read opts.

How to call

PWN::AI::HttpRetry.help
PWN::AI::HttpRetry.timeout_s(opts)

Public methods

  • timeout_s
  • max_attempts
  • provider_config
  • retryable
  • retry_after_s
  • quota_exhausted
  • quota_message
  • report_event
  • authors
  • help
  • quota_exhausted?
  • retryable?

References

  • references/urls.md — URLs from source

Source

pwn/ai/http_retry.rb

Verification

PWN::AI::HttpRetry.respond_to?(:timeout_s) after the module is loaded. Read the source for parameter names.

0dayInc/pwn commit f4dd2cae1f

Frequently asked questions

npx get-skill add 0dayinc/pwn-ai-httpretry