ReMe/reme/steps/file_io
xyf2020 06fb46fa48
feat(tags): add configurable tag indexing and filtered hybrid search (#530)
* Add optional tag generation and normalization to auto memory

* Add tag index components and clean up temporary JSONL files

* Preserve tag index state when reconciliation fails

* Refactor and streamline application implementation

* Fix pylint C1803 warnings in tag normalization tests

* Document optional tag index configuration

* Make tag index failures non-blocking and disable auto-memory tags

* Add configurable tag indexing and tag listing

* Add tag-filtered hybrid search with exact candidate ranking

* Remove obsolete generated files

* Rename tag index key to tag_key and reject reserved fields

* Extract automatic tagging into a dedicated step

* Restrict frontmatter updates to authorized keys

* Refine tag filtering and automatic memory tagging

* Require underscore-separated tags in auto-tag prompts

- Forbid spaces in tags and require underscores (e.g. sam_altman) in both
  English and Chinese auto_tag prompts, with English examples switched to
  English entities (OpenAI, gold)
- Drop prompt-string assertions superseded by the new tagging rule
- Merge construction/runtime tag_key validation tests into one parametrized case

* Make max_tags_per_file configurable in auto-tag step

* Consolidate tag index tests

* Fix search test fixture lint warnings

* Align tag contracts and index health behavior

* Fall back when tag index is unavailable

---------

Co-authored-by: jinli.yl <jinli.yl@alibaba-inc.com>
2026-09-10 18:01:09 +08:00
..
__init__.py feat: add workspace web APIs and star growth report (#416) 2026-08-05 18:03:37 +08:00
_daily_index.py feat: add Auto Fin cookbook and managed outbound proxy support (#392) 2026-07-25 18:09:39 +08:00
_file_io.py feat(benchmark): enhance session memory retrieval and isolate benchmark assets (#409) 2026-08-05 19:23:42 +08:00
_path.py feat(auto_resource): interpret image resources into daily notes (#500) 2026-09-07 12:00:38 +08:00
daily_list.py feat(mem): Enhance daily note system with metadata handling and write functionality (#295) 2026-06-25 21:54:56 +08:00
daily_reindex.py feat(mem): Enhance daily note system with metadata handling and write functionality (#295) 2026-06-25 21:54:56 +08:00
daily_write.py refactor: derive dialog paths from session_dir (#421) 2026-08-06 17:07:14 +08:00
delete.py docs: rename vault_dir to workspace_dir in documentation and examples (#286) 2026-06-22 16:58:57 +08:00
edit.py feat(Step tools): add white/black path prefix permission filtering to read, edit, write (#391) 2026-07-27 17:20:21 +08:00
frontmatter_delete.py fix(file_io): auto appending suffix for all related steps (#430) 2026-08-11 11:09:28 +08:00
frontmatter_read.py fix(file_io): auto appending suffix for all related steps (#430) 2026-08-11 11:09:28 +08:00
frontmatter_update.py feat(tags): add configurable tag indexing and filtered hybrid search (#530) 2026-09-10 18:01:09 +08:00
list.py feat(backend): improve workspace support for web clients (#420) 2026-08-07 23:52:56 +08:00
load.py feat: add workspace web APIs and star growth report (#416) 2026-08-05 18:03:37 +08:00
move.py feat: simplify wikilink semantics and support line anchors (#412) 2026-08-05 11:47:50 +08:00
read.py refactor: derive dialog paths from session_dir (#421) 2026-08-06 17:07:14 +08:00
read_image.py docs: rename vault_dir to workspace_dir in documentation and examples (#286) 2026-06-22 16:58:57 +08:00
save.py feat: add workspace web APIs and star growth report (#416) 2026-08-05 18:03:37 +08:00
stat.py fix(file_io): auto appending suffix for all related steps (#430) 2026-08-11 11:09:28 +08:00
write.py feat(Step tools): add white/black path prefix permission filtering to read, edit, write (#391) 2026-07-27 17:20:21 +08:00