Skip to content

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

Commits on main

test(memory): audit the FacadeRevealed bucket into the real upstream ask\n\n`FacadeRevealed` meant "nobody has looked at this yet", and 82 of the 107\nallowlist entries carried it. Draining it was always the next step; the\nresult is the finding, not the formality: **none of the 82 is\n`SeamExpressible`.** Every remaining direct engine call is blocked on\ncontract surface the module does not expose, so what is left of #5560 is\nupstream work in `tinymemory` rather than a routing pass in this repo.\n\nEach entry now names the symbols the file actually reaches for, so the\nverdict is checkable against the code instead of taken on trust, and the\nmodule docs carry the ask grouped by gap rather than by file:\n\n- the engine handle itself (~28 files) — `global::{init, client,\n client_if_ready}`, `store::{UnifiedMemory, MemoryClient,\n MemoryClientRef}`, `create_memory`;\n- chunk writes and transactions (~21) — `with_connection`,\n `upsert_chunks`, `upsert_staged_chunks_tx`, plus `fts5` / `segments` /\n `profile` / `events` / `content`;\n- host policy living in the engine crate (~14) — `store::safety::*`,\n `util::redact`, `source_scope::*`;\n- the re-embed queue (~8), engine-shaped integration internals (~11),\n chat / ingest-pipeline / preferences (~12), and the engine-owned types.\n\nOne of those decides the architecture rather than the schedule.\n`chunks::store::with_connection` hands the caller a SQLite handle. A\ncontract containing it could only ever be implemented by a SQLite engine,\nso widening the seam to fit these callers would make the supermemory,\nmem0 and cognee drivers unimplementable — the property the whole\nextraction exists to protect. Moving the subsystems behind the bus is the\nshape that survives; the docs now say so where the next person will read\nit.\n\nAlso migrates the two call sites that were naming the engine for a type\n`tinymemory-core` only re-exports: `MemoryCategory` comes from\n`tinymemory_api::types` now. A comment claiming those were the engine's\ntype rather than the contract's is corrected — #18 §A1 moved the memory\nvalue types onto the contract precisely so they would not be.\n\nThe `FacadeRevealed` variant is kept rather than removed, as its own docs\ninstruct: if a re-export facade regrows and hides engine users again, the\nlabel for them already exists and already says what it means.\n\nIssue #5560.\n
Shanu committed 3 months ago
8a7d172
094f0e2
69f75cb
9d8b1e8
chore(test): add `@` alias to vitest config
Steven Enamakel committed 3 months ago
4fa27d6
5a5ef9e
Read the write-audit health from the log the writer writes to\n\nThe MCP write-audit log moved to its own database, `mcp_audit/mcp_audit.db`.\nThe health probe in the tool registry did not move with it: it kept counting\n`mcp_writes` inside the memory engine's chunk database, and nothing has\nwritten that table since the move. No `INSERT INTO mcp_writes` remains\nanywhere in `src/` or the vendored tree.\n\nSo the probe reported zero writes in the last 24 hours on every install,\nindefinitely, while the log underneath it was healthy — and reported it as a\nsuccess, with `last_error: None`. A diagnostic that fails loudly is a bug; one\nthat answers confidently with a number from a table nobody writes is worse,\nbecause nothing downstream can tell it apart from a quiet install.\n\nRead through `mcp::audit` instead, which is where the writer puts rows. No\n`#[cfg]` at the call site: the tool registry is ungated and `list_writes` is\ngated, but the facade's stub mirrors it returning empty, which is what that\nfacade exists for.\n\n`AuditStore` has no count method, so the probe lists and counts, and\n`recent_rows` saturates at the store's list limit rather than reporting a true\ntotal. That is enough for the question this field answers — whether the log is\nreceiving writes at all — and the alternative is a method on a vendored crate,\na release, and a submodule re-pin for a health probe that does not need\nexactness. The cap is named in a constant and documented as a floor.\n\nThe test records a write and requires the probe to see it, rather than\nasserting a count. Asserting a count would not have caught this: the broken\nprobe returned zero, and zero is also what a healthy install with no recent\nwrites returns. Reinstating the old query fails the test.\n\nThis also removes the last reference to the memory engine from outside the\nmemory domain (openhuman#5560) — the remaining direct uses of\n`chunk_store::with_connection` are all inside `memory/tree/`.\n
Shanu committed 3 months ago
dac872f
b985e4c
1eb1a0a
fix(test): correct swapped test helpers in AIPanel tests
Steven Enamakel committed 3 months ago
b86e7d9
test(ai-panel): use renderRoutingPanel helper in test
Steven Enamakel committed 3 months ago
74a3557
test(ai-panel): replace direct render with shared helper
Steven Enamakel committed 3 months ago
a4748e4
test(ai-panel): add helper to render routing tab in tests
Steven Enamakel committed 3 months ago
ed1b896
chore(assistant-ui): consolidate React import statements
Steven Enamakel committed 3 months ago
174187b
feat(chat): wire assistant-ui to real conversation data
Steven Enamakel committed 3 months ago
7cf939f
Merge main into fix/ui-shdcdn
Steven Enamakel committed 3 months ago
333b6c3
merge: resolve conflicts with upstream/main
Steven Enamakel committed 3 months ago
838fc3b
c79adfd
Merge pull request #5671 from senamakel/mcp-extraction
Steven Enamakel committed 3 months ago
570febf