From fcb69939a345f7d3a7d92eac9ae2f70d505688e4 Mon Sep 17 00:00:00 2001 From: BlackAngelTV Date: Fri, 9 Oct 2026 17:13:35 +0200 Subject: [PATCH 1/2] docs: bold the commit message rule in Commits requested by the user The rule about not mentioning the AI, assistant, Codebuff or any tool in the commit title and body is easy to miss; make it visually stand out so it is treated as explicitly as the non-co-authorship rule. --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index d3ddef0..fff95bf 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -46,7 +46,7 @@ ### Commits demandés par l'utilisateur - Lorsque l'utilisateur demande explicitement de créer un commit, l'IA doit le faire après avoir vérifié les changements et les contrôles disponibles, sans attendre une confirmation supplémentaire. -- Le titre et le corps du commit ne doivent jamais mentionner l'IA, l'assistant, Codebuff ou l'outil utilisé. +- **Le titre et le corps du commit ne doivent jamais mentionner l'IA, l'assistant, Codebuff ou l'outil utilisé.** - **Ne pas ajouter l'IA comme auteur ou co-auteur dans le message du commit.** cette regles est la plus importante. ## Bonnes pratiques pour un agent -- 2.39.5 From 62d1d67a09c5e89498e829d1450aa9b63e5027f1 Mon Sep 17 00:00:00 2001 From: BlackAngelTV Date: Fri, 9 Oct 2026 17:14:47 +0200 Subject: [PATCH 2/2] fix(update): fail fast when install target directory cannot be created The self-update shell script ran mkdir -p $BIN_DIR without checking the result, so a silently failed directory creation led to the empty path error later in the install step. Make the script stop as soon as mkdir fails and print the directory name in the message. --- update/update-manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update/update-manager.cpp b/update/update-manager.cpp index 0310653..e49db22 100644 --- a/update/update-manager.cpp +++ b/update/update-manager.cpp @@ -553,7 +553,7 @@ QString UpdateManager::stagedInstallScript() { " cp \"$1\" \"$TMP\"\n" " mv -f \"$TMP\" \"$2\"\n" "}\n" - "mkdir -p \"$BIN_DIR\"\n" + "mkdir -p \"$BIN_DIR\" || { echo 'Impossible de créer '$BIN_DIR; exit 1; }\n" "install_file \"$STAGE/bin/PacManager\" \"$BIN_DIR/PacManager\"\n" // The version marker has to follow the installed release: it is what // the app reports and what the next update check compares against, so -- 2.39.5