Registry Synced

Debugging

88 words
1 min read

Debugging

Debugging is evidence gathering.

Loop

Use a simple loop:
  • Reproduce the bug.
  • Observe the actual state.
  • Reduce the failing case.
  • Change one thing.
  • Verify the fix.

Minimal case

If a program fails on a huge input, make the smallest input that still fails. Small cases are easier to reason about and easier to explain.

Practice

When a bug appears, write three lines before editing:
  • Expected:
  • Actual:
  • Smallest repro:
That short note keeps the work grounded.
Document Outline
Table of Contents
System Normal // Awaiting Context

Intelligence Hub

Navigate the knowledge graph to generate context. The Hub adapts dynamically to surface backlinks, related notes, and metadata insights.