auto_clea
This commit is contained in:
parent
62736e60e9
commit
df6616641c
30
IA_agents/prompts/prompt-docs.md
Normal file
30
IA_agents/prompts/prompt-docs.md
Normal file
@ -0,0 +1,30 @@
|
||||
## Centralisation de la documentation (docs)
|
||||
|
||||
### Objectif
|
||||
Centraliser toute la documentation des projets dans `4NK_env/docs/<projet>/` et supprimer les dossiers `docs/` des sous‑projets (sans symlinks à terme).
|
||||
|
||||
### État actuel
|
||||
- Dossiers centralisés disponibles: `4NK_env/docs/lecoffre_node`, `4NK_env/docs/lecoffre-front`, `4NK_env/docs/ihm_client`, `4NK_env/docs/sdk_relay`, `4NK_env/docs/sdk_storage`.
|
||||
- Les projets pointent désormais vers la documentation centralisée (READMEs mis à jour).
|
||||
|
||||
### Politique
|
||||
- Emplacement unique: `4NK_env/docs/<projet>/`.
|
||||
- Pas de duplication ni de divergence documentaire dans les sous‑projets.
|
||||
- Les références dans README, CI et scripts doivent pointer vers le chemin centralisé.
|
||||
|
||||
### Actions (TODO)
|
||||
- Vérifier qu’aucun `docs/` résiduel n’existe dans les sous‑projets.
|
||||
- Mettre à jour toutes les références vers `4NK_env/docs/<projet>/` (READMEs, scripts, CI, prompts).
|
||||
- Supprimer les symlinks résiduels `docs/` dans les sous‑projets une fois la migration validée.
|
||||
|
||||
### Bonnes pratiques
|
||||
- Regrouper par thèmes: `architecture/`, `installation/`, `deployment/`, `specs_func/`, `specs_tech/`, `streams/`, `quality/`, `security/`, `TODO/`.
|
||||
- Éviter les copies statiques de configurations sensibles; référencer `4NK_env/confs/<projet>/`.
|
||||
- Cohérence des intitulés et formats (Markdown lint).
|
||||
|
||||
### Vérifications
|
||||
- Rechercher des références obsolètes:
|
||||
```bash
|
||||
grep -R "\bdocs/\b" /home/debian/4NK_env | grep -v "/home/debian/4NK_env/docs/" || true
|
||||
```
|
||||
- S’assurer que les READMEs des projets mentionnent explicitement `4NK_env/docs/<projet>/`.
|
@ -1 +1 @@
|
||||
Subproject commit 91ed42e87923f749a54ceb8ebb39cfea325edc5c
|
||||
Subproject commit 9f8c178920ddf2474eacc616cdb0bb09a83645da
|
@ -1 +1 @@
|
||||
Subproject commit b7ca256fcfb7cf16e19e91f8f10f087e43ced546
|
||||
Subproject commit 516d38d7c587620856e226aab1a00a90a4841d1d
|
337
tests/lecoffre-front/data_test_accound.md
Normal file
337
tests/lecoffre-front/data_test_accound.md
Normal file
@ -0,0 +1,337 @@
|
||||
# Data de test
|
||||
|
||||
## Environnement
|
||||
|
||||
- Environnement : DEV
|
||||
- IDN : IDN96755310A
|
||||
- Environnement de production : Non
|
||||
- Code de l'environnement : DEV
|
||||
- Description : Environnement de developpement
|
||||
- URL : https://lecoffreio.4nkweb.com/*
|
||||
- ID.not : OpenID
|
||||
- API Annuaire : true
|
||||
|
||||
```json
|
||||
{
|
||||
"id": "5207116884324909574",
|
||||
"idn": "APP14191728A",
|
||||
"label": "LeCoffre",
|
||||
"description": "A remplir par le propriétaire",
|
||||
"code": "LECOFFRE",
|
||||
"technologies": [
|
||||
"a préciser"
|
||||
],
|
||||
"status": "ACCEPTED",
|
||||
"environments": [
|
||||
{
|
||||
"id": "5737646715224215506",
|
||||
"idn": "IDN96755310A",
|
||||
"description": "Environnement de developpement ",
|
||||
"code": "DEV",
|
||||
"isProduction": false,
|
||||
"url": "https://lecoffreio.4nkweb.com/*",
|
||||
"deploymentTarget": "2025-04-11",
|
||||
"status": "OK",
|
||||
"hasOpenId": true,
|
||||
"hasSaml": false,
|
||||
"hasDirectoryApi": true,
|
||||
"access": "OPEN",
|
||||
"hasPendingAccess": false
|
||||
}
|
||||
],
|
||||
"owner": {
|
||||
"idn": "IDN369599",
|
||||
"label": "Not.IT (Fonds de dotation technologique porté par les Notaires d'Ille-et-Vilaine)",
|
||||
"intitule": "Not.IT (Fonds de dotation technologique porté par les Notaires d'Ille-et-Vilaine)"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
openId:
|
||||
|
||||
```json
|
||||
{
|
||||
"openIdData": {
|
||||
"idpClientLabel": "1.0",
|
||||
"wellKnownUrl": "https://qual-connexion.idnot.fr/IdPOAuth2/idnot_idp_v1/.well-known/openid-configuration",
|
||||
"logoutUrl": "https://qual-connexion.idnot.fr/user/auth/logout?sourceURL=VOTRE_URL",
|
||||
"callbackUrls": [
|
||||
"https://lecoffreio.4nkweb.com/*",
|
||||
"https://lecoffreio.4nkweb.com/folders",
|
||||
"https://lecoffreio.4nkweb.com/authorized-client",
|
||||
"https://oauth.pstmn.io/v1/browser-callback",
|
||||
"http://local.lecoffreio.4nkweb:3000/*",
|
||||
"https://oauth.pstmn.io/v1/callback",
|
||||
"https://test.lecoffre.io/*",
|
||||
"https://test.lecoffre.io/authorized-client",
|
||||
"http://local.4nkweb.com:3000/authorized-client",
|
||||
"http://local.lecoffreio.4nkweb"
|
||||
],
|
||||
"clientId": "B3CE56353EDB15A9",
|
||||
"clientSecret": "3F733549E879878344B6C949B366BB5CDBB2DB5B7F7AB7EBBEBB0F0DD0776D1C"
|
||||
},
|
||||
"askedInfos": {
|
||||
"firstname": "Admin",
|
||||
"lastname": "KOGUS",
|
||||
"date": "2025-04-10T14:00:55.458537Z"
|
||||
},
|
||||
"validatedInfos": {
|
||||
"firstname": "Haitam",
|
||||
"lastname": "TANASSA",
|
||||
"date": "2025-04-14T08:18:01.880555Z",
|
||||
"justification": null
|
||||
},
|
||||
"openIdScopes": {
|
||||
"email": {
|
||||
"name": "email",
|
||||
"asked": false,
|
||||
"justification": ""
|
||||
}
|
||||
},
|
||||
"scopeStatus": "ACCEPTED"
|
||||
}
|
||||
```
|
||||
|
||||
## Utilisateur
|
||||
|
||||
- Identifiant code : IDN00082246I
|
||||
- Identifiant : marie.curie.519
|
||||
- Nom : Marie Curie
|
||||
- Administrateur @ ABBATE et associés
|
||||
- login : marie.curie.519
|
||||
- pass: Pierre1906!!
|
||||
|
||||
Infos basiques:
|
||||
|
||||
```json
|
||||
{
|
||||
"status": "OK",
|
||||
"success": true,
|
||||
"idn": "IDN00082246I",
|
||||
"civilite": "Madame",
|
||||
"nomDeNaissance": "CURIE",
|
||||
"nomUsuel": "CURIE",
|
||||
"prenom": "Marie",
|
||||
"jourDeNaissance": "08",
|
||||
"moisDeNaissance": "04",
|
||||
"anneeDeNaissance": "1965",
|
||||
"paysDeNaissance": {
|
||||
"nom": null,
|
||||
"code": "France"
|
||||
},
|
||||
"communeDeNaissance": "MONTÉLIMAR",
|
||||
"photo": "",
|
||||
"managedByFicen": true,
|
||||
"completion": 0,
|
||||
"interne": true,
|
||||
"languages": [
|
||||
"FR"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Infos détaillées:
|
||||
|
||||
```json
|
||||
{
|
||||
"firstName": "Marie",
|
||||
"lastName": "CURIE",
|
||||
"activated": true,
|
||||
"langKey": "fr",
|
||||
"authorities": [
|
||||
"ROLE_INTERNE"
|
||||
],
|
||||
"entityAuthorities": [
|
||||
{
|
||||
"oid": "IDN187087",
|
||||
"role": "ROLE_GESTIONNAIRE_NATUREL",
|
||||
"authority": "ROLE_GESTIONNAIRE_NATUREL - IDN187087"
|
||||
}
|
||||
],
|
||||
"entities": [
|
||||
{
|
||||
"id": "IDN187087",
|
||||
"name": "ABBATE et associés",
|
||||
"logo": null,
|
||||
"adresseGeographique": null,
|
||||
"adressePostale": null,
|
||||
"telephone": "04 94 00 52 90",
|
||||
"email": "abbate.gabolde@notaires.fr",
|
||||
"siteInternet": "www.carqueiranne-abbate-gabolde-servel.notaires.fr",
|
||||
"identifiantNotaconnect": "IDN187087",
|
||||
"nomAbrege": "ABBATE et associés",
|
||||
"courDappel": null,
|
||||
"departementsCouverts": [],
|
||||
"crpcen": "083079",
|
||||
"type": "STON",
|
||||
"typeEntite": "office",
|
||||
"statut": "Pourvu",
|
||||
"residence": "CARQUEIRANNE (83034)",
|
||||
"departementDeResidence": "083 - VAR",
|
||||
"siren": "423762640",
|
||||
"siret": "42376264000013",
|
||||
"idnRattachement": null,
|
||||
"ctmAdrGeoVille": "CARQUEIRANNE",
|
||||
"ctmAdrGeoCodePostal": "83320",
|
||||
"ctmAdrGeo1": null,
|
||||
"ctmAdrGeo2": null,
|
||||
"ctmAdrGeo3": null,
|
||||
"ctmAdrGeo4": null,
|
||||
"ctmAdrGeo5": null,
|
||||
"ctmAdrPostaleCodePostal": "83320",
|
||||
"ctmAdrPostaleVille": "CARQUEIRANNE",
|
||||
"ctmAdrPostale1": null,
|
||||
"ctmAdrPostale2": null,
|
||||
"ctmAdrPostale3": null,
|
||||
"ctmAdrPostale4": "1 AVENUE JEAN JAURES",
|
||||
"ctmAdrPostale5": "BP 14",
|
||||
"ctmDenominationSociale": "SCP Louis ABBATE, Gabriel GABOLDE et Laura SERVEL-SCHROEDER",
|
||||
"ctmDenominationSocialeAbregee": "ABBATE et associés",
|
||||
"ctmIntitule": "ABBATE Louis, GABOLDE Gabriel et SERVEL-SCHROEDER Laura",
|
||||
"ctmFormeJuridique": "SCP",
|
||||
"ctmLibelle": null,
|
||||
"rattachement": {
|
||||
"id": "IDN00082246I_IDN187087",
|
||||
"email": "marie.curie.519@notaires.fr",
|
||||
"blocked": false,
|
||||
"phoneNumber": null,
|
||||
"homePhoneNumber": null,
|
||||
"entityType": "office",
|
||||
"linkType": "Administrateur",
|
||||
"subLinkType": null,
|
||||
"activitiesDomain": [],
|
||||
"mandats": [],
|
||||
"manager": true,
|
||||
"naturalManager": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"idn": "IDN00082246I",
|
||||
"civilite": "Madame",
|
||||
"photo": "",
|
||||
"email": "personaIDN00082246I@portail.com",
|
||||
"pseudo": "marie.curie.519",
|
||||
"backupEmail": "nicolas.cantu@pm.me",
|
||||
"emailValidated": "true"
|
||||
}
|
||||
```
|
||||
|
||||
### Informations de secours
|
||||
|
||||
- Email de récupération : personaIDN00082246I@portail.com
|
||||
- Email de récupération de secours : nicolas.cantu@pm.me
|
||||
|
||||
## Office de rattachement
|
||||
|
||||
```json
|
||||
{
|
||||
"firstName": "Marie",
|
||||
"lastName": "CURIE",
|
||||
"activated": true,
|
||||
"langKey": "fr",
|
||||
"authorities": [
|
||||
"ROLE_INTERNE"
|
||||
],
|
||||
"entityAuthorities": [
|
||||
{
|
||||
"oid": "IDN187087",
|
||||
"role": "ROLE_GESTIONNAIRE_NATUREL",
|
||||
"authority": "ROLE_GESTIONNAIRE_NATUREL - IDN187087"
|
||||
}
|
||||
],
|
||||
"entities": [
|
||||
{
|
||||
"id": "IDN187087",
|
||||
"name": "ABBATE et associés",
|
||||
"logo": null,
|
||||
"adresseGeographique": null,
|
||||
"adressePostale": null,
|
||||
"telephone": "04 94 00 52 90",
|
||||
"email": "abbate.gabolde@notaires.fr",
|
||||
"siteInternet": "www.carqueiranne-abbate-gabolde-servel.notaires.fr",
|
||||
"identifiantNotaconnect": "IDN187087",
|
||||
"nomAbrege": "ABBATE et associés",
|
||||
"courDappel": null,
|
||||
"departementsCouverts": [],
|
||||
"crpcen": "083079",
|
||||
"type": "STON",
|
||||
"typeEntite": "office",
|
||||
"statut": "Pourvu",
|
||||
"residence": "CARQUEIRANNE (83034)",
|
||||
"departementDeResidence": "083 - VAR",
|
||||
"siren": "423762640",
|
||||
"siret": "42376264000013",
|
||||
"idnRattachement": null,
|
||||
"ctmAdrGeoVille": "CARQUEIRANNE",
|
||||
"ctmAdrGeoCodePostal": "83320",
|
||||
"ctmAdrGeo1": null,
|
||||
"ctmAdrGeo2": null,
|
||||
"ctmAdrGeo3": null,
|
||||
"ctmAdrGeo4": null,
|
||||
"ctmAdrGeo5": null,
|
||||
"ctmAdrPostaleCodePostal": "83320",
|
||||
"ctmAdrPostaleVille": "CARQUEIRANNE",
|
||||
"ctmAdrPostale1": null,
|
||||
"ctmAdrPostale2": null,
|
||||
"ctmAdrPostale3": null,
|
||||
"ctmAdrPostale4": "1 AVENUE JEAN JAURES",
|
||||
"ctmAdrPostale5": "BP 14",
|
||||
"ctmDenominationSociale": "SCP Louis ABBATE, Gabriel GABOLDE et Laura SERVEL-SCHROEDER",
|
||||
"ctmDenominationSocialeAbregee": "ABBATE et associés",
|
||||
"ctmIntitule": "ABBATE Louis, GABOLDE Gabriel et SERVEL-SCHROEDER Laura",
|
||||
"ctmFormeJuridique": "SCP",
|
||||
"ctmLibelle": null,
|
||||
"rattachement": {
|
||||
"id": "IDN00082246I_IDN187087",
|
||||
"email": "marie.curie.519@notaires.fr",
|
||||
"blocked": false,
|
||||
"phoneNumber": null,
|
||||
"homePhoneNumber": null,
|
||||
"entityType": "office",
|
||||
"linkType": "Administrateur",
|
||||
"subLinkType": null,
|
||||
"activitiesDomain": [],
|
||||
"mandats": [],
|
||||
"manager": true,
|
||||
"naturalManager": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"idn": "IDN00082246I",
|
||||
"civilite": "Madame",
|
||||
"photo": "",
|
||||
"email": "personaIDN00082246I@portail.com",
|
||||
"pseudo": "marie.curie.519",
|
||||
"backupEmail": "nicolas.cantu@pm.me",
|
||||
"emailValidated": "true"
|
||||
}
|
||||
```
|
||||
|
||||
### Identifants
|
||||
|
||||
- Identifiant : ID.NOT IDN187087
|
||||
- Type : STON
|
||||
- CRPCEN : 083079
|
||||
- Forme juridique : SCP
|
||||
- Statut : Pourvu
|
||||
- Département de résidence : 083 - VAR
|
||||
- Résidence : CARQUEIRANNE (83034)
|
||||
|
||||
### Contact
|
||||
|
||||
- Téléphone : 0494005290
|
||||
- Email : abbate.gabolde@notaires.fr
|
||||
- Site internet : www.carqueiranne-abbate-gabolde-servel.notaires.fr
|
||||
|
||||
### Adresse géographique
|
||||
|
||||
- Numéro et libellé de la voie : 1 AVENUE JEAN JAURES
|
||||
- Code postal : 83320
|
||||
- Ville : CARQUEIRANNE
|
||||
|
||||
### Adresse postale
|
||||
|
||||
- Numéro et libellé de la voie : 1 AVENUE JEAN JAURES
|
||||
- Complément d'adresse : BP 14
|
||||
- Code postal : 83320
|
||||
- Ville : CARQUEIRANNE
|
17
tests/lecoffre_node/test_env.sh
Executable file
17
tests/lecoffre_node/test_env.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
echo "Testing environment variables in sdk_relay container..."
|
||||
docker compose --env-file .env.master run --rm --no-deps --entrypoint="" sdk_relay sh -c "
|
||||
echo 'Environment variables:'
|
||||
env | grep -E '(CORE_URL|WS_URL|WALLET_NAME|NETWORK)' | sort
|
||||
echo ''
|
||||
echo 'File content:'
|
||||
cat /home/bitcoin/.conf
|
||||
echo ''
|
||||
echo 'Testing Rust config parsing...'
|
||||
echo 'core_url=http://bitcoin:38332' > /tmp/test.conf
|
||||
echo 'ws_url=0.0.0.0:8090' >> /tmp/test.conf
|
||||
echo 'wallet_name=default' >> /tmp/test.conf
|
||||
echo 'network=signet' >> /tmp/test.conf
|
||||
echo 'Test file created:'
|
||||
cat /tmp/test.conf
|
||||
"
|
Loading…
x
Reference in New Issue
Block a user