| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add patch merging and fix task healthcheck failing due to worktrees | soryu | 2026-01-27 | 1 | -25/+121 |
| | | |||||
| * | Fix worktree info and patches endpoint | soryu | 2026-01-27 | 1 | -0/+67 |
| | | |||||
| * | Fix supervisor merge and PR commands (#36) | soryu | 2026-01-27 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Task completion checkpoint * Task completion checkpoint * Task completion checkpoint * Fix supervisor merge for completed tasks and make PR command synchronous ## Issue 1: makima supervisor merge doesn't work for completed tasks When a task completes, the daemon removes it from in-memory task tracking. This caused merge operations to fail with "Task not found". Fixed by updating handle_merge_task_to_target() to use get_task_worktree_path() which scans the worktrees directory as a fallback when the task is not in memory. Also updated handle_create_pr() with the same pattern for consistency. ## Issue 2: makima supervisor pr returns immediately without result The create_pr handler was asynchronous - it sent the CreatePR command to the daemon and immediately returned without waiting for the result. Fixed by: 1. Adding PrResultNotification struct and pr_results broadcast channel to AppState 2. Updating mesh_daemon.rs to broadcast PRCreated results to the channel 3. Updating create_pr() handler to subscribe to pr_results and wait for the result with a 60-second timeout (matching the merge command pattern) Now the PR command returns the actual pr_url and pr_number from the daemon. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> | ||||
| * | Add local-only mode for contracts with patch export support (#34) | soryu | 2026-01-26 | 1 | -0/+92 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add local_only flag to contracts database and models Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Task completion checkpoint * Skip automatic completion actions in local_only mode Add `local_only` flag to contracts that prevents automatic completion actions (branch, merge, pr) from executing when tasks complete. This allows users to manually handle code changes via patch files or other means when operating in local-only mode. Changes: - Add `local_only` field to Contract model and request types - Add database migration for the new column - Add `local_only` parameter to SpawnTask command in both state.rs and daemon protocol.rs - Modify task manager to skip completion action execution when `local_only` is true, with appropriate logging - Pass `local_only` flag through all task spawning paths: - mesh_supervisor.rs (task spawn, retry, resume) - mesh.rs (task start, reassign, continue) - mesh_chat.rs (run task) - contract_chat.rs (run task) - Update repository create/update functions to handle `local_only` Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Task completion checkpoint * Implement core patch export system Add functionality to create uncompressed, human-readable git patches for export. This enables users to generate patches that can be manually applied or shared, without the compression used for internal checkpoints. Changes: - Add ExportPatchResult struct with patch content, file count, and line stats - Add create_export_patch() function that generates diffs against a base SHA - Add get_head_sha() utility function - Add parse_diff_stat() helper to extract line counts from git output - Add CreateExportPatch command to daemon protocol - Add ExportPatchCreated response message to protocol - Add handler in task manager to process export patch requests - Add server-side handling to broadcast patch results to UI The export patch system automatically finds the merge-base when no base SHA is provided, trying upstream tracking branch first, then common default branches (origin/main, origin/master, main, master). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Task completion checkpoint * Add GitActionsPanel frontend component * Add WorktreeFilesPanel and PatchesListPanel components * Add local-only mode toggle to contract creation --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> | ||||
| * | Make merges synchronous | soryu | 2026-01-26 | 1 | -2/+11 |
| | | |||||
| * | Add completion phases | soryu | 2026-01-26 | 1 | -32/+18 |
| | | |||||
| * | Add automatic phase transitions and fix PR creation | soryu | 2026-01-25 | 1 | -0/+201 |
| | | |||||
| * | Add resume to daemon tasks | soryu | 2026-01-23 | 1 | -0/+117 |
| | | |||||
| * | Add patch checkpointing | soryu | 2026-01-23 | 1 | -0/+59 |
| | | |||||
| * | Heartbeat daemon | soryu | 2026-01-21 | 1 | -1/+14 |
| | | |||||
| * | Add heartbeat commits | soryu | 2026-01-17 | 1 | -1/+112 |
| | | |||||
| * | Add autopilot panel and retry system | soryu | 2026-01-17 | 1 | -19/+64 |
| | | |||||
| * | Update continue task system and daemon IDs | soryu | 2026-01-17 | 1 | -20/+28 |
| | | |||||
| * | Implement git config inherit system | soryu | 2026-01-15 | 1 | -0/+34 |
| | | |||||
| * | Implement simple git checkpoint command for supervisor | soryu | 2026-01-15 | 1 | -0/+124 |
| | | |||||
| * | Automatically derive repo URL and add notifications for input | soryu | 2026-01-15 | 1 | -0/+42 |
| | | |||||
| * | Contract system | soryu | 2026-01-15 | 1 | -1/+210 |
| | | |||||
| * | Initial Control system | soryu | 2026-01-11 | 1 | -0/+959 |
