DocsCore ConceptsBug Tracking & Journal

Bug Tracking & Journal

How HelixMind automatically detects bugs, tracks them across sessions, and maintains a persistent bug journal.

Bug Tracking & Journal

HelixMind automatically detects bugs in code and maintains a persistent bug journal that tracks issues across sessions with evidence and status updates.

Automatic Bug Detection

The bug detector scans AI-generated code for common issues:

Bug TypeWhat It Catches
SecuritySQL injection, XSS, path traversal, hardcoded secrets
PerformanceN+1 queries, memory leaks, inefficient loops
CorrectnessNull dereferences, type mismatches, race conditions
MaintainabilityCode duplication, circular dependencies, dead code
StyleInconsistent formatting, naming violations

Detection runs after validation and before changes are applied.

Bug Journal

Every detected bug is stored in the persistent journal:

FieldDescription
idUnique identifier
descriptionHuman-readable bug description
fileFile path (if applicable)
lineLine number (if applicable)
typeBug category (security, performance, etc.)
statusopen โ†’ investigating โ†’ fixed โ†’ verified
evidenceScreenshots, error messages, stack traces
created_atWhen the bug was first detected
updated_atLast status change

CLI Commands

CommandDescription
/bug listShow all bugs with status
/bug show <id>Show details for a specific bug
/bug fix <id>Mark bug as fixed (with fix description)
/bug verify <id>Mark bug as verified
/bug add-evidence <id>Add evidence (screenshot, error)

Web Dashboard Integration

The web dashboard includes a bug management interface:

  • Bug list view with filters (status, type, file)
  • Bug detail page with evidence gallery
  • Timeline of status changes
  • Assign bugs to team members
  • Export bugs as CSV/JSON

Example Workflow

1. AI suggests code with potential SQL injection
2. Bug detector flags it as security issue
3. Bug journal entry created (status: open)
4. Developer reviews bug in web dashboard
5. Bug marked as fixed after code review
6. Evidence added (screenshot of fixed code)
7. Status updated to verified

Configuration

Enable/disable bug detection in .helixmind/config.json:

{
  "bugDetection": {
    "enabled": true,
    "security": true,
    "performance": true,
    "correctness": true,
    "maintainability": true,
    "style": false
  }
}
HelixMind โ€” AI Coding CLI with Spiral Memory