lead/

directory
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2026 License: Apache-2.0

README

The lead's notes

How to lead wishes with Djinn, learnt from past wishes: what the developer expects of a lead, and why. Any lead reads them, whatever its agent (Claude, Codex, Antigravity), and any contributor may add or fix one by pull request, like any doc.

  • One note per Markdown file of notes/, in English, named after the note: notes/<name>.md (notes.go reads them).

  • A front matter, then the note:

    ---
    name: <name>
    description: <one line: what it is about, for a lead to tell whether to open it>
    type: feedback | project | reference
    ---
    
    The rule or the fact. Then **Why:** (the incident or the developer's words) and **How to apply:**.
    
  • [[other-name]] links to another note.

Djinn builds the folder into its binary (go:embed): at run time the notes are read only. The brief gives every lead the index, a line per note with its name and description, never the notes themselves; djinn lead notes prints the index, djinn lead notes <name> one note, which a lead opens before it acts in that note's area, and djinn lead notes a,b or djinn lead notes --all several in one command. A lead that may change Djinn adds or fixes a note by spawning a task that edits this folder; nothing writes here at run time.

The pitfalls of the codebase, for workers, are not lead notes.

The Djinn's tones

tones/ holds the two tones of the Djinn (decision Q36), one line per file: light.md the solar Djinn, dark.md the mocking demon of the lamp. Each batch of the driven lead carries the tone of the theme the window shows; the rule that bounds both (only the tone changes, never the facts) is in the driven lead's rules (internal/plan/drive.go). Edit a tone in its line; a test keeps each one line and short, since every batch pays for it.

Directories

Path Synopsis
Package notes holds the lead's notes: how to lead wishes with Djinn, learnt from past wishes, whatever the agent that leads.
Package notes holds the lead's notes: how to lead wishes with Djinn, learnt from past wishes, whatever the agent that leads.
Package tones holds the Djinn's two tones (decision Q36, W156): the voice of the lead Djinn drives, by the theme the window shows.
Package tones holds the Djinn's two tones (decision Q36, W156): the voice of the lead Djinn drives, by the theme the window shows.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL