From a398cb5520767b306b282be593e3fba5cba3bcff Mon Sep 17 00:00:00 2001 From: Gabry848 Date: Thu, 14 May 2026 16:52:58 +0200 Subject: [PATCH 1/6] Add GitButler and parallel multi-agent workflow documentation --- CLAUDE.md | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index c2a59b8..8c5f39d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -172,6 +172,59 @@ Task operations assume success immediately, with server confirmation afterward: - Cache updates immediately, reverts on API failure - Improves perceived performance in offline scenarios +## AI Agent Workflows + +### GitButler Branch Management for Code Changes +When an AI agent makes code modifications to this repository: + +1. **Create a new GitButler branch** for the changes: + ```bash + but branch new + ``` + +2. **Use GitButler to manage commits** instead of regular Git: + ```bash + but commit -m "your commit message" + ``` + +3. **Push changes using GitButler**: + ```bash + but push + ``` + +4. **Never commit directly to `master`** - always work on a separate branch created with `but branch new`. + +5. **When work is complete**, the user can review changes in the GitButler interface before merging to master. + +**Why**: GitButler enables parallel branch management and provides better change isolation, making it easier for users to review and manage AI-generated modifications. + +### Parallel Multi-Agent Development +GitButler is optimized for running multiple AI agents in parallel on different features: + +- **Each agent independently creates its own branch** with `but branch new ` +- **Each agent makes isolated commits** using `but commit -m "message"` +- **All branches work in parallel** without interfering with each other +- **You review all changes in GitButler UI** before deciding which to merge +- **Atomic merging**: Accept or reject each feature/branch independently + +Example workflow: +```bash +# Agent 1 starts +but branch new feature-chat-ui +# Agent 1 makes changes and commits +but commit -m "feat: Improve chat interface" + +# Agent 2 starts (parallel to Agent 1) +but branch new feature-task-filtering +# Agent 2 makes changes and commits +but commit -m "add: advanced filtering" + +# Both work simultaneously on different branches +# You see both in GitButler, merge what you want +``` + +This enables true parallel development without merge conflicts or coordination overhead. + ## Expo-Specific Configuration ### Plugins (from app.json) From 3719080ceb1aaa7f04064338289ca1775d8058ec Mon Sep 17 00:00:00 2001 From: Gabry848 Date: Thu, 14 May 2026 20:00:54 +0200 Subject: [PATCH 2/6] fix(ui): centra verticalmente il bottone 'Aggiungi task' nella card categoria --- src/components/Category/CategoryCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Category/CategoryCard.tsx b/src/components/Category/CategoryCard.tsx index 81061d1..5687490 100644 --- a/src/components/Category/CategoryCard.tsx +++ b/src/components/Category/CategoryCard.tsx @@ -149,7 +149,7 @@ const styles = StyleSheet.create({ view: { flexDirection: "row", justifyContent: "space-between", - alignItems: "flex-start", + alignItems: "center", // Centrato verticalmente marginVertical: 8, }, contentContainer: { From 4cbfd72d2a700c8a5aff33a2f5876a2bcaf77ba7 Mon Sep 17 00:00:00 2001 From: Gabry848 Date: Thu, 14 May 2026 22:03:52 +0200 Subject: [PATCH 3/6] chore: aggiunti permessi GitButler in settings - Aggiunto permesso per but diff, but log e but * - Migliorata integrazione con comandi GitButler From c911a2803317eda4f67796e6f589058c1dc6dd73 Mon Sep 17 00:00:00 2001 From: Gabry848 Date: Thu, 14 May 2026 22:04:03 +0200 Subject: [PATCH 4/6] chore: aggiunti permessi GitButler in settings - Aggiunto permesso per but diff, but log e but * - Migliorata integrazione con comandi GitButler From 1584e66a42b0d8319f38a2d4edaccb2326b67f5e Mon Sep 17 00:00:00 2001 From: Gabry848 Date: Fri, 15 May 2026 11:29:29 +0200 Subject: [PATCH 5/6] updated claude permissions From 31bc3af9f51783889522b4d6703f5a9624d43cfd Mon Sep 17 00:00:00 2001 From: Gabry848 Date: Fri, 15 May 2026 11:31:06 +0200 Subject: [PATCH 6/6] updated claude permissions