<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Prateek Jain on Medium]]></title>
        <description><![CDATA[Stories by Prateek Jain on Medium]]></description>
        <link>https://medium.com/@prateekabhayjain?source=rss-66d31ca68130------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*f5GrNRlFV-PaUD0ixvryyQ.jpeg</url>
            <title>Stories by Prateek Jain on Medium</title>
            <link>https://medium.com/@prateekabhayjain?source=rss-66d31ca68130------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 05:43:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prateekabhayjain/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Virtual Program Manager for Aplazo’s Tech Teams: How AI Bot Manages our Roadmap]]></title>
            <link>https://medium.com/aplazo-tech-blog/virtual-program-manager-for-aplazos-tech-teams-how-ai-bot-manages-our-roadmap-978bae8ae785?source=rss-66d31ca68130------2</link>
            <guid isPermaLink="false">https://medium.com/p/978bae8ae785</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Prateek Jain]]></dc:creator>
            <pubDate>Fri, 25 Sep 2026 11:52:28 GMT</pubDate>
            <atom:updated>2026-09-25T11:52:28.634Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dZj74vxheMXZF0Vdi19vdg.png" /></figure><blockquote>This is the story of how Data Science team at Aplazo built an AI Program Manager that watches an 88-task roadmap, nudges the right people, and updates the board when they reply and the guardrails that make it safe to let it write. With the build steps, so you can run one for your own team.</blockquote><p>With AI tooling, a data science team of five now delivers what a team of ten did a few years ago, and the headcount is not growing at the same pace as the output. That is a good trade, but it has a side effect nobody plans for: the coordination work does not shrink with the team. Someone still has to know what is on track, what is slipping, who is blocked, and whether the board says the same thing the standup does. In a small team, that someone is usually one of the people doing the delivery.</p><p>This is where high-velocity teams quietly get into trouble. Shipping fast is not enough on its own; the work also has to be predictable. Stakeholders need to know when something will go live, what it depends on, and what could stop it, and that predictability only comes from a regular, boring practice of reviewing the roadmap and keeping it honest. When that practice competes for bandwidth with the actual work, one of two things happens. Either the roadmap goes stale and nobody trusts it, or a senior person spends their week updating it instead of building. Both are bottlenecks, and both get worse the faster the team moves.</p><p>The obvious answer used to be to hire a program manager. For a team of five, that is hard to justify. The less obvious answer, and the one we ended up with, is a virtual one: an agent that does the reconciling, the nudging, and the bookkeeping every morning, and leaves the judgement calls to humans. Small enough for a small team to run, and, it turns out, useful enough that we would not go back.</p><h3>In this story</h3><ol><li><a href="#2d8d">The gap between the roadmap and reality</a></li><li><a href="#c978">Four things we tried</a></li><li><a href="#93cd">The shape of the solution</a></li><li><a href="#6e55">What it actually does today</a></li><li><a href="#7d14">Teaching it to take instructions</a></li><li><a href="#c27e">Build your own</a></li><li><a href="#c529">Where this goes next</a></li><li><a href="#e757">What we learned</a></li></ol><h3>1. The gap between the roadmap and reality.</h3><p>Every team with a roadmap has the same quiet problem: <strong>the projects board is a snapshot, but the work is a stream.</strong></p><p>The roadmap says a model is due on the 30th and its status is <em>Ongoing</em>.</p><p><em>What is actually true lives somewhere else entirely in a standup where someone mentioned an outage, in a task comment where someone wrote “blocked on the platform team”, in a dependency nobody noticed starts a month after the thing depending on it is due, in the fact that one person is quietly carrying five overlapping projects.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IWvEo5dgcOGjKMr2jQMzMA.png" /></figure><p>Reconciling those two by hand is a specific, repetitive loop. Read every task. Notice what moved. Work out who is actually blocked. Write five different messages to five different people. Chase the replies. Type the answers back into the board. It costs a senior person <strong>several hours a week</strong>.</p><p>That combination of unglamorous, perfectly structured, repeats forever, and gets skipped precisely when it matters, <em>is the shape of work worth handing to an agent</em>.</p><p>“But we are not even good at program management”</p><p>A colleague raised this when they read the draft, and it is a fair worry. Automating a practice you are weak at can cement the weakness instead of fixing it.</p><p>Two things changed my mind. We did not automate the judgement: priority, scope and ownership stayed with humans by design, and the charter in <a href="#93cd">section 3</a> is mostly a list of decisions the agent may never make on its own.</p><p>And the bot immediately found things we had missed. Seven dependency conflicts where a task was scheduled to start after the work depending on it was due. One person carrying five overlapping projects. Six committed items with no owner at all. A weak practice with something surfacing its gaps every morning beats a weak practice nobody is measuring.</p><h4>Why now</h4><p>The reason this is a 2026 project and not a 2021 one is that two things became cheap at the same time.</p><ul><li>The first is <strong>reading unstructured text well enough to act on it</strong>. A blocker announced in a Slack thread, a due-date change phrased as “let’s push this a couple of weeks” these were once effectively unparseable. Now they are a function call.</li><li>The second is <strong>writing like a person</strong>. A program manager’s output is mostly prose: a nudge that lands, a weekly summary someone actually reads. Template-generated versions of both are worse than nothing, because people learn to ignore them. We found this out the hard way, and I will come back to it.</li></ul><p>But cheap capability is not the same as safe capability. Which brings us to the part of this story that took the longest.</p><h3>2. Four things we tried</h3><p>We did not arrive at a Slack bot. We arrived at three other things first, and each failure defined a requirement we did not know we had.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*StAxAhMJjZ74hOuJ-JQLWg.png" /></figure><h4>Attempt 1: prompt an assistant by hand</h4><p>Paste the board in, ask for a summary, copy the answer out. Zero setup, genuinely useful but only once.</p><p>The problem is that <strong>a human is the scheduler</strong>. It works beautifully on a calm Tuesday and not at all during the week you actually need it. This is the fate of most “we use AI for that” workflows: they are demos that depend on someone remembering.</p><h4>Attempt 2 : a scheduled task on my laptop</h4><p>Next we made it a real automation: a desktop agent routine that ran every weekday morning, read the board, and sent the nudges. This felt like a huge step up. It had real credentials, board access and output. And it worked, right up until the session ended.</p><p>It only ran while the laptop was open. It died with a laptop restart. <strong>It was offline for nine days and nobody noticed</strong>. During those nine days a teammate replied to one of its messages and got nothing back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aINGWUW3EcIkdLExQaeTZQ.jpeg" /></figure><p>That was the first requirement we learned: <strong>for an always-on system, silence must be detectable.</strong></p><h4>Attempt 3: a hosted cloud routine</h4><p>So we moved it off the laptop into a hosted, scheduled routine. No laptop dependency, genuinely always-on. This version <em>worked</em>, and shipped, and ran for weeks. For pure read-and-report it is still an excellent answer, and we still use it for one specific job.</p><p>But it had a flaw we could not engineer around, and it had nothing to do with reliability.</p><p><strong>It authenticates from my credentials </strong>hence<strong> </strong>Every direct message it sent arrived from <em>my own Slack handle</em>.</p><p>Everyone receiving a daily message from “me” asking about their deadlines. I had not written those messages. I could not always predict them. And when someone replied to me there was no agent listening, just a notification I had to handle by hand.</p><p>Two things broke at once. <strong>Accountability blurred:</strong> was that a question from a colleague, or from a bot wearing his face? Nobody could tell, so nobody knew how seriously to take it. And <strong>the loop stayed open:</strong> the agent could talk but not listen, so every reply became manual work for the human it was impersonating.</p><p><strong>Takeaway: </strong>The decisive requirement was not intelligence. It was <em>identity</em>. An agent that nags people in your name is a worse version of you. An agent with its own name is a teammate they can push back on.</p><h4>Attempt 4 : a first-class Slack bot</h4><p>Which is what we built. Its own app, its own bot token, its own avatar, always connected, and crucially able to <em>receive</em> messages as well as send them.</p><p><em>And if I am being honest it has it’s own aura that I myself will never be able to pull off.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*rXgddiuTosDtH6h75t_ADw.png" /></figure><p>We kept the hosted routine from attempt 3 alongside it, for exactly one job: our workspace’s security policy blocks the bot’s OAuth flow for Google Drive, so the bot cannot read meeting notes. The routine, authenticating as a person, can. So it reads the standup notes and relays a digest into a Slack channel; the bot reads the channel.</p><p>That is not elegant. It is a hybrid held together by a Slack channel because of a permissions boundary we do not control. I am including it because real systems have these seams, and pretending otherwise makes architecture articles useless.</p><h3>3. The shape of the solution</h3><p>The system is two loops and three surfaces around one deterministic core.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DiFuF8somxZwaNP2Fqx82g.png" /></figure><p><strong>The scheduled loop</strong> wakes on weekday mornings, reads everything, computes what is at risk, and speaks: one batched DM per owner, plus a Monday report to the team channel.</p><p><strong>The event loop</strong> is always connected and always listening. When someone replies, it works out what they meant and writes it to the board.</p><p>Between them sits the rule we have not broken once: <em>The deterministic core computes every fact. The LLM only ever handles wording, intent and judgement.</em></p><p>Concretely: <em>how many days overdue</em>, <em>which tasks depend on which</em>, <em>whether a start date falls after a dependent’s due date</em>, <em>how many projects one person has in flight</em>, <em>whether a status is even a legal value on this board, </em>all of that is Python. The model never derives a number or a date. It receives structured facts and produces prose, or it receives a sentence and produces a <em>proposed</em> structured change.</p><h3>4. What it actually does today</h3><p>Here is the full capability surface, mapped to the program-management responsibilities it took over.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0SLl6Tc2i22X-plj0tq0rw.png" /></figure><h4>Responsibility 1: track progress, surface risk</h4><p>Every weekday it classifies each task into blocked &gt; overdue &gt; stale &gt; on track and sends each owner <strong>one message</strong> covering everything relevant to them. one DM per person per day, enforced in code. An agent that can message you five times a day is an agent you will mute, and a muted agent has negative value.</p><p>Some things it catches:</p><ul><li><strong>Dependency sequencing conflicts.</strong> It found <strong>seven</strong> cases where a task was scheduled to <em>start</em> after the task depending on it was due. Nobody had noticed, because seeing it requires holding two dates from two different rows in your head at once.</li><li><strong>Load concentration-</strong> one person with five overlapping in-flight projects.</li><li><strong>Blockers stated in prose.</strong> Our board’s status field has no Blocked option. People say it in comments instead: “waiting on legal”, “blocked on the SDK team”. Reading that text is the <em>only</em> way to see it.</li></ul><h4>Responsibility 2: spot opportunities</h4><p>The Monday report is not just status. It carries what needs to happen this week to keep the roadmap on track, plus a qualitative read on gaps initiatives with no documentation, committed work with no owner, quarters that look overloaded.</p><h4>Responsibility 3: keep the board honest</h4><p>This is the write path, and the subject of the next section.</p><h4>Responsibility 4: answer questions</h4><p>You can ask it things like <em>“what’s at risk this week?”</em>, <em>“who owns the fraud model?”</em>, <em>“what did you change this week?”</em> in a thread or a DM. That last question returns the audit trail, which we will get to.</p><p><strong>Takeaway: </strong>Constrain what you <em>check</em>, not what the model is allowed to say. Validating output buys you both safety and good writing. Constraining input buys you safety and a robot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xHl-VO4vphqqsqCidROuIQ.png" /></figure><h3>5. Teaching it to take instructions</h3><p>The most recent, and most interesting, piece of work: letting people just <em>talk</em> to it.</p><p><em>“push this out two weeks and mark it delayed, we’re waiting on the platform team”</em></p><p>Before, that message did nothing. Our parser understood fixed prefixes, messages written in certain format only with fixed readble values, like status:, extend:, done: so anything phrased like a human fell through to a comment that changed no fields. People learned to type commands at the bot instead of talking to it, which rather defeats the point.</p><p>Now that sentence moves the date, sets the status, flags the blocker, and records the reason. Here is the pipeline it goes through:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r1gx_ghD7n5aojsei19QAA.png" /><figcaption>The write pipeline. Four stages. Every one of them can say no.</figcaption></figure><h4>Stage 1: Interpret (the LLM)</h4><p>The model gets the message, the task’s current state, and today’s date, and returns a proposed change set:</p><pre>{<br>  &quot;kind&quot;: &quot;mixed&quot;,<br>  &quot;changes&quot;: [<br>    {&quot;field&quot;: &quot;due_on&quot;, &quot;to&quot;: &quot;2026-10-14&quot;},<br>    {&quot;field&quot;: &quot;status&quot;, &quot;to&quot;: &quot;Delayed&quot;},<br>    {&quot;field&quot;: &quot;blocker&quot;, &quot;to&quot;: true}<br>  ],<br>  &quot;comment&quot;: &quot;waiting on the platform team&quot;,<br>  &quot;confidence&quot;: 0.85<br>}</pre><p>Note the date. Today was the 2nd and the task was due the 30th and it correctly read “push this out two weeks” as <em>two weeks past the existing due date</em>, not two weeks from today. That is the kind of reading that is very hard to write rules for and nearly free to ask a model for.</p><h4>Stage 2 : Validate (code)</h4><p>Then we throw out everything the board cannot accept, and tell the user what we dropped:</p><ul><li>a status that is not an option on this board</li><li>a date more than two years out or a mis-resolved “next quarter” parks a task where no report will ever surface it again</li><li>a change that changes nothing</li><li><strong>anything below 0.55 confidence</strong>, because a guess that mutates the roadmap is worse than a question</li><li>completed: false you cannot un-complete a task by chat</li></ul><h4>Stage 3 : Authorize (code)</h4><p>Each field gets one of four verdicts:</p><pre>def decide(*, field, actor_slack_id, task_owner_slack_id, program_owner_slack_id):<br>    # comments and blocker flags add information without changing state <br>    # needing permission to say &quot;this is stuck&quot; defeats the point of the bot<br>    if field in ADDITIVE:<br>        return Decision(&quot;apply&quot;, ...)</pre><pre>    # priority is never self-served, no matter who asks<br>    if field in ALWAYS_APPROVE:<br>        return Decision(&quot;approve&quot;, ...)</pre><pre>    # not your task → the program owner decides<br>    if not owns_it and not is_program_owner:<br>        return Decision(&quot;approve&quot;, ...)</pre><pre>    # completion removes a task from every future report ,ask first<br>    if field in DESTRUCTIVE:<br>        return Decision(&quot;confirm&quot;, ...)</pre><pre>    return Decision(&quot;apply&quot;, ...)</pre><p>The confirm tier exists because of one specific fear. If the model misreads <em>“yeah, that’s basically done”</em> as complete, the task vanishes from every future nudge, digest and report and <strong>nothing ever surfaces it again</strong>. Every other change here is reversible by saying the opposite.</p><p>So completion always asks:</p><p>🔒 Want me to mark <strong>Project X </strong>complete? That drops it out of every future nudge, digest and report, so I’d rather ask. Reply yes and it’s done.</p><p>Only the person who asked can confirm. The ask expires after six hours, because a “yes” the next morning is answering a question nobody remembers being asked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H3NQ8ehfg4586T5qPtLbjg.jpeg" /></figure><h4>Stage 4 : Audit, then write</h4><p>Before changing the board, DS-GOD records the attempted update. After the API call, it records whether the change succeeded. Each audit row answers:</p><ul><li><strong>Who started it?</strong> A teammate, the daily run, or a housekeeping action.</li><li><strong>What changed?</strong> The task, field, and value before and after.</li><li><strong>Why was it allowed?</strong> The approval or rule that authorized it.</li><li><strong>Where can people see it?</strong> The task comment carries the audit ID, and the Monday report summarizes the week’s changes.</li></ul><p>Audit rows cannot be deleted; only their outcome can be finalized. Logging first leaves a record to investigate even if the bot crashes during the write.</p><h3>6. Build your own</h3><p>Could you build this for your own team? The interesting work begins after the first bot reply: matching a message to the right task, checking who may act, and recording a change so it can be reviewed. The companion repository walks through that path, from the Slack app and a read-only roadmap scan to reply interpretation, authorization, audit records, and recovery tests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nIphOn0ES4eMDmIU7cU_VQ.png" /></figure><p>The runtime deserves its own decision. A scheduled job can handle a daily scan; two-way replies need an event receiver or a listener that stays up. We chose a small VM for our first Socket Mode listener, timer, and local state. The repository compares that choice with HTTP events plus a queue and managed workers, and includes a connectivity starter and deployment examples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K7ygAMDXw9O10C-SV4LnHw.png" /></figure><p><a href="https://github.com/pratjn/virtual-program-manager"><strong>Explore the build guide and deployment trade-offs</strong></a></p><h3>7. Where this goes next</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zJ2K1ZLJahGrrprdRS-hRQ.png" /></figure><p>Today, DS-GOD helps one Data Science team keep its roadmap aligned with the work happening around it. The next step is to give it a wider, permission-aware view of that work — not to ask it to make bigger decisions on its own.</p><p>We would start by connecting other systems of record: Engineering’s Jira board, documentation, deployment history, experiments, and model metrics. If a roadmap task is blocked on another team, DS-GOD could check whether the upstream work is moving instead of relying on an old status update.</p><p>That wider context could support three useful capabilities:</p><ul><li><strong>Answers with sources.</strong> It could find a model detail in a dated document, cite the page, and say when the available evidence is insufficient.</li><li><strong>Better question routing.</strong> It could identify who owns a topic and direct a question to them, while avoiding someone already carrying too many projects.</li><li><strong>First-pass incident timelines.</strong> It could assemble deployments, experiment changes, and pipeline delays into a timeline for a human to investigate. The human would still decide what caused the issue.</li></ul><p>These are future possibilities, not features we have shipped. The larger opportunity is to let Product, Engineering, Risk, and new joiners get routine answers in one place, without repeatedly pulling a senior teammate away from their work.</p><h3>8. What we learned</h3><h4>The tone disaster</h4><p>Worth telling on myself. When we launched the bot’s nudges, the team’s feedback was immediate and unanimous: they were <strong>“robotic and monotonic”</strong>, and noticeably worse than the messages the earlier routine had sent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qU4qtqoMBD_FiYw9M_VuDQ.jpeg" /></figure><p><strong>Write the charter before the code.</strong> It felt like paperwork. It caught a contradiction we would have shipped, and it turned into the authorization function that is now the load-bearing piece of the whole write path.</p><p><strong>Constrain what you check, not what the model says.</strong> The single worst instruction I wrote was “reproduce every bullet exactly”, and it produced exactly the robotic tone the team rejected. Validating output gives you safety <em>and</em> good prose.</p><p><strong>Deterministic core, LLM at the edges.</strong> No model in this system derives a date, a count or a status. When something is wrong, it is wrong in a function, with a test.</p><p><strong>Test the failure mode, not the happy path.</strong> Our highest-value catches came from simulating time and scale: 59 of 64 tasks going stale on one morning; a dry run fabricating state that hid real risk; nine tasks reporting a wrong staleness date because subtask activity never reaches the parent task’s feed. All found before shipping, by projecting forward instead of testing today.</p><p><strong>Silent fallbacks are worse than crashes.</strong> Twice, an exception was swallowed by a fallback and made a broken feature look like an unconfigured one. Both times we lost days. Log loudly at every boundary where you degrade.</p><p><strong>And the one I did not expect:</strong> every hard problem in this project turned out to be about <em>authority</em>, not capability. Who may change what. What is reversible. What needs a second pair of eyes. What must never be possible at any confidence level. The LLM part is reading a sentence, writing a paragraph, was close to free. Everything that made it safe to deploy was ordinary, careful software engineering.</p><p>That is probably the most transferable thing here. As LLM capability gets cheaper, the differentiator is not the model. It is the scaffolding you are willing to build around it before you let it touch anything real.</p><p><strong>References</strong>: <a href="https://github.com/pratjn/virtual-program-manager">Step By Step Guide to setup slack bot</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=978bae8ae785" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aplazo-tech-blog/virtual-program-manager-for-aplazos-tech-teams-how-ai-bot-manages-our-roadmap-978bae8ae785">Virtual Program Manager for Aplazo’s Tech Teams: How AI Bot Manages our Roadmap</a> was originally published in <a href="https://medium.com/aplazo-tech-blog">Aplazo Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>