Skip to content

namir-clap: spawn_recall builds its resolver with an empty root list, so library-relative references never resolve in the plugin #96

Description

@ErwanLegrand

crates/namir-clap/src/worker_jobs.rs:132

spawn_recall builds its resolver with a hardcoded empty root list, so LibraryResolver::resolve_library_relative (namir-library/src/resolver.rs:45) can never succeed in the plugin. namir-app passes the real roots (namir-app/src/worker.rs:353), obtained from LibraryService::roots() -- the same service this crate already holds.

A preset or state document carrying a library_relative reference (FR-STATE-070's first resolution candidate) resolves in the standalone app and falls through to hash search or reports Missing in the plugin: an FR-CFG-020 parity divergence, and the same "the two shells' library wiring drifted apart" failure shared.rs:44-55 documents at length one layer up. Carries no TODO or uncovered: marker.

Fix: read the roots off the held LibraryService instead of Vec::new().

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions