Skip to content

feat(store): Add branch-isolated memory overlays (T-436) - #377

Merged
harshsinghmp merged 1 commit into
devfrom
feat/T-436-branch-overlays
Nov 9, 2026
Merged

harshsinghmp merged 1 commit into
devfrom
feat/T-436-branch-overlays

Conversation

@harshsinghmp

Copy link
Copy Markdown
Owner

Overlay layers per git branch with merged read view, merge and drop; CLI . Gate 1505/0; tsc clean; build 434.

Why: Feature branches need their own memory layer without polluting the
base store until merge.

What:
- src/store/branch.ts: JSON overlays under .memory/branches, git branch
  detection, upsert/delete, merged read view, merge and drop.
- src/cli/branch.ts + CLI: branch list/create/show/entries/merge/drop.
- test/branch_overlays.test.ts: isolation, merged view, merge, drop.

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

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
@harshsinghmp
harshsinghmp merged commit d32dd25 into dev Nov 9, 2026
@harshsinghmp
harshsinghmp deleted the feat/T-436-branch-overlays branch November 9, 2026 12:08
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