Skip to content

Commit e6811b1

Browse files
dcramerclaude
andcommitted
docs: Add debugging example to homepage
Shows how dex can track bugs discovered during investigation, demonstrating a real debugging workflow where the agent identified a config loading issue and created a task to track the fix. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7d9ab8f commit e6811b1

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

docs/src/pages/index.astro

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,30 @@ Analyzed plan structure: Found 4 implementation steps
9595
<span class="cli-dim">•</span> <span class="cli-bold">m9n7o5p3</span>: Create JWT middleware</pre>
9696
</Terminal>
9797
</div>
98+
99+
<div class="scenario">
100+
<div class="scenario-prompt">
101+
<span class="prompt-label">Debugging:</span>
102+
<p>"Investigate why auto-sync with GitHub isn't working. Use Dex to track the fix."</p>
103+
</div>
104+
<Terminal title="Terminal">
105+
<pre class="cli-output"><span class="cli-dim">$</span> dex create -d "Fix auto-sync not loading project config" --context "In
106+
src/index.ts, createSyncService() calls loadConfig() without the
107+
storage path. Project config (.dex/config.toml) is never loaded.
108+
109+
Fix: Pass storage.getIdentifier() to loadConfig() after creating
110+
the storage engine.
111+
112+
Evidence: sync.ts correctly uses loadConfig(storage.getIdentifier())
113+
but index.ts uses loadConfig() with no argument."
114+
<span class="cli-green">Created</span> task <span class="cli-bold">c3ffne86</span>
115+
<span class="cli-yellow">[ ]</span> <span class="cli-bold">c3ffne86</span>: Fix auto-sync not loading project config
116+
117+
<span class="cli-bold">Context:</span>
118+
In src/index.ts, createSyncService() calls loadConfig() without
119+
the storage path. Project config (.dex/config.toml) is never...</pre>
120+
</Terminal>
121+
</div>
98122
</section>
99123
</Base>
100124

0 commit comments

Comments
 (0)