Skip to content

fix(memory): keep reindex rollups free of placeholder abstracts - #2957

Open
wyf027 wants to merge 2 commits into
volcengine:mainfrom
wyf027:codex/issue-2797-memory-rollups
Open

wyf027 wants to merge 2 commits into
volcengine:mainfrom
wyf027:codex/issue-2797-memory-rollups

Conversation

@wyf027

@wyf027 wyf027 commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

Description

Upstream #6663 already routes memory semantic reindex through the hierarchical executor. When a parent directory contains only child directories, the executor can still send a missing child's VikingFS placeholder to the overview model. This follow-up merges current main and filters that marker on the existing memory reindex path. Ready child abstracts still feed the parent summary and vectorization. Directory coverage still counts both children.

Human Involvement

This follow-up was implemented and verified by AI agents at the author's direction. Human review of this follow-up is pending.

Related Issue

Refs #2797 for the parent-directory rollup symptom.

Type of Change

  • Bug fix

Changes Made

  • Share the vector-reindex detector for the exact VikingFS directory-summary placeholder.
  • Skip that placeholder during memory reindex while retaining authored child summaries.
  • Cover the parent-only rollup with one ready child and one placeholder child.

Testing

  • The new parent-only regression fails on 955aa6fc69aaf300cc3bf029cdeebe1349e33b4e and passes with the fix. It checks the exact model input and parent vectorization.
  • 45 tests passed across test_semantic_executor_stats.py, test_semantic_processor_target_preexisting.py, test_semantic_queue_memory_dedupe.py, and test_reindex_placeholder.py.
  • All 16 cases in tests/server/test_admin_rebuild_api.py passed against the pushed source tree. This includes the six native-backed cases, using the Linux RAGFS and vector binaries from OpenViking 0.5.4 with an isolated synthetic config.
  • Ruff lint, Python compilation, and git diff --check passed. Ruff format flags one unchanged line that also fails on main.

Additional Notes

Local validation ran on Linux with Python 3.12. GitHub Actions is awaiting external-contributor workflow approval.

Use the existing hierarchical reindex executor for directory rollups and share the vector-reindex placeholder detector. Keep the original PR history while adopting the current upstream processing path.
@wyf027 wyf027 changed the title fix(memory): roll up child abstracts during semantic reindex fix(memory): keep reindex rollups free of placeholder abstracts Nov 10, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant