Documentation
¶
Overview ¶
Package tracker is ynf's port to where work items live (ADR-003): GitHub Issues, JIRA and others. It is separate from the forge, where code lives, even when one system is both.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("tracker: not found")
ErrNotFound means the tracker has no such item.
Functions ¶
This section is empty.
Types ¶
type Ref ¶
Ref names a ticket: the tracker instance's host and the tracker's own key, such as {github.com, eyelock/ynh#77} or {example.atlassian.net, PLAT-881} (ADR-002).
type Text ¶
Text is a ticket's free text. It reaches the agent as quoted data and nothing else (NFR-5).
type Tracker ¶
type Tracker interface {
// Get reads the ticket: its structured facts, and its text for the agent.
Get(ctx context.Context, key string) (facts.Ticket, Text, error)
// Comment posts body unless a comment containing marker exists: side effects are
// idempotent per step (ADR-005).
Comment(ctx context.Context, key, marker, body string) error
// Label adds and removes labels; adding one present or removing one absent is not an error.
Label(ctx context.Context, key string, add, remove []string) error
}
Tracker is the port. Keys are the tracker's own, without the host.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mcptracker is the mcp tracker provider (ADR-003): a tracker whose system has an MCP server, such as JIRA Cloud or Data Center, read and written by calling the server's tools directly.
|
Package mcptracker is the mcp tracker provider (ADR-003): a tracker whose system has an MCP server, such as JIRA Cloud or Data Center, read and written by calling the server's tools directly. |
Click to show internal directories.
Click to hide internal directories.