Skip to content

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

Commits on main

feat(memory): route the recall, reset and flush paths through the contract\n\nThe host half of tinymemory#90, migrating the last queue call sites and the\ntwo recency-recall handlers off `tinymemory_core`.\n\n`memory.recall_context` and `memory.recall_memories` now ask the guard for\n`recall_namespace_recent`. This is the migration the direct-engine-refs\nratchet warned about by name: `recall_namespace_scored("")` looks like the\ntwin and is not — it ranks against nothing rather than degrading to recency.\nThe engine wrapper `recall_namespace_context_data` only added a rendered\n`context_text` the handler never read. Compiling is itself the type-identity\nproof: the engine's `NamespaceMemoryHit` and the contract's resolve to the\nsame item, so the helpers keep their signatures.\n\n`reset_tree` and `flush_now` move their SQL to the driver\n(`Maintenance::reset_derived_index` / `flush_pending`). What stays in\n`reset_tree_rpc` is what is genuinely the host's: removing the rendered wiki\nsummaries under its own content root, which the driver has no business\nknowing exist. The host-side `wake_workers` goes too — the wake is part of\nthe driver's operation now.\n\nThe store-behaviour halves of the affected tests move where a real store\nexists, continuing the split this PR series established:\n\n- `flush_now_enqueues_once_and_reports_stale_buffers` staged buffers behind\n the handler; the dedupe-per-window behaviour is pinned upstream in\n `flushing_twice_in_a_window_schedules_the_work_once`. The unit test that\n remains asserts the host's mapping — both fields pass through, and the\n u64→u32 buffer count clamps rather than wraps.\n- the raw-coverage integration test drops its reset/flush calls with a\n pointer to the conformance tests; an integration test can bind no driver.\n\nThe agent-memory exclusion becomes ambient-first with the request's thread\nas fallback. The merge resolution had kept main's ambient-only value, which\norphaned this branch's test — and the test is right: a recall reaching the\nadapter outside a turn has no ambient value, and its thread hint names\nexactly the thread whose auto-saved trigger would echo back.\n\nBoth ratchets tightened rather than loosened: the guard bypass entry for\n`documents.rs` (`active_memory_client`) is deleted now that nothing bypasses,\nand the direct-refs allowlist drops `sync_events_bridge.rs`, which no longer\nreferences the engine.\n\nBlocked on a tinymemory release containing #90, exactly as the diagnostics\nhalf was on v1.3.0: the members exist in the vendored source but in no\npublished artifact, and against v1.3.0 they answer UnknownMethod — observed\nlive in the envelope test before pointing it at a locally built module.\n\n
Shanu committed 3 months ago
26ccc8a
fix(e2e): dismiss post-onboarding tour before navigation
Steven Enamakel committed 3 months ago
4a0f37c
b2be73e
171485e
fix(ci): build compatible memory test modules
Steven Enamakel committed 3 months ago
1b45b25
fix(ci): build compatible memory test modules\n\n
Steven Enamakel committed 3 months ago
7217dc0
4e0e43b
4384102
test(ops): add transcript field to test step structs
Steven Enamakel committed 3 months ago
c9bc0f8