Add it when you need it

Issue reports

Ideas & issues: anyone on the team talks a bug or an idea through with an agent, which asks until it is clear and logs it on GitHub once they approve the draft.

Installing it

zsh — your app
pnpm plugin add https://github.com/rocketflare-dev/rocketflare-plugins.git@3.14.0 --subdir plugins/issue-reportspnpm plugin add https://github.com/rocketflare-dev/rocketflare-plugins.git@3.14.0 --subdir plugins/issue-reports --apply
The first prints the plan and stops; the second writes it.

It has no tables, so there is no migration. Then do the handful of steps the plan lists that a plugin may not do for you.

What it adds

  • An Ideas & issues page — under Feedback in the sidebar: describe a problem or an idea in your own words, answer the agent’s questions one at a time, review the draft, and see the conversations you have shared.
  • An agent that asks before it files — issue-reports asks plain-language questions until it understands what the person needs, searches the repository for an existing issue, and files nothing until they pick Log it on GitHub. A confirmed duplicate becomes a comment on the existing issue.
  • No tables — each conversation is one agent run, parked on the person’s answers, so the run is the record and there is no migration. Many conversations can be in progress at once.
  • Safe to retry — every question and the filing are keyed by round, so a replayed or retried step never asks twice or opens the issue twice.
  • GitHub over plain fetch — four REST calls and no Octokit, on a fine-grained token with Issues access to one repository. The token never appears in an error, a log line, a response or a prompt.
  • A prompt you can override — issue-reports, per organisation in Settings → Prompts, with its model chosen in Settings → agent models. Its model calls land in the usage ledger.

Releases

  1. 3.14.0 2026-11-22

    No change to issue-reports: this release carries the analytics, freeagent, guide, inbox and web-knowledge changes, and every plugin in this repository ships at one version. Porting note.

  2. 3.13.3 2026-11-22

    No change to issue-reports: this release carries the global-search and connectors test changes, and every plugin in this repository ships at one version. Porting note.

  3. 3.13.2 2026-11-21

    The issue-reports manifest now carries a one-line description, which the kit's pnpm plugin list --available prints in place of the README's opening line. Porting note.

  4. 3.13.1 2026-11-21

    No change to issue-reports: this release exists because the repository released analytics and every plugin here ships at the repository's version. Porting note.

  5. 3.13.0 2026-11-20

    No change to issue-reports: this release exists because the repository released analytics and every plugin here ships at the repository's version. Porting note.

8 older releases
  1. 3.9.0 2026-11-09

    Filed issues now carry a per-organisation marker that search, lookup and comment enforce, and the review page shows what goes to GitHub. Porting note.

  2. 3.8.2 2026-11-08

    No change to issue-reports. This release exists because freeagent typechecks on kit 0.25.0 and later again, and every plugin here ships at the repository's version. Porting note.

  3. 3.8.1 2026-11-03

    No change to issue-reports. This release exists because analytics scopes GET /api/analytics/facts/status to the caller's organisation, and every plugin here ships at the repository's version. Porting note.

  4. 3.8.0 2026-11-03

    No change to issue-reports. This release exists because analytics moves to drizzle-cube 0.12.2 and compiles on React 19 with React Router 7, and every plugin here ships at the repository's version. Porting note.

  5. 3.7.0 2026-10-24

    No change to issue-reports. This release exists because inbox splits forwarded-as-attachment email into messages of their own, and every plugin here ships at the repository's version. Porting note.

  6. 3.6.0 2026-10-24

    No change to issue-reports: this release exists because inbox and freeagent ship for the first time, and every plugin here ships at the repository's version. Porting note.

  7. 3.5.1 2026-10-22

    No change to issue-reports: this release exists because analytics raised its minKit to 0.17.1, and every plugin here ships at the repository's version. Porting note.

  8. 3.5.0 2026-10-22

    The first release: Ideas & issues, where anyone on the team talks a bug or an idea through with an agent that asks until it is clear, checks for an existing issue, and logs it on GitHub once they approve the draft. Contributed by Mosaic Data (#11). Porting note.

From the README

Synced from the plugin's README — the plugin's own documentation, kept in step with its repository.

A person describes what they noticed in their own words. The agent asks one plain-language question at a time until it understands what they actually need, searches the repository for an existing issue, and shows a draft. Nothing reaches GitHub until they pick Log it on GitHub; anything else they type at that point is a change it redrafts from. If they confirm a duplicate, it comments on that issue instead of opening a new one.

What it adds

AreaWhat you get
UIIdeas & issues (/ideas-and-issues, nav group “Feedback”): start a conversation, answer the agent, review the draft, and see the conversations you have shared
Agentissue-reports, non-exclusive: each person’s conversation is its own run, parked on their answers, so many can be in progress at once
Promptissue-reports — override it per organisation in Settings → Prompts, pick its model in Settings → agent models
APIGET /api/issue-reports/status → { configured, repo }. Everything else is the kit’s own /api/agents/runs…
GitHubFour REST calls over fetch, with no Octokit: search issues, read one, open one, comment on one. Before anyone logs a report, the review step says what goes to GitHub: the draft, their name, the page and the whole conversation
DataNone. The agent run is the record: its input is what they first said, its interrupts are the conversation, its output is the issue it filed

Requirements

  • Rocketflare kit 0.29.0 or later (a plugin agent’s interrupt, chatModel and non-exclusive runs).
  • The kit’s agents surface (feature-agents) and a chat model, through any of the kit’s AI setups.
  • A GitHub repository and a fine-grained token with Issues: read and write on that one repository.

Install

pnpm plugin add https://github.com/rocketflare-dev/rocketflare-plugins.git@3.14.0 --subdir plugins/issue-reports
pnpm plugin add https://github.com/rocketflare-dev/rocketflare-plugins.git@3.14.0 --subdir plugins/issue-reports --apply
pnpm install

The first command prints the plan and stops; --apply installs. There are no tables, so there is no migration to generate.

Then configure it, per environment. Both keys are declared as secrets, so the plugin needs no toml edit:

pnpm --filter @<your-app>/web exec wrangler secret put ISSUE_REPORTS_GITHUB_REPO    # owner/name; and --env staging
pnpm --filter @<your-app>/web exec wrangler secret put ISSUE_REPORTS_GITHUB_TOKEN   # and --env staging

The repository name is not sensitive. If you would rather keep it in the tomls, add ISSUE_REPORTS_GITHUB_REPO = "owner/name" under [vars] in BOTH of them. Locally, add both keys to apps/web/.dev.vars.example and set them in apps/web/.dev.vars.

First run

  1. Open Ideas & issues from the sidebar. If the repository or the token is missing, the page says Ideas & issues is not set up and the form is disabled.
  2. Describe a problem or an idea. A page can link here with ?from=<path> so the issue records where the person was.
  3. Answer the agent’s questions. Usually two to five are enough.
  4. Review the draft and pick Log it on GitHub, or type what to change.
  5. The conversation shows the issue’s number and link.

How it works

  • The loop is code, not a model tool loop. A parked run re-enters run() from the top when the person answers, so every step before the park must replay exactly. Each round’s decision is ctx.once('turn:<n>') and each question ctx.interrupt({ key: 'ask:<n>' }). Both are keyed by the round number, never by model text that could change on a replay. Filing is ctx.once('github:file'), so a retried step never opens the issue twice.
  • What is filed: the agent’s Markdown summary (a bug gets steps / expected / actual; an enhancement gets problem / proposal / acceptance criteria), who reported it and from which page, then the whole conversation under <details>. If GitHub’s 65 536-character limit forces a cut, the start of the conversation goes first.
  • Model calls are recorded in the kit’s usage ledger as agent:issue-reports.

Permissions and data

  • Starting and answering a conversation is the kit’s create AgentRun, which every role has for its own runs; members see only their own conversations.
  • The token is read from config at the moment of each call. It never appears in an error, a log line, a response or anything handed to the model.
  • Search results are marked to the model as coming from GitHub, not from the person.

Known gaps

  • A GitHub failure at the moment of filing fails the run. The conversation is kept, but the person has to start again.
  • No screenshots or attachments.
  • In-app only: no Slack or Teams.
  • No labels and no assignee. The issue names the reporter, and the team triages on GitHub.
  • The page is recorded only when a link carries ?from=; otherwise it is whatever the person says.
  • One repository per deployment, not per organisation. Each filed issue carries a hidden marker derived from the organisation, and search, lookup and comment only touch issues with that organisation’s marker. Issues filed before the marker existed are out of the agent’s reach.

More