eidetic-engine 0.15.1

Durable, local-first, explainable memory for coding agents.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
//! Capabilities command handler (EE-030).
//!
//! Reports feature availability, command status, and subsystem readiness.
//! Used by agents to discover what ee can do in its current configuration.

use std::path::Path;

use crate::models::CapabilityStatus;

use super::build_info;
use super::index::{EmbeddingPosture, IndexStatusOptions, IndexStatusReport, get_index_status};
use super::status::{
    default_workspace_path, probe_cass_capability, probe_graph_capability, probe_mesh_capability,
    probe_runtime_capability, probe_search_capability, probe_storage_capability,
};

/// A single capability entry describing a feature or subsystem.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct CapabilityEntry {
    pub name: &'static str,
    pub status: CapabilityStatus,
    pub description: &'static str,
}

impl CapabilityEntry {
    #[must_use]
    pub const fn new(
        name: &'static str,
        status: CapabilityStatus,
        description: &'static str,
    ) -> Self {
        Self {
            name,
            status,
            description,
        }
    }
}

/// A command entry describing CLI command availability.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct CommandEntry {
    pub name: String,
    pub available: bool,
    pub description: String,
}

impl CommandEntry {
    #[must_use]
    pub fn new(name: impl Into<String>, available: bool, description: impl Into<String>) -> Self {
        Self {
            name: name.into(),
            available,
            description: description.into(),
        }
    }
}

/// Feature flag entry from compile-time configuration.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct FeatureEntry {
    pub name: &'static str,
    pub enabled: bool,
    pub description: &'static str,
}

impl FeatureEntry {
    #[must_use]
    pub const fn new(name: &'static str, enabled: bool, description: &'static str) -> Self {
        Self {
            name,
            enabled,
            description,
        }
    }
}

/// Build-time gap surfaced once through `ee capabilities`.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct UnimplementedCapabilityEntry {
    pub code: &'static str,
    pub feature_flag: &'static str,
    pub ship_target: &'static str,
    pub tracking_bead: &'static str,
    pub user_message: &'static str,
}

impl UnimplementedCapabilityEntry {
    #[must_use]
    pub const fn new(
        code: &'static str,
        feature_flag: &'static str,
        ship_target: &'static str,
        tracking_bead: &'static str,
        user_message: &'static str,
    ) -> Self {
        Self {
            code,
            feature_flag,
            ship_target,
            tracking_bead,
            user_message,
        }
    }
}

/// Output format entry from the renderer registry.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct OutputFormatEntry {
    pub name: &'static str,
    pub available: bool,
    pub machine_readable: bool,
    pub description: &'static str,
}

impl OutputFormatEntry {
    #[must_use]
    pub const fn new(
        name: &'static str,
        available: bool,
        machine_readable: bool,
        description: &'static str,
    ) -> Self {
        Self {
            name,
            available,
            machine_readable,
            description,
        }
    }
}

/// Resolved TOON dependency metadata reported by `ee capabilities --json`.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct ToonDependencySource {
    pub crate_name: &'static str,
    pub package: &'static str,
    pub version: &'static str,
    pub source_kind: &'static str,
    pub path: &'static str,
    pub default_features: bool,
}

impl ToonDependencySource {
    #[must_use]
    pub const fn local() -> Self {
        Self {
            crate_name: "toon",
            package: "tru",
            version: "0.2.3",
            source_kind: "path",
            path: "/data/projects/toon_rust",
            default_features: false,
        }
    }
}

/// TOON output adapter readiness metadata.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct ToonOutputCapability {
    pub available: bool,
    pub canonical_source_format: &'static str,
    pub dependency: ToonDependencySource,
    pub supported_output_profiles: Vec<&'static str>,
    pub default_format_env: &'static str,
    pub error_codes: Vec<&'static str>,
}

impl ToonOutputCapability {
    #[must_use]
    pub fn gather() -> Self {
        Self {
            available: crate::output::toon_output_available(),
            canonical_source_format: "json",
            dependency: ToonDependencySource::local(),
            supported_output_profiles: vec!["minimal", "summary", "standard", "full"],
            default_format_env: "TOON_DEFAULT_FORMAT",
            error_codes: vec!["toon_decode_failed", "toon_encoding_failed"],
        }
    }
}

