{"id":17434,"date":"2026-05-30T23:07:17","date_gmt":"2026-05-30T23:07:17","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=17434"},"modified":"2026-06-26T22:01:38","modified_gmt":"2026-06-26T22:01:38","slug":"mide-mshell-workflow-role","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2026\/05\/30\/mide-mshell-workflow-role\/","title":{"rendered":"mide + mshell Workflow Role."},"content":{"rendered":"\n<p> mide + mshell Workflow Role = Accidental Superpower Here&#8217;s a fun side effect of how mide and mshell Workflow roles work together. When you load mshell_expert.role as a system prompt in AI Chat, the LLM is instructed to wrap every piece of code in fenced code blocks \u2014 exactly the mshell Workflow pipeline format. So when you ask it to &#8220;write Rust code that draws sine and cosine in ASCII&#8221;, it does two things at once without being asked: Puts the Rust source into the editor via Generate Puts the same code as a workflow block into LLM Output \u2014 ready to run in edi Now you have two independent execution paths from a single prompt: \u25b6 Run button \u2192 mide compiles and runs the Rust file \u2192 result appears in the Output panel \u2699 edi button \u2192 loads the code from LLM Output \u2192 executes it as a mshell Workflow stage \u2192 result appears in the mshell VTE terminal Same code. Same sine wave. Two completely different runtimes \u2014 both work perfectly. This isn&#8217;t a bug. The role does exactly what it&#8217;s told. The LLM just happens to speak fluent mshell Workflow by default when the role is loaded \u2014 and mide is ready to run whatever comes out, in whatever way you prefer. Moral of the story: write your roles right, and the pipeline takes care of itself. \ud83c\udfaf<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"870\" height=\"1024\" src=\"https:\/\/www.appservgrid.com\/paw92\/wp-content\/uploads\/2026\/05\/mide_rust_phenomenon-870x1024.jpg\" alt=\"\" class=\"wp-image-17435\" srcset=\"https:\/\/www.appservgrid.com\/paw92\/wp-content\/uploads\/2026\/05\/mide_rust_phenomenon-870x1024.jpg 870w, https:\/\/www.appservgrid.com\/paw92\/wp-content\/uploads\/2026\/05\/mide_rust_phenomenon-255x300.jpg 255w, https:\/\/www.appservgrid.com\/paw92\/wp-content\/uploads\/2026\/05\/mide_rust_phenomenon-768x903.jpg 768w, https:\/\/www.appservgrid.com\/paw92\/wp-content\/uploads\/2026\/05\/mide_rust_phenomenon-1306x1536.jpg 1306w, https:\/\/www.appservgrid.com\/paw92\/wp-content\/uploads\/2026\/05\/mide_rust_phenomenon.jpg 1400w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>mide + mshell Workflow Role = Accidental Superpower Here&#8217;s a fun side effect of how mide and mshell Workflow roles work together. When you load mshell_expert.role as a system prompt in AI Chat, the LLM is instructed to wrap every piece of code in fenced code blocks \u2014 exactly the mshell Workflow pipeline format. So &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2026\/05\/30\/mide-mshell-workflow-role\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;mide + mshell Workflow Role.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-17434","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/17434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=17434"}],"version-history":[{"count":3,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/17434\/revisions"}],"predecessor-version":[{"id":17466,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/17434\/revisions\/17466"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=17434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=17434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=17434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}