Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

Commits on main

74e9424
0b068f1
ac20235
66fc5f8
Refuse a null driver on import, and assert memory routing on the binding\n\nFour review findings, one accessor.\n\n**Refuse the null driver before importing (Codex P1 / CodeRabbit Major).**\n`target_memory_backend` bound through `DriverMemory::for_config` and never\nlooked at what bound. `binding` answers the null driver both when\n`[subsystems.memory] driver = "null"` is configured and when a configured\ndriver fell back, and that provider accepts `store` and discards it — while\n`migrate_openclaw_memory` counts each call into `stats.imported`. An import\nthat reports "migrated N" having written none is silent data loss: the source\nworkspace may be deleted on the strength of that report. It now refuses up\nfront and names which of the two cases it hit.\n\n**Assert session-memory routing on the binding, not on a file.**\n`build_session_agent_routes_dedicated_memory_to_profile_subtree` and its\nprofile-less twin asserted that `<workspace>/memory-<id>/memory.db` exists.\nSince session memory moved to `DriverMemory::for_subtree` that file never\nappears: the subtree is chosen at bind time but a module-backed driver opens it\nlazily on first `OpenStore`, and forcing that call from a unit test times out\nafter 30s (the bus belongs to whichever runtime created it). Measured both —\nafter a build, neither the test workspace nor the shared test workspace holds\nanything; after a forced write, `memory-alice` does appear, but only behind\nthat timeout.\n\nSo `MemoryBinding` now reports the subtree it resolved to, and both tests\nassert the routing decision where it is actually made. The companion "and no\nper-profile subtree exists" check is deleted rather than repointed: it asserted\nthe absence of a directory nothing creates at bind time any more, so it passed\nwhatever the routing did.\n\n**Bind a driver in `ingest_email_accepts_rfc3339_timestamps`.** Its own\ndocstring said it would need `install_tinycortex_for_test` "when the mail arm\nmoves". The arm has moved — `Email` goes through `ingest_through_driver` now —\nand without the binding the test only passed because CI sets\n`TINYMEMORY_TEST_MODULE` to a module that serves `Ingest`.\n\n**Install the cannot-answer driver in the composio gating test.** It claimed\n"a unit test has no loaded module"; `module_provider`'s `cfg(test)` arm loads\n`TINYMEMORY_TEST_MODULE`, so the test could reach the module's real\n`SourceSync` and pin nothing. It also bound against `Config::default()`, whose\nworkspace is the developer's own. Now it owns a tempdir and installs\n`NullMemoryProvider`.\n\nHandoff doc: named the fence language (MD040), corrected five pin sites to six\nacross five groups, recorded that #5725 has merged, said which count decides\ncriterion 1, required a process-level smoke test before calling the\nkernel-floor entry stale, and fixed the verification block to check both Cargo\nworlds under `--locked` and to use `scripts/assert-shed.sh` over `cargo tree -i`.\n
M3gA-Mind committed 3 months ago
596216e
b50833a
4cc83aa