Skip to content

refactor(memory): move TinyDocs converter into modules - #130

Merged
senamakel merged 4 commits into
epic/8000-memory-to-tinymemoryfrom
epic-8000-84-document-converter
Oct 17, 2026
Merged

senamakel merged 4 commits into
epic/8000-memory-to-tinymemoryfrom
epic-8000-84-document-converter

Conversation

@senamakel

Copy link
Copy Markdown
Owner

Relocates the memory TinyDocs bus adapter and its tests from the memory domain into the module host layer. Updates brain ingest, source sync, and the memory architecture doc. The converter stays behind the TinyDocs bus contract and remains available when the documents feature is disabled so native text conversion retains its existing behavior. No RPC or tool names change.

References: #84, tinyhumansai#8008, tinyhumansai#8000.

Validation:

  • Focused moved tests: cargo test --manifest-path Cargo.toml -p openhuman --lib --features documents modules::memory_converter::tests — 9 passed with a checksum-pinned TinyDocs artifact staged on OPENHUMAN_MODULE_PATH.
  • pnpm debug rust memory — passed: 496 core tests; all 9 moved tests passed. The runner stages TinyDocs.
  • cargo check --manifest-path Cargo.toml — passed.
  • cargo check --manifest-path crates/openhuman-app/Cargo.toml — passed.
  • cargo fmt --all -- --check and pnpm rust:layout — passed.
  • cargo clippy -p openhuman --all-targets -- -D warnings — reports the known 40 baseline diagnostics in unrelated files; none touch this change.

The memory document converter and its tests now live under the documents
module, where the TinyDocs-backed extraction they wrap is already
implemented. The old memory/convert module is removed with no behaviour
change.

Auto-committed-on: mac-mini
The document converter chain now lives under the modules tree and is
referenced from there by the memory brain and source sync paths. The
test module was renamed to match its file, keeping the layout consistent
with the new location.

Auto-committed-on: mac-mini
Moved the memory_converter declaration after linked so the module list stays in alphabetical order. No behaviour change.

Auto-committed-on: mac-mini
The brain ingest section now points at the TinyDocs memory converter module instead of the removed convert.rs, and the file table drops the stale convert.rs entry.

Auto-committed-on: mac-mini
@senamakel
senamakel merged commit 0bef336 into epic/8000-memory-to-tinymemory Oct 17, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant