Skip to content

ch3: align the loop-diagram connector#40

Merged
yagop merged 1 commit into
mainfrom
fix-ch3-flowchart-connector
Jun 17, 2026
Merged

ch3: align the loop-diagram connector#40
yagop merged 1 commit into
mainfrom
fix-ch3-flowchart-connector

Conversation

@yagop

@yagop yagop commented Jun 17, 2026

Copy link
Copy Markdown
Owner

The chapter-3 loop diagram looked like it was missing characters.

The cause: the | connector was indented to sit under "emit output" (53 spaces) while the stop_reason annotation sat under "call Claude" (42 spaces), and there was no v arrowhead — so the connector dangled, disconnected from the text below it.

Fix: realign | and add a v, both at 42 spaces, so the connector drops straight from "call Claude" (where stop_reason actually comes from) into the annotation:

  read input -> build messages -> call Claude -> emit output -> repeat
                                          |
                                          v
                                          stop_reason 'end_turn'
                                          ends the turn

bun x vitepress build passes and the diagram renders aligned. Text-only change to chapters/03-repl-telegram.md.

🤖 Generated with Claude Code

The | connector sat under "emit output" while the stop_reason annotation
sat under "call Claude", and there was no arrowhead - so the connector
looked orphaned. Realign | and v under "call Claude" (where stop_reason
comes from) so they drop straight into the annotation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@yagop yagop merged commit f8af4aa into main Jun 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant