Skip to content

adopt hooks: an unreadable or unparseable permissions settings file fails open (upstream #4287) #183

Open

Description

@kylehgc

Upstream: rtk-ai#4287

Bug

Unreadable files are skipped with no warning and unparseable ones only warn, so deny rules in them are lost instead of falling back to Ask.

Verification

Checked against fork develop 9af2b0f by code inspection (no live repro unless stated): src/hooks/permissions.rs:152-161.

Related

closed #58 is the BOM case

Suggested rank

2 (broken command / security / js-Windows-Claude Code)

Found by the 2026-10-09 upstream sweep (claudedocs/upstream-sweep-2026-10-09.md).

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions