Skip to content

feat(quality): Add three-way semantic memory merge (T-439) - #380

Merged
harshsinghmp merged 1 commit into
devfrom
feat/T-439-three-way-merge
Nov 9, 2026
Merged

harshsinghmp merged 1 commit into
devfrom
feat/T-439-three-way-merge

Conversation

@harshsinghmp

Copy link
Copy Markdown
Owner

Id-keyed 3-way merge with conflict detection and ours/theirs/semantic/manual strategies; CLI . Gate 1514/0.

Why: Branch overlays need a conflict-aware merge instead of last-write
wins.

What:
- src/quality/branch_merge.ts: id-keyed 3-way merge with add/add,
  modify/modify and delete/modify detection; ours/theirs/semantic/manual
  strategies; semantic winners only for supersession, archival and content
  containment.
- src/cli/merge3.ts + CLI: merge JSON snapshots, interactive manual mode,
  optional --out.
- test/branch_merge.test.ts: unchanged-side, conflict, containment,
  deletion and manual paths.

Verification: bun test 1514 pass / 0 fail; tsc clean; build 434 modules.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
@harshsinghmp
harshsinghmp merged commit 53624fb into dev Nov 9, 2026
@harshsinghmp
harshsinghmp deleted the feat/T-439-three-way-merge branch November 9, 2026 12:15
harshsinghmp added a commit that referenced this pull request Nov 9, 2026
Why: T-436-T-439 landed in PRs #377-#380.

What:
- Ticket-plan and current: landed marks and refs.
- CHANGELOG: Wave 27 entry.

Verification: bun test 1514/0; check:landed -> LANDED.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
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