Fusion Agent
8b681775ae
FN-122: fix local workspace integration across repositories
Make multi-repository workspace merges resolve and land against the correct local integration targets.
- Add local integration-target resolution and durable merge-dispatch leasing.
- Harden workspace merge fencing, failure handling, audit logging, and CLI/dashboard controls.
- Document the workflow and add regression coverage for workspace integration and task-log deduplication.
- Complete the CLI engine mock for the new public lease export.
Files changed:
.changeset/fn-122-local-workspace-integration.md | 7 +
docs/architecture.md | 1 +
docs/dashboard-guide.md | 4 +
docs/settings-reference.md | 4 +-
docs/testing.md | 10 ++
.../task-command-github-import-tracking.test.ts | 2 +
packages/cli/src/commands/__tests__/task.test.ts | 1 +
packages/cli/src/commands/dashboard.ts | 15 +-
packages/cli/src/commands/task.ts | 14 +-
.../__tests__/postgres/task-log-dedupe.pg.test.ts | 30 ++++
packages/core/src/index.ts | 2 +-
packages/core/src/store.ts | 5 +-
packages/core/src/task-store/audit-ops.ts | 38 ++++
packages/core/src/types.ts | 2 +
packages/core/src/types/task/task-core.ts | 16 +-
packages/core/src/types/task/task-log.ts | 2 +
.../app/components/WorkspaceWorktreesSummary.tsx | 15 +-
.../settings/sections/WorktreesSection.tsx | 3 +-
.../engine/src/__tests__/workspace-e2e.test.ts | 198 ++++++++++++++++-----
.../__tests__/workspace-integration-target.test.ts | 75 ++++++++
.../src/__tests__/workspace-merger-lease.test.ts | 42 ++++-
packages/engine/src/index.ts | 6 +
packages/engine/src/merge/merger-ai.ts | 152 +++++++++++-----
packages/engine/src/merge/workspace-fence-ref.ts | 17 +-
.../src/merge/workspace-integration-target.ts | 87 +++++++++
.../engine/src/merge/workspace-land-failure.ts | 6 +-
.../src/merge/workspace-merge-dispatch-lease.ts | 54 ++++++
packages/engine/src/project-engine.ts | 25 +++
28 files changed, 715 insertions(+), 118 deletions(-)
Fusion-Task-Id: FN-122
Fusion-Task-Lineage: 9364bba4-cebc-44e7-b2ae-60967fbc025c
Co-authored-by: Fusion <noreply@runfusion.ai>
2026-08-23 01:36:12 +00:00
..
2026-08-23 01:36:12 +00:00
2026-08-23 01:36:12 +00:00
2026-06-03 13:02:23 -07:00
2026-08-03 09:04:45 -07:00
2026-04-23 23:02:35 -07:00
2026-05-01 05:04:05 -07:00
2026-06-14 15:29:35 -07:00
2026-08-15 00:35:12 -07:00
2026-08-11 01:51:22 -07:00
2026-08-23 01:36:12 +00:00
2026-07-14 23:18:55 -07:00
2026-07-25 00:54:46 -07:00
2026-08-15 12:04:30 -07:00
2026-08-01 06:09:04 -07:00
2026-08-21 10:57:44 -07:00
2026-07-15 14:01:08 -07:00
2026-08-21 10:18:45 -07:00