CheddahBot/cheddahbot/tools
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
..
__init__.py Hide clickup_task_id from LLM tool schema to prevent hallucination 2026-02-17 16:38:11 -06:00
autocora.py Fix 1: AutoCora prioritized sweep and KV-free result polling 2026-02-27 15:57:09 -06:00
calendar_tool.py 1.1: Delete dead code and fix all lint errors 2026-02-17 09:56:36 -06:00
clickup_tool.py Steps 7-8: Eliminate KV store from task pipelines and update tests 2026-02-27 16:26:44 -06:00
code_exec.py Initial implementation of CheddahBot personal AI assistant 2026-02-13 20:20:39 -06:00
content_creation.py Steps 7-8: Eliminate KV store from task pipelines and update tests 2026-02-27 16:26:44 -06:00
data_proc.py 1.1: Delete dead code and fix all lint errors 2026-02-17 09:56:36 -06:00
delegate.py Reformat code and update ClickUp tools to reset pattern 2026-02-19 20:44:40 -06:00
email_tool.py Add document export (.docx) and email delivery feature 2026-02-16 17:00:54 -06:00
file_ops.py 1.1: Delete dead code and fix all lint errors 2026-02-17 09:56:36 -06:00
image.py 1.1: Delete dead code and fix all lint errors 2026-02-17 09:56:36 -06:00
linkbuilding.py Steps 7-8: Eliminate KV store from task pipelines and update tests 2026-02-27 16:26:44 -06:00
press_release.py Steps 7-8: Eliminate KV store from task pipelines and update tests 2026-02-27 16:26:44 -06:00
report_issue.py Add API cost tracking and switch planner to Grok 4.1 Fast 2026-02-23 18:00:11 -06:00
shell.py 1.4: Wire require_approval check for shell commands 2026-02-17 09:59:27 -06:00
web.py 1.1: Delete dead code and fix all lint errors 2026-02-17 09:56:36 -06:00