Skip to main content
Configure how Edgedive interacts with each of your repositories during investigations and fix execution. Go to Agent in Edgedive and select a repository to configure.

Per-Repo Configuration

Each repository can have its own agent settings:
SettingDescription
Custom promptsRepository-specific instructions for the agent
Build commandsHow to build and test the project
Branch namingPrefix for branches created by Edgedive (e.g., edgedive/)
Start with build commands and branch naming—these have the most immediate impact on PR quality.

Pre/Post Execution Scripts

Define scripts that run before and after Edgedive makes changes to your codebase.

Pre-Execution Script

Runs before Edgedive implements a fix. Use for:
  • Environment setup
  • Dependency installation
  • Database migrations
# Example: Install dependencies and set up environment
npm install
cp .env.example .env

Post-Execution Script

Runs after changes are made. Use for:
  • Running tests
  • Linting and formatting
  • Build verification
# Example: Lint, format, and test
npm run lint -- --fix
npm run format
npm test
Configure scripts in Agent → select a repository → Scripts.
Scripts run in the context of your repository. Ensure they’re idempotent and don’t require interactive input.