Skip to content

Issue agent suggest to reopen, but normal user has no permissions #36654

Backlog

Description

@StefanSchoof

Describe the bug

When the issue agent closes a issue, because details are missing it should close the issue and
"the reporter can edit the issue with the details and reopen it"

https://github.com/evcc-io/evcc/blob/master/.github/workflows/claude-issue-agent-run.yml#-L309-L310

But a reporter has no permissions to reopen a closed issue

eg. #36652 (comment)

Steps to reproduce

  1. Open a incomplete issue
  2. Issue got closed by the agent
  3. Fill missings details
  4. Have no way to reopen issue
    ...

Configuration details

not a problem with a installation

Log details

not a problem with a installation

What type of operating system or environment does evcc run on?

Linux

External automation

  • I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • I have verified that the issue is reproducible with the latest nightly build

Version

n/a

Activity

  1. github-actions commented on Nov 27, 2026

    @github-actions
    Contributor

    Confirmed by reading the workflows. GitHub only lets an author reopen their own issue if they closed it themselves, so an issue closed by the bot cannot be reopened by the reporter. The "edit the issue and reopen it" text in .github/workflows/claude-issue-agent-run.yml (step 0, incomplete reports closed as "not planned") therefore cannot be followed.

    The reopen-duplicate job in .github/workflows/claude-issue-agent.yml already works around this for duplicates: it reopens on a reply from the reporter. It only matches state_reason == 'duplicate', so incomplete reports closed as not planned get no equivalent.

    Possible directions, which need a maintainer decision:

    • Extend the reopen-on-reply job to not_planned closes made by the bot. Reopening with GITHUB_TOKEN raises no reopened event, so triage would not re-run unless the job dispatches it explicitly.
    • Or change the closing text to ask for a reply or a new issue instead of a reopen.

    🤖 Generated with Claude Code

  2. andig commented on Nov 27, 2026

    @andig
    Member

    Do you want to propose a better wording as PR? The bot is generally quite lenient, but if really all effort is missing on the side of the reporter we're happy if it closes outright.

  3. StefanSchoof commented on Nov 27, 2026

    @StefanSchoof
    ContributorAuthor

    Then ask the reporter to just open a new complete report.

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

    infrastructure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions