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.

fix(society): the island hears checkpoint changes, and a memory visit lasts a minute

rubenluetke10-beepf8e10f556aee
diff --git a/docs/agent-society/memory-house.md b/docs/agent-society/memory-house.md
index d29457a917..cf417d6038 100644
--- a/docs/agent-society/memory-house.md
+++ b/docs/agent-society/memory-house.md
@@ -117,7 +117,7 @@ available and are skipped quietly when it is not. Every call emits a `DIGEST` en
1. `state == paused` → `idle`
2. an open approval for the agent → `gate`
3. member of a running room → `meeting`
-4. memory activity within the last **20 s** (hold, so a walk of ~10 s is visible) → `archive`
+4. memory activity within the last **60 s** (hold: the house stands at the north end, the walk from the square takes most of a minute) → `archive`
5. a run is in flight for the agent → `desk`
6. otherwise → `idle`
diff --git a/docs/agent-society/world-behaviour-manual.md b/docs/agent-society/world-behaviour-manual.md
index 69dc32ecf6..b4718b390f 100644
--- a/docs/agent-society/world-behaviour-manual.md
+++ b/docs/agent-society/world-behaviour-manual.md
@@ -29,7 +29,7 @@ gesture becomes a typed event, and the figure follows because the truth changed.
| `hub:cli` | Terminal Cantina | working through a CLI seat (Claude Code, Codex, …) |
| `hub:workshop` | Workshop | core file/shell work, no dominant family |
| `hub:models` | Model Foundry | its brain is a local model that is currently inferring |
-| `archive` | **Memory House** | touching the shared memory: a recall, a memory line, a note, a share proposal (20 s hold — `memory-house.md` §3.4) |
+| `archive` | **Memory House** | touching the shared memory: a recall, a memory line, a note, a share proposal (60 s hold — `memory-house.md` §3.4) |
| `gallery` | Gallery | delivering a `RESULT` (carries the crate) |
| `gate` | Harbor Gate | waiting for an `ask`-tier approval |
| `foundry` | Agent Foundry | being created (3 s), or changing its avatar |
@@ -53,7 +53,7 @@ sees. Rules, in priority order; the first that matches wins:
capability catalog of `agent-definition.md` §3.1). The place changes only when a different
family has dominated for **≥ 20 s** — hysteresis, so a figure never ping-pongs between shops.
A local-brain agent whose model is inferring right now → `hub:models` outranks the family.
-6. A memory touch in the last 20 s → `archive` (the Memory House). **Built:** `jarvis/society/checkpoints.py` derives `paused → idle`, `gate`, `meeting`, `archive`, `desk`, `idle` over today's vocabulary and publishes `SocietyCheckpointChanged`; the `hub:*` rules join with the five-layer change.
+6. A memory touch in the last 60 s → `archive` (the Memory House). **Built:** `jarvis/society/checkpoints.py` derives `paused → idle`, `gate`, `meeting`, `archive`, `desk`, `idle` over today's vocabulary and publishes `SocietyCheckpointChanged`; the `hub:*` rules join with the five-layer change.
7. Being created / avatar change → `foundry`.
8. Otherwise → `wander`.
diff --git a/jarvis/society/README.md b/jarvis/society/README.md
index 56d1d78650..4564f050a5 100644
--- a/jarvis/society/README.md
+++ b/jarvis/society/README.md
@@ -21,7 +21,7 @@ live under the scheduler and the voice router tool (M4) are not.
| `routines.py` | per-agent routines as tagged Automations tasks |
| `surface.py` | the `society` chat surface: per-session hands (grant/focus/deny), the briefing, the ecosystem card |
| `memory.py` | the society's ONE memory service (`docs/agent-society/memory-house.md`): head, recall (own > shared > user > others' unreviewed, every hit labelled), remember, note, propose_shared → approval `core:memory:share`, promote into `society/shared/`, dismiss, overview; every touch is a `DIGEST kind=memory` on the board |
-| `checkpoints.py` | where an agent IS on the island, derived from the board by trusted rules (paused, gate, meeting, archive after a memory touch with a 20 s hold, desk, idle); persists the roster row and publishes `SocietyCheckpointChanged` for the island |
+| `checkpoints.py` | where an agent IS on the island, derived from the board by trusted rules (paused, gate, meeting, archive after a memory touch with a 60 s hold, desk, idle); persists the roster row and publishes `SocietyCheckpointChanged` for the island |
| `agent_tools.py` | `society_message_agent` (one typed envelope to ONE teammate), `society_wiki_note` (kind memory / note / shared, through `memory.py`), `society_memory_recall` (the labelled lookup), `society_shell` (the agent's own contained shell) |
| `shell.py` | the shell backend seam: `LocalBackend` now (local by decision), path containment, caps |
| `browser/` | the agent's browser: one-click venv install of browser-use, the in-venv runner, per-agent persistent profiles + login sessions, `society_browser` |
diff --git a/jarvis/society/checkpoints.py b/jarvis/society/checkpoints.py
index d2c74008bc..b6a2151f34 100644
--- a/jarvis/society/checkpoints.py
+++ b/jarvis/society/checkpoints.py
@@ -8,7 +8,7 @@ gate | idle``). The first rule that matches wins:
1. paused -> idle (home, until the superset lands)
2. an open approval for the agent -> gate
3. member of a running room -> meeting
-4. memory activity within the hold window -> archive (the Memory House)
+4. memory activity within the hold window -> archive (the Memory House, 60 s)
5. a run in flight under its identity -> desk (the workshop)
6. otherwise -> idle
diff --git a/jarvis/society/memory.py b/jarvis/society/memory.py
index 894bcf490d..5fb5740784 100644
--- a/jarvis/society/memory.py
+++ b/jarvis/society/memory.py
@@ -52,8 +52,9 @@ __all__ = [
MEMORY_SHARE_CAPABILITY: Final[str] = "core:memory:share"
#: The frontmatter ``type`` that makes an agent page schema-valid for the vault index.
PAGE_TYPE: Final[str] = "society"
-#: Seconds a memory touch keeps a figure at the Memory House (the walk must be visible).
-MEMORY_HOLD_S: Final[float] = 20.0
+#: Seconds a memory touch keeps a figure at the Memory House. The house stands at the
+#: island's north end, ~50 tiles from the square: the walk alone takes most of a minute.
+MEMORY_HOLD_S: Final[float] = 60.0
_MAX_TEXT: Final[int] = 40_000
_HEAD_CHARS: Final[int] = 1_200
diff --git a/jarvis/society/runtime.py b/jarvis/society/runtime.py
index 7e5939252c..a4e24b89f2 100644
--- a/jarvis/society/runtime.py
+++ b/jarvis/society/runtime.py
@@ -88,6 +88,7 @@ class SocietyRuntime:
# Only Jarvis is on the roster by default (maintainer, 2026-09-02); the
# starter team is offered as seed proposals instead.
seed_starter_team: bool = False,
+ event_publish: Callable[[Any], Any] | None = None,
) -> None:
self._data_dir = Path(data_dir)
self._get_manager = mission_manager or (lambda: None)
@@ -117,7 +118,9 @@ class SocietyRuntime:
)
self._owners: dict[str, str] = {}
#: Where an agent is on the island, derived from the board (memory-house.md §3.4).
- self.checkpoints = CheckpointEngine(self)
+ # ``event_publish`` is the app bus the WebSocket forwards (server.py hands
+ # it in); without it the engine falls back to the process default bus.
+ self.checkpoints = CheckpointEngine(self, publish=event_publish)
#: The society's one memory service; every touch moves the figure to the Memory House.
self.memory = SocietyMemory(self, on_activity=self.checkpoints.note_memory_activity)
#: The Quest Board: the person's jobs, routed to one taker, read back off the board.
diff --git a/jarvis/ui/web/frontend/src/assets/society/world/kit/memory-house.glb b/jarvis/ui/web/frontend/src/assets/society/world/kit/memory-house.glb
index 28b27421b7..7d0e3a2d3b 100644
Binary files a/jarvis/ui/web/frontend/src/assets/society/world/kit/memory-house.glb and b/jarvis/ui/web/frontend/src/assets/society/world/kit/memory-house.glb differ
diff --git a/jarvis/ui/web/frontend/src/components/society/world/MemoryHouse.tsx b/jarvis/ui/web/frontend/src/components/society/world/MemoryHouse.tsx
index ce663748f2..242749cb70 100644
--- a/jarvis/ui/web/frontend/src/components/society/world/MemoryHouse.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/world/MemoryHouse.tsx
@@ -62,13 +62,16 @@ function restyle(root: Object3D, ramp: ReturnType<typeof createToonRamp>): Rig {
rig.glow.push(mat);
}
} else {
+ // Glass reads as glass only when it is clearer than Blender's preview
+ // needs it: a pale tint, a fifth of the opacity, and the core behind it.
+ const color = translucent ? src.color.clone().lerp(new Color("#ffffff"), 0.45) : src.color.clone();
o.material = new MeshToonMaterial({
- color: src.color.clone(),
+ color,
gradientMap: ramp,
- emissive: emissiveStrength > 0 ? src.emissive.clone() : new Color(0, 0, 0),
- emissiveIntensity: emissiveStrength > 0 ? Math.min(0.6, src.emissiveIntensity) : 0,
+ emissive: emissiveStrength > 0 && !translucent ? src.emissive.clone() : new Color(0, 0, 0),
+ emissiveIntensity: emissiveStrength > 0 && !translucent ? Math.min(0.6, src.emissiveIntensity) : 0,
transparent: translucent,
- opacity: translucent ? src.opacity : 1,
+ opacity: translucent ? Math.min(src.opacity, 0.2) : 1,
depthWrite: !translucent,
});
if (translucent) o.renderOrder = 10; // the glass draws after what it contains
diff --git a/jarvis/ui/web/server.py b/jarvis/ui/web/server.py
index 735b49aa53..5a4451e422 100644
--- a/jarvis/ui/web/server.py
+++ b/jarvis/ui/web/server.py
@@ -3581,6 +3581,9 @@ class WebServer:
deliver=deliver,
chat_service=lambda: _service_from_state(state),
cfg=lambda: self.cfg,
+ # The island learns of a figure's new place through the app bus the
+ # WebSocket forwards (SocietyCheckpointChanged).
+ event_publish=self.bus.publish,
)
def _build_agent_chat_service(self) -> Any:
diff --git a/scripts/world/kit_memory_house.py b/scripts/world/kit_memory_house.py
index bbb4ded9bd..5fe986af9c 100644
--- a/scripts/world/kit_memory_house.py
+++ b/scripts/world/kit_memory_house.py
@@ -177,9 +177,9 @@ def build_memory_house(k) -> bpy.types.Object:
# --- inside: the memory core and the floating shards
core_mat = k.material("mem_core_hot", 4.0)
- _icosphere(k, "core_orb", 1.55, (0, 0.4, z0 + 6.4), core_mat, root, subdivisions=2)
+ _icosphere(k, "core_orb", 2.0, (0, 0.4, z0 + 6.4), core_mat, root, subdivisions=2)
inner_mat = k.material("mem_core", 2.4)
- _icosphere(k, "core_halo", 2.05, (0, 0.4, z0 + 6.4), _glass(k, "mem_core", 0.28, 1.2), root, subdivisions=1)
+ _icosphere(k, "core_halo", 2.6, (0, 0.4, z0 + 6.4), _glass(k, "mem_core", 0.28, 1.2), root, subdivisions=1)
k.cylinder("core_spine", 0.22, MONO_H - 0.8, (0, 0.4, z0 + MONO_H / 2), "mem_frame", root, verts=10, bevel=0.0, emissive=0.6)
shard_specs = [
(-2.6, -1.4, 2.4, 0.35, 1.3, 0.28),
@@ -193,7 +193,7 @@ def build_memory_house(k) -> bpy.types.Object:
for i, (x, y, z, rz, size, rx) in enumerate(shard_specs):
k.box(
f"shard_{i}",
- (size, 0.08, size * 0.62),
+ (size * 1.4, 0.1, size * 0.9),
(x, 0.4 + y, z0 + z),
"mem_violet",
root,