Pwn AI Agent Result

Drive PWN::AI::Agent::Result 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::Agent::Result

Conditioning applied to every tool result before it re-enters the conversation as a role:'tool' message: lossless paging + credential redaction. Keeps the context window bounded and avoids leaking PWN::Env credentials back into the model.

When to use

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

Methodologies

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

How to call

PWN::AI::Agent::Result.help
PWN::AI::Agent::Result.condition(opts)

Public methods

  • condition
  • page
  • utf8_text
  • utf8_value
  • token_limit
  • page_length
  • default_max
  • redact
  • authors
  • help

Source

pwn/ai/agent/result.rb

Verification

PWN::AI::Agent::Result.respond_to?(:condition) after the module is loaded. Read the source for parameter names.

0dayInc/pwn commit c8c8fbb4c9

Frequently asked questions

npx get-skill add 0dayinc/pwn-ai-agent-result