loop: update git commit instruction to use --trailer, add Change-ID

We have run 'git config' for the user, so we can trim those instructions and simplify.
(And in unsafe mode, the user has 'git config' set up anyway.)

Instead of prompting the model to manually add 'Co-Authored-By' as a line in the
commit message, now instruct it to use the --trailer option.
This streamlines adding a Change-ID trailer with a random string (s<random_hex>k format).

I'd actually like to use precommmit hooks to automatically do all the trailer,
but that doesn't play nicely with -unsafe, so for now, do it this way.
At least we'll have Change-IDs that we can start using.
(Pity the official change-id support in git hasn't landed yet.)

Co-Authored-By: sketch <hello@sketch.dev>
Change-ID: s9b68cbfa4c7eeb82k
3 files changed
tree: 25a424999bee4597b971764640985585ce46f792
  1. .github/
  2. .vscode/
  3. bin/
  4. browser/
  5. claudetool/
  6. cmd/
  7. dockerimg/
  8. experiment/
  9. httprr/
  10. llm/
  11. loop/
  12. skabandclient/
  13. skribe/
  14. termui/
  15. webui/
  16. .clabot
  17. .dockerignore
  18. .gitignore
  19. CONTRIBUTING.md
  20. go.mod
  21. go.sum
  22. LICENSE
  23. README.md
README.md

Sketch

Sketch is an agentic coding tool.

Sketch runs in your terminal, has a web UI, understands your code, and helps you get work done. To keep your environment pristine, sketch starts a docker container and outputs its work onto a branch in your host git repository.

Sketch helps with most programming environments, but Go is Sketch's specialty.

To get started:

go install sketch.dev/cmd/sketch@latest
sketch

Requirements

Currently sketch runs on macOS and linux. It uses docker for containers.

macOS: brew install colima (or an equivalent, like Docker Desktop or Orbstack) linux: apt install docker.io (or equivalent for your distro) WSL2: install Docker Desktop for Windows (docker entirely inside WSL2 is tricky)

The sketch.dev service is used to provide access to an LLM service and give you a way to access the web UI from anywhere.

Feedback/discussion

We have a discord server to discuss sketch.

Join if you want! https://discord.gg/6w9qNRUDzS

Development

Go Reference

See CONTRIBUTING.md

Open Source

Sketch is open source. It is right here in this repository! Have a look around and mod away.

If you want to run sketch entirely without the sketch.dev service, you can set the flag -skaband-addr="" and then provide an ANTHROPIC_API_KEY environment variable. (More LLM services coming soon!)