<?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: Abhinav Musrif</title>
    <description>The latest articles on DEV Community by Abhinav Musrif (@abhinavmusrif).</description>
    <link>https://dev.to/abhinavmusrif</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%2F4177656%2Fa7bedc84-518b-45cc-9659-f67daef871ae.png</url>
      <title>DEV Community: Abhinav Musrif</title>
      <link>https://dev.to/abhinavmusrif</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhinavmusrif"/>
    <language>en</language>
    <item>
      <title>MatterPkg: when a robot's reply is lost, the backup moves the block once, zero times, or not at all (Kiroween 2026)</title>
      <dc:creator>Abhinav Musrif</dc:creator>
      <pubDate>Fri, 04 Dec 2026 20:49:35 +0000</pubDate>
      <link>https://dev.to/abhinavmusrif/matterpkg-when-a-robots-reply-is-lost-the-backup-moves-the-block-once-zero-times-or-not-at-all-4mnh</link>
      <guid>https://dev.to/abhinavmusrif/matterpkg-when-a-robots-reply-is-lost-the-backup-moves-the-block-once-zero-times-or-not-at-all-4mnh</guid>
      <description>&lt;p&gt;This post is my entry for the Bonus Blog Prize of the Kiroween Hackathon 2026. MatterPkg is in the Frankenstein category.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;A pick-and-place robot sends "done" and the reply disappears. Did the block move? A backup robot that moves it anyway can put the block somewhere twice. One that waits forever stalls the line.&lt;/p&gt;

&lt;p&gt;MatterPkg is a prototype that answers this with evidence instead of a timeout. It stitches together things that usually live apart: a package manager for robot apps, native compiled programs, one agent harness per robot, and a simulated device that enforces ownership at the moment a move takes effect.&lt;/p&gt;

&lt;h2&gt;
  
  
  What runs
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Two small compiled Linux apps, Inspect and Place (C, digest-pinned). A changed binary or the wrong CPU is refused before launch.&lt;/li&gt;
&lt;li&gt;Each robot is its own OS process with its own state, its own copy of the apps and its own decisions. There is no central controller. The package store only distributes apps, and the operator console can go offline once a mission starts.&lt;/li&gt;
&lt;li&gt;A simulated scene device. It re-checks the claim generation, the block's location and the operation key at the instant a move would take effect, and it records the effect and the receipt together.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The four outcomes
&lt;/h2&gt;

&lt;p&gt;From one saved checkpoint with block 1 already sorted, the original robot is lost and its reply never arrives:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Evidence at the backup&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Block still in the tray, old command fenced at the device&lt;/td&gt;
&lt;td&gt;The backup moves it exactly once&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Block already in its bin&lt;/td&gt;
&lt;td&gt;The backup sends zero commands&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Old command cannot be excluded, or the observation is missing or stale&lt;/td&gt;
&lt;td&gt;Zero commands, the reason is recorded, another observation is requested&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Load changed from 100 g to 137 g&lt;/td&gt;
&lt;td&gt;The 120 g backup declines with &lt;code&gt;mass_exceeds_robot_limit&lt;/code&gt;. A 250 g robot places the same block&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The decisions are asserted against the device's own records: final block positions, the commands each robot sent and the effects committed. They are not read from the UI.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Kiro was used
&lt;/h2&gt;

&lt;p&gt;The work followed a Kiro spec in &lt;code&gt;.kiro/specs/native-robot-handoff&lt;/code&gt; (requirements, design, tasks). Kiro's task runner worked through the task list and delegated each task to a sub-agent, and I kept the output only when the tests agreed with it.&lt;/p&gt;

&lt;p&gt;Two things stayed with me:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;A checked task box is not proof.&lt;/strong&gt; Task 4.4 was marked done while the code path it described never ran correctly. I replaced that path and tested every branch in separate processes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An intermittent bug that only a repeat loop finds.&lt;/strong&gt; About 2 runs in 25 failed. The native apps call &lt;code&gt;bind()&lt;/code&gt; before &lt;code&gt;listen()&lt;/code&gt;, and the robot treated "the socket file exists" as "ready". A request could land in between and get &lt;code&gt;ECONNREFUSED&lt;/code&gt;, which ended the mission. The fix retries only a refused connection, which sends no bytes and so cannot duplicate a request. After the fix the same loop ran 80 times with no failure, and the full suite passed 15 runs in a row.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What is real and what is not
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The devices are simulated. No physical robot was involved.&lt;/li&gt;
&lt;li&gt;The live Megas Moves run used one Megas installation with one MCP session per robot process. It is not a separate harness on each of several physical robots.&lt;/li&gt;
&lt;li&gt;The public repository holds the runtime, the transport contract and the simulator. The Megas adapter stays private, so the one live-Megas test is skipped without it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Test result at the published revision: 97 passing, 0 failing, 1 skipped.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Amretra-Dynamics/MatterPkg
&lt;span class="nb"&gt;cd&lt;/span&gt; MatterPkg
npm ci &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm &lt;span class="nb"&gt;test&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; node scripts/frankenstein-demo.mjs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Repository: &lt;a href="https://github.com/Amretra-Dynamics/MatterPkg" rel="noopener noreferrer"&gt;https://github.com/Amretra-Dynamics/MatterPkg&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Release v0.2.0: &lt;a href="https://github.com/Amretra-Dynamics/MatterPkg/releases/tag/v0.2.0" rel="noopener noreferrer"&gt;https://github.com/Amretra-Dynamics/MatterPkg/releases/tag/v0.2.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Demo video: &lt;a href="https://youtu.be/1QxhxTrVOU0" rel="noopener noreferrer"&gt;https://youtu.be/1QxhxTrVOU0&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>hackathon</category>
      <category>iot</category>
      <category>robotics</category>
    </item>
    <item>
      <title>MatterPkg: building a package manager for robot applications with Kiro</title>
      <dc:creator>Abhinav Musrif</dc:creator>
      <pubDate>Fri, 04 Dec 2026 20:41:38 +0000</pubDate>
      <link>https://dev.to/abhinavmusrif/matterpkg-building-a-package-manager-for-robot-applications-with-kiro-mho</link>
      <guid>https://dev.to/abhinavmusrif/matterpkg-building-a-package-manager-for-robot-applications-with-kiro-mho</guid>
      <description>&lt;p&gt;This project build report is part of the Kiroween Hackathon 2026, in the Frankenstein category.&lt;/p&gt;

