<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Agents · MangoDriod</title><link>https://md.eknath.dev/tags/agents/</link><description>Agents updates from MangoDriod</description><language>en-us</language><atom:link href="https://md.eknath.dev/tags/agents/index.xml" rel="self" type="application/rss+xml"/><lastBuildDate>Wed, 02 Dec 2026 14:55:37 +0530</lastBuildDate><item><title>The AI Command Center: Managing Multiple Projects From One Operational Layer</title><link>https://md.eknath.dev/posts/software-development/ai-command-center-expriment/</link><guid isPermaLink="true">https://md.eknath.dev/posts/software-development/ai-command-center-expriment/</guid><pubDate>Sun, 26 Apr 2026 10:25:15 +0530</pubDate><category>software-development</category><category>ai</category><category>tools</category><category>productivity</category><category>agents</category><category>workflow</category><description>How a cluttered experiment to manage three inherited native codebases with a $20 AI subscription evolved into a lightweight, Markdown-first operational layer for human and agentic workflows.</description><content:encoded><![CDATA[<p>Earlier this year, a 20+ person team handed a project over to our small group of five. I ended up owning all of the native clients—iOS, Android, and Windows—mostly on my own. Multiple repositories, multiple languages, and seven years of accumulated shortcuts.</p>
<p>At first, the thought of it was stressful. Rather than panicking, I broke the situation down step by step: I shared platform usage metrics with my manager, got iOS and Android prioritized, and parked Windows for later since usage there was minimal. That cleared the political clutter. What remained was a much harder engineering problem.</p>
<p>The real bottleneck wasn&rsquo;t the workload—it was <strong>cognitive overhead</strong>. I barely remember my own code after a few months; here I was reverse-engineering three legacy codebases written by half a dozen people who had clearly rushed to ship. At the same time, I had to track what was done, what was next, and what was blocked across every platform simultaneously.</p>
<p>Back then, I was working on a $20 Claude subscription. Every new session started the same way: burning the first chunk of context re-explaining the codebase, re-orienting the model to where I left off, and re-answering questions the system should already know. By lunchtime I would hit the token cap and have to switch accounts with a colleague just to keep moving (thanks, Arun!).</p>
<p>Out of that frustration, I built what I called the <strong>Command Center</strong>—originally as a somewhat wild experiment. Over the past several months, that setup has evolved significantly. It started out bloated and over-engineered, and over time I stripped away almost all the heavy machinery until only what actually works survived.</p>
<p>This is the rewritten blueprint: what the Command Center is, what I threw out from v1, and how I run multiple independent projects with AI coding agents today.</p>
<hr>
<h2 id="the-core-idea-an-operational-layer-above-your-code">The Core Idea: An Operational Layer Above Your Code</h2>
<p>Instead of scattering docs across Notion, tasks across issue trackers, and status across half a dozen terminal tabs, you place <strong>one shared operational layer above your repositories</strong>—not inside them.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>WorkspaceRoot/
</span></span><span style="display:flex;"><span>├── AGENTS.md                 ← authoritative rules for any coding agent
</span></span><span style="display:flex;"><span>├── projects.json             ← project registry (paths, branches, workflows)
</span></span><span style="display:flex;"><span>├── shared/                   ← shared design tokens, templates, sync assets
</span></span><span style="display:flex;"><span>├── sites/ (or platforms/)    ← independent product Git repos / submodules
</span></span><span style="display:flex;"><span>│   ├── app-ios/              ← own history, own deploy, untouched by siblings
</span></span><span style="display:flex;"><span>│   ├── app-android/          ← own history, own deploy, untouched by siblings
</span></span><span style="display:flex;"><span>│   └── app-web/              ← own history, own deploy, untouched by siblings
</span></span><span style="display:flex;"><span>└── .ops/                     ← the Command Center operational layer
</span></span><span style="display:flex;"><span>    ├── now.md                ← active focus, current findings, pending checks
</span></span><span style="display:flex;"><span>    ├── todo/backlog/         ← per-project Markdown task backlogs
</span></span><span style="display:flex;"><span>    ├── docs/&lt;project&gt;/       ← stable guides &amp; known commands per project
</span></span><span style="display:flex;"><span>    ├── memo/                 ← architectural decisions, trade-offs &amp; KT notes
</span></span><span style="display:flex;"><span>    ├── changelog/            ← dated change logs linking verification &amp; commits
</span></span><span style="display:flex;"><span>    ├── diagrams/             ← architecture diagrams + explanatory notes
</span></span><span style="display:flex;"><span>    ├── scripts/              ← fast status, identity &amp; sync checks
</span></span><span style="display:flex;"><span>    └── dashboard/            ← tiny, zero-dependency local Node UI
</span></span></code></pre></div><p>Keeping product repositories independent—whether as sibling folders or pinned Git submodules—is non-negotiable. Operations inside <code>app-ios/</code> never bleed into <code>app-android/</code>. Each project keeps its own branch conventions, CI/CD workflows, and repository-local Git identity (<code>git -C &lt;project&gt;</code>), while the parent layer holds the shared map.</p>
<p>Almost everything in <code>.ops/</code> is plain Markdown. Humans read it in any editor; AI agents read it natively without plugins, MCP servers, or cloud APIs; and Git diffs every change cleanly.</p>
<hr>
<h2 id="what-changed-between-v1-and-now-trimming-the-bloat">What Changed Between v1 and Now (Trimming the Bloat)</h2>
<p><img alt="Early v1 Command Center Dashboard prototype — aggregating git status, quick links, and docs in one tab." loading="lazy" src="https://md.eknath.dev/img/command-center-images/cce-home.png"></p>
<p>When I first published this experiment in April 2026, I bolted on everything I thought could save tokens or tab switches:</p>
<ul>
<li><strong>Local RAG via Ollama + Mistral 7B + LanceDB</strong> wired over MCP to answer basic lookup questions offline.</li>
<li><strong>An embedded <code>xterm.js</code> + <code>node-pty</code> terminal</strong> running over WebSockets inside the dashboard.</li>
<li><strong>A built-in RSS feed reader</strong> pulling platform newsletters.</li>
<li><strong>Fragile automation hooks</strong>: <code>PostToolUse</code> Python loggers estimating token savings, custom doc-staleness glob watchers (<code>doc_sync.js</code>), and end-of-day <code>/callitaday</code> JSON rotation scripts.</li>
</ul>
<p>Looking back, that v1 dashboard turned into a high-maintenance contraption. Coding agents got much better at navigating files directly, and maintaining a local vector database, PTY binaries, and ad-hoc hook scripts created its own tax.</p>
<p>So I stripped the Command Center down to essentials. Today&rsquo;s <code>.ops/dashboard/</code> has <strong>no AI runtime, no embedded terminal, no RSS reader, no <code>node_modules</code>, and no publish endpoint</strong>. When I actually lived with the system across real projects, I learned that clarity beats clever tooling every single time.</p>
<hr>
<h2 id="the-five-pillars-of-operational-context">The Five Pillars of Operational Context</h2>
<p>The secret to making coding agents genuinely effective across multiple codebases isn&rsquo;t prompting tricks—it is keeping these five Markdown primitives clean and current:</p>
<h3 id="1-current-focus-opsnowmd">1. Current Focus (<code>.ops/now.md</code>)</h3>
<p>Instead of maintaining fragile daily rollover scripts (<code>daily_reset.sh</code> and <code>session_summary.json</code>), <code>now.md</code> acts as the single living anchor at the start of any session. It records:</p>
<ul>
<li>What is currently in flight across the workspace.</li>
<li>Recent verified changes and open findings.</li>
<li>Pending verification or deployment blockers.</li>
</ul>
<p>When a fresh agent session starts, reading <code>.ops/now.md</code> and <code>.ops/projects.json</code> replaces 1,000 tokens of manual re-orientation in seconds.</p>
<h3 id="2-per-project-backlogs-opstodobacklogprojectmd">2. Per-Project Backlogs (<code>.ops/todo/backlog/&lt;project&gt;.md</code>)</h3>
<p><img alt="Per-project Markdown backlogs — keeping priorities and interactive checkboxes close to the code." loading="lazy" src="https://md.eknath.dev/img/command-center-images/cce-todos.png"></p>
<p>Each project gets one plain-Markdown checklist file. No Jira tickets, no context switching. Both I and any coding agent can read or check off tasks directly in the file, and the local dashboard exposes interactive checkboxes that persist straight to disk.</p>
<h3 id="3-stable-project-guides-opsdocsprojectreadmemd">3. Stable Project Guides (<code>.ops/docs/&lt;project&gt;/README.md</code>)</h3>
<p>A concise home per repository covering what the project builds, its active branch, build/test commands, deployment workflow, and known operational caveats. This isn&rsquo;t exhaustive API documentation—it is the onboarding cheat sheet I wish existed before touching a repo.</p>
<h3 id="4-memos-and-kt-notes-opsmemo">4. Memos and KT Notes (<code>.ops/memo/</code>)</h3>
<p>This remains the most underrated layer in the entire workspace. Standard documentation describes <em>how</em> code works today; <strong>memos</strong> and <strong>Knowledge Transfer (KT) notes</strong> capture <em>why</em> it looks that way:</p>
<ul>
<li><strong>Memos</strong> record architectural decisions, trade-offs, and constraints (for example, why a shared theme uses generated copies rather than runtime imports, or why an upstream dependency is pinned). Without that context, an AI agent treats every messy workaround as accidental debt and tries to &ldquo;clean up&rdquo; something that exists for a hard business or compliance reason.</li>
<li><strong>KT notes</strong> capture the tribal knowledge you uncover while inheriting an old codebase—quirky build flags, fragile legacy files, or non-obvious state flows. Write it down once so neither you nor an agent has to rediscover it twice.</li>
</ul>
<h3 id="5-verifiable-changelogs-opschangelog">5. Verifiable Changelogs (<code>.ops/changelog/</code>)</h3>
<p>In v1, I used a bare one-line Markdown table listing PR numbers. In practice, a table isn&rsquo;t nearly honest enough—especially when local verification and production deployment happen in separate steps.</p>
<p>Modern changelogs in <code>.ops/changelog/YYYY-MM-DD-&lt;slug&gt;.md</code> act as structured engineering receipts:</p>
<ul>
<li><strong>What changed</strong> across which project.</li>
<li><strong>How it was verified</strong> (build command, test scope, browser width checks—never extrapolated).</li>
<li><strong>Exact status</strong>: separating <em>verified locally</em> from <em>committed/pushed</em> from <em>verified live</em>.</li>
<li><strong>Submodule linkage</strong>: when a child repository ships, its commit SHA is verified before updating the pinned submodule reference in the parent workspace.</li>
</ul>
<hr>
<h2 id="scripts-over-agent-tool-loops">Scripts Over Agent Tool Loops</h2>
<p>One insight from v1 aged remarkably well: <strong>never burn agent reasoning and tool calls on deterministic checks.</strong></p>
<p>If you ask an AI agent for the Git status and local identity configuration across six repositories, it may spawn a loop of separate directory checks. Instead, small Node or shell scripts give an exact snapshot in one call:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>npm run status     → branch, short SHA, and dirty state across parent + all submodules
</span></span><span style="display:flex;"><span>npm run identity   → enforces repository-local git user/email across every submodule
</span></span><span style="display:flex;"><span>npm run check      → syntax validation + drift detection for shared cross-project assets
</span></span></code></pre></div><p>One script invocation replaces a dozen brittle commands, keeps output deterministic, and prevents subtle accidents like committing under the wrong email or leaving a detached submodule unnoticed.</p>
<hr>
<h2 id="the-minimal-local-dashboard">The Minimal Local Dashboard</h2>
<p>I kept a local web dashboard, rebuilt cleanly in under ~150 lines of zero-dependency Node.js (<code>http</code>, <code>fs/promises</code>, <code>child_process</code>), served locally on <code>localhost:4310</code>:</p>
<ul>
<li><strong>Live Repo Status Panel:</strong> Shows each registered project&rsquo;s branch, commit SHA, ahead/behind counts, and uncommitted changes via <code>git -C</code>.</li>
<li><strong>Interactive Task Lists:</strong> Renders every backlog from <code>.ops/todo/backlog/</code> with live checkboxes—toggling a task updates the underlying Markdown file using optimistic revision checks (<code>sha256</code>) so concurrent edits never silently overwrite each other.</li>
<li><strong>Markdown Note Reader/Editor:</strong> Quick inspection of <code>.ops/now.md</code>, memos, docs, and dated changelogs without fighting terminal pagers.</li>
<li><strong>Strictly Local &amp; Safe:</strong> Bound to localhost with per-session CSRF token checks, workspace path containment (<code>realpath</code>), and <strong>no shell execution or auto-publish endpoints</strong>.</li>
</ul>
<p>The rule is simple: the dashboard is a convenience lens over <code>.ops/</code>. If you never boot the server, every workflow still works 100% identically in your editor or terminal.</p>
<hr>
<h2 id="writing-rules-for-agents-agentsmd">Writing Rules for Agents (<code>AGENTS.md</code>)</h2>
<p>In v1, I kept a <code>CLAUDE.md</code> mostly for prompt-routing rules. Today, a root <code>AGENTS.md</code> (alongside project-specific guides inside child repositories) defines hard operational guardrails for any agent working in the workspace:</p>
<ol>
<li><strong>Read before touching:</strong> Check <code>.ops/now.md</code>, <code>.ops/projects.json</code>, and the owning project&rsquo;s backlog and guide before editing.</li>
<li><strong>Scope Git strictly:</strong> Always target child repositories explicitly (<code>git -C &lt;path&gt;</code>), never mutate sibling repos unexpectedly, and respect detached checkouts or branch conventions.</li>
<li><strong>Never confuse local builds with live deploys:</strong> A parent commit only pins a child SHA—it never publishes child apps. Publish the child first, verify the live artifact, then record the reference in <code>.ops/</code>.</li>
<li><strong>Preserve existing work:</strong> No destructive resets, force pushes, or unrequested cleanups.</li>
</ol>
<p>Good operational structure makes every model and coding agent immediately sharper, regardless of which tool you open tomorrow.</p>
<hr>
<h2 id="setting-up-your-own-start-small">Setting Up Your Own (Start Small)</h2>
<p>You don&rsquo;t need 1,500 lines of custom tooling or local LLMs to get the payoff. Start with four pieces in an afternoon:</p>
<ol>
<li>Create a parent workspace folder above your active repositories.</li>
<li>Add <code>.ops/</code> with <code>now.md</code>, <code>todo/backlog/</code>, <code>memo/</code>, and <code>changelog/</code>.</li>
<li>Write a root <code>AGENTS.md</code> documenting workspace boundaries, Git conventions, and verification standards.</li>
<li>Add one small status script that prints branch and dirty state across every repository in one command.</li>
</ol>
<p>Stop there until you actually feel friction. Add shared templates, drift checks, or a lightweight task viewer only when the day-to-day workflow genuinely asks for them.</p>
<hr>
<h2 id="what-changed">What Changed</h2>
<p><strong>Before:</strong> Open three IDEs, hunt through Notion, cross-reference chat threads to remember what was left half-finished, and waste the opening chunk of every AI session re-explaining how your repositories fit together.</p>
<p><strong>After:</strong> One shared <code>.ops/</code> brain above isolated repositories. Plain Markdown, zero lock-in, deterministic status scripts, and honest records linking what was built, what was tested, and what actually shipped.</p>
<p>If you manage more than two repositories solo—or coordinate humans and coding agents across separate codebases—putting a quiet operational layer above them changes how every work session starts.</p>
]]></content:encoded></item></channel></rss>