Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat: add dual window spatio temporal event memory for WorldGraph

オープン
#950 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
node.js, rust, wasm

調査の方向性

crates/ruvector-graph-condense/examples/worldgraph.rs と既存の WorldGraph および RVF の統合経路から始め、次に graph-node のクエリサーフェスと固定 RuView fixture の replay テストを調査します。issue に記載された retention、verification、bounded-window、parity のテストを使用し、issue 927 を promotion gate とします。完了条件は、replay 時に短いウィンドウと長いウィンドウが同一であり、古い anchor が、現在の evidence によって再関連付けされるまで recall cue として残ることです。

索引モデルが issue の本文から書いたものです。

説明

Problem

RuVector already condenses streams of RuView WorldGraph observations into event summaries, and issue 927 defines a chained spatial consistency benchmark. The current event representation does not yet make recent decision trajectory events and verified long lived spatial outcomes separate first class memory windows.

That matters because persistent spatial agents need two different retention behaviors. Recent actions and paths should be cheap to discard. Verified cross task outcomes should survive and be re associated with current geometry rather than treated as permanent ground truth.

Research evidence

STEGNav, arXiv 2608.28279, submitted 2026 08 28, extends state centric scene graphs into spatio temporal event graphs. Its spatial axis jointly represents target instances and occupancy aware exploration frontiers with reachability, path cost, and exploration utility. Its temporal axis uses a short term decision trajectory window plus a long term window of verified cross subtask outcomes.

Reported results include 66.3 percent success rate and 39.7 SPL on GOAT Bench, with a 3.9 percentage point success rate improvement over the strongest reported competitor. Error analysis reports 34.1 percent fewer total failures, 53.8 percent fewer instance confusion failures, and 40.0 percent fewer inefficient exploration failures.

These are navigation benchmark results, not direct evidence for RuVector performance. The transferable idea is the memory contract.

Current architecture

crates/ruvector-graph-condense/examples/worldgraph.rs already models spatial temporal adjacency and condenses many observations into event summaries with provenance.

@ruvector/graph-node 2.1.0 now has corrected real Cypher query execution and deferred hydration, making graph backed spatial event queries substantially more practical.

Issue 927 already defines the complementary chain consistency gate.

Observed limitation

Condensed events currently represent persistent summaries, but there is no explicit distinction between:

  1. short lived decision and trajectory context
  2. verified long lived spatial anchors
  3. current exploration frontiers
  4. authoritative facts versus recall cues

Without that distinction an agent can either retain too much transient state or over trust old event summaries after the environment changes.

Proposed improvement

Extend existing graph and condensation packages rather than creating a new database.

Introduce additive event memory metadata:

SpatialEventKind

EventVerification

RetentionClass

ExplorationFrontier

TrajectoryEvent

VerifiedSpatialAnchor

Implement two bounded views over the same witnessed graph state:

  1. Short window for recent decisions, trajectories, failures, and unresolved hypotheses.
  2. Long window for verified outcomes and cross task anchors.

Long window entries are recall cues. They must be re associated with current scene evidence before driving an authoritative action.

Target packages

Primary:

crates/ruvector-graph-condense

@ruvector/graph-node

Existing WorldGraph and RVF integration paths

Secondary:

crates/agentic-robotics-* consumers

MetaHarness spatial retrieval policy

Implementation phases

  1. Define additive metadata and deterministic retention semantics.
  2. Add fixture backed short and long window views with bounded memory.
  3. Add frontier nodes with reachability, path cost, exploration utility, and uncertainty.
  4. Add re association rules that require current evidence before a historical anchor becomes authoritative.
  5. Wire issue 927 as the promotion gate.
  6. Expose the same query contract in Rust, Node, and WASM where the existing graph surface supports it.

Expected measurable improvement

Do not claim navigation gains from STEGNav directly.

Initial RuVector targets:

  1. zero new contradictions on the issue 927 chain benchmark
  2. 100 percent evidence coverage for promoted long term anchors
  3. bounded short window memory independent of mission duration
  4. at least 10 times lower transient event retention than storing all trajectory observations on a one day RuView replay
  5. no more than 5 percent p95 query latency regression versus current graph queries
  6. deterministic re association decisions across five replays

Dependencies

Use existing RuVector graph, graph condensation, RVF, scope isolation, and MetaHarness promotion components.

No new model or external service is required for phase 1.

Security and privacy

  1. Historical anchors never bypass current scope or capability checks.
  2. External labels and navigation text remain untrusted data.
  3. Long term anchors require witnessed evidence and cannot be promoted from an unverified model assertion.
  4. Bound chain length, frontier count, trajectory length, and payload size.
  5. Preserve privacy class and tenant scope across condensation.
  6. Do not place raw P0 sensor payloads in long term event memory.

Backward compatibility

Additive metadata and query surfaces only in phase 1. No existing RVF bytes change unless a later ADR explicitly versions a spatial profile.

Testing

Unit tests for retention and verification semantics.

Property tests for deterministic ordering, bounded windows, and valid inverse spatial relations.

Mutation tests that inject stale anchors and contradictions.

Replay tests from fixed RuView WorldGraph fixtures.

Node and WASM parity tests for any exposed query path.

Latency and memory benchmarks.

Rollback

Disable the new event memory view and retain existing condensed event behavior. No index rebuild should be required for the initial additive implementation.

Definition of done

A second engineer can replay the same WorldGraph fixture, observe identical short and long event windows, inject a stale verified anchor, see it treated only as a recall cue until current evidence re associates it, and run issue 927 without introducing a new contradiction.

主要言語
Rust
スター
4.5k
フォーク
603
平均マージ
1日 11時間
マージ済み PR(30日)
56

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ruvnet/RuVector のほかの issue

ruvnet/RuVector の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。