Skip to content

feat(daemon): add issue-level shared directory for squad collaboration#2962

Open
chbywl001 wants to merge 2 commits into
multica-ai:mainfrom
chbywl001:feature/issue-shared-directory
Open

feat(daemon): add issue-level shared directory for squad collaboration#2962
chbywl001 wants to merge 2 commits into
multica-ai:mainfrom
chbywl001:feature/issue-shared-directory

Conversation

@chbywl001
Copy link
Copy Markdown

Summary

Add issue-level shared directory so Squad members on the same issue can pass artifacts without each agent living in an isolated git worktree.

Problem

PriorWorkDir is keyed by (agent_id, issue_id). Multiple agents in a Squad each get separate worktrees and cannot see each other's uncommitted changes.

Solution

  • Shared path: {workspaces}/{workspace}/.issues/{shortIssueID}/shared/
  • Env var: MULTICA_ISSUE_SHARED_DIR
  • Agent brief documents the shared directory
  • GC skips .issues/ under each workspace

Test plan

  • go test ./internal/daemon/execenv -run TestPrepareCreatesIssueSharedDir
  • go test ./internal/daemon/execenv/...

Closes #2958

- Create per-issue shared dir under workspace/.issues/shortIssueID/shared/
- Expose MULTICA_ISSUE_SHARED_DIR to agent subprocesses
- Document squad shared directory in runtime agent brief
- Skip .issues/ in GC workspace scan
- Add TestPrepareCreatesIssueSharedDir

Closes multica-ai#2958
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

@wx001c is attempting to deploy a commit to the IndexLabs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Issue-level shared directory for Squad collaboration

2 participants