hamza.khyari
06428a5db6
feat(plan): implement git worktree sandbox for execute and merge-based apply
...
Replace flat shutil.copy2 apply with spec-aligned git worktree flow
(specification.md §13225-13276):
Execute phase: creates an isolated git worktree via GitWorktreeSandbox
for the plan's linked git-checkout resource. LLM file output is
written to the worktree and committed on branch
cleveragents/plan-<plan_id> — no merge yet.
Apply phase: merges the worktree branch into the project's current
branch via git merge. Prints spec-aligned panels:
- Apply Summary: Plan ID, artifacts count, insertions/deletions,
project name, applied-at timestamp
- Sandbox Cleanup: worktree removed, branch merged to main
- Footer: ✓ OK Changes applied
Non-git projects (fs-directory resources) fall back to the original
flat directory sandbox with shutil.copy2.
Also fixes:
- context_tier_hydrator metadata types (int/float → string) that
caused Pydantic validation errors during context assembly
- A2A facade duplicate execute dispatch (idempotent handler)
- Logs actual error from context assembly failures
ISSUES CLOSED : #4454
2026-04-09 14:17:50 +00:00
..
2026-04-09 06:11:39 +00:00
2026-04-09 14:17:50 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 21:26:33 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 21:19:40 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 08:39:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 07:43:56 +00:00
2026-04-05 17:55:54 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 18:20:15 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 08:04:27 +00:00
2026-04-08 11:02:14 +00:00
2026-04-06 07:55:09 +00:00
2026-04-05 04:33:46 +00:00
2026-04-05 04:33:46 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 20:56:32 +00:00
2026-04-09 13:00:47 +00:00
2026-04-05 04:09:27 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 04:22:46 +00:00
2026-04-05 04:22:46 +00:00
2026-04-05 04:22:46 +00:00
2026-04-05 04:22:46 +00:00
2026-04-05 04:22:46 +00:00
2026-04-04 20:38:16 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 18:08:56 +00:00
2026-04-05 21:06:04 +00:00
2026-04-04 20:38:16 +00:00
2026-04-05 08:43:01 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 17:49:20 +00:00
2026-04-05 08:29:55 +00:00
2026-04-09 14:17:50 +00:00
2026-04-05 05:46:05 +00:00
2026-04-05 08:26:50 +00:00
2026-04-05 07:06:53 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 07:48:02 +00:00
2026-04-08 11:02:14 +00:00
2026-04-04 20:38:16 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 21:06:55 +00:00
2026-04-04 20:38:16 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 20:46:24 +00:00
2026-04-08 11:02:14 +00:00
2026-04-04 20:38:16 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 04:38:31 +00:00
2026-04-09 06:11:39 +00:00
2026-04-05 08:22:36 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 18:00:27 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-04 20:38:16 +00:00
2026-04-04 20:38:16 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 08:29:36 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 09:03:32 +00:00
2026-04-05 04:37:45 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-04 20:38:16 +00:00
2026-04-05 21:12:13 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 21:11:53 +00:00
2026-04-05 07:15:48 +00:00
2026-04-05 08:22:36 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 07:43:56 +00:00
2026-04-05 08:59:59 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 17:52:59 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 09:09:06 +00:00
2026-04-08 11:02:14 +00:00
2026-04-06 07:55:09 +00:00
2026-04-05 04:19:52 +00:00
2026-04-08 11:02:14 +00:00
2026-04-05 18:08:09 +00:00
2026-04-05 18:08:09 +00:00
2026-04-05 18:09:41 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-08 11:02:14 +00:00
2026-04-06 07:55:09 +00:00
2026-04-05 03:26:37 +00:00