CheddahBot/cheddahbot
PeninsulaInd 917445ade4 Steps 7-8: Eliminate KV store from task pipelines and update tests
Remove all KV store reads/writes from task pipeline code. ClickUp is now
the single source of truth for task state. File location (processed/
subfolder) tracks file processing state. Loop timestamps use in-memory
dict on Scheduler.

Source changes:
- scheduler.py: Remove KV dedup, fallback sync path, docx extraction;
  tools own their ClickUp sync; in-memory timestamps
- press_release.py: Remove KV state writes, log-only _set_status
- linkbuilding.py: Remove KV state writes, processed/ subfolder check
- content_creation.py: Phase detection via ClickUp API status, remove
  KV phase/state tracking, _update_kv_state removed
- clickup_tool.py: Rewrite to query ClickUp API directly
- ui.py: Pipeline status polling is now a no-op

Test changes:
- test_scheduler.py: Remove KV dedup tests, remove fallback path test,
  verify ClickUp API calls instead of KV state
- test_content_creation.py: Mock _get_clickup_client for phase detection,
  verify ClickUp sync calls instead of KV assertions
- test_linkbuilding.py: Remove KV status test, verify ClickUp API calls
- test_clickup_tools.py: Rewrite for API-backed tools
- test_scheduler_helpers.py: Test in-memory timestamps

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 16:26:44 -06:00
..
tools Steps 7-8: Eliminate KV store from task pipelines and update tests 2026-02-27 16:26:44 -06:00
__init__.py Initial implementation of CheddahBot personal AI assistant 2026-02-13 20:20:39 -06:00
__main__.py Wire scheduler to API/UI and improve loop control and PR headlines 2026-02-23 21:18:29 -06:00
agent.py Add two-phase content creation tool with human-in-the-loop outline review 2026-02-25 15:10:09 -06:00
agent_registry.py 3.2: Create AgentRegistry 2026-02-17 10:06:56 -06:00
api.py Add combined Cora Reports endpoint with keyword deduplication 2026-02-23 21:17:50 -06:00
clickup.py Fix 2: Store OutlinePath in ClickUp custom field for Phase 2 retrieval 2026-02-27 15:58:26 -06:00
config.py Merge branch 'content-creation' 2026-02-25 15:13:57 -06:00
db.py Add API cost tracking and switch planner to Grok 4.1 Fast 2026-02-23 18:00:11 -06:00
docx_export.py Add document export (.docx) and email delivery feature 2026-02-16 17:00:54 -06:00
email.py Add document export (.docx) and email delivery feature 2026-02-16 17:00:54 -06:00
llm.py Add two-phase content creation tool with human-in-the-loop outline review 2026-02-25 15:10:09 -06:00
media.py 1.1: Delete dead code and fix all lint errors 2026-02-17 09:56:36 -06:00
memory.py 3.4: Add per-agent memory scoping 2026-02-17 10:09:31 -06:00
notifications.py 1.1: Delete dead code and fix all lint errors 2026-02-17 09:56:36 -06:00
press_advantage.py Add submit_press_release tool with Press Advantage API integration 2026-02-16 17:37:41 -06:00
router.py Fix UI errors, message formatting, scheduler auto_execute, and LLM retry 2026-02-19 21:34:02 -06:00
scheduler.py Steps 7-8: Eliminate KV store from task pipelines and update tests 2026-02-27 16:26:44 -06:00
skills.py Reformat code and update ClickUp tools to reset pattern 2026-02-19 20:44:40 -06:00
ui.py Steps 7-8: Eliminate KV store from task pipelines and update tests 2026-02-27 16:26:44 -06:00