Skip to content

feat(sync): sync both user and project workspaces automatically#56

Merged
christso merged 6 commits intomainfrom
feat/workspace-sync-both-scopes
Feb 3, 2026
Merged

feat(sync): sync both user and project workspaces automatically#56
christso merged 6 commits intomainfrom
feat/workspace-sync-both-scopes

Conversation

@christso
Copy link
Copy Markdown
Contributor

@christso christso commented Feb 3, 2026

Summary

  • workspace sync now automatically syncs both user (~/.allagents/workspace.yaml) and project (.allagents/workspace.yaml) workspaces
  • Removes --scope flag from the sync command — no longer needed
  • If neither config exists, auto-creates user config and shows guidance message
  • Adds mergeSyncResults helper to combine results from both sync operations

Test plan

  • Unit tests for mergeSyncResults (4 tests)
  • Unit tests for both-scope sync behavior (2 tests)
  • E2e tests updated for new behavior
  • Full test suite passes (482 tests, 0 failures)
  • workspace sync --help confirms --scope is removed
  • Pre-push hooks pass (lint, typecheck, test)

🤖 Generated with Claude Code

christso and others added 5 commits February 3, 2026 04:41
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove --scope flag from workspace sync command. The sync command now
automatically detects and syncs both user-scope and project-scope
workspaces when their configs exist. If neither config exists, it
auto-creates the user workspace and shows guidance.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Feb 3, 2026

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

Latest commit: 256531a
Status: ✅  Deploy successful!
Preview URL: https://e5648449.allagents.pages.dev
Branch Preview URL: https://feat-workspace-sync-both-sco.allagents.pages.dev

View logs

Isolates e2e tests from the developer's real user workspace config
so test results are deterministic across environments.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@christso christso merged commit f3623d4 into main Feb 3, 2026
1 check passed
@christso christso deleted the feat/workspace-sync-both-scopes branch February 3, 2026 05:11
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.

1 participant