42 Commits

Author SHA1 Message Date
359adb6816 docs(deploy): reference nested-secrets-tool.mjs for local secrets templates [skip ci] 2026-04-16 15:24:11 +02:00
79272e4edc docs(kogus): fix migrate/materialize secret script paths for multisite
Deployment.md references sites/lecoffreio migrate script and materialize-nested-secrets-mandatory.mjs.
2026-04-16 13:41:48 +02:00
bd604d28b8 refactor(deploy): use lecoffreio for nested secrets symlinks (not notary)
- deploy-conf-handling: symlink sites lecoffreio|enso|genealogie
- pousse: build message lists lecoffreio
- kogus docs: align mandatory secrets wording
2026-04-16 10:07:17 +02:00
4NK
d334f0e469 docs(kogus): office-deed-catalog path and export prerequisite 2026-04-16 09:57:51 +02:00
4NK
bec0570d91 docs(kogus): list RBAC/catalog/site-config/seed paths; clarify docs vs .secrets 2026-04-16 09:34:04 +02:00
4NK
7610ff437d docs(kogus): centralize secret paths in README; align agents and tracked docs 2026-04-15 17:40:53 +02:00
4NK
69427fc263 docs(kogus): align Deployment.md with LeCoffre nested secrets and SUPERADMIN_IDNOTS 2026-04-15 17:33:59 +02:00
73bea86a4d chore(kogus): point wiki and ticketing URLs to Gitea repo kogus 2026-04-14 11:01:05 +02:00
34b039373e chore(projects): remove ia_dev projects/enso (site under kogus)
- Delete projects/enso/conf.json; Enso is SITE_CODE in kogus monorepo
- Update projects/README and .smartIde rules project examples
2026-04-14 10:48:55 +02:00
99979391c0 chore(projects): rename ia_dev project lecoffreio to kogus
- Move projects/lecoffreio to projects/kogus; update conf id and secrets_path
- Refresh agents, deploy script examples, project README, kogus docs paths
- Keep product hostname/systemd naming (lecoffreio) unchanged
2026-04-14 10:46:59 +02:00
6e10b44e7d refactor(deploy): drop default_site_code; pousse builds all front sites
- Remove ia_dev_deploy_export_site_code_from_conf and conf.json key.
- pousse: front-common uses npm run build:all-sites when NEXT_PUBLIC_SITE_CODE unset.
- Keep nested .secrets/<site>/<env> symlinks helper.
- Update lecoffreio Deployment.md.
2026-04-13 23:56:19 +02:00
a2ea98801f feat(deploy): export SITE_CODE from conf; ensure nested secrets symlinks
- 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).
2026-04-13 23:50:55 +02:00
f1e22ac842 chore(projects): add enso conf.json and document symlink removal
Initial state: projects/enso was a broken symlink to ../../projects/enso.

Motivation: register Enso monorepo in ia_dev like lecoffreio for shared deploy orchestrator.

Resolution: add projects/enso/conf.json (repository_root, deploy paths, secrets_path under .secrets/enso); extend projects/README.md with enso note and symlink warning.

Root cause: obsolete symlink outside repo layout.

Impacted: ia_dev project registry only; no runtime code.
2026-04-10 17:11:33 +02:00
45992c6145 fix(pousse): support multisite front builds
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.
2026-04-10 14:35:19 +02:00
7eec9d15ee feat(notary-ai): process pending notary AI questions for folder 00000056fdf
**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
2026-04-09 22:53:29 +02:00
b4ce81858c docs: track GIT_ISSUES_SCRIPTS_AGENTS.md under projects/ia_dev/docs 2026-04-03 19:05:55 +02:00
e86a9fbb6e refactor: rename gitea-issues to git-issues and symlink projects to monorepo
- Rename directory and scripts env GIT_ISSUES_DIR; secrets path .secrets/git-issues
- Rename agent git-issues-process; update docs GIT_ISSUES_SCRIPTS_AGENTS.md
- Symlink projects/enso, smart_ide, builazoo to ../../projects/<id> when used inside smart_ide
- Update project conf paths for git-issues tokens and imap bridge
2026-04-03 19:05:28 +02:00
285e72039e chore: rename .cursor to .smartIde for agents, rules, hooks
Update internal references and .gitignore ssh_config path.
Gateway and docs paths use .smartIde/agents.
2026-04-03 18:23:10 +02:00
11da4329e4 docs: point conf schema and README stubs to smart_ide docs/repo
Replace embedded README bodies with links to central ia-dev-* docs.
Update agent references from projects/README to docs/repo path.
2026-04-03 18:20:13 +02:00
047700fab0 Align enso remote paths with enso-deploy conventions
Match ENSO_REMOTE_ROOT, ENSO_SSH_HOST-style aliases, and default
data/dossiers-permanents path from enso deploy examples.
2026-04-03 18:07:00 +02:00
a7b5998f61 feat: resolve project conf paths relative to smart_ide monorepo root
- Add lib/conf_path_resolve.sh (canonical conf under projects/ or ia_dev/projects/)
- Apply resolution in project_git_root_from_conf, deploy-conf-handling, orchestrator
- pousse: monorepo-relative build_dirs when path starts with ../
- deploy-by-script-to: resolve secrets_path and deploy_script_path
- Sync smart_ide/enso conf.json with relative paths; document in projects/README
2026-04-03 18:03:55 +02:00
e8c0db2200 Add smart_ide project configuration (4nk/smart_ide) 2026-04-03 16:07:35 +02:00
c501295642 feat(deploy): host_stays_on_test in conf.json (replaces lecoffreio id branch)
- deploy-by-script-to.sh reads deploy.host_stays_on_test via jq
- projects/lecoffreio/conf.json: host_stays_on_test true (permanent)
- projects/README.md + agents: document flag
2026-03-27 18:46:41 +01:00
998af05416 docs(lecoffreio): sync Code-Standards and fixKnowledge from app docs
Etat initial
- master with local updates in projects/lecoffreio/docs after rsync from lecoffre_ng_test/docs.

Motivation du changement
- Keep ia_dev project mirror aligned with application documentation sources.

Resolution
- Commit and push projects/lecoffreio/docs updates on master.

Root cause
- N/A (documentation sync).

Fonctionnalités impactées
- None (docs only).

Code modifié
- None.

Documentation modifiée
- projects/lecoffreio/docs/Code-Standards.md; projects/lecoffreio/docs/fixKnowledge/import-v1-ssh-run-quoting-env-full.md.

Configurations modifiées
- None.

Fichiers dans déploy 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 (ia_dev repo has no VERSION bump in this commit).

CHANGELOG.md mise à jour (oui/non)
- non
2026-03-24 16:07:14 +01:00
aa5748bcce docs(lecoffreio): add fixKnowledge import-v1 ssh_run quoting (force-add)
**Etat initial**
- Fiche sous projects/lecoffreio/docs/ ignorée par .gitignore ; commit précédent n’incluait que le commentaire change-to-all-branches.sh.

**Motivation du changement**
- Versionner la fiche fixKnowledge pour traçabilité.

**Resolution**
- git add -f projects/lecoffreio/docs/fixKnowledge/import-v1-ssh-run-quoting-env-full.md

**Root cause**
- Pattern **/docs/** dans .gitignore ia_dev.

**Fonctionnalités impactées**
- Aucune.

**Code modifié**
- Aucun.

**Documentation modifiée**
- projects/lecoffreio/docs/fixKnowledge/import-v1-ssh-run-quoting-env-full.md

**Configurations modifiées**
- Aucune.

**Fichiers dans déploy modifiés**
- Aucun.

**Fichiers dans logs impactés**
- Aucun.

**Bases de données et autres sources modifiées**
- Aucune.

**Modifications hors projet**
- Aucune.

**fichiers dans .cursor/ modifiés**
- Aucun.

**fichiers dans .secrets/ modifiés**
- Aucun.

**nouvelle sous sous version dans VERSION**
- N/A

**CHANGELOG.md mise à jour (oui/non)**
- non
2026-03-23 16:17:19 +01:00
4d4264fc41 docs(agents+deploy): setup-host agent, deploy flags doc sync
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
2026-03-23 14:02:58 +01:00
f1c53477b0 feat(deploy): methodology lib and project_orchestrator_path
**Motivations:**
- Keep shared methodology, envs, and future quality sequences in ia_dev; single project orchestrator script per repo

**Root causes:**
- N/A

**Correctifs:**
- N/A

**Evolutions:**
- Add deploy/lib/deploy-methodology.sh (test|pprod|prod validation)
- deploy.sh sources methodology before orchestrator
- orchestrator prefers deploy.project_orchestrator_path then legacy phases/deploy_script_path
- conf.json: project_orchestrator_path for lecoffreio, algo, enso; remove hooks where redundant
- Document in README.md, projects/README.md, deploy/lib/README.md

**Pages affectées:**
- deploy/*, projects/*/conf.json, README files
2026-03-23 13:19:03 +01:00
dd9f5e6188 docs(lecoffreio): sync project docs from LeCoffre repository
**Motivations:**
- Keep projects/lecoffreio/docs aligned with lecoffre_ng_test docs for push-by-script prerequisites

**Root causes:**
- N/A

**Correctifs:**
- N/A

**Evolutions:**
- Sync Code-Standards.md and related copies from project docs/

**Pages affectées:**
- projects/lecoffreio/docs/
2026-03-23 13:07:07 +01:00
418bfb044a evol(deploy): shared ssh/log libs, SECRETS_BASE export, lecoffreio secrets path
**Motivations:**
- Single source for ssh helpers; export secrets base from conf; centralize lecoffre secrets under ia_dev.

**Evolutions:**
- deploy/lib/ssh.sh, deploy-log.sh; run-project-hooks + deploy-by-script-to export SECRETS_BASE from secrets_path; lecoffreio conf secrets_path ia_dev; deploy/lib README.

**Pages affectées:**
- deploy/lib/*, deploy/run-project-hooks.sh, deploy/deploy-by-script-to.sh, projects/lecoffreio/conf.json
2026-03-23 12:50:31 +01:00
aa3249ee0c evol(deploy): run-project-hooks, algo/enso repository_root, wire change-to-all-branches
**Motivations:**
- Execute deploy.hooks.phases from conf.json with fallback to deploy_script_path; align algo/enso with repository_root and empty phases.

**Root causes:**
- Deploy entry was hardcoded to deploy.sh; hooks array unused.

**Correctifs:**
- None.

**Evolutions:**
- deploy/run-project-hooks.sh; change-to-all-branches.sh and deploy-by-script-to.sh call it when IA_PROJECT_ID is set; lecoffreio phases list deploy/scripts_v2/deploy.sh; algo/enso repository_root + hooks.phases []; deploy/lib/README.md placeholder for future generic extract.

**Pages affectées:**
- deploy/run-project-hooks.sh, deploy/change-to-all-branches.sh, deploy/deploy-by-script-to.sh, deploy/lib/README.md, projects/lecoffreio/conf.json, projects/algo/conf.json, projects/enso/conf.json
2026-03-23 12:41:47 +01:00
db5a184851 feat(deploy): resolve project git root from conf.repository_root
**Motivations:**
- secrets_path dirname is not a stable git root when secrets move to ia_dev

**Correctifs:**
- lib/project_git_root_from_conf.sh: repository_root || git_work_tree || dirname(secrets_path)

**Evolutions:**
- lecoffreio conf.json: deploy.repository_root, deploy.hooks.phases scaffold
- pousse, branch-align, change-to-all-branches, deploy-by-script-to use resolver

**Pages affectées:**
- lib/project_git_root_from_conf.sh, deploy/*.sh, projects/lecoffreio/conf.json
2026-03-23 12:27:07 +01:00
b25fe07b3e Documentation projects/lecoffreio/docs/ : enrichissement Code-Standards.md
**Etat initial:**
- Documentation projects/lecoffreio/docs/ incomplète (section "Configuration qualité et inventaire des bypass" manquante dans Code-Standards.md, fichier fixKnowledge redondant)

**Motivation du changement:**
- Enrichir la documentation avec les évolutions présentes dans lecoffre_ng_test/docs/ et supprimer les fichiers redondants

**Résolution:**
- Enrichissement Code-Standards.md, suppression fixKnowledge/share-folder-same-office-error.md

**Root cause:**
- Documentation non synchronisée entre lecoffre_ng_test/docs/ et projects/lecoffreio/docs/

**Fonctionnalités impactées:**
- Documentation

**Code modifié:**
- Aucun

**Documentation modifiée:**
- projects/lecoffreio/docs/Code-Standards.md, projects/lecoffreio/docs/fixKnowledge/share-folder-same-office-error.md (supprimé)

**Configurations modifiées:**
- Aucune

**Fichiers dans déploy modifiés:**
- Aucun

**Fichiers dans logs impactés:**
- Aucun

**Bases de données et autres sources modifiées:**
- Aucune

**Modifications hors projet:**
- Aucune

**fichiers dans .cursor/ modifiés:**
- Aucun

**fichiers dans .secrets/ modifiés:**
- Aucun

**nouvelle sous sous version dans VERSION:**
- Non applicable (dépôt ia_dev)

**CHANGELOG.md mise à jour:**
- Non applicable (dépôt ia_dev)
2026-03-19 23:13:13 +01:00
5f5239026d token rationalization 2026-03-19 18:01:31 +01:00
5f30d5435d no bypass 2026-03-19 14:42:50 +01:00
959d93ac4c no bypass 2026-03-19 10:41:52 +01:00
c3d4d12ef2 centralized 2026-03-17 01:30:56 +01:00
5ae77177a4 centralized 2026-03-16 16:53:25 +01:00
45ed789692 centralized 2026-03-16 16:52:55 +01:00
c0fd688a0a centralized 2026-03-16 16:38:55 +01:00
55f8588eba centralized 2026-03-16 16:33:52 +01:00
95bfa36b00 standalone 2026-03-16 15:19:17 +01:00
61cec6f430 Sync ia_dev: token resolution via .secrets/<env>/ia_token, doc updates
**Motivations:**
- Align master with current codebase (token from projects/<id>/.secrets/<env>/ia_token)
- Id resolution by mail To or by API token; no slug

**Root causes:**
- Token moved from conf.json to .secrets/<env>/ia_token; env from directory name

**Correctifs:**
- Server and scripts resolve project+env by scanning all projects and envs

**Evolutions:**
- tickets-fetch-inbox routes by To address; notary-ai agents and API doc updated

**Pages affectées:**
- ai_working_help/server.js, docs, project_config.py, lib/project_config.sh
- projects/README.md, lecoffreio/docs/API.md, gitea-issues/tickets-fetch-inbox.py
2026-03-16 15:00:23 +01:00