Documentation

Welcome to the BugForge documentation. This guide will help you get started with our defect management platform and make the most of its powerful features.

Getting Started

BugForge is designed to seamlessly integrate into your development workflow. Whether you're managing a small team or a large enterprise, our platform scales to meet your needs.

📘 Note: Before you begin, make sure you have administrative access to your project repository and the necessary permissions to install third-party integrations.

Installation

Getting BugForge up and running is quick and easy. Follow these steps:

Option 1: Cloud-Based Setup

  1. Sign up for a BugForge account at bugforge.tech/signup
  2. Connect your version control system (GitHub, GitLab, Bitbucket)
  3. Configure your project settings
  4. Start tracking defects immediately

Option 2: Self-Hosted Installation

# Install BugForge CLI
npm install -g bugforge-cli

# Initialize in your project
bugforge init

# Configure your settings
bugforge configure

# Start the local server
bugforge serve

Configuration

BugForge uses a flexible configuration system that allows you to customize behavior for your specific needs.

Basic Configuration

{
  "project": {
    "name": "My Project",
    "repository": "https://github.com/user/repo"
  },
  "deduplication": {
    "enabled": true,
    "threshold": 0.85,
    "autoMerge": false
  },
  "prioritization": {
    "algorithm": "weighted",
    "factors": ["severity", "impact", "frequency"]
  },
  "riskAssessment": {
    "enabled": true,
    "scanDepth": "full"
  }
}

Intelligent Deduplication

Our deduplication engine uses machine learning to identify similar defects across your codebase.

How It Works

Configuration Options

Adjust the deduplication threshold to control sensitivity:

bugforge config set deduplication.threshold 0.90
⚠️ Warning: Setting the threshold too high may miss valid duplicates, while setting it too low may incorrectly merge unrelated defects.

Smart Prioritization

BugForge automatically prioritizes defects based on multiple factors to help your team focus on what matters most.

Prioritization Factors

Custom Prioritization Rules

Define custom rules to match your team's workflow:

{
  "rules": [
    {
      "condition": "severity === 'critical'",
      "priority": "P0",
      "autoAssign": true
    },
    {
      "condition": "component === 'payment'",
      "priority": "P1"
    }
  ]
}

Risk Assessment

Our risk assessment engine evaluates the potential impact of defects across your entire codebase.

Risk Metrics

Regression Guards

Prevent fixed defects from reappearing with automated regression detection and test generation.

Features

Setup

# Enable regression guards
bugforge guards enable

# Configure monitoring
bugforge guards config --interval daily

# View protected defects
bugforge guards list

API Reference

BugForge provides a comprehensive REST API for programmatic access.

Authentication

curl -H "Authorization: Bearer YOUR_API_KEY" \
     https://api.bugforge.tech/v1/defects

Common Endpoints

Best Practices

1. Regular Reviews

Review merged duplicates weekly to ensure accuracy and provide feedback to improve the ML model.

2. Clear Descriptions

Write detailed defect descriptions including steps to reproduce, expected behavior, and actual behavior.

3. Consistent Tagging

Use consistent tags and labels to improve categorization and prioritization accuracy.

4. Integration Testing

Regularly test your BugForge integrations to ensure data is flowing correctly.

5. Team Training

Ensure all team members understand how to use the platform effectively and interpret its recommendations.

💡 Tip: Check out our support resources for video tutorials and training materials.