smart_ide/docs/ia_dev-project-smart_ide.md
Nicolas Cantu d98e6bce60 feat: logs/ for pull-sync and ia_dev; document ia_dev as in-repo module
- Default PULL_SYNC_LOG to logs/git-pull-projects.log; add logs/README and gitignore
- Add services/ia_dev integration README and .env.example
- Replace docs/ia_dev-submodule.md with ia_dev-module.md; update ecosystem and README links
- Point ia_dev submodule to commit with smart_ide_logs.sh
2026-04-03 17:50:49 +02:00

45 lines
3.1 KiB
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.

# Projet `ia_dev` : `smart_ide`
Le dépôt **smart_ide** est enregistré dans le sous-module **`ia_dev`** sous lidentifiant de projet **`smart_ide`**, pour les agents, le ticketing Gitea et la doc wiki alignés sur la forge **4nk/smart_ide**.
## Fichier de configuration
- **Source de vérité (versionnée dans ce monorepo) :** [`projects/smart_ide/conf.json`](../projects/smart_ide/conf.json) — chemins machine (`project_path`), URLs wiki et issues (`https://git.4nkweb.com/4nk/smart_ide/...`), boîtes mail autorisées pour le ticketing (envs test / pprod / prod).
- **Sous-module `ia_dev` :** le chemin `ia_dev/projects/smart_ide/conf.json` doit résoudre le même fichier via le lien créé par [`scripts/ensure-ia-dev-smart-ide-project-link.sh`](../scripts/ensure-ia-dev-smart-ide-project-link.sh).
Adapter **`project_path`** (et champs dérivés si vous ajoutez `build_dirs` / `deploy`) sur chaque poste ou serveur où `ia_dev` exécute des commandes sur ce dépôt. Les **clones** dautres apps (docv, etc.) ne vont **pas** dans `./projects/` : voir [projects/README.md](../projects/README.md).
## Agents Cursor (pont smart_ide → ia_dev)
Dans ce dépôt, les définitions **Cursor** sous [`.cursor/agents/`](../.cursor/agents/) utilisent le préfixe **`ia-dev-*`** : elles fixent le projet **`smart_ide`**, imposent dindiquer l**environnement** (`test`, `pprod`, `prod`), puis renvoient à la procédure complète dans le sous-module : `ia_dev/.cursor/agents/<agent>.md`.
| Agent Cursor (smart_ide) | Définition ia_dev |
|--------------------------|-------------------|
| `ia-dev-fix` | `fix.md` |
| `ia-dev-evol` | `evol.md` |
| `ia-dev-code` | `code.md` |
| `ia-dev-fix-search` | `fix-search.md` |
| `ia-dev-fix-lint` | `fix-lint.md` |
| `ia-dev-docupdate` | `docupdate.md` |
| `ia-dev-push-by-script` | `push-by-script.md` |
| `ia-dev-deploy-by-script` | `deploy-by-script.md` |
| `ia-dev-deploy-pprod-or-prod` | `deploy-pprod-or-prod.md` |
| `ia-dev-branch-align-by-script-from-test` | `branch-align-by-script-from-test.md` |
| `ia-dev-change-to-all-branches` | `change-to-all-branches.md` |
| `ia-dev-agent-loop` | `agent-loop.md` |
| `ia-dev-gitea-issues-process` | `gitea-issues-process.md` |
| `ia-dev-setup-host` | `setup-host.md` |
| `ia-dev-notary-ai-loop` | `notary-ai-loop.md` |
| `ia-dev-notary-ai-process` | `notary-ai-process.md` |
| `ia-dev-closure-point-7-justification` | `closure-point-7-justification.md` |
Règle de contexte (fichiers sous `ia_dev/`, `docs/`, `services/`, etc.) : [`.cursor/rules/smart-ide-ia-dev-bridge.mdc`](../.cursor/rules/smart-ide-ia-dev-bridge.mdc).
**Usage :** choisir lagent `ia-dev-*` dans Cursor et préciser dans le message lenvironnement cible ; pour les scripts, `cd ia_dev` et `IA_PROJECT_ID=smart_ide` (ou `--project smart_ide`). Détail schéma conf : `ia_dev/projects/README.md` (sous-module). Conf **smart_ide** : `projects/smart_ide/conf.json` à la racine du monorepo.
## Liens
- Dépôt : `https://git.4nkweb.com/4nk/smart_ide`
- Module `ia_dev` : [docs/ia_dev-module.md](./ia_dev-module.md)
- Gateway dev : [docs/features/ia-dev-service.md](./features/ia-dev-service.md)