43 Commits

Author SHA1 Message Date
e8c0db2200 Add smart_ide project configuration (4nk/smart_ide) 2026-04-03 16:07:35 +02:00
43684a4fa8 feat(deploy-log): optional deploy_env in log path and header (sync LeCoffre) 2026-03-27 19:41:17 +01: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
5624f24193 fix(deploy): lecoffreio deploy-by-script-to stays on test; align agents with LeCoffre deploy.sh
- deploy-by-script-to.sh: skip checkout/reset/pprod|prod for project lecoffreio
- deploy-by-script.md: env from script arg; host test for lecoffreio
- deploy-pprod-or-prod.md: document lecoffreio vs other projects step 3
2026-03-27 18:44:11 +01:00
f6c1ce0399 docs(agents): lint on every build_dir, not only session-touched subtree
- cloture-lint.mdc: all build_dirs scope
- Lint rationalisation bullet + deploy-by-script §4, change-to-all-branches step 8, fix-lint
2026-03-25 13:43:15 +01:00
de4afdde5a docs(agents): align change-to-all-branches and deploy-by-script with test-first pprod/prod replay 2026-03-25 12:51:14 +01:00
b99f90ce25 docs(agents): require test-first fixes then replay workflow for deploy-pprod-or-prod 2026-03-25 12:48:51 +01:00
f58acfbd62 chore(cursor): lint closure — fix diagnostics even when not from session
Extend agent lint bullets and fix-lint table; deploy-by-script and
change-to-all-branches reference cloture-lint diagnostics section.
2026-03-25 05:58:35 +01:00
1753029b58 docs(agents): enforce min-5 lint before closure; sync cloture-lint
- Rationalisation lint bullet: always run + fix min(5,N); forbid deferring to /fix-lint alone
- deploy-pprod-or-prod: step 6 lint + fin checklist; change-to-all-branches checklist item 8
- deploy-by-script: section 4 lint min. 5; cloture-lint.mdc obligation block
2026-03-25 05:49:25 +01:00
16302e5814 deploy added 2026-03-25 04:22:02 +01:00
fea263b87a docs(cursor): lint if not run during agent; min 5 fixes out of scope
**Motivations:**
- Align ia_dev agents with lecoffre_ng_test: if no lint was executed during the run, run it on project build_dirs and fix at least five issues (errors + warnings), including outside task scope.

**Root causes:**
- N/A

**Correctifs:**
- N/A

**Evolutions:**
- cloture-lint.mdc: minimum-corrections block expanded; new section when no lint was run (repository_root / build_dirs via conf.json)
- All .cursor/agents/*.md: Rationalisation Lint bullet

**Pages affectées:**
- .cursor/rules/cloture-lint.mdc
- .cursor/agents/*.md
2026-03-24 22:56:05 +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
26d4edadde docs(lecoffreio): fixKnowledge import-v1 ssh_run quoting
**Etat initial**
- Fiche fix non versionnée dans le dépôt app (docs/ ignoré par .gitignore).

**Motivation du changement**
- Tracer la correction import-v1 env-full dans projects/lecoffreio/docs/fixKnowledge.

**Resolution**
- Ajout de import-v1-ssh-run-quoting-env-full.md.

**Root cause**
- Alignement doc traçabilité avec correctif déployé (lecoffre_ng_test).

**Fonctionnalités impactées**
- Aucune (documentation).

**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 (pas de VERSION sur ia_dev).

**CHANGELOG.md mise à jour (oui/non)**
- non
2026-03-23 16:16:51 +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
d80b240853 refactor(deploy): hoist shared conf handling to deploy/lib
**Motivations:**
- Apply approved boundary: identical steps in ia_dev libs; project orchestrator keeps only specific sequencing

**Root causes:**
- N/A

**Correctifs:**
- N/A

**Evolutions:**
- Add deploy/lib/deploy-conf-handling.sh (jq, secrets_path export, IA_DEV_DEPLOY_* context)
- Document boundary in deploy-methodology.sh; orchestrator sources new lib
- deploy/lib/README.md: boundary + deploy-conf-handling

**Pages affectées:**
- deploy/lib/*.sh, deploy/orchestrator.sh, deploy/lib/README.md
2026-03-23 13:23:23 +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
293b5ec9ba docs(cursor): align fix-lint with strict lint closure rules
**Motivations:**
- Same lint closure expectations when running fix-lint from ia_dev (warnings as errors, min five fixes, no spurious non-applicable)

**Root causes:**
- N/A

**Correctifs:**
- N/A

**Evolutions:**
- Add .cursor/rules/cloture-lint.mdc; tighten fix-lint agent table and intro

**Pages affectées:**
- .cursor/rules/cloture-lint.mdc, .cursor/agents/fix-lint.md
2026-03-23 13:11:09 +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
0a9d6e001b feat(deploy): generic orchestrator and deploy.sh entry
**Motivations:**
- Single generic orchestration in ia_dev while business logic stays in each project repo

**Root causes:**
- N/A (evolution)

**Correctifs:**
- N/A

**Evolutions:**
- Add orchestrator.sh (deploy.hooks.phases or fallback deploy.deploy_script_path)
- Add deploy.sh <project_id> <env> [options] as canonical entry from ia_dev root
- run-project-hooks.sh execs orchestrator.sh for backward compatibility
- change-to-all-branches.sh and deploy-by-script-to.sh invoke orchestrator.sh when IA_PROJECT_ID is set
- Document orchestration in README.md and deploy/lib/README.md

**Pages affectées:**
- README.md, deploy/orchestrator.sh, deploy/deploy.sh, deploy/run-project-hooks.sh, deploy/change-to-all-branches.sh, deploy/deploy-by-script-to.sh, deploy/lib/README.md
2026-03-23 13:04:18 +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
4a0b031b89 Add LPLDF HTTPS watchdog systemd units for 4NK proxy
**Motivations:**
- Alert when the LPLDF storefront HTTPS endpoint is down from the proxy

**Root causes:**
- N/A (monitoring gap)

**Correctifs:**
- N/A

**Evolutions:**
- watch-https-lpldf.sh: curl check, state file, syslog tag lpldf-https-watch, optional webhook/email via env file
- systemd oneshot + 5-minute timer; install script via SSH/scp

**Pages affectées:**
- tools/proxy-https-watch-lpldf.sh
- tools/proxy-https-watch-lpldf.env.example
- deploy/proxy-units/lpldf-https-watch.service
- deploy/proxy-units/lpldf-https-watch.timer
- deploy/scripts/install-lpldf-https-watch-on-proxy.sh
- deploy/README-lpldf-https-watch.md
2026-03-22 23:35:43 +01:00
0198ff7813 tolling first 2026-03-20 08:10:41 +01:00
602339f54d tolling first 2026-03-20 08:10:08 +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
a5cc3ef67a closing 2026-03-18 19:43:35 +01:00
14185c1e84 closing 2026-03-18 19:02:33 +01:00
c6bf930fab anonymous mode 2026-03-18 15:09:51 +01:00
2f23357460 full exec 2026-03-17 19:26:38 +01:00
2363c6e4b7 full exec 2026-03-17 14:37:53 +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
903e0f2eb5 centralized 2026-03-16 16:42:45 +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