mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-15 23:31:05 +00:00
* refractor(proactive): upgrade proactive feature with disentangled job and steps * refactor(proactive): apply audit fixes - rename read-side job 'proactive' -> 'proactive_read' (less confusing vs the refresh pipeline) - drop dedicated agent_wrapper.proactive; extraction reuses the default wrapper - simplify schema: remove unused ProactiveExtractOutput/TopicUpdate, drop resource_paths - extract no longer scans resource/ directly (daily notes already carry resource content) - update tests and docs accordingly * feat(proactive): strict extract-output gate and prompt total budget - parse_extract_reply now requires a contract section (follow_ups/extends/updates as a list); non-empty replies with misspelled section names trigger the existing one-shot retry instead of silently checkpointing changed files - pack_paths gains max_total_chars; extract packs newest daily material first, keeps the first file on overflow, and records omitted files in a trailer (default budget 300000 chars, configurable via max_total_chars) - tests: schema gate unit, schema-error retry e2e, budget unit + e2e * feat(proactive): add scenario-card plan step and generative agenda step * feat(proactive): digest-personal profile personalization and leaner LLM contract - extract/plan/agenda now draw a user profile block from <digest_dir>/personal/*.md (frontmatter description + body excerpt, per-file budget, profile.md fallback) - all daily access honours the configured daily_dir (prompt paths parameterized, config-driven fallbacks) so workspaces using e.g. memory/ work unchanged - schema trim: drop dead fields errors/material_paths, carry_forward_all -> count - shrink LLM output contract: new topics emit title/reason/confidence/paths only; keywords removed end-to-end, evidence derived from paths[0] (updates keep it) * fix(proactive): skip checkpoint when extract reply stays unusable after retry Two consecutive unparseable replies now short-circuit the round without checkpointing, so the same material is retried next round instead of being silently consumed (closes the residual audit #1 gap: the structural gate detected schema-wrong output but a double failure still checkpointed). * fix(proactive): replace running bool with reference-counted job activity tracker for the idle gate * refactor(proactive): remove job activity tracking and idle gate, restore job tree to upstream * fix(proactive): address second audit round (readonly reader, mtime checkpoint, wider fallbacks, profile containment, horizon content, expiry boundary) * refactor(dream): strip interests.yaml ownership from dream, proactive is now the sole writer * refactor(dream): separate proactive topic generation * ci: update renamed auto dream smoke test * fix(proactive): complete refresh migration and docs --------- Co-authored-by: jinli.yl <jinli.yl@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| auto_resource_test_plugin.py | ||
| auto_resource_test_support.py | ||
| test_app_config_step.py | ||
| test_application_config.py | ||
| test_as_embedding_lazy.py | ||
| test_auto_dream.py | ||
| test_auto_image_steps.py | ||
| test_auto_memory_cc.py | ||
| test_auto_resource_review_regressions.py | ||
| test_background_steps.py | ||
| test_base_agent_wrapper.py | ||
| test_base_component.py | ||
| test_cc_agent_wrapper.py | ||
| test_codex_agent_wrapper.py | ||
| test_common_steps.py | ||
| test_component_registry.py | ||
| test_compressor_step.py | ||
| test_config_parser.py | ||
| test_crud_steps.py | ||
| test_daily_steps.py | ||
| test_default_file_chunker.py | ||
| test_dingtalk_wait.py | ||
| test_embedded_consumer_compat.py | ||
| test_evaluation_interface.py | ||
| test_evolve_utils.py | ||
| test_faiss_index_maintenance.py | ||
| test_file_catalog.py | ||
| test_file_graph.py | ||
| test_file_store_consistency.py | ||
| test_frontmatter_steps.py | ||
| test_graph_snapshot_step.py | ||
| test_http_client.py | ||
| test_http_web_workspace.py | ||
| test_injected_job_kwargs.py | ||
| test_job.py | ||
| test_json_file_chunker.py | ||
| test_jsonl_file_chunker.py | ||
| test_keyword_index.py | ||
| test_line_anchor.py | ||
| test_link_expansion.py | ||
| test_local_embedding_store.py | ||
| test_logging_config.py | ||
| test_logo_utils.py | ||
| test_markdown_file_chunker.py | ||
| test_outbound_proxy.py | ||
| test_package_versions.py | ||
| test_packaging.py | ||
| test_path_permission.py | ||
| test_plugin.py | ||
| test_plugin_cli.py | ||
| test_proactive_refresh.py | ||
| test_prompt_handler.py | ||
| test_read_image_steps.py | ||
| test_read_with_neighbors.py | ||
| test_reindex.py | ||
| test_reme_cli.py | ||
| test_runtime_context.py | ||
| test_search_step.py | ||
| test_service.py | ||
| test_service_utils.py | ||
| test_shell_step.py | ||
| test_source_format_merge.py | ||
| test_status_step.py | ||
| test_tag_index.py | ||
| test_token_usage.py | ||
| test_tokenizer.py | ||
| test_tushare.py | ||
| test_utils.py | ||
| test_wikilink_utils.py | ||
| test_workspace_web_steps.py | ||
| test_write_metadata_lock.py | ||
| test_zvec_file_store.py | ||