Repository navigation
Add the issue-reports plugin: Ideas & issues, logged on GitHub - #11
Merged
Merged
Conversation
…tflare-dev#10) Anyone on the team describes a bug or an idea; a non-exclusive agent asks one question at a time until it is clear, searches the configured repository for an existing issue, and shows a draft. Nothing is filed until the person approves it; other text at the review is a change it redrafts from, and a confirmed duplicate becomes a comment. The issue carries the summary, reporter, page and the whole conversation under <details>. Each conversation is one agent run parked on interrupts, so there is no table and no migration. Config: ISSUE_REPORTS_GITHUB_REPO and ISSUE_REPORTS_GITHUB_TOKEN, both declared as secrets so plugin CI needs no toml edit. minKit 0.21.0: the first kit with plugin AgentCtx.interrupt, chatModel and non-exclusive runs. Added to plugin_subdirs in ci.yml and to the README table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cliftonc
added a commit
that referenced
this pull request
Oct 22, 2026
First release of issue-reports (Ideas & issues), contributed by Mosaic Data (https://mosaicdata.ai/) in #11. The other four plugins are version stamps only. README install commands name the 3.5.0 tag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #10.
Adds
plugins/issue-reports, called Ideas & issues in the UI. Anyone on the team describes a bug or an idea in their own words. An agent asks one question at a time until it is clear, checks the configured repository for an existing issue, and logs it on GitHub only once the person approves the draft. A confirmed duplicate becomes a comment on the existing issue.What's in it
issue-reportsagent. Questions areinputinterrupts and drafts arechoiceinterrupts, so the run parks between turns and the run row is the record. The page lists and answers runs through the kit's/api/agents/runs…; the plugin adds onlyGET /api/issue-reports/status.run()from the top, so each round isctx.once('turn:<n>')and each askctx.interrupt({ key: 'ask:<n>' }), keyed by round number rather than model text. Filing isctx.once('github:file'), so a retried step never opens the issue twice.fetch(four REST calls, no Octokit). The token is read from config at call time and never appears in an error, log line, response or prompt.issue-reportsis a registry entry, so it can be overridden per organisation and pointed at another model.agent:issue-reports.Notes for review
minKitis 0.21.0. The plugin was built in a copy on kit 0.20.0 that carried a local patch to the agent runtime. 0.21.0 ships the same capabilities upstream (pluginAgentCtx.interruptandchatModel, non-exclusive runs), so this needs no kit change.secret: true, including the non-sensitiveISSUE_REPORTS_GITHUB_REPO. Plugin CI never writes[vars]into the cloned kit's tomls, andwrangler-parityrequires every non-secret plugin var in both.m365already does the same withM365_CLIENT_ID. The README says a host may still put the repo under[vars].react-markdownandremark-gfminapps/web, both already kit dependencies, at the same ranges.pnpm build,tests/config/ui-bundle.test.ts› "keeps the heavy dependencies out of the eager entry chunk" fails. The test finds the entry chunk as "the onlyindex-*.js". Once a second lazy page importsreact-markdown, Rollup splits it into a shared lazy chunk named afterreact-markdown/index.js, giving twoindex-*.jsfiles. The real entry chunk carries norecharts,drizzle-cubeorreact-markdown. CI is unaffected because the gate runstestbeforebuild, so the test skips. Happy to open a kit issue for it.Verification
Run against a clean
rocketflare-dev/rocketflare@0.21.0withpnpm plugin add <this checkout> --subdir plugins/issue-reports --local --apply, everything staged as plugin CI does:pnpm plugin check:issue-reportschecks outpnpm lint,pnpm typecheck,pnpm build: passapi(628), plusapi-isolated,ui,configandkit-only(1 058 config + kit-only, no failures with nodist/): pass, including the plugin's 12 tests (tests/config/agent.test.ts,issue-body.test.ts,tests/api/status.test.ts)node scripts/release-check.mjs --unreleased --base origin/main: okdriverproject under the Neon proxy. The plugin has no database code of its own.🤖 Generated with Claude Code