# Implementation Plan: 4-Tier Architecture Implementation & Conductor Self-Improvement

## Phase 1: `manual_slop` Migration Planning [checkpoint: e07e8e5]
- [x] Task: Synthesize MMA Documentation [46b351e]
    - [x] Read and analyze `./MMA_Support/Data_Pipelines_and_Config.md` and `./MMA_Support/OriginalDiscussion.md`
    - [x] Read and analyze `./MMA_Support/Tier1_Orchestrator.md` through `./MMA_Support/Tier4_Utility.md`
    - [x] Document key takeaways and constraints for the migration plan
- [x] Task: Draft Track 1 - The Memory Foundations (AST Parser) [bdd935d]
    - [x] Define TDD approach for `tree-sitter` integration in `file_cache.py`
    - [x] Specify tasks for `ASTParser` extraction rules (Skeleton View, Curated View)
    - [x] Define acceptance testing criteria for AST extraction
- [x] Task: Draft Track 2 - State Machine & Data Structures [1198aee]
    - [x] Define TDD approach for `models.py` (`Track`, `Ticket`, `WorkerContext`)
    - [x] Specify tasks for state mutator methods
    - [x] Define acceptance testing criteria for state transitions
- [x] Task: Draft Track 3 - The Linear Orchestrator & Execution Clutch [aaeed92]
    - [x] Define TDD approach for `multi_agent_conductor.py` (`run_worker_lifecycle`)
    - [x] Specify tasks for context injection and HITL Clutch implementation
    - [x] Define acceptance testing criteria for the linear orchestration loop
- [x] Task: Draft Track 4 - Tier 4 QA Interception [584bff9]
    - [x] Define TDD approach for `shell_runner.py` stderr interception
    - [x] Specify tasks for routing errors to the cheap API model
    - [x] Define acceptance testing criteria for the QA interception loop
- [x] Task: Draft Track 5 - UI Decoupling & Tier 1/2 Routing (The Final Boss) [67734c9]
    - [x] Define TDD approach for async queue in `multi_agent_conductor.py`
    - [x] Specify tasks for Tier 1 & 2 system prompts and the Dispatcher async loop
    - [x] Define acceptance testing criteria for UI decoupling and dynamic routing
- [x] Task: Conductor - User Manual Verification '`manual_slop` Migration Planning' (Protocol in workflow.md) [e07e8e5]

## Phase 2: Conductor Self-Reflection & Upgrade Strategy [checkpoint: 40339a1]
- [x] Task: Research Optimal Proposal Format [0c5f8b9]
    - [x] Search Gemini CLI documentation for extension guidelines
    - [x] Search Conductor documentation for tuning and advice
    - [x] Define the structure for `proposal.md` based on findings
- [x] Task: Draft Proposal - Memory Siloing & Token Firewalling [59556d1]
    - [x] Evaluate current `conductor` context management
    - [x] Propose strategies to prevent token bloat during planning and execution
    - [x] Write the corresponding section in `proposal.md`
- [x] Task: Draft Proposal - Execution Clutch & Linear Debug Mode [baff5c1]
    - [x] Evaluate current `conductor` execution workflows
    - [x] Propose mechanisms for manual step-through and auto modes
    - [x] Write the corresponding section in `proposal.md`
- [x] Task: Draft Proposal - Multi-Model/Sub-Agent Delegation [f62bf31]
    - [x] Evaluate current `conductor` single-model reliance
    - [x] Propose a design for delegating tasks (e.g., summarization, syntax-fixing) to sub-agents
    - [x] Write the corresponding section in `proposal.md`
- [x] Task: Review and Finalize Proposal [f62bf31]
    - [x] Ensure all three core areas are addressed with equal priority
    - [x] Verify alignment with the overall 4-Tier Architecture philosophy
- [x] Task: Conductor - User Manual Verification 'Conductor Self-Reflection & Upgrade Strategy' (Protocol in workflow.md) [40339a1]