ReMe/tests
jinliyl 3cb2579ff7
refactor(steps): update auto-memory (#263)
* refactor(steps): update naming conventions in components and configuration

Updated naming conventions across multiple files, changing colon-separated names to underscore-separated format, and added new step definitions along with documentation updates.

Key changes:
- Replaced `Synchronizer` with `AutoMemory` as the counterpart component for cold-write operations
- Updated naming conventions in all related configuration files (e.g., `frontmatter:read` → `frontmatter_read`)
- Added new step definitions such as `submit_slug_updates` and `auto_memory`
- Updated relevant documentation
- Modified log output format for improved readability

* refactor(evolve): Refactor the auto-memory module and update related configurations

- Remove the old slug update commit step file
- Add new auto-memory planner and writer steps
- Update __init__.py to export the new step classes
- Modify the auto_memory configuration structure in default.yaml
- Update the slug field description for clearer explanation of its purpose

* up

* up

* refactor(tests): Move unit test directory from `tests4/unittest` to `tests4/unit`

Additionally, the assertion logic in test files has been updated: direct comparisons of `payload["notes"]` have been replaced with checks verifying the presence of paths and metadata within the response content. Furthermore, some test expectations have been simplified—for example, using `count` instead of asserting against specific note lists.

Specific changes include:
- Updating workflow configurations to align with the new test directory structure
- Modifying assertions across multiple test methods to make them more flexible and maintainable
- Cleaning up and optimizing parts of the test code structure

This is a comprehensive test refactoring effort aimed at improving test readability and robustness.

* Refactor(steps): Update memory writing logic and optimize JSON schema structure

Improved the write strategy description in `auto_memory_writer.yaml` to emphasize using `edit` over `write`.
Adjusted the `json_schema` structure in `base_step.py` to support the new function definition format.
Also corrected grammatical issues in the related documentation.

* Fix: Improve frontend data parsing error handling and update test files

Added capture and handling logic for YAML parsing exceptions, providing more detailed error messages when frontend data format issues occur. Also corrected the description text in a test file.
2026-05-29 12:07:44 +08:00
..
light refactor(truncation): improve file truncation logic (#184) 2026-03-28 18:41:09 +08:00
vector add zvec vector/file store (#218) 2026-05-08 17:12:11 +08:00
demo_memory_search.py refactor(core): replace memory stores with file stores and update architecture 2026-02-26 14:18:12 +08:00
mcp_servers_demo.json refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_agentscope_converter.py feat(core): add memory storage and context checking capabilities 2026-02-08 19:24:53 +08:00
test_base_context.py refactor(memory): rename fs components to fb and reorganize modules 2026-02-26 16:47:04 +08:00
test_base_file_watcher.py refactor(steps): update auto-memory (#263) 2026-05-29 12:07:44 +08:00
test_cache_handler.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_cache_memory_usage.py feat(memory): implement file watcher with delta and full sync strategies 2026-02-06 01:58:28 +08:00
test_chunking_utils.py refactor(benchmark): remove unused llm config and update test parameters 2026-02-26 18:20:12 +08:00
test_embedding.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_embedding_cache.py feat(memory_store): add pure-python local memory store implementation 2026-02-19 23:58:54 +08:00
test_embedding_sync.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_execute_utils.py feat(core): add async code execution and improve execution utilities 2026-02-14 21:27:04 +08:00
test_file_store.py feat(store): seekdb file and vector stores via pyseekdb (embedded + remote) (#207) 2026-05-22 10:55:48 +08:00
test_fs_tool.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
test_horse.py refactor(core): restructure application initialization and component management 2026-02-24 19:45:47 +08:00
test_keyword_search_performance.py refactor(memory): integrate procedural memory into extension module 2026-02-27 14:55:00 +08:00
test_llm.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_llm_sync.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_logo.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_mcp_client.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_mcp_server.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_memory_vector_conversion.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_message.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_reme.py refactor(core): update registry naming and application configuration 2026-02-07 15:05:02 +08:00
test_reme_light_watch_paths.py refactor(steps): update auto-memory (#263) 2026-05-29 12:07:44 +08:00
test_reme_memory_error_handling.py 提供支持向量数据库的profile功能 (#221) 2026-04-28 15:11:45 +08:00
test_timer.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_token_counter.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_tool.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
test_tool_call.py refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
test_ts_merge.py feat(memory): add ReadHistoryV2 tool with enhanced history retrieval capabilities 2026-02-02 17:14:16 +08:00
test_vector_store.py feat(store): seekdb file and vector stores via pyseekdb (embedded + remote) (#207) 2026-05-22 10:55:48 +08:00
test_zvec_vector_store.py add zvec vector/file store (#218) 2026-05-08 17:12:11 +08:00