Commit Graph
25 Commits
Author SHA1 Message Date
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 5ff342a7f2 Keep each case's labeling record in its own folder
- etiquetage.md sits next to etiquettes.json in every case: C-001..C-005
  moved from vues-deplacements/benchmark/etiquetage/, C-006..C-008 written
  from lot 01 (source and table of moments, coded names)
- anonymiser.py --etiquettes now writes etiquetage.md too (with its test);
  builder, /nouveau-cas, anonymiser-cas, agent spec and D-069 follow
- vues-deplacements/benchmark/ keeps only the history

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:54:37 +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 add165dc38 Let every agent inherit the session model and effort (D-063)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 12:09:12 +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 da34d16d06 Add draw.io diagrams of the AI pipelines: overview, /boucle, /aiguiser, diagnostic agent
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 19:20:25 +02:00
maximeandClaude Opus 5.5 e5c03b1d4a Record the reading sharpening decision (D-059)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 16:33:19 +02:00
maximeandClaude Opus 5.5 4d14f5ea5d Open the diagnostic agent to project knowledge and the journal detectors (D-058)
The agent now serves one precise case, reads the project's displacement
knowledge and the whole case base, starts from the detectors' events
without judging them, and no longer has conclusions imposed on it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 15:46:30 +02:00
maximeandClaude Opus 5.5 d761395f02 Record the C-001 review in the spec and D-051
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 11:01:52 +02:00
maximeandClaude Opus 5.5 46bc89b8ad Review case C-001: data in the case, shorter human-first case file
Copy the station's displacement export and images into the case folder,
with coded sensor names; the station takes the case number instead of
S01, and graphique.py / vignettes.py drop --alias (D-050).

Rewrite C-001 as the expert's diagnosis of this event only: summary,
symptom, verdict, signature with commands, diagnosis, evidence. Drop
exclusions, expected output, unknowns and test history; matching no
longer uses exclusions (D-051). The corr_x jumps at the reference
switches are judged negligible.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 10:52:58 +02:00
maximeandClaude Opus 5.5 a684349501 Code station and sensor names in the diagnostic case base (D-049)
Add the anonymiser-cas skill: a growing registry gives stable codes
(S01, R1, C1), a stdlib script rewrites a case and renames its files,
and graphique.py / vignettes.py take --alias to plot with codes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 17:45:40 +02:00
maximeandClaude Opus 5.5 2aa15a5df0 Add the /nouveau-cas skill to add expert-validated cases to the diagnostic case base
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 17:00:13 +02:00
maximeandClaude Opus 5.5 3662851f06 Tighten case matching after review: exclusions, asymmetry, two-case rule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 16:45:45 +02:00
maximeandClaude Opus 5.5 d4514008fc Run the diagnostic agent blind with an empty case base and record the results
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 16:38:41 +02:00
maximeandClaude Opus 5.5 ee61d62d79 Document the diagnostic agent case base: spec, D-048, README and CLAUDE.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 16:34:45 +02:00
maximeandClaude Opus 5.5 2a39335fb5 Make diagnostic reports short, evidence-backed and anomaly-only (D-047)
Reports become a folder with rapport.md and its figures: a verdict, one
short section per anomaly (series plot with shaded window, full-resolution
image crops around the sensors), constant behaviour in one line each.
graphique.py gains --zone and --sortie; new vignettes.py crops images at
the sensors' raw x/y. Old reports removed; the blind rescan of PS des
Coudres finds the single anomaly flagged by the specialist (REF_G/REF_D).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 16:00:40 +02:00
maximeandClaude Opus 5.5 4b937da95b Fix review findings in the diagnostic agent tools and instructions
Inclusive --fin at the displayed minute, UTC for naive time_utc, neutral examples,
5-significant-digit values, 'vide' vs '-' cells, no empty or gap-bridging plots,
timestamped report names, and an up-to-date CLAUDE.md next step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 15:35:44 +02:00
maximeandClaude Opus 5.5 fcc01d2d68 Run the diagnostic agent blind on PS des Coudres and record the results
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 15:25:09 +02:00
maximeandClaude Opus 5.5 dcda007681 Record the diagnostic agent (D-046) in decisions, CLAUDE.md and its spec
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 15:15:04 +02:00
maximeandClaude Opus 5.5 5d639e5ee3 Design the diagnostic agent, a Claude Code pilot of D-042
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 14:00:38 +02:00
maximeandClaude Opus 5.5 28ed86baba Add the on-demand investigation agent for measurement events (D-042)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 17:00:39 +02:00
maximeandClaude Opus 5.5 c3e9eef4e4 Move the VERMONT CSVs into data/VERMONT
New data will be added per station without mixing with the working set.
All scripts now default to data/VERMONT/; docs and D-029 follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 09:10:35 +02:00
maximeandClaude Opus 5.5 df9ab5cdae Add the exploratory report on a diagnostic agent framework
Record decision D-027: a server-side LLM agent layer next to the
unchanged deterministic rules, aimed at unknown anomalies and rule
edge cases. The agent annotates and never rewrites the day color.
Home-made harness (Messages API + Tool Runner), staged start with a
manual Energy pilot on VERMONT history. D-003 is partly replaced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 17:41:42 +02:00