You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8bd9fa4
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/architecture/ai_pipeline.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -466,7 +466,7 @@ This section enumerates the load-bearing files. Per-file enumeration of all 112
466
466
|`astraweave-memory/src/retrieval.rs`|`RetrievalConfig`, `RetrievalResult`, `ScoreBreakdown`, `RetrievalPath` (semantic + temporal + associative weighted search; defaults `semantic_weight = 0.6`, `temporal_weight = 0.2`, `associative_weight = 0.2`) | Active | Re-exported via `lib.rs:57-58`. Not in original parent §5 enumeration |
467
467
|`astraweave-memory/src/sharing.rs`|`SharingConfig`, `ShareRequest`, `SharingResult`, `SharingType`, `PrivacyLevel`, `SharedMemoryContent`, `SharingMetadata` (cross-agent memory sharing with permissions) | Active | Re-exported via `lib.rs:60-61`. Not in original parent §5 enumeration |
468
468
|`astraweave-memory/src/persona.rs`| Legacy persona types: `Episode` (different from `episode::Episode`), `Persona`, `Fact`, `Skill`, `CompanionProfile`| Active (consumed externally via `astraweave-persona`) | Re-exported via `lib.rs:63-64`. The collision-renamed `Episode` is here, NOT in `episode.rs`|
469
-
|`astraweave-memory/src/components.rs`| Bevy `MemoryComponent`, `MemoryEntityConfig` (Bevy ECS integration) | Active (feature `bevy`) |`#[cfg(feature = "bevy")]`; `Cargo.toml:27` declares `bevy = ["bevy_ecs"]`. **The only AI-side crate that uses `bevy_ecs` rather than `astraweave-ecs`**|
469
+
|`astraweave-memory/src/components.rs`| Bevy `MemoryComponent`, `MemoryEntityConfig` (Bevy ECS integration) | Active (feature `bevy`) |`#[cfg(feature = "bevy")]`; `astraweave-memory/Cargo.toml:30` declares `bevy = ["bevy_ecs"]`. **The only AI-side crate that uses `bevy_ecs` rather than `astraweave-ecs`**|
470
470
| Per-subsystem trace | See §13.1 below for the dedicated Memory subsystem trace | Done ||
@@ -1089,7 +1089,7 @@ Therefore the memory crate's `AdaptiveWeightManager.weights` map is **never read
1089
1089
**Subsystem-specific open questions:**
1090
1090
1091
1091
-**Unused Cargo dependencies on `astraweave-llm`, `astraweave-embeddings`, `astraweave-rag`?**[Factual — resolved 2026-05-12.]`astraweave-memory/Cargo.toml:11-13` lists them as direct dependencies; workspace grep inside `astraweave-memory/{src,tests,benches}` for `use astraweave_llm|use astraweave_embeddings|use astraweave_rag` returns zero matches. No macro or feature-gated path was found that imports them. These are genuinely unused Cargo dependencies — dead `Cargo.toml` weight.
1092
-
-**`bevy_ecs` divergence: status of the `bevy` feature.**[Factual — resolved 2026-05-12.]`Cargo.toml:23, 27` declares an optional `bevy_ecs = "0.17"` dependency under feature `bevy`; `components.rs` is `#[cfg(feature = "bevy")]`-gated. Workspace grep across all `*.toml` files for `astraweave-memory.*features.*bevy` returns zero matches. The feature is not enabled by any consumer build today, so `components.rs` is unreachable in practice.
1092
+
-**`bevy_ecs` divergence: status of the `bevy` feature.**[Factual — resolved 2026-05-12.]`astraweave-memory/Cargo.toml:26, 30` declares an optional `bevy_ecs = "0.17"` dependency under feature `bevy`; `components.rs` is `#[cfg(feature = "bevy")]`-gated. Workspace grep across all `*.toml` files for `astraweave-memory.*features.*bevy` returns zero matches. The feature is not enabled by any consumer build today, so `components.rs` is unreachable in practice.
1093
1093
-**`MemoryManager` vs `MemoryStorage` — same data or different roles?**[Decisional.] Factual: `MemoryManager` (`memory_manager.rs:15-…`) is an in-RAM `HashMap<String, Memory>` ledger with capacity limits. `MemoryStorage` (`storage.rs:16-…`) is a SQLite-backed persistent layer. No code path was traced in this pass that synchronizes them (e.g. "flush MemoryManager to MemoryStorage" or "load MemoryStorage into MemoryManager on startup"). Whether they are intended to coexist as a write-through cache, or whether one supersedes the other, is undecided.
1094
1094
-**Memory-side `BehaviorNodeType` (`Combat`/`Support`/`Exploration`/`Social`/`Analytical`/`Defensive`) vs `astraweave-behavior::BehaviorNode` (`Sequence`/`Selector`/`Action`/`Condition`/`Decorator`/`Parallel`)** — even if the memory-side feedback loop is wired in the future, the type bridge between these two enums (and the `from_pattern` mapping at `dynamic_weighting.rs:47-62`) needs explicit design. [Decisional, conditional on resolving the dormancy question.]
1095
1095
-**`EpisodeRecorder` doc-comment at `episode_recorder.rs:13-16` says "designed to be used as an ECS resource, running in `SystemStage::POST_SIMULATION`"** — but no such system registration was found in `astraweave-ai/src/ecs_ai_plugin.rs` or anywhere else. [Factual — the docstring describes intended use, not actual use.] Whether to add the system registration (re-enabling the feedback loop) or to update the docstring (acknowledging the intended-but-not-wired status) is conditional on the broader dormancy decision.
0 commit comments