capsite/docs: Good Fences slides as presented

Dan's edits in HackMD, with image links pointed back at the PNGs beside
the deck. cookie-rotation-wiring.png comes along from the
webapp-cookie-rotation branch so the deck's images all resolve on main.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
dckcandClaude Opus 5.5 committed 2026-10-09 14:04:39 -05:00
1 parent cbb59ad3bc
commit 9c3eaa9819
2 files changed
+38 -13

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

+38 -13
View File
@@ -3,7 +3,15 @@ title: Good Fences Make Good Agents
type: slide type: slide
slideOptions: slideOptions:
transition: slide transition: slide
center: false
--- ---
<style>
.reveal h1 { font-size: 1.8em; }
.reveal h2 { font-size: 1.2em; }
.reveal table { font-size: 0.6em; }
.reveal ul { font-size: 0.7em; }
.reveal pre { font-size: 0.45em; }
</style>
# Good Fences Make Good Agents # Good Fences Make Good Agents
@@ -15,15 +23,16 @@ Dan Connolly · Oct 2026
## I bookmark on diigo all week… ## I bookmark on diigo all week…
…and since Dec 2016 I've wanted them on my blog: [madmode-blog#23](https://github.com/dckc/madmode-blog/issues/23) <img src="tada-diigo-library.png" style="max-height: 45vh">
![my diigo library](tada-diigo-library.png =x400)
…and since Dec 2016 I've wanted them on my blog: [madmode-blog#23](https://github.com/dckc/madmode-blog/issues/23)
--- ---
## 🎉 Monday's issue drafts itself ## 🎉 Monday's issue drafts itself
![Week 2026-W40 in potluck: 22 bookmarks](tada-potluck-w40.png =x400) ![tada-potluck-w40](tada-potluck-w40.png)
One click on potluck's EmDash dashboard; I cut, comment, and publish. One click on potluck's EmDash dashboard; I cut, comment, and publish.
@@ -31,19 +40,31 @@ One click on potluck's EmDash dashboard; I cut, comment, and publish.
--- ---
## How: who holds what (on main, in dev) ## POLA IO: diigo-cache gets limited fetch
![weekly roundup wiring](weekly-roundup-wiring.png) - `makeWebApp().joinpath('diigo.com/api').withHeaders({cookie})`
<img src="weekly-roundup-wiring.png" style="max-height: 80vh">
- ✨ the cache id is a **webkey**, kept in my password manager
- ✨ diigo-week reaches only the read-only `viewer`: an h-feed of public items
- ⏳ not deployed yet; a fresh cookie means a new access and a new cache
--- ---
## ✨ Rotating the cookie (designed, on a branch) ## fluent builder API narrows
![cookie rotation wiring](cookie-rotation-wiring.png) - `makeWebApp().joinpath('diigo.com/api').withHeaders({cookie})`
- ✨ diigo-week gets only read-only `viewer`: h-feed of public items
- ✨ the cache id is kept in my password manager
- ⏳ frozen `{ cookie }`
- fresh cookie needs a new access and a **new cache**
---
## ✨ Rotating with mutable cookie MapStore
<img src="cookie-rotation-wiring.png" style="max-height: 80vh">
---
## ✨ Rotating with cookie MapStore
- the cookie lives in Alice's store; `access` reads a read-only facet at every send - the cookie lives in Alice's store; `access` reads a read-only facet at every send
- Mallory, holding the instance id, can use the cookie but can't rotate it - Mallory, holding the instance id, can use the cookie but can't rotate it
@@ -95,7 +116,7 @@ sequenceDiagram
G-->>T: throws 'fence: 2 cells from start' G-->>T: throws 'fence: 2 cells from start'
``` ```
⏳ the governor is designed ([lend-the-mower](../good-fences/docs/lend-the-mower.md)), not built ⏳ _no governor code; just design: ([lend-the-mower](../good-fences/docs/lend-the-mower.md))
--- ---
@@ -248,13 +269,17 @@ Still load-bearing: Worker Loader, Durable Objects and facets, Workers RPC, Cap'
--- ---
## 🧮 Retro ## 🧮 Recap +
✅ the weekly roundup drafts in one click ✅ the weekly roundup drafts in one click
✨ webkeys in a password field; a read-only facet for the plugin ✨ webkeys in a password field; a read-only facet for the plugin
✨ model-written code pipelines, in a confined dynamic worker ✨ model-written code pipelines, in a confined dynamic worker
🙌 Project Think: a green spike in an evening 🙌 Project Think: a green spike in an evening
---
## 🧮 Recap -
⏳ nothing deployed; the governor not built ⏳ nothing deployed; the governor not built
🪄 tipsy tenants: always turn right 🪄 tipsy tenants: always turn right
🧰 codemode ceremony: `{ description, execute }`, `search`, `describe` 🧰 codemode ceremony: `{ description, execute }`, `search`, `describe`