**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
Update ia_dev agent playbooks and kogus docs to reflect two-line multisite (lecoffreio/genealogie), enforce SSH execution requirements in analyse mode, and refresh deployment/multisite documentation links.
**Motivations:** Single source of truth with lecoffre_ng_test deploy/scripts_v2/_lib/deploy-log-filename.sh.
**Correctives:** Source project_root/deploy/scripts_v2/_lib/deploy-log-filename.sh; return 1 if missing.
**Page affectées:** deploy/lib/deploy-log.sh.
**Motivations:** Same tee naming as lecoffre_ng_test deploy.sh when SITE_CODE is set.
**Correctives:** deploy_<env>_<site>_kogus_<ts>.log when site env is set; header includes site=.
**Evolutions:** kogus docs IMPORT_V1 + agents-scripts-split log path wording.
**Page affectées:** deploy/lib/deploy-log.sh, projects/kogus/docs.
**Motivations:**
- Ensure Next Enso is built when using pousse.sh kogus --build.
**Root causes:**
- build_dirs omitted front-backoffice (only notary packages).
**Correctifs:**
- Add absolute path to front-backoffice in conf.json.
**Evolutions:**
- Monorepo docs updated in lecoffre_ng_test (ia-dev-multi-site, monorepo-backoffice).
**Page affectées:**
- projects/kogus/conf.json.
**Motivations:**
- deploy-pprod-or-prod must not invoke /push-by-script; push test is a prerequisite outside this workflow.
**Root causes:**
- Workflow duplicated push (start and end) and coupled push to align-only step.
**Correctives:**
- Etape 2: only change-to-all-branches.sh --align-only; document origin/test prerequisite.
- Remove former etape 5 push-by-script; renumber lint to etape 5; closure and correction loops updated.
- Table and anti-duplication checks adjusted.
- change-to-all-branches: fix cross-reference to deploy-pprod (no inclusion of /change-to-all-branches agent).
**Evolutions:**
- None.
**Pages affectées:**
- .smartIde/agents/deploy-pprod-or-prod.md, .smartIde/agents/change-to-all-branches.md
**Motivations:**
- Push-by-script should stage, commit, and push without implicit full monorepo builds; compilation must be explicit.
**Root causes:**
- pousse.sh always ran npm build for each build_dir before git add, coupling push duration and Next lock issues to every push.
**Correctives:**
- Add --build flag to run the previous build loop; default skips builds and prints guidance.
- Update push-by-script agent (step 4 bis, closure types), deploy-pprod-or-prod note, cloture-lint wording, agents-scripts-split.
**Evolutions:**
- Documented alternative: manual builds per build_dirs or single pousse.sh --build <<MSG.
**Pages affectées:**
- deploy/pousse.sh, .smartIde/agents/push-by-script.md, deploy-pprod-or-prod.md, cloture-lint.mdc, projects/kogus/docs/agents-scripts-split.md
- 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).
Read deploy.default_site_code from project conf and inject NEXT_PUBLIC_SITE_CODE when building front-common.
Also align lecoffreio build_dirs and version paths with back-common/front-common/ressources-common.
**Etat initial:** 2 pending notary-ai questions in spooler for lecoffreio/test, folder 00000056fdf (Promesse de vente)
**Motivation du changement:** Produce AI notary responses for queued questions from notaire user f42899a7
**Résolution:** Processed 2 pending requests via notary-ai-process agent; wrote responded files via write-response-notary-ai.sh
**Root cause:** Questions enqueued by LeCoffre application awaiting agent processing
**Fonctionnalités impactées:** Notary AI chat (folder 00000056fdf), ai_working_help spooler
**Code modifié:** none
**Documentation modifiée:** none (API.md already documents notary-ai section)
**Configurations modifiées:** none
**Fichiers dans deploy modifiés:** none
**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:** none
**fichiers dans .secrets/ modifiés:** none
**nouvelle sous sous version dans VERSION:** N/A (no VERSION file in ia_dev)
**CHANGELOG.md mise à jour:** non (no CHANGELOG.md in ia_dev)
Made-with: Cursor