Skip to content

Fresh install cannot activate the AI engine: closure-shadow refusal + no Assemblies entry leaves Skill/Agent types unregistered #2584

Closed

Description

@rbuergi

Measured 2026-08-28 on a fresh disposable mesh (education e2e harness, memex-portal-ai:main built 06:47Z, registry consumer against memex.meshweaver.cloud with a valid mwi_ key).

Since the engine was delisted from the image's Modules:Assemblies (the endgame of the 08-27 incident: ship it as the AI store package), a FRESH installation has no way to activate it:

  1. The AI package installs, but landing its module is refused by design:
    Module 'MeshWeaver.AI' refused: 'MeshWeaver.AI.dll' is part of the application closure, and modules/MeshWeaver.AI/ would SHADOW it at the next boot (ResolveModulePath probes the modules folder first).
    (First observed as the misleading landing failed — the module is unchanged warn.)
  2. With no Modules:Assemblies entry and no landable bundle, the engine never activates → the Skill/Agent/Provider partitions are never served, the platform NodeTypes Skill and Agent never register, and 13 of 37 platform-baseline packages fail to install (Install of 'Store' failed: NodeType(s) not registered: Skill, Hosting: … Skill, Agent, …) — reconcile after reconcile, every boot.
  3. Modules:Required still lists MeshWeaver.AI.dll, so on a guarded deployment a roll stalls; on the harness the pod reports Healthy and simply comes up without chat, models, skills or agents.

Existing deployments survive because their engine activation pre-dates the delisting; every NEW installation hits this wall. Workaround used: set Modules__Assemblies__0=MeshWeaver.AI.dll explicitly — which the appsettings comment itself warns will shadow the store entry once one exists.

Suggested direction: as long as MeshWeaver.AI.dll ships in the app closure, the closure copy should be usable as the activation source when the package is installed (treat "in closure + package installed" as an implicit module entry), or the image should keep the Assemblies entry until the DLL leaves the closure.

Related: after the engine was force-activated, the boot wedged in a PingRequest → target=Skill … AccessContext must never be null storm (~200 fails/5min) plus [PackageInstaller] root Skill never answered after its recycle — the engine-served static Skill partition colliding with the registry still offering the (now consolidated-away) Skill/Agent packages; MeshWeaver.Plugins#799 removes that collision at the source.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KJ5Lj4z9dWuv2ZKabLo4hr

Activity

  1. rbuergi commented on Aug 28, 2026

    @rbuergi
    ContributorAuthor

    Status 2026-08-28: the delivery vehicle for the engine-as-module is MeshWeaver.Plugins#786 (open, auto-merge armed); the end-state that removes the closure-shadow refusal at its root — decoupling Blazor.Portal from MeshWeaver.AI types so the engine's DLL can leave the app closure — is filed as #2599.

    Keep this open until a fresh install (the education e2e harness shape used in the report above) demonstrably activates the engine: AI package installs, module lands without the shadow refusal, and the Skill/Agent/Provider partitions serve.

  2. rbuergi commented on Aug 28, 2026

    @rbuergi
    ContributorAuthor

    Downstream evidence from the plugins FOLLOW_RELEASE wave (run 33179845657, dispatched 14:22Z — before plugins#814 merged at 14:54Z), bake leg on a FRESH mesh:

    Hub AI was disposed while SubscribeRequest … was still deferred behind its initialization gates
    Overlay self-heal: NodeType stream for 'Store/Plugin' (instance 'AI') faulted — No node found at 'Store/Plugin'
    MyAi/Panel: 124+ × CS0103 — PlatformModelPath, AiSettingsNodeType, AgentPickerProjection do not exist
    → install pipeline threw; Chess, ClaudeCode, Copilot, DataModelling, Edu, Essentials, Feedback… "counts unavailable"
    

    The CS0103 set is what this issue PREDICTS one step further downstream than the original harness reached: the in-mesh compile reference set is composed from ACTIVATED modules, so with no engine activation every plugin source referencing MeshWeaver.AI types fails on exactly those names (meshweaver-plugins-46 confirmed the 'Store/Plugin' line verbatim from the 08:31Z harness run; the CS0103s were never reached there).

    Possible second defect, kept separate on purpose: Hub AI was disposed while SubscribeRequest … deferred behind its initialization gates did NOT appear in the morning harness. The AI package's root hub tearing down mid-subscribe may be its own fault that #814 merely hides. Re-check on the first image built with #814 in it (core CD keys images on core HEAD; the first post-#814 mint is the #2605 merge at 15:00Z). If the line survives, it gets its own issue.

  3. rbuergi commented on Aug 30, 2026

    @rbuergi
    ContributorAuthor

    Fixed for the shipped shape: Plugins#814 restored the engine to the portal hosts' Modules:Assemblies baseline, and fresh installs activate it again — today's Education disposable-mesh runs boot with [ModuleLoad] MeshWeaver.AI … source=store and the AI-dependent NodeTypes compile (Education#231's run, 2026-08-30). The end-state this interim fix defers — the engine as a genuinely landable, updatable module with the DLL out of the app closure — is Systemorph/MeshWeaver.Plugins#977.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions