**Motivations :**
- keep deploy-by-script-to strict when source-of-truth site slugs are unavailable
- align ia_dev deploy wrappers with lecoffreio-only deployment model
- avoid hidden default behavior in secrets layout validation
**Root causes :**
- deploy-by-script-to still had a fallback that reintroduced implicit site assumptions
- helper comments and branch-align wording still referenced removed multisite lines
**Correctifs :**
- remove fallback site injection in deploy-by-script-to and fail explicitly on empty site list
- update change-to-all-branches orchestration comment to source-of-truth semantics
- align deploy-conf-handling nested secrets guidance with lecoffreio-only tree
**Evolutions :**
- strengthen strict mode behavior for deployment prerequisites
**Page affectées :**
- deploy/deploy-by-script-to.sh
- deploy/change-to-all-branches.sh
- deploy/lib/deploy-conf-handling.sh
- deploy-conf-handling: default_site_code -> SITE_* when unset; symlink
notary|enso|genealogie/<env> to ../<env> when flat <env>/ exists.
- orchestrator and deploy-by-script-to: run before handoff to LeCoffre.
- lecoffreio docs/Deployment.md: document behavior (-f: path was gitignored).
Etat initial
- Agents and project docs still referenced --skipSetupHost, --import-v1 on CLI, and optional log flags.
Motivation du changement
- Align ia_dev agents and mirrored docs with LeCoffre deploy.sh (setup via run-setup-host.sh, business flags in deploy.conf only, logs always on).
Resolution
- Add .cursor/agents/setup-host.md; update change-to-all-branches, deploy-by-script, deploy-pprod-or-prod; refresh agents-scripts-split and WORKFLOWS for lecoffreio and ia_dev projects.
Root cause
- Documentation drift after deploy CLI and pipeline changes.
Fonctionnalités impactées
- Cursor agent instructions only (no runtime code path change in this commit beyond files listed).
Code modifié
- .cursor/agents/*.md, deploy/*.sh, deploy/lib/*.sh, projects/*/docs/*.md as staged.
Documentation modifiée
- projects/lecoffreio/docs/agents-scripts-split.md, WORKFLOWS_AND_COMPONENTS.md; projects/ia_dev/docs/* (same).
Configurations modifiées
- none.
Fichiers dans déploy modifiés
- deploy/change-to-all-branches.sh, deploy-by-script-to.sh, deploy.sh, lib/README.md, deploy-conf-handling.sh, deploy-methodology.sh, orchestrator.sh (pre-existing session changes + doc alignment).
Fichiers dans logs impactés
- none.
Bases de données et autres sources modifiées
- none.
Modifications hors projet
- none.
fichiers dans .cursor/ modifiés
- .cursor/agents/setup-host.md (new), change-to-all-branches.md, deploy-by-script.md, deploy-pprod-or-prod.md.
fichiers dans .secrets/ modifiés
- none.
nouvelle sous sous version dans VERSION
- N/A (ia_dev repo has no VERSION file).
CHANGELOG.md mise à jour (oui/non)
- non