Commit Graph
151 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 480032410c run_server.sh: build the front and start the web app server
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 17:48:39 +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 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 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 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 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 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 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 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 0b1c93d135 Status page shows the labels of labeling/ (auto, else manual) instead of the detectors' events; compare.py: labels vs detectors by family, with the score, under the data loader (port 8769)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:12:58 +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 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 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 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 d3b89a7f2e WILDSTRUBEL and FLORIDA labels reviewed with the expert (/review-labels): the expert's own label and the twin targets kept, duplicates and a contradicted one removed; 24 labels in all, reviewed except PS_DES_COUDRES (no data)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 12:28:08 +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
maximeandClaude Opus 5.5 3a07d45ffe Labels in two folders: manual/ (by hand, checked with the label-reviewer, the tool's) and auto/ (what the analyst will find alone, empty) (D-102)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:27:32 +01:00
maximeandClaude Opus 5.5 3ce582d8b5 run.sh: the three workstation tools (Status, View, Labeling) in one command, each by its data loader
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:47:07 +01:00
maximeandClaude Opus 5.5 63c9f9e625 Labels: the validated events' diagnoses become labels in their stations' files, real sensor names, same format as the expert's (D-100)
30 labels written by an agent from E-001 to E-011, decoded with the anonymization registry and appended to labeling/<STATION>.jsonl, so the labeling tool shows them with the others; no source field. The tool accepts only data/ stations again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:42:08 +01:00
maximeandClaude Opus 5.5 713bb80aa3 Label-reviewer: an agent checks the expert's labels against the data and asks before any change (D-101); labels as the knowledge base, validated events get theirs (D-100)
The labeling tool now accepts event folders (Add, Save), and a Save of a label's text drops its "revue" mark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:35:28 +01:00
maximeandClaude Opus 5.5 d1fd7f6bdd Labels-learner: the analyst measures the expert's labels and asks until it understands, a documentaliste writes its conclusions into the docs (D-099, point 69)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:12:53 +01:00
maximeandClaude Opus 5.5 010798d992 Labeling tool: a click on a label shows it, its text is edited and saved (point 68)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 08:56:16 +01:00
maximeandClaude Opus 5.5 b52f1c0d22 View tool: Labels checkbox, sensor names on the images, targets and references apart
Positions come from a new detecteurs.positions(), taken out of camera().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:18:14 +01:00
maximeandClaude Opus 5.5 83f7f7be7f Labeling tool: system metrics in the plot menu, identifiers left out; point 69: how the analyst learns from labels, still open
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:23:31 +01:00
maximeandClaude Opus 5.5 647f7f7509 View tool: IRON images under the data loader, browse and zoom
The data loader's error message now names the script that failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:44:09 +01:00
maximeandClaude Opus 5.5 fcd9191a95 Labeling tool: the expert labels ranges in plain text, one plot at a time (D-098, point 68)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 08:59:38 +01:00
maximeandClaude Opus 5.5 7fb176cf0a Events-learner: the analyst writes its own tools, a tool-builder brings them into agent-tools; /aiguiser retired (D-097)
- inventaire.py: what each source contains on the window (filled or empty columns, metric names, images), names and counts only
- analyser-lot: step 0 on the data, own scripts in <lot>/outils/, section 3 "Outils"
- tool-builder (the optimiser, rewritten): after the analyst, optimises or adds reading tools, never removes; no control yet
- /aiguiser skill, reader, corrector and voir.py removed; its sessions and spec stay as history
- docs: D-097, specs, CLAUDE.md, run.md, README, plan point 56; the shared files also carry another session's pending edits (D-096 entry, plan points 57 to 67)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 17:10:17 +01:00
maximeandClaude Opus 5.5 aa2578873d Status page: data loader (station, dates, Analyse)
A form at the top of the Status page: station dropdown (folders of data/), start and end dates
(end excluded, as --au), and an Analyse button that builds the page for that selection and opens it.
The code is in detectors-view/data-loader/chargeur.py: the form, and its local server (port 8766)
that serves out/ and data/ like the common one, plus /analyse, which runs status.py each time.

python3 detectors-view/status.py without arguments, or detectors-view/status.sh, opens the form
alone; with a station folder it builds the page as before, now opened through the loader server.
common.page.open_served takes another port and server script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 13:07:13 +01:00
maximeandClaude Opus 5.5 0544956c87 Status page: details and timelapse of the selected status below the plots
A click on a status label shows, below the figure, its details (name, times, sensors, sentence,
then References and Targets per sensor) and, on the right, the timelapse of its camera images,
as in detecteurs.py. Clicks in the details keep the selection; a click elsewhere clears them.

detecteurs.py shares its pieces instead of status.py copying them: the timelapse JavaScript
(TIMELAPSE_JS, the image slider stays in IMAGES_JS), the player HTML and CSS, camera() for the
images and sensor positions, and groupes() with French or English texts. The player's few
messages are now in English (before / DURING / after, no image, GIF export error).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 12:14:18 +01:00
maximeandClaude Opus 5.5 5b16354776 Status page: clicking a status no longer zooms
The click keeps only the status's sensors and highlights its bands; the time range, including a
zoom made by hand, stays as it is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 11:49:57 +01:00
maximeandClaude Opus 5.5 d62017e060 Status page: thermal merge suspended, expansion and contraction shown separately again
Merging the two thermal phases into Thermal movements only holds for phases on the same targets;
the user has not decided yet. hierarchie-des-status.md keeps the merge; status.py, CLAUDE.md and
D-095 say it is suspended. Occultation and the target filter are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 11:47:11 +01:00
maximeandClaude Opus 5.5 dcbffeaa71 Status page: status hierarchy and filter by visible targets (D-095)
detectors-view/hierarchie-des-status.md, validated by the user: No visibility hides Reduced
visibility, Faulty target hides Target hidden, No data hides everything, No visibility hides Target
hidden; the two thermal phases form one status, Thermal movements. A hidden status is cut, not
removed, and only when the stronger one covers all its sensors. status.py transcribes it.

Hiding or isolating targets in the sensor legend keeps only the statuses that touch a visible
target, or all sensors. Discarded labels become transparent, without text, hover or click:
restyling x or base of the label row made Plotly retype its axis as linear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 11:42:18 +01:00
maximeandClaude Opus 5.5 71111b9f29 Status page: clickable event labels above the curves select an event
One label per detector event at its time, in its category colour, overlapping events on lower rows.
A click zooms on the event (half its duration on each side, 1 h to 6 h), keeps only its sensors and
highlights its band; a second click shows everything again. The range is set on every x axis: in
the same relayout as the band opacities, the axes matching the bottom one did not follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 11:17:15 +01:00