Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
lectern
command
Command lectern is the control plane: one binary that serves the API, the PWA and the scheduler that drives every dispatched agent.
|
Command lectern is the control plane: one binary that serves the API, the PWA and the scheduler that drives every dispatched agent. |
|
lectern/localruntime
Package localruntime starts the per-user Lectern control plane used by the local CLI.
|
Package localruntime starts the per-user Lectern control plane used by the local CLI. |
|
internal
|
|
|
agents
Package agents is the coding-agent adapter seam.
|
Package agents is the coding-agent adapter seam. |
|
api
Package api is lectern's HTTP surface: the REST control plane, the agent-facing hook endpoints, the SSE streams and the embedded PWA.
|
Package api is lectern's HTTP surface: the REST control plane, the agent-facing hook endpoints, the SSE streams and the embedded PWA. |
|
app
Package app wires every component together.
|
Package app wires every component together. |
|
broker
Package broker is the approval gate: the hook blocks here until a human — or expiry — decides.
|
Package broker is the approval gate: the hook blocks here until a human — or expiry — decides. |
|
bus
Package bus is the in-process SSE fan-out.
|
Package bus is the in-process SSE fan-out. |
|
config
Package config holds every knob lectern reads from the environment.
|
Package config holds every knob lectern reads from the environment. |
|
console
Package console is a terminal client for the same API used by the web UI.
|
Package console is a terminal client for the same API used by the web UI. |
|
creds
Package creds provisions agent authentication onto targets.
|
Package creds provisions agent authentication onto targets. |
|
ctxbundle
Package ctxbundle stages the files a dispatched agent should read before it starts.
|
Package ctxbundle stages the files a dispatched agent should read before it starts. |
|
delegation
Package delegation is the "Delegated builds" feature: a lead agent plans a piece of work and reviews the result, and a cheaper worker agent does the implementation in between, as a Lectern task in its own worktree.
|
Package delegation is the "Delegated builds" feature: a lead agent plans a piece of work and reviews the result, and a cheaper worker agent does the implementation in between, as a Lectern task in its own worktree. |
|
desktop
Package desktop gives a target a private graphical display the operator can watch from a browser.
|
Package desktop gives a target a private graphical display the operator can watch from a browser. |
|
executor
Package executor abstracts "run a command / move a file on a machine".
|
Package executor abstracts "run a command / move a file on a machine". |
|
forward
Package forward carries TCP from a port on the control plane to a service that only listens on a target's localhost.
|
Package forward carries TCP from a port on the control plane to a service that only listens on a target's localhost. |
|
hooks
Package hooks embeds the two agent-side Python scripts staged into every worktree.
|
Package hooks embeds the two agent-side Python scripts staged into every worktree. |
|
mcp
Package mcp exposes lectern over the Model Context Protocol on stdio, so any MCP client — Claude Code, an mcpo bridge, a chat bot — can file and steer tasks.
|
Package mcp exposes lectern over the Model Context Protocol on stdio, so any MCP client — Claude Code, an mcpo bridge, a chat bot — can file and steer tasks. |
|
mediapost
Package mediapost is the one way a file or link reaches Lectern's media feed.
|
Package mediapost is the one way a file or link reaches Lectern's media feed. |
|
memory
Package memory is lectern's seam onto a durable knowledge store.
|
Package memory is lectern's seam onto a durable knowledge store. |
|
nativeidentity
Package nativeidentity is the single read-only native conversation identity implementation shared by the API history reader and session recovery.
|
Package nativeidentity is the single read-only native conversation identity implementation shared by the API history reader and session recovery. |
|
policy
Package policy holds a project's "always allow" rules, evaluated server-side before a human is ever paged.
|
Package policy holds a project's "always allow" rules, evaluated server-side before a human is ever paged. |
|
push
Package push is the web-push (VAPID) notification sink.
|
Package push is the web-push (VAPID) notification sink. |
|
routines
Package routines turns a job you keep asking for into one you can press a button for, or schedule.
|
Package routines turns a job you keep asking for into one you can press a button for, or schedule. |
|
sandbox
Package sandbox owns the ephemeral LXC lifecycle: clone template, start, run, destroy.
|
Package sandbox owns the ephemeral LXC lifecycle: clone template, start, run, destroy. |
|
scheduler
Package scheduler promotes queued attempts, tails running ones and finalises results.
|
Package scheduler promotes queued attempts, tails running ones and finalises results. |
|
scratch
Package scratch reclaims throwaway workspaces nobody is using.
|
Package scratch reclaims throwaway workspaces nobody is using. |
|
sessions
Package sessions is lectern's second execution mode: an INTERACTIVE agent you work with, rather than a task you hand off.
|
Package sessions is lectern's second execution mode: an INTERACTIVE agent you work with, rather than a task you hand off. |
|
shellq
Package shellq renders values as shell words.
|
Package shellq renders values as shell words. |
|
sinks
Package sinks fans notifications out to web-push, a Discord webhook and ntfy, best-effort and never blocking the caller.
|
Package sinks fans notifications out to web-push, a Discord webhook and ntfy, best-effort and never blocking the caller. |
|
skills
Package skills manages project skill intent and target-local materialization.
|
Package skills manages project skill intent and target-local materialization. |
|
state
Package state is the task state machine — the single source of truth for which board moves are legal.
|
Package state is the task state machine — the single source of truth for which board moves are legal. |
|
store
Package store is lectern's SQLite persistence layer: schema, typed row accessors, and the small JSON helpers the rest of the service shares.
|
Package store is lectern's SQLite persistence layer: schema, typed row accessors, and the small JSON helpers the rest of the service shares. |
|
terminal
Package terminal is one-click terminal attach: spawn a ttyd on the control plane that wraps `tmux attach` (locally, over ssh, or via pct) for a running attempt.
|
Package terminal is one-click terminal attach: spawn a ttyd on the control plane that wraps `tmux attach` (locally, over ssh, or via pct) for a running attempt. |
|
testutil
Package testutil contains small safety helpers shared by real-process tests.
|
Package testutil contains small safety helpers shared by real-process tests. |
|
version
Package version carries the single source of truth for the release string.
|
Package version carries the single source of truth for the release string. |
|
workflows
Package workflows describes the optional, bundled project workflows.
|
Package workflows describes the optional, bundled project workflows. |
|
worktree
Package worktree owns the git worktree lifecycle and diff capture, all through the Executor interface so it works identically on every target kind.
|
Package worktree owns the git worktree lifecycle and diff capture, all through the Executor interface so it works identically on every target kind. |
|
Package web embeds the lectern PWA so the binary is fully self-contained: one file to deploy, and the UI works with no internet access.
|
Package web embeds the lectern PWA so the binary is fully self-contained: one file to deploy, and the UI works with no internet access. |
Click to show internal directories.
Click to hide internal directories.




