49de4eea20
docs(multisite): remove enso line references and tighten SSH/read-only guidance
...
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.
2026-05-13 22:59:34 +02:00
c77afdff4c
docs(agents): mirror prod lecoffreio requirement in ia_dev analyse
...
**Motivations:** Keep ia_dev analyse agent aligned with LeCoffre canonical analyse.md.
**Evolutions:** Short pointer to prod lecoffreio systematic execution.
**Page affectée:** .smartIde/agents/analyse.md
2026-05-04 14:22:33 +02:00
ecb2811209
ia_dev: analyse agent, SSH scp helpers, deploy log, kogus docs, push-by-script rules
...
**Motivations:**
- Version the new analyse Cursor agent and keep push-by-script closure rules accurate.
- Improve deploy SSH/SCP reliability for publishing remote lib pairs and transient connection failures.
- Align kogus documentation with current deployment and code standards.
**Root causes:**
- None (incremental tooling and documentation maintenance).
**Correctifs:**
- Minor adjustment in deploy log helper output (staged change).
**Evolutions:**
- Add `.smartIde/agents/analyse.md` for the analyse agent workflow.
- Extend `deploy/lib/ssh.sh` with remote lib pair publish helpers and `scp_copy_retry` / retry wrapper for ProxyJump/transient SCP failures.
- Update `.smartIde/agents/push-by-script.md` (lint closure and workflow notes).
- Update `projects/kogus/docs/Code-Standards.md` and `projects/kogus/docs/Deployment.md`.
**Pages affectées:**
- N/A (ia_dev agents, deploy libs, and project docs only).
2026-04-29 13:20:16 +02:00
c164f8dfa3
deploy(kogus): align orchestrator path with deploy-multisite-lines.sh
...
**Motivations:**
- LeCoffre script renamed to reflect multisite product lines (lecoffreio, enso, genealogie)
**Root causes:**
- Stale references to deploy-lecoffre-all-sites.sh in ia_dev entrypoints and conf
**Correctifs:**
- deploy-by-script-to.sh, change-to-all-branches.sh, conf.json project_orchestrator_path
**Evolutions:**
- .smartIde agent docs updated for new script name
**Pages affectées:**
- deploy/, .smartIde/agents/, projects/kogus/conf.json, projects/kogus/docs/agents-scripts-split.md
2026-04-27 17:59:38 +02:00
91b6a8a319
Add nine deploy agent stubs (site × env) and doc pointer
...
**Motivations:**
- Mirror LeCoffre deploy-test/deploy-pprod/deploy-prod per-site agents in ia_dev.
**Root causes:**
- N/A
**Correctifs:**
- N/A
**Evolutions:**
- Nine .smartIde/agents deploy-* stubs linking to LECOFFRE_REPO playbooks.
- deploy-by-script.md multisite paragraph lists dedicated agents.
- projects/kogus/docs/Deployment.md bullet for operator reference.
**Pages affectées:**
- ia_dev agents and kogus Deployment doc only.
2026-04-27 11:26:06 +02:00
65d3e05991
deploy-by-script: link deploy-test-site and deploy-pprod-or-prod-site agents
...
**Motivations:**
- Document single-line deploy entry points next to multisite paragraph.
**Root causes:**
- N/A
**Correctifs:**
- N/A
**Evolutions:**
- Cross-reference deploy-test-site.md and deploy-pprod-or-prod-site.md from deploy-by-script.md.
**Pages affectées:**
- ia_dev agent doc only.
2026-04-27 11:15:50 +02:00
9de50b021c
Add deploy-test-site and deploy-pprod-or-prod-site agent stubs (kogus multisite)
...
**Motivations:**
- Mirror LeCoffre single-line deploy playbooks in ia_dev for Cursor /smartIde agents.
**Root causes:**
- N/A
**Correctifs:**
- N/A
**Evolutions:**
- deploy-test-site.md and deploy-pprod-or-prod-site.md pointing to LECOFFRE_REPO canonical agent files.
**Pages affectées:**
- ia_dev agent registry only.
2026-04-27 11:08:33 +02:00
e346a95563
fix(deploy): resolve nested kogus multisite secrets path for pprod/prod connectDB scp
...
Support .secrets/kogus/<env>/ when flat .secrets/<env> is absent for deploy-by-script-to.
Made-with: Cursor
2026-04-25 00:51:02 +02:00
09c8f87c90
Unify git-issues mail stderr hints via IMAP_SMTP_CONFIG_DOC_REF
...
**Motivations:**
- Replace per-path messages with canonical doc reference from LeCoffre imap_common.
**Evolutions:**
- mail_common re-exports IMAP_SMTP_CONFIG_DOC_REF; mail-*.py and tickets-fetch-inbox use it for IMAP/SMTP/Gitea token errors.
**Page affectées:**
- git-issues/mail_common.py, mail-list-unread.py, mail-get-thread.py, mail-mark-read.py, mail-send-reply.py, mail-to-issue.py, mail-create-issue-from-email.py, tickets-fetch-inbox.py
2026-04-23 15:32:00 +02:00
42ff25ccd5
Wire git-issues mail_common to LeCoffre automation/imap-bridge
...
**Motivations:**
- Consume canonical imap_common from lecoffre_ng_test; align Gitea token resolution.
**Root causes:**
- IMAP logic duplicated under ia_dev only; token path ignored LeCoffre central tree.
**Correctives:**
- mail_common imports imap_common via LECOFFRE_REPO_ROOT or sibling lecoffre_ng_test; lib.sh token fallback order updated.
**Evolutions:**
- GIT_ISSUES_SCRIPTS_AGENTS.md documents new secret paths and centralize script.
**Page affectées:**
- git-issues/mail_common.py, git-issues/lib.sh, git-issues/mail-to-issue.py, projects/ia_dev/docs/GIT_ISSUES_SCRIPTS_AGENTS.md
2026-04-23 15:01:40 +02:00
e5e07741d3
chore: agents, deploy scripts, notary-ai helpers and samples
...
**Motivations:** Publish ia_dev workspace updates to remote dev_ia.
**Root causes:** N/A (accumulated local changes).
**Correctifs:** N/A.
**Evolutions:** SmartIde agent docs; deploy change-to-all-branches and deploy-by-script-to; ai_working_help package scripts and lockfile; notary-ai loop shell scripts; sample responded JSON under projects/kogus/data; .cursor/ssh_config stub; kogus Code-Standards doc.
**Pages affectées:** N/A.
2026-04-23 03:06:13 +02:00
f8b0e9240d
deploy: source LeCoffre deploy-log-filename.sh for tee log path
...
**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.
2026-04-23 02:53:15 +02:00
983cf9135e
deploy: align deploy-log.sh with multisite log filenames (site + kogus)
...
**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.
2026-04-23 02:50:21 +02:00
c4113acbaa
chore(kogus): add front-backoffice to pousse.sh --build dirs
...
**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.
2026-04-23 01:26:45 +02:00
bf12456bfd
docs(agents): drop push-by-script steps from deploy-pprod-or-prod
...
**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
2026-04-22 22:23:32 +02:00
2baae6ca48
chore(deploy): make pousse.sh build opt-in via --build
...
**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
2026-04-22 22:20:27 +02:00
ffdb076926
docs(agents): dedupe Types/Compilation closure after pousse build
...
**Motivations:**
- pousse.sh step 5 already runs typecheck and multi-site build.
**Root causes:**
- Closure required executing typecheck and build again after successful pousse.
**Correctifs:**
- Single Types+Compilation bullet: cite exit 0; forbid redundant full typecheck/build on same tree.
**Evolutions:**
- None.
**Page affectées:**
- ia_dev push-by-script agent.
2026-04-22 20:46:20 +02:00
afc693b058
docs(kogus): sync mirror from lecoffre_ng_test/docs (API, Code-Standards, Deployment, README)
2026-04-21 19:47:08 +02:00
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
7dd97e5df7
chore(deploy): disable nested secrets symlinks (real dirs only)
...
ia_dev_deploy_ensure_nested_secrets_symlinks is a no-op; nested .secrets/<site>/<env> must be material directories.
2026-04-16 12:56:15 +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
797b11430e
docs(agents): lecoffre multisite SITE_CODE, deploy-site, secrets layout
...
Align ia_dev agents with monorepo: .cursor/agents paths, deploy-site.sh loop, nested .secrets/<site>/<env>/, fix obsolete .smartIde reference for LeCoffre.
2026-04-14 01:06:13 +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
8a73fea3c8
docs(agents): align fix-lint with LeCoffre Edge Tools guidance, markdownlint
2026-04-10 05:44:42 +02:00
ae4bc14573
docs(fix-lint): document LeCoffre jsx-a11y lint and check:edge-tools-static
2026-04-10 04:58:46 +02:00
afde172170
chore(notary-ai): default wait heartbeat 20s (was 60)
2026-04-10 04:16:19 +02:00
45e51680a5
chore(notary-ai): clarify infinite wait then 10h foreground loop
...
Heartbeat during wait; optional skip daemon SIGTERM; detect loop-daemon and cycles.
2026-04-10 00:10:31 +02:00
b5e1749b74
feat(ai_working_help): expose folder_uid and user_id on GET /v1/response
...
Allows LeCoffre backend to validate polls after process restart.
2026-04-10 00:07:23 +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
cc3f97931d
docs(agents): fix-lint — Edge Tools diagnostics (webhint, axe, compat-api CSS)
2026-04-09 22:49:57 +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
756bab0cd8
feat: append script lifecycle events to smart_ide logs/ia_dev.log when embedded
2026-04-03 17:50:35 +02:00
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