/// Search-index metadata surfaced through `ee capabilities`.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct IndexCapabilitySummary {
    pub last_full_rebuild_at: Option<String>,
    pub embedding: Option<EmbeddingPosture>,
}

impl IndexCapabilitySummary {
    #[must_use]
    pub fn gather(workspace_path: Option<&Path>) -> Self {
        let index_status = workspace_path.and_then(|workspace_path| {
            get_index_status(&IndexStatusOptions {
                workspace_path: workspace_path.to_path_buf(),
                database_path: None,
                index_dir: None,
            })
            .ok()
        });

        Self::from_index_status(index_status)
    }

    fn from_index_status(index_status: Option<IndexStatusReport>) -> Self {
        let Some(report) = index_status else {
            return Self {
                last_full_rebuild_at: None,
                embedding: None,
            };
        };

        Self {
            last_full_rebuild_at: report.last_rebuild_at,
            embedding: report.embedding,
        }
    }
}

/// Full capabilities report returned by the capabilities command.
#[derive(Clone, Debug)]
pub struct CapabilitiesReport {
    pub version: &'static str,
    pub subsystems: Vec<CapabilityEntry>,
    pub features: Vec<FeatureEntry>,
    pub unimplemented: Vec<UnimplementedCapabilityEntry>,
    pub commands: Vec<CommandEntry>,
    pub output_formats: Vec<OutputFormatEntry>,
    pub index: IndexCapabilitySummary,
    pub toon: ToonOutputCapability,
}

impl CapabilitiesReport {
    /// Gather current capabilities from compile-time and runtime state.
    #[must_use]
    pub fn gather(commands: Vec<CommandEntry>) -> Self {
        let workspace_path = default_workspace_path();
        Self::gather_with_workspace(workspace_path.as_deref(), commands)
    }

    #[must_use]
    pub fn gather_for_workspace(workspace_path: &Path, commands: Vec<CommandEntry>) -> Self {
        Self::gather_with_workspace(Some(workspace_path), commands)
    }

    #[must_use]
    pub fn gather_with_workspace(
        workspace_path: Option<&Path>,
        commands: Vec<CommandEntry>,
    ) -> Self {
        let info = build_info();
        let runtime_status = probe_runtime_capability();
        let storage_status = probe_storage_capability(workspace_path);
        let search_status = probe_search_capability(workspace_path);
        let graph_status = probe_graph_capability();
        let mesh_status = probe_mesh_capability();
        let cass_status = probe_cass_capability();
        let index = IndexCapabilitySummary::gather(workspace_path);

        let subsystems = vec![
            CapabilityEntry::new("runtime", runtime_status, "Asupersync async runtime"),
            CapabilityEntry::new(
                "storage",
                storage_status,
                "FrankenSQLite/SQLModel persistence",
            ),
            CapabilityEntry::new("search", search_status, "Frankensearch hybrid retrieval"),
            CapabilityEntry::new("graph", graph_status, "FrankenNetworkX graph analytics"),
            CapabilityEntry::new(
                "mesh",
                mesh_status,
                "Optional peer mesh memory cache; disabled by default",
            ),
            CapabilityEntry::new("cass", cass_status, "CASS session import adapter"),
        ];

        let features = vec![
            FeatureEntry::new("fts5", cfg!(feature = "fts5"), "FTS5 full-text search"),
            FeatureEntry::new("json", cfg!(feature = "json"), "JSON extension support"),
            FeatureEntry::new(
                "embed-fast",
                cfg!(feature = "embed-fast"),
                "Fast embedding via model2vec",
            ),
            FeatureEntry::new(
                "embed-quality",
                false, // Feature blocked: pulls forbidden deps (reqwest/tokio/hyper)
                "Quality embedding via fastembed",
            ),
            FeatureEntry::new(
                "lexical-bm25",
                cfg!(feature = "lexical-bm25"),
                "BM25 lexical scoring",
            ),
            FeatureEntry::new("mcp", cfg!(feature = "mcp"), "MCP server adapter"),
            FeatureEntry::new("mesh", false, "Optional mesh memory cache"),
            FeatureEntry::new("serve", cfg!(feature = "serve"), "HTTP serve adapter"),
        ];

        let mut unimplemented = Vec::new();
        if runtime_status == CapabilityStatus::Unimplemented {
            unimplemented.push(UnimplementedCapabilityEntry::new(
                "runtime_unavailable",
                "asupersync",
                "v0.2",
                "bd-17c65.5.5",
                "Asupersync runtime support is not available in this binary.",
            ));
        }
        if storage_status == CapabilityStatus::Unimplemented {
            unimplemented.push(UnimplementedCapabilityEntry::new(
                "storage_unimplemented",
                "fsqlite",
                "v0.2",
                "bd-17c65.5.5",
                "Storage support is not available in this binary.",
            ));
        }
        if search_status == CapabilityStatus::Unimplemented {
            unimplemented.push(UnimplementedCapabilityEntry::new(
                "search_unimplemented",
                "frankensearch",
                "v0.2",
                "bd-17c65.5.5",
                "Search support is not available in this binary.",
            ));
        }
        if !cfg!(feature = "lexical-bm25") {
            unimplemented.push(UnimplementedCapabilityEntry::new(
                "lexical_unavailable",
                "lexical-bm25",
                "v0.2",
                "bd-17c65.5.5",
                "BM25 lexical search is disabled in this build.",
            ));
        }
        // bd-3qs2i.4.1: symmetric to lexical_unavailable above. When the
        // exposed dense-embedding feature is not compiled in, semantic search
        // has no model and falls back to the hash-similarity path.
        if !cfg!(feature = "embed-fast") {
            unimplemented.push(UnimplementedCapabilityEntry::new(
                "embed_model_unavailable",
                "embed-fast",
                "v0.2",
                "bd-3qs2i.4.1",
                "Dense embedding models are disabled in this build; semantic search falls back to hash similarity.",
            ));
        }
        if graph_status == CapabilityStatus::Unimplemented || !cfg!(feature = "graph") {
            unimplemented.push(UnimplementedCapabilityEntry::new(
                "graph_feature_disabled",
                "graph",
                "v0.2",
                "bd-17c65.5.5",
                "Graph algorithm execution is disabled in this build.",
            ));
        }
        if !cfg!(feature = "mcp") {
            unimplemented.push(UnimplementedCapabilityEntry::new(
                "mcp_feature_disabled",
                "mcp",
                "v0.2",
                "bd-17c65.5.5",
                "MCP stdio adapter support is disabled in this build.",
            ));
        }
        if mesh_status == CapabilityStatus::Unimplemented {
            unimplemented.push(UnimplementedCapabilityEntry::new(
                "mesh_feature_disabled",
                "mesh",
                "post-v0.5",
                "bd-x4hn7",
                "Optional mesh memory surfaces are disabled or not linked in this build.",
            ));
        }
        unimplemented.push(UnimplementedCapabilityEntry::new(
            "diagram_backend_unavailable",
            "franken-mermaid-adapter",
            "v0.3",
            "bd-17c65.5.5",
            "Diagram backend support is not linked in this build.",
        ));
        unimplemented.sort_by(|left, right| left.code.cmp(right.code));

        let output_formats = vec![
            OutputFormatEntry::new("json", true, true, "Canonical stable response envelope"),
            OutputFormatEntry::new(
                "toon",
                crate::output::toon_output_available(),
                false,
                "TOON renderer over canonical JSON",
            ),
            OutputFormatEntry::new("human", true, false, "Human-readable terminal output"),
            OutputFormatEntry::new("markdown", true, false, "Markdown context output"),
            OutputFormatEntry::new("mermaid", true, false, "Mermaid diagram output"),
            OutputFormatEntry::new("jsonl", true, true, "Line-delimited JSON stream output"),
            OutputFormatEntry::new("compact", true, true, "Compact machine-readable output"),
            OutputFormatEntry::new("hook", true, true, "Hook protocol output"),
        ];

        Self {
            version: info.version,
            subsystems,
            features,
            unimplemented,
            commands,
            output_formats,
            index,
            toon: ToonOutputCapability::gather(),
        }
    }

    /// Count of ready subsystems.
    #[must_use]
    pub fn ready_subsystem_count(&self) -> usize {
        self.subsystems
            .iter()
            .filter(|s| s.status == CapabilityStatus::Ready)
            .count()
    }

    /// Count of enabled features.
    #[must_use]
    pub fn enabled_feature_count(&self) -> usize {
        self.features.iter().filter(|f| f.enabled).count()
    }

    /// Count of build-time gaps reported once through capabilities.
    #[must_use]
    pub fn unimplemented_count(&self) -> usize {
        self.unimplemented.len()
    }

    /// Count of available commands.
    #[must_use]
    pub fn available_command_count(&self) -> usize {
        self.commands.iter().filter(|c| c.available).count()
    }
}

#[cfg(test)]
mod tests {
    use super::*;

    type TestResult = Result<(), String>;

    fn command_inventory_fixture() -> Vec<CommandEntry> {
        vec![
            CommandEntry::new("capabilities", true, "Report capabilities"),
            CommandEntry::new("mcp serve-stdio", false, "Run the MCP adapter"),
        ]
    }

    fn ensure<T: std::fmt::Debug + PartialEq>(actual: T, expected: T, ctx: &str) -> TestResult {
        if actual == expected {
            Ok(())
        } else {
            Err(format!("{ctx}: expected {expected:?}, got {actual:?}"))
        }
    }

    fn ensure_at_least<T: std::fmt::Debug + PartialOrd>(
        actual: T,
        minimum: T,
        ctx: &str,
    ) -> TestResult {
        if actual >= minimum {
            Ok(())
        } else {
            Err(format!(
                "{ctx}: expected at least {minimum:?}, got {actual:?}"
            ))
        }
    }

    #[test]
    fn capabilities_report_gather_returns_valid_report() -> TestResult {
        let report = CapabilitiesReport::gather(command_inventory_fixture());

        ensure(
            report.version,
            env!("CARGO_PKG_VERSION"),
            "version from cargo",
        )?;
        ensure_at_least(report.subsystems.len(), 3, "at least 3 subsystems")?;
        ensure_at_least(report.features.len(), 3, "at least 3 features")?;
        ensure(report.commands.len(), 2, "required CLI command inventory")?;
        ensure_at_least(report.output_formats.len(), 8, "all output formats")
    }

    #[test]
    fn capabilities_report_lists_all_global_output_formats() -> TestResult {
        let report = CapabilitiesReport::gather(command_inventory_fixture());
        let names = report
            .output_formats
            .iter()
            .map(|format| format.name)
            .collect::<Vec<_>>();
        ensure(
            names,
            vec![
                "json", "toon", "human", "markdown", "mermaid", "jsonl", "compact", "hook",
            ],
            "capabilities output formats",
        )
    }

    #[test]
    fn capabilities_report_has_runtime_ready() -> TestResult {
        let report = CapabilitiesReport::gather(command_inventory_fixture());

        let runtime = report
            .subsystems
            .iter()
            .find(|s| s.name == "runtime")
            .unwrap_or_else(|| panic!("runtime subsystem must exist")); // ubs:ignore
        ensure(runtime.status, CapabilityStatus::Ready, "runtime is ready")
    }

    #[test]
    fn capabilities_report_surfaces_mesh_as_default_off() -> TestResult {
        let report = CapabilitiesReport::gather(command_inventory_fixture());

        let mesh = report
            .subsystems
            .iter()
            .find(|s| s.name == "mesh")
            .unwrap_or_else(|| panic!("mesh subsystem must exist")); // ubs:ignore
        ensure(
            mesh.status,
            CapabilityStatus::Pending,
            "mesh defaults to pending",
        )?;

        let feature = report
            .features
            .iter()
            .find(|feature| feature.name == "mesh")
            .unwrap_or_else(|| panic!("mesh feature must exist")); // ubs:ignore
        ensure(feature.enabled, false, "mesh feature defaults off")
    }

    #[test]
    fn capabilities_report_counts_are_consistent() -> TestResult {
        let report = CapabilitiesReport::gather(command_inventory_fixture());

        ensure_at_least(report.ready_subsystem_count(), 1, "at least 1 ready")?;
        ensure(report.commands.len(), 2, "injected command count")?;
        ensure(
            report.available_command_count(),
            1,
            "available command count",
        )
    }

    #[test]
    fn capabilities_report_surfaces_build_time_gaps_once() -> TestResult {
        let report = CapabilitiesReport::gather(command_inventory_fixture());
        let codes = report
            .unimplemented
            .iter()
            .map(|entry| entry.code)
            .collect::<Vec<_>>();

        if !cfg!(feature = "mcp") && !codes.contains(&"mcp_feature_disabled") {
            return Err(format!(
                "mcp feature gap should be in capabilities.unimplemented; got {codes:?}"
            ));
        }
        if !codes.contains(&"diagram_backend_unavailable") {
            return Err(format!(
                "diagram backend gap should be in capabilities.unimplemented; got {codes:?}"
            ));
        }
        if !cfg!(feature = "embed-fast") && !codes.contains(&"embed_model_unavailable") {
            return Err(format!(
                "embed_model_unavailable gap should be in capabilities.unimplemented when embed-fast is not built; got {codes:?}"
            ));
        }
        ensure(report.unimplemented_count(), codes.len(), "gap count")
    }

    #[test]
    fn capabilities_report_accepts_cli_owned_command_inventory() -> TestResult {
        let report = CapabilitiesReport::gather(vec![
            CommandEntry::new("capabilities", true, "Report capabilities"),
            CommandEntry::new("insights", true, "Bundle operational insights"),
        ]);
        let names = report
            .commands
            .iter()
            .map(|command| command.name.as_str())
            .collect::<Vec<_>>();

        ensure(
            names,
            vec!["capabilities", "insights"],
            "CLI-owned inventory",
        )?;
        ensure(report.available_command_count(), 2, "available commands")
    }

    #[test]
    fn capabilities_report_includes_toon_output_metadata() -> TestResult {
        let report = CapabilitiesReport::gather(command_inventory_fixture());

        ensure(report.toon.available, true, "toon output is available")?;
        ensure(
            report.toon.dependency.package,
            "tru",
            "toon dependency package",
        )?;
        ensure(
            report.toon.dependency.path,
            "/data/projects/toon_rust",
            "toon dependency path",
        )?;
        ensure_at_least(
            report.toon.supported_output_profiles.len(),
            4,
            "toon supported profiles",
        )
    }

    #[test]
    fn index_capability_summary_carries_runtime_embedding_posture() -> TestResult {
        let posture = EmbeddingPosture {
            schema: "ee.embedding_posture.v1",
            mode: "neural_local",
            semantic: true,
            source: "test_registry".to_owned(),
            fast_model_id: "potion-multilingual-128M".to_owned(),
            fast_dimension: 256,
            quality_model_id: None,
            quality_dimension: None,
            deterministic: true,
            registered_model_count: 1,
            available_model_count: 1,
            selected_registry_model: None,
            vector_coverage: super::super::index::EmbeddingVectorCoverage::new(2, 3),
        };
        let summary = IndexCapabilitySummary::from_index_status(Some(IndexStatusReport {
            health: super::super::index::IndexHealth::Ready,
            index_dir: std::path::PathBuf::from("/tmp/ee-index"),
            database_path: std::path::PathBuf::from("/tmp/ee.db"),
            embedding: Some(posture.clone()),
            index_exists: true,
            index_file_count: 4,
            index_size_bytes: 128,
            db_memory_count: 2,
            db_session_count: 0,
            db_artifact_count: 0,
            db_rule_count: 0,
            db_evidence_count: 0,
            db_evidence_admitted_count: 0,
            db_evidence_quarantined_count: 0,
            db_evidence_denied_count: 0,
            db_generation: Some(7),
            index_generation: Some(7),
            expected_corpus_revision: "blake3:test".to_owned(),
            actual_corpus_revision: Some("blake3:test".to_owned()),
            index_document_count: Some(2),
            index_document_counts: None,
            last_rebuild_at: Some("2026-06-18T00:00:00Z".to_owned()),
            last_check_error: None,
            repair_hint: None,
            elapsed_ms: 1.0,
        }));

        ensure(
            summary.last_full_rebuild_at,
            Some("2026-06-18T00:00:00Z".to_owned()),
            "last rebuild timestamp",
        )?;
        let summary_posture = summary
            .embedding
            .as_ref()
            .ok_or_else(|| "runtime embedding posture missing".to_string())?;
        ensure(
            summary_posture.data_json(),
            posture.data_json(),
            "capabilities should carry byte-identical runtime embedding posture",
        )?;
        ensure(
            summary.embedding,
            Some(posture),
            "runtime embedding posture",
        )
    }

    #[test]
    fn index_capability_summary_handles_absent_status_without_fake_posture() -> TestResult {
        let summary = IndexCapabilitySummary::from_index_status(None);

        ensure(
            summary.last_full_rebuild_at,
            None,
            "absent index status should not fake rebuild timestamp",
        )?;
        ensure(
            summary.embedding,
            None,
            "absent index status should not fake embedding posture",
        )
    }
}