fix(ax): trim remaining field comments

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-03-31 06:03:37 +00:00
parent e7d65b8bb5
commit 28300e5a48
6 changed files with 24 additions and 27 deletions

View file

@ -10,15 +10,15 @@ import (
)
type EpicInput struct {
Repo string `json:"repo"` // Target repo (e.g. "go-scm")
Org string `json:"org,omitempty"` // Forge org (default "core")
Title string `json:"title"` // Epic title
Body string `json:"body,omitempty"` // Epic description (above checklist)
Tasks []string `json:"tasks"` // Sub-task titles (become child issues)
Labels []string `json:"labels,omitempty"` // Labels for epic + children (e.g. ["agentic"])
Dispatch bool `json:"dispatch,omitempty"` // Auto-dispatch agents to each child
Agent string `json:"agent,omitempty"` // Agent type for dispatch (default "claude")
Template string `json:"template,omitempty"` // Prompt template for dispatch (default "coding")
Repo string `json:"repo"`
Org string `json:"org,omitempty"`
Title string `json:"title"`
Body string `json:"body,omitempty"`
Tasks []string `json:"tasks"`
Labels []string `json:"labels,omitempty"`
Dispatch bool `json:"dispatch,omitempty"`
Agent string `json:"agent,omitempty"`
Template string `json:"template,omitempty"`
}
type EpicOutput struct {

View file

@ -168,10 +168,10 @@ func (s *PrepSubsystem) commentOnIssue(ctx context.Context, org, repo string, is
// input := agentic.ListPRsInput{Org: "core", Repo: "go-io", State: "open", Limit: 10}
type ListPRsInput struct {
Org string `json:"org,omitempty"` // forge org (default "core")
Repo string `json:"repo,omitempty"` // specific repo, or empty for all
State string `json:"state,omitempty"` // "open" (default), "closed", "all"
Limit int `json:"limit,omitempty"` // max results (default 20)
Org string `json:"org,omitempty"`
Repo string `json:"repo,omitempty"`
State string `json:"state,omitempty"`
Limit int `json:"limit,omitempty"`
}
// out := agentic.ListPRsOutput{Success: true, Count: 2, PRs: []agentic.PRInfo{{Repo: "go-io", Number: 12}}}

View file

@ -69,9 +69,9 @@ func (s *PrepSubsystem) autoVerifyAndMerge(workspaceDir string) {
type mergeResult int
const (
mergeSuccess mergeResult = iota
testFailed // tests didn't pass
mergeConflict // tests passed but merge failed (conflict)
mergeSuccess mergeResult = iota
testFailed
mergeConflict
)
// s.attemptVerifyAndMerge("/srv/core/workspace/core/go-io/task-5/repo", "core", "go-io", "feature/ax-cleanup", 42)

View file

@ -12,12 +12,9 @@ import (
// input := agentic.WatchInput{Workspaces: []string{"core/go-io/task-42"}, PollInterval: 5, Timeout: 600}
type WatchInput struct {
// Workspaces to watch. If empty, watches all running/queued workspaces.
Workspaces []string `json:"workspaces,omitempty"`
// PollInterval in seconds (default: 5)
PollInterval int `json:"poll_interval,omitempty"`
// Timeout in seconds (default: 600 = 10 minutes)
Timeout int `json:"timeout,omitempty"`
Workspaces []string `json:"workspaces,omitempty"`
PollInterval int `json:"poll_interval,omitempty"`
Timeout int `json:"timeout,omitempty"`
}
// out := agentic.WatchOutput{Success: true, Completed: []agentic.WatchResult{{Workspace: "core/go-io/task-42", Status: "completed"}}}

View file

@ -15,7 +15,7 @@ type AgentCompleted struct {
Agent string
Repo string
Workspace string
Status string // completed, failed, blocked
Status string
}
// c.ACTION(messages.QAResult{Workspace: "core/go-io/task-5", Repo: "go-io", Passed: true})

View file

@ -10,10 +10,10 @@ import (
// result := service.Run(setup.Options{Path: ".", Template: "auto", Force: true})
// if !result.OK { core.Print(nil, "%v", result.Value) }
type Options struct {
Path string // Target directory (default: cwd)
DryRun bool // Preview only, don't write
Force bool // Overwrite existing files
Template string // Workspace template or compatibility alias (default, review, security, agent, go, php, gui, auto)
Path string
DryRun bool
Force bool
Template string
}
// result := service.Run(setup.Options{Path: ".", Template: "auto"})