Skip to main content

Overview

The current commit graph visualization in Monolex provides branch-level views through a comprehensive TypeScript module. However, this implementation lacks commit-level granularity that would expose the true Git DAG structure to users. The Work-Wiki system requires complete transparency of AI development work. For git operations, this means showing not just which branches exist, but the precise commit relationships that form the development history.

Current Implementation

BranchNode Interface

The current implementation captures branch-level information:

Missing Fields for DAG Visualization

Two critical fields are absent:
  1. parents: Vec<String> - Without parent references, we cannot show:
    • Merge commit relationships
    • Branch divergence points
    • True development history flow
    • AI’s commit decision tree
  2. lane: usize - Without lane assignment, we cannot:
    • Position commits visually without overlap
    • Show parallel development streams
    • Distinguish simultaneous AI work streams

Visualization Mode Comparison

Current Mode: Branch-Level Only

Target Mode: Commit-Level DAG

Backend Limitations

The current Rust backend provides branch relationship data but lacks commit-level capabilities: What it DOES:
  • Lists all branches
  • Gets branch HEAD SHA
  • Detects ahead/behind status
  • Finds merge base
  • Branch-to-branch connections
What it LACKS:
  • Commit iteration
  • Parent SHA retrieval
  • Lane assignment logic
  • DAG traversal
  • Commit-level connections

Frontend Rendering

Current SVG Structure

Gap Analysis for THE CENTER

Transparency Gaps

Feedback Loop Impairment

Feedback Loop Efficiency

Performance Considerations

Current Performance Profile

Upgrade Performance Implications

Commit-level visualization will increase data volume significantly:

Technology Stack

The current implementation uses: The upgrade requires no new technologies - only enhanced capabilities within the existing stack.

Summary

Current State

  1. Exists as: git-branch-diagram-viewer.ts (2,331 lines) + Rust backend (360 lines)
  2. Shows: Branch-level relationships only
  3. Hides: Individual commits, parent relationships, lane assignments
  4. Limits: THE CENTER’s Human ◈ AI feedback loop effectiveness

Gap Summary

Upgrade Necessity

The upgrade is necessary because:
  1. THE CENTER requires complete transparency
  2. Human ◈ AI feedback loop needs granular visibility
  3. Current implementation hides 97% of commit-level information
  4. Monokinetics demands Human and AI operate as ONE motion

THE CENTER

How This Analysis Serves the Human ◈ AI Feedback Loop


Next: Upgrade Requirements

Documenting all requirements for the Git Commit Graph upgrade