> ## Documentation Index
> Fetch the complete documentation index at: https://docs.detail.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure repository settings in Detail

> Control which Detail features are active per repository, set scan frequency, configure path filters, and add or remove repos from the dashboard.

Each repository connected to Detail has its own settings controlling which features are enabled, how often scans run, and which parts of the codebase to focus on. This lets you tailor Detail's behavior per project — for example, running Doc Fixes daily on your primary service while scanning only the `src/` directory of a monorepo.

## Accessing repository settings

Go to **Settings → Repositories** in the Detail dashboard, then click the name of the repository you want to configure.

## Per-repository settings

<CardGroup cols={2}>
  <Card title="Bug Finder" icon="bug">
    Enable or disable the Bug Finder agent for this repository. Set path filters to focus scanning on specific directories and skip test or vendor code.
  </Card>

  <Card title="Dead Code" icon="trash">
    Enable or disable automated dead code detection. When enabled, Detail opens pull requests to remove unreachable code it finds during scans.
  </Card>

  <Card title="Doc Fixes" icon="book">
    Enable or disable documentation drift detection. Set the run frequency to **weekly** (once per week) or **weekdays** (Monday through Friday).
  </Card>
</CardGroup>

## Adding repositories

<Steps>
  <Step title="Open repository settings">
    Go to **Settings → Repositories** in the Detail dashboard.
  </Step>

  <Step title="Click Add Repository">
    Click the **Add Repository** button. Detail shows you a list of repositories accessible via the installed Detail GitHub App.
  </Step>

  <Step title="Select and confirm">
    Select the repository you want to add and click **Add**. Detail schedules an initial scan automatically.
  </Step>
</Steps>

<Note>
  If the repository you want isn't listed, you may need to update the Detail GitHub App's repository access first. Go to **GitHub → Settings → Applications → Detail** and add the repository under *Repository access*.
</Note>

## Removing a repository

To remove a repository from Detail and purge all history, open its settings page and click **Remove from Detail** at the bottom of the page. Confirm the removal in the dialog that appears.
