The contract between a terminal emulator with LLeMbas built in and the CLI,
written into the spec before the implementation that follows it:
- acp.md, "A terminal as the client": recognising the terminal by its
environment (LLEMBAS_TTY, LLEMBAS_TTY_PANE, LLEMBAS_TTY_EXECUTABLE), the
session's state as user vars, the terminal context file, the tools
terminal_run and terminal_read, `lembas complete --shell`, and what
`lembas --version --json` says.
- context.md §12: the <terminal> block of a message.
- permission/rules.md §4: a command typed into the person's terminal is
judged as bash would judge it, then asked every time outside auto mode.
- tools/terminal_run.json, tools/terminal_read.json (requires: terminal,
offered: main); loop.json `terminal`; conformance/terminal.json.
The CLI's alone: a server offers none of it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>