Skip to content

Latest commit

 

History

History
66 lines (59 loc) · 5.02 KB

stack.md

File metadata and controls

66 lines (59 loc) · 5.02 KB

What bercail assumes, and why these tools

Built for one setup

bercail is Simon's own development environment, published as it runs on his machine. This table lists what it assumes, so you can see what you would keep and what you would replace.

Assumed Simon's What uses it Without it
A desktop Omarchy (Arch, Hyprland) A post-update hook that updates a clone install of bercail, a post-boot hook that brings desks back, SUPER+ALT+RETURN for the Herdr app (platforms) Ubuntu, Debian and macOS install and run it. Other Linux with a systemd user manager gets the desk restore as a user unit
The Herdr app and herdr-core the same Every space, desk and view Required
A Claude plan Claude Max By default Shep, every desk, the builder and autopilot (setup) Assumed. Claude Pro signs in the same way. A role can be pinned to another Pi model (Make it yours); with no sign-in at all, agents use Pi's default model
A ChatGPT plan ChatGPT Pro The judge, and bercail review-pr's reviewer Optional: the judge runs on Claude instead, Fable first
Basecamp to-do lists per project Shep's todos for you Optional. Basecamp is bercail todo's one backend, so without it Shep has no list to put your todos on
1Password op with a service account per repo Desk secrets Optional, set per repo
Entire on some repos Session capture, trails, Brain (Entire) Optional, turned on per repo
GitHub, through gh the same PRs, CI runs for the land card, bercail review-pr A repo can use Graphite (gt), Origin or Entire instead (git backend)

Fork it. Some of it will not fit you: another todo app, another desktop, another review tool. Fork the repo and change it. The CLI is bash, one file per area under lib/, and development shows how to run the tests. The policy file, config.toml and the bstack roles are made to be changed without a fork (config, Make it yours).

Why these tools

  • Herdr. Its terminals run in herdr-core, apart from the window, so a desk keeps working when the window closes or restarts. Its layouts and mods let bercail draw the desk column, the Shep view and its panels in JavaScript, without a fork of the app. Each agent reports its status (working, blocked, done) to herdr-core, which is how the sidebar and Shep know where a desk is.
  • Pi. It signs in with a Claude plan, through pi-claude-bridge and Claude Code, and with a ChatGPT plan, so one agent runs on the subscriptions you already pay for. Its extensions are where bercail puts the guard, the rate-limit pause and the desk's record. See bstack.
  • beads. An issue tracker in the repo, driven by the bd CLI. Agents read and write it the way you do, so the issue can be the job's spec: the desk reads it, reports on it, and Shep keeps the dispatch record in its metadata.
  • Entire. It records the agent session behind each commit, so the reason for a change stays with it. A repo hosted on Entire uses trails for its jobs instead of beads (Entire).
  • worktrunk. One worktree per job, made with wt switch --create. A desk's spawn runs it with --no-hooks and opens the space itself; for a worktree you make with wt switch, worktrunk's hooks open and close its Herdr space (handoff). It stays because it supplies each project's path template and hooks, which plain git worktree and Herdr's worktree mod do not; the spawn's bugs were fixed in bercail's own glue.
  • tuicr. Review in the terminal, on the uncommitted tree the desk left, watching it as the desk stages more. Comments stay marked human or AI, and you choose which go to GitHub (review).
  • gh and gh stack. bercail lives on GitHub. The land card reads CI through gh run list, and dependent branches use gh stack.
  • mise and packslip. Each release is a signed archive. mise or packslip checks the signature against this repository and the archive's digest before it unpacks anything, and runs no downloaded code (install).
  • A Cloudflare Worker for bercail.dev. It serves install.sh from the latest release's tag, never from master, so a curl install gets what was released (releasing).

Credits lists the projects bercail copies from or learned from.