Skip to content
ExuCounterPublic

About

Your cats, your mices

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Whiska

Run several Claude Code sessions at once, each in its own git worktree, through herdr. Whiska starts each on its task, puts the line its last turn ended on under its worktree in herdr's sidebar, and watches the merge request behind it:

● feat/auth      ❓ Which TTL for the token?
● feat/prices    ✓ Prices cache for an hour   !7 ✓ CI ready

A session that needs you asks in its own pane; herdr marks it and notifies you, and you answer there.

Install

Needs macOS, git, Elixir ~> 1.19 on OTP 28, herdr 0.9.3 or later with its Claude Code integration, and glab signed in for the merge requests.

brew install herdr glab && herdr integration install claude && glab auth login
git clone git@github.com:ExuCounter/Whiska.git && cd Whiska
mix deps.get && mix escript.build
cp whiska ~/.local/bin/           # anywhere on your PATH
whiska init                       # the Stop hook, the kit, and Whiska's rows in herdr's sidebar
whiska owl install                # the merge-request watcher, under launchd
whiska doctor                     # every failing line names its fix

Use

whiska spawn feat/auth task.md    # a worktree from herdr, Claude started in it on the task

From the main checkout of any repo: herdr creates worktrees/feat/auth on a new branch cut from the one checked out, with a workspace of its own; Whiska copies deps and _build across and starts claude --name feat/auth with one brief, priv/brief.md, then types the task in. Arguments after -- go to Claude.

Each turn's end writes its first line, or its question, as $whiska in that workspace's sidebar. Once the branch has a merge request, the owl adds $whiska_mr, $whiska_ci and $whiska_review, types new review, a failed pipeline or a conflict into the mouse's pane when it is idle, asks GitLab to rebase when it needs it, and removes the worktree once the merge request is merged and nothing in it would be lost. whiska init writes the rows that show them into herdr's config.toml, as one marked block; reload herdr's config to see them. A config with [ui.sidebar.spaces] rows of its own is left alone, and init prints the rows to add.

Words: a mouse is a task session, the owl is the merge-request watcher. CONTEXT.md has the rest.

The kit

whiska init links each skill under claude/skills into ~/.claude/skills, so each Claude Code session has them; keep the clone where it is, since the links point at its main checkout. A skill of your own with the same name is left alone.

  • /land: land a worktree's branch on a branch you pick, push it when you say, remove the worktree.
  • /pr: push the branch and open its GitLab merge request on a target you pick.

A repo plugs its own steps in through its CLAUDE.md: its checks, its merge request conventions.

Mice run without permission prompts; the brief tells them never to push, merge or post unless you say so. It is not a sandbox.

Docs

docs/reference.md Every command, the files Whiska writes, the sidebar tokens
docs/internals.md What spawn, the Stop hook and an owl round do, step by step
CONTEXT.md The glossary: the canonical name for every concept
docs/architecture/ C4 diagrams, with spawn and an owl round end to end

Development

mix test                          # all but end-to-end
mix test.e2e                      # the real binary through a private herdr, ~10 s
mix format --check-formatted

Use the words in CONTEXT.md.

Licence: not yet chosen.

About

Your cats, your mices

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages