Commit Graph
105 Commits
Author SHA1 Message Date
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 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 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 6be683819e Record the automatic loop decision (D-057)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 15:14:14 +02:00
maximeandClaude Opus 5.5 955566d86f Clean the journal curves, unfold its timeline and sort it in batches (D-056)
Plan points 18 to 26, 30, 39, 40 and the point 37 housekeeping:
- greyed zones per target, vertical scale without the zones to ignore, Fit all,
  mm by default with a px switch, Support view, Expand (one row per category);
- cleaned curves: cut in the zones to ignore, raw data kept there in thin grey;
- target02 to target05 count as targets; smoothing questions answered;
- categories.py sorts in slices with 3 days of history by default;
- the pumping script points to ~/monitoring-dashboard and skips diff images;
- CLAUDE.md back under 200 lines; a case page is named after its case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 14:31:42 +02:00
maximeandClaude Opus 5.5 86547f089b Grade visibility, add the periodic effect and the slow drift to the morning journal (D-056)
- Visibility: v0 kept after a measured trial of a simpler version (archived); two levels, Reduced and No visibility
- Thermal: a 24-hour sinusoid confirms the daily wave, split into thermal expansion and contraction events
- Jumps tested from the first measurement; turbulence never kept over a shift to check (CLARIDEN)
- Data gaps say whether camera images exist; Displacements trends become slow drift events
- Threshold registry moved to vues-deplacements/contexte/seuils-du-journal.md; plan points 11 to 17, 38 and 41 validated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:22:06 +02:00
maximeandClaude Opus 5.5 4ac95ae1ca Classify the morning journal into eight categories and validate plan points 1 to 10 (D-056)
- Event map regrouped into six families, 33 events including hypothetical ones, with the journal categories (section 4)
- categories.py turns detector episodes into categorised events: absorption of brief jumps, merging, catégorique phrases
- Journal tab: one "What happened" row coloured by family, cards, and an Images button playing the event's timelapse
- Plan: user-validated points marked, points 39 and 40 added; anomaly definition clarified in D-056

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 11:02:38 +02:00
maxime 23f01d7c23 nouvelle planification 2026-10-23 21:52:08 +02:00
maximeandClaude Opus 5.5 294e024e5a Move Displacements into a tab of the Explore mockup and document the session (D-055)
The jumps and trends now sit in a Displacements tab after Diagnosis
(#tab=displacements), no longer in a separate sidebar page; a click on
a row opens the Diagnosis tab on that target.

Documented: what the client looks at (jumps and trends, not errors,
handled upstream) in docs/displacement/domaine/ce-que-regarde-le-client.md;
the expert's reading of NORDEND in the case journey; the experimental
way of working in vues-deplacements/CLAUDE.md; D-055, the spec, the
note, the README and the project map.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 18:26:58 +02:00
maximeandClaude Opus 5.5 d07edace60 Detect every jump and the trends in the Displacements page (D-055)
Jumps: a sudden change within 2 h (8 times the target's usual 2-hour
change) that lasts 24 h (at least 1.4 times its daily swing); every
jump of the range, returns included, so PR17's return on 12/10 now
shows. Trends: Theil-Sen slope and Kendall tau of the daily levels,
jumps set aside, kept when the drift over the period reaches the daily
swing and goes steadily one way. Provisional thresholds; method and
results in vues-deplacements/contexte/detection-d-anomalies.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 18:22:54 +02:00
maximeandClaude Opus 5.5 261f8c9038 Add the Displacements page: permanent displacements of the targets (D-055)
Mechanical anomaly detection on the hourly displacements in mm, data
unchanged: for each target and axis, the largest gap between the median
of the next 24 h and the previous 24 h, kept above 3 times the target's
daily swing (provisional). Jumps within 6 h form one event, so a common
jump is not several anomalies. Grey curves for all targets, colour for
those that jumped; a click opens Explore, Diagnosis.

Note on the idea, first trial and leads in
vues-deplacements/contexte/detection-d-anomalies.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 17:59:42 +02:00
maximeandClaude Opus 5.5 14cca7a29b Point the README, CLAUDE.md maps and D-053 status to the View and Diagnosis mockup (D-054)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 17:43:44 +02:00
maximeandClaude Opus 5.5 57dab8e47a Rework the Diagnosis tab: curves in mm, AI request, link with View; drop the grid (D-054)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 17:29:28 +02:00
maximeandClaude Opus 5.5 6587a08723 Add the implementation plan of the Explore mockup; color the grid by deviation from the first 24 h (D-053)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:50:27 +02:00
maximeandClaude Opus 5.5 6e52bbc66a Add the spec of the Explore mockup with a Diagnosis tab (D-053)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:39:37 +02:00
maximeandClaude Opus 5.5 1ee363d746 Add the vues-deplacements/ workspace for the displacement views (D-052)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 11:57:57 +02:00
maximeandClaude Opus 5.5 96b385cc65 Record D-052: keep the diagnostic agent, start displacement views from a real case
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 11:39:58 +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 43a1438550 Record the C-001 match test with coded names
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 17:49:05 +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 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 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 bfd0c924f6 Add 24 hourly camera images of PS des Coudres as ground truth (D-045)
Images extracted by hand, one per full hour from 2026-10-13 12:00 to
2026-10-14 11:00 UTC, renamed <UTC time>_<original number>.jpg. UTC is
confirmed by the user and matches sunset and sunrise. They cover the
second night episode on REF_G and REF_D.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 13:34:27 +02:00
maximeandClaude Opus 5.5 1e80ee0acb Add PS des Coudres optical exports as the displacement working set (D-045)
Exports go to data/<STATION>/displacement/, out of reach of the system
metrics loader. The 15-min "advanced" export (UTC) is the analysis source;
the hourly export is kept for the corr_x/corr_y conversion factors.
Document both formats and record the open questions in the framing doc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 12:15:34 +02:00
maximeandClaude Opus 5.5 60ed5c85ed Frame optical series work: detect external events, correct the curves (D-044)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 10:41:47 +02:00
maximeandClaude Opus 5.5 997e842568 Rename DAILY_MAINS_POWER to DAILY_POWER_SOURCE
The user's preferred name. The module becomes src/energy/power_source.py
and the sheet docs/energy/analyses/daily_power_source.md; the
calculation and the results are unchanged (D-043).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 17:23:26 +02:00
maximeandClaude Opus 5.5 9177982de1 Add DAILY_MAINS_POWER: on mains, a mains loss turns the day red at once
A station is on mains when its BusVoltage mean over the 3 days before
the day is >= 14.0 V (solar never exceeds 13.50 V on VERMONT; mains
stays >= 14.08 V). On mains, the mains loss decides the day color
instead of the state x trend matrix: red as soon as an hour falls under
13.4 V (top of the OCV plateau; mains-on hours stay >= 13.65 V, mains-off
hours are 13.1-13.3 V). On MISSISSIPPI the day turns red 1-2 h after the
loss instead of 29-40 h with the matrix; WEISSHORN and NORDEND (mains)
raise no false alert, VERMONT (solar) is unchanged (D-043).

The matrix drawio gets the mains case, the site figure a third panel,
and the support notification and the client Energy block header show
"On mains" / "Not on mains" / "Mains unknown".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 17:22:16 +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 27c52bac75 Deliver Temperature in the mockups, with its site figure and guide
Temperature joins the mockups' list of domains (D-041): a Red
notification on the support Home, and a one-line block on the client
view ("Hottest (24 h) 43 °C · limit 97.5 °C") for the stations that
measure the GPU. src/temperature/final.py writes the site figure; the
comparison page reuses its panel. Short two-layer guide in
docs/temperature/guide/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 16:11:21 +02:00
maximeandClaude Opus 5.5 276c34ea38 Add the temperature domain on the GPU manufacturer limit
DAILY_GPU_TEMPERATURE_LIMIT: red when an hourly GPU mean reached 97.5 °C
(T.gpu, Jetson Nano Thermal Design Guide) in the last 24 hours, green
otherwise, gray without measurement. Working sets WEISSHORN and NORDEND;
all measured days are green. D-040 replaces D-036; the exploration note
moves to docs/temperature/domaine/point-de-depart.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 16:07:36 +02:00
maximeandClaude Opus 5.5 f0990c16e6 Deliver Storage and Cellular in the mockups, with site figures and guides
The mockups now walk a list of domains (D-039): the support Home loads
every station in data/ and notifies each station x domain that is Orange
or Red; the client view becomes maquettes/user/summary.py, one System
Summary page per station with one block per measured domain. Storage
shows a free-space scale and the estimated full date; Cellular shows the
day's sends in words and a four-class signal scale.

HEADLINE moves into each day_color.py, with a Green sentence for the
client view. src/storage/final.py and src/cellular/final.py write the
site figures in English; the comparison pages reuse their panels. Each
domain gets a short two-layer guide in docs/<domaine>/guide/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 16:05:26 +02:00
maximeandClaude Opus 5.5 28d441889f Add a dev container on the host network
Docker Engine in WSL (mirrored networking), Python 3.14 and plotly,
--network=host to reach the camera over Ethernet (D-038).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 15:42:33 +02:00
maxime 5a886b4e7e cellular + storage analysis 2026-10-13 12:50:15 +02:00
maximeandClaude Opus 5.5 1a18ddd059 Document the temperature exploration and defer the domain
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 12:42:54 +02:00
maximeandClaude Opus 5.5 d43db2a66a Add the storage analyses and their day color
DAILY_STORAGE_STATE classifies the end-of-day free space of /data and
DAYS_UNTIL_STORAGE_FULL divides it by the median daily fill over 7
days. The day color reads a state x horizon matrix drawn in
docs/storage/matrice-etat-horizon.drawio. Thresholds are arbitrary for
now (D-034, D-035); expert questions stay open. On WEISSHORN the disk
fills at 28.2 MiB/day and would be full around 06/02/2027.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 12:33:11 +02:00
maximeandClaude Opus 5.5 75619e8f1c Remove the raw expert notes and the archived stations
Point the docs to the summaries that remain and record D-033.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 11:51:03 +02:00
maximeandClaude Opus 5.5 f803a7d596 Count sends without link and add NORDEND to the cellular working set
DAILY_LINK_STATE falls back on last_sync for exports without link,
treats the start of history as unknown, and records D-032. Document
the hourly counting flaws, the observed 15-minute cadence, and the
open questions for the specialist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 11:50:07 +02:00
maximeandClaude Opus 5.5 91ba1bd8ef Add the DAILY_LINK_STATE and DAILY_SIGNAL_STATE cellular analyses
Explore WEISSHORN for the cellular domain, count lost sends and
messages, grade the daily RSRP and RSRQ medians on the published
Quectel grid, and record D-031.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 10:48:34 +02:00
maximeandClaude Opus 5.5 b0e77d2745 Record D-030 and map the Storage and Cellular domains
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 09:39:52 +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 ef8ad70285 Turn CLAUDE.md into a full map of the repository
D-028: CLAUDE.md names every folder and document with its size in
lines, says how to read without filling the context (outline of a long
file then one section, index of the decision log, CSV by script,
folders not to read), and gives the current state instead of a dated
history. It and D-026 now name final.py for the delivered script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 08:58:43 +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
maximeandClaude Opus 5.5 8a32f4d418 Organize the project by domain and name analyses by their rule
Energy code moves to src/energy/ and its docs to docs/energy/; shared code
(CSV loading, venv switch, browser, zoom script) goes to src/common/, and the
AIMsight originals to docs/aimsight/. Analyses are no longer numbered: two
Energy scripts remain, daily.py (delivered state and trend) and
all_analyses.py (comparison of the four). Calculations and pages unchanged (D-026).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 17:12:37 +02:00
maximeandClaude Opus 5.5 77c8f24d2f Add the support Home mockup with a Status section
D-025: the support side gets the site's home page (one tile per
station: name, last voltage, curve) with a Status section on top. It
holds one notification per station whose last day of the window is
Orange or Red (src/day_color.py), the most serious first; Green
notifies nothing. Each notification, like the station tile, links to
the station's client view (out/maquette_user_energy.html).
maquettes/support/home.py writes out/maquette_support_home.html with
the standard library only (inline SVG, no plotly). Only VERMONT has
data; the other tiles keep the site's names and stay empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 16:32:11 +02:00
maximeandClaude Opus 5.5 5f260d9830 Document the mockup state and its open points
CLAUDE.md records D-022/D-023 in the project state and the next mockup
steps (client Energy step by step, then the support side). D-022 lists
the open points of the Energy mockup: the guide is still in French,
the battery scale has no IR compensation, the energy save button is
for the site team to build, and a day in progress is not yet flagged
as provisional on the client side.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 16:24:15 +02:00
maximeandClaude Opus 5.5 1a2220d317 Add the day focus: a day and the day before only
D-024: to explain a day's color, show only that day and the day before,
the only days analyses 03 and 04 read for it. day_color.focus() selects
the data (standard library); src/focus_jour.py prints a traceable fact
summary and writes a 48 h BusVoltage figure (out/<STATION>_focus_<date>
.html and .json). Analysis 03 gains the night_end_h fact; the other
facts are unchanged. The client Energy mockup does not use this figure:
the user prefers numeric facts there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 16:23:45 +02:00
maximeandClaude Opus 5.5 8452973912 Add the client Energy mockup and switch site texts to English
D-022: page mockups are HTML built from real data, in maquettes/user/
(client) and maquettes/support/; Figma only on request.
maquettes/user/energy.py renders the System Summary page with a
Diagnostic section: an Energy box with the day's color, a one-line
headline, a battery scale (zones from the collector's LiFePO4 OCV
table, no percentage shown), the trend against the day before, an
"Activate energy save mode" button on orange and red days (mockup
only, sends nothing), and two collapsibles: the full history (D-021
figure) and the guide (part 1 of the manual, rendered from Markdown).

D-023: everything meant for the monitoring site is in English,
including the titles, legends, axes and hovers of the 03/04 panels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 16:23:37 +02:00