**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.
45 lines
3.1 KiB
Markdown
45 lines
3.1 KiB
Markdown
# Projet `ia_dev` : `smart_ide`
|
||
|
||
Le dépôt **smart_ide** est enregistré dans le sous-module **`ia_dev`** sous l’identifiant 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** d’autres apps (docv, etc.) ne vont **pas** dans `./projects/` : voir [repo/projects-directory.md](./repo/projects-directory.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 d’indiquer 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 l’agent `ia-dev-*` dans Cursor et préciser dans le message l’environnement cible ; pour les scripts, `cd ia_dev` et `IA_PROJECT_ID=smart_ide` (ou `--project smart_ide`). Détail schéma conf : [repo/ia-dev-project-conf-schema.md](./repo/ia-dev-project-conf-schema.md). 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)
|