From 9d54f16c8466601447c5428049d9b47822ff82a7 Mon Sep 17 00:00:00 2001 From: Shayan Rais Date: Thu, 30 Apr 2026 22:25:39 +0500 Subject: [PATCH] insert "Models are stateless" slide at position 10 in best-practice deck MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a styled-HTML dialog diagram (User vs Model bubbles, dashed amber divider labeled "new session — context wiped", and a two-line caption strip) to make the stateless behavior of LLMs visible. Drawn rather than imported as PNG, mirroring slide-12's inline-diagram conventions. Old slides 10..48 shifted to 11..49 via sentinel-replacement; banner comments updated in the same pass to keep the deck's zero-drift state. No new CSS classes — all layout via inline styles consistent with surrounding slides. Co-Authored-By: Claude --- .../claude-code-best-practice/index.html | 168 ++++++++++++------ 1 file changed, 117 insertions(+), 51 deletions(-) diff --git a/presentation/claude-code-best-practice/index.html b/presentation/claude-code-best-practice/index.html index 84d807a..adb102e 100644 --- a/presentation/claude-code-best-practice/index.html +++ b/presentation/claude-code-best-practice/index.html @@ -487,9 +487,75 @@ - +
+
+ + +

💬 Models are stateless

+ + +
+ + +
+ User + Model +
+ + +
+
+ “My name is Shayan.” + ➜ to model +
+
+ + +
+
+ “Okay, your name is Shayan.” + ➜ to user +
+
+ + +
+
+ new session — context wiped +
+
+ + +
+
+ “What is my name?” + ➜ to model +
+
+ + +
+
+ “I don’t know your name — each conversation starts fresh.” + ➜ to user +
+
+ +
+ + +

Each call starts from zero.

+

Memory only exists if the harness replays the transcript.

+ +
+
+ + + + +

🧠 Models — e.g. Opus, GPT, Gemini

@@ -526,9 +592,9 @@
- + -
+

🧠 Limitations

The raw model has no real-time access — no internet, no files, no clock.

@@ -537,9 +603,9 @@
- + -
+
@@ -701,9 +767,9 @@
- + -
+

⚡ Tool Calling — how the harness reaches the world

- + -
+

💪 Harness — the body around the brain

@@ -758,9 +824,9 @@
- + -
+

💪 Harness — the body around the brain

@@ -795,9 +861,9 @@
- + -
+

🎉 Yayyyyy! Problem solved with harness

The harness reaches out via WebSearch and fetches a real answer from live sources.

@@ -806,9 +872,9 @@
- + -
+
?

Really?

@@ -816,9 +882,9 @@
- + -
+

💪 Non-determinism — Doesn’t always use its tools

Similar prompt — but this time the model decided not to use the tool.

@@ -827,9 +893,9 @@
- + -
+

💪 Non-determinism — Tools can fail

The model first tried one source — it failed (403) — so it fell back to another.

@@ -838,9 +904,9 @@
- + -
+

🚨 Problem Statement

  1. @@ -855,9 +921,9 @@
- + -
+

Vibe Coding

Andrej Karpathy's Feb 3 2025 tweet coining 'vibe coding' — 'fully give in to the vibes, embrace exponentials, and forget that the code even exists' @@ -866,9 +932,9 @@
- + -
+

Vibe Coding vs Agentic Engineering

@@ -937,7 +1003,7 @@ todoapp/ -
+

👤 Agents

@@ -995,7 +1061,7 @@ todoapp/
-
+

Create your first agent — /agents

@@ -1049,7 +1115,7 @@ todoapp/
-
+

Demo