81 Commits

Author SHA1 Message Date
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
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