Skip to content

Cheap-LLM ImportGuard adapter not shipped (MN-REQ-12.11 leftover) #63

Closed

Description

@chouswei

Gap

MN-REQ-12.11 is an optional cheap-LLM soft review (allow / trim / reject) on Path B before ImportAbsorb.

#49 closed when the hook landed (set_import_guard, --no-guard, ImportGuardDecision). That hid the rest of 12.11: MemNet still does not ship an LLM adapter. If the host never registers a function, every import is GuardPassthrough.

Hard gates already run (distinct session, ACL, id_policy, LAW exclude, slice budget). This issue is not those.

Target

Ship one optional cheap-LLM ImportGuard in memnet-llm:

  • Off by default (no key → skip, same as today).
  • On when env is set (MEMNET_IMPORT_GUARD_API_KEY + model / base URL). OpenAI-compatible HTTP; do not vendor a model.
  • Returns ImportGuardDecision only. Guard chat is not SSOT.
  • Must not replace engine hard gates. Path A never enters the guard.
  • Tests: fake HTTP / fixture; no live LLM required.

Cites

Out of scope

N-server (#47). Live AgensGraph. Making the guard mandatory.

Activity

  1. chouswei commented on Aug 13, 2026

    @chouswei
    OwnerAuthor

    0.4.5 refresh (still open): SysML nest is on master (PR #68). ImportGuardHook implemented=true (#49 plug-in). CheapLlmImportGuard implemented=false — no LLM adapter in memnet-llm. 0.4.5 did not ship this. Team parked until that cut is named.

  2. added a commit that references this issue on Aug 13, 2026
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions