blue/.blue/docs/spikes/2026-01-24-audit-path-integration.md
Eric Garcia 1be95dd4a1 feat: implement RFC 0008 (status file sync) and RFC 0009 (audit documents)
RFC 0008: Status updates now sync to markdown files, not just DB
RFC 0009: Add Audit as first-class document type, rename blue_audit to
blue_health_check to avoid naming collision

Also includes:
- Update RFC 0005 with Ollama auto-detection and bundled Goose support
- Mark RFCs 0001-0006 as Implemented
- Add spikes documenting investigations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 17:56:20 -05:00

1.6 KiB

Spike: Audit Path Integration

Status In Progress
Date 2026-01-24
Time Box 30 minutes

Question

Does Blue MCP need updates for audit document paths and integration?


Findings

Current State

  1. blue_audit tool exists but it's a health checker, not document management:

    • Checks for stalled RFCs (in-progress without worktree)
    • Finds implemented RFCs without ADRs
    • Detects overdue reminders
    • Identifies expired staging locks
  2. No DocType::Audit in blue-core/src/store.rs:

    pub enum DocType {
        Rfc, Spike, Adr, Decision, Prd, Postmortem, Runbook, Dialogue
    }
    
  3. No audit document paths - BlueHome doesn't define an audits directory

  4. Fungal has audit documents in docs/audits/:

    • 2026-01-17-repository-audit.md - Full repo audit report
    • 2026-01-17-rfc-status-verification.md - RFC status verification

Gap Analysis

Feature Status
DocType::Audit Missing
.blue/docs/audits/ path Missing
blue_audit_create tool Missing
blue_audit_list tool Missing

Recommendation

Yes, Blue MCP needs updates to support audit documents as a first-class document type:

  1. Add DocType::Audit to store.rs
  2. Add audits_path to BlueHome
  3. Create blue_audit_create tool for generating audit reports
  4. Rename current blue_audit to blue_health_check to avoid confusion

"Two audits with the same name. One checks health, one documents findings. Let's clarify."

— Blue