<?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>Forem: AYUSH</title>
    <description>The latest articles on Forem by AYUSH (@ayushcs89112521).</description>
    <link>https://forem.com/ayushcs89112521</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3766288%2F39b5a419-55dd-41bd-8425-3a21fd9c2075.jpeg</url>
      <title>Forem: AYUSH</title>
      <link>https://forem.com/ayushcs89112521</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ayushcs89112521"/>
    <language>en</language>
    <item>
      <title>GitHub Copilot cli hackathon</title>
      <dc:creator>AYUSH</dc:creator>
      <pubDate>Thu, 05 Mar 2026 05:52:28 +0000</pubDate>
      <link>https://forem.com/ayushcs89112521/github-copilot-cli-hackathon-4c3p</link>
      <guid>https://forem.com/ayushcs89112521/github-copilot-cli-hackathon-4c3p</guid>
      <description></description>
    </item>
    <item>
      <title>Copilot Workflow Composer: I built an 8-Layer Safety Engine that generates RLHF data</title>
      <dc:creator>AYUSH</dc:creator>
      <pubDate>Wed, 11 Feb 2026 12:13:07 +0000</pubDate>
      <link>https://forem.com/ayushcs89112521/copilot-workflow-composer-i-built-an-8-layer-safety-engine-that-generates-rlhf-data-1akf</link>
      <guid>https://forem.com/ayushcs89112521/copilot-workflow-composer-i-built-an-8-layer-safety-engine-that-generates-rlhf-data-1akf</guid>
      <description>&lt;p&gt;*This is a submission for the [GitHub Copilot CLI Challenge]&lt;br&gt;
What I Built&lt;br&gt;
I built Copilot Workflow Composer (CWC), a production-grade orchestration engine that turns AI code suggestions into safe, multi-step workflows.&lt;/p&gt;

&lt;p&gt;While tools like GitHub Copilot CLI are amazing for generating single commands, running them in production requires safety. CWC wraps the AI in an 8-Layer Safety Architecture that validates every command before execution.&lt;/p&gt;

&lt;p&gt;The "Killer Feature": CWC isn't just a safety tool; it's a data engine. Every time a human intervenes to fix or steer the AI (via our "Steering Interface"), CWC logs that correction. Over time, this builds a proprietary RLHF (Reinforcement Learning from Human Feedback) dataset that captures your organization's specific engineering culture.&lt;/p&gt;

&lt;p&gt;Key Technical Highlights:&lt;/p&gt;

&lt;p&gt;Architect-Builder Pattern: Routes planning to fast models (Haiku) and execution to smart models (Sonnet), reducing AI costs by 62%.&lt;/p&gt;

&lt;p&gt;8-Layer Safety: Includes schema validation, recursive descent condition parsing (O(n) complexity), and 18+ malicious pattern detectors.&lt;/p&gt;

&lt;p&gt;1,200+ Tools: Integrates with the Model Context Protocol (MCP) to access 1,241 external tools.&lt;/p&gt;

&lt;p&gt;Production Ready: 100% test coverage with 434 passing tests.&lt;/p&gt;

&lt;p&gt;Demo&lt;br&gt;
You can find the full source code and documentation here:&lt;br&gt;
&lt;a href="https://github.com/Ayush-CS-89112521/Copilot-Workflow-Composer-CWC-" rel="noopener noreferrer"&gt;https://github.com/Ayush-CS-89112521/Copilot-Workflow-Composer-CWC-&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The "Hero" Demo&lt;br&gt;
Here is CWC in action. Watch as the Architect plans a complex workflow, the Safety Layer validates it, and the Steering Interface allows me to guide the execution.&lt;/p&gt;

&lt;p&gt;My Experience with GitHub Copilot CLI&lt;br&gt;
Building a security-critical tool required precision, and GitHub Copilot CLI was my partner in "defense-in-depth."&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Generating Regular Expressions for Safety&lt;br&gt;
The hardest part of this project was Layer 5 (The Pattern Library). I needed to detect malicious obfuscated bash commands (like base64 encoded payloads). I used gh copilot suggest to generate robust Regex patterns that catch these edge cases without blocking legitimate code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Optimizing the Parser&lt;br&gt;
For Layer 3, I needed a recursive descent parser for condition evaluation that wouldn't crash the event loop. I asked Copilot to "Explain how to implement an LL(1) grammar parser in TypeScript," and it helped me structure the tokenization logic to ensure O(n) time complexity.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Test-Driven Development&lt;br&gt;
Achieving 100% test coverage for 114+ tests was daunting. I used Copilot to scaffold the Red Team attack vectors (the "stress-test.yaml"), asking it to "Generate 8 common bash obfuscation techniques for security testing." It saved me days of research.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This project represents the future of AI development: Humans acting as the "Architect" and "Safety Gate," while AI handles the execution.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>cli</category>
      <category>githubcopilot</category>
    </item>
  </channel>
</rss>
