feat: major architectural refactor

- Refactor memory system (episodic/STM/LTM with components)
- Implement complete subtitle domain (scanner, matcher, placer)
- Add YAML workflow infrastructure
- Externalize knowledge base (patterns, release groups)
- Add comprehensive testing suite
- Create manual testing CLIs
This commit is contained in:
2026-05-11 21:33:37 +02:00
parent 62b5d0b998
commit 249c5de76a
103 changed files with 8559 additions and 1346 deletions
+3 -3
View File
@@ -55,7 +55,7 @@ class TestExecuteToolCallEdgeCases:
def test_tool_with_extra_args(self, memory, mock_llm, real_folder):
"""Should handle extra arguments gracefully."""
agent = Agent(settings=settings, llm=mock_llm)
memory.ltm.set_config("download_folder", str(real_folder["downloads"]))
memory.ltm.download_folder = str(real_folder["downloads"])
tool_call = {
"id": "call_123",
@@ -244,7 +244,7 @@ class TestAgentConcurrencyEdgeCases:
def test_tool_modifies_memory_during_step(self, memory, mock_llm, real_folder):
"""Should handle memory modifications during step."""
memory.ltm.set_config("download_folder", str(real_folder["downloads"]))
memory.ltm.download_folder = str(real_folder["downloads"])
call_count = [0]
@@ -272,7 +272,7 @@ class TestAgentConcurrencyEdgeCases:
agent.step("Set movie folder")
mem = get_memory()
assert mem.ltm.get_config("movie_folder") == str(real_folder["movies"])
assert mem.ltm.movie_folder == str(real_folder["movies"])
class TestAgentErrorRecovery: