Repositories as the Foundation of Overcut Automation
In Overcut, repositories are the primary units for automation. All workflows, triggers, and agent actions are scoped to the repositories you connect and activate in your workspace.Repository Scope: Which Events Are Processed?
- Only events from active repositories are processed.
- When you connect a repository to Overcut (via Settings → Integrations → Git), you define the scope for all automations.
- Overcut listens for events (pull requests, issues, pushes, etc.) only from these active repositories.
- This ensures that automations run only where you intend, and that agents have access to the right code and context.
Inactive or unconnected repositories are ignored by Overcut. To automate a new repo, connect and activate it in your workspace settings.
Register a new Git Organization
To start automating with a new git, you must first register the organization.Select the Git provider
Select the Git provider you want to connect. (GitHub, GitLab, etc.) and click on Connect.
Grant Overcut the necessary permissions
You’ll be redirected to GitHub to grant Overcut the necessary permissions for a specific organization or account.
Adding a New Repository to Overcut
To start automating with a new repository, follow these steps:Select the repository you want to add
From the modal, select the repository you want to add. Only repositories with access permissions will be shown.
Only repositories that are connected and active will be included in Overcut automations.
Configuring a Repository for Optimal Agent Performance
Once your repository is connected, you can configure it to ensure agents work optimally with its unique tech stack and requirements. Workspace admins can tailor the agent environment, instructions, and commands for each repository.
Navigate to Repository Settings
Go to the repository settings in Overcut (usually found under the Integrations or Repositories section).
Choose the Agent Image
Pick a custom Docker image for the agent runtime. Include all the tools, CLIs, and frameworks your codebase needs (e.g., Node.js, Python, Java, custom binaries). This ensures agents can build, test, and analyze your code correctly.
Add Special Instructions
Provide any custom workflow steps, environment setup, or compliance requirements in Markdown or YAML. Examples: pre-commit hooks, build steps, environment setup, or compliance checks. These instructions will be used by agents during automation runs.
Define Custom Tools & Commands
Specify repo-specific commands for tasks like install, lint, test, or build. Agents will use these commands to interact with your codebase, ensuring compatibility with your repo’s processes.
Link Ticket Repositories to Code Repositories
If your workspace uses ticket repositories, you can link them to related code repositories from the ticket repository page. See Repository Mapping for details.
Code Indexing
Code indexing provides agents with an additional semantic search tool to find relevant code context efficiently. When enabled, agents can search for code by meaning rather than just keywords, helping them identify APIs, understand code relationships, and locate relevant files faster.Semantic search is optional for agent operation. Agents can work effectively without code indexing by using standard tools like file search, grep, and glob patterns to navigate the codebase. Code indexing is an enhancement that provides another way to find context, but it is not required.
Summary
- Overcut only processes events from active, connected repositories.
- Each repo can be configured for optimal agent performance: custom images, instructions, and tools.
- This flexibility ensures automations are reliable, secure, and tailored to each codebase.
Next Steps
Once you have your repositories configured, you may want to learn about Repository Mapping & Automatic Identification to understand how to:- Link ticket repositories to code repositories
- Use AI-powered repository identification in your workflows
- Automatically select the most relevant repositories for each ticket
Learn more about repository mapping and automatic identification in our Repository Mapping guide.