&lt;p&gt;A software package manager can tell you whether a library is installed. A robot application needs to answer a harder question: can this particular machine execute the task, with its current tool, load, and evidence, and can another robot safely take over if the first one disappears?&lt;/p&gt;

&lt;p&gt;MatterPkg combines package management, native applications, and robot-local mission recovery. The public reference implementation uses independent Linux processes and a simulated workcell. It is deliberately not presented as a certified physical-robot control system.&lt;/p&gt;

&lt;h2&gt;
  
  
  From a specification to a testable architecture
&lt;/h2&gt;

&lt;p&gt;The Kiro specifications in the repository separate the native application launcher, peer message exchange, persistent mission evidence, recovery decisions, and operator interface. Steering rules preserve the distinction between worker identity and robot identity, and keep the robot-local design explicit.&lt;/p&gt;

&lt;p&gt;The important design change is to treat a lost response as uncertainty, not evidence that a move failed. A replacement worker must distinguish between a command that never took effect and one that completed but whose reply was lost.&lt;/p&gt;

&lt;p&gt;Starting from the same checkpoint, the demo evaluates both cases:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If the object remains at its source and the old command is fenced, the replacement may send one command.&lt;/li&gt;
&lt;li&gt;If a fresh observation already establishes the destination, the replacement sends zero commands.&lt;/li&gt;
&lt;li&gt;If the previous command cannot be excluded, or observation evidence is missing or stale, the result remains unknown.&lt;/li&gt;
&lt;li&gt;A simulated 120 g worker refuses a 137 g payload; a 250 g worker can accept it under the fixture constraints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are simulated outcomes, not manufacturer-certified load limits.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Kiro helped expose
&lt;/h2&gt;

&lt;p&gt;The requirements, design, and tasks under &lt;code&gt;.kiro/specs/native-robot-handoff&lt;/code&gt; turn the failure modes into executable regressions rather than leaving them as architecture diagrams. One concrete defect was a startup race: the Unix socket could exist before its native application began listening. The implementation now retries refused connections while the application starts, with regression coverage.&lt;/p&gt;

&lt;p&gt;The public release includes digest-pinned C applications, Node.js orchestration, SQLite evidence, a standalone fixture workbench, and a command-line operator view. An optional Megas Moves transport path was exercised with live agent mailboxes on one installation; the public default path uses local workers and requires no account. No physical robot or independent multi-host installation was verified.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reproduce the demo
&lt;/h2&gt;

&lt;p&gt;On Linux x86-64 with Node.js 22 or newer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Amretra-Dynamics/MatterPkg
&lt;span class="nb"&gt;cd&lt;/span&gt; MatterPkg
npm ci
npm &lt;span class="nb"&gt;test&lt;/span&gt;
node scripts/frankenstein-demo.mjs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Kiro's final verification recorded 97 passing tests, zero failures, and one skipped test requiring the optional private live adapter. The repository explains how to reproduce the local tests and what remains unverified.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/Amretra-Dynamics/MatterPkg" rel="noopener noreferrer"&gt;Open-source repository and Kiro specifications&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Amretra-Dynamics/MatterPkg/releases/tag/v0.2.0" rel="noopener noreferrer"&gt;Version 0.2.0 and evidence downloads&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://youtu.be/1QxhxTrVOU0" rel="noopener noreferrer"&gt;Demo video&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devpost.com/software/matterpkg" rel="noopener noreferrer"&gt;Kiroween project&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The key engineering lesson is that a robot application's dependencies include the state of the world, not just software versions. A reliable recovery mechanism needs evidence of what actually happened before it decides what to do next.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;AI-assisted drafting disclosure: this report was prepared with ChatGPT using the project's repository, Kiro implementation record, and documented test evidence.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>hackathon</category>
      <category>linux</category>
      <category>robotics</category>
    </item>
    <item>
      <title>Building MegasMoves: An Open-Source MCP Platform for Cross-Device Automation</title>
      <dc:creator>Abhinav Musrif</dc:creator>
      <pubDate>Sun, 11 Oct 2026 18:53:01 +0000</pubDate>
      <link>https://dev.to/abhinavmusrif/i-built-megasmoves-an-open-source-mcp-platform-for-cross-device-automation-38ig</link>
      <guid>https://dev.to/abhinavmusrif/i-built-megasmoves-an-open-source-mcp-platform-for-cross-device-automation-38ig</guid>
      <description>&lt;h1&gt;
  
  
  Introducing MegasMoves
