Skip to content

Guard refuses a python command for a reason the report does not name #27

Closed

Description

@ancongui

The guard refused a command, and the report names no refusal id that this version of devkit knows, so the rule it broke is not known. The command word and the versions below are what the report carries.

  • Status: Fixed in 26.11.20: run dev update to get it. Not triaged yet.
  • Impact: Blocks work for everyone who hit it (1 person).
  • How often: 1 person in the last 30 days, on 1 day. First seen 2026-11-13, last seen 2026-11-13.
  • Versions: seen on 26.11.17.
  • Workaround: None known yet.

How to reproduce

Not known from the report alone, which names no refusal id.

  • Refusal id: interpreter:state-writes
  • Command word: python
  • First report: Codex, macOS 27, Python 3.15, a release install, devkit 26.11.17

If you hit this bug

This is a bug in devkit, not in your project. In a terminal:

  • dev bug show cc2f108d996e shows this bug and its workarounds.
  • Safe failure metadata is reported automatically. dev status shows delivery state; no manual submission is required.
  • dev update gets the fix, in 26.11.20.

For maintainers

  • Fingerprint cc2f108d996e, kind guard, component guard, score 3.0 (dev bug top ranks it).
  • The workflow's record of this bug is the newest comment its bot wrote with the record data. This text is written from it.
Report data for devkit's registry (do not edit)
{"agent":"codex","channel":"release","command":"","devkit_bug":1,"duration":"","event":"","exc_class":"","exit":null,"fingerprint":"cc2f108d996e","frames":[],"impact":"blocked","kind":"guard","macos":"27","python":"3.15","refusal_id":"interpreter:state-writes","surface":"","type":"report","version":"26.11.17","word":"python"}

devkit's registry workflow writes this text from the reports and rewrites it after each report, vote, or release. Write in a comment instead. How the registry works: the bug registry.

Activity

  1. ancongui commented on Nov 17, 2026

    @ancongui
    CollaboratorAuthor

    Resolved in v26.11.19: devkit no longer has a command guard, so this refusal cannot happen any more. Agents act with the permissions set in Claude Code and Codex, and devkit's hooks only record and advise. Release: https://github.com/fireflysoftwaresolutions/devkit/releases/tag/v26.11.19

  2. changed the title [-]Guard refuses a program that writes files and names devkit state[/-] [+]Guard refuses a python command for a reason the report does not name[/+] on Nov 17, 2026
  3. github-actions commented on Nov 20, 2026

    @github-actions

    Bug cc2f108d996e · guard · 1 person · score 3.0 · fixed · fixed in 26.11.20

    The registry's record of this bug: the data the issue text is written from. devkit reads only this comment.

    Record data (written by the workflow; do not edit)
    {"component":"guard","days_seen":1,"detours":[],"devkit_bug":1,"fingerprint":"cc2f108d996e","first":{"agent":"codex","channel":"release","command":"","devkit_bug":1,"duration":"","event":"","exc_class":"","exit":null,"fingerprint":"cc2f108d996e","frames":[],"impact":"blocked","kind":"guard","macos":"27","python":"3.15","refusal_id":"interpreter:state-writes","surface":"","type":"report","version":"26.11.17","word":"python"},"first_version":"26.11.17","fixed_in":"26.11.20","folds":{"by":{"673609a4b7a77da54ece30dc20d12e161fcbd93eafa74ab7b84943a1af22d2b0":1},"day":"2026-11-13"},"impacts":{"blocked":1,"detoured":0,"minor":0},"kind":"guard","last_day":"2026-11-13","last_seen":1794591484.7648892,"regression":[],"report":{"refusal_id":"interpreter:state-writes","word":"python"},"score":3.0,"seen":0,"status":"fixed","title":"Guard refuses a python command for a reason the report does not name","versions":["26.11.17"],"voter_hash":"bug","voters":{"673609a4b7a77da54ece30dc20d12e161fcbd93eafa74ab7b84943a1af22d2b0":{"impact":"blocked","ts":1794591484.7648892}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions