multica/server/internal
Jiayuan ce2b263ea5 feat(daemon): reuse workdir across tasks on same agent+issue pair
Previously each task created a fresh workdir via execenv.Prepare(), even
when resuming work on the same (agent, issue). This caused the agent's
session context to be out of sync with a blank code state.

Now the server returns prior_work_dir in the claim response, and the
daemon tries execenv.Reuse() first — which wraps the existing directory,
detects git worktree state, and refreshes context files. Falls back to
Prepare() if the prior workdir no longer exists. Workdirs are no longer
cleaned up after task completion so they remain available for reuse.
2026-03-29 18:40:29 +08:00
..
auth feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
cli fix: resolve merge conflict in login page, adopt main's CLI auth flow 2026-03-26 17:42:55 +08:00
daemon feat(daemon): reuse workdir across tasks on same agent+issue pair 2026-03-29 18:40:29 +08:00
events feat(realtime): WS invalidation + refetch pattern, inbox bugfixes, UI polish 2026-03-29 13:49:40 +08:00
handler feat(daemon): reuse workdir across tasks on same agent+issue pair 2026-03-29 18:40:29 +08:00
logger feat(logging): add structured logging across server and SDK 2026-03-26 10:57:11 +08:00
middleware feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
realtime feat(realtime): route personal events to target user only 2026-03-29 17:42:50 +08:00
service Merge pull request #168 from multica-ai/forrestchang/agent-arch-review 2026-03-29 17:54:22 +08:00
util feat(server): add task service layer and daemon REST protocol 2026-03-23 18:34:51 +08:00