Agents for developpement added + frontend add + backend added. Git viewer created + agent and template creator + layout and project creator
23 lines
1.2 KiB
Markdown
23 lines
1.2 KiB
Markdown
# L5 — Profils IA & runtime
|
|
|
|
**Binôme :** `dev-ai-runtime` / `test-ai-runtime`
|
|
**Zones :** `infrastructure/runtime`, `application/agent`, `frontend/features/first-run`
|
|
**Dépendances amont :** L0, L1, L2.
|
|
|
|
## Objectif
|
|
Moteur IA flexible : profils déclaratifs, détection, first-run wizard. Cœur du « 100% IA, piloté par données ».
|
|
|
|
## Périmètre (DEV)
|
|
- Adapter `CliAgentRuntime` (un seul, piloté par `AgentProfile`) : `detect`, `prepare_invocation` (construit `SpawnSpec` + plan d'injection selon `ContextInjection`).
|
|
- Use cases : `DetectProfiles`, `ConfigureProfiles`.
|
|
- Stockage `profiles.json` (store global IDE).
|
|
- Front : **first-run wizard** demandant quels profils configurer ; commandes pré-remplies (Claude/Codex/Gemini/Aider) **éditables** ; ajout de **profil custom**.
|
|
|
|
## Périmètre (TEST)
|
|
- `CliAgentRuntime` : pour chaque stratégie d'injection (conventionFile/flag/stdin/env), le `SpawnSpec` produit est correct.
|
|
- `DetectProfiles` avec `ProcessSpawner` mocké (présent/absent).
|
|
- Front : wizard avec gateway mock (sélection, édition, ajout custom).
|
|
|
|
## Definition of Done
|
|
- `cargo test` (runtime/agent) + `vitest` verts ; wizard fonctionnel en dev manuel.
|