<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Владислав Пантелеев</title>
    <description>The latest articles on DEV Community by Владислав Пантелеев (@klavinwsstar).</description>
    <link>https://dev.to/klavinwsstar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4279795%2Fce599392-bef1-4b3e-81a1-7dc7de61aa0c.jpg</url>
      <title>DEV Community: Владислав Пантелеев</title>
      <link>https://dev.to/klavinwsstar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/klavinwsstar"/>
    <language>en</language>
    <item>
      <title>Building AdShh: why mute ownership matters in a Windows audio utility</title>
      <dc:creator>Владислав Пантелеев</dc:creator>
      <pubDate>Thu, 03 Dec 2026 07:25:25 +0000</pubDate>
      <link>https://dev.to/klavinwsstar/building-adshh-why-mute-ownership-matters-in-a-windows-audio-utility-5e60</link>
      <guid>https://dev.to/klavinwsstar/building-adshh-why-mute-ownership-matters-in-a-windows-audio-utility-5e60</guid>
      <description>&lt;p&gt;AdShh started as a small Windows utility for silencing Spotify ad breaks. The interesting engineering problem turned out to be less about muting audio and more about restoring it safely.&lt;/p&gt;

&lt;h2&gt;
  
  
  A mute flag is not an ownership flag
&lt;/h2&gt;

&lt;p&gt;A utility should not assume that every muted audio session belongs to it. A user can mute an application manually, or another application can change its mixer state. Restoring everything indiscriminately would overwrite the user's preferences.&lt;/p&gt;

&lt;p&gt;The audio module separates mute ownership from external and user mutes. The desktop flow is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Media/window signal
  -&amp;gt; classification
  -&amp;gt; mute decision
  -&amp;gt; audio-session worker
  -&amp;gt; mixer state readback
  -&amp;gt; owned-session recovery
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The Windows integration uses Go, Win32, Core Audio, COM and WinRT. Audio COM calls and their owned references stay on a dedicated locked OS thread. The UI reads snapshots instead of owning those audio objects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Treat recovery as part of the feature
&lt;/h2&gt;

&lt;p&gt;A recovery journal and explicit retry path matter if audio state changes during a session. The project keeps this logic in a separate module so it can be tested independently. Artwork decoding is bounded, and background storage uses file replacement rather than treating every UI event as a synchronous disk write.&lt;/p&gt;

&lt;h2&gt;
  
  
  Desktop and browser are separate boundaries
&lt;/h2&gt;

&lt;p&gt;The optional Chromium MV3 extension operates at tab level. Native Messaging reports aggregate counts; the browser is not allowed to control desktop audio through those reports. The extension also works independently of the desktop utility.&lt;/p&gt;

&lt;h2&gt;
  
  
  What has actually been tested?
&lt;/h2&gt;

&lt;p&gt;The repository documents 208 Go tests and subtests, 12 Chromium tests, and 10 update-trust checks that passed locally. An earlier RC1 build underwent installation, uninstall and settings checks. The published package still needs a fresh installation test and measurement of detection latency on real ads.&lt;/p&gt;

&lt;p&gt;This is a release candidate, not a production-ready claim. The installer is unsigned, and automatic muting may conflict with Spotify's terms. AdShh is independent and not affiliated with Spotify. The source is publicly visible; its license is not yet finalized.&lt;/p&gt;

&lt;h2&gt;
  
  
  Feedback welcome
&lt;/h2&gt;

&lt;p&gt;I would especially like feedback from Windows developers on ownership tracking, COM thread boundaries and recovery after unexpected termination.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/klavinws-star/AdShh" rel="noopener noreferrer"&gt;Source and architecture&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/klavinws-star/AdShh/blob/main/docs/architecture/overview.md" rel="noopener noreferrer"&gt;Technical architecture notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://klavinws-star.github.io/AdShh/" rel="noopener noreferrer"&gt;Project walkthrough&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This post was prepared with AI assistance using the project's documented implementation and test results.&lt;/p&gt;

</description>
      <category>code</category>
      <category>programming</category>
      <category>softwaredevelopment</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Building a Windows-to-AI bridge with MCP: where the trust boundary belongs</title>
      <dc:creator>Владислав Пантелеев</dc:creator>
      <pubDate>Thu, 03 Dec 2026 06:28:09 +0000</pubDate>
      <link>https://dev.to/klavinwsstar/building-a-windows-to-ai-bridge-with-mcp-where-the-trust-boundary-belongs-3g5c</link>
      <guid>https://dev.to/klavinwsstar/building-a-windows-to-ai-bridge-with-mcp-where-the-trust-boundary-belongs-3g5c</guid>
      <description>&lt;p&gt;I'm developing Arkhangel, a personal project connecting an AI chat to a Windows computer owned by the user. The interesting question is not simply how to execute commands, but how to restrict them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the trust boundary belongs
&lt;/h2&gt;

&lt;p&gt;Arkhangel separates the Windows desktop component, MCP interface and relay. Local permissions distinguish file access, application launching, PowerShell and screen/input operations. Authentication alone should not grant unrestricted access.&lt;/p&gt;

&lt;p&gt;The remote design uses OAuth PKCE and device pairing, with DPAPI for protected local storage. The relay must isolate owners and enforce revocation rather than trust a device identifier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Current state
&lt;/h2&gt;

&lt;p&gt;The personal Desktop prototype has working local operations. The cloud QA build has confirmed device status and isolated owner-separation and revocation tests. This is not a production security audit.&lt;/p&gt;

&lt;p&gt;The next milestone is a clean Windows installation test covering pairing, restart, upgrade, revocation and uninstall. The public repository contains selected source snapshots and documentation, not a complete distribution.&lt;/p&gt;

&lt;p&gt;How would you design revocation tests for a desktop agent connected through a relay? Feedback is welcome.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Repository: &lt;a href="https://github.com/klavinws-star/arkhangel" rel="noopener noreferrer"&gt;https://github.com/klavinws-star/arkhangel&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Project presentation: &lt;a href="https://klavinws-star.github.io/arkhangel/" rel="noopener noreferrer"&gt;https://klavinws-star.github.io/arkhangel/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Disclosure: This article was drafted by AI using the project documentation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>mcp</category>
      <category>security</category>
    </item>
  </channel>
</rss>
