feat(vm): absorbe agent-vm (vendoring) - OpenCode-only, chrome-devtools au niveau MCP, nom masqué (EPIC 7)#11
Merged
Merged
Conversation
CHANTIER #1 — Étape 1 à 9 : - Vendorise sylvinus/agent-vm @ 6f20194 dans vendor/vm/ (agent-vm.sh, agent-vm.setup.sh, runtime.example.sh, LICENSE, VERSION) - bin/albert-code + install.sh : AGENT_VM_DIR pointe vers /vendor/vm - Plus de clone GitHub, plus de shim agent-vm sur le PATH - install_agent_vm() vérifie le vendored, ne clone plus, ne source plus dans les rc, nettoie les migrations (shim/sourçage obsolètes) - _vm() helper interne pour appeler agent-vm sans commande utilisateur - check_base_vm() et phase_run() passent --preinstall=node,gh,chromium,opencode (OpenCode-only, plus de Claude/Codex/Vibe) - Patche vendor/vm/agent-vm.setup.sh : INSTALL_OPENCODE_MCP=0 par défaut (chrome-devtools MCP désormais géré au niveau projet) - config/opencode.template.json + scaffold : chrome-devtools avec --headless=true --isolated=true - Plus de nom « agent-vm » dans l'UI utilisateur (lib/phases.sh, ui.sh, install.sh, README.md) - BACKLOG.md EPIC 7, FEEDBACK.md AC-R035, TESTS.md S39 - Garde-fou anti-fuite vert (tests/check_no_personal_paths.sh)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contexte
Finding #1 des bêtatests (Nath + Sylvain + Romaric, cf. Findings bêta-testeurs §1) : absorber agent-vm dans Albert Code. On ne redéveloppe PAS agent-vm : on vendorise ses scripts (commit 6f20194) et on pilote ses fonctionnalités existantes. Feu vert de Sylvain (auteur). Réf AC-R035 / EPIC 7.
Changements
vendor/vm/(agent-vm.sh, agent-vm.setup.sh, runtime.example.sh, LICENSE MIT Sylvain Zimmer, VERSION @6f20194). Plus aucun clone externe (adresse la crainte « repo perso d'un gars »).install_agent_vm()réécrit, helper interne_vm(), nettoyage migration (ancien shim agent-vm + ligne rc retirés, non-destructif).agent-vm setup --preinstall=node,gh,chromium,opencode(jamais claude/codex/vibe).setup.shpatché (INSTALL_OPENCODE_MCP=0par défaut, plus d'enregistrement global). Reste proposé au setup projet avec--headless=true --isolated=true(utilisable dans une VM sans écran). Corrige AC-R023.opencode --auto(équivalent YOLO shippé) + permissions permissives dans leopencode.jsongénéré.Vérification
bash -nOK (dont scripts vendored), hygiène verte, dry-run install/setup/run OK. Tests S39. À valider en E2E réel (rebuild VM de base OpenCode-only, chrome-devtools absent à 0 MCP).Hors scope
Pas de parcours dédié « utilisateur déjà équipé » (géré à la main). Point #2 (auth GitHub) dans une PR suivante.