"""The Analysis tab of the Data page: the analyst of the agents repository (agents/, a plugin: --agent agents:analyst), launched by `claude -p`, non-interactive, on a range chosen in the page, with the user's optional hints, its instructions (instructions/analyst.md) and without the detectors (DETECTORS: no: its labels will be used to improve them). It writes in labeling/auto/analyses/__/ its labels (labels.jsonl) and a diagnostic report (report.md, its figures next to it); at the end, the server submits its labels to labeling/auto/.jsonl, marked with their analysis (field `analysis`). Then the user can write to it: the same session resumes (`claude -p --resume`), and its labels, if they change, replace those it had submitted. On a finished analysis, "Optimize" launches `/optimize` in Optimizer (optimizer/, the skill that, from the analysis, improves the detectors on its range, its labels as truth, then brings the analyst's scripts into the reading tools, tools/); one optimization at a time, no analysis or message meanwhile; the summary of the session (optimizer/sessions/_