agentleFS
makifbaysalmakifbaysal/tasktrooper/CLAUDE.md

tasktrooper

CLAUDE.md109 starsChanged 2 months agoApache-2.0View on GitHub

Three parts, one product: the macOS desktop app. Read the directory's own CLAUDE.md before working in it. make test runs all three. - Local only. One user, no login. The UI authenticates to the backend with one bearer token: the desktop generates it and passes it to the server as SERVER_API_KEY and to the page as window.__tasktrooperDesktop.apiToken; make dev uses VITE_API_KEY. - The desktop app is the backend's supervisor. It spawns bin/agent-server with PORT=0, reads the LISTENING http://127.0.0.1:<port> line, polls…

  • Reads credentials

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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
  1. Distinctive:

    No code comments that explain WHAT.

    line 31
  2. Very specific:

    No LLM-facing prose in Go: prompts, guard wording and tool descriptions live in catalog/system (see catalog/system/README.md).

    line 37

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

TaskTrooper — monorepo

Three parts, one product: the macOS desktop app. Read the directory's own CLAUDE.md before working in it.

dirwhatverify
server/Go backend (hexagonal), embedded Postgres, agent runtimego build ./... && go vet ./... && go test ./...
desktop/Electron shell: supervises the backend + embedder, serves the UI from app://tasktroopernpm run typecheck && npm run lint && npm test
desktop/ui/React UI, bundled into the appnpx tsc --noEmit && npm run build && npm run check:locales

make test runs all three.

Shape

  • Local only. One user, no login. The UI authenticates to the backend with one bearer token: the desktop generates it and passes it to the server as SERVER_API_KEY and to the page as window.__tasktrooperDesktop.apiToken; make dev uses VITE_API_KEY.
  • The desktop app is the backend's supervisor. It spawns bin/agent-server with PORT=0, reads the LISTENING http://127.0.0.1:<port> line, polls /health, then opens the window. The server starts its own Postgres from the zonky binaries under the data directory when DATABASE_URL is empty.
  • Two contracts cross directories and move together: desktop/src/ipc/host.ts ↔ desktop/ui/src/lib/desktop-bridge.ts (the bridge), and the server's env/stdout contract in server/README.md ↔ desktop/src/main/supervisor/.

Rules

  • No code comments that explain WHAT. Only a non-obvious invariant, a workaround, or a WHY.
  • domain/application never import adapter in server/.
  • Nothing multi-tenant, no cloud, no control plane comes back: no Firebase, no tunnel, no X-Internal-* headers, no team/invite/billing-plan UI.
  • Secrets never go on argv; children are spawned with shell: false.
  • No LLM-facing prose in Go: prompts, guard wording and tool descriptions live in catalog/system (see catalog/system/README.md); code passes data.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.