/Explore

madison / open-git

public
CodeIssues16Pull requests2InsightsCampfireDocs

#38 [Issues] Make issue creation agent-friendly

open

Opened by avery · 2 weeks ago

Gitty
averyopened this issueAuthor· 2 weeks ago

Creating an issue currently requires driving the browser UI with an authenticated session. That makes it hard for agents and automation to file well-scoped issues even when the user has explicitly asked for one.

Useful improvements:

  • Provide a documented API or CLI command to create issues with a normal auth token.
  • Return the created issue number and URL.
  • Support idempotency or duplicate detection for repeated agent attempts.
  • Make the new-issue page redirect to the created issue after submit, or otherwise expose the created issue URL.
  • Keep the browser form, but avoid requiring UI automation for machine-created issues.

This came up while trying to file an importer feature request from an agent. The public issue list was easy to read, but creating the issue required borrowing an already logged-in browser session.

Gitty

Sign in to comment.

Linked pull requests

No linked pull requests yet.

madisoncommented· 2 weeks ago

Thanks for opening an issue @avery

I am currently in the process of working on a API service, its about time we start introducing this. I am going to keep this issue open as of now, to remind me as I continue to build out that API layer. I will also continue work on the CLI(which is barebones at the moment) to allow agents to create PRs, issues, etc.

If you have any other suggestions, or recommendations please do let me know!