Developer builds 'facet' CLI to manage multi-repo workspaces for AI coding agents
A DevOps engineer created a Go command-line tool called 'facet' to solve the problem of multiple AI agents and developers conflicting over shared Git working trees across several repositories. The tool creates isolated, disposable workspaces tied to individual GitHub issues, automatically cloning relevant repos and generating a CLAUDE.md context file for the agent. Facet infers which repositories belong to a task by reading issue fields and cross-references rather than relying on labels, which the author found too broad. An early version that integrated with the terminal multiplexer Zellij failed badly, causing lost work, and was scrapped in favour of a simpler design after deleting around 1,500 lines of code. Notably, much of the tool's later hardening was itself carried out by Claude Code agents working through an issue backlog under the author's review.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in