Skip to content

refactor: purify AISnapshotStore as data-only layer#2682

Merged
abose merged 1 commit intomainfrom
z
Feb 20, 2026
Merged

refactor: purify AISnapshotStore as data-only layer#2682
abose merged 1 commit intomainfrom
z

Conversation

@abose
Copy link
Member

@abose abose commented Feb 19, 2026

Move _undoApplied (UI button state) to AIChatPanel. Eliminate _initialSnapshotCreated (redundant with getSnapshotCount() > 0) and _lastSnapshotAfter (redundant with _snapshots[last]). Reorder createInitialSnapshot before recordFileBeforeEdit so back-fill populates _snapshots[0] directly. Add Phoenix MCP usage hints to CLAUDE.md.

Move _undoApplied (UI button state) to AIChatPanel. Eliminate
_initialSnapshotCreated (redundant with getSnapshotCount() > 0) and
_lastSnapshotAfter (redundant with _snapshots[last]). Reorder
createInitialSnapshot before recordFileBeforeEdit so back-fill
populates _snapshots[0] directly. Add Phoenix MCP usage hints to
CLAUDE.md.
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@abose abose merged commit 0f1cc1e into main Feb 20, 2026
18 of 21 checks passed
@abose abose deleted the z branch February 20, 2026 04:53
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

Comments