The problem
Coding tasks often span multiple repositories, making it difficult to keep work organized, preserve progress between sessions, and maintain boundaries around task-specific operations. Repolane explores a task-centered workflow built around native Git worktrees and Claude Code hooks.
What I built
- Task-scoped multi-repository workspaces. Designed a workflow that groups related repositories and their Git worktrees under one task, giving developers a consistent place to manage related work.
- Progress and context preservation. Implemented task-level progress notes and workflow operations that let developers park work (a resume note plus work-in-progress commits in each repository) and resume it later with the relevant context.
- Hook-based guardrails. Integrated Claude Code hooks with a Python rules engine that inspects supported tool calls (shell commands and file reads and edits) and denies configured disallowed operations, such as reading recognized secret files, reaching into another task's workspace, or pushing to a protected branch.
Engineering decisions
The core design centers on tasks rather than individual repositories. Git worktrees provide separate working directories, while Repolane adds task-level organization and progress context. Claude Code hooks connect the workflow to a Python rules engine for supported tool-call checks. This keeps the integration close to the developer's existing tools while making the limitations of hook-based enforcement explicit: the checks are not an operating-system sandbox, secret files are matched by known patterns rather than detected, and processes the agent starts are not confined. The security model on Repolane.dev covers the details.
Evidence and status
- The guard's automated regression suite has 184 cases. All 184 passed when I re-ran it for this page in October 2026, against code identical to the v0.8.1 tag. The suite is
scripts/hooks/test-guard.sh. - The image above is the local board, which shows every task, the repositories it touches and their Git state.
- Latest version: v0.8.1.
Explore Repolane
Explore the complete workflow, installation instructions, and documentation on the project website, or inspect the implementation on GitHub.

