Dépôts renommés avec le préfixe aimsight- : chemins et noms mis à jour

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-16 14:56:41 +01:00
1 parent 1d1ce142ec
commit d2146af0e8
6 files changed
+29 -29

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# CLAUDE.md # CLAUDE.md
Diagnostic-app: the control station of the AIMsight diagnostic (`README.md`): the web app, and the launching of processes whose code lives elsewhere. A camera follows targets on a structure; the detectors read the displacement series of the stations and flag the moments when the curves must not be trusted (rain, fog, spider web, turbulence…) or a real movement. The architecture of the repositories: `docs/architecture.drawio`. aimsight-app: the control station of the AIMsight diagnostic (`README.md`): the web app, and the launching of processes whose code lives elsewhere. A camera follows targets on a structure; the detectors read the displacement series of the stations and flag the moments when the curves must not be trusted (rain, fog, spider web, turbulence…) or a real movement. The architecture of the repositories: `docs/architecture.drawio`.
- **The processes**: the Analysis tab launches `agents:analyst` (plugin `agents/`) on a range, with `instructions/analyst.md` and `DETECTORS: no` (labels and report in `labeling/auto/analyses/<STATION>_<start>_<end>/`, submitted to `labeling/auto/<STATION>.jsonl`); "Optimize the detectors" launches `/optimize` in `optimizer/` on the analysis (its request in `app/server/analysis.py`, its summary in `optimizer/sessions/<analysis>_<time>/summary.md`), which commits the detectors in `detectors/` and the reading tools in `tools/`. - **The processes**: the Analysis tab launches `agents:analyst` (plugin `agents/`) on a range, with `instructions/analyst.md` and `DETECTORS: no` (labels and report in `labeling/auto/analyses/<STATION>_<start>_<end>/`, submitted to `labeling/auto/<STATION>.jsonl`); "Optimize the detectors" launches `/optimize` in `optimizer/` on the analysis (its request in `app/server/analysis.py`, its summary in `optimizer/sessions/<analysis>_<time>/summary.md`), which commits the detectors in `detectors/` and the reading tools in `tools/`.
- **The links** (ignored by git, one copy of each repository on the workstation): `data/`, `labeling/`, `detectors/`, `tools/`, `agents/`, `optimizer/`; each thing is committed in its own repository, never here. This repository carries no agent, no reading tool, no workflow. - **The links** (ignored by git, one copy of each repository on the workstation): `data/`, `labeling/`, `detectors/`, `tools/`, `agents/`, `optimizer/`; each thing is committed in its own repository, never here. This repository carries no agent, no reading tool, no workflow.
+9 -9
View File
@@ -1,4 +1,4 @@
# Diagnostic-app # aimsight-app
The control station of the AIMsight diagnostic: see, analyze, launch. The Data page shows the curves, the camera images, the labels and the detectors' events; its Analysis tab launches, by `claude -p`, processes whose code lives in the other repositories: The control station of the AIMsight diagnostic: see, analyze, launch. The Data page shows the curves, the camera images, the labels and the detectors' events; its Analysis tab launches, by `claude -p`, processes whose code lives in the other repositories:
@@ -18,19 +18,19 @@ And six links, ignored by git, to the neighbouring repositories (a single copy o
| Link | Repository | What the app does with it | | Link | Repository | What the app does with it |
|---|---|---| |---|---|---|
| `data/` | `~/aimsight-data/data` | reads the data of the stations (outside git) | | `data/` | `~/aimsight-data/data` | reads the data of the stations (outside git) |
| `labeling/` | `~/labeling` | reads and writes the labels; the analyses go in `labeling/auto/analyses/` | | `labeling/` | `~/aimsight-labeling` | reads and writes the labels; the analyses go in `labeling/auto/analyses/` |
| `detectors/` | `~/detectors` | reads the detectors' events (`scripts/categories.py`) | | `detectors/` | `~/aimsight-detectors` | reads the detectors' events (`scripts/categories.py`) |
| `tools/` | `~/tools` | reads the data through `tools/scripts/data.py`; the analyst uses it, the upgrader writes in it (Optimizer) | | `tools/` | `~/aimsight-tools` | reads the data through `tools/scripts/data.py`; the analyst uses it, the upgrader writes in it (Optimizer) |
| `agents/` | `~/agents` | the plugin of the agents (`--plugin-dir agents`, `--agent agents:analyst`) | | `agents/` | `~/aimsight-agents` | the plugin of the agents (`--plugin-dir agents`, `--agent agents:analyst`) |
| `optimizer/` | `~/Optimizer` | launches `/optimize` there; reads the summaries in `optimizer/sessions/` | | `optimizer/` | `~/aimsight-optimizer` | launches `/optimize` there; reads the summaries in `optimizer/sessions/` |
Each thing is committed in its own repository: the labels in `~/labeling`, the detectors in `~/detectors` (the optimization session does it, without pushing), the tools in `~/tools` (the same session, through the upgrader). Each thing is committed in its own repository: the labels in `~/aimsight-labeling`, the detectors in `~/aimsight-detectors` (the optimization session does it, without pushing), the tools in `~/aimsight-tools` (the same session, through the upgrader).
## Install and launch ## Install and launch
```bash ```bash
ln -s ~/aimsight-data/data data && ln -s ~/labeling labeling && ln -s ~/detectors detectors ln -s ~/aimsight-data/data data && ln -s ~/aimsight-labeling labeling && ln -s ~/aimsight-detectors detectors
ln -s ~/tools tools && ln -s ~/agents agents && ln -s ~/Optimizer optimizer ln -s ~/aimsight-tools tools && ln -s ~/aimsight-agents agents && ln -s ~/aimsight-optimizer optimizer
``` ```
The VS Code task **Run app** creates `.venv` and builds the front end if they are missing, then launches the server. By hand: The VS Code task **Run app** creates `.venv` and builds the front end if they are missing, then launches the server. By hand:
+3 -3
View File
@@ -23,13 +23,13 @@ import station
FOLDER = station.LABELS / "auto" / "analyses" FOLDER = station.LABELS / "auto" / "analyses"
DETECTORS = station.ROOT / "detectors" DETECTORS = station.ROOT / "detectors"
AGENTS = station.ROOT / "agents" # the plugin of the generic agents (~/agents) AGENTS = station.ROOT / "agents" # the plugin of the generic agents (~/aimsight-agents)
OPTIMIZER = station.ROOT / "optimizer" # the Optimizer repository (~/Optimizer), where /optimize runs OPTIMIZER = station.ROOT / "optimizer" # the Optimizer repository (~/aimsight-optimizer), where /optimize runs
SESSIONS = OPTIMIZER / "sessions" SESSIONS = OPTIMIZER / "sessions"
# the request of /optimize (optimizer/README.md), paths relative to the root of Optimizer (its links); Optimizer reads the # the request of /optimize (optimizer/README.md), paths relative to the root of Optimizer (its links); Optimizer reads the
# station and the range in the analysis # station and the range in the analysis
OPTIMIZE = """/optimize ANALYSIS: labeling/auto/analyses/{name}/. OUT: sessions/{name}_{time}/. Caller's context: \ OPTIMIZE = """/optimize ANALYSIS: labeling/auto/analyses/{name}/. OUT: sessions/{name}_{time}/. Caller's context: \
Diagnostic-app, through Optimizer; read-only on data/ and labeling/; commit only in detectors/ and tools/, on their current \ aimsight-app, through Optimizer; read-only on data/ and labeling/; commit only in detectors/ and tools/, on their current \
branch; do not commit OUT.""" branch; do not commit OUT."""
REQUEST = """Station: data/{station}/. Range: {start} → {end} (UTC). Hints: {hints}. \ REQUEST = """Station: data/{station}/. Range: {start} → {end} (UTC). Hints: {hints}. \
Output folder: {out}/. DETECTORS: no. INSTRUCTIONS: instructions/analyst.md.""" Output folder: {out}/. DETECTORS: no. INSTRUCTIONS: instructions/analyst.md."""
+2 -2
View File
@@ -20,10 +20,10 @@ sys.path[:0] = [str(ROOT / "tools" / "scripts"), str(ROOT / "detectors" / "scrip
import data # noqa: E402 import data # noqa: E402
from categories import events # noqa: E402 from categories import events # noqa: E402
# data/ and labeling/ are links to ~/aimsight-data/data and ~/labeling: no resolve(), the agents see data/ and labeling/ # data/ and labeling/ are links to ~/aimsight-data/data and ~/aimsight-labeling: no resolve(), the agents see data/ and labeling/
DATA = Path(os.environ.get("AIMSIGHT_DATA", ROOT / "data")).absolute() DATA = Path(os.environ.get("AIMSIGHT_DATA", ROOT / "data")).absolute()
LABELS = Path(os.environ.get("AIMSIGHT_LABELS", ROOT / "labeling")).absolute() LABELS = Path(os.environ.get("AIMSIGHT_LABELS", ROOT / "labeling")).absolute()
TOOLS = ROOT / "tools" # the reading harness (~/tools), read by the analyst and written by the upgrader (Optimizer) TOOLS = ROOT / "tools" # the reading harness (~/aimsight-tools), read by the analyst and written by the upgrader (Optimizer)
def links(): def links():
+13 -13
View File
@@ -10,19 +10,19 @@
<mxCell id="expert" parent="1" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;fontSize=12;" value="L&#39;expert" vertex="1"> <mxCell id="expert" parent="1" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;fontSize=12;" value="L&#39;expert" vertex="1">
<mxGeometry height="55" width="30" x="800" y="-130" as="geometry" /> <mxGeometry height="55" width="30" x="800" y="-130" as="geometry" />
</mxCell> </mxCell>
<mxCell id="app" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;Diagnostic-App&lt;/b&gt;&lt;br&gt;&lt;i&gt;le poste de pilotage : voir, analyser, lancer&lt;/i&gt;&lt;br&gt;• app/ : serveur FastAPI, page Data (courbes, images, étiquettes, événements des détecteurs), onglet Analysis&lt;br&gt;• boutons « Analyser la plage », « Optimiser les détecteurs » : ils lancent des processus dont le code vit ailleurs&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; consignes/analyste.md : ce que l&#39;app demande à l&#39;analyste (dossier de sortie, rapport, dialogue)&lt;br&gt;&lt;font color=&quot;#c62828&quot;&gt;&lt;b&gt;→&lt;/b&gt;&lt;/font&gt; agent-tools/ et le skill lire-les-donnees (vers tools) ; analyste et tool-builder (vers agents)" vertex="1"> <mxCell id="app" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;aimsight-app&lt;/b&gt;&lt;br&gt;&lt;i&gt;le poste de pilotage : voir, analyser, lancer&lt;/i&gt;&lt;br&gt;• app/ : serveur FastAPI, page Data (courbes, images, étiquettes, événements des détecteurs), onglet Analysis&lt;br&gt;• boutons « Analyser la plage », « Optimiser les détecteurs » : ils lancent des processus dont le code vit ailleurs&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; consignes/analyste.md : ce que l&#39;app demande à l&#39;analyste (dossier de sortie, rapport, dialogue)&lt;br&gt;&lt;font color=&quot;#c62828&quot;&gt;&lt;b&gt;→&lt;/b&gt;&lt;/font&gt; agent-tools/ et le skill lire-les-donnees (vers tools) ; analyste et tool-builder (vers agents)" vertex="1">
<mxGeometry height="110" width="610" x="510" y="70" as="geometry" /> <mxGeometry height="110" width="610" x="510" y="70" as="geometry" />
</mxCell> </mxCell>
<mxCell id="agents" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;agents&lt;/b&gt;&lt;br&gt;&lt;i&gt;les agents génériques, un seul exemplaire de chacun&lt;/i&gt;&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; analyste : DETECTEURS oui/non, CONSIGNES (le fichier de l&#39;appelant)&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; tool-builder (de Diagnostic-App)&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; upgrader, validator (de detectors)&lt;br&gt;• un plugin Claude Code, chargé en lecture ; l&#39;appelant passe ses paramètres dans la requête&lt;br&gt;• Claude n&#39;écrit pas dans un plugin chargé : ce qui s&#39;écrit (outils, détecteurs, séances) vit ailleurs" vertex="1"> <mxCell id="agents" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;aimsight-agents&lt;/b&gt;&lt;br&gt;&lt;i&gt;les agents génériques, un seul exemplaire de chacun&lt;/i&gt;&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; analyste : DETECTEURS oui/non, CONSIGNES (le fichier de l&#39;appelant)&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; tool-builder (de aimsight-app)&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; upgrader, validator (de detectors)&lt;br&gt;• un plugin Claude Code, chargé en lecture ; l&#39;appelant passe ses paramètres dans la requête&lt;br&gt;• Claude n&#39;écrit pas dans un plugin chargé : ce qui s&#39;écrit (outils, détecteurs, séances) vit ailleurs" vertex="1">
<mxGeometry height="130" width="540" x="-325" y="450" as="geometry" /> <mxGeometry height="130" width="540" x="-325" y="450" as="geometry" />
</mxCell> </mxCell>
<mxCell id="opt" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;Optimizer&lt;/b&gt;&lt;br&gt;&lt;i&gt;l&#39;optimisation des détecteurs, sur les étiquettes de labeling/auto&lt;/i&gt;&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; .claude/skills/improve/ : l&#39;orchestrateur (ex wf-improve de detectors)&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; seances/&amp;lt;analyse&amp;gt;_&amp;lt;heure&amp;gt;/ : mesures, modification, validation, bilan&lt;br&gt;• lancé par l&#39;app ou à la main&lt;br&gt;&lt;font color=&quot;#c62828&quot;&gt;&lt;b&gt;→&lt;/b&gt;&lt;/font&gt; archive/ : batch.py, scanner, batches/, outils/, essais et leur spec : l&#39;auto-étiquetage par les détecteurs, arrêté" vertex="1"> <mxCell id="opt" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;aimsight-optimizer&lt;/b&gt;&lt;br&gt;&lt;i&gt;l&#39;optimisation des détecteurs, sur les étiquettes de labeling/auto&lt;/i&gt;&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; .claude/skills/improve/ : l&#39;orchestrateur (ex wf-improve de detectors)&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; seances/&amp;lt;analyse&amp;gt;_&amp;lt;heure&amp;gt;/ : mesures, modification, validation, bilan&lt;br&gt;• lancé par l&#39;app ou à la main&lt;br&gt;&lt;font color=&quot;#c62828&quot;&gt;&lt;b&gt;→&lt;/b&gt;&lt;/font&gt; archive/ : batch.py, scanner, batches/, outils/, essais et leur spec : l&#39;auto-étiquetage par les détecteurs, arrêté" vertex="1">
<mxGeometry height="130" width="440" x="510" y="660" as="geometry" /> <mxGeometry height="130" width="440" x="510" y="660" as="geometry" />
</mxCell> </mxCell>
<mxCell id="data" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;aimsight-data&lt;/b&gt;&lt;br&gt;&lt;i&gt;les données : les pomper&lt;/i&gt;&lt;br&gt;• data/&amp;lt;STATION&amp;gt;/ : les mesures et les images (hors de git)&lt;br&gt;• extraction/ : le pompage, chaque nuit" vertex="1"> <mxCell id="data" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;aimsight-data&lt;/b&gt;&lt;br&gt;&lt;i&gt;les données : les pomper&lt;/i&gt;&lt;br&gt;• data/&amp;lt;STATION&amp;gt;/ : les mesures et les images (hors de git)&lt;br&gt;• extraction/ : le pompage, chaque nuit" vertex="1">
<mxGeometry height="95" width="590" x="-220" y="-80" as="geometry" /> <mxGeometry height="95" width="590" x="-220" y="-80" as="geometry" />
</mxCell> </mxCell>
<mxCell id="tools" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#b0e3e6;strokeColor=#0e8088;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;tools&lt;/b&gt; (nouveau)&lt;br&gt;&lt;i&gt;le harnais de lecture : les méthodes données à l&#39;agent pour appréhender les données&lt;/i&gt;&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; les outils (de Diagnostic-App agent-tools/) : inventaire, resume, plages, jours, ensemble, metriques, qualite, stations, graphique, vignettes, gif&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; donnees.py, la lecture commune (aussi pour l&#39;app) ; le guide, quel outil pour quelle question (ex skill lire-les-donnees)&lt;br&gt;• seul le tool-builder y écrit : il optimise ou ajoute, ne retire rien" vertex="1"> <mxCell id="tools" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#b0e3e6;strokeColor=#0e8088;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;aimsight-tools&lt;/b&gt; (nouveau)&lt;br&gt;&lt;i&gt;le harnais de lecture : les méthodes données à l&#39;agent pour appréhender les données&lt;/i&gt;&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; les outils (de aimsight-app agent-tools/) : inventaire, resume, plages, jours, ensemble, metriques, qualite, stations, graphique, vignettes, gif&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; donnees.py, la lecture commune (aussi pour l&#39;app) ; le guide, quel outil pour quelle question (ex skill lire-les-donnees)&lt;br&gt;• seul le tool-builder y écrit : il optimise ou ajoute, ne retire rien" vertex="1">
<mxGeometry height="165" width="470" x="-350" y="160" as="geometry" /> <mxGeometry height="165" width="470" x="-350" y="160" as="geometry" />
</mxCell> </mxCell>
<mxCell id="dep-t1" edge="1" parent="1" source="tools" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.398;entryY=1;entryDx=0;entryDy=0;" target="data" value="lit data/"> <mxCell id="dep-t1" edge="1" parent="1" source="tools" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.398;entryY=1;entryDx=0;entryDy=0;" target="data" value="lit data/">
@@ -35,10 +35,10 @@
</Array> </Array>
</mxGeometry> </mxGeometry>
</mxCell> </mxCell>
<mxCell id="lab" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;labeling&lt;/b&gt; — inchangé&lt;br&gt;&lt;i&gt;la vérité : les étiquettes et le savoir pour les poser&lt;/i&gt;&lt;br&gt;• manual/ : l&#39;expert ; auto/ : les agents, la vérité de l&#39;entraînement des détecteurs&lt;br&gt;• auto/analyses/ : les analyses de l&#39;app (rapport, étiquettes, scripts)&lt;br&gt;• familles, règles d&#39;étiquetage, carte des étiquettes, connaissances&lt;br&gt;• controle.py, ids.py, precedents.py (le RAG, par Ollama)" vertex="1"> <mxCell id="lab" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;aimsight-labeling&lt;/b&gt; — inchangé&lt;br&gt;&lt;i&gt;la vérité : les étiquettes et le savoir pour les poser&lt;/i&gt;&lt;br&gt;• manual/ : l&#39;expert ; auto/ : les agents, la vérité de l&#39;entraînement des détecteurs&lt;br&gt;• auto/analyses/ : les analyses de l&#39;app (rapport, étiquettes, scripts)&lt;br&gt;• familles, règles d&#39;étiquetage, carte des étiquettes, connaissances&lt;br&gt;• controle.py, ids.py, precedents.py (le RAG, par Ollama)" vertex="1">
<mxGeometry height="110" width="460" x="500" y="460" as="geometry" /> <mxGeometry height="110" width="460" x="500" y="460" as="geometry" />
</mxCell> </mxCell>
<mxCell id="det" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;detectors&lt;/b&gt;&lt;br&gt;&lt;i&gt;les détecteurs et leur benchmark&lt;/i&gt;&lt;br&gt;• scripts/ : un détecteur par famille, categories.py, data.py&lt;br&gt;• thresholds.md ; contrat lu par l&#39;app et l&#39;Optimizer : categories.events, data.py&lt;br&gt;• bench/ : score.py, regression.py, sensors.py (ex skills/wf-improve/scripts/)&lt;br&gt;&lt;font color=&quot;#c62828&quot;&gt;&lt;b&gt;→&lt;/b&gt;&lt;/font&gt; le plugin wf-improve : le skill vers Optimizer, les agents vers agents ; plus de plugin ici" vertex="1"> <mxCell id="det" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;aimsight-detectors&lt;/b&gt;&lt;br&gt;&lt;i&gt;les détecteurs et leur benchmark&lt;/i&gt;&lt;br&gt;• scripts/ : un détecteur par famille, categories.py, data.py&lt;br&gt;• thresholds.md ; contrat lu par l&#39;app et l&#39;Optimizer : categories.events, data.py&lt;br&gt;• bench/ : score.py, regression.py, sensors.py (ex skills/wf-improve/scripts/)&lt;br&gt;&lt;font color=&quot;#c62828&quot;&gt;&lt;b&gt;→&lt;/b&gt;&lt;/font&gt; le plugin wf-improve : le skill vers Optimizer, les agents vers agents ; plus de plugin ici" vertex="1">
<mxGeometry height="120" width="440" x="1240" y="665" as="geometry" /> <mxGeometry height="120" width="440" x="1240" y="665" as="geometry" />
</mxCell> </mxCell>
<mxCell id="dep-e1" edge="1" parent="1" source="expert" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;" target="app" value=""> <mxCell id="dep-e1" edge="1" parent="1" source="expert" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;" target="app" value="">
@@ -125,28 +125,28 @@
<mxCell id="titre" parent="1" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=14;" value="&lt;b style=&quot;font-size:20px&quot;&gt;Les processus&lt;/b&gt; — chaque case a la couleur du dépôt qui la porte" vertex="1"> <mxCell id="titre" parent="1" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=14;" value="&lt;b style=&quot;font-size:20px&quot;&gt;Les processus&lt;/b&gt; — chaque case a la couleur du dépôt qui la porte" vertex="1">
<mxGeometry height="30" width="740" x="40" y="16" as="geometry" /> <mxGeometry height="30" width="740" x="40" y="16" as="geometry" />
</mxCell> </mxCell>
<mxCell id="leg0" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="Diagnostic-App" vertex="1"> <mxCell id="leg0" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="aimsight-app" vertex="1">
<mxGeometry height="26" width="112" x="790" y="20" as="geometry" /> <mxGeometry height="26" width="112" x="790" y="20" as="geometry" />
</mxCell> </mxCell>
<mxCell id="leg1" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="agents" vertex="1"> <mxCell id="leg1" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="aimsight-agents" vertex="1">
<mxGeometry height="26" width="112" x="905" y="20" as="geometry" /> <mxGeometry height="26" width="112" x="905" y="20" as="geometry" />
</mxCell> </mxCell>
<mxCell id="leg2" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="Optimizer" vertex="1"> <mxCell id="leg2" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="aimsight-optimizer" vertex="1">
<mxGeometry height="26" width="112" x="1020" y="20" as="geometry" /> <mxGeometry height="26" width="112" x="1020" y="20" as="geometry" />
</mxCell> </mxCell>
<mxCell id="leg3" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="aimsight-data" vertex="1"> <mxCell id="leg3" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="aimsight-data" vertex="1">
<mxGeometry height="26" width="112" x="1135" y="20" as="geometry" /> <mxGeometry height="26" width="112" x="1135" y="20" as="geometry" />
</mxCell> </mxCell>
<mxCell id="leg4" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="labeling" vertex="1"> <mxCell id="leg4" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="aimsight-labeling" vertex="1">
<mxGeometry height="26" width="112" x="1250" y="20" as="geometry" /> <mxGeometry height="26" width="112" x="1250" y="20" as="geometry" />
</mxCell> </mxCell>
<mxCell id="leg5" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="detectors" vertex="1"> <mxCell id="leg5" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="aimsight-detectors" vertex="1">
<mxGeometry height="26" width="112" x="1365" y="20" as="geometry" /> <mxGeometry height="26" width="112" x="1365" y="20" as="geometry" />
</mxCell> </mxCell>
<mxCell id="leg6" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="extérieur" vertex="1"> <mxCell id="leg6" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="extérieur" vertex="1">
<mxGeometry height="26" width="112" x="1480" y="20" as="geometry" /> <mxGeometry height="26" width="112" x="1480" y="20" as="geometry" />
</mxCell> </mxCell>
<mxCell id="leg7" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#b0e3e6;strokeColor=#0e8088;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="tools" vertex="1"> <mxCell id="leg7" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#b0e3e6;strokeColor=#0e8088;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="aimsight-tools" vertex="1">
<mxGeometry height="26" width="112" x="1595" y="20" as="geometry" /> <mxGeometry height="26" width="112" x="1595" y="20" as="geometry" />
</mxCell> </mxCell>
<mxCell id="l1" parent="1" style="rounded=0;html=1;fillColor=#fafafa;strokeColor=#bbbbbb;" value="" vertex="1"> <mxCell id="l1" parent="1" style="rounded=0;html=1;fillColor=#fafafa;strokeColor=#bbbbbb;" value="" vertex="1">
@@ -185,7 +185,7 @@
<mxCell id="s2a" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="L&#39;expert choisit une plage dans la page Data, avec ses indices : « Analyser la plage »" vertex="1"> <mxCell id="s2a" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="L&#39;expert choisit une plage dans la page Data, avec ses indices : « Analyser la plage »" vertex="1">
<mxGeometry height="90" width="230" x="170" y="320" as="geometry" /> <mxGeometry height="90" width="230" x="170" y="320" as="geometry" />
</mxCell> </mxCell>
<mxCell id="s2b" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b&gt;analyste&lt;/b&gt;&lt;br&gt;DETECTEURS = non&lt;br&gt;CONSIGNES = Diagnostic-App/consignes/analyste.md" vertex="1"> <mxCell id="s2b" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b&gt;analyste&lt;/b&gt;&lt;br&gt;DETECTEURS = non&lt;br&gt;CONSIGNES = aimsight-app/consignes/analyste.md" vertex="1">
<mxGeometry height="110" width="290" x="470" y="310" as="geometry" /> <mxGeometry height="110" width="290" x="470" y="310" as="geometry" />
</mxCell> </mxCell>
<mxCell id="s2e" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="auto/analyses/&amp;lt;STATION&amp;gt;_&amp;lt;début&amp;gt;_&amp;lt;fin&amp;gt;/ : rapport, étiquettes, scripts outils/" vertex="1"> <mxCell id="s2e" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="auto/analyses/&amp;lt;STATION&amp;gt;_&amp;lt;début&amp;gt;_&amp;lt;fin&amp;gt;/ : rapport, étiquettes, scripts outils/" vertex="1">
+1 -1
View File
@@ -1,4 +1,4 @@
# Diagnostic-App's instructions to the analyst # aimsight-app's instructions to the analyst
What the app asks of the analyst (agents repository, `agents:analyst`), on top of its trade. Launched by the Analysis tab of the Data page (`app/server/analysis.py`), with `DETECTORS: no`. What the app asks of the analyst (agents repository, `agents:analyst`), on top of its trade. Launched by the Analysis tab of the Data page (`app/server/analysis.py`), with `DETECTORS: no`.