updates to github feature generation#89
Draft
sierragolflima wants to merge 1 commit intomainfrom
Draft
Conversation
Test Results2 597 tests 2 584 ✅ 5m 16s ⏱️ Results for commit 3589118. |
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.
Features:
GitHubPlugin — Adds a new AI plugin (GitHubPlugin.cs) that gives agents the ability to manage GitHub issues (create, get, list, update) via the REST API. The plugin authenticates with a Personal Access Token, validates inputs to prevent path traversal, and returns JSON responses that agents can parse. Configuration is wired through both the Monolith portal and Aspire AppHost, with the token sourced from user secrets or the GITHUB_TOKEN environment variable.
SpecWriter Agent — Introduces a built-in agent that reads a Markdown node describing a bug or feature, generates a structured specification (summary, motivation, design, acceptance criteria), saves it back as a new node, and publishes it as a GitHub issue. It delegates to the Research agent for broader context and gracefully degrades when no GitHub token is configured.
Documentation & Tests — Adds user-facing documentation for both the GitHubPlugin tools and the SpecWriter agent under Doc/AI/, with the doc page kept as a concise user guide that doesn't duplicate the agent definition. The test suite covers plugin tool registration, request building, error handling, and HTTP behavior via a custom test handler, plus conditional integration tests against the live GitHub API.