Documentation
¶
Overview ¶
Package notes holds the lead's notes: how to lead wishes with Djinn, learnt from past wishes, whatever the agent that leads. One note per Markdown file of this folder, built into djinn and read only at run time: a contributor changes them by pull request, like any doc (lead/README.md). The brief gives every lead the index; djinn lead notes <name> prints one note.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Notes = sync.OnceValues(func() ([]Note, error) { return read(files) })
Notes are the lead's notes, by name. An error names the file that does not read: a test reads them all.
var Types = []string{"feedback", "project", "reference"}
Types are the kinds a note may be.
Functions ¶
Types ¶
type Note ¶
type Note struct {
// Name is its file's name without .md: how the index and djinn lead notes name it.
Name string `yaml:"name"`
// Description says in a line what it is about, for a lead to tell whether to open it.
Description string `yaml:"description"`
// Type is feedback (how the developer wants to be led), project (a fact of the work) or reference (where to look).
Type string `yaml:"type"`
// Body is the text after the front matter.
Body string `yaml:"-"`
}
Note is a note of the lead: its front matter, then its text.