← Reuben Peter-Paul
Field Note · State, Identity & Ambient Authority
DRAFT

Harnesses borrow your terminal. Bots act on your behalf.

With Pi or Claude Code, sitting at the keyboard does two jobs without you thinking about it: keeping the thread alive, and watching over every logged-in tool in your shell. Move that work to a persistent bot (Orca, Hermes, Grok Bot), and both become explicit: state moves out of chat, and you have to know what credentials the bot can actually reach.

Expanded from Worth Looking At: credential-audit · Companion to Coding agents edit files. Coordinators hold the thread. · Skill: scaryPonens/agent-skills ↗ · Nov 26, 2026

Warm Gruvbox retro-office illustration of Reuben's four Voltus B-Team bots gathered around a glass office water cooler at dusk: Pam holding a steaming terracotta coffee mug, Jim leaning an elbow on the cooler with a laptop tucked under his arm, Michael gesturing in a suit with a PITCH badge, and Dwight standing with arms crossed.
Pam HR & rep
Jim builds it
Michael shapes & pitches
Dwight reviews it
Reuben's bots · Voltus · November 2026 — "We don't drink water. We just like the cooler."

01 / Not Claude Code in Herdr

Leaving the terminal loop splits state and authority apart.

People may hear “bot” and picture Claude Code left open in a Herdr workspace (or a tmux tab). They both run an LLM with shell and file tools on your machine, so from ten feet away they look interchangeable.

In practice, a session harness leans on you sitting at the keyboard. First, its state lives in the chat transcript: when the context window fills, it auto-compacts older turns into a lossy summary, and when the session closes, the thread is over (I rarely resume sessions after a task is done). Second, its authority is implicit: it runs inside your interactive shell with every token, SSH key, and signed-in CLI you have, which feels natural because your eyes are watching Claude Code “shenanigan” or “discombobulate”.

A bot is built to outlive a session and wake asynchronously—on a pull-request check, a review comment, or a teammate’s message—when you are nowhere near the terminal. That single shift forces two things out into the open: durable state moves outside the chat (into explicit work items, MEMORY.md, and GitHub), and who the bot acts as has to be separated between talking to people and touching your tools.

Compare runtime model
A. Session harness (Claude Code)
Your live presence holds the state and gates the shell.
A. Session harness (Claude Code)Your live presence holds the state and gates the shell.
You watching an open terminal
You watching an open terminal
State in scrollback · auto-compacts & dies
State in scrollback · auto-compacts & dies
One implicit identity: your shell
inherits every signed-in CLI, token & SSH key
One implicit identity: your shellinherits every signed-in CLI, token & SSH key
Stops existing when session closes
Stops existing when session closes
B. Persistent Orca bot
Outlives the session; splits state and identity explicitly.
B. Persistent Orca botOutlives the session; splits state and identity explicitly.
You or async event wake (PR, CI, chat)
You or async event wake (PR, CI, chat)
Durable state: Items, MEMORY.md & GitHub
Durable state: Items, MEMORY.md & GitHub
SOUL.md gate · read & report before mutating
SOUL.md gate · read & report before mutating
Speaks as bot
Slack & waking thread
Speaks as botSlack & waking thread
Acts as you
gh, Linear & host CLIs
Acts as yough, Linear & host CLIs
Text is not SVG - cannot display
Figure 1 · Session harness vs. persistent Orca bot (draw.io SVG · shades of gray & hatching) Showing both runtime models
Where state lives
Claude Code: In transcript; auto-compacted when full.
Orca bot: Items, MEMORY.md & GitHub; chat isn’t auto-summarized.
When it runs
Claude Code: While your terminal session stays open.
Orca bot: Direct chat or one-shot event wakes when unattended.
Identity model
Claude Code: Always your shell identity.
Orca bot: Speaks as itself in chat/Slack; executes work as you.

02 / Acting on Your Behalf

Sounds like a bot. Executes as you.

“Acting on your behalf” does not mean letting a bot impersonate you in chat. Teammates should never have to guess whether they’re reading a message from you or from your bot.

Instead, split voice from work. In Orca, the bot talks under its own name and avatar—in Slack, DMs, or the thread that woke it. When it pushes branches, opens pull requests, updates issues, or checks cloud state, it runs your machine’s signed-in CLIs (gh, orca linear, gt) as you.

Because the bot lives in shared channels, teammates can also @mention it directly—asking it to answer a question in Slack, check a PR, or update an issue. Any change it makes still executes through your local logins, so it stamps those writes with “asked by <name> via <Bot>” to keep the trail clear.

Inspect action & identity
Posting or replying in a Slack channel
Mode · Speaks as bot

Who teammates see

The bot’s own Slack identity (name + bot badge)—never spoofed as a message typed by you.

Credential path

orca slack post via Orca’s connected Slack bot token, scoped to linked workspaces.

Guardrail in practice

SOUL.md blocks unapproved external posts; if a channel name is ambiguous across workspaces, the bot must ask you which one.


03 / Auditing the Blast Radius

Turning “what can you touch?” into credential-audit.

Watching a bot coordinate review fixes across a stack of pull requests and prep a deploy handoff raised a blunt question: what accounts, services, and credentials can this bot actually reach on my machine right now—and which ones are live?

Session harnesses and persistent bots inherit the exact same shell, yet you rarely audit your own environment while typing in it. I asked the bot to inventory its own reach—read-only, no secret values printed, no remote API calls with raw env tokens—and packaged the result as credential-audit in scaryPonens/agent-skills.

Configured (unverified)
Configured (unverified)
env variable names
*_TOKEN, *_KEY · values never read
env variable names*_TOKEN, *_KEY · values never read
MCP & Orca connectors
.claude, .pi, orca · configured only
MCP & Orca connectors.claude, .pi, orca · configured only
credential-audit
credential-audit
audit.sh read-only probe
whitelisted verbs · zero API calls
audit.sh read-only probewhitelisted verbs · zero API calls
4-table access report
identity, auth method, verified vs. not
4-table access reportidentity, auth method, verified vs. not
Host logins (verified)
Host logins (verified)
16 signed-in CLIs
gh, gt, gcloud, aws, kubectl, op
16 signed-in CLIsgh, gt, gcloud, aws, kubectl, op
Git helper & SSH agent
credential.helper + ssh-add -l
Git helper & SSH agentcredential.helper + ssh-add -l
Presence != permission; calling env tokens could mutate state
Presence != permission; calling env tokens couldmutate state
Blind spots: Keychain, ~/.aws & ~/.kube files, cookies, .env
Blind spots: Keychain, ~/.aws & ~/.kube files, cookies,.env
Unknown binaries aren't safe (--help triggered a self-update)
Unknown binaries aren't safe (--help triggered aself-update)
Key
Key
place: surface or audit stage
place: surface or audit stage
operation: what audit.sh checks
operation: what audit.sh checks
blind spot or safety boundary
blind spot or safety boundary
flow: read-only evidence
flow: read-only evidence
Text is not SVG - cannot display
Figure 2 · credential-audit breadboard: configured vs. verified access (draw.io SVG · shades of gray & hatching) All surfaces & safety boundaries active
Full audit: separate possible access from verified live logins
scaryPonens/agent-skills · skills/credential-audit/audit.sh

How audit.sh inspects it

Scans env variable names, MCP/Orca config files, 16 whitelisted CLI identity commands, and SSH agent keys—producing four Markdown tables with zero secret values printed.

What the result actually proves

Draws a hard line between unverified configuration (an env var or MCP entry exists) and verified authority (a CLI confirmed a live signed-in account right now).


04 / Where It Still Bites

Three catches from building and running the audit.

Running that first audit—and having the bot publish the result—turned up three surprises you only hit in real use:

1. Even --help can have side effects. On the first run, calling --help on an internal deploy CLI caused it to silently self-update on disk. You can’t probe arbitrary binaries on PATH, so its audit.sh script sticks to a fixed whitelist of read-only identity checks (gh auth status, aws sts get-caller-identity, gcloud auth list) and skips the rest.

2. Delegated gh means delegated defaults. When I asked the bot to publish credential-audit publicly, it created scaryPonens/agent-skills with my gh login—and picked an MIT license on its own, telling me afterward I could change it. Harmless here, but anything you don’t specify gets decided under your name.

3. Presence isn’t proof, and some stores stay off-limits. Finding GITHUB_TOKEN in env or a server in .mcp.json only proves possible access—an expired token looks identical when you won’t hit the API. OS Keychain, browser cookies, .env files, and raw credential files (~/.aws/credentials, ~/.kube/config, ~/.netrc) remain deliberate blind spots that the report flags as unchecked instead of reading.


05 / Check Yourself

Who is acting—and what is actually verified?

Pick who’s acting—or what’s actually verified—in each case below.

1. An Orca bot wakes on a pull-request comment and posts a progress reply in that same thread, or posts a status update into a team Slack channel.
2. audit.sh finds SLACK_BOT_TOKEN in the shell environment and a Notion server listed inside .claude.json.
3. After you say “go ahead,” an Orca bot runs gh repo create, or pushes a branch and opens a pull request.

06 / Looking Ahead

Seeing the shift clearly so we can move fast.

Moving from a session harness to a persistent bot isn’t just swapping one tool for another—it’s a paradigm shift. State leaves the chat, voice separates from execution, and prompt rules stop being a substitute for knowing what credentials live in your shell.

There are several deeper levels this conversation can go from here: OS and container isolation, scoped credentials, and team norms once coworkers start invoking each other’s bots. A small script like credential-audit won’t solve all of that, and it isn’t meant to. It’s a practical step toward staying ahead of the shift—understanding what a new workflow actually changes on my own machine so that when it’s worth adopting, I can move my team forward fast.