Commit Graph
147 Commits
Author SHA1 Message Date
maximeandClaude Opus 5.5 f62071c83f Pompage : autonome sous WSL, sans monitoring-dashboard (D-146)
- pomper.py : les lectures de l'appli recopiées en SQL, plus d'import de app/ ;
  le rattrapage reprend aussi les jours de métriques en échec
- pomper.sh : .env du projet, environnement uv jetable, log, verrou,
  post-traitement LENZSPITZE ; tâche Windows nocturne documentée
- vérifié contre l'ancien code sur NORDEND, SUSTENHORN, NADELHORN
- db/ (copie de la SQLite de l'appli) hors de git

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 15:55:43 +01:00
maximeandClaude Opus 5.5 b1a20c40be D-145 : le support automatique dans LibreDesk, une note privée par Gitea Actions (dépôt Support-AI)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 12:46:33 +01:00
maximeandClaude Opus 5.5 94e0f0b456 Data page: Labelling replaces Manual (D-144), LLM read-only, focus on event curves, family name in detector bars
Labelling creates, edits and deletes labels in labeling/auto/; LLM shows them read-only.
The focus switch shows only the open event's sensors in the plots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 11:00:41 +01:00
maximeandClaude Opus 5.5 8c0902c4ae app/: retire the Images page, the viewer stays in Data (D-143)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 17:44:21 +01:00
maximeandClaude Opus 5.5 b988b6de9a LibreDesk assistant trial (D-142): analyst text tools server, snippets, procedure
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 17:35:23 +01:00
maximeandClaude Opus 5.5 ee3875fe75 Support page: choose a PDF or a reply mail (D-141)
PDF | Mail before Analyser. In mail mode the support agent gets ecrire_mail
(body + figures of the session as attachments, mail-vN.json) instead of the
presentation tools; its prompt ends with prompts/support-mail.md, without
presentation.md and modele.typ. The page shows the text, Copier, and the
attachments to download. check_sortie_mail in API/support/check.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 16:48:17 +01:00
maximeandClaude Opus 5.5 5ec9aa8bab docs: the Data page additions of the day (D-140)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 15:56:22 +01:00
maximeandClaude Opus 5.5 830fe6215b app/: the Data page shows the curves first, the camera images beside them, and LLM, Detectors or Manual labels (D-140)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 15:29:22 +01:00
maximeandClaude Opus 5.5 ebb60e7e3c app/: the Labeling page becomes Data, back to a restyled Plotly, one plot to start and more to add (D-139)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 15:01:39 +01:00
maximeandClaude Opus 5.5 95c723e6ac app/: the Labeling page draws with ECharts instead of Plotly, range selection fixed (D-139)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 14:43:01 +01:00
maximeandClaude Opus 5.5 bd93e708d2 app/: the web app in its own folder, with the Images and Labeling pages (D-138)
- app/serveur/ (FastAPI) and app/web/ (React, Mantine) moved out of API/, which keeps
  only the agents; the Support page drives them
- Images page: view.py in React (slider, zoom, sensor names, displacement arrows on a range)
- Labeling page: labeling.py in React (two aligned plots, label bar, add, edit, delete);
  labels are written to labeling/{auto,manual}/ of the repo (AIMSIGHT_LABELS)
- shared station and date selector kept in the address; buttons from a support session
- app/serveur/station.py: the data of both pages, copied computations listed in app/README.md
- app/serveur/check.py: server and station checks (labels in a temporary folder)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 14:25:57 +01:00
maximeandClaude Opus 5.5 b0245c4067 API: the support page becomes a web app, React with Mantine and FastAPI (D-137)
Same features as the local page; agents, tools, prompts and knowledge unchanged.
- API/web/: React (Vite) with Mantine components: collapsible sidebar, mobile drawer,
  cards, notifications, dark mode
- API/support/serveur.py: FastAPI serves the built page and /api; agent events pushed
  by server-sent events (/api/flux) instead of polling
- data, cases folder and port set by AIMSIGHT_DATA, AIMSIGHT_CASES, AIMSIGHT_PORT
- check.py: server check (host guard, analyse, stream, PDF) with a fake client
- old page.html removed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 14:03:52 +01:00
maximeandClaude Opus 5.5 6e9f69a006 API: the analyst gets its maps in the prompt and reads the rest on demand (D-136)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 13:08:07 +01:00
maximeandClaude Opus 5.5 8ba75b92fa API: support page with two Claude API clients, support and analyst (D-133)
Self-contained sub-project API/: a local support page where Marc pastes a
client's mail; a support agent and an analyst agent stay alive for the session
and produce a slide PDF that answers the client's question. Tools, detectors,
knowledge and Typst brand are copied (API/PROVENANCE.md). First real case:
Crissier (LENZSPITZE), workflow validated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 12:58:39 +01:00
maximeandClaude Opus 5.5 d1a372d3ea Detector-learner: detectors do their best, a coherent alternative reading is no regression; process fixes (D-135)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 10:54:04 +01:00
maximeandClaude Opus 5.5 eb61d12b82 Detectors read the camera pose and the station metrics when they declare them (D-134)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 10:43:35 +01:00
maximeandClaude Opus 5.5 be147e92df Detector-learner per family, on all stations, launched by Claude (D-132)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 09:13:48 +01:00
maximeandClaude Opus 5.5 4084cada20 Label ids first in each JSON line (D-131)
ids.py puts the id first and never re-gives an id retired in the same operation; labeling.py
keeps it first on add and edit; controle.py requires it first. Cross-review apply: a modified
label keeps its id, and revue is today's date. All 991 auto labels reordered, content unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:58:47 +01:00
maximeandClaude Opus 5.5 1f2d7efad2 Auto labels take what the expert's labels know where they conflicted, compiled against the data (D-130)
JUNGFRAU (the PS_DES_COUDRES night, 07.10), NORDEND (03.09 web over CTR04), LENZSPITZE
(turbulence beyond the bridge), WILDSTRUBEL (well compensated, small residual at the bottom).
Expert labels unchanged; map section 6 updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:56:28 +01:00
maximeandClaude Opus 5.5 c6e9df0e46 Stable ids for auto labels, a summary for the label map, reading tools improved (D-131)
- Every auto label carries an id (<STATION>-<n>, labeling/ids.py), kept on edit, given to
  new labels by labeling.py and by the reviews; controle.py requires it, unique. The
  cross-review matches labels by id, and an applied review is locked (applique.md).
- The label map starts with a summary (labels-map/sommaire.py): readers take the summary and
  sections 2-4 in full, then only the cards of the phenomena they meet.
- Tool-builder session on the reviewers' difficulties: jours.py --lissage/--fraction,
  ensemble.py --suivre and rejected measures left out of --rigide, --residus non, zero noise
  after a lost reference, new agent-tools/stations.py (several stations on one timeline),
  long outputs convention in lire-les-donnees.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:49:54 +01:00
maximeandClaude Opus 5.5 d55de98746 Labeling processes: lessons from the auto-label reviews (D-130)
- The labeler writes to its own folder (etiquettes.jsonl); labeling/auto/ only holds
  reviewed labels, merged by /review-auto-labels (new apply script: dated, sorted, checked).
- labeling/controle.py also checks a proposed file; the labeler and reviewers run it before
  handing back. Reviewers keep their measurements in revue.md, never in the labels.
- Reviewer instructions explicitly add their scripts, .venv/bin/python and for loops to the
  lire-les-donnees commands (the contradiction raised by 12 reviews).
- Expert validation optional in /review-auto-labels; an expert hint given to the labeler is
  written in the labels it touches. Cross-review ends with the releveur.
- docs/ameliorations-processus.md: 17 entries from this review, by the releveur.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:31:53 +01:00
maximeandClaude Opus 5.5 35b5ed4d74 Auto labels reviewed per station and cross-reviewed; all labeling knowledge in labeling/ (D-130)
- Every station's auto labels reviewed by an analyst (/review-auto-labels), then a
  cross-review per family across all stations (new skill /cross-review-labels),
  a finishing pass, and descriptions rewritten in words (no numeric values).
- The three never-labeled ranges (WILDSTRUBEL 07/09-01/10, NORDEND 16/08-01/10)
  labeled and reviewed: 991 auto labels on 11 stations, labeling/controle.py at 0 errors.
- Labeling knowledge gathered in labeling/: regles-d-etiquetage.md (new), familles.md
  (settled boundaries), connaissances/ (notes moved from docs/, links updated),
  the label map rebuilt from reviewed labels, events and cases; events tied to their
  stations (PS_DES_COUDRES is JUNGFRAU). The labeler and reviewers read only labeling/.
- labels-map reads auto labels and events; decision D-130; living plan points 73-75.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:21:57 +01:00
maximeandClaude Opus 5.5 a2b1f2ed14 Image quality metrics in labeling: qualite.py, LENZSPITZE October labels reviewed with them (D-129)
Definitions of peak, flux, sharpness, fwhm, dominance and snr in docs/domaine;
agent-tools/qualite.py (ratio to a calm reference, per label, outside labels,
figures), inventaire/graphique/resume aware of the six columns, lire-les-donnees
and the labeler's instructions updated. LENZSPITZE 16.10-01.11 relabeled: 67
labels, 4 found by the metrics.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:34:04 +01:00
maximeandClaude Opus 5.5 cef7754888 Reviewed labels: "revue" is the review date, as for manual labels, and is not reviewed again
All 26 BREITHORN October labels carry "revue": "2026-11-04"; the expert's thermal answer is said in the description. /review-auto-labels skips labels that already carry "revue" (count, analyst review, replacement); /labels-map reads all reviewed auto labels (D-128).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 08:46:06 +01:00
maximeandClaude Opus 5.5 83479499a9 Review of the labeler's labels: /review-auto-labels (D-128); BREITHORN October reviewed
The analyst reviews labeling/auto/ labels on a range chosen by the user (bounds, one event, family, description, missed ones) and proposes corrected labels; the expert answers its questions, then the range is replaced. First run on BREITHORN October: 10 corrected, 25 and 26 merged, one missed night added; the expert confirms the camera's cold-night deviations are thermal (housing temperature, not air). Labels the expert settled carry "revue", read by /labels-map.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 08:40:27 +01:00
maximeandClaude Opus 5.5 85e590762b Presentations for the client: Sandouville, no data-gap slide, settlements in corr_y (D-127)
The three October decks (BREITHORN, MICHIGAN, NEBRASKA) no longer criticise
the system: facts and their external cause only. Figures redrawn in corr_y
(figure-y.py), BREITHORN parallax kept. Sources and PDFs named after the
station; the charter's draft stamp reads "Sandouville".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 17:36:25 +01:00
maximeandClaude Opus 5.5 6fbd7510b7 Etiqueteur: October labels for 8 stations; its folder moves to labeling/auto/etiqueteur/, analyses and scripts versioned (D-126)
Labels for CLARIDEN, FLORIDA, JUNGFRAU (gaps 06-20.10, 26.10-01.11), LENZSPITZE,
NIEDERHORN, NORDEND, SNCF01, WILDSTRUBEL. Figures and tool outputs stay out of git.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 16:33:41 +01:00
maximeandClaude Opus 5.5 2bba388290 Detectors receive the station temperature; ISO dates accepted (D-124)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:56:30 +01:00
maximeandClaude Opus 5.5 daa1fd989d Detector-learner: label bounds excluded, false positives as a regression, control watches the session station (D-123)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:45:13 +01:00
maximeandClaude Opus 5.5 e39531fd33 Detector-learner: user decisions apart in the bilan, process agents without events-learner (D-122)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:21:29 +01:00
maximeandClaude Opus 5.5 6d78bac736 Detector-learner: one commit per suggestion, retirer verdict, measured regression (D-121)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:19:23 +01:00
maximeandClaude Opus 5.5 e8e6cdd96d JUNGFRAU labels get their family; lone jumps scored as Displacement (D-120)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:16:21 +01:00
maximeandClaude Opus 5.5 98c3308ca7 Detector-learner: one benchmark, scripts moved, critic with realistic suggestions (D-120)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:12:24 +01:00
maximeandClaude Opus 5.5 98be20a2bc One detector per family, family keys equal to their names (D-119)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:57:52 +01:00
maximeandClaude Opus 5.5 0666d59e7d Detector agents aligned on all labels of labeling/auto/, without events (D-118)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:43:22 +01:00
maximeandClaude Opus 5.5 516b538cf7 Labels: the trou family and corr_x/corr_y as the anomaly (D-111); thermal movement is always labeled, the camera's included even when compensated (D-117)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:13:15 +01:00
maximeandClaude Opus 5.5 2a8d3da49d Detector-learner: --ameliorer, the improver after the releveur as in /events-learner (D-071); the improver covers both processes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 13:47:44 +01:00
maximeandClaude Opus 5.5 0537f4ddeb Detector-learner (D-116): the detectors learn from the labeler's labels alone, without events; critic, upgrader and control, the control guarded by the score on the other labeled stations (regression.py); NEBRASKA and NORDEND labels
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 13:46:36 +01:00
maximeandClaude Opus 5.5 3211c9ce30 Presentations: their sources live next to each report (support/<dossier>/presentation.typ) and compile with .claude/skills/presentation/compiler.sh
The script copies the source and the folder's images into the AIMsight Typst factory, builds, puts the PDF back as presentation.pdf and reports overflowing slides. run.md: how the user edits and compiles a presentation. Skill /presentation, D-114 and CLAUDE.md updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:03:03 +01:00
maximeandClaude Opus 5.5 44711d2288 Presentations: camera tilt and pan, captions that read on their own, conclusions as bullet points without any instruction to the client
BREITHORN: tilt and pan of the camera (slide 3); targets labelled with their axis in the parallax figure (corr_x horizontal, corr_y vertical); "reflections", not "headlights", on the vehicle; every caption says what each panel shows. MICHIGAN, NEBRASKA: a new figure (tilt, pan, station temperature, horizontal displacement of four targets) for the camera events; complete captions; same conclusion. The client is given facts, not instructions. Skill /presentation and D-114: the rules (no instruction, self-explanatory captions, name only what is visible, "the curves drift", wide multi-panel figures).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 11:57:31 +01:00
maximeandClaude Opus 5.5 a85d736714 Analyst reads the data like the labeler (D-115): same tools and documentation (labels map, families, measurement chain, temperature from metrics/), in analyser-lot and the /labels-learner instructions; its output (etiquettes.json, journal categories, bounds) unchanged for the detectors benchmark; analyser-lot no longer calls itself the loop's truth (D-112)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 11:44:00 +01:00
maximeandClaude Opus 5.5 98261833f6 Support: situation reports for BREITHORN, MICHIGAN and NEBRASKA extended to the whole of October 2026, and their presentations; new /presentation skill (D-114)
Reports: all October labels (data from 03.10), the expert's diagnosis kept; new findings before 20.10 (night without measurements 15-16.10 on all three; BREITHORN references hidden on 04, 07, 10.10; MICHIGAN curves agitated 17-18.10; NEBRASKA camera stepping back 13-17.10); figures redone for the month.

Presentations (presentation.pdf in each report folder), built with the AIMsight Typst factory ~/docfactory-presentation, in the structure set by the user: "Point de situation" title with station and period, a numbered chronological summary, one self-sufficient slide per event with its diagnosis and picture (BREITHORN: the vehicle in front of COLI24), a conclusion (why it is less reliable, what to do), closing slide. A diagnosis, never an instruction ("to ignore"); the camera's movement is real, its cause (fixing, wall or other) not known.

Skill .claude/skills/presentation/: structure, the user's rules, what failed, model deck (BREITHORN) and image-de-la-cause.py (brightened crops around a target).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 11:31:17 +01:00
maximeandClaude Opus 5.5 f0ba5b9fcf Labels and journal: "Faulty target" renamed "Target issue" everywhere (user: the name was not clear), key cible_degradee -> cible_a_probleme; labels, events, detectors, Status page, labeling tool, documentation and history (D-109)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:31:18 +01:00
maximeandClaude Opus 5.5 026a5bd432 Support skill: /support <STATION> writes a situation report from the labeler's labels (labeling/auto/), one or two images per finding (curves of the targets, camera image when the cause shows), one section per slide; /support <mail> unchanged (D-113)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 17:45:36 +01:00
maximeandClaude Opus 5.5 bc984a86d3 Events-learner on the labeler's labels: the session reads the lot's labels in labeling/auto/ instead of having the analyst read the lot; the detectors-critic judges the detectors against them, family by family (correspondence of labeling/familles.md); score.py --du --au scores by family and by instant, the session page shows labels and detectors on one row per family; analyst, tool-builder and event-builder leave the session (D-112, point 72)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:25:44 +01:00
maximeandClaude Opus 5.5 5adb711ce0 Label families: five families for labels, documented in labeling/familles.md and read by the labeler (Visibility, Obstruction, Thermal displacement, Displacement, Faulty target; turbulence merged into Visibility) (D-109, D-110); the labeler keeps only its labels, its work folder goes to out/ (D-106); third trial on WILDSTRUBEL 01-06.09, 30 labels; the labeling tool shows one-measurement labels
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:40:35 +01:00
maximeandClaude Opus 5.5 8266293ed3 Labeler agent: an analyst that only produces labels (etiqueteur, D-106), one category per label (D-107), anomalies only and one Thermal displacement category (D-108); second trial on JUNGFRAU 30.09-05.10, 15 labels; the labeling tool gets a Category box above the text, to add and to edit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 14:44:08 +01:00
maximeandClaude Opus 5.5 fe025612cc Automatic labels, first trial: the analyst labels JUNGFRAU 20-25.10 alone with the labels map (7 labels in labeling/auto/, analysis beside them); the labeling tool shows manual or auto labels from a Labels menu (D-105)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 13:40:29 +01:00
maximeandClaude Opus 5.5 d47d29b04e Labels map: the reviewed expert labels arranged by phenomenon for the analyst (labeling/carte-des-etiquettes.md), built by the /labels-map skill with its check script; first pass on 23 labels, 14 phenomena, reviewed against the labels and the skill strengthened (D-104)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 12:47:15 +01:00
maximeandClaude Opus 5.5 7ca701e502 Label review as the /review-labels skill, one label at a time with the expert, a qualitative text proposed for each, no review file (D-103); NIEDERHORN reviewed: 5 labels kept, 3 train passages removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:26:34 +01:00