Skip to main content

Operating teams from the CLI

Operators use lmctl to inspect team state, send Lead/member prompts, and track follow-up work. The current public command model is teamfile + members + lmctl chat.

Orient first

Start each operating session with:

lmctl status

lmctl status is team/SELF scoped. In a seeded member session it resolves the caller from LMCTL_SELF_SESSIONID and reports that member's teamfile, member state, delegation activity, and mailbox lanes. Outside a member session it falls back to an operator team/activity view with identity: none.

Common requests

Operator goalCommand
See what is happeninglmctl status
Read a member without waking itlmctl tail ./team.lmctl Lead
Ask the Lead to coordinate QAlmctl chat ./team.lmctl Lead "Run the QA pass with Coder and Reviewer1, then report."
List provider sessionslmctl ls
Check a member sessionlmctl health ./team.lmctl Coder

Reuse a team as a template

Use clone when you want to copy a .lmctl teamfile without carrying over the source team's session ids:

lmctl clone ./backend/backend.lmctl ./backend-v2/backend-v2.lmctl
lmctl lint ./backend-v2/backend-v2.lmctl
lmctl seed ./backend-v2/backend-v2.lmctl

When one team needs to reach a member in another team, no setup is required: cross-team calls work automatically at runtime, with runtime cycle protection against runaway loops. See Cross-team calls for the semantics.

Record follow-up work

Use your current tracker for bugs, failed QA chapters, and follow-up work. Keep the entry concrete enough that another operator or member can reproduce it:

  • expected result
  • observed result
  • command or page tested
  • relevant lmctl tail or test output
  • verification needed before closure