<?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: Cristian Calabro</title>
    <description>The latest articles on DEV Community by Cristian Calabro (@ccalabro).</description>
    <link>https://dev.to/ccalabro</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%2F435067%2Ffbce59ec-63b3-4fdd-935a-7e2384d3bdff.png</url>
      <title>DEV Community: Cristian Calabro</title>
      <link>https://dev.to/ccalabro</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ccalabro"/>
    <language>en</language>
    <item>
      <title>What's inside harness-sample, now listed on the OpenSpec community projects page</title>
      <dc:creator>Cristian Calabro</dc:creator>
      <pubDate>Tue, 01 Dec 2026 20:25:43 +0000</pubDate>
      <link>https://dev.to/ccalabro/whats-inside-harness-sample-now-listed-on-the-openspec-community-projects-page-4a0m</link>
      <guid>https://dev.to/ccalabro/whats-inside-harness-sample-now-listed-on-the-openspec-community-projects-page-4a0m</guid>
      <description>&lt;p&gt;My &lt;a href="https://github.com/ccalabro/harness-sample" rel="noopener noreferrer"&gt;harness-sample&lt;/a&gt; repo is now listed on the &lt;a href="https://openspec.dev/docs/community" rel="noopener noreferrer"&gt;OpenSpec community projects page&lt;/a&gt;. OpenSpec describes it as an example Python project demonstrating how agents can collaborate while leaving spec approval to humans.&lt;/p&gt;

&lt;p&gt;I built it for my own work and to share with the community what I think is a good harness template for big projects, where more than one developer works with the agents.&lt;/p&gt;

&lt;p&gt;The sample application is small: a greeting module with tests. The rest of the repository is the workflow I want a team to share. The README says that this is a demo. It doesn't claim that larger projects or production rollouts have been exercised here.&lt;/p&gt;

&lt;h2&gt;
  
  
  Project structure
&lt;/h2&gt;

&lt;p&gt;The shared agent instructions are in &lt;code&gt;AGENTS.md&lt;/code&gt;, &lt;code&gt;CLAUDE.md&lt;/code&gt;, &lt;code&gt;GEMINI.md&lt;/code&gt;, and &lt;code&gt;.github/copilot-instructions.md&lt;/code&gt;. Those four files are identical. They tell the agent to invoke the &lt;code&gt;sdd-run&lt;/code&gt; skill before exploring, planning, or editing. &lt;code&gt;sdd-run&lt;/code&gt; is the conductor. It selects or resumes a development lane: Feature, Fix, or Small Change.&lt;/p&gt;

&lt;p&gt;Portable policy, roles, harness notes, and workflow scripts live under &lt;code&gt;.sdd/&lt;/code&gt;. Skills live under &lt;code&gt;.agents/skills/&lt;/code&gt;, and the same set is also present in the folders each coding harness expects: &lt;code&gt;.claude/&lt;/code&gt;, &lt;code&gt;.codex/&lt;/code&gt;, &lt;code&gt;.gemini/&lt;/code&gt;, &lt;code&gt;.grok/&lt;/code&gt;, &lt;code&gt;.opencode/&lt;/code&gt;, and &lt;code&gt;.github/&lt;/code&gt;. The repo is set up for Claude Code, Codex, Gemini CLI, Grok, GitHub Copilot, OpenCode, or a generic setup.&lt;/p&gt;

&lt;p&gt;OpenSpec artifacts live under &lt;code&gt;openspec/&lt;/code&gt;. The current specification is in &lt;code&gt;openspec/specs/personalized-greetings/&lt;/code&gt;. Two completed Feature changes are archived under &lt;code&gt;openspec/changes/archive/&lt;/code&gt;: &lt;code&gt;2026-11-02-add-personalized-greeting&lt;/code&gt; and &lt;code&gt;2026-11-30-add-batch-greetings&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;harness-sample/
├── AGENTS.md
├── CLAUDE.md
├── GEMINI.md
├── README.md
├── greeting.py
├── tests/
│   └── test_greeting.py
├── openspec/
│   ├── config.yaml
│   ├── specs/
│   └── changes/archive/
├── .sdd/
│   ├── POLICY.md
│   ├── config.yaml
│   ├── roles/
│   ├── harnesses/
│   └── scripts/
├── .agents/skills/
├── .claude/
├── .codex/
├── .gemini/
├── .grok/
├── .opencode/
└── .github/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There are three lanes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Feature&lt;/strong&gt; adds a capability or changes intended behavior. A human has to approve the OpenSpec specification before planning or implementation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fix&lt;/strong&gt; corrects a bug or regression. It uses a short local specification, also approved by a human.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Small Change&lt;/strong&gt; is a low-risk, behavior-preserving edit, such as a README typo. It still runs the test suite and an independent final review. If that work would change behavior, the agent pauses and waits for an explicit decision.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Agent roles
&lt;/h2&gt;

&lt;p&gt;There are 11 portable roles in &lt;code&gt;.sdd/roles/&lt;/code&gt;. The conductor dispatches them to fresh sessions, and a human approves the spec.&lt;/p&gt;

&lt;p&gt;On a Feature, they run in this order:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;brainstormer (optional)&lt;/li&gt;
&lt;li&gt;explorer&lt;/li&gt;
&lt;li&gt;specifier&lt;/li&gt;
&lt;li&gt;planner&lt;/li&gt;
&lt;li&gt;plan-reviewer&lt;/li&gt;
&lt;li&gt;implementer&lt;/li&gt;
&lt;li&gt;spec-reviewer&lt;/li&gt;
&lt;li&gt;code-reviewer&lt;/li&gt;
&lt;li&gt;security-reviewer&lt;/li&gt;
&lt;li&gt;final-reviewer&lt;/li&gt;
&lt;li&gt;pr-reviewer (optional, before a requested pull request)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Skills
&lt;/h2&gt;

&lt;p&gt;The repository ships 24 skills. The OpenSpec group includes &lt;code&gt;openspec-new-change&lt;/code&gt;, &lt;code&gt;openspec-apply-change&lt;/code&gt;, and &lt;code&gt;openspec-archive-change&lt;/code&gt;. The project group includes &lt;code&gt;sdd-run&lt;/code&gt;, &lt;code&gt;sdd-test-strategy&lt;/code&gt;, and &lt;code&gt;sdd-threat-model&lt;/code&gt;. Commit and pull-request skills (&lt;code&gt;sdd-commit&lt;/code&gt;, &lt;code&gt;sdd-github-pr&lt;/code&gt;, &lt;code&gt;sdd-gitlab-mr&lt;/code&gt;, &lt;code&gt;sdd-bitbucket-pr&lt;/code&gt;) run only when you explicitly ask for them. Feature and Fix also expect &lt;a href="https://github.com/obra/superpowers" rel="noopener noreferrer"&gt;Superpowers&lt;/a&gt; in the coding harness. The repo references Superpowers but doesn't vendor it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Review gates
&lt;/h2&gt;

&lt;p&gt;On Feature, the gates are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Human approval of the exact specification revision, before planning or implementation.&lt;/li&gt;
&lt;li&gt;Independent plan review, against &lt;code&gt;plan_revision&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Independent spec and code review of each task, against the same current &lt;code&gt;revision&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Verification, including &lt;code&gt;openspec-verify-change&lt;/code&gt; and the recorded checks.&lt;/li&gt;
&lt;li&gt;Independent security review of the whole change.&lt;/li&gt;
&lt;li&gt;Independent final review of the whole change.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;On Fix, a human approves the short specification, then the change goes through verification and an independent final review. Small Change has no routine human approval, but it still needs verification and an independent final review.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to try it
&lt;/h2&gt;

&lt;p&gt;Clone the repo, or copy the skills and roles you want into another repository.&lt;/p&gt;

&lt;p&gt;For Feature work, install OpenSpec 1.13.1 (Node.js 20.19 or later):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm install -g @fission-ai/openspec@1.13.1
openspec --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For Feature or Fix, install Superpowers for your coding harness. In Claude Code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude plugin marketplace add obra/superpowers-marketplace
claude plugin install superpowers@superpowers-marketplace
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In Codex, open &lt;code&gt;/plugins&lt;/code&gt;, search for Superpowers, and select Install Plugin. Steps for Gemini CLI, Grok, Copilot, OpenCode, and other harnesses are in &lt;code&gt;.sdd/harnesses/&lt;/code&gt;. Restart the harness and confirm its skills load, then open the repo and describe the change. &lt;code&gt;AGENTS.md&lt;/code&gt; routes that work through &lt;code&gt;sdd-run&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;To run the sample tests, install &lt;code&gt;uv&lt;/code&gt; and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;uv run --with pytest python -m pytest -q
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you try it on your own project, I'd like your feedback. Tell me in the comments what you'd change or what's missing for your team.&lt;/p&gt;

</description>
      <category>openspec</category>
      <category>ai</category>
      <category>agents</category>
      <category>opensource</category>
    </item>
    <item>
      <title>How I use my bots to plan, and a dedicated spare MacBook to write the code</title>
      <dc:creator>Cristian Calabro</dc:creator>
      <pubDate>Thu, 19 Nov 2026 17:08:54 +0000</pubDate>
      <link>https://dev.to/ccalabro/how-i-use-my-bots-to-plan-and-a-dedicated-spare-macbook-to-write-the-code-51hk</link>
      <guid>https://dev.to/ccalabro/how-i-use-my-bots-to-plan-and-a-dedicated-spare-macbook-to-write-the-code-51hk</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://x.com/c_calabro/status/2123445020623602152" rel="noopener noreferrer"&gt;X&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The main idea is to use Grok Bot as an orchestrator, with a coding agent CLI (Codex, Claude Code, GitHub Copilot CLI, or Grok) doing the engineering.&lt;/p&gt;

&lt;p&gt;I talk through an idea with one of my bots in chat. The bot has the context and the memory, and it writes the plan. When I say to send it to the Mac, the work goes to a dedicated spare MacBook, not to a cloud coding agent.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I split it this way
&lt;/h2&gt;

&lt;p&gt;I want my bots' credits spent on planning and orchestration, not on coding. Coding burns the most tokens, and I already pay for Codex, Grok, Claude, and Copilot CLI subscriptions, so the coding runs on those.&lt;/p&gt;

&lt;p&gt;I also wanted "send it to implement" to go to my own spare MacBook rather than to a cloud coding agent. On that machine, I have my CLIs, my subscriptions, and my choice of model and effort per task. It's the same environment I use myself, so a repo behaves for the agent the way it does for me.&lt;/p&gt;

&lt;p&gt;The bot keeps the context: the conversation, the memory, and what I care about. That's why it's the right place to plan. The CLI is the right place to read code, edit, and run tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it's connected
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://tailscale.com/" rel="noopener noreferrer"&gt;Tailscale&lt;/a&gt; links the bot computer and the spare MacBook on a private network. Nothing is exposed to the internet.&lt;/p&gt;

&lt;p&gt;On that MacBook, there is a dedicated non-admin macOS user just for agents. The agent CLIs run with permission prompts off, because a headless run needs that, so the blast radius has to be the account itself. That user can't sudo. It also can't reach my personal files, my browser sessions, or my keychain.&lt;/p&gt;

&lt;p&gt;Remote Login (SSH) is limited to that user, and only the bots' key is allowed in, so the bots can't log in as me.&lt;/p&gt;

&lt;p&gt;A Tailscale access rule (an ACL) lets the bot device reach exactly one thing: SSH on that spare MacBook. My main Mac is off-limits to the bots, for now. My own devices keep full access.&lt;/p&gt;

&lt;p&gt;The agent CLIs are installed and logged in under the agents user, separate from my personal account and my personal sessions.&lt;/p&gt;

&lt;p&gt;GitHub access is a fine-grained token for that user, scoped to the repos I choose, with only contents and pull requests access. The agents can push branches and open draft pull requests. They are not allowed to merge, push to main, or delete branches. Pull requests stay draft for my review, at least for now.&lt;/p&gt;

&lt;p&gt;No secrets go in tasks or in chat. Tokens are typed on the MacBook itself, never pasted to a bot. Runs only happen on the machine I named.&lt;/p&gt;

&lt;p&gt;One gotcha: from the bot side, the spare MacBook was only reachable by its full MagicDNS name, the long name Tailscale uses on the private network, not the short name or the IP.&lt;/p&gt;

&lt;h2&gt;
  
  
  The launcher
&lt;/h2&gt;

&lt;p&gt;The launcher on the spare MacBook is a small shell script. I used SSH and a tiny script, not a platform, because it's easy to read and easy to audit.&lt;/p&gt;

&lt;p&gt;It has two modes, plan and build. The bot calls it over SSH with the repo, the task or the plan, and an optional CLI, model, and effort.&lt;/p&gt;

&lt;p&gt;When a run starts, this is what the script does:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It creates a run folder with the task, the prompt, the log, and the status.&lt;/li&gt;
&lt;li&gt;It uses one cached clone per repo on the MacBook, and gives the run a fresh git worktree on its own branch. Plan runs get a read-only worktree. Runs stay isolated from each other and from my own checkouts. They start faster, and they share git history instead of downloading the repo each time. A small lock keeps two runs on the same repo from fetching at once. When a run is finished, its worktree is cleaned up.&lt;/li&gt;
&lt;li&gt;It picks the coding agent CLI, the model, and the reasoning effort. If I name them in chat, that wins. If not, the launcher reads a small header at the top of the plan file. If neither says, it uses Codex.&lt;/li&gt;
&lt;li&gt;It wraps the task in a short prompt that tells the CLI to follow this repo's agent rules. In plan mode, that means change nothing and write a plan with a suggested CLI, model, and effort. In build mode, that means implement the work, run the tests, commit, don't push, and write a pull request title and description.&lt;/li&gt;
&lt;li&gt;It starts the CLI headless in its own background session, so closing the connection can't stop the run.&lt;/li&gt;
&lt;li&gt;After a build, the launcher, not the model, pushes the branch and opens a draft pull request. If the coding agent made no changes, the run is marked "no changes" and nothing is pushed. Pull requests are always drafts. Nothing is merged, and nothing is pushed to main. The pull request has a footer that names the CLI, model, and effort, so when I open it I can see that without digging.&lt;/li&gt;
&lt;li&gt;It writes a final status: done, no changes, failed, or stopped.&lt;/li&gt;
&lt;li&gt;It sends that result to the bot that started the run. Each bot has its own webhook, a URL the launcher posts to when a run ends, and the launcher retries if the call fails.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The model never gets &lt;code&gt;push&lt;/code&gt; or &lt;code&gt;merge&lt;/code&gt; as part of its job. The launcher does the one git step that leaves the machine, and only as a draft.&lt;/p&gt;

&lt;p&gt;It also has a few small commands. Mostly the bots use these.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;list&lt;/code&gt; shows every run, with its status and a one-line summary of the repo, the mode, the CLI, the model, and the effort.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;status&lt;/code&gt; shows one run's state, and the pull request link if there is one.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;log&lt;/code&gt; shows the end of the CLI's transcript, which is what the bot reads to explain a failure. There's no live view in the chat. If I want to watch a run, I connect to the MacBook and follow the run's log there.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;result&lt;/code&gt; shows the plan a plan run wrote.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;stop&lt;/code&gt; kills a run I no longer want and marks it stopped. A stopped build pushes nothing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The shared skill
&lt;/h2&gt;

&lt;p&gt;Any of my bots can do this. They share one computer, so one connection and one shared skill serve all of them.&lt;/p&gt;

&lt;p&gt;The skill is a saved recipe in my shared library. It holds how to reach the spare MacBook, how to call the launcher in plan and build mode, how the CLI, the model, and the effort are chosen, the format of that header at the top of a plan, and how to watch a run and report back. It also holds the rules already described: never merge, never push to main, never delete branches, draft-only pull requests, no secrets in tasks or chat, and only that one MacBook.&lt;/p&gt;

&lt;p&gt;The skill only applies when I name the MacBook, for example "send it to the Mac to plan" or "send it to implement." Otherwise the bot works in chat as usual. A plan never turns into a build unless I say so.&lt;/p&gt;

&lt;h2&gt;
  
  
  The flow
&lt;/h2&gt;

&lt;p&gt;I stay in GrokBot the whole time. After a bot starts a run, it tells me the run started and stops there. I can keep doing other things while the plan or the implementation runs in the background on the spare MacBook.&lt;/p&gt;

&lt;p&gt;When the run ends, the launcher calls that bot's webhook with the run id and its status. That wakes the bot. It checks the run on the MacBook over SSH, because it only trusts the run id from the call, then messages me with the pull request link, the plan, or what stopped it.&lt;/p&gt;

&lt;p&gt;My first version had the bot wait in a background loop that checked the run's status every 30 seconds. That didn't work. Once the bot's turn ended, nothing woke it when the loop finished, so a run could end without anyone telling me. The webhook fixed that.&lt;/p&gt;

&lt;p&gt;The launcher writes that status, not the model. The statuses are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;done: finished, and for a build there are commits and a draft pull request.&lt;/li&gt;
&lt;li&gt;no changes: the CLI finished, but nothing was committed. That usually means it stopped on purpose, such as on a repo rule or an approval gate, or couldn't do the work.&lt;/li&gt;
&lt;li&gt;failed: the CLI or the push and pull request step errored.&lt;/li&gt;
&lt;li&gt;stopped: I canceled it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;"Blocked" is not a separate status. When a build ends with no changes, the bot reads the end of the log to find out why, and tells me in plain words. I don't read the logs. That's a rule I made.&lt;/p&gt;

&lt;p&gt;Here's a full run, from the chat to the draft pull request:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;I chat with a bot in Grok Bot about an idea, and the bot writes the plan. It has the context and the memory, so planning is what it's good at.&lt;/li&gt;
&lt;li&gt;I read the plan and approve it or edit it in chat.&lt;/li&gt;
&lt;li&gt;I say "send it to implement." The bot sends the approved plan to the spare MacBook, word for word, plus a note that I approved it in chat, with the date. The launcher creates a fresh worktree and runs a CLI on it. The CLI follows the repo's own workflow, implements the work, runs the tests, and commits. The launcher pushes the changes and opens a draft pull request. Nothing merges, and nothing touches the main branch.&lt;/li&gt;
&lt;li&gt;The bot messages me when it's done, with the pull request link and a short summary, or a plain explanation of what blocked it.&lt;/li&gt;
&lt;li&gt;I review the pull request. If something needs fixing, I tell the bot, and it sends the fixes as a build on that same pull request. The fixes land as new commits on the same PR, never a force push, with a comment summarizing what changed. No second pull request stacked on the first.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Grok Bot: idea and plan
  -&amp;gt; Approve or edit in chat
  -&amp;gt; Send it to implement on the MacBook
  -&amp;gt; CLI builds, tests, and commits
  -&amp;gt; Draft pull request and a short summary
  -&amp;gt; Review, then fixes as new commits on the same pull request
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How a run goes
&lt;/h2&gt;

&lt;p&gt;Let's say I'm chatting with a bot about a small docs change to one of my repos. The bot writes the plan, and I approve it. In the same message I pick the CLI, the model, and the effort: Codex, gpt-6-luna, medium.&lt;/p&gt;

&lt;p&gt;Then I say "send it to implement." The launcher gives the run a fresh worktree and runs Codex with the approved plan. This repo has its own spec-driven workflow with a human approval gate, so the agent reads the repo's rules, writes the proposal and the spec, and stops at the gate. The bot brings me the exact text to approve. I approve it, and the agent records my approval, implements the work, runs the tests, validates the specs, and commits. The launcher pushes the branch and opens a draft pull request. The bot messages me the link, with a short summary.&lt;/p&gt;

&lt;p&gt;At one point the repo's tooling needed one extra section that the approved spec didn't have. The agent stopped instead of changing the approved text. The message was: "It stopped at your spec gate because the tooling needs one extra section that wasn't in the text you approved. Here's the exact addition; approve it and I'll continue." I approved it, and the build continued.&lt;/p&gt;

&lt;p&gt;A blocked message always says what stopped the run, why, and the one thing needed next, never a log dump. Another example, if the repo's workflow needs a tool that isn't installed on the MacBook: "The build stopped without changing anything. Your repo's workflow requires a tool that isn't installed on the MacBook, and the agent followed the rule to stop and ask. Here's the one command to install it, and I'll rerun once it's in."&lt;/p&gt;

&lt;h2&gt;
  
  
  Choosing the tool
&lt;/h2&gt;

&lt;p&gt;I can name the CLI, the model, and the thinking effort in chat, for example: "implement with Codex, gpt-6-luna, medium."&lt;/p&gt;

&lt;p&gt;Or the plan itself carries that choice in a small header at the top of the file, in this format:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;---
cli: codex
model: &amp;lt;optional&amp;gt;
effort: high
---
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That way the planner can recommend the right tool for the build: a cheaper model for an easy one, or a stronger one for a hard one.&lt;/p&gt;

&lt;p&gt;What I say in chat wins. If I don't say it, the launcher reads that header. If neither is set, the default is Codex.&lt;/p&gt;

&lt;p&gt;A model in the header only counts if its CLI is the one running.&lt;/p&gt;

&lt;h2&gt;
  
  
  Repo rules still win
&lt;/h2&gt;

&lt;p&gt;Each repo's own agent rules load exactly as they would if I opened the session myself: &lt;code&gt;AGENTS.md&lt;/code&gt;, &lt;code&gt;CLAUDE.md&lt;/code&gt;, skills, and harness workflows. Chat or plan choices are passed as flags on top of that.&lt;/p&gt;

&lt;p&gt;If a repo has a human approval gate, for example spec approval before code, the agent stops there. The bot brings me the exact text to approve. Only then does it build.&lt;/p&gt;

&lt;p&gt;The setup orchestrates. It does not bypass the harness. The work is harness engineering plus orchestration, with me in the loop where it matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;I considered a session viewer, including tools like Orca and t3.code, and I don't need one yet. What matters right now is that the bots can run a plan and open pull requests. A viewer can wait until/if I need to watch a run live.&lt;/p&gt;




&lt;p&gt;I wrote this because I wanted my bots' credits spent on planning, and the coding done on my own CLIs and machine. Leave your questions in the comments too, and I'll answer them.&lt;/p&gt;

&lt;p&gt;I'm Cristian Calabro, a software engineer with 15+ years of experience. More about my work at &lt;a href="https://www.ccalabro.dev" rel="noopener noreferrer"&gt;ccalabro.dev&lt;/a&gt; and &lt;a href="https://www.ccalabro.dev/remote-engineering-ai-advisor" rel="noopener noreferrer"&gt;how I help teams as a remote engineering and AI advisor&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Follow me on &lt;a href="https://x.com/c_calabro" rel="noopener noreferrer"&gt;X&lt;/a&gt; for more.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>automation</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How I used Google's Elephant-Goldfish Model and Superpowers to build one feature</title>
      <dc:creator>Cristian Calabro</dc:creator>
      <pubDate>Fri, 13 Nov 2026 18:15:28 +0000</pubDate>
      <link>https://dev.to/ccalabro/how-i-used-googles-elephant-goldfish-model-and-superpowers-to-build-one-feature-2h4a</link>
      <guid>https://dev.to/ccalabro/how-i-used-googles-elephant-goldfish-model-and-superpowers-to-build-one-feature-2h4a</guid>
      <description>&lt;p&gt;Originally published on &lt;a href="https://x.com/c_calabro/status/2120546834716254615" rel="noopener noreferrer"&gt;X&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;On November 7, Google Cloud announced the Elephant-Goldfish Model (EGM), an open-source plugin for designing and reviewing software with coding agents.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://x.com/GoogleCloudTech/status/2119203243054023129" rel="noopener noreferrer"&gt;Google Cloud Tech announcement on X&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An agent with the full project context (the elephant) drafts the specification, and subagents with no earlier context (the goldfish) stress-test it before any code is written. You make the architectural decisions and approve the spec before implementation starts. It installs as a plugin in Antigravity, Claude Code, Claude Cowork, Codex, and ChatGPT, and also has working installs in omp and Muse.&lt;/p&gt;

&lt;p&gt;I tried it on one feature in a CLI I'm building to check repositories for engineering best practices. The CLI has a scan command with a --targets parameter, so you can pass a JSON or YAML file with the target repositories to scan. I needed to add documentation to this parameter, so I asked my agent, "scan --targets should show a JSON sample and a YAML sample, for targets.json or targets.yml."&lt;/p&gt;

&lt;p&gt;I ran the session in Codex CLI and picked GPT-6 Luna because the task was very simple.&lt;/p&gt;

&lt;h2&gt;
  
  
  Brainstorm
&lt;/h2&gt;

&lt;p&gt;I started with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$egm:egm-brainstorm scan --targets should show a JSON and YAML sample of targets.json or targets.yml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It asked where the samples should appear: in &lt;code&gt;scan --help&lt;/code&gt;, in an error when the file is missing or invalid, or somewhere else. It asked whether the help and &lt;code&gt;CLI.md&lt;/code&gt; samples should show the minimal required fields, or optional fields too. I chose to review the hypothesis with the Goldfish reviewers.&lt;/p&gt;

&lt;p&gt;That pass used seven lenses:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;design_critic: cost, quota, and whether the architecture holds when load grows.&lt;/li&gt;
&lt;li&gt;codebase_details: traces, metrics, and how someone would debug this in production.&lt;/li&gt;
&lt;li&gt;zoom_out: whether the feature needs to exist now, or whether existing code or a library already does the job.&lt;/li&gt;
&lt;li&gt;comprehension: whether the interface is intuitive, and whether errors and steps add friction.&lt;/li&gt;
&lt;li&gt;implementation_readiness: how existing clients or stored data move over, and how a rollback would work.&lt;/li&gt;
&lt;li&gt;structural: coupling, and whether this is still maintainable later.&lt;/li&gt;
&lt;li&gt;inventive_catalyst: a trade-off treated as unavoidable, and a pattern that might remove it, with the new cost of that pattern stated.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It wrote &lt;code&gt;concepts_brief.md&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The seven-lens review raised two risks. The four examples (in &lt;code&gt;scan --help&lt;/code&gt; and &lt;code&gt;CLI.md&lt;/code&gt;) could drift apart, and users could misunderstand how file extensions select the format or where relative paths resolve. The brief recommended keeping the samples equivalent, naming them &lt;code&gt;targets.json&lt;/code&gt; and &lt;code&gt;targets.yml&lt;/code&gt;, and explaining the path base.&lt;/p&gt;

