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>
This commit is contained in:
1 parent
cb98818712
commit
56b93e9b82
55 files changed
+135
-127
No files matched your search
@@ -5,7 +5,7 @@ Usage : python3 vues-deplacements/aiguiser/voir.py data/NORDEND/ --debut 2026-09
|
||||
|
||||
Lance, avec les réglages du skill lire-les-donnees, inventaire, ensemble, resume, graphique et vignettes.
|
||||
La page est rangée dans out/voir/<STATION>_<début>_<fin>_<version des outils>/ ; la version est le hash
|
||||
git de agents/diagnostic/outils/ (« +modif » si le dossier a des changements non commités) : deux pages de
|
||||
git de agent-tools/ (« +modif » si le dossier a des changements non commités) : deux pages de
|
||||
versions différentes se comparent côte à côte. Sans --capteurs, les vignettes montrent les 3 capteurs qui
|
||||
s'écartent le plus de leur niveau habituel (error_value, en MAD) et le plus calme comme témoin.
|
||||
Rend ce que les outils rendent, aucun verdict.
|
||||
@@ -19,7 +19,7 @@ import subprocess
|
||||
import sys
|
||||
|
||||
RACINE = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", ".."))
|
||||
OUTILS = os.path.join(RACINE, "agents", "diagnostic", "outils")
|
||||
OUTILS = os.path.join(RACINE, "agent-tools")
|
||||
sys.path.insert(0, OUTILS)
|
||||
from donnees import charger, est_reference, filtrer, heure_image, instant, iso, trouver # noqa: E402
|
||||
|
||||
@@ -31,8 +31,8 @@ NB_IMAGES = 5
|
||||
|
||||
def version_outils():
|
||||
sh = lambda *a: subprocess.run(["git", "-C", RACINE, *a], capture_output=True, text=True).stdout.strip()
|
||||
h = sh("rev-parse", "--short", "HEAD:agents/diagnostic/outils")
|
||||
return h + ("+modif" if sh("status", "--porcelain", "--", "agents/diagnostic/outils") else "")
|
||||
h = sh("rev-parse", "--short", "HEAD:agent-tools")
|
||||
return h + ("+modif" if sh("status", "--porcelain", "--", "agent-tools") else "")
|
||||
|
||||
|
||||
def ecarts(par, debut, fin):
|
||||
|
||||
Reference in new issue
Block a user