<?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: Hamza Awan</title>
    <description>The latest articles on DEV Community by Hamza Awan (@hivelyhr).</description>
    <link>https://dev.to/hivelyhr</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%2F4227274%2Fc65b94d5-a931-4281-962c-0e279caafe3c.png</url>
      <title>DEV Community: Hamza Awan</title>
      <link>https://dev.to/hivelyhr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hivelyhr"/>
    <language>en</language>
    <item>
      <title>An AI proposal is not permission: designing reviewable HR actions</title>
      <dc:creator>Hamza Awan</dc:creator>
      <pubDate>Wed, 04 Nov 2026 22:43:58 +0000</pubDate>
      <link>https://dev.to/hivelyhr/an-ai-proposal-is-not-permission-designing-reviewable-hr-actions-3djl</link>
      <guid>https://dev.to/hivelyhr/an-ai-proposal-is-not-permission-designing-reviewable-hr-actions-3djl</guid>
      <description>&lt;p&gt;A conversational interface can make a workflow easier to start. It should not make a consequential change easier to apply accidentally.&lt;/p&gt;

&lt;p&gt;Consider this request: "What is left for Maya's onboarding?" A helpful answer might identify an incomplete task. That is different from permission to change Maya's access, assign work, or mark onboarding complete. Maya is a fictional example here.&lt;/p&gt;

&lt;p&gt;Here is a practical design pattern for keeping those boundaries clear. These are implementation recommendations, not a claim that a particular product implements every control below.&lt;/p&gt;

&lt;h2&gt;
  
  
  Separate explanation, proposal and execution
&lt;/h2&gt;

&lt;p&gt;Treat these as three different operations:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Explain:&lt;/strong&gt; retrieve authorized context and answer the question.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Propose:&lt;/strong&gt; describe a specific possible change without applying it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Execute:&lt;/strong&gt; validate an explicitly confirmed proposal and run the permitted action.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Do not turn an ambiguous question into an execution request because the model inferred a likely next step. "What is missing?" and "Apply this change" are different user intentions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make the review screen concrete
&lt;/h2&gt;

&lt;p&gt;A useful proposal should tell the reviewer who will be affected, what will change, and what will remain unresolved. Show the relevant before-and-after values and the source of the context when available.&lt;/p&gt;

&lt;p&gt;For example: "Assign the security orientation task to Maya, due Friday" is reviewable. "Optimize onboarding" is not. If the person, task or date is ambiguous, ask a focused follow-up instead of presenting a confident guess.&lt;/p&gt;

&lt;p&gt;Keep the confirmation attached to that exact proposal. An approval for one employee must not authorize a later change for another employee. Editing the target or payload should require another review.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep authorization outside the model
&lt;/h2&gt;

&lt;p&gt;The server should derive workspace and actor identity from the authenticated session. It should independently check whether that actor can read the requested records and perform the proposed action. A model-supplied workspace identifier or employee identifier is an input to validate, not proof of access.&lt;/p&gt;

&lt;p&gt;Use the same validation and business rules as the ordinary application workflow. The conversational interface should not become a second route around required fields, role checks or tenant boundaries.&lt;/p&gt;

&lt;h2&gt;
  
  
  Recheck at execution time
&lt;/h2&gt;

&lt;p&gt;A proposal can become stale while someone reviews it. The employee may have moved teams, the task may already be complete, or the reviewer's permissions may have changed.&lt;/p&gt;

&lt;p&gt;Before applying a confirmed proposal, re-read the relevant state and validate it again. If the underlying facts have changed materially, explain the difference and ask for a fresh review. Use an idempotency strategy so a retry cannot apply the same operation twice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Report the result, not the intention
&lt;/h2&gt;

&lt;p&gt;After execution, distinguish success, failure and partial completion. "I prepared the update" should not look like "The update was applied." Keep a minimal audit record of the actor, approved action and outcome, without copying sensitive employee conversations into general-purpose logs.&lt;/p&gt;

&lt;p&gt;A useful review checklist is: correct person, correct workspace, explicit change, current authority, current data, safe retry, verified outcome.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters for HR tools
&lt;/h2&gt;

&lt;p&gt;People operations involve records and access that deserve a clear decision boundary. A friendly chat interface does not remove that responsibility. The better experience is a shorter path to an informed decision, with the person still able to inspect and approve what happens next.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I’m Hamza, founder of &lt;a href="https://hivelyhr.com/" rel="noopener noreferrer"&gt;Hively HR&lt;/a&gt;. Hively's product approach is to ask Buzz for HR context and review proposed changes before approving them. Hively is free for up to 5 employees; paid plans start at $9 per company per month for 6–9 employees. This article describes a general engineering pattern, rather than a complete security audit of Hively.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
