Commit Graph
40 Commits
Author SHA1 Message Date
maximeandClaude Opus 5.5 21f8cd1db6 Loop: upgrader and validator become detectors-upgrader and detectors-control (D-089)
- detectors-upgrader: makes the detectors better on the batch from the
  analyst's critique; adds, removes or modifies, removing first; targets
  the significant events missed or badly bounded, not a perfect match.
- detectors-control: the guard against overfitting; never looks at the
  batch, judges the diff and the benchmark on the event base, decides,
  and sends its remarks back to the upgrader.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 08:45:57 +01:00
maximeandClaude Opus 5.5 446fde3192 Events: read-event skill to consult the base (D-085), cases renamed events E-xxx (D-086)
- read-event: map and index first, then the card of close events only,
  then their data with the reading tools; never all cards at once.
  Diagnostic agent, critiquer-lot and builder point to it; the index
  header too. Signature length: about 250 characters, a guideline.
- "Cas" becomes "event": events/E-xxx/event.md, skills new-event,
  review-event, anonymize-event.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 07:25:29 +01:00
maximeandClaude Opus 5.5 4d99585474 Detectors, loop and sharpening sessions moved to the repo root (D-084)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 17:19:51 +01:00
maximeandClaude Opus 5.5 0df340231a Diagnostic agent: agents/diagnostic/ renamed agent-diagnostic/ (D-082)
The diagnostic agent is kept in case it is needed again, under a name that
says what it is; entry point still .claude/agents/diagnostic.md; paths updated
in skills, agents, spec, contexts, the living plan and CLAUDE.md; reports and
history keep old paths. Also: two stale tool paths in the living plan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:45:02 +01:00
maximeandClaude Opus 5.5 56b93e9b82 Agent tools: reading tools moved to agent-tools/ (D-081)
The reading tools leave agents/diagnostic/outils/ for a root folder of their
own; paths updated in skills, agents, detectors, scripts, case fiches,
support/, contexts and CLAUDE.md; graphique, vignettes and gif find the repo
root one level up; history keeps old paths.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:36:45 +01:00
maximeandClaude Opus 5.5 cb98818712 Events: cases, event map and eventualities graph moved to events/ (D-080)
The case base leaves agents/diagnostic/cas/ for a root folder of its own,
with the event map and its graph; paths updated in skills, agents, scripts,
case fiches, contexts, the living plan and CLAUDE.md; history keeps old paths.
Also: plan point 51, an analyst that improves from session to session.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:32:06 +01:00
maximeandClaude Opus 5.5 55ada2c57b Detectors page: event details grouped into References and Targets, references found by reproj_err
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:48:12 +01:00
maximeandClaude Opus 5.5 425acbbad4 Detectors page: a click on an event bar acts like a click on a Status block
It zooms on the event, shows its details and its timelapse under the figure,
and keeps only its sensors on the curves (no second click). Bar dates are
given without the trailing Z, which Plotly does not parse.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 09:17:48 +01:00
maximeandClaude Opus 5.5 75e7963ca2 Detectors page: GIF without red border, date and time bottom right, up to 150 frames
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 08:54:46 +01:00
maximeandClaude Opus 5.5 55fbe2bf77 Detectors page: ⤓ GIF button exports the timelapse to the browser's downloads
The GIF is the timelapse as shown (focused or global, sensors circled and
labelled), 1000 px wide at most, red border during the event, time at the
bottom. In file:// the browser cannot read the images' pixels, so the
detectors, end-of-session and case-review pages now open through a local
server (open_served, 127.0.0.1:8765, started in the background, serving
out/ and data/ only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 08:49:51 +01:00
maximeandClaude Opus 5.5 87039c6844 Detectors page: time under each curve, focused or global timelapse
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 15:50:42 +01:00
maximeandClaude Opus 5.5 1ad8e74e8e detecteurs.py: the timelapse circles the event's sensors at their median position (targets yellow, references blue), when x, y are positions in the image
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:27:42 +01:00
maximeandClaude Opus 5.5 040b69e3f3 detecteurs.py: Details in two columns, the block's events on the left, its timelapse on the right, started by the click on the block
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:31:53 +01:00
maximeandClaude Opus 5.5 367bc5d563 detecteurs.py: a click on a Status block fills a Details section under the figure (its events, sensors, sentences) with a ▶ Images button, the block's timelapse with a margin before and after
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:23:18 +01:00
maximeandClaude Opus 5.5 03b5d3fd59 detecteurs.py: a click on a Status block zooms the page on its range
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:14:20 +01:00
maximeandClaude Opus 5.5 d7fb8e41d0 detecteurs.py: the Status row right under the curves, the categories below it in a fold (click on ▾ Status), open by default, without their title
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:10:43 +01:00
maximeandClaude Opus 5.5 2659c465aa detecteurs.py: no y rescaling on zoom; the timelapse shows the whole image when x, y are not positions in it (LENZSPITZE)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:02:05 +01:00
maximeandClaude Opus 5.5 6bfcf22e14 detecteurs.py: the Status row says what is happening, light blue nothing, dark blue a block named by the event that covers most of it (plan point 50, user's revision)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 11:52:17 +01:00
maximeandClaude Opus 5.5 0c778b4b4f detecteurs.py: a Status row compiles the detectors (can the data be trusted?), the strongest level over all sensors (plan point 50)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 10:56:52 +01:00
maximeandClaude Opus 5.5 bebe366332 detecteurs.py: every category of the journal has its row, even without events on the range
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 10:45:55 +01:00
maximeandClaude Opus 5.5 37175bc312 detecteurs.py: a first click on an event keeps only its sensors on the curves, a second plays its timelapse
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 10:42:34 +01:00
maximeandClaude Opus 5.5 eca278279d comparaison.py: the end-of-session page of /boucle is now the detecteurs.py page, with the analyst's bars above the detectors'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 10:30:18 +01:00
maximeandClaude Opus 5.5 7fa79cb941 detecteurs.py: center the image with its slider below, legend on top so it no longer overlaps the Error rate colorbar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 10:24:09 +01:00
maximeandClaude Opus 5.5 0ea1bc2184 detecteurs.py: camera images browser, camera pose row, per-sensor legend, event timelapse on click
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 10:15:26 +01:00
maximeandClaude Opus 5.5 fb2160a12d Add the Error rate line and its colorbar to the loop's end-of-session page, shared with detecteurs.py
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 10:05:04 +01:00
maximeandClaude Opus 5.5 0e761d80e2 Loop WILDSTRUBEL: process fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:56:13 +01:00
maximeandClaude Opus 5.5 2d89c21df1 Add --ameliorer to /aiguiser, like /boucle (D-076)
The same ameliorateur agent runs after the releveur; its scope now depends
on the process named in its request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:46:11 +01:00
maximeandClaude Opus 5.5 d2a1fcef25 Ajouter le détecteur degradee et la ligne Error rate de la page des détecteurs
Détecteur degradee : une cible rejetée la plupart du temps, jour après jour,
quand les autres sont vues (catégorie cible_degradee, grisée, comptée par la
boucle). Page detecteurs.py : error_value moyenne de tous les capteurs à chaque
instant, du vert au rouge, sous les barres.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:00:34 +01:00
maximeandClaude Opus 5.5 3d9e9d3a26 Add a page of the journal detectors alone on a station and a date range
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:28:19 +01:00
maximeandClaude Opus 5.5 9392f2ed8d Loop FLORIDA: process fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:26:11 +01:00
maximeandClaude Opus 5.5 432530a554 Boucle: one batch per session, the --du/--au range (D-072)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:05:01 +01:00
maximeandClaude Opus 5.5 6ea82ca918 Loop CLARIDEN: process fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:32:31 +01:00
maximeandClaude Opus 5.5 55519e53b3 Loop: --ameliorer runs an improver after the releveur (D-071)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:11:31 +01:00
maximeandClaude Opus 5.5 a614010292 Loop: commit sessions directly on master (D-070)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:05:28 +01:00
maximeandClaude Opus 5.5 d5bae7a696 Add the loop's end-of-session page and a detector benchmark on the case base
- End-of-session page for /boucle: the session's curves, the analyst's
  labels against the detectors' events per category, a plain score table
  and the benchmark (comparaison.py, D-066)
- Detectors moved to vues-deplacements/detectors/ (D-067)
- Detectors must detect everything; what the client sees is a separate
  layer (D-068)
- Benchmark: each case keeps its labels from creation (etiquettes.json),
  benchmark.py scores the detectors on every case, history in
  vues-deplacements/benchmark/historique.csv; run by /boucle at each lot,
  after each change and at the end, read by the upgrader and validator;
  labels for C-001..C-005 from one analyst pass corrected by their files,
  C-006..C-008 from lot 01 (D-069)
- Fixes from the releveur's notes: /boucle arguments and other sessions,
  branch name in the spec, detector name in categories.py output, learned
  case header, anonymiser.py (camera/, no empty CSVs, --etiquettes),
  ensemble.py (clock-aligned steps, title), plages.py (same-sign merge),
  labeling request written into /nouveau-cas
- Also carries the other session's uncommitted D-065 edits in the same
  files; data/, .gitignore, pomper.py and stations.py are left out

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:48:13 +01:00
maximeandClaude Opus 5.5 7714a55cfa Score the detectors against every label of the station at each loop batch (D-062, point 45)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 11:25:12 +01:00
maximeandClaude Opus 5.5 02ed7a4a60 Record the analyst's labels at every loop batch (D-061, point 44)
Each batch now leaves etiquettes.json next to the critique: the analyst's
own reading, written before the detectors' output, one entry per moment,
checked by critiquer-lot/etiquettes.py against the event map and the
station's sensors. Groundwork for a future learned model.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 09:39:34 +01:00
maximeandClaude Opus 5.5 260d7f70fc Add the releveur agent for difficulties in automatic processes (D-060)
Each /boucle subagent now ends its output with a Difficultés section;
at the end of a session the orchestrator calls the releveur once, which
locates the instruction or file at fault and records it in
docs/ameliorations-processus.md, without fixing anything.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 16:22:30 +02:00
maximeandClaude Opus 5.5 54d1c6a142 Document the automatic loop as validated, run lot by lot by the user (D-057)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 15:26:36 +02:00
maximeandClaude Opus 5.5 16be87e1ce Add the /boucle orchestrator skill
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 15:13:19 +02:00