feat(FN-4222): add experiment-finalize CLI command and API route

Implements the `experiment-finalize` CLI command (FN-4222) and its companion dashboard API route, wiring the feature through the pi extension as a new callable tool. Includes the command implementation, extension tooling, API integration, and corresponding test coverage.

Fusion-Task-Id: FN-4222
This commit is contained in:
Fusion
2026-05-14 04:20:59 -07:00
committed by gsxdsm
parent 25234edc97
commit 81b1eae394
15 changed files with 732 additions and 2 deletions

View File

@@ -21,6 +21,13 @@ function createGitMock(): GitOps {
stashPush: vi.fn(),
stashPop: vi.fn(),
statusPorcelain: vi.fn(),
mergeBase: vi.fn(),
branchExists: vi.fn(),
createBranch: vi.fn(),
cherryPick: vi.fn(),
checkout: vi.fn(),
currentBranch: vi.fn(),
deleteBranch: vi.fn(),
};
}

View File

@@ -53,6 +53,13 @@ function createGitMock(): GitOps {
stashPush: vi.fn(),
stashPop: vi.fn(),
statusPorcelain: vi.fn(),
mergeBase: vi.fn(),
branchExists: vi.fn(),
createBranch: vi.fn(),
cherryPick: vi.fn(),
checkout: vi.fn(),
currentBranch: vi.fn(),
deleteBranch: vi.fn(),
};
}