Skip to content

Commit 8bd9fa4

Browse files
cursoragentlazyxeon
andcommitted
docs(ai_pipeline): align remaining bevy Cargo.toml line cites with head
Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
1 parent f2ca6e7 commit 8bd9fa4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/architecture/ai_pipeline.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ This section enumerates the load-bearing files. Per-file enumeration of all 112
466466
| `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 |
467467
| `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 |
468468
| `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`** |
470470
| Per-subsystem trace | See §13.1 below for the dedicated Memory subsystem trace | Done | |
471471

472472
### `astraweave-director`, `astraweave-npc`, `astraweave-dialogue`, `astraweave-coordination`
@@ -1089,7 +1089,7 @@ Therefore the memory crate's `AdaptiveWeightManager.weights` map is **never read
10891089
**Subsystem-specific open questions:**
10901090

10911091
- **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.
10931093
- **`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.
10941094
- **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.]
10951095
- **`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

Comments
 (0)