&lt;/h1&gt;

&lt;p&gt;I'm Abhinav Musrif, a software engineer working on AI agent tools and device integrations in India.&lt;/p&gt;

&lt;p&gt;Today, I'm sharing &lt;strong&gt;MegasMoves&lt;/strong&gt;, an open-source project we're developing at Amretra Dynamics to address a fundamental challenge in agent infrastructure:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do we connect software agents to real devices, applications, and workflows through a consistent, permission-controlled execution layer?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/Amretra-Dynamics/megasmoves" rel="noopener noreferrer"&gt;https://github.com/Amretra-Dynamics/megasmoves&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem we're working to solve
&lt;/h2&gt;

&lt;p&gt;Software agents can reason, generate code, and interact with APIs. But operating real user devices introduces additional challenges:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Different operating systems expose different capabilities.&lt;/li&gt;
&lt;li&gt;Device operations require explicit permissions and security boundaries.&lt;/li&gt;
&lt;li&gt;Browser sessions, application windows, files, and processes have their own state.&lt;/li&gt;
&lt;li&gt;Tasks can fail, disconnect, or require human intervention.&lt;/li&gt;
&lt;li&gt;Integrations need predictable interfaces instead of unrestricted system access.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We're building MegasMoves to create infrastructure around these challenges.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is MegasMoves?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;MegasMoves is a cross-device software automation platform built around the Model Context Protocol (MCP), native application integrations, and local execution runtimes.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The vision is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your always-on SI agent for all your devices.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Rather than building another chat interface, we're developing an execution layer that allows compatible agents to interact with software environments.&lt;/p&gt;

&lt;h2&gt;
  
  
  A look at the architecture
&lt;/h2&gt;

&lt;p&gt;MegasMoves is organized into several components:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Megas Runtime:&lt;/strong&gt; Python-based capability orchestration and runtime management.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MegasMCP:&lt;/strong&gt; Typed MCP interfaces through which compatible clients can request supported operations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Megas Browser:&lt;/strong&gt; A Chromium/Playwright-based browser operation layer with managed sessions and approval boundaries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Native desktop components:&lt;/strong&gt; Platform-specific integrations, including a WinUI 3 Windows application and native development for other operating systems.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Android integration:&lt;/strong&gt; A Kotlin-based mobile application surface.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Megas Actions:&lt;/strong&gt; Local task organization and scoped workspace references.&lt;/p&gt;

&lt;p&gt;The longer-term goal is to make these components work together reliably while keeping permissions, execution state, and device boundaries explicit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting started
&lt;/h2&gt;

&lt;p&gt;The project exposes a command-line interface named &lt;code&gt;megas&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install megasmoves
megas connect
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;connect&lt;/code&gt; command starts the local MCP interface for compatible clients.&lt;/p&gt;

&lt;p&gt;Please refer to the repository for implementation details and current platform support. This is an early release, so capabilities and reliability are still evolving.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why we're releasing it now
&lt;/h2&gt;

&lt;p&gt;We could keep developing privately for much longer. But we believe feedback from developers is essential to deciding what to build and improve next.&lt;/p&gt;

&lt;p&gt;We're sharing MegasMoves early to learn which integrations are most useful, identify problems in real environments, and connect with people interested in developer tools, automation, operating systems, and agent infrastructure.&lt;/p&gt;

&lt;p&gt;We're not presenting this as a finished, production-hardened platform.&lt;/p&gt;

&lt;p&gt;It's an active engineering project, and there is plenty left to improve.&lt;/p&gt;

&lt;h2&gt;
  
  
  We'd love your feedback
&lt;/h2&gt;

&lt;p&gt;If you work on MCP, developer tooling, browser automation, systems engineering, or software agents, we'd especially like to know:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What device or application capability would you want an agent to access?&lt;/li&gt;
&lt;li&gt;What security and permission controls would you expect?&lt;/li&gt;
&lt;li&gt;Which problems have you encountered when connecting agents to real software environments?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Amretra-Dynamics/megasmoves" rel="noopener noreferrer"&gt;https://github.com/Amretra-Dynamics/megasmoves&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Launch announcement:&lt;/strong&gt; &lt;a href="https://x.com/MegasMoves/status/2109350461476422033" rel="noopener noreferrer"&gt;https://x.com/MegasMoves/status/2109350461476422033&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If this project interests you, explore the repository, share your feedback, or consider contributing.&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Abhinav Musrif&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Software engineer working on MegasMoves&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>mcp</category>
      <category>automation</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
