Squash Odysseus development history

This commit is contained in:
pewdiepie-archdaemon
2026-09-11 06:04:19 +00:00
parent e5c99a5eee
commit 6ee6502010
2050 changed files with 538359 additions and 57745 deletions
+27
View File
@@ -0,0 +1,27 @@
"""Task sessions must be assigned folder='Tasks' at creation time."""
import inspect
from src.task_scheduler import TaskScheduler
def test_llm_task_session_gets_tasks_folder():
"""_execute_llm_task must create sessions with folder='Tasks'."""
source = inspect.getsource(TaskScheduler._execute_llm_task)
assert 'folder="Tasks"' in source or "folder='Tasks'" in source, (
"LLM task session creation must set folder='Tasks'"
)
def test_action_task_session_gets_tasks_folder():
"""_deliver_task_result must create sessions with folder='Tasks'."""
source = inspect.getsource(TaskScheduler._deliver_task_result)
assert 'folder="Tasks"' in source or "folder='Tasks'" in source, (
"Action task session delivery must set folder='Tasks'"
)
def test_research_task_session_gets_tasks_folder():
"""_execute_research_task must create sessions with folder='Tasks'."""
source = inspect.getsource(TaskScheduler._execute_research_task)
assert 'folder="Tasks"' in source or "folder='Tasks'" in source, (
"Research task session creation must set folder='Tasks'"
)