Skip to content

turn replay: approval gate keyed to recorded safety, not current tool risk #249

Closed

Description

@ajianaz

turn.rs:252 Resume::ReExecute nests the approval re-consult + pre-hook inside if safety == Guarded. If a tool's risk changed (or the resume registry differs), a now-Write tool replays un-gated. Scan 070-rescan #127 (MAJOR security). Fix: gate on CURRENT registry risk, recorded safety is advisory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions