drover
CLAUDE.md4 starsChanged 5 months agoMITView on GitHub
Guidance for Claude Code working in the drover repo. Complements (does not restate) the global ~/.claude/CLAUDE.md rules — those still apply. See README.md for the concept and layout, docs/herdr-notes.md for herdr CLI behaviours/gotchas drover relies on, and docs/agents/ for per-agent CLI notes (claude-notes.md, copilot-notes.md, codex-notes.md, pi-notes.md, omp-notes.md). - Flutter, pinned via fvm to 3.47.4 (see app/.fvmrc): dart pub global activate fvm - marionette_mcp (lets Claude Code inspect/tap/screenshot the running app via the Dart VM service): dart pub global activate marionette_mcp,…
- Reads credentials
- Installs packages
In this repositoryOne other file it gives its agents.
- screenshotsSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 129
All previews run against a stubbed herdr backend (no SSH host needed) so you can screenshot/inspect UI on a simulator.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
Guidance for Claude Code working in the drover repo. Complements (does not restate) the
global ~/.claude/CLAUDE.md rules — those still apply.
Repo layout
app/— the Flutter app (iOS/macOS) plusapp/tool/spike.dart, a CLI probe for the SSH/herdr path.
See README.md for the concept and layout, docs/herdr-notes.md for herdr
CLI behaviours/gotchas drover relies on, and docs/agents/ for per-agent CLI
notes (claude-notes.md, copilot-notes.md, codex-notes.md,
pi-notes.md, omp-notes.md).
One-time host setup
- Flutter, pinned via fvm to 3.47.4 (see
app/.fvmrc):dart pub global activate fvm - marionette_mcp (lets Claude Code
inspect/tap/screenshot the running app via the Dart VM service):
dart pub global activate marionette_mcp, then ensure~/.pub-cache/binis on PATH. asc(starts Xcode Cloud builds — only needed to release):brew install asc, thenasc auth login --name drover --key-id … --issuer-id … --private-key …p8. An App Store Connect API key with the Developer role is enough. Credentials go to the system keychain, so the.p8can be deleted afterwards.- git-cliff (generates
CHANGELOG.mdentries — only needed forjust tag-release, run after a version actually ships):brew install git-cliff. jq(reads the App Store version state injust tag-release— only needed for that recipe):brew install jq.- On the Herdr host (the SSH target running your agents): install a herdr
integration for each agent you want native transcript history for:
herdr integration install claude,herdr integration install codex,herdr integration install copilot,herdr integration install pi,herdr integration install omp. Without an integration, drover falls back to pane-text history. Seedocs/herdr-notes.mdfor the gotchas — notably, it only takes effect for sessions started after the install. For Codex specifically, the first launch after install may show a Hooks review panel; trust/enable the hook there, then start a fresh session. - Firebase AI Logic must be enabled on the Firebase project (Gemini Developer
API backend) for the voice assistant. This is a one-time provisioning step —
it creates/links the Gemini Developer API project that
GEMINI_API_KEYlives in — not a runtime dependency; the app never calls AI Logic itself. Seedocs/voice.md.
Marionette MCP
Register the server with Claude Code once:
claude mcp add --transport stdio marionette -- marionette_mcpTo control a local app, start it in debug mode, then copy the ws://.../ws
Dart VM service URI printed by flutter run. Call marionette-connect with
that URI before using its inspection or interaction tools.
Key commands
A justfile wraps the app commands below (just to list recipes).
cd app
fvm flutter pub get
fvm flutter analyze
fvm flutter test
fvm flutter run
fvm flutter gen-l10n # regenerate localizations after editing lib/l10n/*.arb
fvm dart run tool/spike.dart --host <host> agentsReleasing
The Xcode Cloud workflow is manual-start only — pushing builds nothing. Bump
the version and start a build in one step, from main:
just release # 1.0.0+48 -> 1.0.0+49, same version, next build
just release 1.0.1 # 1.0.0+48 -> 1.0.1+49, new App Store versionOnce a marketing version has actually been released on the App Store (state
READY_FOR_DISTRIBUTION), Apple closes that version's pre-release train for
new build uploads entirely — TestFlight-only iteration is not exempt
(confirmed 2026-08-09: a build-only bump on an already-released 1.0.0 failed
with ITMS-90186 "Invalid Pre-Release Train" + ITMS-90062). Plain just release
only works while the current marketing version hasn't shipped yet; once it has,
the next release needs a new semver.
just release never touches CHANGELOG.md or tags — it only starts a build,
and a build can be rejected or resubmitted before it actually ships. Once
asc versions list (or the App Store Connect dashboard) shows the target
semver as READY_FOR_DISTRIBUTION, record it:
just tag-release 1.0.1tag-release re-checks that state itself, then asks App Store Connect which
Xcode Cloud build run actually produced the approved build and tags that
commit — not HEAD, which may have moved on while the build sat in review,
and not just "the last commit that bumped pubspec to this version": Xcode
Cloud assigns the shipped build number from its own counter, which doesn't
always match the number just release last wrote to app/pubspec.yaml. It
then generates a CHANGELOG.md section from the Conventional Commits since
the previous release tag and commits it separately on top of current main,
so the entry lands after the tagged commit rather than inside it. See
cliff.toml for the commit grouping/skip rules.
That build-number counter ("Next Build Number", Xcode Cloud → Settings) is per app and shared by every workflow, and it can only ever be raised, never lowered — leave it alone. Internal TestFlight testing needs no review; external testing would need Beta App Review.
Voice assistant
The Gemini Live voice assistant is part of the app and ships through the
normal release path above. See docs/voice.md for how it works, the Firebase
prerequisites, and the simulator notes, and docs/voice-billing.md for the
credit wallet and the free campaign. Gotcha: App Check is enforced on the
mintVoiceToken callable, so every fresh simulator/device install needs its
debug token registered in the Firebase console before any voice call
succeeds.
UI previews
All previews run against a stubbed herdr backend (no SSH host needed) so you
can screenshot/inspect UI on a simulator. just preview opens an in-app
gallery listing every registered screen; just preview <name> (e.g.
just preview launch) boots one screen directly, which is handy for
marionette-driven screenshots. Pick a scenario via
--dart-define=SCENARIO=idle|blocked (default idle). The harness is a single
entrypoint app/lib/previews/preview.dart plus app/lib/src/demo/demo_herdr.dart,
and shares droverTheme and l10n with production. To add a screen, register a
WidgetBuilder in the _previews map in preview.dart — no new entrypoint
file or justfile recipe needed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

