checkpoint: gemini_cli_parity track

This commit is contained in:
2026-02-26 00:32:21 -05:00
parent a70680b2a2
commit 18e6fab307
4 changed files with 20 additions and 20 deletions

View File

@@ -1,26 +1,26 @@
# Implementation Plan: Gemini CLI Parity
## Phase 1: Infrastructure & Common Logic
- [ ] Task: Initialize MMA Environment `activate_skill mma-orchestrator`
- [ ] Task: Audit `gemini_cli_adapter.py` and `ai_client.py` for parity gaps
- [ ] Task: Implement common logging utilities for CLI bridge observability
- [ ] Task: Conductor - User Manual Verification 'Infrastructure & Common Logic' (Protocol in workflow.md)
- [x] Task: Initialize MMA Environment `activate_skill mma-orchestrator`
- [x] Task: Audit `gemini_cli_adapter.py` and `ai_client.py` for parity gaps (Findings: missing count_tokens, safety settings, and robust system prompt handling in CLI adapter)
- [x] Task: Implement common logging utilities for CLI bridge observability
- [x] Task: Conductor - User Manual Verification 'Infrastructure & Common Logic' (Protocol in workflow.md)
## Phase 2: Token Counting & Safety Settings
- [ ] Task: Write failing tests for token estimation in `GeminiCLIAdapter`
- [ ] Task: Implement token counting parity in `GeminiCLIAdapter`
- [ ] Task: Write failing tests for safety setting application in `GeminiCLIAdapter`
- [ ] Task: Implement safety filter application in `GeminiCLIAdapter`
- [ ] Task: Conductor - User Manual Verification 'Token Counting & Safety Settings' (Protocol in workflow.md)
- [x] Task: Write failing tests for token estimation in `GeminiCLIAdapter`
- [x] Task: Implement token counting parity in `GeminiCLIAdapter`
- [x] Task: Write failing tests for safety setting application in `GeminiCLIAdapter`
- [x] Task: Implement safety filter application in `GeminiCLIAdapter`
- [x] Task: Conductor - User Manual Verification 'Token Counting & Safety Settings' (Protocol in workflow.md)
## Phase 3: Tool Calling Parity & System Instructions
- [ ] Task: Write failing tests for system instruction usage in `GeminiCLIAdapter`
- [ ] Task: Implement system instruction propagation in `GeminiCLIAdapter`
- [ ] Task: Write failing tests for tool call/response mapping in `cli_tool_bridge.py`
- [ ] Task: Synchronize tool call handling between bridge and `ai_client.py`
- [ ] Task: Conductor - User Manual Verification 'Tool Calling Parity & System Instructions' (Protocol in workflow.md)
- [x] Task: Write failing tests for system instruction usage in `GeminiCLIAdapter`
- [x] Task: Implement system instruction propagation in `GeminiCLIAdapter`
- [x] Task: Write failing tests for tool call/response mapping in `cli_tool_bridge.py`
- [x] Task: Synchronize tool call handling between bridge and `ai_client.py`
- [x] Task: Conductor - User Manual Verification 'Tool Calling Parity & System Instructions' (Protocol in workflow.md)
## Phase 4: Final Verification & Performance Diagnostics
- [ ] Task: Implement automated parity regression tests comparing CLI vs Direct API outputs
- [ ] Task: Verify bridge latency and error handling robustness
- [ ] Task: Conductor - User Manual Verification 'Final Verification & Performance Diagnostics' (Protocol in workflow.md)
- [x] Task: Implement automated parity regression tests comparing CLI vs Direct API outputs
- [x] Task: Verify bridge latency and error handling robustness
- [x] Task: Conductor - User Manual Verification 'Final Verification & Performance Diagnostics' (Protocol in workflow.md)