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): put each tree-runtime case on one door; delete the chunk-store reset\n\nTwo consequences of #5560's `d2697f00a`, which moved `memory/tree/\ntree_runtime/**` onto the contract's six runtime-tree doors.\n\n## Two raw-coverage cases were driving both stores at once\n\nEach ran half its scenario through a migrated host handler — which now\nanswers from the loaded module's engine over the bus — and the other half\nthrough `tinymemory_core::` directly, the copy the `[dev-dependencies]`\nentry links into the test binary. The two share no state, so the second\nhalf never saw what the first wrote. Each case now takes exactly one\ndoor, chosen by what it is a test *of*.\n\n`memory_tree_sync_raw_coverage_e2e::tree_runtime_engine_rpc_and_walk_\ncover_success_and_edge_paths` takes the **engine** door: its subject is\nthe summarisation walk, and that is the only door it can take, because\n`run_summarization` accepts an explicit provider and the contract's\n`runtime_summarize` deliberately does not — the fold runs on the driver's\nown chat provider, so the `ScriptedProvider` cannot cross the bus and\nrouting it through `tree_summarizer_run` would need a real summarisation\nmodel in a hermetic suite. Seeding is `store::buffer_write`; the status\nand query assertions read `get_tree_status` / `read_node` /\n`read_children` — the same store calls the handler now makes over the\nbus — and the metadata the ingest used to prove is read off the buffer\nfile, which `buffer_read` strips the frontmatter from. The handlers'\nside of the same ground stays covered by `tree_runtime::ops_tests`\n(against a bound driver) and by round23's module-routed case.\n\n`memory_threads_raw_coverage_e2e::tree_summarizer_ops_cover_validation_\nquery_and_local_provider_guards` takes the **handler** door: its subject\nis `tree_runtime::ops`. It joins this file's shared module workspace,\nthe arrangement its driver-routed siblings already use.\n\nOne assertion could not survive that and is called out rather than\ndropped quietly: the seed existed to reach `tree_summarizer_query`'s\nsuccess branch, and no handler on this surface creates a node without a\nlive summariser. Seeding the module's store from the host's engine to\nget it back is the divergence #5560 exists to remove, so the branch stays\nasserted in `ops_tests::tree_summarizer_query_returns_node_and_children`,\nwhere a driver can be bound. What replaces it here is the assertion the\nseed was in the way of — that an ingest is not a node — with the refusal\nnaming the trimmed namespace from a padded argument.\n\n## `reset_in_process_chunk_store` is deletable, not door-shaped\n\nIt dropped this process's cached SQLite handle after the module\nquarantined and rebuilt `chunks.db` (openhuman#5820). Its justification\nhas expired: `sources::status` asks `MemoryChunks::source_ingest_status`,\nrecall resolves through `memory::binding` to the same module driver, and\nevery surviving opener of the host's chunk store is `#[cfg(test)]` —\n`read_rpc::with_connection`, `tree::retrieval::test_support`,\n`security::credentials`' ops tests and `memory::sync_pipeline`'s. With no\nreader left to protect, `recover_corrupt_db` was itself the last\nproduction call that *opened* that store, so deleting it removes a door\nrather than leaving one ajar.\n\nThe user-visible notice is untouched: it was never the reset's.\n`modules::memory_host`'s `into_domain_event` publishes the durable user\nerror and returns `None`, the same shape `memory::host`'s in-process sink\nhas. Nothing else in the corruption path needs an engine either —\n`user_error`'s `is_corrupt_store_error` / `notice_corrupt_store_once`\nclassify text, and `tree::tree::rpc_part_02`'s `latest_quarantine` reads\nthe directory.\n\n`direct_engine_refs`' `host_impls.rs` entry keeps its `HostSide` verdict\n(the seven seam installs still name the crate) with the chunk-store\nclause corrected. The ratchet stays at 10 entries; no file was repointed\nonto `tinycortex::`, which would clear an entry while leaving an engine\nlinked.\n\nAlso fixes one unrelated pre-existing `-D warnings` clippy failure from\na61628fb2 (`doc_lazy_continuation` in `memory/tools/search/\nhybrid_search.rs`), which was blocking the whole clippy lane.\n\n
Shanu committed 3 months ago
9b5369c
fix(chat): coalesce persisted assistant turn segments
Steven Enamakel committed 3 months ago
8284e63
fix(chat): coalesce persisted assistant turn segments\n\n
Steven Enamakel committed 3 months ago
35bf04f
chore: files changed scripts/prompt-budget.limits
Steven Enamakel committed 3 months ago
f974cff
chore: files changed scripts/prompt-budget.limits
Steven Enamakel committed 3 months ago
ac410d5
chore: files changed src/openhuman/flows/node_contracts.rs
Steven Enamakel committed 3 months ago
a5dd2a2
fix(chat): infer descriptive labels for degraded tools
Steven Enamakel committed 3 months ago
f6fd9a1
fix(chat): infer descriptive labels for degraded tools\n\n
Steven Enamakel committed 3 months ago
75a70fb
test(memory): load profile fixture through module bus
Steven Enamakel committed 3 months ago
e11905e
test(memory): load profile fixture through module bus\n\n
Steven Enamakel committed 3 months ago
bd03270
a8344a6
6651d3d
213047c
c0615be
bc33f7d
feat(memory): route the runtime tree and flavour profile over the bus\n\nSeven doors merged upstream as tinymemory#123 (contract 4.0, 138 members),\nall on the `Tree` family and all **defaulted** — which is what makes wiring\nthem a decision rather than a compile error. This is the host half.\n\n`ModuleMemoryProvider` forwards all seven, and `GuardedTree` overrides all\nseven. The second half is not optional: a decorator that omits a defaulted\nmember still compiles and then answers `Unsupported` for a driver that\nserves it perfectly well, which is the bug `MemoryMaintenance::diagnose`\nshipped once. Both guard-rails now name the seven —\n`the_defaulted_members_dispatch_to_the_module_instead_of_refusing` and\n`the_defaulted_doors_are_forwarded_rather_than_refused` — and a new\nmodule-backed `#[ignore]` test round-trips five of them against a real\nartifact, which is the only thing that can catch a mistyped wire name.\n\n`memory::tree::tree_runtime` loses its glob. Its five `tree_summarizer_*`\nhandlers, the `tree-summarizer` CLI, `memory::ops::learn` and the\nchannels-startup subscriber ran the markdown time tree in *this* process;\nthey go through the doors now. The doors are six rather than the four\ncoarser members that already existed because `seal` folds the produced node\ninto tree state and `drill_down` folds absence into its own `NotFound` — a\ndoor that changes what the host reports is a new surface, not a migration.\n\n`memory::tools::flavour` is why `FlavourProfile` exists: it needed a\n`tinycortex::memory::MemoryConfig` no host could build without reproducing\nthe engine's own mapping. The driver builds it on its own side now.\n\nTwo behaviours are deliberate and neither is invisible:\n\n- The RPC surface reaches the **guarded** driver, so the seven policy steps\n run over an ingest that carries user prose and two passes that spend on a\n model. That is `memory::ops::guard`'s stated rule for a handler with a\n typed contract twin.\n- `run`/`rebuild` still resolve `create_provider` and drop it. The fold's\n provider is the driver's now, and the driver's role routing has no notion\n of `memory_tree.cloud_summarization_opt_in` — dropping the call would turn\n an explicit privacy refusal into a silent cloud send. The residual gap\n (local AI on no longer folds locally) is documented where the resolver is.\n\nRatchet: 11 entries -> 10. `tree_runtime/mod.rs` is drained — the first\nentry to complete the loop of upstream door, host migration, entry deleted —\nand `host_impls.rs`'s reason is corrected, since its seams now have no\nin-process caller at all and survive only for the far side of the bus. The\nlint's docs gain the blind spot the shed has to work around: the needle is\n`tinymemory_core::` alone, so repointing a file to `tinycortex::` clears an\nentry while an engine stays linked.\n\nThe submodule advances to the merge commit so the contract compiles. The\nmodule registry still pins v1.13.5, so the seven answer `Unsupported`\nagainst the shipped artifact until the re-pin — four raw-coverage cases that\ndrive `tree_summarizer_*` through the real module are red on that gate.\n\nRefs #5560\n\n
Shanu committed 3 months ago
cb822e8
fix(e2e): provision memory module for every Linux shard
Steven Enamakel committed 3 months ago
c5dc7c4
f93ec9b
chore: files changed scripts/prompt-budget.limits
Steven Enamakel committed 3 months ago
0f1e723
fix(chat): render final assistant result once
Steven Enamakel committed 3 months ago
dedc62c
fix(chat): render final assistant result once\n\n
Steven Enamakel committed 3 months ago
05d3f16