smart_ide/docs/repo/ia-dev-shared-lib.md
Nicolas Cantu ac96434351 docs: centralize README content under docs/repo/
**Motivations:**
- Single canonical documentation tree under docs/; reduce drift between README copies.

**Evolutions:**
- Add docs/repo/ with operational guides (cron, systemd, projects, logs, docv, ia_dev, services, scripts, extension).
- Replace scattered README.md files with pointers to docs/repo/*.md.
- Refresh docs/README.md index and cross-links across docs/, .cursor rules/agents.
- Bump ia_dev submodule to matching doc pointer commits.
2026-04-03 18:20:31 +02:00

17 lines
747 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Bibliothèque partagée `ia_dev/lib/`
## `project_config.sh`
Sourcé par les scripts **deploy** et **gitea-issues** pour résoudre l**id** projet et le chemin vers son JSON.
**Usage standalone** : exécution depuis la racine **ia_dev** ; définir **`IA_DEV_ROOT`** avant source si besoin.
**Après source** : `PROJECT_ID`, `PROJECT_CONFIG_PATH` (souvent `projects/<id>/conf.json`). Avec résolution par token : `PROJECT_ENV`.
**Résolution de lid (pas de repli implicite)** :
1. **MAIL_TO** — recherche dans tous les `projects/*/conf.json` (`tickets.authorized_emails.to`).
2. **AI_AGENT_TOKEN** — scan des fichiers `projects/<id>/.secrets/<env>/ia_token`.
Voir [ia-dev-project-conf-schema.md](./ia-dev-project-conf-schema.md).