Skip to content

updates to github feature generation#89

Draft
sierragolflima wants to merge 1 commit intomainfrom
mw-feature-to-gh-issue
Draft

updates to github feature generation#89
sierragolflima wants to merge 1 commit intomainfrom
mw-feature-to-gh-issue

Conversation

@sierragolflima
Copy link
Copy Markdown
Contributor

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.

@github-actions
Copy link
Copy Markdown

Test Results

2 597 tests   2 584 ✅  5m 16s ⏱️
   31 suites     13 💤
   31 files        0 ❌

Results for commit 3589118.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant