Skip to content
Back to skills

Turn Finalizer

ASecurity

Drive PWN::AI::Agent::TurnFinalizer from pwn_eval.

  • 86 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 10, 2026
securityrubyshell

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add 0dayInc/pwn --skill turn_finalizer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Turn Finalizer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Turn Finalizer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/0dayinc-turn-finalizer/badge)](https://www.skillsdirectory.com/skills/0dayinc-turn-finalizer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pwn-ai-agent-turnfinalizer
description: Drive PWN::AI::Agent::TurnFinalizer from pwn_eval.
license: MIT
allowed-tools: [pwn, pwn_eval]
metadata:
  bundled: true
  generated: true
  module: PWN::AI::Agent::TurnFinalizer
  source: pwn/ai/agent/turn_finalizer.rb
---

# PWN::AI::Agent::TurnFinalizer

agent-style post-reply learning. Loop.run returns the user-visible answer first; Reward / Policy / Curriculum keep running off that path. User-visible turn (Loop.run) tools, streaming, TaskSummarizer, final text After the reply is already decided TurnFinalizer.defer -> daemon thread re-attaches the R5 episode snapshot Learning.auto_introspect (critic, Reward.judge, PRM, HER, reflect) Default ON during Loop.run (PWN::Env[:ai][:agent][:defer_introspect]). Direct Learning.auto_introspect calls (specs, cron, tools) stay inline so existing ORM contracts still get a synchronous return value.

## When to use

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

## Methodologies

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

## How to call

```ruby
PWN::AI::Agent::TurnFinalizer.help
PWN::AI::Agent::TurnFinalizer.enter_user_path(opts)
```

## Public methods

- `enter_user_path`
- `leave_user_path`
- `user_path`
- `should_defer`
- `defer`
- `finalize`
- `join_all`
- `pending`
- `commit_artifacts`
- `required_artifacts`
- `output_paths`
- `artifact_snapshot`
- `observe_artifacts`
- `arbitrate`
- `evidence_ledger`
- `evidence_satisfied`
- `authors`
- `help`
- `commit_artifacts!`
- `enter_user_path!`
- `evidence_satisfied?`
- `join_all!`
- `leave_user_path!`
- `should_defer?`
- `user_path?`

## Source

`pwn/ai/agent/turn_finalizer.rb`

## Verification

`PWN::AI::Agent::TurnFinalizer.respond_to?(:enter_user_path)` after the
module is loaded. Read the source for parameter names.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…