# Today I Learned — Daine Mawer

> Short notes on things I learned this week — a problem, and the fix.

15 notes, newest first. Each is complete here; the link under its title is its own page.

## Claude Desktop has a terminal, a file editor and an iOS Simulator built in

Published 2026-11-02. https://www.dainemawer.com/til/claude-desktop-ios-simulator.md

I'd been running Claude Code in one window, Expo in a terminal in another, the iOS Simulator in a third and my editor in a fourth. Then I found out that the Code tab in Claude Desktop puts all of that in panes next to the conversation.

- **Terminal.** Click **Terminal** in the session's title bar or press `` Ctrl+` ``. It opens in the session's working directory with the same environment Claude uses, so `npx expo start` or a test run sees the same files Claude is changing. The **+** in the pane header opens a second tab.
- **Files.** Click any file path Claude mentions and it opens in a file pane. In a local session you can edit it there too, apart from a few config files like `.mcp.json` that are view-only.
- **iOS Simulator.** Ask Claude to build and run the app, and the simulator pane opens by itself and streams the device next to the chat. You can use it too: click to tap, drag to swipe, and use the Simulator app's shortcuts (`Cmd+Shift+H` for Home, `Cmd+S` for a screenshot).

The simulator is what makes it so good for React Native. Claude builds the app, taps through the flow it just changed and reads the screen to check its own work, while I watch in the same window. When something looks off, I tap through to that screen myself and ask about it. Claude sees the same device, so there's no describing where I am or attaching a screenshot.

Prompts that worked well for me:

```text
Build the app and run it in the simulator, then check the onboarding flow.
Run it on the iPhone SE simulator. Does the new header fit?
```

Naming a device gets you that device. Each session gets its own simulators, so parallel sessions don't fight over one, and Claude shuts down the ones it booted when you archive the session.

A few limits:

- It needs a Mac with Xcode and its iOS simulators installed, and Claude Desktop v1.24012.0 or later. The simulator pane is in public beta.
- It works in local sessions only. Cloud and SSH sessions can't reach the simulators on your Mac.
- It can't drive a physical iPhone. For that you're back to Xcode and screenshots.
- Claude's screenshots of the device are sent to Anthropic like the rest of the conversation, so don't sign in to real accounts on a simulator Claude uses.

Anthropic's docs cover the [simulator pane](https://code.claude.com/docs/en/desktop-ios-simulator) and the [terminal and file panes](https://code.claude.com/docs/en/desktop) in more detail.

## Your agent can send feedback to Vercel

Published 2026-10-30. https://www.dainemawer.com/til/vercel-mcp-submit-feedback.md

Vercel's MCP server now has a `submit_feedback` tool. Describe a bug or a feature request in plain language and your agent files it with Vercel, with structured context attached, without you leaving the session.

That matters because of when feedback usually dies. You hit friction in the middle of a task, the agent works around it, and by the time you'd write it up you've forgotten the details. Now the agent that just hit the problem can report it while the details are still in its context.

The tool takes two inputs:

- `message` is the feedback itself: what happened and what would have helped.
- `context` is optional and free-form. The tool description suggests the task, the expected behavior, the actual result and the impact.

Each submission also carries the MCP server version, the OAuth client ID, and your user, team and project IDs when they're available. That's the part a screenshot and a vague description never give a maintainer.

In practice you say something like "the deploy logs tool returned nothing for a build that clearly failed, send that to Vercel", and the agent fills in the rest:

```json
{
  "message": "get_deployment_build_logs returned an empty list for a failed build.",
  "context": {
    "task": "Diagnose a failed production deploy",
    "expected": "Build log lines",
    "actual": "Empty result, no error",
    "impact": "Had to fall back to the dashboard"
  }
}
```

A few cautions from the tool's own description:

- **Don't include secrets or personal data.** The agent writes `context` from the session, so read what it's about to send.
- **Don't retry blindly.** Retrying after an unclear outcome can create a duplicate.
- **There's a CLI fallback.** If the MCP call fails, `vercel feedback {message}` does the same job.

The pattern is bigger than Vercel. A tool that lets an agent report problems with the tool itself closes a loop that used to depend on a person remembering to write the issue.

## Rakazo runs AI bots for recurring work, and you can self-host it

Published 2026-10-30. https://www.dainemawer.com/til/rakazo-open-source-bot-platform.md

[Rakazo](https://rakazo.com/) is an open-source (Apache-2.0) platform for running AI bots on recurring work like email, sales outreach, expenses and code changes. It runs in the browser, on desktop and mobile, or on your own machine.

What caught my eye:

- **It doesn't resell models.** Sign in with a Claude Pro/Max or ChatGPT Plus/Pro subscription, or bring an API key, OpenRouter, or a local server like Ollama or LM Studio. You can pick a different model per bot.
- **Bots start from templates.** Inbox Manager, Sales Outbound, Expense Manager, Coding Agent, Chief of Staff and a few more.
- **Triggers beyond chat.** Bots can run on a schedule, a webhook, or an event such as a new GitHub issue. They connect to Gmail, GitHub, Notion and any MCP server.
- **Approvals are per action.** You choose which actions a bot has to ask about first.

The hosted plan includes up to 100 computer-hours a month and five computers at once. Self-hosting is free, and it's also the only way to message bots from iMessage/SMS, WhatsApp or Telegram. Slack works on both.

I'm setting it up today, so this is a first look from the site rather than a verdict.

## Hide Claude Code's attribution in commits and PRs

Published 2026-10-29. https://www.dainemawer.com/til/hide-claude-attribution-in-commits-and-prs.md

By default, Claude Code adds a `Co-Authored-By` trailer to the commits it writes and a "Generated with Claude Code" line to the pull request descriptions it opens. Both come from one setting, `attribution`, and an empty string turns each one off:

```json
{
  "attribution": {
    "commit": "",
    "pr": ""
  }
}
```

The two keys are independent. `commit` controls the trailer and `pr` controls the description footer, so setting only one leaves the other in place.

Where you put it decides who it applies to:

- `~/.claude/settings.json` for you, in every project.
- `.claude/settings.local.json` for you, in one project. Claude Code keeps it out of git.
- `.claude/settings.json` for everyone who clones the repo, if you commit it.

Two things to know. The change only affects commits and PRs from now on, so existing commits keep their trailers. And cloud and Remote Control sessions can append a claude.ai session link, which has its own switch, `attribution.sessionUrl`.

The older `includeCoAuthoredBy` key still turns up in guides. It's deprecated in favour of `attribution`.

## How the Claude Code team reviews code when Claude writes most of it

Published 2026-10-26. https://www.dainemawer.com/til/claude-code-team-code-review.md

Addy Osmani's article, [How the Claude Code team does code review](https://x.com/i/article/2114435487905808384), describes a setup where Claude writes about 90% of Claude Code's code. From June to September, merged PRs more than doubled and the share of reverted PRs fell by over 40%.

The aim is for most PRs to merge with at most one human in the loop, without more reverts or incidents. Human time counts as a cost, including time spent fixing bad code.

A few things I took from it:

- **Layers, then rollback.** Pre-PR verification, AI review on every PR, a security review that can block a merge, CI checks, human approval scaled to risk, then a merge queue with feature flags and staged rollouts. Fast revert is the last safeguard.
- **Approval depends on the change, not the author.** Agent approvals don't count as human ones, and an approval covers a single commit, so new pushes need a fresh look.
- **Cap the review loop.** One PR bounced between an agent author and an agent reviewer more than fifty times overnight. The team now limits it to about three cycles.
- **Explainers instead of diff-reading.** Engineers ask Claude to explain the part of the code they're about to change.
- **"You land it, you own it."** Whoever fixes an issue owns it, and incident reviews look at the system rather than the person.

## Vercel's durable-harness lets coding agents survive a crash

Published 2026-10-22. https://www.dainemawer.com/til/vercel-durable-harness.md

Run Claude Code or Codex locally and a crash costs you little, because the session history is on disk and you pick up where you left off. Run the same agent in a serverless function and a timeout or network error can lose the whole turn. Vercel's [durable-harness](https://github.com/vercel-labs/durable-harness) fixes that without changing the harness itself. It works with Claude Code, Codex, OpenCode and Pi, and it's built on [Workflow SDK](https://workflow-sdk.dev).

How it works, per Vercel's [announcement](https://vercel.com/blog/making-every-harness-durable):

- **Every step is logged.** Each model and tool call records its intent before it runs and its result when it finishes.
- **A queue backs every turn.** If the function dies, a new one picks up the turn, reads the log and carries on.
- **Finished work isn't repeated.** Completed calls come from the log, so you don't pay for the same model call twice.
- **You decide what's safe to retry.** A tool marked `replay: 'safe'` re-runs after a crash. One marked `replay: 'never'` is reported to the model as "may have run", and the model decides whether to check.

The log can live on Vercel, in local files during development, or in your own Postgres, MongoDB, Redis or Turso.

Where I'd use it:

- **Background PR agents.** Vercel's own example: an agent adds a pricing page, opens a PR and waits for CI. If the function times out mid-wait, it resumes instead of starting over.
- **Long migrations.** Upgrading a framework across a large codebase takes longer than any function timeout. With a durable log, hitting the limit just means the next function continues the job.
- **Agents with side effects.** Posting a PR comment, sending an email or deploying shouldn't happen twice. Marking those tools `replay: 'never'` is a cleaner guard than hoping nothing crashes.
- **Agents that wait on people.** Triage or review bots that pause for an approval or a CI result, then continue hours later from the same state.
- **Agents inside your own product.** Its documents feature stores typed JSON, like a plan or to-do list, in the session log and can stream changes to the browser, so a "build this for me" feature in your app keeps its state even if a function fails.

It's still experimental (version `0.0.x`, so the API may change). The [agent harnesses docs](https://vercel.com/docs/agent-harnesses) cover setup for each harness.

## Agents build better UI from clean Figma files

Published 2026-10-21. https://www.dainemawer.com/til/figma-hygiene-for-agents.md

When an agent reads a design through the [Figma MCP server](https://developers.figma.com/docs/figma-mcp-server/), it isn't looking at the picture you see. It's reading the layer tree: names, structure, auto layout, variables and components. A tidy file turns into close-to-correct code. A messy one gets guessed at, and you spend the time you saved fixing the guesses.

What makes the biggest difference:

- **Name your layers.** `Frame 427` and `Rectangle 12` tell an agent nothing. `PricingCard` and `CTAButton` become sensible component and prop names.
- **Use auto layout.** It maps almost directly to flexbox. Absolutely positioned layers come back as absolutely positioned code.
- **Use variables, not raw values.** A colour bound to `color/brand/primary` becomes your design token. A hex code becomes another hard-coded hex code.
- **Build with components and variants.** Instances tell the agent "this is the `Button`, size `sm`", so it can reuse what's already in your codebase. [Code Connect](https://help.figma.com/hc/en-us/articles/32132100833559-Guide-to-the-Figma-MCP-server) makes that mapping explicit.
- **Cut the noise.** Detached instances, hidden layers, empty groups and old explorations left on the page all end up in the agent's context.

None of this is new advice. It's what a careful front-end developer has always asked designers for. The difference is that a developer would ask when a file was confusing. An agent just guesses.

## Coding agents need checks they can run themselves

Published 2026-10-20. https://www.dainemawer.com/til/agentic-verification.md

Addy Osmani's [Agentic Verification](https://addyo.substack.com/p/agentic-verification) makes a simple point: "The bottleneck has moved from writing code to knowing it's correct." An agent that can run its own checks can write, fail, read the error and retry many times before you see anything. An agent that can't is guessing, and you end up doing the checking yourself.

His ways of giving an agent those checks:

- **End-to-end tests** for a few important user flows. They're hard to fake, and they're most useful when a failure comes with a screenshot or trace.
- **Property-based tests** for rules that must always hold, like round-trips, invariants and idempotency. In his words, "Example tests say what should happen; properties say what must not."
- **Differential tests** for rewrites and migrations, with the old system as the source of truth.
- **Fast, deterministic suites.** Slow or flaky tests teach agents to retry until something passes.

The habit I'm taking from it is to write the check before asking for the code. As Osmani puts it, he'd prefer "a much better feedback loop to a slightly better model."

## Graph engineering is designing how agents hand off to each other

Published 2026-10-19. https://www.dainemawer.com/til/graph-engineering-for-agents.md

"Graph engineering" is the newest name in the prompt → context → harness → loop engineering progression. Loop engineering is one agent working toward a goal, with a verifier and a stop condition. Graph engineering connects several of those loops into one system and makes the wiring explicit:

- **Nodes** do the work: an agent, a tool call, a validator or a human approval.
- **Edges** decide what runs next, including branches, parallel fan-out and retry paths.
- **Shared state** passes between nodes, so handoffs, budgets and vetoes live in one inspectable place instead of inside a prompt.

A code review system is the standard example: parallel audit agents feed a verifier, failures route to a fixer, and the test suite decides when to stop. [LangGraph](https://langchain-ai.github.io/langgraph/) is the most common way to build one.

The idea isn't new. Workflow engines and DAG schedulers have worked this way for years. The difference is that the nodes are agents that interpret their task instead of following fixed rules, so the structure around them has to do more of the work.

The best short explainer I've found is Louis-François Bouchard's [Graph Engineering vs Loop Engineering: What Actually Changed](https://www.louisbouchard.ai/graph-engineering-explained/). His advice is to start with a single loop and only add a graph when the work forces you to. He also warns that agents checking agents can produce "organized nonsense at scale", so some evidence should come from outside the system, like tests passing. For the patterns underneath (chaining, routing, parallelization, orchestrator-workers), Anthropic's [Building effective agents](https://www.anthropic.com/engineering/building-effective-agents) is still the reference I trust.

## Paperclip runs a team of AI agents like a company

Published 2026-10-16. https://www.dainemawer.com/til/paperclip-agent-org-chart.md

[Paperclip](https://paperclip.ing/) treats a group of AI agents as a company. You set a goal, hire agents into an org chart (CEO, CTO, engineers, marketers), approve the CEO agent's strategy, and watch the work from a dashboard. It looks like a task manager. Underneath, it handles budgets, reporting lines and governance.

The parts that stood out:

- **Bring your own agent.** Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Pi and others can share one org chart. Per the README: "If it can receive a heartbeat, it's hired."
- **Heartbeats.** Agents wake on a schedule or when they're assigned a ticket, so they don't sit in a loop burning tokens.
- **Hard budgets.** Each agent gets a monthly spend limit and is paused when it hits it.
- **You're the board.** Hiring a new agent needs your approval by default, and every ticket keeps a full tool-call trace and an append-only audit log.

What makes it worth more than a bookmark is that [the whole thing is on GitHub](https://github.com/paperclipai/paperclip) under the MIT license. It's a Node.js server and React UI with an embedded Postgres, self-hosted, with no Paperclip account required:

```bash
npx paperclipai onboard --yes
```

That matters for teams. You can run it inside your own infrastructure, point it at your own Postgres, and write a custom adapter for an in-house agent instead of waiting for a vendor to support it. And when an agent does something odd, you can read the orchestration code instead of guessing at a black box. With an agent manager, that's what you actually need.

My caveat: a company of agents is only as good as its checks. Budgets and audit logs tell you what happened. Deciding whether the work was any good is still your job.

## Pi is a minimal coding agent you shape yourself

Published 2026-10-14. https://www.dainemawer.com/til/pi-coding-agent.md

[Pi](https://pi.dev/) is an open-source, MIT-licensed agent harness from Earendil. It does the same basic job as Claude Code, but the core is deliberately small. Sub-agents, plan mode, permission popups and built-in to-dos aren't included. You add the ones you want through TypeScript extensions, skills, prompt templates or packages installed from npm or git.

That trade is why it's worth a look next to straight Claude Code:

- **Not tied to one vendor.** It talks to 15+ providers (Anthropic, OpenAI, Google, Ollama and more), and you can switch models mid-session.
- **Sessions are trees.** `/tree` branches from any earlier point in a conversation, so you can try a different approach without losing the first one.
- **It runs in more places.** Besides the TUI, there's a print/JSON mode for scripts, RPC over stdin/stdout, and an SDK for embedding.
- **It reads `AGENTS.md`.** Existing project instructions carry over.

```bash
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
```

The catch is the same as the pitch: Claude Code gives you the batteries, and Pi gives you a blank harness and expects you to build what you need.

## The Claude iOS app can switch accounts now

Published 2026-10-14. https://www.dainemawer.com/til/claude-ios-account-switching.md

The Claude iOS app now supports account switching. Until recently, moving between a personal and a work account meant signing out and back in every time.

That was a real friction point if you use Claude for both. Switching is now a tap instead of a re-login, which makes the mobile app far more practical alongside Claude Code on the desktop.

## A local merge queue stops parallel Claude Code agents colliding

Published 2026-10-12. https://www.dainemawer.com/til/claude-code-merge-queue.md

Run several Claude Code agents at once and they start racing each other: simultaneous pushes, duplicate heavy builds, flaky tests fighting over the same machine.

[claude-code-merge-queue](https://github.com/funador/claude-code-merge-queue) fixes that locally. Each agent works in its own numbered git worktree (a "lane"), and a `land` command rebases and pushes through a first-in-first-out queue, so only one lane pushes at a time. `build-lock -- <cmd>` does the same for builds.

```bash
npm install --save-dev claude-code-merge-queue
npx claude-code-merge-queue init
```

`init` writes the config, a pre-push hook and the `CLAUDE.md` instructions for you.

Worth knowing, per its README: it only works on one machine, and your `checkCommand` is the only gate, because no human reviews what lands.

## pnpm --filter takes the package name, not the directory

Published 2026-10-09. https://www.dainemawer.com/til/pnpm-filter-uses-package-name.md

In a pnpm workspace, `pnpm --filter` matches the `name` field in a package's `package.json`, not the folder it lives in.

In this repo the blog lives in `apps/blog`, but its package is called `blog`:

```bash
pnpm --filter blog dev
```

`pnpm --filter apps/blog dev` matches nothing and quietly does nothing, which is easy to mistake for a hung dev server.

## git switch - jumps back to the previous branch

Published 2026-10-08. https://www.dainemawer.com/til/git-switch-dash.md

`git switch -` returns to whichever branch you were on before, the same way `cd -` does for directories.

```bash
git switch feat/til
git switch main
git switch -   # back on feat/til
```


---

Canonical HTML: https://www.dainemawer.com/til
Markdown index: https://www.dainemawer.com/index.md · Agent guide: https://www.dainemawer.com/agents.md · [llms.txt](https://www.dainemawer.com/llms.txt)
Attribution: Daine Mawer — https://www.dainemawer.com/about