FOLDER STRUCTURE REFACTORING PLAN ================================== Current (Messy): app.py agent0_sectioner.py agent1_segmenter.py agent1a_boundary.py agent1b_coder.py agent2_learner.py llm_client.py transcript_parser.py drive_utils.py pipeline.py orchestrator.py sequential_analysis.py kappa_calculator.py [lots of config files mixed in] New Structure: src/ agents/ __init__.py sectioner.py (agent0) boundary.py (agent1a) coder.py (agent1b) learner.py (agent2) utils/ __init__.py llm_client.py transcript_parser.py drive_api.py pipeline.py sequential_analysis.py kappa_calculator.py ui/ __init__.py app.py (main gradio app) data/ library/ (tier1_core, dimensions, etc) sessions/ (output folder) scripts/ run_local.sh test_local.sh docs/ SETUP.md API.md FILES TO DELETE (Redundant/Generated): - measure_efficiency.py (was for testing, now obsolete) - visualize_local_setup.py (just a diagram, can be in docs) - CHECKLIST_LOCAL_READY.md (same info as others) - SETUP_REPORT_LOCAL.md (consolidate into one doc) - researcher_ui (1).html (unused) - AI_Agents_CollabCode.pptx (presentation, not code) CLEAN UP: - Move .env.local to config/ - Move test files to scripts/ - Move documentation to docs/ - Consolidate JSON configs into data/config/