smart_ide/docs/repo/logs-directory.md
Nicolas Cantu 0af507143a Add smart-ide-global API layer, SSO delegates proxy, .logs access logs
- New smart-ide-global-api (127.0.0.1:37149): internal bearer, upstream proxy, X-OIDC forward
- SSO gateway calls global API with GLOBAL_API_INTERNAL_TOKEN; logs to .logs/sso-gateway/
- Aggregated config example, docs, VERSION 0.0.2, claw proxy local URL hint
2026-04-03 23:08:52 +02:00

1.4 KiB
Raw Blame History

Journaux smart_ide (logs/)

Le répertoire logs/ est versionné comme conteneur (fichiers README.md, .gitignore) ; les fichiers *.log produits sur chaque machine restent hors Git (règles logs/**/*.log à la racine du dépôt et **/*.log dans logs/.gitignore).

Fichiers courants

Fichier Origine
git-pull-projects.log Tirage Git planifié (cron/git-pull-wrapper.sh), variable PULL_SYNC_LOG dans cron/config.env
ia_dev.log Exécutions shell sous ia_dev/ lorsque le checkout est détecté comme monorepo smart_ide (cron/git-pull-wrapper.sh ou projects/smart_ide/ au-dessus de ia_dev/)

Variable interne : SMART_IDE_LOG_IA_DEV_ROOT (racine ia_dev), posée par ia_dev/lib/smart_ide_logs.sh.

Intégration

Contrat service : ia-dev-smart-ide-integration.md, implémentation ia_dev/lib/smart_ide_logs.sh.

Configuration du pull planifié : cron-git-pull.md.

Journaux passerelle SSO et API globale (.logs/)

Sous la racine du monorepo, le répertoire .logs/ contient des journaux daccès JSON (fichiers *.log ignorés par Git) pour smart-ide-sso-gateway (sso-gateway/access.log) et smart-ide-global-api (global-api/access.log). Voir .logs/README.md, sso-gateway-service.md et global-api.md.