Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AgentBufferShieldNew to Visual Studio Code? Get it now.
AgentBufferShield

AgentBufferShield

NTL TECHNOLOGIES LAB

| (0) | Free
Protect unsaved VS Code work from conflicting Muse Code file writes.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AgentBufferShield

Reduce conflicting Muse Code writes to files with unsaved changes in Visual Studio Code.

AgentBufferShield is an independent, local-first VS Code extension paired with a separately installed and approved Muse Code plugin. The extension monitors trusted workspace files; a synchronous Muse PreToolUse hook consults local metadata and can reject supported direct writes to dirty or explicitly protected files.

What it helps with

  • Observe unsaved changes in open VS Code text documents, even in background tabs.
  • Explicitly protect a file or directory without modifying your project's source tree.
  • Deny identifiable conflicting Muse writes before the relevant tool starts.
  • Review a local-only disk-versus-editor diff; never automatically save or discard work.
  • Keep file/language behavior independent of Python, Rust, TypeScript, SQL, C++, and frameworks.

Installation (two separate components)

  1. VS Code: Install the officially packaged AgentBufferShield VSIX once it has passed real integration checks. Run AgentBufferShield: Check Health in a trusted file workspace.
  2. Muse Code: Independently obtain the native plugin from the matching source repository or a published release, validate, install and approve it, then open a new Muse session. See Muse integration setup.

Installing only the VS Code extension does not enable the Muse guard. An editor status indicator cannot prove Muse has executed a guard hook. Test in a disposable workspace first; see the manual test plan.

Key limitations

This is not a sandbox, complete write interceptor, filesystem lock or data-loss guarantee. Tool paths may be unknown; opaque shell/custom tools can modify files indirectly. Muse may continue when a hook is skipped, unapproved, crashes, times out or returns invalid output. Local editor state can become stale or inaccessible. Only co-located supported desktop/workspace-host setups can use the local metadata bridge as intended.

Privacy and security

No hosted service, telemetry or runtime source uploads. The hook reads file-state metadata, not unsaved text. Read the privacy notes and threat model.

Author: Truong Long Nguyen. Marketplace Publisher: NTL TECHNOLOGIES LAB (ntltechnologies). License: Apache-2.0.

Independent open-source software, not affiliated with, endorsed by or maintained by Meta or Microsoft. The GitHub repository and Marketplace listing links may not be public until the owner publishes them.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft