Architectural Health & Worst-Child Inheritance
Understand the 3-tier health model (Good, Warning, Critical) and how worst-child inheritance surfaces hidden structural bottlenecks.
How-To Walkthrough
- Check the top-left Repository Health Scorecard for an immediate summary of Good, Warning, and Critical capabilities.
- Click a red or amber capability in the Business Capabilities list to isolate the exact child file or function causing the degradation.
- Inspect the node's Metric Contributors tab to see which threshold (Maintainability, Complexity, Instability, or Cycle) triggered the status.
Green (Good) meets all thresholds; Amber (Warning) indicates emerging complexity or coupling; Red (Critical) signals structural debt or guardrail breaches.
A parent file or capability inherits the worst health status of its children so critical hotspots are never masked by healthy averages.
Metric Explainability & Deep Diagnostics
Interpret Maintainability Index, Cyclomatic & Cognitive Complexity, Robert C. Martin Instability (I), and Afferent/Efferent Coupling (Ca/Ce).
How-To Walkthrough
- Open any node's Detail Drawer and select the Diagnostics / Metrics section to view exact numeric scores.
- Review Efferent Coupling (Ce — outgoing dependencies) vs. Afferent Coupling (Ca — incoming dependents) to understand blast radius.
- Read the root-cause contributor breakdown to see which specific functions, branches, or imports contributed most to the score.
Ranges from 0.0 (maximally stable, depended upon by many) to 1.0 (maximally unstable, depends on many external modules).
Combines Halstead volume, Cyclomatic Complexity, and lines of code; Cognitive Complexity penalizes deeply nested control flow.
Actionable Recommendations & AI Prompt Workflows
Generate deterministic, AI-consumable architectural prescriptions and copy zero-translation refactoring prompts directly into your coding agent.
How-To Walkthrough
- Click the purple AI Prompt button in the top visualizer toolbar for repository-wide priorities, or inside a node drawer for targeted refactoring.
- Review the generated prescription: it includes exact file paths, line ranges, metric contributors, and architectural constraints.
- Click Copy AI Prompt and paste it directly into your AI coding assistant without manual translation.
Prompts are structured with concrete file paths, dependency edges, and invariant constraints so AI agents can execute safe refactors immediately.
Component Tagging & Target-State Annotations
Label files or entire capability domains with preset lifecycle tags (target-state, in-migration, legacy, deprecated, quarantined) or custom colored tags.
How-To Walkthrough
- Click any tile on the canvas (or select a capability in the sidebar) and open the Component Tags section in the drawer.
- Apply a preset tag (target-state, in-migration, legacy, deprecated, quarantined) or create a custom colored tag.
- Choose whether to scope the tag to the single tile or propagate across the capability domain.
- Use the Component Tags filter pills in the left sidebar to highlight or isolate tagged components on the canvas.
Lifecycle tags do not alter AST health metrics, but importing a deprecated or quarantined component triggers an actionable AI recommendation.
Tags are keyed by repository and canonical file path in Supabase (with instant localStorage caching) so annotations survive new commits.
Architecture Drift & Snapshot Comparison
Compare two commits, releases, or PR branches to detect coupling creep, new circular dependencies, and architectural drift.
How-To Walkthrough
- Use the Diff vs. selector in the top Architecture Drift Toolbar to pick a baseline snapshot commit.
- Inspect highlighted added, removed, or degraded nodes and new cross-boundary edges on the canvas.
- Review the Drift Summary badge for net changes in coupling, complexity, and health regressions.
Comparing two commit-anchored snapshots isolates structural deltas introduced between releases or inside a Pull Request.
Custom Guardrails & ADR Boundary Enforcement
Configure Clean Architecture and custom layer import rules, and spot forbidden edges directly on the graph and in CI/CD.
How-To Walkthrough
- Navigate to Settings -> Guardrails & ADRs (or click the Guardrails button in the visualizer toolbar).
- Define source and forbidden target path patterns (for example, src/domain/** must not import src/infra/**).
- Return to the canvas to inspect flagged forbidden edges in red and enforce them in GitHub PR checks.
AST-extracted import edges are evaluated against your organization's guardrail rules on every snapshot.
Supply-Chain Dependency Topology & CVE Blast Radius
Inspect third-party package dependencies, trace CVE vulnerability contagion across internal modules, and jump to upstream open-source repositories.
How-To Walkthrough
- Open the Supply-Chain / Dependencies view in the visualizer to inspect parsed manifest packages (npm, PyPI, Go, Cargo, etc.).
- Click a flagged package to highlight the internal blast radius — every internal file and capability that transitively imports it.
- Follow upstream repository links to inspect the dependency's own SourceViz topology when available.
Maps external package vulnerabilities onto your internal call/import graph so teams prioritize patching high-exposure packages first.
Strategic Business Goal Alignment & Goal Lens
Define executive architectural goals, apply Strategic Archetype templates, evaluate fitness functions, and toggle the Goal Lens overlay.
How-To Walkthrough
- Click the Goals button in the top visualizer toolbar to open the Strategic Business Goal Alignment modal.
- Create a custom goal or apply a Strategic Archetype template (PCI-DSS Financial Isolation, Conway's Law Autonomy, Microservices Readiness, Zero-Trust Supply Chain).
- Activate the Goal Lens toggle on any goal to overlay alignment status and fitness function violations directly onto the canvas.
Automated checks that continuously verify whether your codebase topology satisfies business, compliance, and team-autonomy objectives.
User Accounts, Workspaces & Proactive Notifications
Create an account with automatic organization workspace onboarding and configure proactive Email, Slack, Discord, Teams, Webhook, and GitHub Issue alerts.
How-To Walkthrough
- Register at /signup with email verification (or GitHub OAuth) to automatically provision your default organization workspace.
- Open Settings -> Notifications & Alerts to add Slack, Discord, Microsoft Teams, Resend Email, HMAC-signed HTTP Webhooks, or Automated GitHub Issue channels.
- Select event triggers (Critical Health, Layer Violations, Instability Spikes, Weekly/Monthly Digests) and click Test to verify delivery.
Automated alerts and GitHub Issues are deduplicated within cooldown windows to prevent notification fatigue on repeated commits.