lightsoutAlpha

lightsout report

Show where a run’s time and money went, step by step down to each agent call, with time, tokens and cost.

When to reach for it

Reach for it after planning or building a ticket, when you want to know which step burned the hours, how many harness processes it took and what it cost. It reads what the plan commands, implementation runs and their resumes recorded, so it spends nothing and can be run as often as you like. Every level shows wall time beside summed agent time, the most harness processes running at once, and a row for time no agent was running; a closing section names the slowest and most expensive calls, and a cost appears only where the harness reported one. Name a ticket folder rather than one plan to see what the whole ticket cost.

How to run it

  • lightsout report --plan <name>
--plan <name>
The plan to report on — a plan address, or a work order name, which reports every plan under it beneath one totalled ticket row.Required
--json
Print the same totalled tree as data instead of the table, so a chart and this table read one calculation.Left out: The table is printed.
--cwd <path>
Repository whose plan folders are read.Left out: The process working directory.

Related commands