&lt;p&gt;I asked it to address the risks. It updated the brief so both locations' examples are identical, added a parity check to the acceptance criteria, and explained the filename extensions and the relative path base beside the samples. I said the risks were resolved.&lt;/p&gt;

&lt;h2&gt;
  
  
  Draft
&lt;/h2&gt;

&lt;p&gt;I ran:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$egm:egm-draft
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It wrote &lt;code&gt;design_draft.md&lt;/code&gt;. The Overview, The Problem, Goals, and Non-Goals covered the missing file structure in the current help and docs, the parser's current format and path rules, and a documentation-only scope. I approved Overview and Goals.&lt;/p&gt;

&lt;p&gt;It added a Technical Plan. I approved that, and it added Alternatives Considered, with pros, cons, and a reason for rejection. I approved that too.&lt;/p&gt;

&lt;p&gt;It then added a Detailed Implementation Plan. That section listed the files to create or modify, and a verification plan: build, unit tests, static analysis and formatting, a manual help review, a scanner check, and a workspace review with &lt;code&gt;git status --porcelain&lt;/code&gt;. I approved it.&lt;/p&gt;

&lt;p&gt;I kept the draft documents outside the repository, but you can commit them if you'd like. Either way, the final design reconciles those drafts. There were no contradictions or additions that change the architecture, the interface, or the dependencies, so the draft stayed aligned with the brief.&lt;/p&gt;

&lt;p&gt;By default, it will create the design document inside of a &lt;code&gt;docs/designs&lt;/code&gt; folder. The agent created it for me and placed the &lt;code&gt;scan-targets-examples.md&lt;/code&gt; document in there. EGM recommends you have a &lt;code&gt;SITEMAP.md&lt;/code&gt; inside this folder as an index of design artifacts.&lt;/p&gt;

&lt;p&gt;Typecheck, lint, and all the tests passed. The new design file passed its targeted formatting check. The scanner completed with no critical or high findings, and its output contained no absolute workspace path. I did not run the build because the &lt;code&gt;egm-draft&lt;/code&gt; skill prohibits building production outputs during design work. Those checks are from the design stage. The only git status change then was the new &lt;code&gt;docs/designs/&lt;/code&gt; directory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Review
&lt;/h2&gt;

&lt;p&gt;I ran:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$egm:egm-review docs/designs/scan-targets-examples.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Before the review mode, it asked whether I wanted any context beyond the design document. It said linked files inside the repo are added automatically, and that external links or URLs require approval. I said no additional files.&lt;/p&gt;

&lt;p&gt;I selected implementation plan only, to evaluate implementation readiness.&lt;/p&gt;

&lt;p&gt;It reported two major findings. I agreed to resolve them with an agent, using the &lt;code&gt;egm-resolve&lt;/code&gt; skill. It wrote &lt;code&gt;goldfish_review_report.md&lt;/code&gt; for me to check, comment on, or accept. I auto-approved the report as it looked good, and it updated &lt;code&gt;docs/designs/scan-targets-examples.md&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Implementation and drift
&lt;/h2&gt;

&lt;p&gt;From there, the implementation was managed by the Codex agent, with superpowers skills.&lt;/p&gt;

&lt;p&gt;At the end, I ran:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$egm:egm-drift-report
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It found one drift and wrote &lt;code&gt;2026-11-08_DRIFT_REPORT.md&lt;/code&gt;. The design requires the help and &lt;code&gt;CLI.md&lt;/code&gt; to say commit values are compared exactly, but neither says so. I added that note.&lt;/p&gt;

&lt;h2&gt;
  
  
  My take
&lt;/h2&gt;

&lt;p&gt;EGM earned its place on this small task by catching things I would have shipped without:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The brainstorm review saw that the four examples in &lt;code&gt;scan --help&lt;/code&gt; and &lt;code&gt;CLI.md&lt;/code&gt; could drift apart, and turned that into a parity check in the acceptance criteria.&lt;/li&gt;
&lt;li&gt;The implementation-plan review flagged that the planned scanner check would write its reports into the repository being scanned. My &lt;code&gt;AGENTS.md&lt;/code&gt; says to keep private review material out of the repo, and the reviewer picked that up from there. The plan changed to write to a temporary folder outside the repo, and the scanner check later confirmed its output had no absolute workspace path.&lt;/li&gt;
&lt;li&gt;The drift report found that the help and &lt;code&gt;CLI.md&lt;/code&gt; never said commit values are compared exactly, even though the design required it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Next to Superpowers
&lt;/h3&gt;

&lt;p&gt;I used Superpowers for the implementation in this trial. On the steps they share, they do the work differently.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Brainstorm: EGM asks clarifying questions, then runs the Goldfish lenses in parallel, each with no earlier conversation, and writes &lt;code&gt;concepts_brief.md&lt;/code&gt;. Superpowers asks one question at a time, reads the existing code, offers two or three approaches to pick, and writes the design doc in that same skill.&lt;/li&gt;
&lt;li&gt;Design: EGM writes &lt;code&gt;design_draft.md&lt;/code&gt; section by section, with an approval after each section, and saves it under &lt;code&gt;docs/designs/&lt;/code&gt;. Superpowers writes one design doc, approved before building, under &lt;code&gt;docs/superpowers/specs/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Implementation plan: EGM puts it in the last section of the design doc, every file to touch, and no real code. Superpowers has a separate writing-plans skill, with small test-first tasks, under &lt;code&gt;docs/superpowers/plans/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Review: EGM reviews the design in stages, with reviewers that do not have the earlier conversation, then resolves the findings. Superpowers has a fresh agent check the design as a builder, a self-review of the plan, and a heavier review on the code during and after the tasks.&lt;/li&gt;
&lt;li&gt;Drift: Unlike Superpowers, EGM has a drift report you run after the implementation.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why not just Superpowers
&lt;/h3&gt;

&lt;p&gt;Superpowers already covers the build well, so the question is what EGM adds before and after it.&lt;/p&gt;

&lt;p&gt;Before the code, the reviewers have none of the conversation. They only see the document, judged through seven lenses, so they can't inherit the assumptions I built up while brainstorming with the agent. EGM's own design notes call this out: a single thread that interviews you, designs, and codes ends up validating its own mistakes. The long drafts and reports also go into files instead of the chat, which keeps the main conversation clean.&lt;/p&gt;

&lt;p&gt;After the code, the drift report checks the design against what was actually built. Superpowers has nothing like that.&lt;/p&gt;

&lt;p&gt;So I keep Superpowers for the build and add EGM for the design and the drift check.&lt;/p&gt;

&lt;h3&gt;
  
  
  What I would add
&lt;/h3&gt;

&lt;p&gt;The stops are meant to be there, like in SDD frameworks. What I would add is a conductor skill, so I don't have to type each skill to run in the conversation, and I choose where to stop. I wouldn't stop between the Technical Plan and the Alternatives. The conductor would auto-approve that middle step and write both in one pass.&lt;/p&gt;

&lt;p&gt;I wrote this because I wanted to know if EGM adds something to Superpowers, or if it's just more steps. If you've tried it, or you use another way to review designs with agents, I'd like to hear how it went. Leave your questions in the comments too, and I'll answer them.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/google/elephant-goldfish-model/blob/main/docs/harnesses.md" rel="noopener noreferrer"&gt;EGM supported harnesses&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/google/elephant-goldfish-model/blob/main/docs/getting_started.md" rel="noopener noreferrer"&gt;EGM Getting Started Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/google/elephant-goldfish-model/blob/main/docs/designs/architecture.md" rel="noopener noreferrer"&gt;EGM architecture design notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/google/elephant-goldfish-model/tree/main/skills" rel="noopener noreferrer"&gt;Elephant-Goldfish skills&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/obra/superpowers/tree/main/skills" rel="noopener noreferrer"&gt;Superpowers skills&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;I'm Cristian Calabro, a software engineer with 15+ years of experience. I help early-stage startups set up engineering foundations and bring AI into their daily development work. More at &lt;a href="https://www.ccalabro.dev" rel="noopener noreferrer"&gt;ccalabro.dev&lt;/a&gt; and on my &lt;a href="https://www.ccalabro.dev/remote-engineering-ai-advisor" rel="noopener noreferrer"&gt;remote engineering &amp;amp; AI advisor page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Follow me on &lt;a href="https://x.com/c_calabro" rel="noopener noreferrer"&gt;X&lt;/a&gt; or &lt;a href="https://linkedin.com/in/cristiancalabro" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt; for the next write-up.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>cli</category>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
