Skip to content

Add vigilante issue create for agent-driven issue authoring#344

Merged
nicobistolfi merged 2 commits intomainfrom
vigilante/issue-343-add-vigilante-issue-create-for-agent-driven-issue-authoring-on-repo-specific-trackers
Mar 30, 2026
Merged

Add vigilante issue create for agent-driven issue authoring#344
nicobistolfi merged 2 commits intomainfrom
vigilante/issue-343-add-vigilante-issue-create-for-agent-driven-issue-authoring-on-repo-specific-trackers

Conversation

@nicobistolfi
Copy link
Copy Markdown
Collaborator

Summary

Adds vigilante issue create --repo <owner/name> [--provider value] <prompt...> — a new operator command that turns a free-form prompt into an implementation-ready issue by invoking a coding-agent CLI with the vigilante-create-issue skill, creating the issue on the tracker configured for that repository.

Changes

  • Provider interface: New IssueCreateTask type and BuildIssueCreateInvocation method on the Provider interface, implemented for codex, claude, and gemini
  • Skill package: BuildIssueCreatePrompt assembles the vigilante-create-issue skill with repo context and the user's prompt for each runtime
  • CLI: issue subcommand group with create subcommand; parses --repo (required), --provider (optional override), and positional prompt args
  • Orchestration: Resolves watch target → issue backend (GitHub/Linear) → provider → preflight checks → agent invocation
  • Tests: 18 new tests covering CLI parsing, help output, repo resolution, backend selection, provider override, missing tool preflight, unsupported backend rejection, and prompt assembly

Validation

  • go build ./... — clean
  • go vet ./... — clean
  • go test ./... — all pass (including 18 new tests)

Closes #343

…-specific trackers

Introduce `vigilante issue create --repo <owner/name> [--provider value] <prompt...>`
that turns a free-form prompt into an implementation-ready issue by invoking a
supported coding-agent CLI with the vigilante-create-issue skill. The command
resolves the configured issue-tracker backend (GitHub or Linear) from the watch
target before invocation and fails clearly for unknown repos or unsupported backends.

- Add IssueCreateTask type and BuildIssueCreateInvocation to the Provider interface
- Implement for codex, claude, and gemini providers
- Add BuildIssueCreatePrompt/BuildIssueCreatePromptDefault to the skill package
- Add `issue` subcommand group with `create` subcommand to the CLI dispatcher
- Add comprehensive tests for CLI parsing, repo resolution, backend selection,
  provider override, tool preflight, and prompt assembly
@nicobistolfi nicobistolfi merged commit 32f0bd2 into main Mar 30, 2026
1 check passed
@nicobistolfi nicobistolfi deleted the vigilante/issue-343-add-vigilante-issue-create-for-agent-driven-issue-authoring-on-repo-specific-trackers branch March 30, 2026 19:58
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.

Add vigilante issue create for agent-driven issue authoring on repo-specific trackers

1 participant