Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

refactor(wiki): unify the JOURNAL trigger across all three pressure sites

Ruben Lütkeb6506544ab26
diff --git a/jarvis/memory/wiki/scheduler.py b/jarvis/memory/wiki/scheduler.py
index 05491ca9a3..853ae0732c 100644
--- a/jarvis/memory/wiki/scheduler.py
+++ b/jarvis/memory/wiki/scheduler.py
@@ -66,7 +66,7 @@ def fire_journal_trigger(
*,
name: str = "wiki-journal-trigger",
log_context: str = "journal trigger",
-) -> "asyncio.Task[Any]":
+) -> asyncio.Task[Any]:
"""Fire ONE background ``JOURNAL`` trigger (fire-and-forget, AP-9).
The single shared entry point for EVERY journal-pressure site so the
@@ -88,7 +88,7 @@ def fire_journal_trigger(
"""
task = asyncio.create_task(scheduler.trigger(TriggerSource.JOURNAL), name=name)
- def _log_outcome(t: "asyncio.Task[Any]") -> None:
+ def _log_outcome(t: asyncio.Task[Any]) -> None:
# A lost trigger is retried on the next append/tick, so WARNING
# (not ERROR) is the right severity.
if t.cancelled():