Documentation
¶
Overview ¶
Package issuemonitor keeps issue metadata separate from agent work. It never requests issue bodies or comments. Human triage is required for outsiders.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrExternal = errors.New("issue author is not an active employee")
Functions ¶
Types ¶
type Issue ¶
type Issue struct {
ReopenedAt time.Time `json:"-"`
Number int `json:"number"`
Title string `json:"title"`
URL string `json:"url"`
State string `json:"state"`
Author struct {
Login string
} `json:"author"`
Assignees []struct {
Login string
} `json:"assignees"`
Labels []struct {
Name string
} `json:"labels"`
UpdatedAt time.Time `json:"updatedAt"`
}
Issue has only metadata. Title is used solely for delivery to human Slack.
type Notify ¶
Notify must deliver to the owning team's human channel; it must not expose the message in logs, agent prompts or command output.
type Pointer ¶
type Pointer struct {
Ref string `json:"ref"`
URL string `json:"url"`
Source string `json:"source"`
}
Pointer is the entire agent-facing queue entry: no title, body or comments.
type State ¶
type State struct {
Repositories map[string]string `json:"repositories"`
Issues map[string]Record `json:"issues"`
Queue []Pointer `json:"queue"`
Contributors map[string][]string `json:"contributors"`
Backlog map[string]bool `json:"backlog"`
}