<?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: Lucky Hermawan Roza</title>
    <description>The latest articles on DEV Community by Lucky Hermawan Roza (@lhermawan).</description>
    <link>https://dev.to/lhermawan</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%2F4205436%2F8076914d-b423-4cce-9d53-87509f198797.png</url>
      <title>DEV Community: Lucky Hermawan Roza</title>
      <link>https://dev.to/lhermawan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lhermawan"/>
    <language>en</language>
    <item>
      <title>I Built an Approval Gate for AI Coding Agents — Meet Friday Protocol</title>
      <dc:creator>Lucky Hermawan Roza</dc:creator>
      <pubDate>Sat, 24 Oct 2026 20:28:34 +0000</pubDate>
      <link>https://dev.to/lhermawan/i-built-an-approval-gate-for-ai-coding-agents-meet-friday-protocol-4646</link>
      <guid>https://dev.to/lhermawan/i-built-an-approval-gate-for-ai-coding-agents-meet-friday-protocol-4646</guid>
      <description>&lt;p&gt;AI coding agents can be incredibly productive.&lt;/p&gt;

&lt;p&gt;They can inspect a codebase, propose a solution, modify files, run tests, and keep going with very little supervision.&lt;/p&gt;

&lt;p&gt;But I kept thinking about one question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if the agent starts implementing the wrong plan before I have a chance to review it?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The problem isn't necessarily that the AI cannot write code. Sometimes, the problem is that it can move from planning to execution too quickly.&lt;/p&gt;

&lt;p&gt;I wanted a workflow where an agent could still work autonomously, but not skip the moment when a human needs to make a decision.&lt;/p&gt;

&lt;p&gt;That idea led me to build &lt;strong&gt;Friday Protocol&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Friday Protocol?
&lt;/h2&gt;

&lt;p&gt;Friday Protocol is an open-source skill designed to introduce an approval-first workflow for AI coding agents.&lt;/p&gt;

&lt;p&gt;The idea is straightforward:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The agent investigates the task and prepares an implementation plan.&lt;/li&gt;
&lt;li&gt;The workflow pauses and asks for explicit human approval.&lt;/li&gt;
&lt;li&gt;The agent proceeds only after approval is given.&lt;/li&gt;
&lt;li&gt;The implementation goes through the required security checks and testing.&lt;/li&gt;
&lt;li&gt;The agent provides evidence of what was completed, including any remaining issues.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In my workflow, &lt;code&gt;OKE&lt;/code&gt; is the explicit approval signal.&lt;/p&gt;

&lt;p&gt;The goal is not to make an AI agent less capable. It is to make the transition from planning to execution more deliberate and reviewable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why not just tell the AI to be careful?
&lt;/h2&gt;

&lt;p&gt;I could simply add a sentence to a prompt:&lt;/p&gt;

&lt;p&gt;"Ask me before making changes."&lt;/p&gt;

&lt;p&gt;But I wanted something more structured than relying on a general instruction.&lt;/p&gt;

&lt;p&gt;Friday Protocol is built around explicit workflow gates, rather than treating approval as a polite suggestion.&lt;/p&gt;

&lt;p&gt;The workflow is intended to prevent the agent from treating every request as permission to immediately execute its own interpretation of the task.&lt;/p&gt;

&lt;p&gt;It also emphasizes verification. An agent should not declare a task complete merely because it has finished editing files.&lt;/p&gt;

&lt;p&gt;If testing fails, the workflow should return to implementation and verification instead of pretending everything succeeded.&lt;/p&gt;

&lt;p&gt;Of course, the actual guarantees depend on the agent environment, how the skill is invoked, and how its instructions are followed. This is a workflow-level safeguard, not a claim that every possible unsafe action is technically impossible.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does the workflow look like?
&lt;/h2&gt;

&lt;p&gt;Here is the simplified lifecycle:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Task Request
     |
     v
Investigation &amp;amp; Planning
     |
     v
Present Implementation Plan
     |
     v
Wait for Explicit Approval
     |
     v
Implementation
     |
     v
Security Checks &amp;amp; Testing
     |
     v
Did Verification Pass?
     |
   +---+---+
   |       |
  No      Yes
   |       |
   v       v
Fix and   Report Results
Retest    with Evidence
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important part is the approval gate before implementation and the verification loop before completion.&lt;/p&gt;

&lt;h2&gt;
  
  
  What makes it different?
&lt;/h2&gt;

&lt;p&gt;Friday Protocol is designed as a reusable skill, rather than a standalone application that must replace an existing coding agent.&lt;/p&gt;

&lt;p&gt;It can be used as a workflow layer, with optional integration into my other project, MemoriaGraph, which explores contextual memory and decision support.&lt;/p&gt;

&lt;p&gt;I am also experimenting with these ideas in a broader security operations project. However, Friday Protocol itself focuses on the workflow and approval process, not on replacing a complete security operations platform.&lt;/p&gt;

&lt;p&gt;My aim is to make the approach reusable across supported AI coding environments. Compatibility and behavior still need to be evaluated for each environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I have learned while building it
&lt;/h2&gt;

&lt;p&gt;One thing I have learned is that adding more instructions is not automatically the same as creating a reliable workflow.&lt;/p&gt;

&lt;p&gt;A useful workflow needs observable checkpoints.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Did the agent actually stop after presenting its plan?&lt;/li&gt;
&lt;li&gt;Did it wait for approval before proceeding?&lt;/li&gt;
&lt;li&gt;What happened when a test failed?&lt;/li&gt;
&lt;li&gt;Did it retry verification after making a correction?&lt;/li&gt;
&lt;li&gt;Can the final report distinguish verified results from assumptions?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These questions are more useful than simply asking whether an agent claims to follow the rules.&lt;/p&gt;

&lt;p&gt;I want to keep improving Friday Protocol through practical testing, feedback, and clearer evidence of its behavior.&lt;/p&gt;

&lt;p&gt;It is still an evolving open-source project, and I don't consider it a complete solution to AI agent safety.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it and tell me what you think
&lt;/h2&gt;

&lt;p&gt;If you work with AI coding agents, I would genuinely appreciate your feedback.&lt;/p&gt;

&lt;p&gt;Repository: &lt;strong&gt;&lt;a href="https://github.com/lhermawan/friday-protocol" rel="noopener noreferrer"&gt;Friday Protocol on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'm particularly interested in hearing from developers who have experienced problems with agents moving too quickly, making changes before a plan is reviewed, or reporting completion without sufficient verification.&lt;/p&gt;

&lt;p&gt;A few questions I'd love to discuss:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Would an explicit approval gate be useful in your workflow?&lt;/li&gt;
&lt;li&gt;Which parts of the development lifecycle should require human approval?&lt;/li&gt;
&lt;li&gt;How would you test whether an agent actually respects the gate?&lt;/li&gt;
&lt;li&gt;What would make a workflow like this easier to adopt across different coding agents?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'm building this from my own experience working with AI-assisted development, and I'd like to learn how other developers approach the same problem.&lt;/p&gt;

&lt;p&gt;Thanks for reading. Feedback, criticism, and contributions are welcome.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>devtools</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
