From 264ac475b8f31f82ba3deb0ffa839b79e4fa3ba6 Mon Sep 17 00:00:00 2001 From: "shitratgit[bot]" <286405550+shitratgit[bot]@users.noreply.github.com> Date: Thu, 26 Nov 2026 10:14:10 -0800 Subject: [PATCH 1/3] feat(news): rank stories by interest and add a latest view Keep the reviewed news corpus and add the desk's interest notes and thread observations. Score the whole corpus before filtering or limiting. Show the editorial reason in reader HTML, Markdown and the capability output. Serve the same rows newest first at /news/latest without changing the Atom feed. The base contains 70 of the 75 URLs in the desk's notes. Preserve all 70 and do not reintroduce the absent five. With the same input rows, people, bookmarks and ranking date, the desk prototype and TypeScript agree on each of the top 12 URLs, reasons and scores (1e-12 tolerance). | Mutant | Property that failed | Replay seed | | --- | --- | --- | | Remove the editorial guard on same-topic penalties | A higher placement with lower editorial cannot demote the target through the topic penalty | -8428895833057311 | | Use repo stars for releases and posts | Release and post stars do not change any score | -7220273481292087 | | Add age instead of subtracting it | Older never scores better, and a later push refreshes the row | 5221514034542451 | --- .brain/data/cafe/news.json | 454 ++++++++++++++++++++++- .brain/data/git-snapshot.json | 2 +- apps/infra/test/website-build.test.ts | 7 + apps/site/scripts/cafe-pages.ts | 62 ++-- apps/site/scripts/generate-content.ts | 92 +++-- apps/site/scripts/home-featured.ts | 2 +- apps/site/scripts/reader-cafe-flags.ts | 27 +- apps/site/src/content.ts | 2 +- apps/site/src/reader-website.ts | 1 + apps/site/test/content.test.ts | 1 + apps/site/test/emit-assets.test.ts | 1 + apps/site/test/worker.test.ts | 40 +- apps/web/src/client/cafe/model.ts | 2 + apps/web/src/features/cafe/copy.ts | 42 ++- apps/web/src/features/cafe/news-order.ts | 15 + apps/web/src/features/cafe/news.ts | 27 +- apps/web/src/reader-routes.ts | 1 + apps/web/test/cafe.scene.test.ts | 8 +- apps/web/test/cafe.story.test.ts | 1 + packages/core/src/cafe.ts | 347 ++++++++++++----- packages/core/src/contracts.ts | 21 +- packages/core/test/cafe-arbitraries.ts | 33 +- packages/core/test/cafe.test.ts | 225 ++++++----- 23 files changed, 1099 insertions(+), 314 deletions(-) create mode 100644 apps/web/src/features/cafe/news-order.ts diff --git a/.brain/data/cafe/news.json b/.brain/data/cafe/news.json index f8bd0d0b..e031c402 100644 --- a/.brain/data/cafe/news.json +++ b/.brain/data/cafe/news.json @@ -13,6 +13,12 @@ "source": "https://effect.website/blog/module-of-the-week/event-log", "engagement": { "views": 1580 + }, + "interest": { + "substance": "technique", + "editorial": 1, + "topic": "effect-motw", + "why": "How EventLog syncs offline devices" } }, { @@ -29,6 +35,12 @@ "source": "https://x.com/tim_smart/status/2125536797413556397", "engagement": { "stars": 53 + }, + "interest": { + "substance": "tool", + "editorial": 1, + "topic": "chad", + "why": "Tim Smart's self-extending Effect assistant" } }, { @@ -42,7 +54,13 @@ "github": "rivet-dev", "x": "rivet_dev" }, - "source": "https://x.com/rivet_dev/status/2125256628358283486" + "source": "https://x.com/rivet_dev/status/2125256628358283486", + "interest": { + "substance": "demo", + "editorial": 1, + "topic": "rivet-alchemy", + "why": "Rivet ships its self-hosting on Alchemy" + } }, { "kind": "video", @@ -58,6 +76,12 @@ "source": "https://www.youtube.com/watch?v=HFVyms5LHzk", "engagement": { "views": 1 + }, + "interest": { + "substance": "technique", + "editorial": 1, + "topic": "alchemy-intro", + "why": "Academind teaches Alchemy 2" } }, { @@ -74,6 +98,12 @@ "source": "https://www.youtube.com/watch?v=BA1lV8JgUqM", "engagement": { "views": 1289 + }, + "interest": { + "substance": "technique", + "editorial": 1, + "topic": "foldkit-effect-ui", + "why": "Foldkit's author on frontends for agents" } }, { @@ -90,6 +120,12 @@ "source": "https://github.com/dmmulroy/rex-sdk", "engagement": { "stars": 74 + }, + "interest": { + "substance": "tool", + "editorial": 0, + "topic": "rex-sdk", + "why": "SDK generated from JSON Schemas" } }, { @@ -106,6 +142,12 @@ "source": "https://x.com/NathanFlurry/status/2124538395682853187", "engagement": { "stars": 2 + }, + "interest": { + "substance": "tool", + "editorial": 1, + "topic": "cluster-rivet", + "why": "Effect Cluster entities as Rivet Actors" } }, { @@ -122,6 +164,12 @@ "source": "https://x.com/NFS__21/status/2124510714358276399", "engagement": { "stars": 5 + }, + "interest": { + "substance": "tool", + "editorial": 1, + "topic": "emulate", + "why": "Third-party APIs as local Effect layers" } }, { @@ -138,6 +186,12 @@ "source": "https://github.com/sshkeda/minecraft-server-on-orange-cloud", "engagement": { "stars": 440 + }, + "interest": { + "substance": "demo", + "editorial": 1, + "topic": "workers-tcp", + "why": "Minecraft on Workers TCP and Containers" } }, { @@ -154,6 +208,12 @@ "source": "https://github.com/Effect-TS/effect/releases/tag/effect%404.1.5", "engagement": { "stars": 17648 + }, + "interest": { + "substance": "release", + "editorial": 0, + "topic": "effect-release", + "why": "Sharper property-test shrinking" } }, { @@ -170,6 +230,12 @@ "source": "https://github.com/statelyai/xstate/releases/tag/xstate%406.0.0-beta.4", "engagement": { "stars": 30530 + }, + "interest": { + "substance": "release", + "editorial": 1, + "topic": "xstate-v6", + "why": "Timer fix in the v6 beta" } }, { @@ -186,6 +252,12 @@ "source": "https://github.com/southpolesteve/workers-dns-tcp", "engagement": { "stars": 54 + }, + "interest": { + "substance": "demo", + "editorial": 0, + "topic": "workers-tcp", + "why": "A DNS server on Workers TCP" } }, { @@ -202,6 +274,12 @@ "source": "https://www.youtube.com/watch?v=xB3YKYwoqxM", "engagement": { "views": 826 + }, + "interest": { + "substance": "technique", + "editorial": 1, + "topic": "effect-motw", + "why": "Protocol-first HTTP with HttpApi" } }, { @@ -218,6 +296,12 @@ "source": "https://github.com/bjacobso/effect-datastar", "engagement": { "stars": 0 + }, + "interest": { + "substance": "demo", + "editorial": 0, + "topic": "datastar", + "why": "A full app with an all-Effect server" } }, { @@ -231,7 +315,13 @@ "github": "devinjameson", "x": "devinjameson" }, - "source": "https://x.com/devinjameson/status/2123473797848424931" + "source": "https://x.com/devinjameson/status/2123473797848424931", + "interest": { + "substance": "announcement", + "editorial": 3, + "topic": "foldkit-effect-ui", + "why": "Foldkit becomes Effect's frontend" + } }, { "kind": "thread", @@ -268,7 +358,15 @@ "engagement": { "likes": 396, "replies": 16, - "participants": 17 + "participants": 17, + "bookmarks": 328, + "peers": ["MKassabov"] + }, + "interest": { + "substance": "proof", + "editorial": 2, + "topic": "domain-z3", + "why": "Domain model rules proved with Z3" } }, { @@ -282,7 +380,13 @@ "github": null, "x": "cfchangelog" }, - "source": "https://x.com/cfchangelog/status/2123899414255394834" + "source": "https://x.com/cfchangelog/status/2123899414255394834", + "interest": { + "substance": "release", + "editorial": 1, + "topic": "workers-tcp", + "why": "Workers accept raw TCP" + } }, { "kind": "post", @@ -295,7 +399,13 @@ "github": "sam-goodwin", "x": "samgoodwin89" }, - "source": "https://x.com/samgoodwin89/status/2123851816505111035" + "source": "https://x.com/samgoodwin89/status/2123851816505111035", + "interest": { + "substance": "demo", + "editorial": 1, + "topic": "domain-example", + "why": "One Domain model serves people and agents" + } }, { "kind": "launch", @@ -311,6 +421,12 @@ "source": "https://github.com/rivet-dev/code-mode-language-benchmark", "engagement": { "stars": 13 + }, + "interest": { + "substance": "proof", + "editorial": 1, + "topic": "code-mode", + "why": "Measured cost of code-mode runtimes" } }, { @@ -327,6 +443,12 @@ "source": "https://x.com/ismailkarsli54/status/2123062328664920190", "engagement": { "stars": 63 + }, + "interest": { + "substance": "tool", + "editorial": 1, + "topic": "typesql", + "why": "Typed raw SQL as Effects" } }, { @@ -343,6 +465,12 @@ "source": "https://github.com/foldkit/foldkit/releases", "engagement": { "stars": 1241 + }, + "interest": { + "substance": "release", + "editorial": 1, + "topic": "foldkit-release", + "why": "Breaking: result Message schemas" } }, { @@ -380,7 +508,15 @@ "engagement": { "likes": 761, "replies": 70, - "participants": 78 + "participants": 78, + "bookmarks": 1243, + "peers": [] + }, + "interest": { + "substance": "technique", + "editorial": 1, + "topic": "xstate-v6", + "why": "The XState v6 thread 78 people joined" } }, { @@ -399,7 +535,15 @@ "engagement": { "likes": 12, "replies": 0, - "participants": 0 + "participants": 0, + "bookmarks": 12, + "peers": [] + }, + "interest": { + "substance": "announcement", + "editorial": 1, + "topic": "adoption", + "why": "29 production services on Effect" } }, { @@ -416,6 +560,12 @@ "source": "https://x.com/timhnln/status/2122383624993694038", "engagement": { "stars": 13 + }, + "interest": { + "substance": "demo", + "editorial": 0, + "topic": "foldkit-ui", + "why": "A component set ported to Foldkit" } }, { @@ -453,7 +603,15 @@ "engagement": { "likes": 383, "replies": 5, - "participants": 6 + "participants": 6, + "bookmarks": 558, + "peers": [] + }, + "interest": { + "substance": "tool", + "editorial": 1, + "topic": "anti-slop", + "why": "Effect lint rules and a Jev plugin" } }, { @@ -470,6 +628,12 @@ "source": "https://github.com/nanocodexyz/harnesslang", "engagement": { "stars": 25 + }, + "interest": { + "substance": "proof", + "editorial": 1, + "topic": "harnesslang", + "why": "A compiler that proves crash guarantees" } }, { @@ -483,7 +647,13 @@ "github": "YasuakiOmokawa", "x": null }, - "source": "https://zenn.dev/yasuakiomokawa/articles/de83bb4c4ea928" + "source": "https://zenn.dev/yasuakiomokawa/articles/de83bb4c4ea928", + "interest": { + "substance": "technique", + "editorial": 2, + "topic": "foldkit-migration", + "why": "React to Foldkit, one path at a time" + } }, { "kind": "video", @@ -499,6 +669,12 @@ "source": "https://www.youtube.com/watch?v=O_zcc6Xl12g", "engagement": { "views": 524716 + }, + "interest": { + "substance": "technique", + "editorial": 1, + "topic": "agent-guardrails", + "why": "Half a million views on agent guardrails" } }, { @@ -515,6 +691,12 @@ "source": "https://tabletop-grand-prix.typeonce.games", "engagement": { "stars": 4 + }, + "interest": { + "substance": "demo", + "editorial": 1, + "topic": "game-demo", + "why": "A full game on Effect and Alchemy" } }, { @@ -531,6 +713,12 @@ "source": "https://www.youtube.com/watch?v=fM5FDXIjlaY", "engagement": { "views": 428 + }, + "interest": { + "substance": "technique", + "editorial": 1, + "topic": "effect-motw", + "why": "Workflows replace crash bookkeeping" } }, { @@ -547,6 +735,12 @@ "source": "https://x.com/davidnussio/status/2121142090721833322", "engagement": { "stars": 5 + }, + "interest": { + "substance": "tool", + "editorial": 0, + "topic": "cqrs", + "why": "Event sourcing ported to Effect v4" } }, { @@ -563,6 +757,12 @@ "source": "https://api.github.com/repos/alchemy-run/alchemy/releases", "engagement": { "stars": 1968 + }, + "interest": { + "substance": "release", + "editorial": 2, + "topic": "alchemy-release", + "why": "Rivet and Cluster providers, Domain changes" } }, { @@ -579,6 +779,12 @@ "source": "https://x.com/NathanFlurry/status/2120915020355658240", "engagement": { "stars": 873 + }, + "interest": { + "substance": "tool", + "editorial": 1, + "topic": "workers-anywhere", + "why": "Workers and Durable Objects on any cloud" } }, { @@ -592,7 +798,13 @@ "github": "sam-goodwin", "x": "samgoodwin89" }, - "source": "https://github.com/alchemy-run/alchemy/pull/3260" + "source": "https://github.com/alchemy-run/alchemy/pull/3260", + "interest": { + "substance": "proof", + "editorial": 1, + "topic": "domain-z3", + "why": "Open PR: aggregate invariants proved" + } }, { "kind": "post", @@ -605,7 +817,13 @@ "github": "devinjameson", "x": "devinjameson" }, - "source": "https://x.com/devinjameson/status/2121017721211036124" + "source": "https://x.com/devinjameson/status/2121017721211036124", + "interest": { + "substance": "technique", + "editorial": 1, + "topic": "foldkit-cloudflare", + "why": "Cloudflare documents Foldkit with Alchemy" + } }, { "kind": "video", @@ -621,6 +839,12 @@ "source": "https://www.youtube.com/watch?v=fNpJ63QjK-k", "engagement": { "views": 332 + }, + "interest": { + "substance": "technique", + "editorial": 1, + "topic": "effect-motw", + "why": "Making Cluster delivery idempotent" } }, { @@ -637,6 +861,12 @@ "source": "https://github.com/artile/foldkit-bombadil-spike", "engagement": { "stars": 0 + }, + "interest": { + "substance": "proof", + "editorial": 1, + "topic": "bombadil", + "why": "Measured fuzzing of a real Foldkit app" } }, { @@ -653,6 +883,12 @@ "source": "https://www.youtube.com/watch?v=JcY0th6QuMg", "engagement": { "views": 254 + }, + "interest": { + "substance": "announcement", + "editorial": 0, + "topic": "alchemy-talk", + "why": "A conversation on Alchemy" } }, { @@ -669,6 +905,12 @@ "source": "https://github.com/aidenybai/tla-ts/releases/tag/tla-ts%400.0.10", "engagement": { "stars": 267 + }, + "interest": { + "substance": "release", + "editorial": 1, + "topic": "tla-ts", + "why": "TypeScript models checked as TLA+" } }, { @@ -685,6 +927,12 @@ "source": "https://www.youtube.com/watch?v=YOZF2tN8YmY", "engagement": { "views": 579 + }, + "interest": { + "substance": "technique", + "editorial": 0, + "topic": "effect-lsp", + "why": "Effect language service rules" } }, { @@ -701,6 +949,12 @@ "source": "https://github.com/archiboi69/domain-devtools", "engagement": { "stars": 26 + }, + "interest": { + "substance": "tool", + "editorial": 0, + "topic": "domain-devtools", + "why": "Diagrams from Domain models" } }, { @@ -717,6 +971,12 @@ "source": "https://www.youtube.com/watch?v=kU2FpNm65-k", "engagement": { "views": 238 + }, + "interest": { + "substance": "announcement", + "editorial": 0, + "topic": "durable-execution", + "why": "Office Hours on durable execution" } }, { @@ -733,6 +993,12 @@ "source": "https://github.com/littledivy/tailnet-do", "engagement": { "stars": 270 + }, + "interest": { + "substance": "demo", + "editorial": 1, + "topic": "tailnet-do", + "why": "A Durable Object joins a tailnet" } }, { @@ -749,6 +1015,12 @@ "source": "https://github.com/clavia-labs/tardigrade/releases", "engagement": { "stars": 475 + }, + "interest": { + "substance": "release", + "editorial": 0, + "topic": "tardigrade", + "why": "Tardigrade moves to Effect 4.1" } }, { @@ -765,6 +1037,12 @@ "source": "https://x.com/devinjameson/status/2119175626066104745", "engagement": { "stars": 1241 + }, + "interest": { + "substance": "release", + "editorial": 1, + "topic": "foldkit-blocks", + "why": "Blocks built through Layers" } }, { @@ -781,6 +1059,12 @@ "source": "https://github.com/statelyai/xstate/releases/tag/xstate%406.0.0-beta.1", "engagement": { "stars": 30476 + }, + "interest": { + "substance": "release", + "editorial": 2, + "topic": "xstate-v6", + "why": "XState v6 beta freezes the API" } }, { @@ -797,6 +1081,12 @@ "source": "https://github.com/RhysSullivan/effect-discord-perms", "engagement": { "stars": 18 + }, + "interest": { + "substance": "tool", + "editorial": 0, + "topic": "discord", + "why": "Discord permissions as compile errors" } }, { @@ -813,6 +1103,12 @@ "source": "https://github.com/nstudio/ns-foldkit", "engagement": { "stars": 2 + }, + "interest": { + "substance": "demo", + "editorial": 1, + "topic": "foldkit-native", + "why": "Foldkit apps on iOS and Android" } }, { @@ -829,6 +1125,12 @@ "source": "https://github.com/just-be-dev/cantrip", "engagement": { "stars": 0 + }, + "interest": { + "substance": "demo", + "editorial": 0, + "topic": "cantrip", + "why": "Command bar spells are Effect programs" } }, { @@ -845,6 +1147,12 @@ "source": "https://github.com/joelhooks/alchemy-turbo-cache", "engagement": { "stars": 25 + }, + "interest": { + "substance": "tool", + "editorial": 0, + "topic": "turbo-cache", + "why": "Turbo cache declared by Alchemy" } }, { @@ -861,6 +1169,12 @@ "source": "https://executor.sh", "engagement": { "stars": 4600 + }, + "interest": { + "substance": "tool", + "editorial": 1, + "topic": "executor", + "why": "Agents call APIs in a sandbox" } }, { @@ -877,6 +1191,12 @@ "source": "https://vibelang.sh/spec", "engagement": { "stars": 23 + }, + "interest": { + "substance": "tool", + "editorial": 0, + "topic": "vibelang", + "why": "Effect programs in a new syntax" } }, { @@ -893,6 +1213,12 @@ "source": "https://registry.npmjs.org/mutant-cafe", "engagement": { "stars": 65 + }, + "interest": { + "substance": "release", + "editorial": 1, + "topic": "mutation-testing", + "why": "Mutation testing aimed at Effect errors" } }, { @@ -909,6 +1235,12 @@ "source": "https://silklang.org", "engagement": { "stars": 103 + }, + "interest": { + "substance": "technique", + "editorial": 1, + "topic": "silk", + "why": "Effect's ideas in a low-level language" } }, { @@ -922,7 +1254,13 @@ "github": "tim-smart", "x": null }, - "source": "https://github.com/Effect-TS/effect/pull/10306" + "source": "https://github.com/Effect-TS/effect/pull/10306", + "interest": { + "substance": "release", + "editorial": 1, + "topic": "typescript-7", + "why": "Effect ready for TypeScript 7.1" + } }, { "kind": "video", @@ -938,6 +1276,12 @@ "source": "https://www.youtube.com/watch?v=ugEBQBL1TtA", "engagement": { "views": 239 + }, + "interest": { + "substance": "technique", + "editorial": 0, + "topic": "effect-mcp", + "why": "Long-running MCP tools in Effect" } }, { @@ -954,6 +1298,12 @@ "source": "https://github.com/MapleTechLabs/changesets", "engagement": { "stars": 1 + }, + "interest": { + "substance": "tool", + "editorial": 0, + "topic": "changesets", + "why": "Changesets rebuilt on Effect" } }, { @@ -970,6 +1320,12 @@ "source": "https://www.youtube.com/watch?v=rAE_2kiEfvA", "engagement": { "views": 1930 + }, + "interest": { + "substance": "announcement", + "editorial": 0, + "topic": "cause-effect-podcast", + "why": "John De Goes on engineering with AI" } }, { @@ -986,6 +1342,12 @@ "source": "https://github.com/julia-script/foldkit-serverfn", "engagement": { "stars": 1 + }, + "interest": { + "substance": "tool", + "editorial": 1, + "topic": "foldkit-serverfn", + "why": "Typed server functions for Foldkit" } }, { @@ -1002,6 +1364,12 @@ "source": "https://github.com/Manzanita-Research/terrarium-v2", "engagement": { "stars": 1 + }, + "interest": { + "substance": "demo", + "editorial": 1, + "topic": "domain-sim", + "why": "Agent simulations on Alchemy Domain" } }, { @@ -1018,6 +1386,12 @@ "source": "https://github.com/Tanner-Scadden/munch-manor", "engagement": { "stars": 16 + }, + "interest": { + "substance": "demo", + "editorial": 1, + "topic": "game-demo", + "why": "An open-source game on Foldkit and Effect" } }, { @@ -1034,6 +1408,12 @@ "source": "https://github.com/lroy-stack/admin-os", "engagement": { "stars": 35 + }, + "interest": { + "substance": "demo", + "editorial": 1, + "topic": "capabilities", + "why": "One capability set for screens and MCP" } }, { @@ -1050,6 +1430,12 @@ "source": "https://github.com/nanami-0713/relay-kit", "engagement": { "stars": 199 + }, + "interest": { + "substance": "tool", + "editorial": 1, + "topic": "relay-kit", + "why": "An encrypted relay on Durable Objects" } }, { @@ -1066,6 +1452,12 @@ "source": "https://x.com/NathanFlurry/status/2115789130911429006", "engagement": { "stars": 47 + }, + "interest": { + "substance": "tool", + "editorial": 1, + "topic": "workers-anywhere", + "why": "Durable Object data moves without downtime" } }, { @@ -1079,7 +1471,13 @@ "github": "artile", "x": null }, - "source": "https://github.com/alchemy-run/alchemy/pull/2700" + "source": "https://github.com/alchemy-run/alchemy/pull/2700", + "interest": { + "substance": "release", + "editorial": 2, + "topic": "domain-foldkit", + "why": "Domain Apis become Foldkit Commands" + } }, { "kind": "launch", @@ -1095,6 +1493,12 @@ "source": "https://github.com/foldkit/foldkit-domains", "engagement": { "stars": 29 + }, + "interest": { + "substance": "technique", + "editorial": 1, + "topic": "foldkit-example", + "why": "Static HTML that accepts edits early" } }, { @@ -1111,6 +1515,12 @@ "source": "https://www.npmjs.com/package/@yielded/effect-tsrs/v/0.2.2", "engagement": { "stars": 209 + }, + "interest": { + "substance": "release", + "editorial": 0, + "topic": "rat-stack-checkers", + "why": "rat-stack checker pins" } }, { @@ -1127,6 +1537,12 @@ "source": "https://www.npmjs.com/package/@yielded/effect-tsrs/v/0.2.0", "engagement": { "stars": 209 + }, + "interest": { + "substance": "release", + "editorial": 0, + "topic": "rat-stack-checkers", + "why": "Effect diagnostics on tsrs" } }, { @@ -1143,6 +1559,12 @@ "source": "https://blog.cloudflare.com/typescript-rust-port/", "engagement": { "stars": 209 + }, + "interest": { + "substance": "release", + "editorial": 0, + "topic": "rat-stack-checkers", + "why": "tsrs as the fast typecheck" } }, { @@ -1159,6 +1581,12 @@ "source": "https://github.com/Effect-TS/tsgo/releases", "engagement": { "stars": 337 + }, + "interest": { + "substance": "release", + "editorial": 0, + "topic": "effect-tsgo", + "why": "The language service tracks the TypeScript beta" } } ] diff --git a/.brain/data/git-snapshot.json b/.brain/data/git-snapshot.json index 4bec2258..68a8ad0e 100644 --- a/.brain/data/git-snapshot.json +++ b/.brain/data/git-snapshot.json @@ -195,7 +195,7 @@ "packages/code-snippets/src/pipeline.ts": "e746b13e1ffd662ffa786b0b878f7a100087c89e8ce470d7ed7bd4054c487813", "packages/code-snippets/src/scanner.ts": "7c31b488f025d2cefe09acefb4f97b7607ab12fe153ea78ab1d6639a63ad1ff8", "packages/core/src/app-config.ts": "9da50a4d16cfb2ef1acc3d28c22dfd86633dbd9fda293273587b008e6e9fe893", - "packages/core/src/contracts.ts": "7cf7b1dbfcdd5eae1097dffcc141044d063b36893a880b2d6934ba96190c78e0", + "packages/core/src/contracts.ts": "60b52b9b8d2522d58607d63096337710642bc7ba0c6e28a681a3e138500e20ce", "packages/core/src/events-off.ts": "2ff9e4afefc3c0d9df19fce8a472779974495910f4088cc775d07817cf4326cc", "packages/core/src/file-inspector.ts": "81825ea07b0b71b34c3b541a4d7e8262e91591e57c72123c173750d56751b332", "packages/core/src/flag-journal.ts": "537af612a19da62b604d801581bb9a5070ea6c82b476d24f469ea8082985894a", diff --git a/apps/infra/test/website-build.test.ts b/apps/infra/test/website-build.test.ts index 90d86248..fb17a7c1 100644 --- a/apps/infra/test/website-build.test.ts +++ b/apps/infra/test/website-build.test.ts @@ -159,6 +159,7 @@ it.layer(NodeServices.layer)((test) => { "/", "/lore/services-capture-dependencies", "/news", + "/news/latest", "/directory", ]) ); @@ -208,6 +209,12 @@ it.layer(NodeServices.layer)((test) => { path.join(result.clientDirectory, "news/index.html") ), ], + [ + "/news/latest", + yield* fs.readFileString( + path.join(result.clientDirectory, "news/latest/index.html") + ), + ], [ "/directory", yield* fs.readFileString( diff --git a/apps/site/scripts/cafe-pages.ts b/apps/site/scripts/cafe-pages.ts index d163436f..ff1318ac 100644 --- a/apps/site/scripts/cafe-pages.ts +++ b/apps/site/scripts/cafe-pages.ts @@ -3,7 +3,8 @@ import { cafeDomain, cafeLetterInitial, githubProfileUrl, - selectCafeNews, + rankCafeNews, + sortCafeNewsNewest, sortCafeProjects, verifiedLetters, xProfileUrl, @@ -37,10 +38,12 @@ import { sortSources, threadCounts, } from "../../web/src/features/cafe/copy.ts"; +import { + newsOrder, + otherNewsOrder, +} from "../../web/src/features/cafe/news-order.ts"; import { cafeSubmissionGuide } from "../src/agent-guide.ts"; -const pageLimit = 100; - const submissionSource = [ "", cafeSubmissionPrompt, @@ -93,40 +96,55 @@ const newsItemMarkdown = [ `${index + 1}. [${newsKindLabels[item.kind]}] [${linkText(item.title)}](${item.url}) (${cafeDomain(item.url)})`, ...(item.summary === null ? [] : [` ${item.summary}`]), + ...(item.interest === undefined ? [] : [` ${item.interest.why}`]), ` ${item.date} by ${authorMarkdown(item.author, cafeDomain(item.url))}${profileLink(people, item)}`, ...threadMarkdown(item), ].join("\n"); +export const cafeNewsPageItems = ( + data: CafeDataValue, + sort: keyof typeof newsOrder +) => + sort === "rank" + ? rankCafeNews(data.news, data.rankedAt, data.people).map( + (entry) => entry.item + ) + : sortCafeNewsNewest(data.news); + +const sortMarkdown = [ + `## ${newsCopy.sortHeading}`, + "", + sortSignalsLead, + "", + ...sortSignals.map((signal) => `- ${signal}`), + "", + sortRulesLead, + "", + ...sortRules.map((rule) => `- ${rule}`), + "", + `Prior art: ${sortSources.map((source) => `[${source.label}](${source.href})`).join(", ")}.`, + "", +]; + export const cafeNewsMarkdown = ( data: CafeDataValue, - people: typeof CafePeopleList.Type + people: typeof CafePeopleList.Type, + sort: keyof typeof newsOrder ) => { - const list = selectCafeNews(data, { limit: pageLimit, sort: "rank" }); - const itemMarkdown = newsItemMarkdown(people.people); + const other = otherNewsOrder(sort); return [ - `# ${newsCopy.heading}`, + `# ${sort === "rank" ? newsCopy.heading : newsOrder.newest.heading}`, "", newsCopy.intro, "", - `[${newsCopy.feedLabel}](/news.xml)`, + `[${other.label}](${other.href}) · [${newsCopy.feedLabel}](/news.xml)`, "", - list.items - .map((entry, index) => itemMarkdown(entry.item, index)) + cafeNewsPageItems(data, sort) + .map(newsItemMarkdown(people.people)) .join("\n\n"), "", - `## ${newsCopy.sortHeading}`, - "", - sortSignalsLead, - "", - ...sortSignals.map((signal) => `- ${signal}`), - "", - sortRulesLead, - "", - ...sortRules.map((rule) => `- ${rule}`), - "", - `Prior art: ${sortSources.map((source) => `[${source.label}](${source.href})`).join(", ")}.`, - "", + ...(sort === "rank" ? sortMarkdown : []), submissionSource, ].join("\n"); }; diff --git a/apps/site/scripts/generate-content.ts b/apps/site/scripts/generate-content.ts index 2dd3986a..94266942 100644 --- a/apps/site/scripts/generate-content.ts +++ b/apps/site/scripts/generate-content.ts @@ -53,6 +53,7 @@ import { directoryCopy, newsCopy, } from "../../web/src/features/cafe/copy.ts"; +import { newsOrder } from "../../web/src/features/cafe/news-order.ts"; import { searchCopy } from "../../web/src/features/docs-copy.ts"; import { tubeCopy, @@ -1100,13 +1101,25 @@ const program = Effect.gen(function* generateContent() { const withNewsCallout = (markdown: string, routePath: string) => withNewsPointer(markdown, routePath, newsTitle); - const cafeNewsSource = cafeNewsMarkdown(cafeData, allStarsList); + const cafeNewsPages = [ + { + ...newsOrder.rank, + description: newsCopy.description, + heading: newsCopy.heading, + sort: "rank", + }, + { ...newsOrder.newest, sort: "newest" }, + ] as const; - const cafeNewsText = renderAgentPage( - cafeNewsSource, - "/news", - newsCopy.heading - ); + const cafeNewsSources = cafeNewsPages.map((page) => { + const source = cafeNewsMarkdown(cafeData, allStarsList, page.sort); + + return { + ...page, + source, + text: renderAgentPage(source, page.href, page.heading), + }; + }); const cafeDirectorySource = cafeDirectoryMarkdown(cafeData); @@ -2221,7 +2234,7 @@ Follow [ports and adapters](/lore/hexagonal-architecture) for provider boundarie "- [Public content corpus](__RATSTACK_ORIGIN__/llms-full.txt): rules, lore, and skills in one response", "- [HTTP API](__RATSTACK_ORIGIN__/openapi.json): routes, inputs, outputs, and errors", "- [MCP server](__RATSTACK_ORIGIN__/mcp): Model Context Protocol tools for search, reading, and code in a restricted environment", - "- [CAFE news](__RATSTACK_ORIGIN__/news): reviewed Cloudflare, Alchemy, Foldkit and Effect news, ranked by engagement and freshness; also an [Atom feed](__RATSTACK_ORIGIN__/news.xml) and the `listCafeNews` tool", + "- [CAFE news](__RATSTACK_ORIGIN__/news): reviewed Cloudflare, Alchemy, Foldkit and Effect news, ranked by interest; also [latest first](__RATSTACK_ORIGIN__/news/latest), an [Atom feed](__RATSTACK_ORIGIN__/news.xml) and the `listCafeNews` tool", "- [CAFE directory](__RATSTACK_ORIGIN__/directory): reviewed projects with per-letter stack evidence; also the `listCafeProjects` tool", llmsAllStarsLinks, "- [RatTube](__RATSTACK_ORIGIN__/tube): curated videos for learning Effect, Alchemy, XState, TypeScript, agents and MCP, Cloudflare, and systems thinking, ranked S to F with a short take on each", @@ -2260,7 +2273,7 @@ Follow [ports and adapters](/lore/hexagonal-architecture) for provider boundarie dillonPosterRoutePath, "/glossary", "/og/glossary.png", - "/news", + ...cafeNewsPages.map((page) => page.href), "/news.xml", "/directory", "/all-stars", @@ -2928,7 +2941,7 @@ Follow [ports and adapters](/lore/hexagonal-architecture) for provider boundarie const contentVersion = digest( [ learnCoverageText, - cafeNewsText, + ...cafeNewsSources.map((page) => page.text), cafeDirectoryText, allStarsIndexText, ...allStarsPages.map((page) => page.text), @@ -2992,11 +3005,11 @@ Follow [ports and adapters](/lore/hexagonal-architecture) for provider boundarie } as const; const ogPages: readonly OgPage[] = [ - { - description: newsCopy.description, - routePath: "/news", - title: newsCopy.heading, - }, + ...cafeNewsPages.map((page) => ({ + description: page.description, + routePath: page.href, + title: page.heading, + })), { description: directoryCopy.description, routePath: "/directory", @@ -3482,25 +3495,32 @@ Follow [ports and adapters](/lore/hexagonal-architecture) for provider boundarie }) )(workshop.pages); - const cafeNewsBody = yield* compileMarkdownBody( - cafeNewsSource, - "cafe-news.md", - highlighter, - emptyTargets, - [], - "/news" - ); + const cafeNewsDocuments = yield* Effect.forEach( + (page: (typeof cafeNewsSources)[number]) => + Effect.gen(function* makeCafeNewsDocument() { + const body = yield* compileMarkdownBody( + page.source, + `cafe-news-${page.sort}.md`, + highlighter, + emptyTargets, + [], + page.href + ); - const cafeNewsDocument = yield* makeDocument( - cafeNewsBody.bodyHtml, - { - description: newsCopy.description, - path: "/news", - title: pageTitle(newsCopy.heading), - }, - cafeNewsFile, - contentVersion - ); + const documentHtml = yield* makeDocument( + body.bodyHtml, + { + description: page.description, + path: page.href, + title: pageTitle(page.heading), + }, + cafeNewsFile, + contentVersion + ); + + return { documentHtml, routePath: page.href, text: page.text }; + }) + )(cafeNewsSources); const cafeDirectoryBody = yield* compileMarkdownBody( cafeDirectorySource, @@ -3690,7 +3710,7 @@ Follow [ports and adapters](/lore/hexagonal-architecture) for provider boundarie "/skills", "/glossary", "/prompts", - "/news", + ...cafeNewsPages.map((page) => page.href), "/directory", "/all-stars", ...allStarsProfiles.map((profile) => profile.route), @@ -3827,11 +3847,7 @@ Follow [ports and adapters](/lore/hexagonal-architecture) for provider boundarie routePath: "/prompts", text: promptsIndexMarkdown, }, - { - documentHtml: cafeNewsDocument, - routePath: "/news", - text: cafeNewsText, - }, + ...cafeNewsDocuments, { documentHtml: cafeDirectoryDocument, routePath: "/directory", diff --git a/apps/site/scripts/home-featured.ts b/apps/site/scripts/home-featured.ts index 845c54c9..e1ab8ce9 100644 --- a/apps/site/scripts/home-featured.ts +++ b/apps/site/scripts/home-featured.ts @@ -40,7 +40,7 @@ export const homeFeaturedMarkdown = ( videos: readonly TubeVideoValue[], origin: string ) => { - const news = rankCafeNews(cafe.news, cafe.rankedAt) + const news = rankCafeNews(cafe.news, cafe.rankedAt, cafe.people) .slice(0, featuredCount) .map(({ item }) => [ diff --git a/apps/site/scripts/reader-cafe-flags.ts b/apps/site/scripts/reader-cafe-flags.ts index 8efcb128..8da84a36 100644 --- a/apps/site/scripts/reader-cafe-flags.ts +++ b/apps/site/scripts/reader-cafe-flags.ts @@ -1,6 +1,6 @@ import { CafeDirectory, listPeople } from "@rat-stack/core/cafe-directory"; import { profileForNewsRow } from "@rat-stack/core/cafe-people"; -import { selectCafeNews, sortCafeProjects } from "@rat-stack/core/contracts"; +import { sortCafeProjects } from "@rat-stack/core/contracts"; import { Effect, Option } from "effect"; import { Model } from "../../web/src/client/cafe/model.ts"; @@ -10,6 +10,8 @@ import { directoryCopy, newsCopy, } from "../../web/src/features/cafe/copy.ts"; +import { newsOrder } from "../../web/src/features/cafe/news-order.ts"; +import { cafeNewsPageItems } from "./cafe-pages.ts"; import { ReaderInputError } from "./reader-input-error.ts"; import { prepareReaderSiteInputs } from "./reader-site-inputs.ts"; @@ -21,7 +23,7 @@ export const readerCafeFlags = Effect.fn("readerCafeFlags")( const data = inputs.cafe; const page = Effect.fn("readerCafeFlags.page")(function* page( - path: "/news" | "/directory" | "/all-stars", + path: "/news" | "/news/latest" | "/directory" | "/all-stars", heading: string, sourcePath: string, cafe: CafeModel @@ -60,15 +62,12 @@ export const readerCafeFlags = Effect.fn("readerCafeFlags")( .handler({ limit: pageLimit }) .pipe(Effect.provide(CafeDirectory.layer(data))); - const items = selectCafeNews(data, { - limit: pageLimit, - sort: "rank", - }).items.map((entry) => entry.item); + const newsPage = (sort: keyof typeof newsOrder) => { + const items = cafeNewsPageItems(data, sort); - return [ - yield* page( - "/news", - newsCopy.heading, + return page( + newsOrder[sort].href, + sort === "rank" ? newsCopy.heading : newsOrder.newest.heading, ".brain/data/cafe/news.json", Model.News({ items, @@ -82,8 +81,14 @@ export const readerCafeFlags = Effect.fn("readerCafeFlags")( ) ), rankedAt: data.rankedAt, + sort, }) - ), + ); + }; + + return [ + yield* newsPage("rank"), + yield* newsPage("newest"), yield* page( "/all-stars", allStarsCopy.heading, diff --git a/apps/site/src/content.ts b/apps/site/src/content.ts index dc6589cc..badc0f81 100644 --- a/apps/site/src/content.ts +++ b/apps/site/src/content.ts @@ -106,7 +106,7 @@ Alchemy, Foldkit, the cartridges and the content build are optional. Add each on - [HTTP API](${origin}/openapi.json): routes, inputs, outputs, and errors - [MCP server](${origin}/mcp): Model Context Protocol tools for search, reading, and code in a restricted environment - [Code mode](${origin}/api/execute): run a program instead of several calls; POST JSON with a \`code\` string, or call the MCP \`execute\` tool -- [CAFE news](${origin}/news): reviewed Cloudflare, Alchemy, Foldkit and Effect news, ranked by engagement and freshness; also an [Atom feed](${origin}/news.xml) and the \`listCafeNews\` tool +- [CAFE news](${origin}/news): reviewed Cloudflare, Alchemy, Foldkit and Effect news, ranked by interest; also [latest first](${origin}/news/latest), an [Atom feed](${origin}/news.xml) and the \`listCafeNews\` tool - [CAFE directory](${origin}/directory): reviewed projects with per-letter stack evidence; also the \`listCafeProjects\` tool. Suggest entries through GitHub with the approval steps below. ${catalog.llmsAllStarsLinks.replaceAll(originToken, origin)} - [RatTube](${origin}/tube): curated videos for learning Effect, Alchemy, XState, TypeScript, agents and MCP, Cloudflare, and systems thinking, ranked S to F with a short take on each diff --git a/apps/site/src/reader-website.ts b/apps/site/src/reader-website.ts index 0adf2d7e..09c77134 100644 --- a/apps/site/src/reader-website.ts +++ b/apps/site/src/reader-website.ts @@ -21,6 +21,7 @@ export const readerWebsiteRoutes: readonly string[] = [ "/all-stars/*", "/directory", "/news", + "/news/latest", "/search", "/README.md", "/VISION.md", diff --git a/apps/site/test/content.test.ts b/apps/site/test/content.test.ts index 743b9f79..3f10bfe6 100644 --- a/apps/site/test/content.test.ts +++ b/apps/site/test/content.test.ts @@ -1075,6 +1075,7 @@ it.layer(contentServices)("generated content", (test) => { "/lore", "/prompts", "/news", + "/news/latest", "/directory", ...allStarsRoutes, "/tube", diff --git a/apps/site/test/emit-assets.test.ts b/apps/site/test/emit-assets.test.ts index 33a35a7c..5b063b7e 100644 --- a/apps/site/test/emit-assets.test.ts +++ b/apps/site/test/emit-assets.test.ts @@ -60,6 +60,7 @@ it.effect( "/lore", "/prompts", "/news", + "/news/latest", "/directory", "/tube", ...tube.videos.flatMap((video) => diff --git a/apps/site/test/worker.test.ts b/apps/site/test/worker.test.ts index df9fcb4f..5b7c5e24 100644 --- a/apps/site/test/worker.test.ts +++ b/apps/site/test/worker.test.ts @@ -2471,6 +2471,17 @@ it.effect( new Request("http://localhost/news") ); + const latest = yield* responseText( + handler, + new Request("http://localhost/news/latest") + ); + + const latestUrls = [ + ...latest.matchAll( + /^\d+\. +\\\[[^\]]+\] \[[^\]]+\]\((?\S+)\) \(/gmu + ), + ].map((match) => match.groups?.url); + const directory = yield* responseText( handler, new Request("http://localhost/directory") @@ -2483,10 +2494,33 @@ it.effect( expect(feedIds).toStrictEqual( listed.items.map((entry) => entry.item.url) ); + expect(latestUrls.slice(0, listed.items.length)).toStrictEqual(feedIds); + expect(latestUrls).toHaveLength(listed.total); expect(news).toContain("## How this list is sorted"); + expect(news).toContain("[Latest first](/news/latest)"); + expect(latest).toContain("[Ranked by interest](/news)"); + expect(latest).not.toContain("## How this list is sorted"); + + const first = listed.items.at(0); + expect(first?.why).toBe(first?.item.interest?.why); + expect(first?.why).toBeTruthy(); + expect(news).toContain(first?.why ?? ""); + expect(latest).toContain(first?.why ?? ""); expect(directory).toContain("# CAFE directory"); - for (const route of ["/news", "/directory", "/llms.txt"]) { + const sitemap = yield* responseText( + handler, + new Request("http://localhost/sitemap.xml") + ); + + expect(sitemap).toContain("/news/latest"); + + for (const route of [ + "/news", + "/news/latest", + "/directory", + "/llms.txt", + ]) { const agentView = yield* responseText( handler, new Request(`http://localhost${route}`, { @@ -2494,6 +2528,10 @@ it.effect( }) ); + if (route === "/llms.txt") { + expect(agentView).toContain("/news/latest)"); + } + expect(agentView).toContain("cafe-news.yml"); expect(agentView).toContain("cafe-project.yml"); expect(agentView).toContain( diff --git a/apps/web/src/client/cafe/model.ts b/apps/web/src/client/cafe/model.ts index 56309558..56ece838 100644 --- a/apps/web/src/client/cafe/model.ts +++ b/apps/web/src/client/cafe/model.ts @@ -1,6 +1,7 @@ import { CafeLetter, CafeNewsItem, + CafeNewsSort, CafePersonSummary, CafeProject, IsoDate, @@ -26,6 +27,7 @@ export const Model = defineTaggedUnion({ items: Schema.Array(CafeNewsItem), profiles: Schema.Array(NewsProfileLink), rankedAt: IsoDate, + sort: CafeNewsSort, }, }); diff --git a/apps/web/src/features/cafe/copy.ts b/apps/web/src/features/cafe/copy.ts index 143f455b..4c5eacd4 100644 --- a/apps/web/src/features/cafe/copy.ts +++ b/apps/web/src/features/cafe/copy.ts @@ -1,7 +1,17 @@ import { + CAFE_AGE_DAYS_PER_POINT, + CAFE_AUTHOR_MINIMUM, + CAFE_DEFAULT_EDITORIAL, + CAFE_DEFAULT_SUBSTANCE, CAFE_DIVERSITY_PENALTY, - CAFE_FRESHNESS_HOURS, - cafeSignalWeights, + CAFE_EDITORIAL_MAX, + CAFE_MIDRANK_SHARE, + CAFE_NEUTRAL_PERCENTILE, + CAFE_PEER_LIMIT, + CAFE_PEER_POINTS, + CAFE_POPULARITY_POINTS, + CAFE_TOPIC_PENALTY, + cafeSubstancePoints, } from "@rat-stack/core/contracts"; import type { CafeHandleKind, @@ -39,26 +49,26 @@ export const newsCopy = { }; export const sortSignalsLead = - "Each entry gets a score from the signals we already have:"; + "Interest adds up popularity, substance, editorial judgment and peer engagement, then subtracts age."; export const sortSignals = [ - "X likes, replies and the number of people in a thread", - "GitHub stars, and the date of the last push", - "YouTube views", - "The number of independent crawlers that found the entry", - "The date of the entry", + `Popularity contributes up to ${CAFE_POPULARITY_POINTS} points. For X threads, add log10(1 + count) for each of likes, replies, participants and bookmarks. For videos, use log10(1 + views). For launches, use log10(1 + stars). Missing counts are zero.`, + `Compare that total with entries on the same platform: count the entries below it and ${CAFE_MIDRANK_SHARE} of those tied with it, then divide by the number of entries. If the author has at least ${CAFE_AUTHOR_MINIMUM} entries on that platform, average this result with the same calculation over that author's entries. Multiply the result by ${CAFE_POPULARITY_POINTS}.`, + `Releases and posts get a neutral percentile of ${CAFE_NEUTRAL_PERCENTILE}. Repo stars measure the repo, not the release.`, + `Substance: proofs and techniques get ${cafeSubstancePoints.proof} point, demos get ${cafeSubstancePoints.demo}, releases and tools get ${cafeSubstancePoints.release}, and announcements get ${cafeSubstancePoints.announcement}.`, + `Editorial: from ${CAFE_DEFAULT_EDITORIAL} to ${CAFE_EDITORIAL_MAX} points. ${CAFE_EDITORIAL_MAX} is reserved for news that changes how people build on the stack.`, + `Peers: ${CAFE_PEER_POINTS} points each for up to ${CAFE_PEER_LIMIT} distinct All Stars who replied, quoted or shared a link, including All Stars in the top replies. The author does not count.`, + `Age subtracts one point per ${CAFE_AGE_DAYS_PER_POINT} days since the entry date or last push, whichever is later. Future dates count as zero days old.`, + `Unrated entries get ${CAFE_DEFAULT_SUBSTANCE} substance points, ${CAFE_DEFAULT_EDITORIAL} editorial points and a topic of their own.`, ] as const; -export const sortRulesLead = "The score follows these rules:"; +export const sortRulesLead = + "We place the highest remaining score first and recalculate after each placement:"; export const sortRules = [ - `Each signal adds its weight times log10(1 + signal). Views weigh ${cafeSignalWeights.views}. Every other signal weighs ${cafeSignalWeights.likes}.`, - `Age subtracts one point for every ${CAFE_FRESHNESS_HOURS} hours since the entry date or the last push.`, - `So 10 times the engagement is worth ${CAFE_FRESHNESS_HOURS} hours of freshness.`, - "A missing signal counts as zero.", - `After scoring, an entry loses ${CAFE_DIVERSITY_PENALTY} points for each higher entry by the same author or from the same site.`, - "Equal scores go to the newer entry, then to the earlier URL.", - "Votes come in a later phase. A Wilson score suits up and down votes, so it waits until we have them.", + `An entry loses ${CAFE_DIVERSITY_PENALTY} points for each higher entry by the same author or from the same site. We identify the author by X handle, then GitHub login, then the site's hostname.`, + `An entry loses ${CAFE_TOPIC_PENALTY} points for each higher entry on the same topic with an equal or higher editorial score.`, + "Equal scores go to the newer entry, then to the earlier URL in alphabetical order.", ] as const; export const sortSources = [ diff --git a/apps/web/src/features/cafe/news-order.ts b/apps/web/src/features/cafe/news-order.ts new file mode 100644 index 00000000..60cb211e --- /dev/null +++ b/apps/web/src/features/cafe/news-order.ts @@ -0,0 +1,15 @@ +export const newsOrder = { + newest: { + description: "Reviewed stack news, newest first.", + heading: "Latest news", + href: "/news/latest", + label: "Latest first", + }, + rank: { + href: "/news", + label: "Ranked by interest", + }, +} as const; + +export const otherNewsOrder = (sort: keyof typeof newsOrder) => + newsOrder[sort === "rank" ? "newest" : "rank"]; diff --git a/apps/web/src/features/cafe/news.ts b/apps/web/src/features/cafe/news.ts index d6afa239..c669bef1 100644 --- a/apps/web/src/features/cafe/news.ts +++ b/apps/web/src/features/cafe/news.ts @@ -28,6 +28,7 @@ import { sortSources, threadCounts, } from "./copy.js"; +import { otherNewsOrder } from "./news-order.js"; const shownReplies = 3; @@ -135,6 +136,14 @@ const itemView = ( ...Option.toArray(Option.fromNullishOr(item.summary)).map((summary) => h.p([], [summary]) ), + ...(item.interest === undefined + ? [] + : [ + h.p( + [h.Class(stylex.props(cafeStyles.meta).className ?? "")], + [item.interest.why] + ), + ]), h.p( [h.Class(stylex.props(cafeStyles.meta).className ?? "")], [ @@ -179,17 +188,27 @@ const sortSectionView = (h: HtmlBuilder): Html => ] ); -export const view = (model: NewsModel, h: HtmlBuilder): Html => - h.div( +export const view = (model: NewsModel, h: HtmlBuilder): Html => { + const other = otherNewsOrder(model.sort); + + return h.div( [], [ h.p([], [newsCopy.intro]), - h.p([], [h.a([h.Href(newsFeedRouter())], [newsCopy.feedLabel])]), + h.p( + [], + [ + h.a([h.Href(other.href)], [other.label]), + " · ", + h.a([h.Href(newsFeedRouter())], [newsCopy.feedLabel]), + ] + ), h.ol( [h.Class(stylex.props(cafeStyles.list).className ?? "")], model.items.map((item) => itemView(h, model.profiles, item)) ), - sortSectionView(h), + ...(model.sort === "rank" ? [sortSectionView(h)] : []), h.p([], [cafeSubmissionPrompt]), ] ); +}; diff --git a/apps/web/src/reader-routes.ts b/apps/web/src/reader-routes.ts index cd5075a5..10999dba 100644 --- a/apps/web/src/reader-routes.ts +++ b/apps/web/src/reader-routes.ts @@ -5,6 +5,7 @@ export const readerRoutePaths: readonly string[] = [ "/lore/services-capture-dependencies", "/learn", "/news", + "/news/latest", "/directory", "/all-stars", "/search", diff --git a/apps/web/test/cafe.scene.test.ts b/apps/web/test/cafe.scene.test.ts index c5ae80f1..e872fdcd 100644 --- a/apps/web/test/cafe.scene.test.ts +++ b/apps/web/test/cafe.scene.test.ts @@ -11,7 +11,12 @@ import { directoryHome, fullStack } from "./cafe-fixture.js"; it("CAFE pages show the short prompt instead of the agent filing instructions", () => { for (const model of [ directoryHome, - Model.News({ items: [], profiles: [], rankedAt: fullStack.date }), + Model.News({ + items: [], + profiles: [], + rankedAt: fullStack.date, + sort: "rank", + }), ]) { scene( { update, view }, @@ -134,6 +139,7 @@ it("a news row whose author has a profile links to it", () => { items: [row], profiles: [{ name: "Ada", route: "/all-stars/ada", url: row.url }], rankedAt: row.date, + sort: "rank", }) ), expect(role("link", { name: "Ada on all stars" })).toHaveAttr( diff --git a/apps/web/test/cafe.story.test.ts b/apps/web/test/cafe.story.test.ts index 326fc4f3..28bd7511 100644 --- a/apps/web/test/cafe.story.test.ts +++ b/apps/web/test/cafe.story.test.ts @@ -73,6 +73,7 @@ it.prop( rankedAt: Schema.decodeSync(Schema.String.pipe(Schema.brand("IsoDate")))( "2026-10-08" ), + sort: "rank", }); story( diff --git a/packages/core/src/cafe.ts b/packages/core/src/cafe.ts index 3254c8d5..fad068fe 100644 --- a/packages/core/src/cafe.ts +++ b/packages/core/src/cafe.ts @@ -103,8 +103,10 @@ export const CafeProject = Schema.Struct({ export type CafeProjectValue = typeof CafeProject.Type; export const CafeEngagement = Schema.Struct({ + bookmarks: Schema.optionalKey(Count), likes: Schema.optionalKey(Count), participants: Schema.optionalKey(Count), + peers: Schema.optionalKey(Schema.Array(XHandle)), pushedAt: Schema.optionalKey(IsoDate), replies: Schema.optionalKey(Count), seen: Schema.optionalKey(Count), @@ -121,10 +123,35 @@ export const CafeReply = Schema.Struct({ x: XHandle, }); +export const CafeTopic = Schema.String.check( + Schema.isPattern(/^[a-z0-9]+(?:-[a-z0-9]+)*$/u) +).pipe(Schema.brand("CafeTopic")); + +export const CAFE_EDITORIAL_MAX = 3; + +const CafeWhy = OneLine.check(Schema.isMinLength(3), Schema.isMaxLength(60)); + +export const CafeInterest = Schema.Struct({ + editorial: Schema.Int.check( + Schema.isBetween({ minimum: 0, maximum: CAFE_EDITORIAL_MAX }) + ), + substance: Schema.Literals([ + "proof", + "technique", + "demo", + "release", + "tool", + "announcement", + ]), + topic: CafeTopic, + why: CafeWhy, +}); + const storyFields = { author: CafeAuthor, date: IsoDate, engagement: Schema.optionalKey(CafeEngagement), + interest: Schema.optionalKey(CafeInterest), repo: Schema.NullOr(RepoName), source: HttpsUrl, summary: OneLine, @@ -173,6 +200,7 @@ export const CafeProjectSort = Schema.Literals(["updated", "stars"]); export const RankedCafeNewsItem = Schema.Struct({ item: CafeNewsItem, score: Schema.Finite, + why: Schema.NullOr(CafeWhy), }); export type RankedCafeNewsItemValue = typeof RankedCafeNewsItem.Type; @@ -181,10 +209,6 @@ export const PersonId = Schema.String.check( Schema.isPattern(/^[a-z0-9](?:[a-z0-9-]{0,38})$/u) ).pipe(Schema.brand("PersonId")); -export const CafeTopic = Schema.String.check( - Schema.isPattern(/^[a-z0-9]+(?:-[a-z0-9]+)*$/u) -).pipe(Schema.brand("CafeTopic")); - export const PackageName = Schema.String.check( Schema.isPattern(/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/u) ).pipe(Schema.brand("PackageName")); @@ -282,42 +306,36 @@ export const CafeData = Schema.Struct({ export type CafeDataValue = typeof CafeData.Type; -export const CAFE_FRESHNESS_HOURS = 72; +export const CAFE_AGE_DAYS_PER_POINT = 7; export const CAFE_DIVERSITY_PENALTY = 0.5; -export const CafeSignal = Schema.Literals([ - "likes", - "replies", - "participants", - "seen", - "stars", - "views", -]); +export const CAFE_TOPIC_PENALTY = 0.75; -export type CafeSignalValue = typeof CafeSignal.Type; - -export const cafeSignalWeights = { - likes: 1, - participants: 1, - replies: 1, - seen: 1, - stars: 1, - views: 0.5, -} as const satisfies Record; - -export const cafeSignals = ( - engagement: CafeEngagementValue | undefined -): Record => ({ - likes: engagement?.likes ?? 0, - participants: engagement?.participants ?? 0, - replies: engagement?.replies ?? 0, - seen: engagement?.seen ?? 0, - stars: engagement?.stars ?? 0, - views: engagement?.views ?? 0, -}); +export const CAFE_POPULARITY_POINTS = 2; -const hoursPerMillisecond = 1 / 3_600_000; +export const CAFE_NEUTRAL_PERCENTILE = 0.5; + +export const CAFE_MIDRANK_SHARE = 0.5; + +export const CAFE_AUTHOR_MINIMUM = 3; + +export const CAFE_PEER_POINTS = 0.5; + +export const CAFE_PEER_LIMIT = 2; + +export const CAFE_DEFAULT_SUBSTANCE = 0.5; + +export const CAFE_DEFAULT_EDITORIAL = 0; + +export const cafeSubstancePoints = { + announcement: 0.25, + demo: 0.75, + proof: 1, + release: 0.5, + technique: 1, + tool: 0.5, +} as const satisfies Record<(typeof CafeInterest.Type)["substance"], number>; const dayStart = (date: IsoDateValue) => DateTime.toEpochMillis(DateTime.makeUnsafe(`${date}T00:00:00Z`)); @@ -325,36 +343,144 @@ const dayStart = (date: IsoDateValue) => const freshestDate = (item: CafeNewsItemValue) => Math.max( dayStart(item.date), - item.engagement?.pushedAt === undefined - ? Number.NEGATIVE_INFINITY - : dayStart(item.engagement.pushedAt) + dayStart(item.engagement?.pushedAt ?? item.date) ); -export const cafeNewsScore = ( - item: CafeNewsItemValue, - now: IsoDateValue -): number => { - const signals = cafeSignals(item.engagement); - - const engagement = Arr.reduce( - CafeSignal.literals, - 0, - (total, signal) => - total + cafeSignalWeights[signal] * Math.log10(1 + signals[signal]) +export const cafeDomain = (url: string) => new URL(url).hostname; + +const authorKey = (item: CafeNewsItemValue) => + (item.author.x ?? item.author.github ?? cafeDomain(item.url)).toLowerCase(); + +const logCount = (value = 0) => Math.log10(1 + value); + +const rawPopularity = (item: CafeNewsItemValue) => { + if (item.kind === "thread") { + return ( + logCount(item.engagement.likes) + + logCount(item.engagement.replies) + + logCount(item.engagement.participants) + + logCount(item.engagement.bookmarks) + ); + } + + if (item.kind === "video") { + return logCount(item.engagement?.views); + } + + if (item.kind === "launch") { + return logCount(item.engagement?.stars); + } + + return null; +}; + +const percentile = (value: number, pool: readonly number[]) => + Arr.reduce(pool, 0, (rank, candidate) => { + if (candidate < value) { + return rank + 1; + } + + return candidate === value ? rank + CAFE_MIDRANK_SHARE : rank; + }) / pool.length; + +const peerHandles = (people: readonly Pick[]) => + new Set( + people.flatMap((person) => + person.handles + .filter((handle) => handle.kind === "x") + .map((handle) => handle.handle.toLowerCase()) + ) ); - const ageHours = Math.max( - 0, - (dayStart(now) - freshestDate(item)) * hoursPerMillisecond +const peerPoints = (item: CafeNewsItemValue, allStars: ReadonlySet) => { + const peers = new Set( + (item.engagement?.peers ?? []).map((handle) => handle.toLowerCase()) ); - return engagement - ageHours / CAFE_FRESHNESS_HOURS; + if (item.kind === "thread") { + for (const reply of item.topReplies) { + const handle = reply.x.toLowerCase(); + + if (allStars.has(handle)) { + peers.add(handle); + } + } + } + + if (item.author.x !== null) { + peers.delete(item.author.x.toLowerCase()); + } + + return CAFE_PEER_POINTS * Math.min(peers.size, CAFE_PEER_LIMIT); }; -export const cafeDomain = (url: string) => new URL(url).hostname; +const editorial = (item: CafeNewsItemValue) => + item.interest?.editorial ?? CAFE_DEFAULT_EDITORIAL; -const authorKey = (item: CafeNewsItemValue) => - item.author.x ?? item.author.github ?? cafeDomain(item.url); +const topic = (item: CafeNewsItemValue) => item.interest?.topic ?? item.url; + +const scoreCafeNews = ( + items: readonly CafeNewsItemValue[], + now: IsoDateValue, + people: readonly Pick[] +): readonly RankedCafeNewsItemValue[] => { + const rankedAt = dayStart(now); + const allStars = peerHandles(people); + + const pools = Arr.groupBy( + items.flatMap((item) => { + const value = rawPopularity(item); + + return value === null + ? [] + : [{ author: authorKey(item), kind: item.kind, value }]; + }), + (row) => row.kind + ); + + return items.map((item) => { + const value = rawPopularity(item); + const pool = pools[item.kind] ?? []; + const author = authorKey(item); + const own = pool.filter((row) => row.author === author); + + const field = + value === null + ? CAFE_NEUTRAL_PERCENTILE + : percentile( + value, + pool.map((row) => row.value) + ); + + const popularity = + value !== null && own.length >= CAFE_AUTHOR_MINIMUM + ? (field + + percentile( + value, + own.map((row) => row.value) + )) / + 2 + : field; + + const substance = + item.interest === undefined + ? CAFE_DEFAULT_SUBSTANCE + : cafeSubstancePoints[item.interest.substance]; + + const ageDays = Math.max(0, (rankedAt - freshestDate(item)) / 86_400_000); + + return { + item, + score: + CAFE_POPULARITY_POINTS * popularity + + substance + + editorial(item) + + peerPoints(item, allStars) - + ageDays / CAFE_AGE_DAYS_PER_POINT, + why: item.interest?.why ?? null, + }; + }); +}; const newestFirst = Order.combine( Order.flip( @@ -377,48 +503,68 @@ export const sortCafeNewsNewest = ( items: readonly CafeNewsItemValue[] ): readonly CafeNewsItemValue[] => Arr.sort(items, newestFirst); -export const rankCafeNews = ( - items: readonly CafeNewsItemValue[], - now: IsoDateValue +const rankScoredCafeNews = ( + scored: readonly RankedCafeNewsItemValue[] ): readonly RankedCafeNewsItemValue[] => { - const pick = ( - remaining: readonly RankedCafeNewsItemValue[], - ranked: readonly RankedCafeNewsItemValue[] - ): readonly RankedCafeNewsItemValue[] => { - const repeats = (entry: RankedCafeNewsItemValue) => - ranked.filter( - (placed) => - authorKey(placed.item) === authorKey(entry.item) || - cafeDomain(placed.item.url) === cafeDomain(entry.item.url) - ).length; - - return Option.match( - Arr.head( - Arr.sort( - remaining.map((entry) => ({ - ...entry, - score: entry.score - CAFE_DIVERSITY_PENALTY * repeats(entry), - })), - byAdjustedScore - ) - ), - { - onNone: () => ranked, - onSome: (next) => - pick( - remaining.filter((entry) => entry.item.url !== next.item.url), - [...ranked, next] - ), - } + const ranked: RankedCafeNewsItemValue[] = []; + + let pending = scored.map((entry) => ({ + author: authorKey(entry.item), + base: entry.score, + diversity: 0, + entry, + site: cafeDomain(entry.item.url), + topic: topic(entry.item), + topicRepeats: 0, + })); + + while (pending.length > 0) { + const [next, ...rest] = pending.toSorted((a, b) => + byAdjustedScore(a.entry, b.entry) ); - }; - return pick( - items.map((item) => ({ item, score: cafeNewsScore(item, now) })), - [] - ); + if (next === undefined) { + break; + } + + ranked.push(next.entry); + pending = rest.map((row) => { + const diversity = + row.diversity + + Number(row.author === next.author || row.site === next.site); + + const topicRepeats = + row.topicRepeats + + Number( + row.topic === next.topic && + editorial(next.entry.item) >= editorial(row.entry.item) + ); + + return { + ...row, + diversity, + entry: { + ...row.entry, + score: + row.base - + (CAFE_DIVERSITY_PENALTY * diversity + + CAFE_TOPIC_PENALTY * topicRepeats), + }, + topicRepeats, + }; + }); + } + + return ranked; }; +export const rankCafeNews = ( + items: readonly CafeNewsItemValue[], + now: IsoDateValue, + people: readonly Pick[] = [] +): readonly RankedCafeNewsItemValue[] => + rankScoredCafeNews(scoreCafeNews(items, now, people)); + export const cafeRankedAt = ( news: readonly CafeNewsItemValue[], projects: readonly CafeProjectValue[] @@ -583,15 +729,18 @@ export const selectCafeNews = ( query: typeof CafeNewsQuery.Type ): typeof CafeNewsList.Type => { const sort = query.sort ?? "rank"; - const ranked = rankCafeNews(data.news, data.rankedAt); + const scored = scoreCafeNews(data.news, data.rankedAt, data.people); const ordered = sort === "rank" - ? ranked - : sortCafeNewsNewest(data.news).map((item) => ({ - item, - score: cafeNewsScore(item, data.rankedAt), - })); + ? rankScoredCafeNews(scored) + : Arr.sort( + scored, + Order.mapInput( + newestFirst, + (entry: RankedCafeNewsItemValue) => entry.item + ) + ); const matching = ordered.filter( (entry) => query.kind === undefined || entry.item.kind === query.kind diff --git a/packages/core/src/contracts.ts b/packages/core/src/contracts.ts index b0674513..28384031 100644 --- a/packages/core/src/contracts.ts +++ b/packages/core/src/contracts.ts @@ -36,8 +36,18 @@ export { UnknownPerson } from "./unknown-person.js"; export { AssetReadError } from "./asset-read-error.js"; export { + CAFE_AGE_DAYS_PER_POINT, + CAFE_AUTHOR_MINIMUM, + CAFE_DEFAULT_EDITORIAL, + CAFE_DEFAULT_SUBSTANCE, CAFE_DIVERSITY_PENALTY, - CAFE_FRESHNESS_HOURS, + CAFE_EDITORIAL_MAX, + CAFE_MIDRANK_SHARE, + CAFE_NEUTRAL_PERCENTILE, + CAFE_PEER_LIMIT, + CAFE_PEER_POINTS, + CAFE_POPULARITY_POINTS, + CAFE_TOPIC_PENALTY, AvatarPath, CafeAuthor, CafeData, @@ -46,6 +56,7 @@ export { CafeFact, CafeHandle, CafeHandleKind, + CafeInterest, CafeLetter, CafeNewsItem, CafeNewsKind, @@ -70,7 +81,6 @@ export { CafeProjectQuery, CafeProjectSort, CafeReply, - CafeSignal, CafeStackEvidence, CafeStory, CafeThread, @@ -91,10 +101,8 @@ export { cafeDomain, cafeLetterInitial, cafeLetters, - cafeNewsScore, cafeRankedAt, - cafeSignalWeights, - cafeSignals, + cafeSubstancePoints, filterCafeProjects, githubProfileUrl, rankCafeNews, @@ -115,7 +123,6 @@ export type { CafePersonValue, CafeProfileValue, CafeProjectValue, - CafeSignalValue, IsoDateValue, RankedCafeNewsItemValue, } from "./cafe.js"; @@ -334,7 +341,7 @@ export const getPromptContract = defineContract("getPrompt", { export const listCafeNewsContract = defineContract("listCafeNews", { annotations: { idempotent: true, readOnly: true }, description: - "List reviewed CAFE stack news: Cloudflare, Alchemy, Foldkit and Effect releases, posts, videos, launches and X threads. Sort by rank (engagement signals with a freshness decay) or newest, and filter by kind.", + "List reviewed CAFE stack news: Cloudflare, Alchemy, Foldkit and Effect releases, posts, videos, launches and X threads. Sort by interest rank or newest, and filter by kind. Each reviewed entry includes its reason for appearing.", failure: AssetReadError, input: CafeNewsQuery, output: CafeNewsList, diff --git a/packages/core/test/cafe-arbitraries.ts b/packages/core/test/cafe-arbitraries.ts index 7a7490e5..a0d23f9a 100644 --- a/packages/core/test/cafe-arbitraries.ts +++ b/packages/core/test/cafe-arbitraries.ts @@ -6,7 +6,7 @@ import { CafeLetter, CafeProject, CafeStory, - CafeSignal, + CafeThread, IsoDate, } from "../src/contracts.js"; import type { CafeEngagementValue } from "../src/contracts.js"; @@ -140,7 +140,36 @@ export const quietStories = Arbitrary.array( ) ); -export const signal = Arbitrary.schema(CafeSignal); +export const thread = Arbitrary.all({ + author: handle, + bookmarks: int(0, 10_000), + date: isoDate, + likes: int(0, 10_000), + participants: int(0, 100), + replies: int(0, 100), + slug: int(0, 1_000_000), +}).pipe( + Arbitrary.map(({ author, date, slug, ...counts }) => { + const url = `https://x.com/${author}/status/${slug}`; + + return Schema.decodeSync(CafeThread)({ + author: { github: null, x: author }, + date, + engagement: counts, + kind: "thread", + repo: null, + source: url, + summary: null, + title: "A generated thread", + topReplies: [], + url, + }); + }) +); + +export const threads = Arbitrary.array(thread, { maxLength: 12 }).pipe( + Arbitrary.map(uniqueByUrl) +); export const letters = Arbitrary.array(Arbitrary.schema(CafeLetter), { maxLength: 4, diff --git a/packages/core/test/cafe.test.ts b/packages/core/test/cafe.test.ts index 9ef4044e..c71d3f34 100644 --- a/packages/core/test/cafe.test.ts +++ b/packages/core/test/cafe.test.ts @@ -6,13 +6,11 @@ import { CafeProject, CafeStory, cafeLetters, - cafeNewsScore, - cafeSignals, + CafeInterest, filterCafeProjects, rankCafeNews, verifiedLetters, } from "../src/contracts.js"; -import type { CafeSignalValue } from "../src/contracts.js"; import { decodeCafeEntries } from "../src/index.js"; import { handle, @@ -22,137 +20,169 @@ import { project, projects, quietStories, - signal, + threads, stories, story, } from "./cafe-arbitraries.js"; -const raised = ( - item: typeof CafeStory.Type, - raisedSignal: CafeSignalValue, - amount: number -): typeof CafeStory.Type => { - const encoded = Schema.encodeSync(CafeStory)(item); - const engagement = encoded.engagement ?? {}; - const current = cafeSignals(item.engagement); - - return Schema.decodeSync(CafeStory)({ - ...encoded, - engagement: { - ...engagement, - [raisedSignal]: current[raisedSignal] + amount, - }, - }); -}; +const int = (minimum: number, maximum: number) => + Arbitrary.schema(Schema.Int.check(Schema.isBetween({ maximum, minimum }))); const urls = (items: readonly { readonly item: { readonly url: string } }[]) => items.map((entry) => entry.item.url); -describe("cafeNewsScore", () => { +const interest = (editorial: number, topic: string) => + CafeInterest.make({ + editorial, + substance: "proof", + topic: Schema.decodeSync(CafeInterest.fields.topic)(topic), + why: "Shows a useful technique", + }); + +describe("rankCafeNews", () => { it.prop( - "raising any single signal never lowers the score", - { - amount: Arbitrary.schema( - Schema.Int.check(Schema.isBetween({ maximum: 100_000, minimum: 1 })) - ), - item: story, - now: isoDate, - raisedSignal: signal, - }, - ({ amount, item, now, raisedSignal }) => { - expect( - cafeNewsScore(raised(item, raisedSignal, amount), now) - ).toBeGreaterThanOrEqual(cafeNewsScore(item, now)); + "ranking is a total, input-order-independent permutation", + { now: isoDate, quiet: quietStories, stories, threads }, + ({ now, quiet, stories: generatedStories, threads: generatedThreads }) => { + const items = [...generatedStories, ...quiet, ...generatedThreads]; + const ranked = rankCafeNews(items, now); + const reversed = rankCafeNews(items.toReversed(), now); + + const rotated = rankCafeNews( + [...items.slice(1), ...items.slice(0, 1)], + now + ); + + expect(urls(ranked).toSorted()).toStrictEqual( + items.map((item) => item.url).toSorted() + ); + expect(reversed).toStrictEqual(ranked); + expect(rotated).toStrictEqual(ranked); } ); it.prop( - "a later GitHub push never lowers the score", - { - days: Arbitrary.schema( - Schema.Int.check(Schema.isBetween({ maximum: 400, minimum: 0 })) - ), - item: story, - now: isoDate, - }, - ({ days, item, now }) => { - const pushedAt = isoDateAfter(item.date, days); + "release and post stars do not change any score", + { item: story, now: isoDate, stars: int(1, 1_000_000) }, + ({ item, now, stars }) => { + const twin = (kind: "post" | "release", slug: string) => + Schema.decodeSync(CafeStory)({ + ...item, + engagement: { ...item.engagement, stars: 0 }, + kind, + url: `https://example.com/${kind}/${slug}`, + }); + + const post = twin("post", "a"); + const release = twin("release", "a"); + const others = [twin("post", "b"), twin("release", "b")]; expect( - cafeNewsScore( - { ...item, engagement: { ...item.engagement, pushedAt } }, - now - ) - ).toBeGreaterThanOrEqual( - cafeNewsScore( - { ...item, engagement: { ...item.engagement, pushedAt: item.date } }, + rankCafeNews( + [ + ...[post, release].map((row) => ({ + ...row, + engagement: { ...row.engagement, stars }, + })), + ...others, + ], now - ) + ).map((entry) => ({ score: entry.score, url: entry.item.url })) + ).toStrictEqual( + rankCafeNews([post, release, ...others], now).map((entry) => ({ + score: entry.score, + url: entry.item.url, + })) ); } ); it.prop( - "the score never rises as the entry gets older", + "raising one row's editorial never lowers its position", { - days: Arbitrary.schema( - Schema.Int.check(Schema.isBetween({ maximum: 400, minimum: 0 })) - ), + editorial: int(0, 2), item: story, now: isoDate, + others: stories, + topicOffset: int(0, 2), }, - ({ days, item, now }) => { - expect(cafeNewsScore(item, isoDateAfter(now, days))).toBeLessThanOrEqual( - cafeNewsScore(item, now) - ); + ({ editorial, item, now, others, topicOffset }) => { + const target = { ...item, interest: interest(editorial, "topic-a") }; + + const rest = others + .filter((row) => row.url !== target.url) + .map((row, index) => ({ + ...row, + interest: interest( + (index + topicOffset) % 4, + index % 2 === 0 ? "topic-a" : "topic-b" + ), + })); + + const position = (row: typeof target) => + urls(rankCafeNews([row, ...rest], now)).indexOf(target.url); + + expect( + position({ ...target, interest: interest(editorial + 1, "topic-a") }) + ).toBeLessThanOrEqual(position(target)); } ); it.prop( - "missing signals score the same as zero signals", - { item: story, now: isoDate }, - ({ item, now }) => { - const { engagement: _engagement, ...bare } = item; - - expect(cafeNewsScore(bare, now)).toBe( - cafeNewsScore( - { - ...bare, - engagement: { - likes: 0, - participants: 0, - replies: 0, - seen: 0, - stars: 0, - views: 0, - }, - }, - now - ) - ); + "a higher placement on the topic with lower editorial cannot demote the target", + { editorial: int(1, 3), item: story, now: isoDate, daysApart: int(8, 21) }, + ({ editorial, item, now, daysApart }) => { + const row = (name: string, points: number, topic: string, days: number) => + Schema.decodeSync(CafeStory)({ + ...item, + author: { github: null, x: null }, + date: isoDateAfter(now, -days), + engagement: {}, + interest: interest(points, topic), + kind: "post", + url: `https://${name}.example/article`, + }); + + const low = row("low", editorial - 1, "other-topic", 0); + const high = row("high", editorial, "same-topic", daysApart); + const rival = row("rival", editorial, "other-topic", daysApart + 1); + + const positions = (topic: string) => + urls( + rankCafeNews( + [{ ...low, interest: interest(editorial - 1, topic) }, high, rival], + now + ) + ); + + expect(positions("same-topic")).toStrictEqual(positions("third-topic")); + expect(positions("same-topic")).toStrictEqual([ + low.url, + high.url, + rival.url, + ]); } ); -}); -describe("rankCafeNews", () => { it.prop( - "ranking is a total, input-order-independent permutation", - { items: stories, now: isoDate, quiet: quietStories }, - ({ items: loud, now, quiet }) => { - const items = [...loud, ...quiet]; - const ranked = rankCafeNews(items, now); - const reversed = rankCafeNews(items.toReversed(), now); - - const rotated = rankCafeNews( - [...items.slice(1), ...items.slice(0, 1)], + "older never scores better, and a later push refreshes the row", + { days: int(1, 400), item: story, now: isoDate }, + ({ days, item, now }) => { + const [young] = rankCafeNews( + [{ ...item, date: now, engagement: {} }], now ); - expect(urls(ranked).toSorted()).toStrictEqual( - items.map((item) => item.url).toSorted() + const date = isoDateAfter(now, -days); + const [old] = rankCafeNews([{ ...item, date, engagement: {} }], now); + + const [pushed] = rankCafeNews( + [{ ...item, date, engagement: { pushedAt: now } }], + now ); - expect(urls(reversed)).toStrictEqual(urls(ranked)); - expect(urls(rotated)).toStrictEqual(urls(ranked)); + + expect(old?.score).toBeLessThan(young?.score ?? Number.NEGATIVE_INFINITY); + expect(pushed?.score).toBe(young?.score); } ); @@ -163,6 +193,7 @@ describe("rankCafeNews", () => { const twin = (path: string, date: string) => Schema.decodeSync(CafeStory)({ ...Schema.encodeSync(CafeStory)(item), + kind: "post", author: { github: null, x: `${author}${path}` }, date, engagement: {}, From 7ba1a554ae923288e51285833654b48a63b2306a Mon Sep 17 00:00:00 2001 From: "shitratgit[bot]" <286405550+shitratgit[bot]@users.noreply.github.com> Date: Thu, 26 Nov 2026 10:19:31 -0800 Subject: [PATCH 2/3] chore(content): refresh git snapshot for news ranking --- .brain/data/git-snapshot.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.brain/data/git-snapshot.json b/.brain/data/git-snapshot.json index 68a8ad0e..6eee9aee 100644 --- a/.brain/data/git-snapshot.json +++ b/.brain/data/git-snapshot.json @@ -624,7 +624,7 @@ "[\"rat-stack\",\"show\",\"HEAD:packages/code-snippets/src/pipeline.ts\"]": "import { Effect, Schema } from \"effect\";\n\nimport {\n CodeBuildFailed,\n CodeHighlightFailed,\n CodeHighlightOutsideRanges,\n CodeLineCapExceeded,\n CodeMissingCommit,\n CodeMissingPath,\n CodeRangeOutOfBounds,\n CodeSourceUnavailable,\n CodeUnknownRepo,\n UnknownLanguage,\n formatCodeError,\n} from \"./errors.ts\";\nimport type { CodeError } from \"./errors.ts\";\nimport {\n CodeRequest,\n codeIdentity,\n codeLineCap,\n errorContext,\n sourceLines,\n} from \"./model.ts\";\nimport type { CodeFence, Range, SnippetLine } from \"./model.ts\";\nimport { Drift, Highlighter, SourceRepository, sourceLink } from \"./ports.ts\";\nimport type { Diagnostics } from \"./ports.ts\";\nimport { parseCodeRequest } from \"./scanner.ts\";\nimport { CodeSnippet } from \"./stages/code-snippet.ts\";\nimport { HighlightedFile } from \"./stages/highlighted-file.ts\";\nimport { ResolvedCode } from \"./stages/resolved-code.ts\";\n\nexport const codeContentKey = (\n request: CodeRequest,\n source: string,\n fingerprint: string\n) =>\n JSON.stringify([\n request.repo,\n request.commit,\n request.path,\n request.reference ? \"\" : source,\n request.ranges,\n request.highlights,\n request.language,\n request.title,\n fingerprint,\n ]);\n\nexport interface FenceJob {\n readonly node: CodeFence;\n readonly sourcePath: string;\n}\n\nexport const shownLineNumbers = (ranges: readonly Range[]) =>\n ranges.flatMap((range) =>\n Array.from(\n { length: range.end - range.start + 1 },\n (_, index) => range.start + index\n )\n );\n\nconst sourceFailure = (\n request: CodeRequest,\n kind: \"repo\" | \"commit\" | \"path\" | \"unavailable\"\n) => {\n if (kind === \"repo\") {\n return new CodeUnknownRepo(\n errorContext(\n request,\n \"Use an id from the configured repository registry.\"\n )\n );\n }\n\n if (kind === \"commit\") {\n return new CodeMissingCommit(\n errorContext(\n request,\n `Commit ${request.commit} isn't in ${request.repo}'s local objects. Run pnpm sources:fetch (template children: once, after creating the repo).`\n )\n );\n }\n\n if (kind === \"path\") {\n return new CodeMissingPath(\n errorContext(\n request,\n \"File is not a blob at this commit; correct path or at.\"\n )\n );\n }\n\n return new CodeSourceUnavailable(\n errorContext(\n request,\n \"Git objects are unavailable; run pnpm sources:fetch or use a full clone containing the pinned history.\"\n )\n );\n};\n\nconst resolveCode = Effect.fn(\"resolveCode\")(function* resolveCode(\n request: CodeRequest\n) {\n const mirror = yield* SourceRepository;\n\n const source = request.reference\n ? yield* mirror\n .resolve(request.repo, request.commit, request.path)\n .pipe(Effect.mapError((error) => sourceFailure(request, error.kind)))\n : request.body;\n\n const actualLength = sourceLines(source).length;\n\n const ranges = request.reference\n ? request.ranges\n : [{ end: actualLength, start: 1 }];\n\n for (const range of ranges) {\n if (range.end > actualLength || range.start > actualLength) {\n return yield* new CodeRangeOutOfBounds(\n errorContext(\n request,\n `File has ${actualLength} lines; range ${range.start}-${range.end} ends past it. Choose lines within the file.`,\n actualLength\n )\n );\n }\n }\n\n const visibleCount = ranges.reduce(\n (count, range) => count + range.end - range.start + 1,\n 0\n );\n\n if (request.configured && visibleCount > codeLineCap) {\n return yield* new CodeLineCapExceeded(\n errorContext(\n request,\n `${visibleCount} visible lines exceeds the ${codeLineCap}-line cap; choose a shorter excerpt.`,\n actualLength\n )\n );\n }\n\n const visible = shownLineNumbers(ranges);\n const visibleSet = new Set(visible);\n\n for (const range of request.highlights) {\n for (let line = range.start; line <= range.end; line += 1) {\n if (!visibleSet.has(line)) {\n return yield* new CodeHighlightOutsideRanges(\n errorContext(\n request,\n `Highlighted line ${line} is not shown; highlight only visible lines.`,\n actualLength\n )\n );\n }\n }\n }\n\n return new ResolvedCode({\n actualLength,\n request: new CodeRequest({\n body: request.body,\n commit: request.commit,\n configured: request.configured,\n highlights: request.highlights,\n language: request.language,\n line: request.line,\n path: request.path,\n rangeText: request.rangeText,\n ranges,\n reference: request.reference,\n repo: request.repo,\n sourcePath: request.sourcePath,\n title: request.title,\n }),\n source,\n });\n});\n\nexport const decorateCode = Effect.fn(\"decorateCode\")(function* decorateCode(\n file: HighlightedFile,\n url?: string\n) {\n const { request, source } = file.resolved;\n const original = sourceLines(source);\n const visible = shownLineNumbers(request.ranges);\n const highlighted = new Set(shownLineNumbers(request.highlights));\n const lines: (typeof SnippetLine.Type)[] = [];\n let previous = 0;\n\n for (const number of visible) {\n const text = original[number - 1];\n const tokens = file.tokens[number - 1];\n\n if (\n text === undefined ||\n tokens === undefined ||\n tokens.map((token) => token.text).join(\"\") !== text\n ) {\n return yield* new CodeHighlightFailed(\n errorContext(\n request,\n `Highlighter did not preserve source line ${number}; check the engine adapter token output.`,\n file.resolved.actualLength\n )\n );\n }\n\n lines.push({\n gapBefore: previous === 0 ? 0 : number - previous - 1,\n highlighted: highlighted.has(number),\n number,\n text,\n tokens,\n });\n previous = number;\n }\n\n return new CodeSnippet({ lines, request, url: url ?? \"\" });\n});\n\nexport const renderCode = Effect.fn(\"renderCode\")(function* renderCode(\n request: CodeRequest\n) {\n const highlighter = yield* Highlighter;\n const drift = yield* Drift;\n const resolved = yield* resolveCode(request);\n\n const canonicalLanguage =\n highlighter.aliases()[request.language] ?? request.language;\n\n if (!highlighter.languages().includes(canonicalLanguage)) {\n return yield* new UnknownLanguage(\n errorContext(\n request,\n `Unknown language ${request.language}; use an active-engine language or explicit text.`,\n resolved.actualLength\n )\n );\n }\n\n const repository = yield* SourceRepository;\n\n const tokens = yield* highlighter\n .tokens(\n resolved.source,\n canonicalLanguage,\n request.reference\n ? JSON.stringify([request.repo, request.commit, request.path])\n : resolved.source\n )\n .pipe(\n Effect.mapError((error) =>\n error.kind === \"language\"\n ? new UnknownLanguage(\n errorContext(\n request,\n `Unknown language ${request.language}; use an active-engine language or explicit text.`,\n resolved.actualLength\n )\n )\n : new CodeHighlightFailed(\n errorContext(\n request,\n \"Highlighter could not tokenize this file; check the language and source encoding.\",\n resolved.actualLength\n )\n )\n )\n );\n\n const file = yield* Schema.decodeEffect(HighlightedFile)({\n resolved,\n tokens,\n }).pipe(\n Effect.mapError(\n (cause) =>\n new CodeHighlightFailed({\n ...errorContext(\n request,\n \"Highlighter returned invalid tokens; check the active engine version.\",\n resolved.actualLength\n ),\n cause,\n })\n )\n );\n\n return {\n diagnostics: yield* drift.check(request, resolved.source),\n snippet: yield* decorateCode(\n file,\n sourceLink(\n repository.repositories.find((entry) => entry.id === request.repo),\n file.resolved.request\n )\n ),\n };\n});\n\nexport const prepareCode = Effect.fn(\"prepareCode\")(function* prepareCode(\n jobs: readonly FenceJob[]\n) {\n const snippets = new Map();\n const renderCache = new Map();\n const diagnostics: Diagnostics[] = [];\n yield* Effect.validate(jobs, ({ node, sourcePath }) =>\n Effect.gen(function* validateFence() {\n const request = yield* parseCodeRequest(node, sourcePath);\n const highlighter = yield* Highlighter;\n\n const canonicalLanguage =\n highlighter.aliases()[request.language] ?? request.language;\n\n if (!request.configured) {\n if (!highlighter.languages().includes(canonicalLanguage)) {\n return yield* new UnknownLanguage(\n errorContext(\n request,\n `Unknown language ${request.language}; use an active-engine language or explicit text.`\n )\n );\n }\n\n yield* highlighter\n .tokens(request.body, canonicalLanguage, request.body)\n .pipe(\n Effect.mapError(\n (cause) =>\n new CodeHighlightFailed({\n ...errorContext(\n request,\n \"Highlighter could not load this grammar; check the pinned engine version.\"\n ),\n cause,\n })\n )\n );\n\n return null;\n }\n\n const { snippet, diagnostics: warnings } = yield* renderCode(request);\n\n const key = codeContentKey(\n snippet.request,\n request.body,\n highlighter.fingerprint\n );\n\n const cached = renderCache.get(key) ?? snippet;\n renderCache.set(key, cached);\n snippets.set(codeIdentity(node), cached);\n diagnostics.push(...warnings);\n\n return null;\n })\n ).pipe(\n Effect.mapError(\n (errors: readonly CodeError[]) =>\n new CodeBuildFailed({\n failures: errors,\n messages: errors.map(formatCodeError),\n })\n )\n );\n\n return { diagnostics, snippets };\n});\n", "[\"rat-stack\",\"show\",\"HEAD:packages/code-snippets/src/scanner.ts\"]": "import { Effect, Schema } from \"effect\";\n\nimport {\n CodeBodyWithReference,\n CodeDuplicateKey,\n CodeInvalidProps,\n CodeInvalidRanges,\n CodeMalformedMeta,\n CodeUnknownKey,\n} from \"./errors.ts\";\nimport {\n CodeRequest,\n RangeSchema,\n extensions,\n normalizeCodeLanguage,\n} from \"./model.ts\";\nimport type { CodeFence, Range } from \"./model.ts\";\n\ntype ErrorContext = Omit<\n ConstructorParameters[0],\n \"_tag\"\n>;\n\ntype ContextFor = (fix: string) => ErrorContext;\n\nconst whitespace = (char: string) =>\n char === \" \" || char === \"\\t\" || char === \"\\n\" || char === \"\\r\";\n\nconst digits = (value: string) => {\n for (let index = 0; index < value.length; index += 1) {\n const char = value.charAt(index);\n\n if (char < \"0\" || char > \"9\") {\n return false;\n }\n }\n\n return value !== \"\";\n};\n\nconst allowedKeys = new Set([\n \"repo\",\n \"path\",\n \"at\",\n \"lines\",\n \"title\",\n \"nocheck\",\n]);\n\nconst quotedString = Schema.fromJsonString(Schema.String);\n\nconst scanValue = Effect.fn(\"scanValue\")(function* scanValue(\n meta: string,\n start: number,\n key: string,\n context: ContextFor\n) {\n let end = start;\n\n if (meta.charAt(start) !== '\"') {\n while (end < meta.length && !whitespace(meta.charAt(end))) {\n end += 1;\n }\n\n return { end, value: meta.slice(start, end) };\n }\n\n end += 1;\n let escaped = false;\n\n while (end < meta.length) {\n const char = meta.charAt(end);\n\n if (!escaped && char === '\"') {\n const value = yield* Schema.decodeEffect(quotedString)(\n meta.slice(start, end + 1)\n ).pipe(\n Effect.mapError(\n (cause) =>\n new CodeMalformedMeta({\n ...context(`Use a valid quoted ${key} string.`),\n cause,\n })\n )\n );\n\n return { end: end + 1, value };\n }\n\n escaped = !escaped && char === \"\\\\\";\n end += 1;\n }\n\n return yield* new CodeMalformedMeta(\n context(`Close the quoted ${key} value.`)\n );\n});\n\nconst scanPair = Effect.fn(\"scanPair\")(function* scanPair(\n meta: string,\n start: number,\n fields: Readonly>,\n context: ContextFor\n) {\n let cursor = start;\n\n while (\n cursor < meta.length &&\n !whitespace(meta.charAt(cursor)) &&\n meta.charAt(cursor) !== \"=\"\n ) {\n cursor += 1;\n }\n\n const key = meta.slice(start, cursor);\n\n if (meta.charAt(cursor) !== \"=\") {\n return yield* new CodeMalformedMeta(\n context('Write metadata as key=value or key=\"quoted value\".')\n );\n }\n\n if (!allowedKeys.has(key)) {\n return yield* new CodeUnknownKey(\n context(\n `Unknown key ${key}; use repo, path, at, lines, title or nocheck.`\n )\n );\n }\n\n if (Object.hasOwn(fields, key)) {\n return yield* new CodeDuplicateKey(context(`Remove duplicate ${key}.`));\n }\n\n const { end, value } = yield* scanValue(meta, cursor + 1, key, context);\n\n if (value === \"\" || (end < meta.length && !whitespace(meta.charAt(end)))) {\n return yield* new CodeMalformedMeta(\n context(\n `Give ${key} a value and separate metadata items with whitespace.`\n )\n );\n }\n\n return { end, key, value };\n});\n\nconst parseRanges = Effect.fn(\"parseRanges\")(function* parseRanges(\n value: string,\n label: string,\n context: ContextFor\n): Effect.fn.Return {\n if (value === \"\") {\n return [];\n }\n\n const ranges: Range[] = [];\n\n for (const part of value.split(\",\")) {\n const pair = part.split(\"-\");\n const start = Number(pair[0]);\n const end = Number(pair[1] ?? pair[0]);\n\n const parsed = yield* Schema.decodeEffect(RangeSchema)({ end, start }).pipe(\n Effect.mapError(\n (cause) =>\n new CodeInvalidRanges({\n ...context(\n `Use positive line numbers or ranges for ${label}, such as 3,5-7.`\n ),\n cause,\n })\n )\n );\n\n if (\n pair.length > 2 ||\n !pair.every(digits) ||\n end < start ||\n (ranges.at(-1)?.end ?? 0) >= start\n ) {\n return yield* new CodeInvalidRanges(\n context(`Order ${label} without overlaps, such as 3,5-7.`)\n );\n }\n\n ranges.push(parsed);\n }\n\n return ranges;\n});\n\nconst validCommit = (value: string) => {\n for (let index = 0; index < value.length; index += 1) {\n const char = value.charAt(index);\n\n if (!(char >= \"0\" && char <= \"9\") && !(char >= \"a\" && char <= \"f\")) {\n return false;\n }\n }\n\n return value.length === 40;\n};\n\nconst validPath = (value: string) =>\n !value.startsWith(\"/\") &&\n !value.includes(\":\") &&\n !value\n .split(\"/\")\n .some((part) => part === \"..\" || part === \"\" || part === \".\");\n\nconst validateReference = Effect.fn(\"validateReference\")(\n function* validateReference(\n fields: Readonly>,\n body: string,\n context: ContextFor\n ) {\n if (fields.path === undefined) {\n if ([\"repo\", \"at\", \"lines\"].some((key) => fields[key] !== undefined)) {\n return yield* new CodeInvalidProps(\n context(\"Add path for a pinned reference, or remove repo/at/lines.\")\n );\n }\n\n return false;\n }\n\n if (fields.nocheck !== undefined) {\n return yield* new CodeInvalidProps(\n context(\n \"Remove nocheck; a pinned reference compiles in the file it quotes.\"\n )\n );\n }\n\n if (body.trim() !== \"\") {\n return yield* new CodeBodyWithReference(\n context(\n \"Remove the fence body; path references read their content from Git.\"\n )\n );\n }\n\n if (!validCommit(fields.at ?? \"\")) {\n return yield* new CodeInvalidProps(\n context(\"Pin at to a full 40-character lowercase commit SHA.\")\n );\n }\n\n if (!validPath(fields.path)) {\n return yield* new CodeInvalidProps(\n context(\n \"Use a repository-relative file path without traversal or colons.\"\n )\n );\n }\n\n return true;\n }\n);\n\nconst scannedRequest = Effect.fn(\"scannedRequest\")(function* scannedRequest(\n node: CodeFence,\n sourcePath: string,\n fields: Readonly>,\n highlightText: string | undefined,\n configured: boolean,\n language: string,\n context: ContextFor\n) {\n const reference = yield* validateReference(fields, node.value, context);\n const ranges = yield* parseRanges(fields.lines ?? \"\", \"lines\", context);\n\n if (reference && ranges.length === 0) {\n return yield* new CodeInvalidRanges(\n context(\"Set lines to the excerpt, such as lines=3-7.\")\n );\n }\n\n if (highlightText === \"\") {\n return yield* new CodeMalformedMeta(\n context(\"Put line numbers inside the highlight set, such as {3,5-7}.\")\n );\n }\n\n const highlights = yield* parseRanges(\n highlightText ?? \"\",\n \"highlights\",\n context\n ).pipe(Effect.mapError((error) => new CodeMalformedMeta(context(error.fix))));\n\n const selectedLanguage =\n language === \"\"\n ? (extensions.get(fields.path?.split(\".\").at(-1) ?? \"\") ?? \"markdown\")\n : normalizeCodeLanguage(language);\n\n return yield* Schema.decodeEffect(CodeRequest)({\n body: node.value,\n commit: fields.at ?? \"\",\n configured,\n highlights,\n language: selectedLanguage,\n line: node.line,\n noCheck: fields.nocheck,\n path: fields.path ?? \"\",\n rangeText: fields.lines ?? \"all\",\n ranges,\n reference,\n repo: fields.repo ?? \"rat-stack\",\n sourcePath,\n title: fields.title ?? fields.path?.split(\"/\").at(-1) ?? \"Code\",\n }).pipe(\n Effect.mapError(\n (cause) =>\n new CodeInvalidProps({\n ...context(\"Use the documented fence metadata grammar.\"),\n cause,\n })\n )\n );\n});\n\nexport const parseCodeRequest = Effect.fn(\"parseCodeRequest\")(\n function* parseCodeRequest(node: CodeFence, sourcePath: string) {\n const rawLanguage = node.lang ?? \"\";\n\n const hasLanguage =\n rawLanguage !== \"\" &&\n !rawLanguage.includes(\"=\") &&\n !rawLanguage.startsWith(\"{\");\n\n const meta = [hasLanguage ? \"\" : rawLanguage, node.meta ?? \"\"]\n .filter((part) => part !== \"\")\n .join(\" \");\n\n const fields: Record = {};\n let highlightText: string | undefined;\n let cursor = 0;\n\n const context: ContextFor = (fix) => ({\n actualLength: null,\n commit: fields.at ?? \"\",\n fix,\n line: node.line,\n path: fields.path ?? \"\",\n ranges: fields.lines ?? \"all\",\n repo: fields.repo ?? \"rat-stack\",\n sourcePath,\n });\n\n while (cursor < meta.length) {\n if (whitespace(meta.charAt(cursor))) {\n cursor += 1;\n continue;\n }\n\n if (meta.charAt(cursor) === \"{\") {\n if (highlightText !== undefined) {\n return yield* new CodeDuplicateKey(\n context(\"Use one {line,ranges} highlight set.\")\n );\n }\n\n const end = meta.indexOf(\"}\", cursor + 1);\n\n if (end === -1) {\n return yield* new CodeMalformedMeta(\n context(\"Close the highlight set with }.\")\n );\n }\n\n highlightText = meta.slice(cursor + 1, end);\n cursor = end + 1;\n\n if (cursor < meta.length && !whitespace(meta.charAt(cursor))) {\n return yield* new CodeMalformedMeta(\n context(\"Separate metadata items with whitespace.\")\n );\n }\n } else {\n const item = yield* scanPair(meta, cursor, fields, context);\n fields[item.key] = item.value;\n cursor = item.end;\n }\n }\n\n return yield* scannedRequest(\n node,\n sourcePath,\n fields,\n highlightText,\n highlightText !== undefined ||\n Object.keys(fields).some((key) => key !== \"nocheck\"),\n hasLanguage ? rawLanguage : \"\",\n context\n );\n }\n);\n\nexport const printCodeRequest = (request: CodeRequest): CodeFence => {\n const lines =\n request.rangeText === \"all\"\n ? \"\"\n : `lines=${JSON.stringify(request.rangeText)} `;\n\n const fields = request.reference\n ? `repo=${JSON.stringify(request.repo)} path=${JSON.stringify(request.path)} at=${request.commit} ${lines}`\n : \"\";\n\n const highlights =\n request.highlights.length === 0\n ? \"\"\n : `{${request.highlights.map((range) => (range.start === range.end ? String(range.start) : `${range.start}-${range.end}`)).join(\",\")}} `;\n\n const noCheck =\n request.noCheck === undefined\n ? []\n : [`nocheck=${JSON.stringify(request.noCheck)}`];\n\n const meta = [\n ...(request.configured\n ? [`${fields}${highlights}title=${JSON.stringify(request.title)}`]\n : []),\n ...noCheck,\n ].join(\" \");\n\n return {\n lang: request.language,\n line: request.line,\n meta: meta === \"\" ? null : meta,\n value: request.body,\n };\n};\n\nexport const isConfiguredFence = (node: CodeFence) =>\n Effect.runSync(\n parseCodeRequest(node, \"\").pipe(\n Effect.map((request) => request.configured),\n Effect.orElseSucceed(() => true)\n )\n );\n", "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/app-config.ts\"]": "import { Config } from \"effect\";\n\nimport { ConfigService } from \"./config-service.js\";\n\nexport class AppConfig extends ConfigService.Service()(\n \"@rat-stack/core/AppConfig\",\n {\n appEnv: Config.Literals(\n [\"development\", \"test\", \"production\"],\n \"APP_ENV\"\n ).pipe(Config.withDefault(\"development\")),\n }\n) {}\n", - "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/contracts.ts\"]": "import { defineContract } from \"@rat-stack/capability/contract\";\nimport { Schema } from \"effect\";\n\nimport { AssetReadError } from \"./asset-read-error.js\";\nimport {\n CafeNewsList,\n CafeNewsQuery,\n CafePeopleForList,\n CafePeopleForQuery,\n CafePeopleList,\n CafePeopleMatches,\n CafePeopleQuery,\n CafePeopleSearchQuery,\n CafeProfile,\n CafeProjectList,\n CafeProjectQuery,\n} from \"./cafe.js\";\nimport { NoPath } from \"./no-path.js\";\nimport { FileStatsError, FileStatsSchema } from \"./stats.js\";\nimport { UnknownPage } from \"./unknown-page.js\";\nimport { UnknownPerson } from \"./unknown-person.js\";\nimport { UnknownPrompt } from \"./unknown-prompt.js\";\n\nexport {\n getFlagContract,\n listFlagsContract,\n flipFeatureFlagContract,\n recordFlagEvidenceContract,\n readFlagLedgerContract,\n} from \"./flag-contracts.js\";\n\nexport { UnknownPrompt } from \"./unknown-prompt.js\";\n\nexport { UnknownPerson } from \"./unknown-person.js\";\n\nexport { AssetReadError } from \"./asset-read-error.js\";\n\nexport {\n CAFE_DIVERSITY_PENALTY,\n CAFE_FRESHNESS_HOURS,\n AvatarPath,\n CafeAuthor,\n CafeData,\n CafeEngagement,\n CafeEvidence,\n CafeFact,\n CafeHandle,\n CafeHandleKind,\n CafeLetter,\n CafeNewsItem,\n CafeNewsKind,\n CafeNewsList,\n CafeNewsQuery,\n CafeNewsSort,\n CafePackageFact,\n CafePeopleForList,\n CafePeopleForQuery,\n CafePeopleList,\n CafePeopleMatches,\n CafePeopleQuery,\n CafePeopleSearchQuery,\n CafePerson,\n CafePersonEntry,\n CafePersonKind,\n CafePersonRepo,\n CafePersonSummary,\n CafeProfile,\n CafeProject,\n CafeProjectList,\n CafeProjectQuery,\n CafeProjectSort,\n CafeReply,\n CafeSignal,\n CafeStackEvidence,\n CafeStory,\n CafeThread,\n CafeTopic,\n CafeTopicFact,\n CafeVideo,\n GithubLogin,\n HttpsUrl,\n IsoDate,\n OneLine,\n PackageName,\n PersonId,\n RankedCafeNewsItem,\n RepoName,\n ReplyText,\n XHandle,\n XStatusUrl,\n cafeDomain,\n cafeLetterInitial,\n cafeLetters,\n cafeNewsScore,\n cafeRankedAt,\n cafeSignalWeights,\n cafeSignals,\n filterCafeProjects,\n githubProfileUrl,\n rankCafeNews,\n selectCafeNews,\n selectCafeProjects,\n sortCafeNewsNewest,\n sortCafeProjects,\n verifiedLetters,\n xProfileUrl,\n} from \"./cafe.js\";\n\nexport type {\n CafeDataValue,\n CafeEngagementValue,\n CafeLetterValue,\n CafeNewsItemValue,\n CafeNewsKindValue,\n CafePersonValue,\n CafeProfileValue,\n CafeProjectValue,\n CafeSignalValue,\n IsoDateValue,\n RankedCafeNewsItemValue,\n} from \"./cafe.js\";\n\nexport {\n CardSchema,\n ConceptProgressSchema,\n LearnContextSchema,\n LearnDepthSchema,\n LearnEventSchema,\n LearnPreferencesSchema,\n ProgressSchema,\n} from \"./learn-model.js\";\n\nexport {\n learnCardContract,\n learnDeckContract,\n learnNextContract,\n learnPreferencesContract,\n learnRecordContract,\n learnSetPreferencesContract,\n} from \"./learn-contracts.js\";\n\nexport {\n learnFeedbackContract,\n learnFeedbackPollContract,\n learnFeedbackStartContract,\n} from \"./learn-feedback.js\";\n\nexport { NoPath } from \"./no-path.js\";\n\nexport { UnknownPage } from \"./unknown-page.js\";\n\nconst ContentKind = Schema.Literals([\"law\", \"skill\", \"lore\", \"prompt\"]);\n\nexport const SearchMatch = Schema.Struct({\n description: Schema.String,\n digest: Schema.String,\n excerpt: Schema.String,\n id: Schema.String,\n kind: ContentKind,\n routePath: Schema.String,\n score: Schema.Finite,\n title: Schema.String,\n});\n\nexport const SearchOutput = Schema.Struct({\n matches: Schema.Array(SearchMatch),\n total: Schema.Finite,\n});\n\nexport const ReadOutput = Schema.Struct({\n description: Schema.String,\n digest: Schema.String,\n id: Schema.String,\n kind: ContentKind,\n routePath: Schema.String,\n sourcePath: Schema.String,\n text: Schema.String,\n title: Schema.String,\n});\n\nexport class ResourceNotFound extends Schema.TaggedError<\n ResourceNotFound,\n { readonly brand: unique symbol }\n>()(\"ResourceNotFound\", {\n id: Schema.String,\n message: Schema.String,\n}) {}\n\nexport const LoreGroup = Schema.Literals([\n \"idea\",\n \"concept\",\n \"source\",\n \"person\",\n \"system\",\n]);\n\nexport const LorePageReference = Schema.Struct({\n group: Schema.String,\n id: Schema.String,\n title: Schema.String,\n url: Schema.String,\n});\n\nexport const LoreNode = Schema.Struct({\n description: Schema.String,\n group: LoreGroup,\n id: Schema.String,\n slug: Schema.String,\n terms: Schema.Array(Schema.String),\n title: Schema.String,\n url: Schema.String,\n});\n\nexport const LoreEdgeKind = Schema.Literals([\"link\", \"citation\", \"mention\"]);\n\nexport const LoreEdge = Schema.Struct({\n excerpt: Schema.optional(Schema.String),\n from: LorePageReference,\n kind: LoreEdgeKind,\n to: LorePageReference,\n});\n\nexport const BacklinksOutput = Schema.Struct({\n backlinks: Schema.Array(\n Schema.Struct({\n kind: LoreEdgeKind,\n page: LorePageReference,\n })\n ),\n});\n\nexport const NeighborsOutput = Schema.Struct({\n neighbors: Schema.Array(\n Schema.Struct({\n distance: Schema.Finite,\n node: LoreNode,\n })\n ),\n});\n\nexport const MentionsOutput = Schema.Struct({\n mentions: Schema.Array(\n Schema.Struct({\n excerpt: Schema.String,\n page: LorePageReference,\n })\n ),\n});\n\nexport const LorePathOutput = Schema.Struct({\n edges: Schema.Array(LoreEdge),\n nodes: Schema.Array(LoreNode),\n});\n\nexport const backlinksContract = defineContract(\"backlinks\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"List pages that link to or mention one lore page\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({ slug: Schema.String }),\n output: BacklinksOutput,\n});\n\nexport const neighborsContract = defineContract(\"neighbors\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List lore pages within one or two incoming or outgoing graph hops\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({\n depth: Schema.Literals([1, 2]),\n slug: Schema.String,\n }),\n output: NeighborsOutput,\n});\n\nexport const mentionsContract = defineContract(\"mentions\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Find unlinked mentions of one lore page and show their excerpts\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({ slug: Schema.String }),\n output: MentionsOutput,\n});\n\nexport const pathContract = defineContract(\"path\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Find the shortest undirected chain between two lore pages\",\n failure: Schema.Union([UnknownPage, NoPath, AssetReadError]),\n input: Schema.Struct({ from: Schema.String, to: Schema.String }),\n output: LorePathOutput,\n});\n\nexport const inspectFileContract = defineContract(\"inspectFile\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Count bytes, characters, words, and lines in a file\",\n failure: FileStatsError,\n input: Schema.Struct({\n path: Schema.String.annotate({ description: \"File to inspect\" }),\n }),\n output: FileStatsSchema,\n});\n\nexport const PromptSlug = Schema.String.check(\n Schema.isPattern(/^[a-z0-9]+(?:-[a-z0-9]+)*$/u)\n);\n\nexport const PromptSummary = Schema.Struct({\n credit: Schema.String,\n description: Schema.String.check(Schema.isPattern(/\\S/u)),\n slug: PromptSlug,\n title: Schema.String.check(Schema.isPattern(/\\S/u)),\n});\n\nexport const Prompt = Schema.Struct({\n ...PromptSummary.fields,\n body: Schema.String.check(Schema.isPattern(/\\S/u)),\n});\n\nexport const listPromptsContract = defineContract(\"listPrompts\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"List copyable rat-stack agent prompts\",\n failure: AssetReadError,\n input: Schema.Struct({}),\n output: Schema.Struct({ prompts: Schema.Array(PromptSummary) }),\n});\n\nexport const getPromptContract = defineContract(\"getPrompt\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Read one complete rat-stack agent prompt by slug\",\n failure: Schema.Union([UnknownPrompt, AssetReadError]),\n input: Schema.Struct({ slug: PromptSlug }),\n output: Prompt,\n});\n\nexport const listCafeNewsContract = defineContract(\"listCafeNews\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List reviewed CAFE stack news: Cloudflare, Alchemy, Foldkit and Effect releases, posts, videos, launches and X threads. Sort by rank (engagement signals with a freshness decay) or newest, and filter by kind.\",\n failure: AssetReadError,\n input: CafeNewsQuery,\n output: CafeNewsList,\n});\n\nexport const listCafeProjectsContract = defineContract(\"listCafeProjects\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List reviewed projects built on the CAFE stack, with per-letter stack evidence. Filter to projects that use every given letter and sort by last update or stars.\",\n failure: AssetReadError,\n input: CafeProjectQuery,\n output: CafeProjectList,\n});\n\nexport const listPeopleContract = defineContract(\"listPeople\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List CAFE all stars: people and channels with public CAFE work, with stable ids for readPerson.\",\n failure: AssetReadError,\n input: CafePeopleQuery,\n output: CafePeopleList,\n});\n\nexport const listChannelsContract = defineContract(\"listChannels\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List CAFE all-star channels: YouTube channels, GitHub orgs and blogs.\",\n failure: AssetReadError,\n input: Schema.Struct({ limit: CafePeopleQuery.fields.limit }),\n output: CafePeopleList,\n});\n\nexport const readPersonContract = defineContract(\"readPerson\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Read one CAFE all-star profile by id. Every fact has a source URL and a verified date; newsRows are newest first.\",\n failure: Schema.Union([UnknownPerson, AssetReadError]),\n input: Schema.Struct({ id: Schema.String }),\n output: CafeProfile,\n});\n\nexport const searchPeopleContract = defineContract(\"searchPeople\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Search CAFE all stars by name, handle, topic, package, repo, bio or video words.\",\n failure: AssetReadError,\n input: CafePeopleSearchQuery,\n output: CafePeopleMatches,\n});\n\nexport const peopleForContract = defineContract(\"peopleFor\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n 'Find CAFE all stars whose topics or packages cover every term, such as [\"foldkit\", \"d1\"], with sourced evidence.',\n failure: AssetReadError,\n input: CafePeopleForQuery,\n output: CafePeopleForList,\n});\n\nexport const searchContract = defineContract(\"search\", {\n annotations: { idempotent: true, readOnly: true, title: \"Search Rat Stack\" },\n description:\n \"Search rat-stack repository law and skills. Returns stable resource ids for read.\",\n failure: AssetReadError,\n input: Schema.Struct({\n limit: Schema.optional(Schema.Finite),\n query: Schema.String,\n }),\n output: SearchOutput,\n});\n\nexport const readContract = defineContract(\"read\", {\n annotations: {\n idempotent: true,\n readOnly: true,\n title: \"Read a Rat Stack document\",\n },\n description:\n \"Read one exact rat-stack law or skill document by the resource id returned from search.\",\n failure: Schema.Union([ResourceNotFound, AssetReadError]),\n input: Schema.Struct({ id: Schema.String }),\n output: ReadOutput,\n});\n", + "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/contracts.ts\"]": "import { defineContract } from \"@rat-stack/capability/contract\";\nimport { Schema } from \"effect\";\n\nimport { AssetReadError } from \"./asset-read-error.js\";\nimport {\n CafeNewsList,\n CafeNewsQuery,\n CafePeopleForList,\n CafePeopleForQuery,\n CafePeopleList,\n CafePeopleMatches,\n CafePeopleQuery,\n CafePeopleSearchQuery,\n CafeProfile,\n CafeProjectList,\n CafeProjectQuery,\n} from \"./cafe.js\";\nimport { NoPath } from \"./no-path.js\";\nimport { FileStatsError, FileStatsSchema } from \"./stats.js\";\nimport { UnknownPage } from \"./unknown-page.js\";\nimport { UnknownPerson } from \"./unknown-person.js\";\nimport { UnknownPrompt } from \"./unknown-prompt.js\";\n\nexport {\n getFlagContract,\n listFlagsContract,\n flipFeatureFlagContract,\n recordFlagEvidenceContract,\n readFlagLedgerContract,\n} from \"./flag-contracts.js\";\n\nexport { UnknownPrompt } from \"./unknown-prompt.js\";\n\nexport { UnknownPerson } from \"./unknown-person.js\";\n\nexport { AssetReadError } from \"./asset-read-error.js\";\n\nexport {\n CAFE_AGE_DAYS_PER_POINT,\n CAFE_AUTHOR_MINIMUM,\n CAFE_DEFAULT_EDITORIAL,\n CAFE_DEFAULT_SUBSTANCE,\n CAFE_DIVERSITY_PENALTY,\n CAFE_EDITORIAL_MAX,\n CAFE_MIDRANK_SHARE,\n CAFE_NEUTRAL_PERCENTILE,\n CAFE_PEER_LIMIT,\n CAFE_PEER_POINTS,\n CAFE_POPULARITY_POINTS,\n CAFE_TOPIC_PENALTY,\n AvatarPath,\n CafeAuthor,\n CafeData,\n CafeEngagement,\n CafeEvidence,\n CafeFact,\n CafeHandle,\n CafeHandleKind,\n CafeInterest,\n CafeLetter,\n CafeNewsItem,\n CafeNewsKind,\n CafeNewsList,\n CafeNewsQuery,\n CafeNewsSort,\n CafePackageFact,\n CafePeopleForList,\n CafePeopleForQuery,\n CafePeopleList,\n CafePeopleMatches,\n CafePeopleQuery,\n CafePeopleSearchQuery,\n CafePerson,\n CafePersonEntry,\n CafePersonKind,\n CafePersonRepo,\n CafePersonSummary,\n CafeProfile,\n CafeProject,\n CafeProjectList,\n CafeProjectQuery,\n CafeProjectSort,\n CafeReply,\n CafeStackEvidence,\n CafeStory,\n CafeThread,\n CafeTopic,\n CafeTopicFact,\n CafeVideo,\n GithubLogin,\n HttpsUrl,\n IsoDate,\n OneLine,\n PackageName,\n PersonId,\n RankedCafeNewsItem,\n RepoName,\n ReplyText,\n XHandle,\n XStatusUrl,\n cafeDomain,\n cafeLetterInitial,\n cafeLetters,\n cafeRankedAt,\n cafeSubstancePoints,\n filterCafeProjects,\n githubProfileUrl,\n rankCafeNews,\n selectCafeNews,\n selectCafeProjects,\n sortCafeNewsNewest,\n sortCafeProjects,\n verifiedLetters,\n xProfileUrl,\n} from \"./cafe.js\";\n\nexport type {\n CafeDataValue,\n CafeEngagementValue,\n CafeLetterValue,\n CafeNewsItemValue,\n CafeNewsKindValue,\n CafePersonValue,\n CafeProfileValue,\n CafeProjectValue,\n IsoDateValue,\n RankedCafeNewsItemValue,\n} from \"./cafe.js\";\n\nexport {\n CardSchema,\n ConceptProgressSchema,\n LearnContextSchema,\n LearnDepthSchema,\n LearnEventSchema,\n LearnPreferencesSchema,\n ProgressSchema,\n} from \"./learn-model.js\";\n\nexport {\n learnCardContract,\n learnDeckContract,\n learnNextContract,\n learnPreferencesContract,\n learnRecordContract,\n learnSetPreferencesContract,\n} from \"./learn-contracts.js\";\n\nexport {\n learnFeedbackContract,\n learnFeedbackPollContract,\n learnFeedbackStartContract,\n} from \"./learn-feedback.js\";\n\nexport { NoPath } from \"./no-path.js\";\n\nexport { UnknownPage } from \"./unknown-page.js\";\n\nconst ContentKind = Schema.Literals([\"law\", \"skill\", \"lore\", \"prompt\"]);\n\nexport const SearchMatch = Schema.Struct({\n description: Schema.String,\n digest: Schema.String,\n excerpt: Schema.String,\n id: Schema.String,\n kind: ContentKind,\n routePath: Schema.String,\n score: Schema.Finite,\n title: Schema.String,\n});\n\nexport const SearchOutput = Schema.Struct({\n matches: Schema.Array(SearchMatch),\n total: Schema.Finite,\n});\n\nexport const ReadOutput = Schema.Struct({\n description: Schema.String,\n digest: Schema.String,\n id: Schema.String,\n kind: ContentKind,\n routePath: Schema.String,\n sourcePath: Schema.String,\n text: Schema.String,\n title: Schema.String,\n});\n\nexport class ResourceNotFound extends Schema.TaggedError<\n ResourceNotFound,\n { readonly brand: unique symbol }\n>()(\"ResourceNotFound\", {\n id: Schema.String,\n message: Schema.String,\n}) {}\n\nexport const LoreGroup = Schema.Literals([\n \"idea\",\n \"concept\",\n \"source\",\n \"person\",\n \"system\",\n]);\n\nexport const LorePageReference = Schema.Struct({\n group: Schema.String,\n id: Schema.String,\n title: Schema.String,\n url: Schema.String,\n});\n\nexport const LoreNode = Schema.Struct({\n description: Schema.String,\n group: LoreGroup,\n id: Schema.String,\n slug: Schema.String,\n terms: Schema.Array(Schema.String),\n title: Schema.String,\n url: Schema.String,\n});\n\nexport const LoreEdgeKind = Schema.Literals([\"link\", \"citation\", \"mention\"]);\n\nexport const LoreEdge = Schema.Struct({\n excerpt: Schema.optional(Schema.String),\n from: LorePageReference,\n kind: LoreEdgeKind,\n to: LorePageReference,\n});\n\nexport const BacklinksOutput = Schema.Struct({\n backlinks: Schema.Array(\n Schema.Struct({\n kind: LoreEdgeKind,\n page: LorePageReference,\n })\n ),\n});\n\nexport const NeighborsOutput = Schema.Struct({\n neighbors: Schema.Array(\n Schema.Struct({\n distance: Schema.Finite,\n node: LoreNode,\n })\n ),\n});\n\nexport const MentionsOutput = Schema.Struct({\n mentions: Schema.Array(\n Schema.Struct({\n excerpt: Schema.String,\n page: LorePageReference,\n })\n ),\n});\n\nexport const LorePathOutput = Schema.Struct({\n edges: Schema.Array(LoreEdge),\n nodes: Schema.Array(LoreNode),\n});\n\nexport const backlinksContract = defineContract(\"backlinks\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"List pages that link to or mention one lore page\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({ slug: Schema.String }),\n output: BacklinksOutput,\n});\n\nexport const neighborsContract = defineContract(\"neighbors\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List lore pages within one or two incoming or outgoing graph hops\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({\n depth: Schema.Literals([1, 2]),\n slug: Schema.String,\n }),\n output: NeighborsOutput,\n});\n\nexport const mentionsContract = defineContract(\"mentions\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Find unlinked mentions of one lore page and show their excerpts\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({ slug: Schema.String }),\n output: MentionsOutput,\n});\n\nexport const pathContract = defineContract(\"path\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Find the shortest undirected chain between two lore pages\",\n failure: Schema.Union([UnknownPage, NoPath, AssetReadError]),\n input: Schema.Struct({ from: Schema.String, to: Schema.String }),\n output: LorePathOutput,\n});\n\nexport const inspectFileContract = defineContract(\"inspectFile\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Count bytes, characters, words, and lines in a file\",\n failure: FileStatsError,\n input: Schema.Struct({\n path: Schema.String.annotate({ description: \"File to inspect\" }),\n }),\n output: FileStatsSchema,\n});\n\nexport const PromptSlug = Schema.String.check(\n Schema.isPattern(/^[a-z0-9]+(?:-[a-z0-9]+)*$/u)\n);\n\nexport const PromptSummary = Schema.Struct({\n credit: Schema.String,\n description: Schema.String.check(Schema.isPattern(/\\S/u)),\n slug: PromptSlug,\n title: Schema.String.check(Schema.isPattern(/\\S/u)),\n});\n\nexport const Prompt = Schema.Struct({\n ...PromptSummary.fields,\n body: Schema.String.check(Schema.isPattern(/\\S/u)),\n});\n\nexport const listPromptsContract = defineContract(\"listPrompts\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"List copyable rat-stack agent prompts\",\n failure: AssetReadError,\n input: Schema.Struct({}),\n output: Schema.Struct({ prompts: Schema.Array(PromptSummary) }),\n});\n\nexport const getPromptContract = defineContract(\"getPrompt\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Read one complete rat-stack agent prompt by slug\",\n failure: Schema.Union([UnknownPrompt, AssetReadError]),\n input: Schema.Struct({ slug: PromptSlug }),\n output: Prompt,\n});\n\nexport const listCafeNewsContract = defineContract(\"listCafeNews\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List reviewed CAFE stack news: Cloudflare, Alchemy, Foldkit and Effect releases, posts, videos, launches and X threads. Sort by interest rank or newest, and filter by kind. Each reviewed entry includes its reason for appearing.\",\n failure: AssetReadError,\n input: CafeNewsQuery,\n output: CafeNewsList,\n});\n\nexport const listCafeProjectsContract = defineContract(\"listCafeProjects\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List reviewed projects built on the CAFE stack, with per-letter stack evidence. Filter to projects that use every given letter and sort by last update or stars.\",\n failure: AssetReadError,\n input: CafeProjectQuery,\n output: CafeProjectList,\n});\n\nexport const listPeopleContract = defineContract(\"listPeople\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List CAFE all stars: people and channels with public CAFE work, with stable ids for readPerson.\",\n failure: AssetReadError,\n input: CafePeopleQuery,\n output: CafePeopleList,\n});\n\nexport const listChannelsContract = defineContract(\"listChannels\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List CAFE all-star channels: YouTube channels, GitHub orgs and blogs.\",\n failure: AssetReadError,\n input: Schema.Struct({ limit: CafePeopleQuery.fields.limit }),\n output: CafePeopleList,\n});\n\nexport const readPersonContract = defineContract(\"readPerson\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Read one CAFE all-star profile by id. Every fact has a source URL and a verified date; newsRows are newest first.\",\n failure: Schema.Union([UnknownPerson, AssetReadError]),\n input: Schema.Struct({ id: Schema.String }),\n output: CafeProfile,\n});\n\nexport const searchPeopleContract = defineContract(\"searchPeople\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Search CAFE all stars by name, handle, topic, package, repo, bio or video words.\",\n failure: AssetReadError,\n input: CafePeopleSearchQuery,\n output: CafePeopleMatches,\n});\n\nexport const peopleForContract = defineContract(\"peopleFor\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n 'Find CAFE all stars whose topics or packages cover every term, such as [\"foldkit\", \"d1\"], with sourced evidence.',\n failure: AssetReadError,\n input: CafePeopleForQuery,\n output: CafePeopleForList,\n});\n\nexport const searchContract = defineContract(\"search\", {\n annotations: { idempotent: true, readOnly: true, title: \"Search Rat Stack\" },\n description:\n \"Search rat-stack repository law and skills. Returns stable resource ids for read.\",\n failure: AssetReadError,\n input: Schema.Struct({\n limit: Schema.optional(Schema.Finite),\n query: Schema.String,\n }),\n output: SearchOutput,\n});\n\nexport const readContract = defineContract(\"read\", {\n annotations: {\n idempotent: true,\n readOnly: true,\n title: \"Read a Rat Stack document\",\n },\n description:\n \"Read one exact rat-stack law or skill document by the resource id returned from search.\",\n failure: Schema.Union([ResourceNotFound, AssetReadError]),\n input: Schema.Struct({ id: Schema.String }),\n output: ReadOutput,\n});\n", "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/events-off.ts\"]": "import { Effect } from \"effect\";\n\nimport type { RawEvent } from \"./event-sink.js\";\nimport type {\n EventsOptions,\n RequestCaptureSettings,\n} from \"./request-capture.js\";\n\nexport const events = (_options: EventsOptions) => Effect.undefined;\n\nexport const memoryEvents = (_salt: string) =>\n Effect.succeed({\n capture:\n (_settings: RequestCaptureSettings) =>\n (app: Effect.Effect) =>\n app,\n recorded: Effect.succeed([]),\n });\n", "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/file-inspector.ts\"]": "import { Context, Effect, FileSystem, Layer } from \"effect\";\n\nimport { FileStatsError, summarizeBytes } from \"./stats.js\";\nimport type { FileStats } from \"./stats.js\";\n\nexport class FileInspector extends Context.Service<\n FileInspector,\n {\n readonly inspect: (\n path: string\n ) => Effect.Effect;\n }\n>()(\"@rat-stack/core/FileInspector\", {\n make: Effect.gen(function* makeFileInspector() {\n const fileSystem = yield* FileSystem.FileSystem;\n\n const inspect = Effect.fn(\"FileInspector.inspect\")(function* inspect(\n path: string\n ) {\n const content = yield* fileSystem\n .readFile(path)\n .pipe(\n Effect.mapError(\n (error) => new FileStatsError({ path, reason: error.message })\n )\n );\n\n return summarizeBytes(path, content);\n });\n\n return { inspect } as const;\n }),\n}) {\n static readonly layer = Layer.effect(this, this.make);\n}\n", "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/flag-journal.ts\"]": "import { Clock, Context, Effect, Layer, Ref, Schema } from \"effect\";\n\nimport { ListFlagChangesInput } from \"./flag-change.js\";\nimport type { FlagChange, FlagChangesPage } from \"./flag-change.js\";\nimport { FlagStorageError } from \"./flag-storage-error.js\";\n\nexport const validateFlagChangeQuery = (\n input: typeof ListFlagChangesInput.Type\n) =>\n Schema.decodeEffect(ListFlagChangesInput)(input).pipe(\n Effect.mapError(\n (cause) =>\n new FlagStorageError({\n cause,\n fallback: null,\n flag: \"\",\n operation: \"listChanges\",\n repair:\n \"Supply a journal page limit from 1 to 100 and an optional cursor.\",\n })\n )\n );\n\nexport class FlagJournal extends Context.Service<\n FlagJournal,\n {\n readonly record: (\n change: FlagChange\n ) => Effect.Effect;\n readonly list: (\n input: typeof ListFlagChangesInput.Type\n ) => Effect.Effect;\n }\n>()(\"@rat-stack/core/FlagJournal\") {\n static memory = Layer.effect(\n FlagJournal,\n Effect.gen(function* makeFlagJournal() {\n const entries = yield* Ref.make([]);\n\n return FlagJournal.of({\n list: Effect.fn(\"FlagJournal.list\")(function* list(input) {\n const query = yield* validateFlagChangeQuery(input);\n const now = yield* Clock.currentTimeMillis;\n const current = yield* Ref.get(entries);\n\n const latest = new Map(\n current.map((entry) => [entry.attemptId, entry])\n );\n\n const ordered = [...latest.values()].toSorted((left, right) =>\n left.attemptId.localeCompare(right.attemptId)\n );\n\n const { cursor: after } = query;\n\n const remaining =\n after === undefined\n ? ordered\n : ordered.filter((entry) => entry.attemptId > after);\n\n const page = remaining.slice(0, query.limit);\n\n const cursor =\n remaining.length > page.length ? page.at(-1)?.attemptId : undefined;\n\n return {\n changes: page.map((entry) => ({\n ...entry,\n ageMillis: Math.max(0, now - entry.recordedAt),\n })),\n cursor,\n };\n }),\n record: (change) =>\n Ref.update(entries, (current) => [...current, change]),\n });\n })\n );\n}\n", From b0a03bde570581efc3da89fe3ba05954759cddd4 Mon Sep 17 00:00:00 2001 From: "shitratgit[bot]" <286405550+shitratgit[bot]@users.noreply.github.com> Date: Thu, 26 Nov 2026 10:41:57 -0800 Subject: [PATCH 3/3] chore(content): refresh git snapshot after Ratstack rename merge --- .brain/data/git-snapshot.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.brain/data/git-snapshot.json b/.brain/data/git-snapshot.json index cda50f6a..8b366203 100644 --- a/.brain/data/git-snapshot.json +++ b/.brain/data/git-snapshot.json @@ -252,12 +252,12 @@ "VISION.md": "e70e9d287496d78bc45f8c9d25eedb29df1b203dc4ae913b6497ed63c8330898" }, "queries": { - "[\"rat-stack\",\"log\",\"--no-merges\",\"--full-history\",\"--no-renames\",\"--name-status\",\"--format=%x1e%H%x09%cs%x09%ct%x09%P%x09%s\",\"--\",\".brain/resources\",\".brain/areas\",\"skills\",\"VISION.md\",\"AGENTS.md\",\"README.md\"]": "\u001eba909731e4daa00679f01b2a53ae493b771b112e\t2026-11-26\t1795702022\tff964a94600e77b99c2613e50b398b1751b8937c\tcontent(lore): answer first on the Effect dependency injection page\n\nM\t.brain/resources/lore/dependency-injection-is-the-reason-to-choose-effect.svx\n\u001ead2a90024763646577228fac816e4ff928418fa7\t2026-11-25\t1795624290\ta218e38a901297594546233ff47d34590bef0c13\tfix(web): activate the Chrome WebMCP origin trial\n\nM\t.brain/areas/webmcp.svx\n\u001e96798e5347837ba94297828b92f45f0225b33707\t2026-11-25\t1795595182\t637b08e2b17d8ef85743cd560167575cb59d338f\tfeat: extract build-only OG cards and gate published routes\n\nM\tAGENTS.md\n\u001e5c491a7217d7aab6462573f66009f8c5cf0bd542\t2026-11-24\t1795586562\t637b08e2b17d8ef85743cd560167575cb59d338f\tchore(lint): warn on retries and unsignaled polls\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\n\u001e24c30d391713797b5c39e4056fc050258aa37eef\t2026-11-24\t1795580526\t257ecafd591642a4dc73b0183b358e937376482f\tfeat(skills): publish the defensive security audit bundle\n\nM\t.brain/areas/skills.svx\nM\tskills/security-audit/SKILL.md\nM\tskills/security-audit/UPSTREAM.md\n\u001e8463c4dc4ab50449808f5483a0e2dd952e991062\t2026-11-24\t1795566439\tfda79187b7e05cb7eb0af86d31f7e3137873332b\tdocs and build: explain skill verification and guard cached content history\n\nM\t.brain/areas/skills.svx\n\u001e47a8531892feb5582d49c3f18fbdd7e9f91364d4\t2026-11-24\t1795555602\t202f60b49e4a5795f38f6ac3d400b97c55984cf5\tdocs(site): explain how portable skills reach agents\n\nA\t.brain/areas/skills.svx\n\u001e316a0181b05dc82c5fd1d62087b683566ee1c0cc\t2026-11-24\t1795554422\t25296bbe66a689db9ac732ef1bb92155ef29f02f\tfeat: project public reader tools through WebMCP\n\nA\t.brain/areas/webmcp.svx\nM\tAGENTS.md\n\u001ee0536e04d2d30211d38da582b92f26b5b4f71468\t2026-11-23\t1795459441\ta5068a24700faaa2560915fb8cfd3b599543e7bf\tdocs(agents): name the dark accent text value in the hot-pink rule\n\nM\tAGENTS.md\n\u001e97fe891ff0e13ee1be211a749560858308957798\t2026-11-23\t1795458837\t124be43c563ed69b512a802830f2aa0d4a7888b7\tfeat(site): follow the system light or dark preference with no flash\n\nM\t.brain/areas/web.svx\n\u001eaf460b2787fb45913fcf67683aca53660becc0b5\t2026-11-19\t1795082273\tc1936644c222524b103b5b39bc966068f0873a39\tfeat(catalog): backfill daily sightings and decisions\n\nM\t.brain/areas/catalog.svx\n\u001e91bd05dadb5f5390d939e7476ea49028af8f8337\t2026-11-18\t1795068663\t75f94fad163461e10d7e981e7b86e75eeb2421de\tfix(learn): return cards at the requested depth\n\nM\tskills/learn/SKILL.md\n\u001e2c2a871aad42392a4550d103be1670e1ac81d129\t2026-11-18\t1795033585\t75bcc9571281674d3a83bf91b7175a92d2d617fa\tfeat: vendor the Landmines testing fence\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\n\u001e2766d7aa98f803a31447ce6b92d0206d15d62899\t2026-11-16\t1794895579\t509c1a938481086d9cd1189e5bf2b996959db28c\texamples: update the Tokenmaxx workshop starter to 0.4.1\n\nM\t.brain/resources/tokenmaxx/exercises/01.1.svx\n\u001ea1caaa7c3653616cf2b070814b0d11be0c97c082\t2026-11-16\t1794888851\tfe92cd7368cdd6c90e0204d40bdb496c133fc46b\ttokenmaxx: v4 schedule and the eight exercise readmes\n\nA\t.brain/resources/tokenmaxx/exercises/00.1.svx\nA\t.brain/resources/tokenmaxx/exercises/01.1.svx\nA\t.brain/resources/tokenmaxx/exercises/02.1.svx\nA\t.brain/resources/tokenmaxx/exercises/02.2.svx\nA\t.brain/resources/tokenmaxx/exercises/03.1.svx\nA\t.brain/resources/tokenmaxx/exercises/04.1.svx\nA\t.brain/resources/tokenmaxx/exercises/05.1.svx\nA\t.brain/resources/tokenmaxx/exercises/06.1.svx\n\u001e95207c81c835352ded9108edc449f374de7a33c6\t2026-11-16\t1794845648\t8f05acbf785f3f6e0a8cd1d06797db8c7a5785fd\tchore(deps): bump XState beta.3 and Effect bridge beta.2\n\nM\t.brain/areas/fence.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e66d2eb04b5ba9cdc433cf1dd1058954b2389f951\t2026-11-15\t1794806680\t22a222c9eb3f08746c1ea7867b744cf81544ff5d\tdocs(bombadil): teach browser properties and their limits\n\nA\t.brain/resources/bombadil-ui-property-tests.svx\nM\t.brain/resources/lore/property-based-testing.svx\n\u001e3bdbcb75c09c2469749dbcb2edbca9202f060b49\t2026-11-15\t1794789965\t097ddcc75a495cf9ab59cab1fbb1084dfbd41380\tfix: recover legacy subject erasure and require abuse hold release\n\nM\t.brain/areas/interest.svx\n\u001e71e8b0cd87a9b6abec7c5910002707597e5c7053\t2026-11-15\t1794787900\t5cb4589c52a909247b3489deb7b1a01284b92816\tfix(catalog): prove runtime boot and recover projection refusals\n\nM\t.brain/areas/catalog.svx\n\u001eed9a8798c74529f88b051f6c6b39f97cc93143d7\t2026-11-15\t1794786595\t5285a3a225dea34b7b54d9e4a45c388709e90e4a\tfeat(tube): name RatTube and add the Sam Goodwin interview\n\nM\t.brain/areas/tube.svx\n\u001e8503320e603e089aa8e027163d3a25465f622168\t2026-11-15\t1794786500\t8ac3ecd2e0cff51b24b0bff90c705f1d11c0c257\tfix: make join migration atomic and preserve releasable holds\n\nM\t.brain/areas/interest.svx\n\u001e769b6bae69e2e6e58f1c009366227e7f268690ae\t2026-11-15\t1794785484\ta4ac33f89ef9ebb0b4470995d26ab10899f636b0\tfix(tokenmaxx): point attendees at the calendar event for the workshop code\n\nM\t.brain/areas/workshop-help.svx\n\u001e4444a45eedf7485addea174281589fa00a6d8701\t2026-11-15\t1794784721\tddd576e536037731408a0cbc9bf9b9863ec608f0\tfeat(tube): prerender transcript-backed video pages\n\nM\t.brain/areas/tube.svx\nM\t.brain/areas/web.svx\n\u001e0487cb7f321077a768527b419e3626a5c9645191\t2026-11-15\t1794783760\t9fd24907aa2b89a1c1fd96c36d5a008c51d7095e\tperf(ci): cache stable content generation and flags compilation\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e07443a1f8cac8b16dd8802892f8bced2e7a3d296\t2026-11-15\t1794781051\t807205099777182b7c8dbd7bbfcf2a71398b16b3\tfeat(catalog): project committed sightings into bounded native queries\n\nM\t.brain/areas/catalog.svx\nM\tAGENTS.md\n\u001e1537edb7ce123e59094976dae669f75f695e2c24\t2026-11-15\t1794780627\ta09dc557fd94b09f3dc10f4fffe888e9fb539a6c\tfeat(tokenmaxx): guided setup help on the Workshop Worker\n\nA\t.brain/areas/workshop-help.svx\n\u001ebe327a37d50ace2fe975d7ee13adb8f1ab611c21\t2026-11-15\t1794778453\t42acb69af7e879998d79747314c53744d3ea902d\tcontent(refresh): show admission refusal and recovery with permits\n\nM\t.brain/resources/lore/admission-controls-new-work.svx\nM\t.brain/resources/lore/backpressure-reaches-the-producer.svx\n\u001e87fe4d414240083ee203a425a7e78b1beca41f67\t2026-11-15\t1794775871\tcf916cb4b97042f18a73d3fb1ab4631b2e754527\tdocs(wiki): introduce jargon as readers choose to go deeper\n\nM\tskills/write-a-wiki-page/SKILL.md\n\u001eb127117dd3e278c1f5f5c90578bd36a84ff13db3\t2026-11-15\t1794768375\tebd301ef36c1f7f1b3ad213eb663ed408c398580\tfeat: serve the Tokenmaxx setup guide as raw markdown\n\nM\t.brain/areas/interest.svx\n\u001e9906f249ffaab199a78468d4fb1e7c9e4eaab7e7\t2026-11-15\t1794765629\t0dc243268a6b6d45d977e66420e9c72a0f0ddc85\tfeat(ci): report Turbo cache stories in CI summaries\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e8b5229e6eed6acd0bc67e19c6b5add89f8a4c908\t2026-11-15\t1794765567\t0dc243268a6b6d45d977e66420e9c72a0f0ddc85\tfix(home): lead with one project prompt and move setup details\n\nM\tskills/learn-rat-stack/SKILL.md\n\u001ecd3200ddb83053c65bd84bcac16406115f6c2cc0\t2026-11-15\t1794764885\tbf0d2d137f929484d5dc24ff659bf46b4a91d0dc\tfeat(catalog): host authenticated Item history on Alchemy Domain\n\nA\t.brain/areas/catalog.svx\nM\tAGENTS.md\n\u001ec9b43377e76024c89c2ed6b3bf5e23c7ce86c271\t2026-11-15\t1794764482\t0dc243268a6b6d45d977e66420e9c72a0f0ddc85\tfeat(turbo-cache): adopt read-only team credentials\n\nM\t.brain/areas/turbo-cache.svx\nM\tAGENTS.md\n\u001e7ebff5fa1be9c76c030252e4f4fac340c65dc9ac\t2026-11-14\t1794694929\tefa118fdc3f6431a18838394bcfb34fdbcfce4b2\tcontent: fix three council findings from #276\n\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\n\u001ec276687a7ecf2ea95eb30ed58af46c8dd5ec3138\t2026-11-14\t1794691741\t4cd7cbbdb90386426f44643f6fc5b8e6c6e4286a\tcontent(refresh): show shipped independent error accumulation\n\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\n\u001e31132fb994c12294d53a151c7909ff233c0ab686\t2026-11-14\t1794646930\t3192d6d1cdf27345a084e9983e432c9bbae7af43\tdocs: prefer paying debt down instead of \"only shrink\"\n\nM\t.brain/areas/fence.svx\nM\t.brain/resources/lore/shitrat-bestiary.svx\nM\tAGENTS.md\nM\tVISION.md\nM\tskills/gardener/SKILL.md\n\u001e3192d6d1cdf27345a084e9983e432c9bbae7af43\t2026-11-14\t1794645228\tf84fa85d99efb7da2f4910dc1eda28bb739ac960\tdeploy: drop the quiet-window wait\n\nM\tskills/durability/principles/fail-open-on-liveness.md\nM\tskills/ship/SKILL.md\nM\tskills/ship/references/project.md\n\u001e0b08f38106e872e30d69ee96ec0f1f79e3be73e8\t2026-11-13\t1794640072\ted72a75445c9ac83861bebe59bca949bcce9932c\tfence: log doc-fence opt-outs instead of ratcheting their count\n\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/shitrat-bestiary.svx\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e152143ab15d6c3f4cb02be118482e52da99c9079\t2026-11-13\t1794635611\t5e9a52e362d18bb76d722b06afba7a22748282c1\tdeps: tsrs 0.25 and @effect/tsgo 0.69\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ea363048f72537e38a17d0c58a12a0607cae8a593\t2026-11-13\t1794634472\t0e3df4f435a3928fe022eb00b0cd7da0f2ccc4c1\tdeps: lint, build and runtime tooling to current\n\nM\tAGENTS.md\nM\tREADME.md\n\u001eb520304fbf0fa841274456343c8d12ef37c181f4\t2026-11-13\t1794627207\t75a40b632c6692a25738ed21e762a798af36b704\tdeps: Alchemy beta.87 and Effect 4.1.4\n\nM\t.brain/areas/turbo-cache.svx\nM\t.brain/resources/lore/alchemy-domain.svx\nM\t.brain/resources/lore/durability.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e1a2906bab0c511f7c1c61aea4ee1925c53cb82c8\t2026-11-13\t1794624057\t951ef97d4d83c4eec1fec6456703b8561a2d1d02\tfence: report Worker sizes instead of blocking on shrink-only ceilings\n\nM\t.brain/areas/auth.svx\nM\t.brain/areas/motion.svx\nM\t.brain/areas/turbo-cache.svx\nM\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nM\t.brain/resources/lore/shitrat-bestiary.svx\nM\t.brain/resources/lore/shitrat-war-stories.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e917135589f7a256b789b177fbdaad4a3265af2ea\t2026-11-13\t1794605269\t10152920820e717f889628d4c4793fd38967dbd5\tcontent(correct): describe bounded shrinking without minimum promises\n\nM\t.brain/resources/lore/model-based-testing.svx\nM\t.brain/resources/lore/property-based-testing.svx\n\u001e4e9570dd452436021f8ca03b66b7a19ee568cb0d\t2026-11-12\t1794554005\tb830ca170510bb3d706ef0ba82b9e3c7ef153620\tskills(profile-a-worker): a capture can miss a scheduled handler's isolate\n\nM\tskills/profile-a-worker/SKILL.md\n\u001e2b306fbcaeb08c2cf7bb0e347e9cc06456dd668b\t2026-11-11\t1794442853\t8c7fba05d36e56b9aa7ec517ac3d0cc7f0d717f2\tfix(site): let a template child pass the content build\n\nM\tREADME.md\n\u001e14468812d2776b2b84e66e46126865c08344311e\t2026-11-11\t1794432720\t66df9fc245b8f26402835a812426fb9aef06ef7e\tcontent(create-lore): teach the testing ladder\n\nA\t.brain/resources/lore/testing-ladder.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\n\u001e2417db8249a9bb6cf35c5373c642dbb784fb5f0c\t2026-11-10\t1794354133\t097b1969f79f49bdcdded94aaf35b7349715eb3e\tfence: block every hook bypass, not only --no-verify\n\nM\t.brain/areas/fence.svx\n\u001ea13559c2e642d8ac06f86e7b90d1dfc23ee91244\t2026-11-10\t1794350253\tefb73202675fa2472d33471ae60e964da5ba19b3\tdocs: lead the README with using rat-stack as a reference\n\nM\tREADME.md\n\u001e7203f1b425fbc8fa42fd5883e81ee17ed89e6f9f\t2026-11-10\t1794348341\td1024e581bb8380d25e83822676a96ce1b4d8ccd\tfix: warn, not fail, when the package manager differs from the pin\n\nM\tREADME.md\n\u001e41dd0fea7dd5645402db4b8650298505002ce34c\t2026-11-09\t1794261854\ta39e00b93ff48d07d866f3c645344a234fe58036\tcontent: cartridge removal rule matches the retained-resource example; pin the remaining cartridge sources\n\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\n\u001ea0eae50e89321a9f5835a1478d97591a448f1f4f\t2026-11-09\t1794260137\t54bf7786f1260f20d0ba8dd96d828debff9c7759\tcontent(refresh): show the events cartridge removal boundary\n\nM\t.brain/areas/analytics.svx\nM\t.brain/resources/lore/cartridges.svx\n\u001e91adf29eda4158512bf4ef775907b9accce63ce3\t2026-11-09\t1794250803\t45df515566bc3880a7c20ba2f198e6056215376c\tlore: implicit state machines, with David Khourshid's definition and the deploy poll before and after\n\nM\t.brain/resources/lore/david-khourshid.svx\nA\t.brain/resources/lore/implicit-state-machines.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\n\u001e7192ebfc5e1e671f1cfc17222959b2304c482d9e\t2026-11-08\t1794208318\t01b872e8557b650e204888d5ef3ef941b8cee55d\tperf(auth): tighten startup ceiling to measured headroom\n\nM\tAGENTS.md\n\u001eedfc165e476f50f5e12f7acfcf09967b1b1a5d5d\t2026-11-08\t1794207324\tb8df5c243a1f0a51821794551642ea2333fd14df\tperf(auth): defer D1 auth implementation until worker initialization\n\nM\tAGENTS.md\n\u001e712864bae9291ab2d7ae254d09453fe9ee354708\t2026-11-08\t1794173252\t64f085070e2ab648797592079129b5092705fdc0\tdocs: use actual RunLog cartridge Layers\n\nM\t.brain/resources/lore/cartridges.svx\n\u001eb8f4ccfee151b162d038c79d5a349df7f4a039e2\t2026-11-08\t1794172956\t24f44e9da171d32cc7748bf261708e83f3158181\tdocs(lore): qualify intake recovery, the docs cache, and no-inline-effect\n\nM\t.brain/resources/lore/a-browser-send-follows-one-path.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/queues-pipelines-workflows-and-k2-do-different-jobs.svx\n\u001efa39fa0919b6498e797807f2e6d74bfc5bb96625\t2026-11-08\t1794171489\t49f800bea3ee8461bc84635c0b6bdf178ec28ce7\tdocs(lore): apply council fixes to the Worker state and Effect pin claims\n\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/durability.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nM\t.brain/resources/lore/workers-answer-requests-durable-objects-own-named-state.svx\n\u001e49f800bea3ee8461bc84635c0b6bdf178ec28ce7\t2026-11-08\t1794171489\t4c424cf4532d10f60aa6c5a9a2ce87747bd01e42\tdocs(lore): trace one Foldkit send from click to capability\n\nA\t.brain/resources/lore/a-browser-send-follows-one-path.svx\n\u001e4c424cf4532d10f60aa6c5a9a2ce87747bd01e42\t2026-11-08\t1794171489\t4f96c986d344d02f9f2274ab89532f97a7730c8f\tdocs(lore): teach Workers and Durable Objects as two homes for state\n\nA\t.brain/resources/lore/workers-answer-requests-durable-objects-own-named-state.svx\n\u001e4f96c986d344d02f9f2274ab89532f97a7730c8f\t2026-11-08\t1794171484\t370c73fcaea9ebe481e34abb201f5fb7bdb7ed16\tdocs(lore): rewrite five learn-path pages to teach from pinned source\n\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/context-and-requirements.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\n\u001e370c73fcaea9ebe481e34abb201f5fb7bdb7ed16\t2026-11-08\t1794171473\t79c1da580adec3c7bb3c5ad722613e84dce0d33f\tdocs(lore): compare Cloudflare Queues, Pipelines, Workflows and K2\n\nM\t.brain/resources/lore/durability.svx\nA\t.brain/resources/lore/queues-pipelines-workflows-and-k2-do-different-jobs.svx\n\u001e919653434305fb9f959cd3320f0a0a4d1552aed1\t2026-11-08\t1794170900\tc5e4fc13d7740952fcb1646b29a5cdd1b43001a8\tcontent(refresh): show a D1 infrastructure Layer at work\n\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\n\u001ec11e2936c0fe50773adc6d090e15cf82f3b04287\t2026-11-08\t1794169672\tc5e4fc13d7740952fcb1646b29a5cdd1b43001a8\tdocs: align public claims and archive superseded plans\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/database.svx\nM\t.brain/areas/durability.svx\nM\t.brain/areas/interest.svx\nD\t.brain/resources/dependency-refresh-2026-10-20.svx\nM\t.brain/resources/lore/double-opt-in.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/same-version-repos.svx\nD\t.brain/resources/xstate-alpha69-migration.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/durability/principles/answer-at-commit.md\nM\tskills/durability/principles/fail-open-on-liveness.md\nM\tskills/durability/references/request-budget.md\nM\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/model-a-protocol/SKILL.md\nM\tskills/uncomplect/SKILL.md\n\u001e40be579bc702f559d3d5332e08109687b6b223eb\t2026-11-08\t1794169475\tc54a01254d04d2b794b3c7d8653872a54f2f42d4\tchore(deps): refresh dependencies with preserved startup and lint fences\n\nM\t.brain/areas/fence.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/ship/references/project.md\n\u001efa99c83b14f4eed439a9896fcd8e0bf79e1e8421\t2026-11-08\t1794168291\t3f3c73de718140e6b7eb397ee51c71c6da065487\tfix(tube): council fixes for checked takes, fence messages and one CSP owner\n\nM\t.brain/areas/tube.svx\n\u001e34e92417692b1430eb47fdee4f315a08ce8c3a5e\t2026-11-08\t1794168291\teb5e4ef0f5f62072df542ee46e59c2a0c5bace15\tfeat(tube): curated, ranked videos for learning the stack at /tube\n\nA\t.brain/areas/tube.svx\n\u001e49268da90c96a976af2ea35519ca33e64419a3ec\t2026-11-08\t1794129251\t2d139ba713fa898ee2d42479d9d3c8e603a5eb8c\tfeat(core): model join intake in TLA+ and add the model-a-protocol skill (#233)\n\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/durability/SKILL.md\nA\tskills/model-a-protocol/SKILL.md\n\u001e4eb39690fbc6588cf1be7071bc34c17969117e3e\t2026-11-07\t1794046288\t89c2c0f3359a04889f799fbdbbd5122520324946\tdocs(lore): apply war stories review fixes\n\nM\t.brain/resources/lore/shitrat-war-stories.svx\n\u001ead976745070bf263effbd6e744d4130850120f95\t2026-11-07\t1794044435\t7511fdd2c7f2fa607cff1a22a1cba6f0bdeb3220\tdocs(lore): tell seven rat-stack war stories\n\nM\t.brain/resources/lore/shitrat-canon.svx\nA\t.brain/resources/lore/shitrat-war-stories.svx\nM\t.brain/resources/lore/shitrat.svx\n\u001e40188fae77e97ca0a99633594a0df38c2e033d78\t2026-11-07\t1794039762\t90a9c56bcd1ec77d564c7f7ecc3b1b26b867f5ff\tdocs(lore): ShitRat bestiary, rituals and the Rat King from the rat's side\n\nA\t.brain/resources/lore/shitrat-bestiary.svx\nA\t.brain/resources/lore/shitrat-rat-king.svx\nA\t.brain/resources/lore/shitrat-rituals.svx\nM\t.brain/resources/lore/shitrat.svx\n\u001e5b80391229e26780708cf2a7130a882086f2e902\t2026-11-06\t1794030606\t67ca7034628780a6526143d34b7d53371b8a357b\tdocs(lore): apply ShitRat lore review fixes\n\nM\t.brain/resources/lore/shitrat-origin.svx\nM\t.brain/resources/lore/shitratgit-bot.svx\n\u001e437218b1f9f1fef953c3a9f20365abf41e79ba51\t2026-11-06\t1794029512\t7570e37828ac6ba3da991a8ddca2f4298dcd5320\tdocs(lore): give ShitRat a house in the wiki\n\nA\t.brain/resources/lore/shitrat-canon.svx\nA\t.brain/resources/lore/shitrat-creed.svx\nA\t.brain/resources/lore/shitrat-origin.svx\nA\t.brain/resources/lore/shitrat.svx\nA\t.brain/resources/lore/shitratgit-bot.svx\n\u001e3ee953070036e13203a4070d079699f4b7180d21\t2026-11-06\t1794021901\t798562b7bf9895013b5f20cc96a68784e1d61190\tdocs: prove package and app removal checklists\n\nM\tREADME.md\n\u001e4e0e086152258ebd82c6b45541bb2067e99653c2\t2026-11-06\t1794018972\t798562b7bf9895013b5f20cc96a68784e1d61190\tfix: report code-mode execution failures through the contract\n\nM\t.brain/areas/capabilities.svx\nM\tskills/ship/references/project.md\n\u001ea23ab72b198c873d171e09447372a631218296c1\t2026-11-06\t1794007476\t61bfa66109e82b4b28776fb5df71c35735ce372c\tlore: Alchemy Domain example and glossary entry\n\nA\t.brain/resources/lore/alchemy-domain.svx\n\u001e1f3d5916681cd32114861cdc0b380f833adb3b7b\t2026-11-06\t1793997596\tcb6a902bd8f600e2a8b7fa91730c3113bfa1bb8f\tchore(xstate): move core and Effect bridge to beta\n\nM\t.brain/areas/fence.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/peers.svx\nM\t.brain/resources/same-version-repos.svx\nM\t.brain/resources/xstate-alpha69-migration.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\nM\tskills/gardener/SKILL.md\n\u001e5424f9df987278e90869abbe5033507a8f5b0bd7\t2026-11-05\t1793907271\t951f589b41926ea993c72f2d4cae5cb9e1747c60\tdocs: teach AT Protocol and refresh Rat King mail\n\nA\t.brain/resources/lore/at-protocol.svx\nM\t.brain/resources/lore/rat-king.svx\nM\t.brain/resources/lore/rats-nest.svx\n\u001e298a5d34587acdde3113f6467e3d0fc6eeb8596a\t2026-11-04\t1793861031\tbfbf6af7d4b2da6002023ffc45ed97b354f69aa3\tfeat: adopt pinned alchemy turbo cache cartridge\n\nM\t.brain/areas/turbo-cache.svx\nM\tAGENTS.md\n\u001eae49e4b48dadbc4df3e5a97b9b790e3d8a7bf4f2\t2026-11-04\t1793858706\tbfbf6af7d4b2da6002023ffc45ed97b354f69aa3\tci: sign Turbo remote cache artifacts\n\nM\t.brain/areas/turbo-cache.svx\n\u001e48d4c3c2f4796a03cb35e8443e37e90821cb88bc\t2026-11-04\t1793851849\t9da1f451db6bdc5e8cf115ff6725e355b18f9999\tci: let main read the Turbo cache\n\nM\t.brain/areas/turbo-cache.svx\n\u001e58d7aac529ec4a681a02ba12b05c28a7bdeb0473\t2026-11-04\t1793851795\t9da1f451db6bdc5e8cf115ff6725e355b18f9999\tfix: retain Turbo handoff credential failure context\n\nM\t.brain/areas/turbo-cache.svx\n\u001e6642bdee73f8be5c533ff3b121a5bf184f60f25b\t2026-11-04\t1793846241\t6882060a6d1d036923eebd9c7bab26f4f5a9bd03\tci: choose two tasks from runner-shaped measurements\n\nM\t.brain/resources/ci-audit-2026-11-05.svx\n\u001ef4c93a79953bac0ba6fc2cf03f0da29ea6a50e03\t2026-11-04\t1793846124\t52bf4d6809fca811bb627c2c24f5ed6c28f7d730\tfeat: add authenticated Turbo remote cache cartridge\n\nA\t.brain/areas/turbo-cache.svx\nM\tAGENTS.md\n\u001e5ddc8a7a0ea17c4e9de654737fb6ce349da981c8\t2026-11-04\t1793845596\t52bf4d6809fca811bb627c2c24f5ed6c28f7d730\tfeat: vendor Cloudflare security audit skill\n\nM\tskills/rat-stack-mode/SKILL.md\nA\tskills/security-audit/AI-AND-LLM.md\nA\tskills/security-audit/ATTACK-CLASSES.md\nA\tskills/security-audit/CLIENT-SIDE.md\nA\tskills/security-audit/CLOUD-AND-DEPLOYMENT.md\nA\tskills/security-audit/DATA-ISOLATION-AND-LIFECYCLE.md\nA\tskills/security-audit/DESKTOP-MOBILE-AND-LOCAL-IPC.md\nA\tskills/security-audit/HUNTING.md\nA\tskills/security-audit/LICENSE\nA\tskills/security-audit/MEMORY-SAFETY-AND-BINARY.md\nA\tskills/security-audit/PROTOCOLS-RPC-AND-MESSAGING.md\nA\tskills/security-audit/RAT-STACK.md\nA\tskills/security-audit/RECONNAISSANCE.md\nA\tskills/security-audit/RESOURCE-EXHAUSTION-AND-AVAILABILITY.md\nA\tskills/security-audit/SKILL.md\nA\tskills/security-audit/SUPPLY-CHAIN-AND-RELEASE.md\nA\tskills/security-audit/UPSTREAM.md\nA\tskills/security-audit/VALIDATION-AND-REPORTING.md\nA\tskills/security-audit/WEB-PROTOCOL-AND-AUTH.md\nA\tskills/security-audit/report-schema.json\nA\tskills/security-audit/validate-coverage-ledger.cjs\nA\tskills/security-audit/validate-coverage-ledger.test.cjs\nA\tskills/security-audit/validate-findings.cjs\nA\tskills/security-audit/validate-findings.test.cjs\n\u001e369e74d7813f7d18e11506f81df0282d4d31e213\t2026-11-04\t1793839700\t52bf4d6809fca811bb627c2c24f5ed6c28f7d730\tci: overlap full gate tasks and cancel superseded PR runs\n\nA\t.brain/resources/ci-audit-2026-11-05.svx\n\u001e0b9abbf048635ef27dec75b126a25e0528ca6f7b\t2026-11-04\t1793828889\tae24f6ab595ed77a4f8e76841399f15c5ad3ad65\tfeat: isolate the Tokenmaxx workshop pipe in its own Worker\n\nM\tAGENTS.md\n\u001e83069f319441be242a158d0af0add3c40e88a82f\t2026-11-04\t1793822708\t93da63885b28bd39e0e1dfc71705c4aa933653e1\tfix: keep All Stars bios neutral and CAFE-specific\n\nM\t.brain/areas/all-stars.svx\n\u001eed9da9ebea273085cdf7265e0bf9ef984f8c8515\t2026-11-04\t1793820188\t2a22d184d5578b79b0cf5852eea37ca1302ed380\tfeat: widen All Stars entry and add 38 sourced profiles\n\nM\t.brain/areas/all-stars.svx\n\u001e6366b4e128e9e980d8e6b1f48085f41e9ca6edd2\t2026-11-03\t1793767199\t11e6c74bde342e94ab924357b8b125e21a6974ce\tfeat(deploy): report healthy at version confirmation; watch after, build once\n\nM\tskills/ship/SKILL.md\nM\tskills/ship/references/project.md\n\u001e7924e19e41edb13d0a27a6ea943be48016564e2e\t2026-11-03\t1793679840\t0188cb8d1d3cae5e09c4923bd8494f36eb16464f\tchore: mark .brain as public content for the ShitRat public-push guard\n\nM\tAGENTS.md\n\u001ed13054d22dfeb17af10d85e849e8b8e17f049a83\t2026-11-02\t1793675987\t30cf1712cb366afaba1fdb522b9e8aef7ca086c7\tcontent: typecheck every published TypeScript fence in pnpm check\n\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/ui-behaviour-is-a-scene.svx\nM\tskills/add-a-capability/SKILL.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e67d126f38d6dcfe92487174e5e7f2ea2920d24b9\t2026-11-02\t1793674530\t5fa5df1543b8122a678722d5465ae65fc8a4bf2d\tfeat(web): add the /systems/motion page with a live motion demo\n\nA\t.brain/areas/motion.svx\n\u001e72ded73e022a6787794366198260055408489c19\t2026-11-02\t1793673548\t81a12c4b86cd65bf86e4bdba98eda122d0133844\tfence: every fence message names what, why, and the fix\n\nM\tAGENTS.md\n\u001e5fa5df1543b8122a678722d5465ae65fc8a4bf2d\t2026-11-02\t1793673230\t81a12c4b86cd65bf86e4bdba98eda122d0133844\tfeat(motion): add @rat-stack/motion easing, tweens, springs and a Foldkit adapter\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ea1b54d5920ec137390632376084ce172b930994a\t2026-11-02\t1793666085\t232a4c528c876bb4a069a76fa449199356255095\tfeat(all-stars): agent-readable proof, the full entry set and the entry rule\n\nM\t.brain/areas/all-stars.svx\n\u001e66ea76bbe24be8f0c343ab8bb9a8e876ef5b1227\t2026-11-02\t1793663333\t2623f8fd0192fa1e4d0462f27bde8f4e9341cdf4\tchore(deps): bump xstate 6.0.0-alpha.73, @xstate/effect 1.0.0-alpha.12\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e2623f8fd0192fa1e4d0462f27bde8f4e9341cdf4\t2026-11-02\t1793663333\td1c6dc0039162832db667e508bf51c12478c7f47\tchore(deps): bump Effect 4.1.2, Alchemy beta.85, Foldkit 0.170.0\n\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/ship/references/project.md\n\u001e154e89e5f1c6cd9fc0adb98bc8ff69446c103edc\t2026-11-02\t1793661076\td403594079c722aa599c8f2d1b7a3f5bc244f7e5\tfeat(infra): move rat-stack to its own Alchemy state store\n\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/ship/references/project.md\n\u001effd123336d7c890915fd83ce21e976c2807083bf\t2026-11-02\t1793647086\t4a653d322bf8637c6e6ff3fc71c085b91c01ee26\tfeat(all-stars): CAFE people and channels as capabilities and pages\n\nA\t.brain/areas/all-stars.svx\n\u001e7ff40bf486bad6b2036ace19944a73bd76fddd67\t2026-11-02\t1793644509\t4a653d322bf8637c6e6ff3fc71c085b91c01ee26\tfeat: surface latest CAFE news in site navigation and chrome\n\nM\tAGENTS.md\n\u001e3e565e4d874f10adb491b15b89f730064c785368\t2026-11-01\t1793552714\t19b1c94bcc12f794f3fbe46c54e32ea830b743f5\tlint: every disable directive carries its reason (contest)\n\nM\tAGENTS.md\n\u001ed82837c3edafb28a0d2b616132bff07c62c5ccd2\t2026-10-29\t1793311021\t93d3464e912081758eaf4b9e5e61212a2a10fc1d\tchore: bump XState alpha.71 and Effect bridge alpha.10\n\nM\t.brain/resources/xstate-alpha69-migration.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e6e629ae9f664ebe39afd5230620906b0aea9d9a0\t2026-10-29\t1793300524\td9dc03ebef2eb4647938d1966c5a1fc23f6cc98a\tchore(deps): effect-tsrs 0.2.3; docs name tsrs 0.20.1\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e24706e342eb65ccfa6da07499fa083d1099a0906\t2026-10-28\t1793213999\t82737fe6848fa3c95e6887bcb10a52bc28f0e8f0\tchore(deps): bump the Effect family to 4.0.7\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e1cb404b5d881cb798639cdd650a98b29d3870d7d\t2026-10-27\t1793140611\t2d6624a8a9171bd1c2b2d987e45b642f16355e39\tdocs(learn): teach branded Schema classes and errors\n\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\n\u001ec3ff8a9968924409bf73730444c463d5c1603e0f\t2026-10-27\t1793090902\td0c669ba9967d21309d38bec922f05b08c3080f0\tdocs: keep regular peer refresh as a non-blocking alarm\n\nM\tAGENTS.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\n\u001e49994c965eff3abb6d4d11a796781256764c3136\t2026-10-27\t1793090014\ta5ebc6566091d12546063faa9784d2e2531f36d4\tdocs: subtract stale and duplicated agent rules\n\nM\t.brain/resources/same-version-repos.svx\nM\tAGENTS.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/ship/references/project.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001ec9e8a1e2fbc4cc8a1118a8e7c2daae9bf8b44471\t2026-10-27\t1793085019\t27c1cb3b65ae3da6bf7b3b8c43e942d26c308962\tdocs: refresh weekly peer versions and source-backed tiers\n\nM\t.brain/resources/same-version-repos.svx\n\u001eb794da081c3a399dbce2132f358228078de62e24\t2026-10-26\t1793059967\tcda1acdc493efd7161336d34b13141c92d46d865\tdocs: align model guidance with inspection excerpt\n\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\n\u001e701becd5ab4150903f4d941c307945b5f53aedb6\t2026-10-26\t1793059114\tf1e24f7ee9f9b5f4a06574cb8c1646de001e4a3f\tdocs: decouple teaching excerpts from events cartridge\n\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\tREADME.md\nM\tskills/test-behaviour/SKILL.md\n\u001e425d96c27c79bcc1b7b426e7a149beeb3b0e591b\t2026-10-26\t1793048898\td5a117eb6217278a0003befa7a5c3fa78d62429b\trefactor: name the off composition in core and document cartridge removal\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ed5a117eb6217278a0003befa7a5c3fa78d62429b\t2026-10-26\t1793048223\tcaabc4420a2e94f8183be6eb09f37a8e881dd179\trefactor: make the events cartridge removable behind core ports\n\nM\t.brain/areas/analytics.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/ship/references/project.md\n\u001e9cc65691e07474cbf0eead806c97188e2e58a3f7\t2026-10-26\t1793032030\tfd7bb928a400bc12ada2311957caafbff101d1f4\tfix: budget Worker static startup sets instead of entries\n\nM\tAGENTS.md\n\u001e2e9440e9d878ffd1a0e8d53ab037d334d1ca8c6b\t2026-10-26\t1793019680\t6dbafbc32fd5985ee14d0d74152027d63757a076\tchore: align tsrs checker pins and preserve combined diagnostics\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e1249a2cfec15cd63c667e3683bc158f3bb528f2b\t2026-10-25\t1792965722\tfc1e1598d45e6d0a25435ae4aef1b57008879f99\tfeat: alchemy beta.84, effect 4.0.6, foldkit vite-plugin patch\n\nM\t.brain/areas/web.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001eb94d24563e49b9a3958c5049488366f679d0d8fc\t2026-10-25\t1792964160\t1c07bf0f53238a0d9916d91a329a4d84a3cccb7a\tfeat(web): foldkit 0.169 SSR and prerender by default\n\nA\t.brain/areas/web.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e777b9ba30ebf9c4cdedc436e3abbb86d12f95003\t2026-10-24\t1792887862\te50bd5bb12b2819eefcb38d9f7d8c8d3501d288c\tfix(flags): refuse non-atomic KV authority by default\n\nM\t.brain/areas/flags.svx\nM\t.brain/resources/lore/flags-climb-on-evidence.svx\nM\tskills/add-a-feature-flag/SKILL.md\nM\tskills/durability/principles/climb-flags-with-a-ledger.md\n\u001ed438f7853d6c6de9a14ea701e178ec9d0f18feb9\t2026-10-24\t1792866544\tce7900b78920a092b75259bdabd02096c162dc99\tdocs: teach list onboarding with typed policy and stop safety\n\nA\tskills/onboard-a-list/SKILL.md\nA\tskills/onboard-a-list/references/contracts.md\nA\tskills/onboard-a-list/references/verification.md\nA\tskills/onboard-a-list/references/worked-example.md\nM\tskills/rat-stack-mode/SKILL.md\n\u001e9bb993d3b20ad971888fa21c6e43600e1c5eeec2\t2026-10-24\t1792865076\tee49ba0660222833c5fdf0127443735f6adeba6f\tdocs: publish durability skill tables as labeled lists\n\nM\tskills/durability/SKILL.md\n\u001e21f06e4d612e9a2620b76f2e8ec7db87849f4247\t2026-10-24\t1792858013\t2060644b2449d6a7332776f8b572fdaf7c5e0df9\tdocs: align checker backstop guidance with tsgo 0.55\n\nM\t.brain/areas/fence.svx\nM\tREADME.md\n\u001ec525d23587790e57a6a482231f4278b44d1678fc\t2026-10-24\t1792856334\t2fcf7996a7a536cda50f6944c71b0cc797676757\tfix(site): replace published Markdown tables with lists and fence reader output\n\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/learn.svx\nM\t.brain/resources/effect-4-reference-projects.svx\nM\t.brain/resources/lint-rule-limits.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/cafe-stack.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/run-effect-at-the-boundary.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/trace-meaningful-operations.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\nM\t.brain/resources/peers.svx\nM\t.brain/resources/schema-projections-and-code-mode.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/learn/SKILL.md\nM\tskills/query-design/SKILL.md\nM\tskills/ship/SKILL.md\nM\tskills/uncomplect/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e3ae5611eeab38167d8e5057bf1adf2c7dc92799a\t2026-10-24\t1792855702\t2fcf7996a7a536cda50f6944c71b0cc797676757\tchore: drop the patched tsc backstop from CI\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e7ca330d548589a3499fa0178f146f59d618d7645\t2026-10-24\t1792851786\ta230e14683812ef9a220f8d11be393a24192dd50\tfeat: run strict Effect diagnostics with effect-tsrs\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e39d3e13d9b76e2bc9a40e78740d82ef2b7f6d1fd\t2026-10-23\t1792817298\t87dea7125b103f0962ca7922cccf71e81e044bec\tfeat: add tsrs fast typechecks with compiler parity CI\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ef023d0d4165e1d4d980705c6e19c21403d432d96\t2026-10-23\t1792788714\tf294f950ebbd3911ac5a8ffea30e1ac87cd26be9\tdocs(flags): teach scoped evidence and durable rollout receipts\n\nM\t.brain/areas/flags.svx\nA\t.brain/resources/lore/flags-climb-on-evidence.svx\nM\tAGENTS.md\nA\tskills/add-a-feature-flag/SKILL.md\n\u001eb482a31f3690d52c21861391d9d5fa8e3d8cd7a3\t2026-10-23\t1792781593\t591e51671afc0aaa9381e61ff1c616371cf7ebae\tdocs: worker autonomy ladder and own-your-wait principle\n\nM\tAGENTS.md\nM\tVISION.md\nM\tskills/rat-stack-mode/SKILL.md\nA\tskills/rat-stack-mode/principles/own-your-wait.md\n\u001e74c493aa0a38f0015af33079fc92fb066e71af80\t2026-10-23\t1792780886\t58dc623195d25281ff94d964a4bccd032765ab54\tdocs(skills): link the durability hub to its lore pages\n\nM\tskills/durability/SKILL.md\n\u001e58dc623195d25281ff94d964a4bccd032765ab54\t2026-10-23\t1792780886\td3bc5b57e09adda8e75df98d263774ff5a1f39f1\tdocs(lore): land the durability wiki pages and bibliography\n\nA\t.brain/resources/lore/admission-controls-new-work.svx\nA\t.brain/resources/lore/backpressure-reaches-the-producer.svx\nA\t.brain/resources/lore/bulkheads-isolate-capacity.svx\nA\t.brain/resources/lore/checkpoints-follow-commits.svx\nA\t.brain/resources/lore/circuit-breakers-have-state.svx\nA\t.brain/resources/lore/cleanup-can-be-an-idempotent-postcondition.svx\nM\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nA\t.brain/resources/lore/dead-letters-need-a-return-path.svx\nA\t.brain/resources/lore/durability-bibliography.svx\nA\t.brain/resources/lore/durability.svx\nA\t.brain/resources/lore/durable-timers-need-recovery.svx\nA\t.brain/resources/lore/durable-work-needs-storage.svx\nA\t.brain/resources/lore/effect-is-not-beam.svx\nM\t.brain/resources/lore/error-model.svx\nA\t.brain/resources/lore/every-task-needs-an-owner.svx\nA\t.brain/resources/lore/failures-keep-their-meaning.svx\nA\t.brain/resources/lore/golden-signals-expose-overload.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/model-based-testing.svx\nA\t.brain/resources/lore/old-events-must-still-decode.svx\nA\t.brain/resources/lore/pure-cores-reduce-timelines.svx\nA\t.brain/resources/lore/queries-need-result-bounds.svx\nA\t.brain/resources/lore/recovery-needs-model-tests.svx\nA\t.brain/resources/lore/replay-needs-stable-inputs.svx\nA\t.brain/resources/lore/request-lifetime-is-not-durability.svx\nA\t.brain/resources/lore/restart-from-known-state.svx\nA\t.brain/resources/lore/retry-load-needs-a-budget.svx\nA\t.brain/resources/lore/retry-needs-idempotency.svx\nA\t.brain/resources/lore/schema-changes-need-a-transition.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nA\t.brain/resources/lore/steady-state-recycles-resources.svx\nA\t.brain/resources/lore/supervision-is-a-recovery-policy.svx\nA\t.brain/resources/lore/timeouts-bound-waiting.svx\n\u001e9b233dbab13ac5fe69349b46961eecbb5781487a\t2026-10-23\t1792780184\t83ffd1d4f5575fae60bd8450200119d6adb1899c\tdocs(durability): merge Switchboard's research into the skill\n\nM\t.brain/areas/durability.svx\nM\t.brain/areas/interest.svx\nM\tskills/durability/SKILL.md\nM\tskills/durability/principles/answer-at-commit.md\nA\tskills/durability/principles/bound-in-flight-work-with-keys.md\nD\tskills/durability/principles/bound-in-flight-work.md\nM\tskills/durability/principles/climb-flags-with-a-ledger.md\nM\tskills/durability/principles/fail-open-on-liveness.md\nM\tskills/durability/principles/lease-connections-per-query.md\nM\tskills/durability/principles/one-timeout-at-the-boundary.md\nM\tskills/durability/principles/scope-waiters-to-the-request.md\nA\tskills/durability/references/bibliography.md\nA\tskills/durability/references/effect-map.md\nA\tskills/durability/references/request-budget.md\nM\tskills/rat-stack-mode/SKILL.md\nD\tskills/rat-stack-mode/principles/answer-at-commit.md\nD\tskills/rat-stack-mode/principles/bound-in-flight-work-with-keys.md\n\u001eb93dadfb189b4b408fedf0a3429dd59e967ed511\t2026-10-23\t1792777766\tae94220706948df8f41fd3b0eec22c191fb28946\tfeat: durable by default — seven patterns, real seams, planted-bug fences\n\nM\t.brain/areas/database.svx\nA\t.brain/areas/durability.svx\nM\t.brain/areas/interest.svx\nM\tskills/add-a-lifecycle-machine/SKILL.md\nA\tskills/durability/SKILL.md\nA\tskills/durability/principles/answer-at-commit.md\nA\tskills/durability/principles/bound-in-flight-work.md\nA\tskills/durability/principles/climb-flags-with-a-ledger.md\nA\tskills/durability/principles/fail-open-on-liveness.md\nA\tskills/durability/principles/lease-connections-per-query.md\nA\tskills/durability/principles/one-timeout-at-the-boundary.md\nA\tskills/durability/principles/scope-waiters-to-the-request.md\nM\tskills/investigate-a-failure/SKILL.md\nM\tskills/rat-stack-mode/SKILL.md\nM\tskills/uncomplect/SKILL.md\n\u001e3a03db7aee7bd39a47d77945f2a559046731bc53\t2026-10-23\t1792776684\t87dea7125b103f0962ca7922cccf71e81e044bec\tfeat: fence shared waiters and document durable dispatch\n\nM\tskills/rat-stack-mode/SKILL.md\nA\tskills/rat-stack-mode/principles/answer-at-commit.md\nA\tskills/rat-stack-mode/principles/bound-in-flight-work-with-keys.md\n\u001ef3fde8f407f6cdc059e80c5430623df39eb3f93f\t2026-10-22\t1792721185\t2bbc6b8bbc61dbc6f34d9e87ed650d939a87c4e1\tfix(events): rotate the IP hash with the day in daily mode\n\nM\t.brain/areas/analytics.svx\n\u001ea51f61d45c74d42dc875a8544d7ac8eeee2f4168\t2026-10-20\t1792565456\tf202018d373fa001ecad99333ac230d0ed0b8b6e\tchore: bump @effect/tsgo to 0.55.0 (adds opt-in preferEffectString, off by default; severity map unchanged)\n\nM\tAGENTS.md\n\u001e72bffab93cff3aff8b8bfa8e6f8a6dfc497d49f0\t2026-10-20\t1792488867\t4eb8bdd6a0f435070ebf2fd9bfe971fbc0e13c7d\tdocs: mark alpha.69 pins historical and scope the better-auth schema proof\n\nM\t.brain/resources/dependency-refresh-2026-10-20.svx\nM\t.brain/resources/xstate-alpha69-migration.svx\n\u001eaf78879c5cb60022c97d01bee0be37cb20432f0f\t2026-10-20\t1792486708\tb45eb3e613ff5a5554ddccc82977efba5491db28\tchore(gardener): refresh public peers after XState alpha.70\n\nM\t.brain/resources/same-version-repos.svx\n\u001eb45eb3e613ff5a5554ddccc82977efba5491db28\t2026-10-20\t1792486156\t63f6a9f883b03a46e0ade9413b7d14d6a6234751\tchore(deps): bump XState alpha.70 and Effect bridge alpha.9\n\nM\t.brain/resources/xstate-alpha69-migration.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e8141d8284d566f1f1060ef72fe933dac715460ec\t2026-10-20\t1792482631\t16db4de8b861c1fd0414b27481294a52769eef9c\tfix(auth): upgrade Better Auth with unchanged database schemas\n\nM\t.brain/resources/dependency-refresh-2026-10-20.svx\n\u001ed27fa59e31eae02732742c94712cd29dc31b5f98\t2026-10-19\t1792476829\t9980fa0889ab050e32858a23b170f156b672afd2\tdocs(deps): record refresh decisions and current pins\n\nA\t.brain/resources/dependency-refresh-2026-10-20.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ee5c30770efa517b5587ad3b10d3b89235dbcbd1e\t2026-10-18\t1792349338\tb4d6b8f499e57bc76914ad70df3a0c99751ae28c\tdocs: refresh XState excerpts and peer evidence\n\nM\t.brain/areas/learn.svx\nM\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\t.brain/resources/lore/run-effect-at-the-boundary.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/same-version-repos.svx\nM\tskills/learn-rat-stack/SKILL.md\n\u001ed4b7bd0d9d2db4906ee7e8133eeca99932d65a0b\t2026-10-18\t1792344921\tc8fa9e84a1cec1d22642f16271c55ba48e8e3663\tchore: bump XState and rename Effect logic constructors\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nA\t.brain/resources/xstate-alpha69-migration.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\nM\tskills/uncomplect/SKILL.md\n\u001e2de83a8088974534faf48fcc47448dea181f3779\t2026-10-14\t1791989109\t40435cb6df0fef65d795266d4856ede0abb8cf02\tchore: bump oxlint and @oxlint/plugins to 1.88.0, varlock to 1.23.0\n\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/ship/references/project.md\n\u001e481ab831536c53de48879e2c9f44f92921f8e29c\t2026-10-12\t1791873336\t8b2016dda104f03f8ab66cc1c40704c2df0ea045\tdocs: add shared query design skill\n\nA\tskills/query-design/SKILL.md\n\u001e2c5b496aced6928b47e3da9580a891e87e9f093e\t2026-10-12\t1791854541\t907e6364fd0fba964c39278eeec00033f3b20be4\tdeps: alchemy 2.0.0-beta.83\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e4533d331f1adb72c2c81af4ee7be5e59e3ace742\t2026-10-12\t1791837475\te6c2bcbaeed99e56cc795187009a1b1714dc2966\tfeat: log one path-only request line per Mischief request and joinInterest outcome\n\nM\t.brain/areas/analytics.svx\n\u001e8fa3c6d248baae31a970e38bae18ceab34092a63\t2026-10-12\t1791818203\t02bd473855d5d6b909cebcb9a8fc9c06ccbb6328\tfix: answer honestly on intake rate limits and scorer outages\n\nM\t.brain/areas/interest.svx\n\u001e02bd473855d5d6b909cebcb9a8fc9c06ccbb6328\t2026-10-12\t1791816995\t52525c0a4bc454e55299f31a39ebaadf2133feef\tfeat: redeliver ready applications on the private operator surface\n\nM\t.brain/areas/interest.svx\n\u001e11edf671c7f4ba7d38f70279a4e9211b7c2db9e6\t2026-10-11\t1791743637\tb1f5d7c81caeeaab4ffb09bcfd1786c4b8a5af4e\tfeat(flags): add KV reads and approval-gated audited writes\n\nM\t.brain/areas/flags.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ec7848fe81974a49bf3360ba265b5ad2625f9f9b0\t2026-10-11\t1791737964\t1ae8bff5e6403daaf12b32c2b8d6d2fe2c0ef86a\tfeat(lore): explain infrastructure joins with responsive grounded art\n\nM\t.brain/resources/lore/infrastructure-as-effects.svx\n\u001eebc3d1428e736c3e622d6c08a1c7579e9381ea1c\t2026-10-10\t1791687396\t075b3ab11d430e2e9a06a29795ed9b324d672c1c\tchore: rename the smoke script to site:smoke\n\nM\tAGENTS.md\nM\tskills/ship/references/project.md\n\u001e978dccc9c1cb017225d073d0c0a50c645c2c17c7\t2026-10-10\t1791675506\t246600bd53978883a6a4c1f5a6ff45e3f1ff2f0c\tdocs: point live docs, skills and Brain pages at apps/site\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/flags.svx\nM\t.brain/areas/interest.svx\nM\t.brain/areas/learn.svx\nM\t.brain/resources/intake-application-reader.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nM\t.brain/resources/lore/cafe-stack.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/double-opt-in.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nM\t.brain/resources/lore/mcp-is-another-surface.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\t.brain/resources/lore/one-snippet-model-two-renderers.svx\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\nM\tskills/gardener/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/rat-stack-mode/principles/design-serves-function.md\nM\tskills/rat-stack-mode/principles/make-review-views-complete.md\nM\tskills/rat-stack-mode/principles/name-the-system-of-record.md\nM\tskills/rat-stack-mode/principles/one-writer-per-partition.md\nM\tskills/rat-stack-mode/principles/prove-the-recipient-path.md\nM\tskills/rat-stack-mode/principles/scope-private-data.md\nM\tskills/rat-stack-mode/principles/use-plain-language.md\nM\tskills/rat-stack-mode/principles/use-real-provider-guarantees.md\nM\tskills/ship/references/project.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e246600bd53978883a6a4c1f5a6ff45e3f1ff2f0c\t2026-10-10\t1791675270\tecdea9e7f21947f8322d0cf051758f17b605fa64\trefactor: move apps/mischief to apps/site (@rat-stack/site)\n\nM\t.brain/resources/lore/effect-basics.svx\n\u001ed06fa12906f702210a4269f45050257b43369e0e\t2026-10-10\t1791670048\t276530472695402e3d7afafc3209fa749249f781\tfeat: add typed flags cartridge with removable adapters\n\nA\t.brain/areas/flags.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e237eb0c5c0a4cfc874a7a85c7eb98841262aa5a1\t2026-10-10\t1791663260\t7dbad66e6f31c770b666829fa76078acb707acc0\tdocs(learn): suggest skills in session, never install them\n\nM\t.brain/resources/learn-mode.svx\nM\tskills/learn/SKILL.md\n\u001e0d43dfca9e803e41dd3e5888c96162ba6d74afd6\t2026-10-10\t1791654512\t3912ef6550676cab759f9792157a2460021589dc\tdocs(skills): add investigate-a-failure and rebuild what you run\n\nA\tskills/investigate-a-failure/SKILL.md\nM\tskills/rat-stack-mode/SKILL.md\nM\tskills/rat-stack-mode/principles/find-the-cause-first.md\nA\tskills/rat-stack-mode/principles/rebuild-what-you-run.md\n\u001e05640b640b1b153a016ea0c0791ae899b1631082\t2026-10-10\t1791646068\t3ac158676105f728a54ec0cd968db3b762f7c805\tdocs(analytics): say what a delete does and does not erase in Basin\n\nM\t.brain/areas/analytics.svx\n\u001e3a441c6142e6241fd554f2929a897fef0def2561\t2026-10-10\t1791640458\t7fe7a0036956522325e6b2d49f420a94bf178dee\tchore(deps): bump vitest to 5.0.3 to stop the forks pool leaking ssr temp dirs\n\nM\tREADME.md\n\u001ec67617b222707d15e0b70484c5a55ae7bebfd534\t2026-10-10\t1791622557\t1f6b2cf1cfd52fe303d9e97c2e45f50420b115f0\tfeat(web): mount the docs browser at /search\n\nM\tAGENTS.md\n\u001e31071090ebeab509843322d45aa07de0fe5c4374\t2026-10-09\t1791613722\tc893d6cd4a74a42cb4b7790b36d4709796fe008f\tdocs(skills): add test-behaviour skill and the UI behaviour is a scene lore page\n\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nA\t.brain/resources/lore/ui-behaviour-is-a-scene.svx\nA\tskills/test-behaviour/SKILL.md\n\u001e3bab7b323c3e0af8d266caca4f72006464f5894e\t2026-10-09\t1791587561\tbe121c4f8c161cee6a14292cdb1ab909c28bb165\tchore(peers): refresh stack sources and compatibility notes\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\t.brain/resources/same-version-repos.svx\nM\tAGENTS.md\n\u001ebe121c4f8c161cee6a14292cdb1ab909c28bb165\t2026-10-09\t1791587561\t1016de59eb033397df222c84b6386d7bb340d96f\tchore(deps): update tsgo to 0.51.1 with a tighter API fence\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e1016de59eb033397df222c84b6386d7bb340d96f\t2026-10-09\t1791587561\tc30e74e988855d36654027de7db069c2f3059bf2\tchore(deps): update XState alpha.65 and Effect bridge alpha.7\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ec30e74e988855d36654027de7db069c2f3059bf2\t2026-10-09\t1791587561\t7d44c4264f49b487c78dfb93b2a5ddd8542be5e7\tchore(deps): update Alchemy to 2.0.0-beta.81\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e99d1360c0398da175af5d166a33455ccf0f630a7\t2026-10-09\t1791580765\t2b8330ebacd0ab2d388f9edb8d6687fe064085ff\tfix(deploy): qualify execute diagnostics instead of legacy error bodies\n\nM\t.brain/areas/capabilities.svx\nM\tskills/ship/references/project.md\n\u001e68cf4ded8035844a05fc9c867e48b6c7ab27a5a9\t2026-10-09\t1791577974\tfef01677a0125769ec0d74912607d08fe6535274\tdocs(capability): explain code-mode discovery diagnostics and limits\n\nM\t.brain/areas/capabilities.svx\n\u001e1bc586c4fb30297de91adad3f514e0c64dd9bf89\t2026-10-09\t1791570516\t949bd56d1d2e6904379383bb719aae54c39921be\tchore: refresh source snapshot after the profile-a-worker skill\n\nA\tskills/profile-a-worker/SKILL.md\n\u001e5204f68d3e5362b37e0f956346a981c6e1db8b94\t2026-10-09\t1791568289\td202ff2e3c56d85237a67011203a5ecbe7a940b7\tfix(cafe): validate approved rows before deduplication\n\nM\t.brain/resources/lore/cafe-stack.svx\n\u001e4b5118d50bf7f01bcfb7feb907b8388970d6b237\t2026-10-09\t1791561822\t580e1e5d93d320525945b575330bee9259de348b\tchore(web): delete the Worker entry production never runs\n\nM\tAGENTS.md\n\u001ec75ef6bc3fe8a332bc4c5e18a7c1bee05c1fd94f\t2026-10-09\t1791560756\tc0687be1460fc70214ea1fc39f3207d17c4641cb\tdocs: describe the real Foldkit client path, not AtomRpc\n\nM\tAGENTS.md\n\u001e799e8fa31912f0b19888527d8e4ebdc0b98cff01\t2026-10-09\t1791559039\t04ef9b1afcf22c254a70f27edac80eda383c065c\tdocs(lore): drop an unverified profile link from the CAFE page\n\nM\t.brain/resources/lore/cafe-stack.svx\n\u001e04ef9b1afcf22c254a70f27edac80eda383c065c\t2026-10-09\t1791557489\t42ab7e2707ae66d7d8a4486d59c3a9cd9591d973\tdocs(lore): credit the people behind the CAFE name\n\nM\t.brain/resources/lore/cafe-stack.svx\n\u001e42ab7e2707ae66d7d8a4486d59c3a9cd9591d973\t2026-10-09\t1791556992\t3fb103b2c6fdeba9460d387827f9d4fd1525d9cc\tdocs(lore): add CAFE stack page\n\nA\t.brain/resources/lore/cafe-stack.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/sam-goodwin.svx\n\u001e29ccee33f73f96c78c52474c2964465b49b4d3f3\t2026-10-08\t1791527168\t166091e48e20da746bc006f242c3d7743a177f34\tfeat: add opt-in request-scoped native tracing with privacy proofs\n\nM\t.brain/resources/lore/trace-meaningful-operations.svx\n\u001ead718e1322b2a26dd423f12013ca85f86baaa903\t2026-10-08\t1791503888\te2616fb88e6c56c433d295ee90ac75289d5e0704\tfeat: fence shared pending caches and teach request lifetimes\n\nA\t.brain/resources/lore/cache-completed-values.svx\n\u001e006e970e82353cecdfa2e16b050501959ff1193c\t2026-10-08\t1791443861\tc6afd0c6005ee6e0210796ccdeb1e07dc97519ef\tfix(deploy): retain redacted Cloudflare upload failures\n\nM\tskills/ship/references/project.md\n\u001e18d49219cac569ae4d56136b6260ebd8e279d69e\t2026-10-07\t1791437287\t6b927cb02cc5cf091d91dce47a53dd0d8a3628d5\tfix(mischief): cache completed content without shared request I/O\n\nM\t.brain/areas/agent-front-door.svx\n\u001e6165e780d4b3733e1b81ef94bd81bbec5538bac6\t2026-10-07\t1791434618\t9989f01626fe4b655ba6aa964c763d28708a919a\tfeat(mischief): isolate phone-approved feedback auth in a private Worker\n\nM\t.brain/areas/auth.svx\nM\t.brain/areas/learn.svx\nM\tskills/learn/SKILL.md\n\u001eff950ff803cabb4729c36e47b4b6bfe0684d4cb7\t2026-10-07\t1791434106\td9d2032e0e29582100346628066c2f7b9b833fbc\tfix(events): preserve sanitized crash diagnostics\n\nM\t.brain/areas/analytics.svx\n\u001ec602d6f077522995596f56765207a72536e88a43\t2026-10-07\t1791430224\t7bc3aa3e7d0ac62b9dafb6b23080b1f2b4dc7f15\tfix(mischief): register native tail capture listener\n\nM\t.brain/areas/analytics.svx\n\u001e71db3793b8d1d8bf48c770343e1b283365262a05\t2026-10-07\t1791429484\te77d52988633de013f654dcad7bd46ec2833b491\tfix(lore): re-pin the CLI failure excerpt and link glossary first uses\n\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/services-capture-dependencies.svx\nM\tskills/add-a-capability/SKILL.md\n\u001ef77853d42e2561d5c2c37e0f6ba46c5a2e6a2bf2\t2026-10-07\t1791428392\tf272f714b721a7eed53dc5dbde68c69a012f261b\tfeat(learn): teach cards 83 to 111 and finish the deck's plain lines\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/database.svx\nM\t.brain/areas/devtools.svx\nM\t.brain/areas/fence.svx\nM\t.brain/areas/interest.svx\nM\t.brain/areas/learn.svx\nM\t.brain/areas/prompts.svx\nM\t.brain/resources/lore/trace-meaningful-operations.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\nM\t.brain/resources/lore/visakan-veerasamy.svx\nM\t.brain/resources/lore/why-javascript-is-broken-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/ziverge-de-goes-arnaldi-typescript-for-scala-devs.svx\nM\tskills/add-a-capability/SKILL.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/add-a-store/SKILL.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\nM\tskills/learn/SKILL.md\nM\tskills/rat-stack-mode/SKILL.md\nM\tskills/ship/SKILL.md\nM\tskills/uncomplect/SKILL.md\nM\tskills/use-a-prompt/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e4040f6770de4dcbbb1491b4a635600b5238807d1\t2026-10-07\t1791427014\t53dc3f265306a1270d2e65f2dc7f5b560a2ae1ef\tfeat(learn): teach cards 63 to 82 with plain lines, diagrams and snippets\n\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\t.brain/resources/lore/one-snippet-model-two-renderers.svx\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nM\t.brain/resources/lore/pinned-sources-can-report-drift.svx\nM\t.brain/resources/lore/plan-model.svx\nM\t.brain/resources/lore/poteto-lauren-tan-2500-prs-dune.svx\nM\t.brain/resources/lore/production-grade-typescript.svx\nM\t.brain/resources/lore/property-based-testing.svx\nM\t.brain/resources/lore/run-effect-at-the-boundary.svx\nM\t.brain/resources/lore/sam-goodwin.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/lore/the-fence.svx\nM\t.brain/resources/lore/theo-browne.svx\nM\t.brain/resources/lore/theo-please-stop-using-stupid-models.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/think-wider.svx\nM\t.brain/resources/lore/tokenize-before-slicing.svx\n\u001e5e072d5b7fc5ec5d0d6b4bc33bff674fe67d14fb\t2026-10-07\t1791425942\tcd3d6c2af65ff216a9d71879ee6df76072bd7039\tfeat(learn): teach cards 43 to 62 with plain lines, diagrams and snippets\n\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\nM\t.brain/resources/lore/floor-and-ceiling.svx\nM\t.brain/resources/lore/happy-path-116-infrastructure-as-effects-sam-goodwin.svx\nM\t.brain/resources/lore/happy-path-81-typescript-and-effects-michael-arnaldi.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/lauren-tan.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/matt-pocock-skills.svx\nM\t.brain/resources/lore/mcp-is-another-surface.svx\nM\t.brain/resources/lore/mdsvex-left-unified.svx\nM\t.brain/resources/lore/michael-arnaldi.svx\nM\t.brain/resources/lore/model-based-testing.svx\nM\t.brain/resources/lore/no-comments.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\n\u001ef89e167691aeb0ee9271b16948542a9b095f3f7a\t2026-10-07\t1791424933\tbafce9e837335d2322728e585cb4658f6bf395ca\tfeat(learn): teach cards 23 to 42 with plain lines, diagrams and snippets\n\nM\t.brain/resources/lore/cause-and-effect-10-software-engineering-age-of-ai-de-goes.svx\nM\t.brain/resources/lore/chris-tate.svx\nM\t.brain/resources/lore/cityjs-effect-production-grade-typescript-michael-arnaldi.svx\nM\t.brain/resources/lore/cloud-as-a-library.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nM\t.brain/resources/lore/david-khourshid.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy-next-gen-iac.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy.svx\nM\t.brain/resources/lore/distilled.svx\nM\t.brain/resources/lore/double-opt-in.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/effect-days-2024-origin-story-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-days-2025-building-effect-4-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-design-lineage.svx\nM\t.brain/resources/lore/effect-meetup-sf-2023-why-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-office-hours-26-community-projects-alchemy.svx\nM\t.brain/resources/lore/effect-office-hours-27-alchemy-infrastructure-as-effects.svx\nM\t.brain/resources/lore/engine-neutral-tokens-keep-adapters-replaceable.svx\nM\t.brain/resources/lore/error-model.svx\n\u001ed88169f85b736dd49994e07b475fb8c26d62d191\t2026-10-07\t1791422872\tbafce9e837335d2322728e585cb4658f6bf395ca\tfeat(cli): build the ratstack npm package and publish it from tags with OIDC\n\nM\tAGENTS.md\n\u001e73cf9fc38a5c06e2f55dc303c1ce3036fefc33c9\t2026-10-07\t1791422834\te65bbe3eccbe692ea657397e4cf2e1e64de36dcf\tfeat(events): archive privacy-safe Mischief crash traces\n\nM\t.brain/areas/analytics.svx\nM\tskills/ship/references/project.md\n\u001e89040cbbcd894d2a5e6f17cc07c2fb486137c0d1\t2026-10-07\t1791421935\tc4de762917348131c8c67120daabdf90df1e1515\tdocs: explain skill vocabulary and review system prose\n\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/interest.svx\nM\t.brain/areas/prompts.svx\nM\tskills/add-a-capability/SKILL.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/add-a-store/SKILL.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\nM\tskills/rat-stack-mode/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e0c4cafba1b7d989150b0f63f14f180ec6f480683\t2026-10-07\t1791421762\t295dce506e20abf95d2376b8fd988ca56d78533e\tfeat(learn): teach the next twenty cards with plain lines, diagrams and snippets\n\nM\t.brain/resources/lore/0xsero-dhh-omarchy-the-agent-os.svx\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/agent-source-first-workflow.svx\nM\t.brain/resources/lore/agents-explore-tests-remember.svx\nM\t.brain/resources/lore/ai-engineer-vibe-engineering-effect-apps-michael-arnaldi.svx\nM\t.brain/resources/lore/aiewf-2026-everything-we-knew-about-software-has-changed-theo-browne.svx\nM\t.brain/resources/lore/ambient-cloud.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/anti-money.svx\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/cascadiajs-2026-its-time-to-rethink-everything-theo-browne.svx\nM\t.brain/resources/lore/configuration-is-a-dependency.svx\nM\t.brain/resources/lore/dependency-injection-is-the-reason-to-choose-effect.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\n\u001eb8139930e47e43e57766e2bec55a136dd48dfe46\t2026-10-07\t1791421177\tf5ff854b11e8eab53dcb2830ffd79ebda7ab8f0e\tfeat(learn): let non-concept pages opt out of the deck with learn: false\n\nM\t.brain/areas/learn.svx\n\u001e45b99a678357f1d833cb5f452b61abecde3eed90\t2026-10-07\t1791419694\ta27860cb0d7b6aac19f3c58148c45bfc5427b512\tfeat(env): import Mischief's schema into the root schema\n\nM\tAGENTS.md\nM\tskills/ship/references/project.md\n\u001e39602787bef2bd03e9a36a9c6ad5288ca888e6d3\t2026-10-07\t1791418792\t5835f0f7e92ba377a30f62770f0e23cb6255c295\tfeat(deploy): verdict file, printable bodies and hourly quiet windows\n\nM\tAGENTS.md\nM\tskills/ship/references/project.md\n\u001e95e0ccedc9aa71f1f72ab287516afc9257534285\t2026-10-07\t1791417361\tbc4a690a2554e6f2812e1e1d46dd68bd483ad722\tdocs: clarify the remaining Effect and build lore\n\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nM\t.brain/resources/lore/configuration-is-a-dependency.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/run-effect-at-the-boundary.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/services-capture-dependencies.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/trace-meaningful-operations.svx\n\u001ecc90b99d1cbfec13001a63cd70e24a347b95e791\t2026-10-07\t1791417034\t6a53f2da92463a9b042699119ec5003313c21f72\tfeat(learn): cards that teach, with compiled snippets and instant onboarding\n\nM\t.brain/areas/learn.svx\nM\t.brain/resources/learn-mode.svx\nM\t.brain/resources/lore/context-and-requirements.svx\nM\t.brain/resources/lore/services-capture-dependencies.svx\nM\tskills/learn/SKILL.md\n\u001e46fb94b75ddcc734bb855b41ad4b258e5f93db9e\t2026-10-07\t1791416008\t6f5fc577159d924c39489ed83909360c75f989e7\tdocs(ship): describe quiet windows without project-specific terms\n\nM\tskills/ship/references/project.md\n\u001e9aba1ddadde95b8a9cdcb2d6f156b8a6239da617\t2026-10-07\t1791415707\taef2c5ea37084349c3f147401fb36de8e1f6775e\tdocs: explain source summaries and remaining short lore\n\nM\t.brain/resources/lore/agent-source-first-workflow.svx\nM\t.brain/resources/lore/ai-engineer-vibe-engineering-effect-apps-michael-arnaldi.svx\nM\t.brain/resources/lore/ambient-cloud.svx\nM\t.brain/resources/lore/cascadiajs-2026-its-time-to-rethink-everything-theo-browne.svx\nM\t.brain/resources/lore/chris-tate.svx\nM\t.brain/resources/lore/david-khourshid.svx\nM\t.brain/resources/lore/double-opt-in.svx\nM\t.brain/resources/lore/effect-design-lineage.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/mdsvex-left-unified.svx\nM\t.brain/resources/lore/michael-arnaldi.svx\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\t.brain/resources/lore/sam-goodwin.svx\nM\t.brain/resources/lore/tokenize-before-slicing.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\n\u001e39e0e428432b007c078f078ac28d906763f856e2\t2026-10-07\t1791414319\t4c934f4899e1bca9ae13d44b609dbab25588c9a1\tdocs: explain remaining short lore terminology\n\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/floor-and-ceiling.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/lauren-tan.svx\nM\t.brain/resources/lore/matt-pocock-skills.svx\nM\t.brain/resources/lore/mcp-is-another-surface.svx\nM\t.brain/resources/lore/model-based-testing.svx\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nM\t.brain/resources/lore/pinned-sources-can-report-drift.svx\nM\t.brain/resources/lore/plan-model.svx\nM\t.brain/resources/lore/poteto-lauren-tan-2500-prs-dune.svx\nM\t.brain/resources/lore/property-based-testing.svx\nM\t.brain/resources/lore/the-fence.svx\nM\t.brain/resources/lore/theo-browne.svx\nM\t.brain/resources/lore/think-wider.svx\nM\t.brain/resources/lore/visakan-veerasamy.svx\n\u001ee51b90fe9fe86114d593f43e54b6b2182315a71c\t2026-10-07\t1791413208\tfd6935d92dfb100126b7a6ef7712235555202692\tdocs: clarify attributed source summaries\n\nM\t.brain/resources/lore/aiewf-2026-everything-we-knew-about-software-has-changed-theo-browne.svx\nM\t.brain/resources/lore/anti-money.svx\nM\t.brain/resources/lore/cause-and-effect-10-software-engineering-age-of-ai-de-goes.svx\nM\t.brain/resources/lore/cityjs-effect-production-grade-typescript-michael-arnaldi.svx\nM\t.brain/resources/lore/cloud-as-a-library.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy-next-gen-iac.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy.svx\nM\t.brain/resources/lore/distilled.svx\nM\t.brain/resources/lore/effect-days-2024-origin-story-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-days-2025-building-effect-4-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-meetup-sf-2023-why-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-office-hours-26-community-projects-alchemy.svx\nM\t.brain/resources/lore/effect-office-hours-27-alchemy-infrastructure-as-effects.svx\nM\t.brain/resources/lore/happy-path-116-infrastructure-as-effects-sam-goodwin.svx\nM\t.brain/resources/lore/happy-path-81-typescript-and-effects-michael-arnaldi.svx\nM\t.brain/resources/lore/production-grade-typescript.svx\nM\t.brain/resources/lore/why-javascript-is-broken-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/ziverge-de-goes-arnaldi-typescript-for-scala-devs.svx\n\u001ef3769f4890df514c0417d389104a34eed759f2c5\t2026-10-07\t1791412448\tc333e5e31a2ac58e09eb73115b1162903e6bd19b\tdocs: explain lore architecture terms in plain language\n\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/agents-explore-tests-remember.svx\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/context-and-requirements.svx\nM\t.brain/resources/lore/engine-neutral-tokens-keep-adapters-replaceable.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/no-comments.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\t.brain/resources/lore/one-snippet-model-two-renderers.svx\n\u001ea69880fc45dac22d730856a2783654ff995f86f7\t2026-10-07\t1791411626\t296190b1601da39cb27f72ee7294a7607da82b9a\tdocs: explain architecture responsibilities and checks\n\nM\tskills/uncomplect/SKILL.md\n\u001e2f5b7c6f9ecfa8b3d9bc0298ae2fec9e9e4e8579\t2026-10-07\t1791410568\tfddf8b0cb215bd1306153c6bfee8214c3eacb51a\tfeat(deploy): move desk deploy guards into the driver\n\nM\tAGENTS.md\nM\tskills/ship/SKILL.md\nM\tskills/ship/references/project.md\n\u001ef9dbf3f0308e36e6d60c761ac31caefcc0075ff0\t2026-10-07\t1791409576\tc881cb5115272836650f8241107692e900108bda\tdocs: define ship vocabulary and manual stop conditions\n\nM\tskills/ship/SKILL.md\n\u001e7325144c0835073a0e3d425addb2db529a34bf7d\t2026-10-07\t1791408340\t2f48d3848b333af09502d0317aee14f50a08179d\tdocs: explain system terms at first use\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/database.svx\nM\t.brain/areas/devtools.svx\nM\t.brain/areas/fence.svx\nM\t.brain/areas/interest.svx\nM\t.brain/areas/learn.svx\n\u001e519827230c2536bf26d64ea58bcd82da9d798a0e\t2026-10-07\t1791407086\tc75a6011b09361e3c386d9aa0afe792c1a89f7c2\tdocs: define glossary terms and explain agent-guide vocabulary\n\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e4c6c990c26970ec2dc6afbb30e778361e786c300\t2026-10-07\t1791404123\t57dfb3dfb2d10eff2defc487ac4c374a82634ce7\tfeat: add the shareable /learn page\n\nA\t.brain/resources/learn-mode.svx\nM\t.brain/resources/lore/dependency-injection-is-the-reason-to-choose-effect.svx\n\u001e7c33c8ef35f6abfda209320197d6e2053617675c\t2026-10-07\t1791402390\td2f382c93f464ed25efb0986915064364b07b3f0\tchore: remove retired UI traces and vendor Foldkit sources\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e2c2fe794fdd9811616843f7bdedc505c0d7b7c09\t2026-10-07\t1791401704\tc39e106e33eaa00432454ed31c59fa90389255d0\tfeat: make dependency injection the first learning path\n\nM\t.brain/areas/learn.svx\nM\t.brain/resources/lore/configuration-is-a-dependency.svx\nM\t.brain/resources/lore/context-and-requirements.svx\nA\t.brain/resources/lore/dependency-injection-is-the-reason-to-choose-effect.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/services-capture-dependencies.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\tskills/learn/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001eaa79bb77a2003f4e08bf6b8f98d13ff66c5ea7b3\t2026-10-07\t1791397216\t553cb64b93e8b2b15f4215ef36786b14d3754949\tdocs: cite the verified local learning adapter\n\nM\t.brain/areas/learn.svx\n\u001e553cb64b93e8b2b15f4215ef36786b14d3754949\t2026-10-07\t1791396717\t5191786a8299f7749361f22613b3807a82d99029\tfeat: teach learn mode and encapsulate local progress\n\nA\t.brain/areas/learn.svx\nM\tAGENTS.md\nA\tskills/learn/SKILL.md\n\u001ecec3fcc34c976f007d1157af756c89a951306194\t2026-10-07\t1791392741\tc38d30f14ba80ba8e4c11152b091abcefa6d11ac\tfeat: add source-derived learning tools and local progress\n\nM\tAGENTS.md\n\u001e489e6c47c1ffc3c36d0868677a6cbbc1d772bc06\t2026-10-06\t1791317310\tc38d30f14ba80ba8e4c11152b091abcefa6d11ac\tdocs: add public Rat King and Rats Nest lore\n\nA\t.brain/resources/lore/rat-king.svx\nA\t.brain/resources/lore/rats-nest.svx\n\u001e0c8b30162d98c2806003ed1cc839fb9e373a5d3c\t2026-10-06\t1791309350\tb3b74453eeb43e8a74a1c6e43ad9b29297284cd5\tfix: read full-cutover Worker versions from live deployments\n\nM\tskills/ship/references/project.md\n\u001e08f460286cc2ee87001458e63ab7ccd6bbec2e35\t2026-10-06\t1791307260\t0428f9226618ee228b2af122eed95324ccca122d\tfeat: warn on history wording and prose hedges\n\nM\tAGENTS.md\n\u001e7db3272adcf4c00cf915a3c6940d8032063d6263\t2026-10-06\t1791304572\td5da2d681d4e139084f57214bba42df5dca7a759\tfeat: add receipt-backed recovery and bounded deployment observation\n\nM\tAGENTS.md\nM\tskills/ship/references/project.md\n\u001e9f29173e91b390c640f54f4eb0894bfe0eb505fb\t2026-10-06\t1791303247\t7da785400d7878131dbe8a4bb1431b901331b77a\tdocs: write systems and resources for people\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/database.svx\nM\t.brain/areas/devtools.svx\nM\t.brain/areas/fence.svx\nM\t.brain/areas/interest.svx\nM\t.brain/resources/effect-4-reference-projects.svx\nM\t.brain/resources/intake-application-reader.svx\nM\t.brain/resources/lint-rule-limits.svx\nM\t.brain/resources/peers.svx\nM\t.brain/resources/same-version-repos.svx\nM\t.brain/resources/schema-projections-and-code-mode.svx\nM\tREADME.md\n\u001e5bdfc10f56f82a0a641fce32a999a94a645aa496\t2026-10-06\t1791295259\ta2d61efb9d1c08adb2fedfdd0612a78c7d604a54\tdocs: make lore A-H prose plain\n\nM\t.brain/resources/lore/0xsero-dhh-omarchy-the-agent-os.svx\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/agent-source-first-workflow.svx\nM\t.brain/resources/lore/agents-explore-tests-remember.svx\nM\t.brain/resources/lore/ai-engineer-vibe-engineering-effect-apps-michael-arnaldi.svx\nM\t.brain/resources/lore/ambient-cloud.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/anti-money.svx\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/david-khourshid.svx\nM\t.brain/resources/lore/distilled.svx\nM\t.brain/resources/lore/double-opt-in.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\n\u001e4b15ea79de7a4a4ebcb2299fdcbc3662b8a90fce\t2026-10-06\t1791295134\ta2d61efb9d1c08adb2fedfdd0612a78c7d604a54\tdocs: make lore prose direct and readable\n\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/matt-pocock-skills.svx\nM\t.brain/resources/lore/mcp-is-another-surface.svx\nM\t.brain/resources/lore/mdsvex-left-unified.svx\nM\t.brain/resources/lore/no-comments.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\t.brain/resources/lore/one-snippet-model-two-renderers.svx\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nM\t.brain/resources/lore/pinned-sources-can-report-drift.svx\nM\t.brain/resources/lore/plan-model.svx\nM\t.brain/resources/lore/the-fence.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/tokenize-before-slicing.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\nM\t.brain/resources/lore/why-javascript-is-broken-effect-michael-arnaldi.svx\n\u001e1bcff7047048c5f8cbeaf2c1191f77c2043cfc00\t2026-10-06\t1791295060\ta2d61efb9d1c08adb2fedfdd0612a78c7d604a54\tdocs(skills): tighten instructions and remove prose filler\n\nM\tskills/add-a-capability/SKILL.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/add-a-store/SKILL.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\nM\tskills/rat-stack-mode/SKILL.md\nM\tskills/ship/SKILL.md\nM\tskills/ship/references/deploy-runner.md\nM\tskills/ship/references/project.md\nM\tskills/ship/references/rollback.md\nM\tskills/uncomplect/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001ef3dcb1309431e38c8b654d49df10d1a694c72a3b\t2026-10-06\t1791294651\ta2d61efb9d1c08adb2fedfdd0612a78c7d604a54\tdocs: put domain organization first and trim Effect prose\n\nM\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nM\t.brain/resources/lore/configuration-is-a-dependency.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/run-effect-at-the-boundary.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/services-capture-dependencies.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\t.brain/resources/lore/trace-meaningful-operations.svx\nM\tAGENTS.md\nM\tskills/rat-stack-mode/principles/keep-the-stack-floor.md\nM\tskills/rat-stack-mode/principles/version-content-artifacts.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001ea00342d326ac784e6ad039803d5a8649ee090b7b\t2026-10-06\t1791273359\tc708a32620285b37954a7be9f9a78228c9ecfbc9\tfix(mischief): log every server failure with a private incident id\n\nM\t.brain/areas/analytics.svx\n\u001e55c78009a4a8b765ec1902fa7626f43550cfb365\t2026-10-05\t1791268372\tcfc2497fc02908e1f5541b83618f9714a6b8a8ff\tfeat: classify native deploy plans and qualify applied content\n\nM\tAGENTS.md\nM\tskills/ship/references/project.md\n\u001ec7b6510e2ec09c041b4e5355f77f86a5c1279d38\t2026-10-06\t1791267509\tcfc2497fc02908e1f5541b83618f9714a6b8a8ff\tdocs: teach advanced Effect ownership and integration idioms (#21)\n\nA\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nM\t.brain/resources/lore/effect-basics.svx\nA\t.brain/resources/lore/http-responses-need-validation.svx\nA\t.brain/resources/lore/run-effect-at-the-boundary.svx\nA\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nA\t.brain/resources/lore/trace-meaningful-operations.svx\n\u001ecfc2497fc02908e1f5541b83618f9714a6b8a8ff\t2026-10-06\t1791265652\t6c9c25d9cd67ac30ea6a3e83f7668ddf29eb95f4\tseo: repair reader discovery and page metadata (#20)\n\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\tskills/learn-rat-stack/SKILL.md\n\u001e6c9c25d9cd67ac30ea6a3e83f7668ddf29eb95f4\t2026-10-06\t1791264828\t65e9465f38092e24486392f22c08f45d61230c20\tdocs: teach Effect basics and idioms through checked rat-stack code (#18)\n\nM\t.brain/resources/lore/agents-explore-tests-remember.svx\nA\t.brain/resources/lore/configuration-is-a-dependency.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nA\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/model-based-testing.svx\nM\t.brain/resources/lore/property-based-testing.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nA\t.brain/resources/lore/services-capture-dependencies.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\tskills/learn-rat-stack/SKILL.md\nM\tskills/rat-stack-mode/principles/keep-boundary-words-honest.md\nM\tskills/rat-stack-mode/principles/keep-the-stack-floor.md\nM\tskills/rat-stack-mode/principles/keep-unknown-distinct.md\nM\tskills/rat-stack-mode/principles/tests-detect-broken-behavior.md\nM\tskills/rat-stack-mode/principles/version-content-artifacts.md\n\u001e65e9465f38092e24486392f22c08f45d61230c20\t2026-10-06\t1791258458\tfba26d803d96b3435f5ad22a959dae74792e268e\tfeat: add local production deploy driver (#16)\n\nM\tAGENTS.md\nA\tskills/ship/SKILL.md\nA\tskills/ship/references/canary.md\nA\tskills/ship/references/catalog-maintenance.md\nA\tskills/ship/references/ci-stage.md\nA\tskills/ship/references/deploy-key.md\nA\tskills/ship/references/deploy-runner.md\nA\tskills/ship/references/flags.md\nA\tskills/ship/references/gradual-rollout.md\nA\tskills/ship/references/post-deploy-checks.md\nA\tskills/ship/references/project.md\nA\tskills/ship/references/rollback.md\n\u001efba26d803d96b3435f5ad22a959dae74792e268e\t2026-10-06\t1791250865\t54d356037c994f89698760a4727be71d0005a087\tdocs: explain Effect codebase structure by domain (#13)\n\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nA\t.brain/resources/lore/structure-effect-by-domain.svx\n\u001e54d356037c994f89698760a4727be71d0005a087\t2026-10-04\t1791143833\t2cd84f9ba72a8576f6c542f36d7f450b2da7dbe1\tdocs: route rat-stack tasks through principles and playbooks (#12)\n\nM\tAGENTS.md\nA\tskills/add-a-store/SKILL.md\nA\tskills/rat-stack-mode/LICENSE-pstack\nA\tskills/rat-stack-mode/SKILL.md\nA\tskills/rat-stack-mode/principles/ask-one-material-question.md\nA\tskills/rat-stack-mode/principles/bound-every-read.md\nA\tskills/rat-stack-mode/principles/check-the-actual-artifact.md\nA\tskills/rat-stack-mode/principles/design-serves-function.md\nA\tskills/rat-stack-mode/principles/encode-lessons-in-structure.md\nA\tskills/rat-stack-mode/principles/find-the-cause-first.md\nA\tskills/rat-stack-mode/principles/gates-guard-invariants.md\nA\tskills/rat-stack-mode/principles/judge-through-the-person.md\nA\tskills/rat-stack-mode/principles/keep-boundary-words-honest.md\nA\tskills/rat-stack-mode/principles/keep-execution-receipts.md\nA\tskills/rat-stack-mode/principles/keep-the-stack-floor.md\nA\tskills/rat-stack-mode/principles/keep-unknown-distinct.md\nA\tskills/rat-stack-mode/principles/look-it-up-first.md\nA\tskills/rat-stack-mode/principles/make-operations-idempotent.md\nA\tskills/rat-stack-mode/principles/make-review-views-complete.md\nA\tskills/rat-stack-mode/principles/measure-real-limits.md\nA\tskills/rat-stack-mode/principles/name-the-system-of-record.md\nA\tskills/rat-stack-mode/principles/no-dual-writes.md\nA\tskills/rat-stack-mode/principles/one-contract-many-projections.md\nA\tskills/rat-stack-mode/principles/one-writer-per-partition.md\nA\tskills/rat-stack-mode/principles/optimise-the-whole-loop.md\nA\tskills/rat-stack-mode/principles/prove-move-delete.md\nA\tskills/rat-stack-mode/principles/prove-the-recipient-path.md\nA\tskills/rat-stack-mode/principles/scope-private-data.md\nA\tskills/rat-stack-mode/principles/separate-writers-verify-readers.md\nA\tskills/rat-stack-mode/principles/store-source-facts.md\nA\tskills/rat-stack-mode/principles/subtract-before-you-add.md\nA\tskills/rat-stack-mode/principles/tests-detect-broken-behavior.md\nA\tskills/rat-stack-mode/principles/use-plain-language.md\nA\tskills/rat-stack-mode/principles/use-real-provider-guarantees.md\nA\tskills/rat-stack-mode/principles/validate-before-durable-write.md\nA\tskills/rat-stack-mode/principles/version-content-artifacts.md\nA\tskills/rat-stack-mode/references/eval.md\n\u001e2cd84f9ba72a8576f6c542f36d7f450b2da7dbe1\t2026-10-04\t1791085212\tc7d11aa396dad097ecb41a3f316cc905f6037063\tdocs: end each uncomplect braid in a verified fence (#11)\n\nM\tskills/uncomplect/SKILL.md\n\u001eed63ba3cf4a34ecfe901975a6d88f96209ba23b6\t2026-10-03\t1791058760\taabd6a608859de636a3692e965e87a10e7a74375\ttest: generate lifecycle models and inspection outcomes (#4)\n\nM\tskills/add-a-lifecycle-machine/SKILL.md\nA\tskills/add-a-lifecycle-machine/templates/lifecycle.model.test.md\n\u001e47de2d2cb3f62a1cf2501f721e52d579ce313139\t2026-10-02\t1790968454\td8ee1d14a1b9ea794a1e3cfc3a1f804d660367ce\tdocs(analytics): list city in the stored geography\n\nM\t.brain/areas/analytics.svx\n\u001ed8ee1d14a1b9ea794a1e3cfc3a1f804d660367ce\t2026-10-02\t1790968286\tdd4baec114ffff34932a0d1cfb6aee0bba118b24\tfeat(events): store city in event geography\n\nM\t.brain/areas/analytics.svx\n\u001edd4baec114ffff34932a0d1cfb6aee0bba118b24\t2026-10-02\t1790966194\tc591f4c7cb46631d89acfd9b8260db34548340d2\tdocs(lore): describe shipped snippets and refresh teaching pins\n\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\n\u001ec591f4c7cb46631d89acfd9b8260db34548340d2\t2026-10-02\t1790966147\t43d71c89ef1f70118b68c5e80582368856ba7ad8\tdocs(skills): teach wiki authoring with shipped pinned snippets\n\nA\tskills/write-a-wiki-page/SKILL.md\n\u001e126546fd7535afa7a1aecbdac6a2f968cffc0172\t2026-10-02\t1790965001\ta0224c2fb651a3dda189dc0d6020030241d559c0\tdocs(skills): trace the stack through pinned source\n\nM\tskills/learn-rat-stack/SKILL.md\n\u001ea0224c2fb651a3dda189dc0d6020030241d559c0\t2026-10-02\t1790964404\t5c0f78e03d69ff9ea00f6b95d02cc36a3de91a0b\tfix(content): canonicalize Brain resource URLs\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/the-fence.svx\nM\t.brain/resources/same-version-repos.svx\n\u001e5c0f78e03d69ff9ea00f6b95d02cc36a3de91a0b\t2026-10-02\t1790963608\t7a6302ac6b30893d795cbdb4c4f0d3aa18e99c68\tdocs(lore): shorten five high-warning pages without changing claims\n\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/matt-pocock-skills.svx\nM\t.brain/resources/lore/property-based-testing.svx\n\u001e7a6302ac6b30893d795cbdb4c4f0d3aa18e99c68\t2026-10-02\t1790963608\te7e58c8a0f29af57bd2460735bd7feeb7752d87c\tdocs: link concrete architecture and capability mentions\n\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/property-based-testing.svx\nM\t.brain/resources/same-version-repos.svx\n\u001ee7e58c8a0f29af57bd2460735bd7feeb7752d87c\t2026-10-02\t1790963608\ta646f7ffd00273d85fbe1d905d9cdb194fdc0f60\tdocs(peers): refresh 28 snapshots and study scoped XState tooling\n\nM\t.brain/resources/same-version-repos.svx\n\u001ee7a2c6ed89dd62a084362f5e03425e495168b7dc\t2026-10-02\t1790961417\t12486e219a86ca3fb82153876768ba254f76eb66\tfix(capability): honor member HTTP statuses on default routes\n\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\n\u001ee1cfe97554c229832f0abb89dc6105243f826b35\t2026-10-02\t1790960884\t12486e219a86ca3fb82153876768ba254f76eb66\tfeat: quote pinned Git code at the svx build boundary\n\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ebdb002f3b55738071f9c4752c1ce280caf7f734e\t2026-10-02\t1790957933\t6b975d4eea566cbd851ce4720a879d0b2ba5aa6e\tfix: keep the sandbox within its parent lifetime\n\nM\tREADME.md\n\u001eb2ba8ce7075fac64c5be8131d468fa5012b3ea8a\t2026-10-02\t1790957885\tec3149e417c01ead2bc67553b9a3c5dfca7f4009\tfeat(events): capture coarse request geography from request.cf\n\nM\t.brain/areas/analytics.svx\n\u001ef01629ae7b791f11bbc00fc375ada042208d97e2\t2026-10-02\t1790957562\t267c0997f449a98fc56389d744d57cfd34dc6e1c\tchore(xstate): pair alpha.63 with alpha.6 and pin its source tag\n\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/gardener/SKILL.md\n\u001e6c9fc0d20bd7f5fbecfd48c3682acf5a7166006b\t2026-10-02\t1790956466\t267c0997f449a98fc56389d744d57cfd34dc6e1c\tfix(infra): disable automatic request metadata logs on every Worker\n\nM\t.brain/areas/analytics.svx\n\u001e6ad1ffb4790b087df73dca2d4e6bba7414843c66\t2026-10-02\t1790956193\t1f550f1560a1be573e53cf357eb5aa52bde7efa6\tfeat: seal applicant names and X profiles with interest cards\n\nM\t.brain/areas/interest.svx\n\u001e0d38b2e82b7ab972462efa4c6e6598d1eea0a5d3\t2026-10-02\t1790955882\t0c945abccdc35f3027db4804ef38a54512ef71bc\tbuild: reject stale dependencies and validate lockfiles before gates\n\nM\tskills/gardener/SKILL.md\n\u001e34d8149f869eed760b203f530695b9914b377a49\t2026-10-02\t1790953261\tfed5d7a8fb933f2bc201ec34530b70ce06c19006\tdocs: split code snippet brief paragraphs\n\nM\t.brain/resources/lore/code-snippets.svx\n\u001e744e5baf40a9462822b5940c1c1564aae78be269\t2026-10-02\t1790952694\tc765224d6017292afe9004e02d03d1065f5bfdeb\tstyle(lore): use short prose and useful visuals\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/mcp-is-another-surface.svx\nM\t.brain/resources/lore/mdsvex-left-unified.svx\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\n\u001ec765224d6017292afe9004e02d03d1065f5bfdeb\t2026-10-02\t1790952671\t6534381cbac513b99c895cd9f6772bf04400e6d7\tdocs(wiki): define low-prose writing and warn on long prose\n\nM\tAGENTS.md\n\u001eae1a6cd3bc198197a66a2073cd723f53e4b90185\t2026-10-02\t1790952408\t6534381cbac513b99c895cd9f6772bf04400e6d7\tdocs(gardener): follow stable Effect and current release tags\n\nM\tVISION.md\nM\tskills/gardener/SKILL.md\n\u001efa9ef439f3d0ff3023eb6912f82fe11f03fb87bf\t2026-10-02\t1790952290\t6534381cbac513b99c895cd9f6772bf04400e6d7\tdocs: define pinned code snippets and their design principles\n\nA\t.brain/resources/lore/accumulate-independent-errors.svx\nA\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nA\t.brain/resources/lore/code-snippets.svx\nA\t.brain/resources/lore/engine-neutral-tokens-keep-adapters-replaceable.svx\nA\t.brain/resources/lore/errors-are-part-of-the-interface.svx\nA\t.brain/resources/lore/one-snippet-model-two-renderers.svx\nA\t.brain/resources/lore/pinned-sources-can-report-drift.svx\nA\t.brain/resources/lore/tokenize-before-slicing.svx\n\u001e4d2806fed376a076fd87ed1a02c3cd3b66f738ca\t2026-10-02\t1790951116\t2307f395a14027589cab7c25281cea01de3d9840\tcontent(lore): explain schema surfaces and the agent front door\n\nM\t.brain/areas/agent-front-door.svx\nA\t.brain/resources/lore/how-we-do-it-with-effect.svx\nA\t.brain/resources/lore/mcp-is-another-surface.svx\nA\t.brain/resources/lore/mdsvex-left-unified.svx\nA\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nA\t.brain/resources/lore/one-schema-three-surfaces.svx\nA\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nA\t.brain/resources/lore/schemas-define-the-boundary.svx\nA\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nA\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\n\u001e8135db866fd494b1cdd3e12a959a583fd336eded\t2026-10-02\t1790950995\t445b1a20b51a5492f8e586daeb9306e8011b7673\tfeat(intake): read sealed applications on the private operator surface\n\nA\t.brain/resources/intake-application-reader.svx\n\u001e402e218c84467bf04646b23e74ce79a8c77e989c\t2026-10-02\t1790946516\td06474941565a14b4f7bb0e11946d2fbc5fcde1d\tchore: migrate to Effect 4 stable with published adapters\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ea72e282e70c801a0fb358c631324704d156a47ad\t2026-10-01\t1790899138\tc5c401806a17c3c0544f8ea6805e709986588b24\tfeat(workshop): apply through an agent with a page ticket\n\nM\t.brain/areas/interest.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\tVISION.md\n\u001ed87c0c05f21a76d1c28d4da030504220061ec649\t2026-10-01\t1790892665\tf30ed7f133348bff02eb29d3403d972c4c4dc365\tdocs(lore): describe live agent-assisted interest intake\n\nM\t.brain/resources/lore/hateoas.svx\n\u001ef30ed7f133348bff02eb29d3403d972c4c4dc365\t2026-10-01\t1790892396\tff05a7e30e065a8aec7c5879102d65139b9cc642\tdocs: agent applications are live on /systems/interest and in VISION\n\nM\t.brain/areas/interest.svx\nM\tVISION.md\n\u001e2bab4795443512147b8c812dad532b9a46c311a8\t2026-10-01\t1790885207\t33f6f8d3fd9a0becfa46efbba33c4545447c88f9\tdocs(peers): discover public XState alpha consumers beyond Alchemy\n\nM\t.brain/resources/peers.svx\nM\tskills/find-peers/SKILL.md\n\u001e1a537c39e5c494fe90f52a6e0c5bb80fe9355f7c\t2026-10-01\t1790884706\t67bae2b51e0e7240e879d63e62c242f2a4632082\tstyle(mischief): hot pink is the one accent; chrome-then-title vertical rhythm\n\nM\tAGENTS.md\n\u001e53236a431b8c7c14ca147467ea124a1b5389c9f3\t2026-10-01\t1790882982\t3ef180dc137d6fc5045eda71ab9b011ed9310b39\tfeat(content): detect unlinked glossary mentions from the AST\n\nM\tskills/gardener/SKILL.md\n\u001e4bdc6129610ee306c942787160522788cd04ed3c\t2026-10-01\t1790882935\tdf81f2931c7255118b8901fc3a67a03d501b5cf6\tdocs(lore): connect architecture principles to running systems\n\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\n\u001edf81f2931c7255118b8901fc3a67a03d501b5cf6\t2026-10-01\t1790882935\t2a753262c6bcbef59bc3306a8a350ca2c0980dc3\tdocs(lore): count the three learning-loop skills accurately\n\nM\t.brain/resources/lore/lauren-tan-skills.svx\n\u001e2a753262c6bcbef59bc3306a8a350ca2c0980dc3\t2026-10-01\t1790882935\t9f03c37365cf534483bf96dc8636806df8faacd6\tdocs(lore): clarify analytics capture and response guarantees\n\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/property-based-testing.svx\n\u001e9f03c37365cf534483bf96dc8636806df8faacd6\t2026-10-01\t1790882935\t3bd14e0db22b8210842e99624c0ae0fdb2a6a60a\tdocs(research): separate dated Effect observations from current guidance\n\nM\t.brain/resources/effect-4-reference-projects.svx\n\u001eaa3d73ede4311c64c6104b912203280367cb027a\t2026-10-01\t1790882572\td40a03e54273e9fe7a5972e819723ef1723a9db1\tdocs: record delivery ownership and safe removal dependencies\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ed40a03e54273e9fe7a5972e819723ef1723a9db1\t2026-10-01\t1790882572\t4ba6b05df4f6e98478ae833993337e9f3a91ec28\tdocs(systems): map devtools and the hosted agent front door\n\nA\t.brain/areas/agent-front-door.svx\nA\t.brain/areas/devtools.svx\n\u001e4ba6b05df4f6e98478ae833993337e9f3a91ec28\t2026-10-01\t1790882572\td69897cff657cfe07e4fee6fb9c3c3d00d564c1e\tdocs(systems): document interest consent and confirmation\n\nA\t.brain/areas/interest.svx\n\u001e682c0384758237cb66cc59cbfd0f68ebb51b28ca\t2026-10-01\t1790882572\t6e6c8ff2fc3c6de287f4943f66a942294107648b\tdocs(systems): scope capabilities and document provider isolation\n\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/fence.svx\n\u001e6e6c8ff2fc3c6de287f4943f66a942294107648b\t2026-10-01\t1790882572\t936c212ea3e4af6dfb600d6b2c2d0a78868019d3\tdocs(analytics): distinguish response preservation and cookie behavior\n\nM\t.brain/areas/analytics.svx\n\u001e936c212ea3e4af6dfb600d6b2c2d0a78868019d3\t2026-10-01\t1790882572\t1a14994311c0f2ebb589ad8d393338bf242fbe30\tdocs(skills): align Alchemy examples with the declared stack\n\nM\tskills/learn-alchemy/SKILL.md\n\u001e1a14994311c0f2ebb589ad8d393338bf242fbe30\t2026-10-01\t1790882572\tb7eb87af6ab62b3f801c402e24187101c3c0f282\tdocs(skills): explain the lifecycle diagnostic boundary\n\nM\tskills/add-a-lifecycle-machine/SKILL.md\n\u001eb7eb87af6ab62b3f801c402e24187101c3c0f282\t2026-10-01\t1790882572\t8803984808731c21fddcbfd933072ca09b4c1fb8\tdocs: label schema projection research as dated history\n\nM\t.brain/resources/schema-projections-and-code-mode.svx\n\u001e8803984808731c21fddcbfd933072ca09b4c1fb8\t2026-10-01\t1790882572\tfb5075507ec1e9e9cfb97e89aa579fb0f2f78a28\tdocs(skills): trace contracts and distinguish browser RPC\n\nM\tskills/learn-rat-stack/SKILL.md\n\u001efb5075507ec1e9e9cfb97e89aa579fb0f2f78a28\t2026-10-01\t1790882572\te5fd2ca204f972161ace0c819bc8f62b1d08ad57\tdocs(skills): preserve dependencies in keep-or-cut recipes\n\nM\tskills/keep-or-cut/SKILL.md\n\u001e32ca5e3648d1591db1927eed0321ac5cf266ab2e\t2026-10-01\t1790880607\t5c308e7df2ebbda1f7ed74da0425efd01c19ca9a\tfix(content): center content-sized tables and avoid ambiguous term links\n\nM\t.brain/areas/analytics.svx\n\u001e5103cc41a2063498b63ac2093fc27f81de9c7654\t2026-10-01\t1790880131\tbd14681a5b3989acf8e60b259c578a09b90bdc16\tfeat: render ranked peers from versioned source receipts\n\nM\t.brain/resources/peers.svx\nM\tAGENTS.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\n\u001e2f7a4ce3dbebbb329538832325eb3e80bf90a7fa\t2026-10-01\t1790880085\tbd14681a5b3989acf8e60b259c578a09b90bdc16\tfeat(mischief): generated glossary and agent-first reference navigation\n\nA\t.brain/resources/lore/double-opt-in.svx\n\u001ebd14681a5b3989acf8e60b259c578a09b90bdc16\t2026-10-01\t1790879846\t5e9f9f574e7e83e609513e674a8297cfbcb620d9\tdocs(vision): align with current work (ports and adapters, agent next actions, running systems, signup)\n\nM\tVISION.md\n\u001e4d3fe68666eaa5c7aca6f4c9b8dce8841b8a9773\t2026-10-01\t1790879510\t55d6800360430442ba5feea088a5991d23a0355d\tfeat(content): source-grounded bibliography on lore and systems\n\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/database.svx\nM\t.brain/areas/fence.svx\nM\t.brain/resources/lore/0xsero-dhh-omarchy-the-agent-os.svx\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/agent-source-first-workflow.svx\nM\t.brain/resources/lore/agents-explore-tests-remember.svx\nM\t.brain/resources/lore/ai-engineer-vibe-engineering-effect-apps-michael-arnaldi.svx\nM\t.brain/resources/lore/aiewf-2026-everything-we-knew-about-software-has-changed-theo-browne.svx\nM\t.brain/resources/lore/ambient-cloud.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/anti-money.svx\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/cascadiajs-2026-its-time-to-rethink-everything-theo-browne.svx\nM\t.brain/resources/lore/cause-and-effect-10-software-engineering-age-of-ai-de-goes.svx\nM\t.brain/resources/lore/chris-tate.svx\nM\t.brain/resources/lore/cityjs-effect-production-grade-typescript-michael-arnaldi.svx\nM\t.brain/resources/lore/cloud-as-a-library.svx\nM\t.brain/resources/lore/context-and-requirements.svx\nM\t.brain/resources/lore/david-khourshid.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy-next-gen-iac.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy.svx\nM\t.brain/resources/lore/distilled.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/effect-days-2024-origin-story-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-days-2025-building-effect-4-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-design-lineage.svx\nM\t.brain/resources/lore/effect-meetup-sf-2023-why-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-office-hours-26-community-projects-alchemy.svx\nM\t.brain/resources/lore/effect-office-hours-27-alchemy-infrastructure-as-effects.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/floor-and-ceiling.svx\nM\t.brain/resources/lore/happy-path-116-infrastructure-as-effects-sam-goodwin.svx\nM\t.brain/resources/lore/happy-path-81-typescript-and-effects-michael-arnaldi.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/lauren-tan.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/matt-pocock-skills.svx\nM\t.brain/resources/lore/michael-arnaldi.svx\nM\t.brain/resources/lore/model-based-testing.svx\nM\t.brain/resources/lore/no-comments.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nM\t.brain/resources/lore/plan-model.svx\nM\t.brain/resources/lore/poteto-lauren-tan-2500-prs-dune.svx\nM\t.brain/resources/lore/production-grade-typescript.svx\nM\t.brain/resources/lore/property-based-testing.svx\nM\t.brain/resources/lore/sam-goodwin.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\t.brain/resources/lore/the-fence.svx\nM\t.brain/resources/lore/theo-browne.svx\nM\t.brain/resources/lore/theo-please-stop-using-stupid-models.svx\nM\t.brain/resources/lore/think-wider.svx\nM\t.brain/resources/lore/visakan-veerasamy.svx\nM\t.brain/resources/lore/why-javascript-is-broken-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/ziverge-de-goes-arnaldi-typescript-for-scala-devs.svx\n\u001ef059385bfef160aed7a5094fa733ec26f3a68f10\t2026-10-01\t1790878662\t97a8c1fb0c388aacec206fb565dc84dc9c641fed\tdocs(lore): ground cartridges in public-domain hardware photo\n\nM\t.brain/resources/lore/cartridges.svx\n\u001e7f044cf0243ff5118f83263b2a4a106691995705\t2026-10-01\t1790878057\t1209465b3924054d3ab7704e363a4ceec535687e\tdocs(lore): agents explore and tests remember\n\nA\t.brain/resources/lore/agents-explore-tests-remember.svx\n\u001ec1a2f819ffbb539bb8dfbb35f250246f395761b9\t2026-10-01\t1790877592\t2d29c14fdf83dc975ecd95e812d44f882dea7f7d\tdocs(lore): record built guidance and fixed adapter boundaries\n\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\n\u001e2d29c14fdf83dc975ecd95e812d44f882dea7f7d\t2026-10-01\t1790877429\tb54fe09223d65ddb245e70e735d228e7c6863374\tdocs(lore): explain hypermedia and ports-and-adapters principles\n\nA\t.brain/resources/lore/hateoas.svx\nA\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\n\u001e7fda574ce2533844b5ef962225b6d9bb14ba0f3d\t2026-10-01\t1790876684\t194c4b18688b7b4b3f0713e220648ff94b045f25\tcontent(systems): capabilities, fence, database, and auth pages\n\nA\t.brain/areas/auth.svx\nA\t.brain/areas/capabilities.svx\nA\t.brain/areas/database.svx\nA\t.brain/areas/fence.svx\n\u001e194c4b18688b7b4b3f0713e220648ff94b045f25\t2026-10-01\t1790876234\t222edd833ccc19f41da236f6556a5a09dace1582\tfeat(mischief): /systems pages, one per system rat-stack ships, starting with analytics\n\nA\t.brain/areas/analytics.svx\nM\tAGENTS.md\n\u001e43fdf3ce0931c14a2b7cd46c792b37c6dd0973cb\t2026-10-01\t1790875748\t8bb2e759a9405b1d4c0d7e840ad48507fe756a6a\tfix(events): make Basin analytics deployable and stop dropping every event\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e3056e37284ed7b74b92d5e9d8b7645a0c0b0abed\t2026-10-01\t1790871203\taf441dc2e81f6f779a57976a3fe6d9b322c18611\tdocs(lore): add Matt Pocock's and Lauren Tan's skills entries and point the harness rows at them\n\nA\t.brain/resources/lore/lauren-tan-skills.svx\nA\t.brain/resources/lore/matt-pocock-skills.svx\n\u001eaf441dc2e81f6f779a57976a3fe6d9b322c18611\t2026-10-01\t1790869859\t254b3432f8239ee242e9e073bd851d549a443837\tdocs: favor property and model tests over example tests\n\nM\tAGENTS.md\n\u001e254b3432f8239ee242e9e073bd851d549a443837\t2026-10-01\t1790869600\td2f420492f57c9177bbc0336b1a8f29f8d8e27a2\tfix(events): put Basin analytics behind EVENTS_ENABLED, default off\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ed2f420492f57c9177bbc0336b1a8f29f8d8e27a2\t2026-10-01\t1790867772\ta702cef9cf41df38dd417c6407faa0213891c582\tfeat(events): capture-first request analytics on Cloudflare Basin\n\nA\t.brain/resources/lore/capture-first.svx\nA\t.brain/resources/lore/david-khourshid.svx\nA\t.brain/resources/lore/model-based-testing.svx\nA\t.brain/resources/lore/property-based-testing.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e1927a368f31481d3f771d80a4e758c1ee5939d85\t2026-09-25\t1790375438\tf1c84e2650d9bfc6c633aa2c4a737aaeb140c05f\tfeat: weave public lore across the site\n\nA\t.brain/resources/lore/0xsero-dhh-omarchy-the-agent-os.svx\nM\t.brain/resources/lore/a-clean-playground.svx\nA\t.brain/resources/lore/agent-source-first-workflow.svx\nA\t.brain/resources/lore/ai-engineer-vibe-engineering-effect-apps-michael-arnaldi.svx\nA\t.brain/resources/lore/aiewf-2026-everything-we-knew-about-software-has-changed-theo-browne.svx\nA\t.brain/resources/lore/ambient-cloud.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nA\t.brain/resources/lore/anti-money.svx\nA\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/cartridges.svx\nA\t.brain/resources/lore/cascadiajs-2026-its-time-to-rethink-everything-theo-browne.svx\nA\t.brain/resources/lore/cause-and-effect-10-software-engineering-age-of-ai-de-goes.svx\nA\t.brain/resources/lore/chris-tate.svx\nA\t.brain/resources/lore/cityjs-effect-production-grade-typescript-michael-arnaldi.svx\nA\t.brain/resources/lore/cloud-as-a-library.svx\nA\t.brain/resources/lore/context-and-requirements.svx\nA\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy-next-gen-iac.svx\nA\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy.svx\nA\t.brain/resources/lore/distilled.svx\nA\t.brain/resources/lore/effect-basics.svx\nA\t.brain/resources/lore/effect-days-2024-origin-story-michael-arnaldi.svx\nA\t.brain/resources/lore/effect-days-2025-building-effect-4-michael-arnaldi.svx\nA\t.brain/resources/lore/effect-design-lineage.svx\nA\t.brain/resources/lore/effect-meetup-sf-2023-why-effect-michael-arnaldi.svx\nA\t.brain/resources/lore/effect-office-hours-26-community-projects-alchemy.svx\nA\t.brain/resources/lore/effect-office-hours-27-alchemy-infrastructure-as-effects.svx\nA\t.brain/resources/lore/error-model.svx\nA\t.brain/resources/lore/floor-and-ceiling.svx\nA\t.brain/resources/lore/happy-path-116-infrastructure-as-effects-sam-goodwin.svx\nA\t.brain/resources/lore/happy-path-81-typescript-and-effects-michael-arnaldi.svx\nA\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nA\t.brain/resources/lore/lauren-tan.svx\nA\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nA\t.brain/resources/lore/michael-arnaldi.svx\nM\t.brain/resources/lore/no-comments.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nA\t.brain/resources/lore/plan-model.svx\nA\t.brain/resources/lore/poteto-lauren-tan-2500-prs-dune.svx\nA\t.brain/resources/lore/production-grade-typescript.svx\nA\t.brain/resources/lore/sam-goodwin.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\t.brain/resources/lore/the-fence.svx\nA\t.brain/resources/lore/theo-browne.svx\nA\t.brain/resources/lore/theo-please-stop-using-stupid-models.svx\nA\t.brain/resources/lore/think-wider.svx\nA\t.brain/resources/lore/visakan-veerasamy.svx\nA\t.brain/resources/lore/why-javascript-is-broken-effect-michael-arnaldi.svx\nA\t.brain/resources/lore/ziverge-de-goes-arnaldi-typescript-for-scala-devs.svx\n\u001eaa4fd74b37a972315314df53bf5c99e77bd8aee6\t2026-09-25\t1790367240\t186608907693abc17c1953a99931969b96eb11dd\tdocs(brain): name no private project in the served lint-limits note\n\nM\t.brain/resources/lint-rule-limits.svx\n\u001e6ff67ec587a307d133aaa6fa73f2c735b3263cf3\t2026-09-25\t1790366804\t23bd13359528317389edd7cbe9d7a01c914223e4\tfeat: add ratstack site easter eggs and debt ledger\n\nM\t.brain/resources/same-version-repos.svx\nM\tAGENTS.md\nM\tskills/add-a-capability/SKILL.md\n\u001e0b82d26c6bacaa1d1d9bcc0219ede4d3807634a5\t2026-09-25\t1790355543\tb6cdb3f51086022bdd47f933da3ac8a16ca8982d\tdocs: tagline, An Effect stack so pure (aspirational) Kit Langton will blush.\n\nM\tREADME.md\nM\tVISION.md\n\u001ec70a58532593721c742a0beaf2633d6871fe85d9\t2026-09-24\t1790307908\tfa744f9b03f110dc3d67f44ef8e84e8e974c4eaa\tdocs: tagline says stack, not app\n\nM\tREADME.md\nM\tVISION.md\n\u001ee01809febf81b38819fcd16385b10d36b5898c04\t2026-09-24\t1790306346\ta5d130be33ba15d8e390666f80b6818bebbf9dcc\tdocs: tagline gains (aspirationally)\n\nM\tREADME.md\nM\tVISION.md\n\u001e13f0f2a22308cc04037b32cbc798b7b928859a74\t2026-09-24\t1790305029\t8fe46b817c07e14434bd2388b24944ccff5e9230\tdocs: tagline, An Effect app so pure Kit Langton will blush.\n\nM\tREADME.md\nM\tVISION.md\n\u001ea5a1b80d1fc23f4d90afd1e3c4a00460cde0be66\t2026-09-24\t1790304476\t83cc2f1430af67672b99ee8d3d0295ded12d69f6\tdocs(vision): the core why is the best Effect + Alchemy application we can build\n\nM\tREADME.md\nM\tVISION.md\n\u001efa058b1aafd5bd58419fc22fb19a88c2a3609ea8\t2026-09-24\t1790302235\t8d1662cfcae8ada7d5da27e0741153e06704110a\tdocs(lore): code mode verdict splits template and hosted site; init test names its failure\n\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/init-runs-twice.svx\n\u001e0aa4e74900a8b2e7e0d9058bf6b1291b787f488a\t2026-09-24\t1790301891\t3e948e2b329a3637d695399d8ce66b9fac2995a4\tAdd lore wiki to ratstack.sh\n\nA\t.brain/resources/lore/a-clean-playground.svx\nA\t.brain/resources/lore/an-mcp-your-users-want.svx\nA\t.brain/resources/lore/cartridges.svx\nA\t.brain/resources/lore/init-runs-twice.svx\nA\t.brain/resources/lore/lifecycles-are-machines.svx\nA\t.brain/resources/lore/no-comments.svx\nA\t.brain/resources/lore/one-capability-every-surface.svx\nA\t.brain/resources/lore/tests-that-earn-their-place.svx\nA\t.brain/resources/lore/the-fence.svx\n\u001ea33288bfb0398726f4ea7983ce5b1216a94b9557\t2026-09-24\t1790261815\t782f8906ba0a9c565c4f19b585ba7a5352280452\tfeat(capability): add ambient call watch\n\nM\tAGENTS.md\nM\tskills/keep-or-cut/SKILL.md\n\u001ebcd1c1334a997b1a63072e759c8230be4f1f56bb\t2026-09-24\t1790243025\te1c379ea6a95eeafe4425c95c4e14efa09ebf2ca\tfix(lint): no-comments keeps TypeScript @ts-* directives\n\nM\tAGENTS.md\n\u001ebfa08cebbc3b2c838165aa0b2ebf1c12a33b3a3d\t2026-09-24\t1790233796\t8da815d0b1a4a6affcf8dbf4b939f1c6d6628787\tfix: close static lint rule bypasses\n\nA\t.brain/resources/lint-rule-limits.svx\n\u001e26fb6aad44d26a88914bc13754ac9b6e39ab9ceb\t2026-09-23\t1790222906\t89af1a65854dfafe87779b617883f91475e524cb\tfix: project native schema constraints\n\nM\tAGENTS.md\n\u001ebc930c6f0a869978c2aec2c7d25e274be4637584\t2026-09-23\t1790216761\t26860eca0a55102988cb96249ed4daae2b0f6284\tdocs(agents): tautological, change-detector, and gapless regression tests considered harmful\n\nM\tAGENTS.md\n\u001ecb3cd51b72bc941a40257b3c7463a60d508fb1be\t2026-09-23\t1790201424\t5115230fe8ae1f908617f7396b1efbc5068cf6ab\tdocs: close out the rat devtools plan\n\nM\tAGENTS.md\n\u001e4b939bd476bb819f1c76badee6773827c0a06ecc\t2026-09-23\t1790201056\t709f5e2c71580d7da3a1df576431a3f57ba3e032\tfeat(dev): run the web app through portless at rat-stack.localhost\n\nM\tAGENTS.md\n\u001e709f5e2c71580d7da3a1df576431a3f57ba3e032\t2026-09-23\t1790200953\t91a6dccf0a6a2dbf63b6e2aa739d99c319da3967\tdocs(agents): apps/infra changes and planned deploys no longer need owner sign-off\n\nM\tAGENTS.md\n\u001ea171276ce061b31b055173d95b2b5f2d4d4b6e71\t2026-09-23\t1790191856\t23940da00fb5a7f72f8e4f3290453529249d7a17\tchore: stop linking .agent-sources/effect; pi-effect reads the pinned mirror in place\n\nM\tAGENTS.md\nM\tREADME.md\n\u001eb1c1f27ae4a58c8c1b2ad42de9dfa35cc9c4c2de\t2026-09-23\t1790190757\tb32cabebd1f33009c78a216cc29aca9952edf1bd\tfeat(web): run the 🐀 devtools and overlay under vite dev\n\nM\tAGENTS.md\nM\tskills/keep-or-cut/SKILL.md\n\u001e037500a05e7c091eb2c4d21b0ad40232fa54a7a9\t2026-09-23\t1790190028\ta68fb4bd019245fd181f2c0f406b9c5dd2f0cc1e\tfix(web): make vite dev work by serving /rpc in process\n\nM\tAGENTS.md\n\u001e3c9d280b15bbd5ec40a43b4d4fc6faf9e2b2f707\t2026-09-23\t1790189380\t7d671757fde1de88169c32ca5ca50612f7b436b5\tfeat(lint): keep devtools and test people out of production\n\nM\tAGENTS.md\n\u001e806048aa69c6ab64bdc3428443bfb04f4cbebd67\t2026-09-23\t1790189196\t0f3a258ab516e0a939f126c6c49dbeecfd3a6d5b\tdocs: document runAs and test people\n\nM\tAGENTS.md\n\u001ed05f076e33d1a993cd94a095e10342300817e983\t2026-09-23\t1790187832\taac73327d378ce29bc54295ee93bc4165094ce1e\tdocs: document machine devtools and queue the client slices\n\nM\tAGENTS.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\n\u001e81dc9cb22403fc2eafb5f70887c4764c643ab846\t2026-09-23\t1790186161\tbf8df46bb84353602cdb8ecc352114ac0c2ab59b\tfeat(lint): translate five Foldkit rules to rat-stack\n\nM\tAGENTS.md\n\u001ebf8df46bb84353602cdb8ecc352114ac0c2ab59b\t2026-09-23\t1790185927\t77f0d1444386cf58b3dda39bbc0d3199bd2a8942\tfeat(devtools): add the rat devtools cartridge\n\nM\tAGENTS.md\nM\tskills/keep-or-cut/SKILL.md\n\u001e9a7bea5214a84c49bad23966bdcca7c4ca2b9c3d\t2026-09-23\t1790183445\t3c87b68978321d960e94f9b6816b7e46c72882d4\trefactor: split capability contracts from handlers\n\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/add-a-capability/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\n\u001e2d3fca623ed61ef8eb5b5624db6dd50813b39dab\t2026-09-23\t1790182677\t197b45ff518a5d1543dffb5892db8e8e90fc850a\ttest: fail when documented versions drift from the manifests\n\nM\t.brain/resources/peers.svx\nM\t.brain/resources/same-version-repos.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/gardener/SKILL.md\n\u001e5cce86de2b460246553f4f7bb39858b3394d4ac1\t2026-09-23\t1790182519\t1c2a7384a2500ed9be172d266746f3f3c2c051e8\tdocs: record Effect and Alchemy peer patterns\n\nM\t.brain/resources/effect-4-reference-projects.svx\nA\t.brain/resources/same-version-repos.svx\n\u001e2f3cfd60fe1dff94325c7c99595e331729f9ba17\t2026-09-23\t1790180912\t374942c661d138bdd3f79e4e7c0cffe0302b2ce5\tdocs: list to-rpc as a projection boundary and point the gardener rule at its skills\n\nM\tAGENTS.md\n\u001e6f10f5c4267a7236394581c89ffdf0fc72a168f5\t2026-09-23\t1790180762\t82937e6b46752a493f280bdcd31bb17b0b3287bc\tfeat: enforce rat-stack architecture boundaries\n\nM\tAGENTS.md\n\u001ee84ba3126247d246109a63ba23f9bba4aea3099c\t2026-09-23\t1790180751\tac9f103196b5242671d8b387f049b7859cbaa6dd\tdocs: add uncomplect skill tailored to rat-stack nouns, cartridge test, and fence\n\nA\tskills/uncomplect/SKILL.md\n\u001e426f860ea0496c9b278f988735059b74a7cc2abf\t2026-09-23\t1790180462\t1c2a7384a2500ed9be172d266746f3f3c2c051e8\tfeat: find-peers skill and script for repos on our prerelease lines\n\nA\t.brain/resources/peers.svx\nA\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\n\u001e0d99cb87b0fc62e87fa4da54f8a1368ffabdf9a4\t2026-09-23\t1790179458\t156059f9a48d9858bf1f58307f269136b90d09a6\tdocs: add gardener skill for bumps, same-version snooping, and lint-first cleanup\n\nA\tskills/gardener/SKILL.md\n\u001e52c721b89b88bffb771414478d0905e910a2eafa\t2026-09-23\t1790173135\t8d1d7abb39468816ea5e37f6d99cfffd33d3c7b7\tfeat: ban comments in code, after Dune\n\nM\tAGENTS.md\n\u001e19bc13695690d12f809d43f8fff7d27ac602ccb5\t2026-09-23\t1790171833\t2309728aa61f34a40e07c9c7f6a502c0ee20099e\tchore: enforce every anti-slop rule\n\nM\tAGENTS.md\n\u001e2309728aa61f34a40e07c9c7f6a502c0ee20099e\t2026-09-23\t1790171828\t34f61a3006bff3663a37bfb4761e38275d705ef9\trefactor(mischief): typed hast, parsed boundaries, honest factory names\n\nM\tskills/learn-alchemy/SKILL.md\n\u001e85ebb30113fa56388142f39ec12c2ab0be6be207\t2026-09-22\t1790108070\t38e1bb71b430d46b9440e36cbef7d7cc85896b27\tdocs: drop the README image that broke on ratstack.sh\n\nM\tREADME.md\n\u001e68d96d3cdcb1f2fb4edf43b88d16df7a65a25ce0\t2026-09-22\t1790104607\t2a6c665357e569abc402af7df4e50ffdbc370ca4\tfeat: the rat emoji is the logo, favicon, and touch icon\n\nM\tREADME.md\n\u001eb78dfb16f3f369cda2adf4bc9263d16478065f7f\t2026-09-22\t1790103870\t67986a22f8ed31708443f36dda3bffefb84ec85e\tdocs: cite the CascadiaJS source for cheap experimentation\n\nM\tVISION.md\n\u001ecc20223d97b3571519233d43945ce93c7d34c295\t2026-09-22\t1790103775\t9c6b3207db10e3e3ea04d098b1fa7ca3eb3429fb\tdocs: vision is pieces, trust, floor, and range\n\nM\tVISION.md\n\u001e91a75ce2fc8407320d14ba84cc87047e69efde63\t2026-09-22\t1790101800\tb781833b00d25f76680b466ef389fed440daf195\tfix: document the 429; derive the serve test from the registry\n\nM\tskills/add-a-capability/SKILL.md\n\u001ec09ed118f38936d30721e26c1ff640296c001090\t2026-09-22\t1790101421\t4751d3ca619902f8b168d5743daaf09af8ab8ad5\tdocs: format once after renaming the workspace\n\nM\tREADME.md\n\u001e16b586bfd4714505da79f2af881719555dc88931\t2026-09-22\t1790100369\tb24e5bcf6ec25442d308844484e4ecf9d1955ac6\tdocs: make it yours, promise proofs, and a plainer vision\n\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\n\u001e638543479700f06b1c3769e0b7bd625a538912d0\t2026-09-22\t1790099024\t06880c3d6d846fc6c398c9c9d5b27f305bb0293e\tfeat: learn-alchemy skill\n\nA\tskills/learn-alchemy/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\n\u001eb98565f6dcc60607746fb404cb9d8170b9a2132d\t2026-09-22\t1790089811\t3ebba88cd92293d6406b48014bf26c52712738c6\tfeat: teach and cache the stack\n\nM\tskills/add-a-capability/SKILL.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\n\u001eff17799dd6e25532d4baa0a4089567df74d1f90c\t2026-09-21\t1790038199\t75084a2bb50b86db4da1264d6e711b872fbffa41\tmischief: search, read, execute, the skills catalogue, and agent discovery\n\nA\tskills/add-a-capability/SKILL.md\nA\tskills/add-a-lifecycle-machine/SKILL.md\nA\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\n\u001e9417a990d494cd3e9fa63731d2e3b9c23ec218ad\t2026-09-21\t1790022797\t8dba49eb7f7a38a8a9887de3b5fbf731f1551aba\tmischief: local-only Effect Worker prototype for ratstack.sh\n\nA\tskills/learn-rat-stack/SKILL.md\n\u001e7464743e12c7e1fcadab8497d1f95bbb2ceabec4\t2026-09-21\t1790020152\tf5f91f1c5efe7d19332af6c8eb36b0e3149bc63a\tbrand and harvest: the Rat Stack mark, OG image step, agent-ready checks closed\n\nM\tREADME.md\n\u001e03fde9bd017824c87c0570355bec2ddbd1e26ade\t2026-09-20\t1789921499\td4354c4516749e5ef295a5abc80068c1f2ae2360\tchore: dependency sweep; lint joins the turbo gate\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ed4354c4516749e5ef295a5abc80068c1f2ae2360\t2026-09-20\t1789921214\tda4d5f6770522c354a8eebfd8bbd46d53d816d6d\tchore: @xstate/effect from the npm registry, tarball retired\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001eda4d5f6770522c354a8eebfd8bbd46d53d816d6d\t2026-09-18\t1789789741\te90e35da7c33ae774959dd69948a0d68a48fe832\tdocs: template acceptance, rat-stack's own AGENTS.md answers, keep-or-cut\n\nM\t.brain/resources/schema-projections-and-code-mode.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ee90e35da7c33ae774959dd69948a0d68a48fe832\t2026-09-18\t1789788936\tb08930683c8ef253ad84a0c39c0ef8086260b55c\tfeat(capability): code mode, the fourth projection\n\nM\t.brain/resources/schema-projections-and-code-mode.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001eb08930683c8ef253ad84a0c39c0ef8086260b55c\t2026-09-18\t1789787982\t71b899cfd3966fd6b903fd7d554d3486b3dcfe47\tfeat: inspectFile as one capability on four commands\n\nM\t.brain/resources/schema-projections-and-code-mode.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e94f656a3e5b870665aff5994c508ebb7efd94f9b\t2026-09-18\t1789786412\tcef2b78999e3ed93cc397d0da191873779bc1a56\tdocs(brain): one Schema, many surfaces (CLI, REST/OpenAPI, MCP, code mode)\n\nA\t.brain/resources/schema-projections-and-code-mode.svx\n\u001ecef2b78999e3ed93cc397d0da191873779bc1a56\t2026-09-18\t1789785854\t6c5dc6145b85e9a3abad16cdf9778fec021d9ca7\tchore: rename joel-stack to rat-stack\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\n\u001e29964aa0d436c18635efe095d81c434e4fc72583\t2026-09-18\t1789784952\tde030598b22620cd452ab6ff393cff342bcf856b\tdocs(brain): record the second Effect 4 slice and its gotchas\n\nM\t.brain/resources/effect-4-reference-projects.svx\n\u001ede030598b22620cd452ab6ff393cff342bcf856b\t2026-09-18\t1789784950\t862db3b70736460f451219ffd0930fcb3b38385e\tfeat: close the Effect 4 reference gaps (language service, service shape, effect vitest, mirrors)\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e862db3b70736460f451219ffd0930fcb3b38385e\t2026-09-18\t1789784233\t25eb0c9099f5acce2aa5504ec4df7619fa627e8d\tdocs(brain): link filed xstate issue #5725\n\nM\t.brain/resources/effect-4-reference-projects.svx\n\u001e25eb0c9099f5acce2aa5504ec4df7619fa627e8d\t2026-09-18\t1789783282\t6a6178e9d7e2612a2a786a5507262c5c6b10c4cd\tdocs(brain): record prepared @xstate/effect upstream contribution\n\nM\t.brain/resources/effect-4-reference-projects.svx\n\u001e6a6178e9d7e2612a2a786a5507262c5c6b10c4cd\t2026-09-18\t1789782704\t92f60e0c7ec069a0dc9cbcdfabe2ee84b8b1ac98\tdocs(brain): Effect 4 reference project study and @xstate/effect findings\n\nA\t.brain/resources/effect-4-reference-projects.svx\n\u001e92f60e0c7ec069a0dc9cbcdfabe2ee84b8b1ac98\t2026-09-18\t1789782702\te4d02e6195ab9e3ceaa79a975b5dcf742e933830\tfeat(cli): run stats through an @xstate/effect machine\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ee4d02e6195ab9e3ceaa79a975b5dcf742e933830\t2026-09-17\t1789698236\t6c1229835647808707d7d397034f11f04d024024\tchore: rename ts-cli-template to joel-stack\n\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\n\u001e6c1229835647808707d7d397034f11f04d024024\t2026-09-17\t1789697703\t218386e71f0707db3e08fa54204c9bc3687d5e6e\tfeat(infra): bake Alchemy in as apps/infra, one Effect Stack per project\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e218386e71f0707db3e08fa54204c9bc3687d5e6e\t2026-09-17\t1789697521\taab2bced16ce7e6f2a3d27e6ee6b3bae7714071b\tchore(deps): move XState to 6.0.0-alpha.58\n\nM\tAGENTS.md\nM\tREADME.md\n\u001eddeb33a7a024053aa64d91cc7cc8ee4862bcc0ab\t2026-09-17\t1789697246\t14a08e58fb07824ad0b2be98991c0fdd5f32b78f\tchore(deps): bump the pinned stack: Effect rc.115, Vitest 5, Oxlint 1.83, XState 5.33.2\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ebc2baaa8f90dbdc7238138a118268b31333d3461\t2026-09-17\t1789694601\t14a08e58fb07824ad0b2be98991c0fdd5f32b78f\tAdd varlock: checked-in .env.schema, env:check script, varlock load in pnpm check\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e14a08e58fb07824ad0b2be98991c0fdd5f32b78f\t2026-08-29\t1788053945\t3c3c52928658e6f91871a99376a33a17e63876d1\tmonorepo rework + Effect 4.0.0-rc.112 + vendored alchemy\n\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\n\u001e3c3c52928658e6f91871a99376a33a17e63876d1\t2026-07-22\t1784737843\t80bcef7fe14b3b63f7ef63854eaac2f401d37b20\tchore: update Effect v4 to beta.99\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ea6c6dc34bb4da71d43000a13af556b6426c7e2fb\t2026-07-16\t1784225438\tf12746c1f466a4c040eb042bf1f68f14a871b7f5\tLive .pi surface: project.ts extension, APPEND_SYSTEM.md, typed pi API dep\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ef12746c1f466a4c040eb042bf1f68f14a871b7f5\t2026-07-16\t1784223913\t584c338cd8bfe7014a1aba06ef5cc8115ee9f914\tAdd full agentic surface\n\nA\tAGENTS.md\nM\tREADME.md\nA\tVISION.md\n\u001e584c338cd8bfe7014a1aba06ef5cc8115ee9f914\t2026-07-16\t1784222529\t\tPrototype strict Effect v4 CLI template\n\nA\tREADME.md\n", - "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/agent-front-door.svx\"]": "2026-11-08\tc11e2936c0fe50773adc6d090e15cf82f3b04287\n", - "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/all-stars.svx\"]": "2026-11-04\t83069f319441be242a158d0af0add3c40e88a82f\n", + "[\"rat-stack\",\"log\",\"--no-merges\",\"--full-history\",\"--no-renames\",\"--name-status\",\"--format=%x1e%H%x09%cs%x09%ct%x09%P%x09%s\",\"--\",\".brain/resources\",\".brain/areas\",\"skills\",\"VISION.md\",\"AGENTS.md\",\"README.md\"]": "\u001e01ac090377c5c8d1d609659909ce9048ff469540\t2026-11-26\t1795716528\tcfd59e19cfe44acf8664de059b5619e90218c55d\tdocs(lore): restore the CAFE origin credits\n\nM\t.brain/resources/lore/cafe-stack.svx\n\u001e96b6e0ba67be4cd707c069c2ac8f9d76612fbd74\t2026-11-26\t1795715925\tb633555b638cd44f4dfe9d16aa7b9d4b45f9a122\tcontent: retire the CAFE name and document Effect UI\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/areas/all-stars.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/web.svx\nM\t.brain/resources/lore/a-browser-send-follows-one-path.svx\nM\t.brain/resources/lore/cafe-stack.svx\nM\t.brain/resources/lore/sam-goodwin.svx\nM\t.brain/resources/lore/ui-behaviour-is-a-scene.svx\n\u001eba909731e4daa00679f01b2a53ae493b771b112e\t2026-11-26\t1795702022\tff964a94600e77b99c2613e50b398b1751b8937c\tcontent(lore): answer first on the Effect dependency injection page\n\nM\t.brain/resources/lore/dependency-injection-is-the-reason-to-choose-effect.svx\n\u001ead2a90024763646577228fac816e4ff928418fa7\t2026-11-25\t1795624290\ta218e38a901297594546233ff47d34590bef0c13\tfix(web): activate the Chrome WebMCP origin trial\n\nM\t.brain/areas/webmcp.svx\n\u001e96798e5347837ba94297828b92f45f0225b33707\t2026-11-25\t1795595182\t637b08e2b17d8ef85743cd560167575cb59d338f\tfeat: extract build-only OG cards and gate published routes\n\nM\tAGENTS.md\n\u001e5c491a7217d7aab6462573f66009f8c5cf0bd542\t2026-11-24\t1795586562\t637b08e2b17d8ef85743cd560167575cb59d338f\tchore(lint): warn on retries and unsignaled polls\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\n\u001e24c30d391713797b5c39e4056fc050258aa37eef\t2026-11-24\t1795580526\t257ecafd591642a4dc73b0183b358e937376482f\tfeat(skills): publish the defensive security audit bundle\n\nM\t.brain/areas/skills.svx\nM\tskills/security-audit/SKILL.md\nM\tskills/security-audit/UPSTREAM.md\n\u001e8463c4dc4ab50449808f5483a0e2dd952e991062\t2026-11-24\t1795566439\tfda79187b7e05cb7eb0af86d31f7e3137873332b\tdocs and build: explain skill verification and guard cached content history\n\nM\t.brain/areas/skills.svx\n\u001e47a8531892feb5582d49c3f18fbdd7e9f91364d4\t2026-11-24\t1795555602\t202f60b49e4a5795f38f6ac3d400b97c55984cf5\tdocs(site): explain how portable skills reach agents\n\nA\t.brain/areas/skills.svx\n\u001e316a0181b05dc82c5fd1d62087b683566ee1c0cc\t2026-11-24\t1795554422\t25296bbe66a689db9ac732ef1bb92155ef29f02f\tfeat: project public reader tools through WebMCP\n\nA\t.brain/areas/webmcp.svx\nM\tAGENTS.md\n\u001ee0536e04d2d30211d38da582b92f26b5b4f71468\t2026-11-23\t1795459441\ta5068a24700faaa2560915fb8cfd3b599543e7bf\tdocs(agents): name the dark accent text value in the hot-pink rule\n\nM\tAGENTS.md\n\u001e97fe891ff0e13ee1be211a749560858308957798\t2026-11-23\t1795458837\t124be43c563ed69b512a802830f2aa0d4a7888b7\tfeat(site): follow the system light or dark preference with no flash\n\nM\t.brain/areas/web.svx\n\u001eaf460b2787fb45913fcf67683aca53660becc0b5\t2026-11-19\t1795082273\tc1936644c222524b103b5b39bc966068f0873a39\tfeat(catalog): backfill daily sightings and decisions\n\nM\t.brain/areas/catalog.svx\n\u001e91bd05dadb5f5390d939e7476ea49028af8f8337\t2026-11-18\t1795068663\t75f94fad163461e10d7e981e7b86e75eeb2421de\tfix(learn): return cards at the requested depth\n\nM\tskills/learn/SKILL.md\n\u001e2c2a871aad42392a4550d103be1670e1ac81d129\t2026-11-18\t1795033585\t75bcc9571281674d3a83bf91b7175a92d2d617fa\tfeat: vendor the Landmines testing fence\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\n\u001e2766d7aa98f803a31447ce6b92d0206d15d62899\t2026-11-16\t1794895579\t509c1a938481086d9cd1189e5bf2b996959db28c\texamples: update the Tokenmaxx workshop starter to 0.4.1\n\nM\t.brain/resources/tokenmaxx/exercises/01.1.svx\n\u001ea1caaa7c3653616cf2b070814b0d11be0c97c082\t2026-11-16\t1794888851\tfe92cd7368cdd6c90e0204d40bdb496c133fc46b\ttokenmaxx: v4 schedule and the eight exercise readmes\n\nA\t.brain/resources/tokenmaxx/exercises/00.1.svx\nA\t.brain/resources/tokenmaxx/exercises/01.1.svx\nA\t.brain/resources/tokenmaxx/exercises/02.1.svx\nA\t.brain/resources/tokenmaxx/exercises/02.2.svx\nA\t.brain/resources/tokenmaxx/exercises/03.1.svx\nA\t.brain/resources/tokenmaxx/exercises/04.1.svx\nA\t.brain/resources/tokenmaxx/exercises/05.1.svx\nA\t.brain/resources/tokenmaxx/exercises/06.1.svx\n\u001e95207c81c835352ded9108edc449f374de7a33c6\t2026-11-16\t1794845648\t8f05acbf785f3f6e0a8cd1d06797db8c7a5785fd\tchore(deps): bump XState beta.3 and Effect bridge beta.2\n\nM\t.brain/areas/fence.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e66d2eb04b5ba9cdc433cf1dd1058954b2389f951\t2026-11-15\t1794806680\t22a222c9eb3f08746c1ea7867b744cf81544ff5d\tdocs(bombadil): teach browser properties and their limits\n\nA\t.brain/resources/bombadil-ui-property-tests.svx\nM\t.brain/resources/lore/property-based-testing.svx\n\u001e3bdbcb75c09c2469749dbcb2edbca9202f060b49\t2026-11-15\t1794789965\t097ddcc75a495cf9ab59cab1fbb1084dfbd41380\tfix: recover legacy subject erasure and require abuse hold release\n\nM\t.brain/areas/interest.svx\n\u001e71e8b0cd87a9b6abec7c5910002707597e5c7053\t2026-11-15\t1794787900\t5cb4589c52a909247b3489deb7b1a01284b92816\tfix(catalog): prove runtime boot and recover projection refusals\n\nM\t.brain/areas/catalog.svx\n\u001eed9a8798c74529f88b051f6c6b39f97cc93143d7\t2026-11-15\t1794786595\t5285a3a225dea34b7b54d9e4a45c388709e90e4a\tfeat(tube): name RatTube and add the Sam Goodwin interview\n\nM\t.brain/areas/tube.svx\n\u001e8503320e603e089aa8e027163d3a25465f622168\t2026-11-15\t1794786500\t8ac3ecd2e0cff51b24b0bff90c705f1d11c0c257\tfix: make join migration atomic and preserve releasable holds\n\nM\t.brain/areas/interest.svx\n\u001e769b6bae69e2e6e58f1c009366227e7f268690ae\t2026-11-15\t1794785484\ta4ac33f89ef9ebb0b4470995d26ab10899f636b0\tfix(tokenmaxx): point attendees at the calendar event for the workshop code\n\nM\t.brain/areas/workshop-help.svx\n\u001e4444a45eedf7485addea174281589fa00a6d8701\t2026-11-15\t1794784721\tddd576e536037731408a0cbc9bf9b9863ec608f0\tfeat(tube): prerender transcript-backed video pages\n\nM\t.brain/areas/tube.svx\nM\t.brain/areas/web.svx\n\u001e0487cb7f321077a768527b419e3626a5c9645191\t2026-11-15\t1794783760\t9fd24907aa2b89a1c1fd96c36d5a008c51d7095e\tperf(ci): cache stable content generation and flags compilation\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e07443a1f8cac8b16dd8802892f8bced2e7a3d296\t2026-11-15\t1794781051\t807205099777182b7c8dbd7bbfcf2a71398b16b3\tfeat(catalog): project committed sightings into bounded native queries\n\nM\t.brain/areas/catalog.svx\nM\tAGENTS.md\n\u001e1537edb7ce123e59094976dae669f75f695e2c24\t2026-11-15\t1794780627\ta09dc557fd94b09f3dc10f4fffe888e9fb539a6c\tfeat(tokenmaxx): guided setup help on the Workshop Worker\n\nA\t.brain/areas/workshop-help.svx\n\u001ebe327a37d50ace2fe975d7ee13adb8f1ab611c21\t2026-11-15\t1794778453\t42acb69af7e879998d79747314c53744d3ea902d\tcontent(refresh): show admission refusal and recovery with permits\n\nM\t.brain/resources/lore/admission-controls-new-work.svx\nM\t.brain/resources/lore/backpressure-reaches-the-producer.svx\n\u001e87fe4d414240083ee203a425a7e78b1beca41f67\t2026-11-15\t1794775871\tcf916cb4b97042f18a73d3fb1ab4631b2e754527\tdocs(wiki): introduce jargon as readers choose to go deeper\n\nM\tskills/write-a-wiki-page/SKILL.md\n\u001eb127117dd3e278c1f5f5c90578bd36a84ff13db3\t2026-11-15\t1794768375\tebd301ef36c1f7f1b3ad213eb663ed408c398580\tfeat: serve the Tokenmaxx setup guide as raw markdown\n\nM\t.brain/areas/interest.svx\n\u001e9906f249ffaab199a78468d4fb1e7c9e4eaab7e7\t2026-11-15\t1794765629\t0dc243268a6b6d45d977e66420e9c72a0f0ddc85\tfeat(ci): report Turbo cache stories in CI summaries\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e8b5229e6eed6acd0bc67e19c6b5add89f8a4c908\t2026-11-15\t1794765567\t0dc243268a6b6d45d977e66420e9c72a0f0ddc85\tfix(home): lead with one project prompt and move setup details\n\nM\tskills/learn-rat-stack/SKILL.md\n\u001ecd3200ddb83053c65bd84bcac16406115f6c2cc0\t2026-11-15\t1794764885\tbf0d2d137f929484d5dc24ff659bf46b4a91d0dc\tfeat(catalog): host authenticated Item history on Alchemy Domain\n\nA\t.brain/areas/catalog.svx\nM\tAGENTS.md\n\u001ec9b43377e76024c89c2ed6b3bf5e23c7ce86c271\t2026-11-15\t1794764482\t0dc243268a6b6d45d977e66420e9c72a0f0ddc85\tfeat(turbo-cache): adopt read-only team credentials\n\nM\t.brain/areas/turbo-cache.svx\nM\tAGENTS.md\n\u001e7ebff5fa1be9c76c030252e4f4fac340c65dc9ac\t2026-11-14\t1794694929\tefa118fdc3f6431a18838394bcfb34fdbcfce4b2\tcontent: fix three council findings from #276\n\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\n\u001ec276687a7ecf2ea95eb30ed58af46c8dd5ec3138\t2026-11-14\t1794691741\t4cd7cbbdb90386426f44643f6fc5b8e6c6e4286a\tcontent(refresh): show shipped independent error accumulation\n\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\n\u001e31132fb994c12294d53a151c7909ff233c0ab686\t2026-11-14\t1794646930\t3192d6d1cdf27345a084e9983e432c9bbae7af43\tdocs: prefer paying debt down instead of \"only shrink\"\n\nM\t.brain/areas/fence.svx\nM\t.brain/resources/lore/shitrat-bestiary.svx\nM\tAGENTS.md\nM\tVISION.md\nM\tskills/gardener/SKILL.md\n\u001e3192d6d1cdf27345a084e9983e432c9bbae7af43\t2026-11-14\t1794645228\tf84fa85d99efb7da2f4910dc1eda28bb739ac960\tdeploy: drop the quiet-window wait\n\nM\tskills/durability/principles/fail-open-on-liveness.md\nM\tskills/ship/SKILL.md\nM\tskills/ship/references/project.md\n\u001e0b08f38106e872e30d69ee96ec0f1f79e3be73e8\t2026-11-13\t1794640072\ted72a75445c9ac83861bebe59bca949bcce9932c\tfence: log doc-fence opt-outs instead of ratcheting their count\n\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/shitrat-bestiary.svx\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e152143ab15d6c3f4cb02be118482e52da99c9079\t2026-11-13\t1794635611\t5e9a52e362d18bb76d722b06afba7a22748282c1\tdeps: tsrs 0.25 and @effect/tsgo 0.69\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ea363048f72537e38a17d0c58a12a0607cae8a593\t2026-11-13\t1794634472\t0e3df4f435a3928fe022eb00b0cd7da0f2ccc4c1\tdeps: lint, build and runtime tooling to current\n\nM\tAGENTS.md\nM\tREADME.md\n\u001eb520304fbf0fa841274456343c8d12ef37c181f4\t2026-11-13\t1794627207\t75a40b632c6692a25738ed21e762a798af36b704\tdeps: Alchemy beta.87 and Effect 4.1.4\n\nM\t.brain/areas/turbo-cache.svx\nM\t.brain/resources/lore/alchemy-domain.svx\nM\t.brain/resources/lore/durability.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e1a2906bab0c511f7c1c61aea4ee1925c53cb82c8\t2026-11-13\t1794624057\t951ef97d4d83c4eec1fec6456703b8561a2d1d02\tfence: report Worker sizes instead of blocking on shrink-only ceilings\n\nM\t.brain/areas/auth.svx\nM\t.brain/areas/motion.svx\nM\t.brain/areas/turbo-cache.svx\nM\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nM\t.brain/resources/lore/shitrat-bestiary.svx\nM\t.brain/resources/lore/shitrat-war-stories.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e917135589f7a256b789b177fbdaad4a3265af2ea\t2026-11-13\t1794605269\t10152920820e717f889628d4c4793fd38967dbd5\tcontent(correct): describe bounded shrinking without minimum promises\n\nM\t.brain/resources/lore/model-based-testing.svx\nM\t.brain/resources/lore/property-based-testing.svx\n\u001e4e9570dd452436021f8ca03b66b7a19ee568cb0d\t2026-11-12\t1794554005\tb830ca170510bb3d706ef0ba82b9e3c7ef153620\tskills(profile-a-worker): a capture can miss a scheduled handler's isolate\n\nM\tskills/profile-a-worker/SKILL.md\n\u001e2b306fbcaeb08c2cf7bb0e347e9cc06456dd668b\t2026-11-11\t1794442853\t8c7fba05d36e56b9aa7ec517ac3d0cc7f0d717f2\tfix(site): let a template child pass the content build\n\nM\tREADME.md\n\u001e14468812d2776b2b84e66e46126865c08344311e\t2026-11-11\t1794432720\t66df9fc245b8f26402835a812426fb9aef06ef7e\tcontent(create-lore): teach the testing ladder\n\nA\t.brain/resources/lore/testing-ladder.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\n\u001e2417db8249a9bb6cf35c5373c642dbb784fb5f0c\t2026-11-10\t1794354133\t097b1969f79f49bdcdded94aaf35b7349715eb3e\tfence: block every hook bypass, not only --no-verify\n\nM\t.brain/areas/fence.svx\n\u001ea13559c2e642d8ac06f86e7b90d1dfc23ee91244\t2026-11-10\t1794350253\tefb73202675fa2472d33471ae60e964da5ba19b3\tdocs: lead the README with using rat-stack as a reference\n\nM\tREADME.md\n\u001e7203f1b425fbc8fa42fd5883e81ee17ed89e6f9f\t2026-11-10\t1794348341\td1024e581bb8380d25e83822676a96ce1b4d8ccd\tfix: warn, not fail, when the package manager differs from the pin\n\nM\tREADME.md\n\u001e41dd0fea7dd5645402db4b8650298505002ce34c\t2026-11-09\t1794261854\ta39e00b93ff48d07d866f3c645344a234fe58036\tcontent: cartridge removal rule matches the retained-resource example; pin the remaining cartridge sources\n\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\n\u001ea0eae50e89321a9f5835a1478d97591a448f1f4f\t2026-11-09\t1794260137\t54bf7786f1260f20d0ba8dd96d828debff9c7759\tcontent(refresh): show the events cartridge removal boundary\n\nM\t.brain/areas/analytics.svx\nM\t.brain/resources/lore/cartridges.svx\n\u001e91adf29eda4158512bf4ef775907b9accce63ce3\t2026-11-09\t1794250803\t45df515566bc3880a7c20ba2f198e6056215376c\tlore: implicit state machines, with David Khourshid's definition and the deploy poll before and after\n\nM\t.brain/resources/lore/david-khourshid.svx\nA\t.brain/resources/lore/implicit-state-machines.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\n\u001e7192ebfc5e1e671f1cfc17222959b2304c482d9e\t2026-11-08\t1794208318\t01b872e8557b650e204888d5ef3ef941b8cee55d\tperf(auth): tighten startup ceiling to measured headroom\n\nM\tAGENTS.md\n\u001eedfc165e476f50f5e12f7acfcf09967b1b1a5d5d\t2026-11-08\t1794207324\tb8df5c243a1f0a51821794551642ea2333fd14df\tperf(auth): defer D1 auth implementation until worker initialization\n\nM\tAGENTS.md\n\u001e712864bae9291ab2d7ae254d09453fe9ee354708\t2026-11-08\t1794173252\t64f085070e2ab648797592079129b5092705fdc0\tdocs: use actual RunLog cartridge Layers\n\nM\t.brain/resources/lore/cartridges.svx\n\u001eb8f4ccfee151b162d038c79d5a349df7f4a039e2\t2026-11-08\t1794172956\t24f44e9da171d32cc7748bf261708e83f3158181\tdocs(lore): qualify intake recovery, the docs cache, and no-inline-effect\n\nM\t.brain/resources/lore/a-browser-send-follows-one-path.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/queues-pipelines-workflows-and-k2-do-different-jobs.svx\n\u001efa39fa0919b6498e797807f2e6d74bfc5bb96625\t2026-11-08\t1794171489\t49f800bea3ee8461bc84635c0b6bdf178ec28ce7\tdocs(lore): apply council fixes to the Worker state and Effect pin claims\n\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/durability.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nM\t.brain/resources/lore/workers-answer-requests-durable-objects-own-named-state.svx\n\u001e49f800bea3ee8461bc84635c0b6bdf178ec28ce7\t2026-11-08\t1794171489\t4c424cf4532d10f60aa6c5a9a2ce87747bd01e42\tdocs(lore): trace one Foldkit send from click to capability\n\nA\t.brain/resources/lore/a-browser-send-follows-one-path.svx\n\u001e4c424cf4532d10f60aa6c5a9a2ce87747bd01e42\t2026-11-08\t1794171489\t4f96c986d344d02f9f2274ab89532f97a7730c8f\tdocs(lore): teach Workers and Durable Objects as two homes for state\n\nA\t.brain/resources/lore/workers-answer-requests-durable-objects-own-named-state.svx\n\u001e4f96c986d344d02f9f2274ab89532f97a7730c8f\t2026-11-08\t1794171484\t370c73fcaea9ebe481e34abb201f5fb7bdb7ed16\tdocs(lore): rewrite five learn-path pages to teach from pinned source\n\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/context-and-requirements.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\n\u001e370c73fcaea9ebe481e34abb201f5fb7bdb7ed16\t2026-11-08\t1794171473\t79c1da580adec3c7bb3c5ad722613e84dce0d33f\tdocs(lore): compare Cloudflare Queues, Pipelines, Workflows and K2\n\nM\t.brain/resources/lore/durability.svx\nA\t.brain/resources/lore/queues-pipelines-workflows-and-k2-do-different-jobs.svx\n\u001e919653434305fb9f959cd3320f0a0a4d1552aed1\t2026-11-08\t1794170900\tc5e4fc13d7740952fcb1646b29a5cdd1b43001a8\tcontent(refresh): show a D1 infrastructure Layer at work\n\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\n\u001ec11e2936c0fe50773adc6d090e15cf82f3b04287\t2026-11-08\t1794169672\tc5e4fc13d7740952fcb1646b29a5cdd1b43001a8\tdocs: align public claims and archive superseded plans\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/database.svx\nM\t.brain/areas/durability.svx\nM\t.brain/areas/interest.svx\nD\t.brain/resources/dependency-refresh-2026-10-20.svx\nM\t.brain/resources/lore/double-opt-in.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/same-version-repos.svx\nD\t.brain/resources/xstate-alpha69-migration.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/durability/principles/answer-at-commit.md\nM\tskills/durability/principles/fail-open-on-liveness.md\nM\tskills/durability/references/request-budget.md\nM\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/model-a-protocol/SKILL.md\nM\tskills/uncomplect/SKILL.md\n\u001e40be579bc702f559d3d5332e08109687b6b223eb\t2026-11-08\t1794169475\tc54a01254d04d2b794b3c7d8653872a54f2f42d4\tchore(deps): refresh dependencies with preserved startup and lint fences\n\nM\t.brain/areas/fence.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/ship/references/project.md\n\u001efa99c83b14f4eed439a9896fcd8e0bf79e1e8421\t2026-11-08\t1794168291\t3f3c73de718140e6b7eb397ee51c71c6da065487\tfix(tube): council fixes for checked takes, fence messages and one CSP owner\n\nM\t.brain/areas/tube.svx\n\u001e34e92417692b1430eb47fdee4f315a08ce8c3a5e\t2026-11-08\t1794168291\teb5e4ef0f5f62072df542ee46e59c2a0c5bace15\tfeat(tube): curated, ranked videos for learning the stack at /tube\n\nA\t.brain/areas/tube.svx\n\u001e49268da90c96a976af2ea35519ca33e64419a3ec\t2026-11-08\t1794129251\t2d139ba713fa898ee2d42479d9d3c8e603a5eb8c\tfeat(core): model join intake in TLA+ and add the model-a-protocol skill (#233)\n\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/durability/SKILL.md\nA\tskills/model-a-protocol/SKILL.md\n\u001e4eb39690fbc6588cf1be7071bc34c17969117e3e\t2026-11-07\t1794046288\t89c2c0f3359a04889f799fbdbbd5122520324946\tdocs(lore): apply war stories review fixes\n\nM\t.brain/resources/lore/shitrat-war-stories.svx\n\u001ead976745070bf263effbd6e744d4130850120f95\t2026-11-07\t1794044435\t7511fdd2c7f2fa607cff1a22a1cba6f0bdeb3220\tdocs(lore): tell seven rat-stack war stories\n\nM\t.brain/resources/lore/shitrat-canon.svx\nA\t.brain/resources/lore/shitrat-war-stories.svx\nM\t.brain/resources/lore/shitrat.svx\n\u001e40188fae77e97ca0a99633594a0df38c2e033d78\t2026-11-07\t1794039762\t90a9c56bcd1ec77d564c7f7ecc3b1b26b867f5ff\tdocs(lore): ShitRat bestiary, rituals and the Rat King from the rat's side\n\nA\t.brain/resources/lore/shitrat-bestiary.svx\nA\t.brain/resources/lore/shitrat-rat-king.svx\nA\t.brain/resources/lore/shitrat-rituals.svx\nM\t.brain/resources/lore/shitrat.svx\n\u001e5b80391229e26780708cf2a7130a882086f2e902\t2026-11-06\t1794030606\t67ca7034628780a6526143d34b7d53371b8a357b\tdocs(lore): apply ShitRat lore review fixes\n\nM\t.brain/resources/lore/shitrat-origin.svx\nM\t.brain/resources/lore/shitratgit-bot.svx\n\u001e437218b1f9f1fef953c3a9f20365abf41e79ba51\t2026-11-06\t1794029512\t7570e37828ac6ba3da991a8ddca2f4298dcd5320\tdocs(lore): give ShitRat a house in the wiki\n\nA\t.brain/resources/lore/shitrat-canon.svx\nA\t.brain/resources/lore/shitrat-creed.svx\nA\t.brain/resources/lore/shitrat-origin.svx\nA\t.brain/resources/lore/shitrat.svx\nA\t.brain/resources/lore/shitratgit-bot.svx\n\u001e3ee953070036e13203a4070d079699f4b7180d21\t2026-11-06\t1794021901\t798562b7bf9895013b5f20cc96a68784e1d61190\tdocs: prove package and app removal checklists\n\nM\tREADME.md\n\u001e4e0e086152258ebd82c6b45541bb2067e99653c2\t2026-11-06\t1794018972\t798562b7bf9895013b5f20cc96a68784e1d61190\tfix: report code-mode execution failures through the contract\n\nM\t.brain/areas/capabilities.svx\nM\tskills/ship/references/project.md\n\u001ea23ab72b198c873d171e09447372a631218296c1\t2026-11-06\t1794007476\t61bfa66109e82b4b28776fb5df71c35735ce372c\tlore: Alchemy Domain example and glossary entry\n\nA\t.brain/resources/lore/alchemy-domain.svx\n\u001e1f3d5916681cd32114861cdc0b380f833adb3b7b\t2026-11-06\t1793997596\tcb6a902bd8f600e2a8b7fa91730c3113bfa1bb8f\tchore(xstate): move core and Effect bridge to beta\n\nM\t.brain/areas/fence.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/peers.svx\nM\t.brain/resources/same-version-repos.svx\nM\t.brain/resources/xstate-alpha69-migration.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\nM\tskills/gardener/SKILL.md\n\u001e5424f9df987278e90869abbe5033507a8f5b0bd7\t2026-11-05\t1793907271\t951f589b41926ea993c72f2d4cae5cb9e1747c60\tdocs: teach AT Protocol and refresh Rat King mail\n\nA\t.brain/resources/lore/at-protocol.svx\nM\t.brain/resources/lore/rat-king.svx\nM\t.brain/resources/lore/rats-nest.svx\n\u001e298a5d34587acdde3113f6467e3d0fc6eeb8596a\t2026-11-04\t1793861031\tbfbf6af7d4b2da6002023ffc45ed97b354f69aa3\tfeat: adopt pinned alchemy turbo cache cartridge\n\nM\t.brain/areas/turbo-cache.svx\nM\tAGENTS.md\n\u001eae49e4b48dadbc4df3e5a97b9b790e3d8a7bf4f2\t2026-11-04\t1793858706\tbfbf6af7d4b2da6002023ffc45ed97b354f69aa3\tci: sign Turbo remote cache artifacts\n\nM\t.brain/areas/turbo-cache.svx\n\u001e48d4c3c2f4796a03cb35e8443e37e90821cb88bc\t2026-11-04\t1793851849\t9da1f451db6bdc5e8cf115ff6725e355b18f9999\tci: let main read the Turbo cache\n\nM\t.brain/areas/turbo-cache.svx\n\u001e58d7aac529ec4a681a02ba12b05c28a7bdeb0473\t2026-11-04\t1793851795\t9da1f451db6bdc5e8cf115ff6725e355b18f9999\tfix: retain Turbo handoff credential failure context\n\nM\t.brain/areas/turbo-cache.svx\n\u001e6642bdee73f8be5c533ff3b121a5bf184f60f25b\t2026-11-04\t1793846241\t6882060a6d1d036923eebd9c7bab26f4f5a9bd03\tci: choose two tasks from runner-shaped measurements\n\nM\t.brain/resources/ci-audit-2026-11-05.svx\n\u001ef4c93a79953bac0ba6fc2cf03f0da29ea6a50e03\t2026-11-04\t1793846124\t52bf4d6809fca811bb627c2c24f5ed6c28f7d730\tfeat: add authenticated Turbo remote cache cartridge\n\nA\t.brain/areas/turbo-cache.svx\nM\tAGENTS.md\n\u001e5ddc8a7a0ea17c4e9de654737fb6ce349da981c8\t2026-11-04\t1793845596\t52bf4d6809fca811bb627c2c24f5ed6c28f7d730\tfeat: vendor Cloudflare security audit skill\n\nM\tskills/rat-stack-mode/SKILL.md\nA\tskills/security-audit/AI-AND-LLM.md\nA\tskills/security-audit/ATTACK-CLASSES.md\nA\tskills/security-audit/CLIENT-SIDE.md\nA\tskills/security-audit/CLOUD-AND-DEPLOYMENT.md\nA\tskills/security-audit/DATA-ISOLATION-AND-LIFECYCLE.md\nA\tskills/security-audit/DESKTOP-MOBILE-AND-LOCAL-IPC.md\nA\tskills/security-audit/HUNTING.md\nA\tskills/security-audit/LICENSE\nA\tskills/security-audit/MEMORY-SAFETY-AND-BINARY.md\nA\tskills/security-audit/PROTOCOLS-RPC-AND-MESSAGING.md\nA\tskills/security-audit/RAT-STACK.md\nA\tskills/security-audit/RECONNAISSANCE.md\nA\tskills/security-audit/RESOURCE-EXHAUSTION-AND-AVAILABILITY.md\nA\tskills/security-audit/SKILL.md\nA\tskills/security-audit/SUPPLY-CHAIN-AND-RELEASE.md\nA\tskills/security-audit/UPSTREAM.md\nA\tskills/security-audit/VALIDATION-AND-REPORTING.md\nA\tskills/security-audit/WEB-PROTOCOL-AND-AUTH.md\nA\tskills/security-audit/report-schema.json\nA\tskills/security-audit/validate-coverage-ledger.cjs\nA\tskills/security-audit/validate-coverage-ledger.test.cjs\nA\tskills/security-audit/validate-findings.cjs\nA\tskills/security-audit/validate-findings.test.cjs\n\u001e369e74d7813f7d18e11506f81df0282d4d31e213\t2026-11-04\t1793839700\t52bf4d6809fca811bb627c2c24f5ed6c28f7d730\tci: overlap full gate tasks and cancel superseded PR runs\n\nA\t.brain/resources/ci-audit-2026-11-05.svx\n\u001e0b9abbf048635ef27dec75b126a25e0528ca6f7b\t2026-11-04\t1793828889\tae24f6ab595ed77a4f8e76841399f15c5ad3ad65\tfeat: isolate the Tokenmaxx workshop pipe in its own Worker\n\nM\tAGENTS.md\n\u001e83069f319441be242a158d0af0add3c40e88a82f\t2026-11-04\t1793822708\t93da63885b28bd39e0e1dfc71705c4aa933653e1\tfix: keep All Stars bios neutral and CAFE-specific\n\nM\t.brain/areas/all-stars.svx\n\u001eed9da9ebea273085cdf7265e0bf9ef984f8c8515\t2026-11-04\t1793820188\t2a22d184d5578b79b0cf5852eea37ca1302ed380\tfeat: widen All Stars entry and add 38 sourced profiles\n\nM\t.brain/areas/all-stars.svx\n\u001e6366b4e128e9e980d8e6b1f48085f41e9ca6edd2\t2026-11-03\t1793767199\t11e6c74bde342e94ab924357b8b125e21a6974ce\tfeat(deploy): report healthy at version confirmation; watch after, build once\n\nM\tskills/ship/SKILL.md\nM\tskills/ship/references/project.md\n\u001e7924e19e41edb13d0a27a6ea943be48016564e2e\t2026-11-03\t1793679840\t0188cb8d1d3cae5e09c4923bd8494f36eb16464f\tchore: mark .brain as public content for the ShitRat public-push guard\n\nM\tAGENTS.md\n\u001ed13054d22dfeb17af10d85e849e8b8e17f049a83\t2026-11-02\t1793675987\t30cf1712cb366afaba1fdb522b9e8aef7ca086c7\tcontent: typecheck every published TypeScript fence in pnpm check\n\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/ui-behaviour-is-a-scene.svx\nM\tskills/add-a-capability/SKILL.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e67d126f38d6dcfe92487174e5e7f2ea2920d24b9\t2026-11-02\t1793674530\t5fa5df1543b8122a678722d5465ae65fc8a4bf2d\tfeat(web): add the /systems/motion page with a live motion demo\n\nA\t.brain/areas/motion.svx\n\u001e72ded73e022a6787794366198260055408489c19\t2026-11-02\t1793673548\t81a12c4b86cd65bf86e4bdba98eda122d0133844\tfence: every fence message names what, why, and the fix\n\nM\tAGENTS.md\n\u001e5fa5df1543b8122a678722d5465ae65fc8a4bf2d\t2026-11-02\t1793673230\t81a12c4b86cd65bf86e4bdba98eda122d0133844\tfeat(motion): add @rat-stack/motion easing, tweens, springs and a Foldkit adapter\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ea1b54d5920ec137390632376084ce172b930994a\t2026-11-02\t1793666085\t232a4c528c876bb4a069a76fa449199356255095\tfeat(all-stars): agent-readable proof, the full entry set and the entry rule\n\nM\t.brain/areas/all-stars.svx\n\u001e66ea76bbe24be8f0c343ab8bb9a8e876ef5b1227\t2026-11-02\t1793663333\t2623f8fd0192fa1e4d0462f27bde8f4e9341cdf4\tchore(deps): bump xstate 6.0.0-alpha.73, @xstate/effect 1.0.0-alpha.12\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e2623f8fd0192fa1e4d0462f27bde8f4e9341cdf4\t2026-11-02\t1793663333\td1c6dc0039162832db667e508bf51c12478c7f47\tchore(deps): bump Effect 4.1.2, Alchemy beta.85, Foldkit 0.170.0\n\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/ship/references/project.md\n\u001e154e89e5f1c6cd9fc0adb98bc8ff69446c103edc\t2026-11-02\t1793661076\td403594079c722aa599c8f2d1b7a3f5bc244f7e5\tfeat(infra): move rat-stack to its own Alchemy state store\n\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/ship/references/project.md\n\u001effd123336d7c890915fd83ce21e976c2807083bf\t2026-11-02\t1793647086\t4a653d322bf8637c6e6ff3fc71c085b91c01ee26\tfeat(all-stars): CAFE people and channels as capabilities and pages\n\nA\t.brain/areas/all-stars.svx\n\u001e7ff40bf486bad6b2036ace19944a73bd76fddd67\t2026-11-02\t1793644509\t4a653d322bf8637c6e6ff3fc71c085b91c01ee26\tfeat: surface latest CAFE news in site navigation and chrome\n\nM\tAGENTS.md\n\u001e3e565e4d874f10adb491b15b89f730064c785368\t2026-11-01\t1793552714\t19b1c94bcc12f794f3fbe46c54e32ea830b743f5\tlint: every disable directive carries its reason (contest)\n\nM\tAGENTS.md\n\u001ed82837c3edafb28a0d2b616132bff07c62c5ccd2\t2026-10-29\t1793311021\t93d3464e912081758eaf4b9e5e61212a2a10fc1d\tchore: bump XState alpha.71 and Effect bridge alpha.10\n\nM\t.brain/resources/xstate-alpha69-migration.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e6e629ae9f664ebe39afd5230620906b0aea9d9a0\t2026-10-29\t1793300524\td9dc03ebef2eb4647938d1966c5a1fc23f6cc98a\tchore(deps): effect-tsrs 0.2.3; docs name tsrs 0.20.1\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e24706e342eb65ccfa6da07499fa083d1099a0906\t2026-10-28\t1793213999\t82737fe6848fa3c95e6887bcb10a52bc28f0e8f0\tchore(deps): bump the Effect family to 4.0.7\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e1cb404b5d881cb798639cdd650a98b29d3870d7d\t2026-10-27\t1793140611\t2d6624a8a9171bd1c2b2d987e45b642f16355e39\tdocs(learn): teach branded Schema classes and errors\n\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\n\u001ec3ff8a9968924409bf73730444c463d5c1603e0f\t2026-10-27\t1793090902\td0c669ba9967d21309d38bec922f05b08c3080f0\tdocs: keep regular peer refresh as a non-blocking alarm\n\nM\tAGENTS.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\n\u001e49994c965eff3abb6d4d11a796781256764c3136\t2026-10-27\t1793090014\ta5ebc6566091d12546063faa9784d2e2531f36d4\tdocs: subtract stale and duplicated agent rules\n\nM\t.brain/resources/same-version-repos.svx\nM\tAGENTS.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/ship/references/project.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001ec9e8a1e2fbc4cc8a1118a8e7c2daae9bf8b44471\t2026-10-27\t1793085019\t27c1cb3b65ae3da6bf7b3b8c43e942d26c308962\tdocs: refresh weekly peer versions and source-backed tiers\n\nM\t.brain/resources/same-version-repos.svx\n\u001eb794da081c3a399dbce2132f358228078de62e24\t2026-10-26\t1793059967\tcda1acdc493efd7161336d34b13141c92d46d865\tdocs: align model guidance with inspection excerpt\n\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\n\u001e701becd5ab4150903f4d941c307945b5f53aedb6\t2026-10-26\t1793059114\tf1e24f7ee9f9b5f4a06574cb8c1646de001e4a3f\tdocs: decouple teaching excerpts from events cartridge\n\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\tREADME.md\nM\tskills/test-behaviour/SKILL.md\n\u001e425d96c27c79bcc1b7b426e7a149beeb3b0e591b\t2026-10-26\t1793048898\td5a117eb6217278a0003befa7a5c3fa78d62429b\trefactor: name the off composition in core and document cartridge removal\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ed5a117eb6217278a0003befa7a5c3fa78d62429b\t2026-10-26\t1793048223\tcaabc4420a2e94f8183be6eb09f37a8e881dd179\trefactor: make the events cartridge removable behind core ports\n\nM\t.brain/areas/analytics.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/ship/references/project.md\n\u001e9cc65691e07474cbf0eead806c97188e2e58a3f7\t2026-10-26\t1793032030\tfd7bb928a400bc12ada2311957caafbff101d1f4\tfix: budget Worker static startup sets instead of entries\n\nM\tAGENTS.md\n\u001e2e9440e9d878ffd1a0e8d53ab037d334d1ca8c6b\t2026-10-26\t1793019680\t6dbafbc32fd5985ee14d0d74152027d63757a076\tchore: align tsrs checker pins and preserve combined diagnostics\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e1249a2cfec15cd63c667e3683bc158f3bb528f2b\t2026-10-25\t1792965722\tfc1e1598d45e6d0a25435ae4aef1b57008879f99\tfeat: alchemy beta.84, effect 4.0.6, foldkit vite-plugin patch\n\nM\t.brain/areas/web.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001eb94d24563e49b9a3958c5049488366f679d0d8fc\t2026-10-25\t1792964160\t1c07bf0f53238a0d9916d91a329a4d84a3cccb7a\tfeat(web): foldkit 0.169 SSR and prerender by default\n\nA\t.brain/areas/web.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e777b9ba30ebf9c4cdedc436e3abbb86d12f95003\t2026-10-24\t1792887862\te50bd5bb12b2819eefcb38d9f7d8c8d3501d288c\tfix(flags): refuse non-atomic KV authority by default\n\nM\t.brain/areas/flags.svx\nM\t.brain/resources/lore/flags-climb-on-evidence.svx\nM\tskills/add-a-feature-flag/SKILL.md\nM\tskills/durability/principles/climb-flags-with-a-ledger.md\n\u001ed438f7853d6c6de9a14ea701e178ec9d0f18feb9\t2026-10-24\t1792866544\tce7900b78920a092b75259bdabd02096c162dc99\tdocs: teach list onboarding with typed policy and stop safety\n\nA\tskills/onboard-a-list/SKILL.md\nA\tskills/onboard-a-list/references/contracts.md\nA\tskills/onboard-a-list/references/verification.md\nA\tskills/onboard-a-list/references/worked-example.md\nM\tskills/rat-stack-mode/SKILL.md\n\u001e9bb993d3b20ad971888fa21c6e43600e1c5eeec2\t2026-10-24\t1792865076\tee49ba0660222833c5fdf0127443735f6adeba6f\tdocs: publish durability skill tables as labeled lists\n\nM\tskills/durability/SKILL.md\n\u001e21f06e4d612e9a2620b76f2e8ec7db87849f4247\t2026-10-24\t1792858013\t2060644b2449d6a7332776f8b572fdaf7c5e0df9\tdocs: align checker backstop guidance with tsgo 0.55\n\nM\t.brain/areas/fence.svx\nM\tREADME.md\n\u001ec525d23587790e57a6a482231f4278b44d1678fc\t2026-10-24\t1792856334\t2fcf7996a7a536cda50f6944c71b0cc797676757\tfix(site): replace published Markdown tables with lists and fence reader output\n\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/learn.svx\nM\t.brain/resources/effect-4-reference-projects.svx\nM\t.brain/resources/lint-rule-limits.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/cafe-stack.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/run-effect-at-the-boundary.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/trace-meaningful-operations.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\nM\t.brain/resources/peers.svx\nM\t.brain/resources/schema-projections-and-code-mode.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/learn/SKILL.md\nM\tskills/query-design/SKILL.md\nM\tskills/ship/SKILL.md\nM\tskills/uncomplect/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e3ae5611eeab38167d8e5057bf1adf2c7dc92799a\t2026-10-24\t1792855702\t2fcf7996a7a536cda50f6944c71b0cc797676757\tchore: drop the patched tsc backstop from CI\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e7ca330d548589a3499fa0178f146f59d618d7645\t2026-10-24\t1792851786\ta230e14683812ef9a220f8d11be393a24192dd50\tfeat: run strict Effect diagnostics with effect-tsrs\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e39d3e13d9b76e2bc9a40e78740d82ef2b7f6d1fd\t2026-10-23\t1792817298\t87dea7125b103f0962ca7922cccf71e81e044bec\tfeat: add tsrs fast typechecks with compiler parity CI\n\nM\t.brain/areas/fence.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ef023d0d4165e1d4d980705c6e19c21403d432d96\t2026-10-23\t1792788714\tf294f950ebbd3911ac5a8ffea30e1ac87cd26be9\tdocs(flags): teach scoped evidence and durable rollout receipts\n\nM\t.brain/areas/flags.svx\nA\t.brain/resources/lore/flags-climb-on-evidence.svx\nM\tAGENTS.md\nA\tskills/add-a-feature-flag/SKILL.md\n\u001eb482a31f3690d52c21861391d9d5fa8e3d8cd7a3\t2026-10-23\t1792781593\t591e51671afc0aaa9381e61ff1c616371cf7ebae\tdocs: worker autonomy ladder and own-your-wait principle\n\nM\tAGENTS.md\nM\tVISION.md\nM\tskills/rat-stack-mode/SKILL.md\nA\tskills/rat-stack-mode/principles/own-your-wait.md\n\u001e74c493aa0a38f0015af33079fc92fb066e71af80\t2026-10-23\t1792780886\t58dc623195d25281ff94d964a4bccd032765ab54\tdocs(skills): link the durability hub to its lore pages\n\nM\tskills/durability/SKILL.md\n\u001e58dc623195d25281ff94d964a4bccd032765ab54\t2026-10-23\t1792780886\td3bc5b57e09adda8e75df98d263774ff5a1f39f1\tdocs(lore): land the durability wiki pages and bibliography\n\nA\t.brain/resources/lore/admission-controls-new-work.svx\nA\t.brain/resources/lore/backpressure-reaches-the-producer.svx\nA\t.brain/resources/lore/bulkheads-isolate-capacity.svx\nA\t.brain/resources/lore/checkpoints-follow-commits.svx\nA\t.brain/resources/lore/circuit-breakers-have-state.svx\nA\t.brain/resources/lore/cleanup-can-be-an-idempotent-postcondition.svx\nM\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nA\t.brain/resources/lore/dead-letters-need-a-return-path.svx\nA\t.brain/resources/lore/durability-bibliography.svx\nA\t.brain/resources/lore/durability.svx\nA\t.brain/resources/lore/durable-timers-need-recovery.svx\nA\t.brain/resources/lore/durable-work-needs-storage.svx\nA\t.brain/resources/lore/effect-is-not-beam.svx\nM\t.brain/resources/lore/error-model.svx\nA\t.brain/resources/lore/every-task-needs-an-owner.svx\nA\t.brain/resources/lore/failures-keep-their-meaning.svx\nA\t.brain/resources/lore/golden-signals-expose-overload.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/model-based-testing.svx\nA\t.brain/resources/lore/old-events-must-still-decode.svx\nA\t.brain/resources/lore/pure-cores-reduce-timelines.svx\nA\t.brain/resources/lore/queries-need-result-bounds.svx\nA\t.brain/resources/lore/recovery-needs-model-tests.svx\nA\t.brain/resources/lore/replay-needs-stable-inputs.svx\nA\t.brain/resources/lore/request-lifetime-is-not-durability.svx\nA\t.brain/resources/lore/restart-from-known-state.svx\nA\t.brain/resources/lore/retry-load-needs-a-budget.svx\nA\t.brain/resources/lore/retry-needs-idempotency.svx\nA\t.brain/resources/lore/schema-changes-need-a-transition.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nA\t.brain/resources/lore/steady-state-recycles-resources.svx\nA\t.brain/resources/lore/supervision-is-a-recovery-policy.svx\nA\t.brain/resources/lore/timeouts-bound-waiting.svx\n\u001e9b233dbab13ac5fe69349b46961eecbb5781487a\t2026-10-23\t1792780184\t83ffd1d4f5575fae60bd8450200119d6adb1899c\tdocs(durability): merge Switchboard's research into the skill\n\nM\t.brain/areas/durability.svx\nM\t.brain/areas/interest.svx\nM\tskills/durability/SKILL.md\nM\tskills/durability/principles/answer-at-commit.md\nA\tskills/durability/principles/bound-in-flight-work-with-keys.md\nD\tskills/durability/principles/bound-in-flight-work.md\nM\tskills/durability/principles/climb-flags-with-a-ledger.md\nM\tskills/durability/principles/fail-open-on-liveness.md\nM\tskills/durability/principles/lease-connections-per-query.md\nM\tskills/durability/principles/one-timeout-at-the-boundary.md\nM\tskills/durability/principles/scope-waiters-to-the-request.md\nA\tskills/durability/references/bibliography.md\nA\tskills/durability/references/effect-map.md\nA\tskills/durability/references/request-budget.md\nM\tskills/rat-stack-mode/SKILL.md\nD\tskills/rat-stack-mode/principles/answer-at-commit.md\nD\tskills/rat-stack-mode/principles/bound-in-flight-work-with-keys.md\n\u001eb93dadfb189b4b408fedf0a3429dd59e967ed511\t2026-10-23\t1792777766\tae94220706948df8f41fd3b0eec22c191fb28946\tfeat: durable by default — seven patterns, real seams, planted-bug fences\n\nM\t.brain/areas/database.svx\nA\t.brain/areas/durability.svx\nM\t.brain/areas/interest.svx\nM\tskills/add-a-lifecycle-machine/SKILL.md\nA\tskills/durability/SKILL.md\nA\tskills/durability/principles/answer-at-commit.md\nA\tskills/durability/principles/bound-in-flight-work.md\nA\tskills/durability/principles/climb-flags-with-a-ledger.md\nA\tskills/durability/principles/fail-open-on-liveness.md\nA\tskills/durability/principles/lease-connections-per-query.md\nA\tskills/durability/principles/one-timeout-at-the-boundary.md\nA\tskills/durability/principles/scope-waiters-to-the-request.md\nM\tskills/investigate-a-failure/SKILL.md\nM\tskills/rat-stack-mode/SKILL.md\nM\tskills/uncomplect/SKILL.md\n\u001e3a03db7aee7bd39a47d77945f2a559046731bc53\t2026-10-23\t1792776684\t87dea7125b103f0962ca7922cccf71e81e044bec\tfeat: fence shared waiters and document durable dispatch\n\nM\tskills/rat-stack-mode/SKILL.md\nA\tskills/rat-stack-mode/principles/answer-at-commit.md\nA\tskills/rat-stack-mode/principles/bound-in-flight-work-with-keys.md\n\u001ef3fde8f407f6cdc059e80c5430623df39eb3f93f\t2026-10-22\t1792721185\t2bbc6b8bbc61dbc6f34d9e87ed650d939a87c4e1\tfix(events): rotate the IP hash with the day in daily mode\n\nM\t.brain/areas/analytics.svx\n\u001ea51f61d45c74d42dc875a8544d7ac8eeee2f4168\t2026-10-20\t1792565456\tf202018d373fa001ecad99333ac230d0ed0b8b6e\tchore: bump @effect/tsgo to 0.55.0 (adds opt-in preferEffectString, off by default; severity map unchanged)\n\nM\tAGENTS.md\n\u001e72bffab93cff3aff8b8bfa8e6f8a6dfc497d49f0\t2026-10-20\t1792488867\t4eb8bdd6a0f435070ebf2fd9bfe971fbc0e13c7d\tdocs: mark alpha.69 pins historical and scope the better-auth schema proof\n\nM\t.brain/resources/dependency-refresh-2026-10-20.svx\nM\t.brain/resources/xstate-alpha69-migration.svx\n\u001eaf78879c5cb60022c97d01bee0be37cb20432f0f\t2026-10-20\t1792486708\tb45eb3e613ff5a5554ddccc82977efba5491db28\tchore(gardener): refresh public peers after XState alpha.70\n\nM\t.brain/resources/same-version-repos.svx\n\u001eb45eb3e613ff5a5554ddccc82977efba5491db28\t2026-10-20\t1792486156\t63f6a9f883b03a46e0ade9413b7d14d6a6234751\tchore(deps): bump XState alpha.70 and Effect bridge alpha.9\n\nM\t.brain/resources/xstate-alpha69-migration.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e8141d8284d566f1f1060ef72fe933dac715460ec\t2026-10-20\t1792482631\t16db4de8b861c1fd0414b27481294a52769eef9c\tfix(auth): upgrade Better Auth with unchanged database schemas\n\nM\t.brain/resources/dependency-refresh-2026-10-20.svx\n\u001ed27fa59e31eae02732742c94712cd29dc31b5f98\t2026-10-19\t1792476829\t9980fa0889ab050e32858a23b170f156b672afd2\tdocs(deps): record refresh decisions and current pins\n\nA\t.brain/resources/dependency-refresh-2026-10-20.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ee5c30770efa517b5587ad3b10d3b89235dbcbd1e\t2026-10-18\t1792349338\tb4d6b8f499e57bc76914ad70df3a0c99751ae28c\tdocs: refresh XState excerpts and peer evidence\n\nM\t.brain/areas/learn.svx\nM\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\t.brain/resources/lore/run-effect-at-the-boundary.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/same-version-repos.svx\nM\tskills/learn-rat-stack/SKILL.md\n\u001ed4b7bd0d9d2db4906ee7e8133eeca99932d65a0b\t2026-10-18\t1792344921\tc8fa9e84a1cec1d22642f16271c55ba48e8e3663\tchore: bump XState and rename Effect logic constructors\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nA\t.brain/resources/xstate-alpha69-migration.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\nM\tskills/uncomplect/SKILL.md\n\u001e2de83a8088974534faf48fcc47448dea181f3779\t2026-10-14\t1791989109\t40435cb6df0fef65d795266d4856ede0abb8cf02\tchore: bump oxlint and @oxlint/plugins to 1.88.0, varlock to 1.23.0\n\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/ship/references/project.md\n\u001e481ab831536c53de48879e2c9f44f92921f8e29c\t2026-10-12\t1791873336\t8b2016dda104f03f8ab66cc1c40704c2df0ea045\tdocs: add shared query design skill\n\nA\tskills/query-design/SKILL.md\n\u001e2c5b496aced6928b47e3da9580a891e87e9f093e\t2026-10-12\t1791854541\t907e6364fd0fba964c39278eeec00033f3b20be4\tdeps: alchemy 2.0.0-beta.83\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e4533d331f1adb72c2c81af4ee7be5e59e3ace742\t2026-10-12\t1791837475\te6c2bcbaeed99e56cc795187009a1b1714dc2966\tfeat: log one path-only request line per Mischief request and joinInterest outcome\n\nM\t.brain/areas/analytics.svx\n\u001e8fa3c6d248baae31a970e38bae18ceab34092a63\t2026-10-12\t1791818203\t02bd473855d5d6b909cebcb9a8fc9c06ccbb6328\tfix: answer honestly on intake rate limits and scorer outages\n\nM\t.brain/areas/interest.svx\n\u001e02bd473855d5d6b909cebcb9a8fc9c06ccbb6328\t2026-10-12\t1791816995\t52525c0a4bc454e55299f31a39ebaadf2133feef\tfeat: redeliver ready applications on the private operator surface\n\nM\t.brain/areas/interest.svx\n\u001e11edf671c7f4ba7d38f70279a4e9211b7c2db9e6\t2026-10-11\t1791743637\tb1f5d7c81caeeaab4ffb09bcfd1786c4b8a5af4e\tfeat(flags): add KV reads and approval-gated audited writes\n\nM\t.brain/areas/flags.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ec7848fe81974a49bf3360ba265b5ad2625f9f9b0\t2026-10-11\t1791737964\t1ae8bff5e6403daaf12b32c2b8d6d2fe2c0ef86a\tfeat(lore): explain infrastructure joins with responsive grounded art\n\nM\t.brain/resources/lore/infrastructure-as-effects.svx\n\u001eebc3d1428e736c3e622d6c08a1c7579e9381ea1c\t2026-10-10\t1791687396\t075b3ab11d430e2e9a06a29795ed9b324d672c1c\tchore: rename the smoke script to site:smoke\n\nM\tAGENTS.md\nM\tskills/ship/references/project.md\n\u001e978dccc9c1cb017225d073d0c0a50c645c2c17c7\t2026-10-10\t1791675506\t246600bd53978883a6a4c1f5a6ff45e3f1ff2f0c\tdocs: point live docs, skills and Brain pages at apps/site\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/flags.svx\nM\t.brain/areas/interest.svx\nM\t.brain/areas/learn.svx\nM\t.brain/resources/intake-application-reader.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nM\t.brain/resources/lore/cafe-stack.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/double-opt-in.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nM\t.brain/resources/lore/mcp-is-another-surface.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\t.brain/resources/lore/one-snippet-model-two-renderers.svx\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\nM\tskills/gardener/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/rat-stack-mode/principles/design-serves-function.md\nM\tskills/rat-stack-mode/principles/make-review-views-complete.md\nM\tskills/rat-stack-mode/principles/name-the-system-of-record.md\nM\tskills/rat-stack-mode/principles/one-writer-per-partition.md\nM\tskills/rat-stack-mode/principles/prove-the-recipient-path.md\nM\tskills/rat-stack-mode/principles/scope-private-data.md\nM\tskills/rat-stack-mode/principles/use-plain-language.md\nM\tskills/rat-stack-mode/principles/use-real-provider-guarantees.md\nM\tskills/ship/references/project.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e246600bd53978883a6a4c1f5a6ff45e3f1ff2f0c\t2026-10-10\t1791675270\tecdea9e7f21947f8322d0cf051758f17b605fa64\trefactor: move apps/mischief to apps/site (@rat-stack/site)\n\nM\t.brain/resources/lore/effect-basics.svx\n\u001ed06fa12906f702210a4269f45050257b43369e0e\t2026-10-10\t1791670048\t276530472695402e3d7afafc3209fa749249f781\tfeat: add typed flags cartridge with removable adapters\n\nA\t.brain/areas/flags.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e237eb0c5c0a4cfc874a7a85c7eb98841262aa5a1\t2026-10-10\t1791663260\t7dbad66e6f31c770b666829fa76078acb707acc0\tdocs(learn): suggest skills in session, never install them\n\nM\t.brain/resources/learn-mode.svx\nM\tskills/learn/SKILL.md\n\u001e0d43dfca9e803e41dd3e5888c96162ba6d74afd6\t2026-10-10\t1791654512\t3912ef6550676cab759f9792157a2460021589dc\tdocs(skills): add investigate-a-failure and rebuild what you run\n\nA\tskills/investigate-a-failure/SKILL.md\nM\tskills/rat-stack-mode/SKILL.md\nM\tskills/rat-stack-mode/principles/find-the-cause-first.md\nA\tskills/rat-stack-mode/principles/rebuild-what-you-run.md\n\u001e05640b640b1b153a016ea0c0791ae899b1631082\t2026-10-10\t1791646068\t3ac158676105f728a54ec0cd968db3b762f7c805\tdocs(analytics): say what a delete does and does not erase in Basin\n\nM\t.brain/areas/analytics.svx\n\u001e3a441c6142e6241fd554f2929a897fef0def2561\t2026-10-10\t1791640458\t7fe7a0036956522325e6b2d49f420a94bf178dee\tchore(deps): bump vitest to 5.0.3 to stop the forks pool leaking ssr temp dirs\n\nM\tREADME.md\n\u001ec67617b222707d15e0b70484c5a55ae7bebfd534\t2026-10-10\t1791622557\t1f6b2cf1cfd52fe303d9e97c2e45f50420b115f0\tfeat(web): mount the docs browser at /search\n\nM\tAGENTS.md\n\u001e31071090ebeab509843322d45aa07de0fe5c4374\t2026-10-09\t1791613722\tc893d6cd4a74a42cb4b7790b36d4709796fe008f\tdocs(skills): add test-behaviour skill and the UI behaviour is a scene lore page\n\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nA\t.brain/resources/lore/ui-behaviour-is-a-scene.svx\nA\tskills/test-behaviour/SKILL.md\n\u001e3bab7b323c3e0af8d266caca4f72006464f5894e\t2026-10-09\t1791587561\tbe121c4f8c161cee6a14292cdb1ab909c28bb165\tchore(peers): refresh stack sources and compatibility notes\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\t.brain/resources/same-version-repos.svx\nM\tAGENTS.md\n\u001ebe121c4f8c161cee6a14292cdb1ab909c28bb165\t2026-10-09\t1791587561\t1016de59eb033397df222c84b6386d7bb340d96f\tchore(deps): update tsgo to 0.51.1 with a tighter API fence\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e1016de59eb033397df222c84b6386d7bb340d96f\t2026-10-09\t1791587561\tc30e74e988855d36654027de7db069c2f3059bf2\tchore(deps): update XState alpha.65 and Effect bridge alpha.7\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ec30e74e988855d36654027de7db069c2f3059bf2\t2026-10-09\t1791587561\t7d44c4264f49b487c78dfb93b2a5ddd8542be5e7\tchore(deps): update Alchemy to 2.0.0-beta.81\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e99d1360c0398da175af5d166a33455ccf0f630a7\t2026-10-09\t1791580765\t2b8330ebacd0ab2d388f9edb8d6687fe064085ff\tfix(deploy): qualify execute diagnostics instead of legacy error bodies\n\nM\t.brain/areas/capabilities.svx\nM\tskills/ship/references/project.md\n\u001e68cf4ded8035844a05fc9c867e48b6c7ab27a5a9\t2026-10-09\t1791577974\tfef01677a0125769ec0d74912607d08fe6535274\tdocs(capability): explain code-mode discovery diagnostics and limits\n\nM\t.brain/areas/capabilities.svx\n\u001e1bc586c4fb30297de91adad3f514e0c64dd9bf89\t2026-10-09\t1791570516\t949bd56d1d2e6904379383bb719aae54c39921be\tchore: refresh source snapshot after the profile-a-worker skill\n\nA\tskills/profile-a-worker/SKILL.md\n\u001e5204f68d3e5362b37e0f956346a981c6e1db8b94\t2026-10-09\t1791568289\td202ff2e3c56d85237a67011203a5ecbe7a940b7\tfix(cafe): validate approved rows before deduplication\n\nM\t.brain/resources/lore/cafe-stack.svx\n\u001e4b5118d50bf7f01bcfb7feb907b8388970d6b237\t2026-10-09\t1791561822\t580e1e5d93d320525945b575330bee9259de348b\tchore(web): delete the Worker entry production never runs\n\nM\tAGENTS.md\n\u001ec75ef6bc3fe8a332bc4c5e18a7c1bee05c1fd94f\t2026-10-09\t1791560756\tc0687be1460fc70214ea1fc39f3207d17c4641cb\tdocs: describe the real Foldkit client path, not AtomRpc\n\nM\tAGENTS.md\n\u001e799e8fa31912f0b19888527d8e4ebdc0b98cff01\t2026-10-09\t1791559039\t04ef9b1afcf22c254a70f27edac80eda383c065c\tdocs(lore): drop an unverified profile link from the CAFE page\n\nM\t.brain/resources/lore/cafe-stack.svx\n\u001e04ef9b1afcf22c254a70f27edac80eda383c065c\t2026-10-09\t1791557489\t42ab7e2707ae66d7d8a4486d59c3a9cd9591d973\tdocs(lore): credit the people behind the CAFE name\n\nM\t.brain/resources/lore/cafe-stack.svx\n\u001e42ab7e2707ae66d7d8a4486d59c3a9cd9591d973\t2026-10-09\t1791556992\t3fb103b2c6fdeba9460d387827f9d4fd1525d9cc\tdocs(lore): add CAFE stack page\n\nA\t.brain/resources/lore/cafe-stack.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/sam-goodwin.svx\n\u001e29ccee33f73f96c78c52474c2964465b49b4d3f3\t2026-10-08\t1791527168\t166091e48e20da746bc006f242c3d7743a177f34\tfeat: add opt-in request-scoped native tracing with privacy proofs\n\nM\t.brain/resources/lore/trace-meaningful-operations.svx\n\u001ead718e1322b2a26dd423f12013ca85f86baaa903\t2026-10-08\t1791503888\te2616fb88e6c56c433d295ee90ac75289d5e0704\tfeat: fence shared pending caches and teach request lifetimes\n\nA\t.brain/resources/lore/cache-completed-values.svx\n\u001e006e970e82353cecdfa2e16b050501959ff1193c\t2026-10-08\t1791443861\tc6afd0c6005ee6e0210796ccdeb1e07dc97519ef\tfix(deploy): retain redacted Cloudflare upload failures\n\nM\tskills/ship/references/project.md\n\u001e18d49219cac569ae4d56136b6260ebd8e279d69e\t2026-10-07\t1791437287\t6b927cb02cc5cf091d91dce47a53dd0d8a3628d5\tfix(mischief): cache completed content without shared request I/O\n\nM\t.brain/areas/agent-front-door.svx\n\u001e6165e780d4b3733e1b81ef94bd81bbec5538bac6\t2026-10-07\t1791434618\t9989f01626fe4b655ba6aa964c763d28708a919a\tfeat(mischief): isolate phone-approved feedback auth in a private Worker\n\nM\t.brain/areas/auth.svx\nM\t.brain/areas/learn.svx\nM\tskills/learn/SKILL.md\n\u001eff950ff803cabb4729c36e47b4b6bfe0684d4cb7\t2026-10-07\t1791434106\td9d2032e0e29582100346628066c2f7b9b833fbc\tfix(events): preserve sanitized crash diagnostics\n\nM\t.brain/areas/analytics.svx\n\u001ec602d6f077522995596f56765207a72536e88a43\t2026-10-07\t1791430224\t7bc3aa3e7d0ac62b9dafb6b23080b1f2b4dc7f15\tfix(mischief): register native tail capture listener\n\nM\t.brain/areas/analytics.svx\n\u001e71db3793b8d1d8bf48c770343e1b283365262a05\t2026-10-07\t1791429484\te77d52988633de013f654dcad7bd46ec2833b491\tfix(lore): re-pin the CLI failure excerpt and link glossary first uses\n\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/services-capture-dependencies.svx\nM\tskills/add-a-capability/SKILL.md\n\u001ef77853d42e2561d5c2c37e0f6ba46c5a2e6a2bf2\t2026-10-07\t1791428392\tf272f714b721a7eed53dc5dbde68c69a012f261b\tfeat(learn): teach cards 83 to 111 and finish the deck's plain lines\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/database.svx\nM\t.brain/areas/devtools.svx\nM\t.brain/areas/fence.svx\nM\t.brain/areas/interest.svx\nM\t.brain/areas/learn.svx\nM\t.brain/areas/prompts.svx\nM\t.brain/resources/lore/trace-meaningful-operations.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\nM\t.brain/resources/lore/visakan-veerasamy.svx\nM\t.brain/resources/lore/why-javascript-is-broken-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/ziverge-de-goes-arnaldi-typescript-for-scala-devs.svx\nM\tskills/add-a-capability/SKILL.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/add-a-store/SKILL.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\nM\tskills/learn/SKILL.md\nM\tskills/rat-stack-mode/SKILL.md\nM\tskills/ship/SKILL.md\nM\tskills/uncomplect/SKILL.md\nM\tskills/use-a-prompt/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e4040f6770de4dcbbb1491b4a635600b5238807d1\t2026-10-07\t1791427014\t53dc3f265306a1270d2e65f2dc7f5b560a2ae1ef\tfeat(learn): teach cards 63 to 82 with plain lines, diagrams and snippets\n\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\t.brain/resources/lore/one-snippet-model-two-renderers.svx\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nM\t.brain/resources/lore/pinned-sources-can-report-drift.svx\nM\t.brain/resources/lore/plan-model.svx\nM\t.brain/resources/lore/poteto-lauren-tan-2500-prs-dune.svx\nM\t.brain/resources/lore/production-grade-typescript.svx\nM\t.brain/resources/lore/property-based-testing.svx\nM\t.brain/resources/lore/run-effect-at-the-boundary.svx\nM\t.brain/resources/lore/sam-goodwin.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/lore/the-fence.svx\nM\t.brain/resources/lore/theo-browne.svx\nM\t.brain/resources/lore/theo-please-stop-using-stupid-models.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/think-wider.svx\nM\t.brain/resources/lore/tokenize-before-slicing.svx\n\u001e5e072d5b7fc5ec5d0d6b4bc33bff674fe67d14fb\t2026-10-07\t1791425942\tcd3d6c2af65ff216a9d71879ee6df76072bd7039\tfeat(learn): teach cards 43 to 62 with plain lines, diagrams and snippets\n\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\nM\t.brain/resources/lore/floor-and-ceiling.svx\nM\t.brain/resources/lore/happy-path-116-infrastructure-as-effects-sam-goodwin.svx\nM\t.brain/resources/lore/happy-path-81-typescript-and-effects-michael-arnaldi.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/lauren-tan.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/matt-pocock-skills.svx\nM\t.brain/resources/lore/mcp-is-another-surface.svx\nM\t.brain/resources/lore/mdsvex-left-unified.svx\nM\t.brain/resources/lore/michael-arnaldi.svx\nM\t.brain/resources/lore/model-based-testing.svx\nM\t.brain/resources/lore/no-comments.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\n\u001ef89e167691aeb0ee9271b16948542a9b095f3f7a\t2026-10-07\t1791424933\tbafce9e837335d2322728e585cb4658f6bf395ca\tfeat(learn): teach cards 23 to 42 with plain lines, diagrams and snippets\n\nM\t.brain/resources/lore/cause-and-effect-10-software-engineering-age-of-ai-de-goes.svx\nM\t.brain/resources/lore/chris-tate.svx\nM\t.brain/resources/lore/cityjs-effect-production-grade-typescript-michael-arnaldi.svx\nM\t.brain/resources/lore/cloud-as-a-library.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nM\t.brain/resources/lore/david-khourshid.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy-next-gen-iac.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy.svx\nM\t.brain/resources/lore/distilled.svx\nM\t.brain/resources/lore/double-opt-in.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/effect-days-2024-origin-story-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-days-2025-building-effect-4-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-design-lineage.svx\nM\t.brain/resources/lore/effect-meetup-sf-2023-why-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-office-hours-26-community-projects-alchemy.svx\nM\t.brain/resources/lore/effect-office-hours-27-alchemy-infrastructure-as-effects.svx\nM\t.brain/resources/lore/engine-neutral-tokens-keep-adapters-replaceable.svx\nM\t.brain/resources/lore/error-model.svx\n\u001ed88169f85b736dd49994e07b475fb8c26d62d191\t2026-10-07\t1791422872\tbafce9e837335d2322728e585cb4658f6bf395ca\tfeat(cli): build the ratstack npm package and publish it from tags with OIDC\n\nM\tAGENTS.md\n\u001e73cf9fc38a5c06e2f55dc303c1ce3036fefc33c9\t2026-10-07\t1791422834\te65bbe3eccbe692ea657397e4cf2e1e64de36dcf\tfeat(events): archive privacy-safe Mischief crash traces\n\nM\t.brain/areas/analytics.svx\nM\tskills/ship/references/project.md\n\u001e89040cbbcd894d2a5e6f17cc07c2fb486137c0d1\t2026-10-07\t1791421935\tc4de762917348131c8c67120daabdf90df1e1515\tdocs: explain skill vocabulary and review system prose\n\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/interest.svx\nM\t.brain/areas/prompts.svx\nM\tskills/add-a-capability/SKILL.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/add-a-store/SKILL.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\nM\tskills/rat-stack-mode/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e0c4cafba1b7d989150b0f63f14f180ec6f480683\t2026-10-07\t1791421762\t295dce506e20abf95d2376b8fd988ca56d78533e\tfeat(learn): teach the next twenty cards with plain lines, diagrams and snippets\n\nM\t.brain/resources/lore/0xsero-dhh-omarchy-the-agent-os.svx\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/agent-source-first-workflow.svx\nM\t.brain/resources/lore/agents-explore-tests-remember.svx\nM\t.brain/resources/lore/ai-engineer-vibe-engineering-effect-apps-michael-arnaldi.svx\nM\t.brain/resources/lore/aiewf-2026-everything-we-knew-about-software-has-changed-theo-browne.svx\nM\t.brain/resources/lore/ambient-cloud.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/anti-money.svx\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/cascadiajs-2026-its-time-to-rethink-everything-theo-browne.svx\nM\t.brain/resources/lore/configuration-is-a-dependency.svx\nM\t.brain/resources/lore/dependency-injection-is-the-reason-to-choose-effect.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\n\u001eb8139930e47e43e57766e2bec55a136dd48dfe46\t2026-10-07\t1791421177\tf5ff854b11e8eab53dcb2830ffd79ebda7ab8f0e\tfeat(learn): let non-concept pages opt out of the deck with learn: false\n\nM\t.brain/areas/learn.svx\n\u001e45b99a678357f1d833cb5f452b61abecde3eed90\t2026-10-07\t1791419694\ta27860cb0d7b6aac19f3c58148c45bfc5427b512\tfeat(env): import Mischief's schema into the root schema\n\nM\tAGENTS.md\nM\tskills/ship/references/project.md\n\u001e39602787bef2bd03e9a36a9c6ad5288ca888e6d3\t2026-10-07\t1791418792\t5835f0f7e92ba377a30f62770f0e23cb6255c295\tfeat(deploy): verdict file, printable bodies and hourly quiet windows\n\nM\tAGENTS.md\nM\tskills/ship/references/project.md\n\u001e95e0ccedc9aa71f1f72ab287516afc9257534285\t2026-10-07\t1791417361\tbc4a690a2554e6f2812e1e1d46dd68bd483ad722\tdocs: clarify the remaining Effect and build lore\n\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nM\t.brain/resources/lore/configuration-is-a-dependency.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/run-effect-at-the-boundary.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/services-capture-dependencies.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/trace-meaningful-operations.svx\n\u001ecc90b99d1cbfec13001a63cd70e24a347b95e791\t2026-10-07\t1791417034\t6a53f2da92463a9b042699119ec5003313c21f72\tfeat(learn): cards that teach, with compiled snippets and instant onboarding\n\nM\t.brain/areas/learn.svx\nM\t.brain/resources/learn-mode.svx\nM\t.brain/resources/lore/context-and-requirements.svx\nM\t.brain/resources/lore/services-capture-dependencies.svx\nM\tskills/learn/SKILL.md\n\u001e46fb94b75ddcc734bb855b41ad4b258e5f93db9e\t2026-10-07\t1791416008\t6f5fc577159d924c39489ed83909360c75f989e7\tdocs(ship): describe quiet windows without project-specific terms\n\nM\tskills/ship/references/project.md\n\u001e9aba1ddadde95b8a9cdcb2d6f156b8a6239da617\t2026-10-07\t1791415707\taef2c5ea37084349c3f147401fb36de8e1f6775e\tdocs: explain source summaries and remaining short lore\n\nM\t.brain/resources/lore/agent-source-first-workflow.svx\nM\t.brain/resources/lore/ai-engineer-vibe-engineering-effect-apps-michael-arnaldi.svx\nM\t.brain/resources/lore/ambient-cloud.svx\nM\t.brain/resources/lore/cascadiajs-2026-its-time-to-rethink-everything-theo-browne.svx\nM\t.brain/resources/lore/chris-tate.svx\nM\t.brain/resources/lore/david-khourshid.svx\nM\t.brain/resources/lore/double-opt-in.svx\nM\t.brain/resources/lore/effect-design-lineage.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/mdsvex-left-unified.svx\nM\t.brain/resources/lore/michael-arnaldi.svx\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\t.brain/resources/lore/sam-goodwin.svx\nM\t.brain/resources/lore/tokenize-before-slicing.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\n\u001e39e0e428432b007c078f078ac28d906763f856e2\t2026-10-07\t1791414319\t4c934f4899e1bca9ae13d44b609dbab25588c9a1\tdocs: explain remaining short lore terminology\n\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/floor-and-ceiling.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/lauren-tan.svx\nM\t.brain/resources/lore/matt-pocock-skills.svx\nM\t.brain/resources/lore/mcp-is-another-surface.svx\nM\t.brain/resources/lore/model-based-testing.svx\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nM\t.brain/resources/lore/pinned-sources-can-report-drift.svx\nM\t.brain/resources/lore/plan-model.svx\nM\t.brain/resources/lore/poteto-lauren-tan-2500-prs-dune.svx\nM\t.brain/resources/lore/property-based-testing.svx\nM\t.brain/resources/lore/the-fence.svx\nM\t.brain/resources/lore/theo-browne.svx\nM\t.brain/resources/lore/think-wider.svx\nM\t.brain/resources/lore/visakan-veerasamy.svx\n\u001ee51b90fe9fe86114d593f43e54b6b2182315a71c\t2026-10-07\t1791413208\tfd6935d92dfb100126b7a6ef7712235555202692\tdocs: clarify attributed source summaries\n\nM\t.brain/resources/lore/aiewf-2026-everything-we-knew-about-software-has-changed-theo-browne.svx\nM\t.brain/resources/lore/anti-money.svx\nM\t.brain/resources/lore/cause-and-effect-10-software-engineering-age-of-ai-de-goes.svx\nM\t.brain/resources/lore/cityjs-effect-production-grade-typescript-michael-arnaldi.svx\nM\t.brain/resources/lore/cloud-as-a-library.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy-next-gen-iac.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy.svx\nM\t.brain/resources/lore/distilled.svx\nM\t.brain/resources/lore/effect-days-2024-origin-story-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-days-2025-building-effect-4-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-meetup-sf-2023-why-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-office-hours-26-community-projects-alchemy.svx\nM\t.brain/resources/lore/effect-office-hours-27-alchemy-infrastructure-as-effects.svx\nM\t.brain/resources/lore/happy-path-116-infrastructure-as-effects-sam-goodwin.svx\nM\t.brain/resources/lore/happy-path-81-typescript-and-effects-michael-arnaldi.svx\nM\t.brain/resources/lore/production-grade-typescript.svx\nM\t.brain/resources/lore/why-javascript-is-broken-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/ziverge-de-goes-arnaldi-typescript-for-scala-devs.svx\n\u001ef3769f4890df514c0417d389104a34eed759f2c5\t2026-10-07\t1791412448\tc333e5e31a2ac58e09eb73115b1162903e6bd19b\tdocs: explain lore architecture terms in plain language\n\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/agents-explore-tests-remember.svx\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/context-and-requirements.svx\nM\t.brain/resources/lore/engine-neutral-tokens-keep-adapters-replaceable.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/no-comments.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\t.brain/resources/lore/one-snippet-model-two-renderers.svx\n\u001ea69880fc45dac22d730856a2783654ff995f86f7\t2026-10-07\t1791411626\t296190b1601da39cb27f72ee7294a7607da82b9a\tdocs: explain architecture responsibilities and checks\n\nM\tskills/uncomplect/SKILL.md\n\u001e2f5b7c6f9ecfa8b3d9bc0298ae2fec9e9e4e8579\t2026-10-07\t1791410568\tfddf8b0cb215bd1306153c6bfee8214c3eacb51a\tfeat(deploy): move desk deploy guards into the driver\n\nM\tAGENTS.md\nM\tskills/ship/SKILL.md\nM\tskills/ship/references/project.md\n\u001ef9dbf3f0308e36e6d60c761ac31caefcc0075ff0\t2026-10-07\t1791409576\tc881cb5115272836650f8241107692e900108bda\tdocs: define ship vocabulary and manual stop conditions\n\nM\tskills/ship/SKILL.md\n\u001e7325144c0835073a0e3d425addb2db529a34bf7d\t2026-10-07\t1791408340\t2f48d3848b333af09502d0317aee14f50a08179d\tdocs: explain system terms at first use\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/database.svx\nM\t.brain/areas/devtools.svx\nM\t.brain/areas/fence.svx\nM\t.brain/areas/interest.svx\nM\t.brain/areas/learn.svx\n\u001e519827230c2536bf26d64ea58bcd82da9d798a0e\t2026-10-07\t1791407086\tc75a6011b09361e3c386d9aa0afe792c1a89f7c2\tdocs: define glossary terms and explain agent-guide vocabulary\n\nM\tskills/write-a-wiki-page/SKILL.md\n\u001e4c6c990c26970ec2dc6afbb30e778361e786c300\t2026-10-07\t1791404123\t57dfb3dfb2d10eff2defc487ac4c374a82634ce7\tfeat: add the shareable /learn page\n\nA\t.brain/resources/learn-mode.svx\nM\t.brain/resources/lore/dependency-injection-is-the-reason-to-choose-effect.svx\n\u001e7c33c8ef35f6abfda209320197d6e2053617675c\t2026-10-07\t1791402390\td2f382c93f464ed25efb0986915064364b07b3f0\tchore: remove retired UI traces and vendor Foldkit sources\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e2c2fe794fdd9811616843f7bdedc505c0d7b7c09\t2026-10-07\t1791401704\tc39e106e33eaa00432454ed31c59fa90389255d0\tfeat: make dependency injection the first learning path\n\nM\t.brain/areas/learn.svx\nM\t.brain/resources/lore/configuration-is-a-dependency.svx\nM\t.brain/resources/lore/context-and-requirements.svx\nA\t.brain/resources/lore/dependency-injection-is-the-reason-to-choose-effect.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/services-capture-dependencies.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\tskills/learn/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001eaa79bb77a2003f4e08bf6b8f98d13ff66c5ea7b3\t2026-10-07\t1791397216\t553cb64b93e8b2b15f4215ef36786b14d3754949\tdocs: cite the verified local learning adapter\n\nM\t.brain/areas/learn.svx\n\u001e553cb64b93e8b2b15f4215ef36786b14d3754949\t2026-10-07\t1791396717\t5191786a8299f7749361f22613b3807a82d99029\tfeat: teach learn mode and encapsulate local progress\n\nA\t.brain/areas/learn.svx\nM\tAGENTS.md\nA\tskills/learn/SKILL.md\n\u001ecec3fcc34c976f007d1157af756c89a951306194\t2026-10-07\t1791392741\tc38d30f14ba80ba8e4c11152b091abcefa6d11ac\tfeat: add source-derived learning tools and local progress\n\nM\tAGENTS.md\n\u001e489e6c47c1ffc3c36d0868677a6cbbc1d772bc06\t2026-10-06\t1791317310\tc38d30f14ba80ba8e4c11152b091abcefa6d11ac\tdocs: add public Rat King and Rats Nest lore\n\nA\t.brain/resources/lore/rat-king.svx\nA\t.brain/resources/lore/rats-nest.svx\n\u001e0c8b30162d98c2806003ed1cc839fb9e373a5d3c\t2026-10-06\t1791309350\tb3b74453eeb43e8a74a1c6e43ad9b29297284cd5\tfix: read full-cutover Worker versions from live deployments\n\nM\tskills/ship/references/project.md\n\u001e08f460286cc2ee87001458e63ab7ccd6bbec2e35\t2026-10-06\t1791307260\t0428f9226618ee228b2af122eed95324ccca122d\tfeat: warn on history wording and prose hedges\n\nM\tAGENTS.md\n\u001e7db3272adcf4c00cf915a3c6940d8032063d6263\t2026-10-06\t1791304572\td5da2d681d4e139084f57214bba42df5dca7a759\tfeat: add receipt-backed recovery and bounded deployment observation\n\nM\tAGENTS.md\nM\tskills/ship/references/project.md\n\u001e9f29173e91b390c640f54f4eb0894bfe0eb505fb\t2026-10-06\t1791303247\t7da785400d7878131dbe8a4bb1431b901331b77a\tdocs: write systems and resources for people\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/database.svx\nM\t.brain/areas/devtools.svx\nM\t.brain/areas/fence.svx\nM\t.brain/areas/interest.svx\nM\t.brain/resources/effect-4-reference-projects.svx\nM\t.brain/resources/intake-application-reader.svx\nM\t.brain/resources/lint-rule-limits.svx\nM\t.brain/resources/peers.svx\nM\t.brain/resources/same-version-repos.svx\nM\t.brain/resources/schema-projections-and-code-mode.svx\nM\tREADME.md\n\u001e5bdfc10f56f82a0a641fce32a999a94a645aa496\t2026-10-06\t1791295259\ta2d61efb9d1c08adb2fedfdd0612a78c7d604a54\tdocs: make lore A-H prose plain\n\nM\t.brain/resources/lore/0xsero-dhh-omarchy-the-agent-os.svx\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/accumulate-independent-errors.svx\nM\t.brain/resources/lore/agent-source-first-workflow.svx\nM\t.brain/resources/lore/agents-explore-tests-remember.svx\nM\t.brain/resources/lore/ai-engineer-vibe-engineering-effect-apps-michael-arnaldi.svx\nM\t.brain/resources/lore/ambient-cloud.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/anti-money.svx\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/david-khourshid.svx\nM\t.brain/resources/lore/distilled.svx\nM\t.brain/resources/lore/double-opt-in.svx\nM\t.brain/resources/lore/errors-are-part-of-the-interface.svx\n\u001e4b15ea79de7a4a4ebcb2299fdcbc3662b8a90fce\t2026-10-06\t1791295134\ta2d61efb9d1c08adb2fedfdd0612a78c7d604a54\tdocs: make lore prose direct and readable\n\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/matt-pocock-skills.svx\nM\t.brain/resources/lore/mcp-is-another-surface.svx\nM\t.brain/resources/lore/mdsvex-left-unified.svx\nM\t.brain/resources/lore/no-comments.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\t.brain/resources/lore/one-snippet-model-two-renderers.svx\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nM\t.brain/resources/lore/pinned-sources-can-report-drift.svx\nM\t.brain/resources/lore/plan-model.svx\nM\t.brain/resources/lore/the-fence.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/tokenize-before-slicing.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\nM\t.brain/resources/lore/why-javascript-is-broken-effect-michael-arnaldi.svx\n\u001e1bcff7047048c5f8cbeaf2c1191f77c2043cfc00\t2026-10-06\t1791295060\ta2d61efb9d1c08adb2fedfdd0612a78c7d604a54\tdocs(skills): tighten instructions and remove prose filler\n\nM\tskills/add-a-capability/SKILL.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/add-a-store/SKILL.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-alchemy/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\nM\tskills/rat-stack-mode/SKILL.md\nM\tskills/ship/SKILL.md\nM\tskills/ship/references/deploy-runner.md\nM\tskills/ship/references/project.md\nM\tskills/ship/references/rollback.md\nM\tskills/uncomplect/SKILL.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001ef3dcb1309431e38c8b654d49df10d1a694c72a3b\t2026-10-06\t1791294651\ta2d61efb9d1c08adb2fedfdd0612a78c7d604a54\tdocs: put domain organization first and trim Effect prose\n\nM\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nM\t.brain/resources/lore/configuration-is-a-dependency.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/http-responses-need-validation.svx\nM\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/run-effect-at-the-boundary.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nM\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/services-capture-dependencies.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\t.brain/resources/lore/trace-meaningful-operations.svx\nM\tAGENTS.md\nM\tskills/rat-stack-mode/principles/keep-the-stack-floor.md\nM\tskills/rat-stack-mode/principles/version-content-artifacts.md\nM\tskills/write-a-wiki-page/SKILL.md\n\u001ea00342d326ac784e6ad039803d5a8649ee090b7b\t2026-10-06\t1791273359\tc708a32620285b37954a7be9f9a78228c9ecfbc9\tfix(mischief): log every server failure with a private incident id\n\nM\t.brain/areas/analytics.svx\n\u001e55c78009a4a8b765ec1902fa7626f43550cfb365\t2026-10-05\t1791268372\tcfc2497fc02908e1f5541b83618f9714a6b8a8ff\tfeat: classify native deploy plans and qualify applied content\n\nM\tAGENTS.md\nM\tskills/ship/references/project.md\n\u001ec7b6510e2ec09c041b4e5355f77f86a5c1279d38\t2026-10-06\t1791267509\tcfc2497fc02908e1f5541b83618f9714a6b8a8ff\tdocs: teach advanced Effect ownership and integration idioms (#21)\n\nA\t.brain/resources/lore/concurrent-work-needs-an-owner.svx\nM\t.brain/resources/lore/effect-basics.svx\nA\t.brain/resources/lore/http-responses-need-validation.svx\nA\t.brain/resources/lore/run-effect-at-the-boundary.svx\nA\t.brain/resources/lore/scopes-own-resources.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nA\t.brain/resources/lore/trace-meaningful-operations.svx\n\u001ecfc2497fc02908e1f5541b83618f9714a6b8a8ff\t2026-10-06\t1791265652\t6c9c25d9cd67ac30ea6a3e83f7668ddf29eb95f4\tseo: repair reader discovery and page metadata (#20)\n\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\tskills/learn-rat-stack/SKILL.md\n\u001e6c9c25d9cd67ac30ea6a3e83f7668ddf29eb95f4\t2026-10-06\t1791264828\t65e9465f38092e24486392f22c08f45d61230c20\tdocs: teach Effect basics and idioms through checked rat-stack code (#18)\n\nM\t.brain/resources/lore/agents-explore-tests-remember.svx\nA\t.brain/resources/lore/configuration-is-a-dependency.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nA\t.brain/resources/lore/layers-make-dependencies-explicit.svx\nM\t.brain/resources/lore/model-based-testing.svx\nM\t.brain/resources/lore/property-based-testing.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nA\t.brain/resources/lore/services-capture-dependencies.svx\nM\t.brain/resources/lore/structure-effect-by-domain.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\tskills/learn-rat-stack/SKILL.md\nM\tskills/rat-stack-mode/principles/keep-boundary-words-honest.md\nM\tskills/rat-stack-mode/principles/keep-the-stack-floor.md\nM\tskills/rat-stack-mode/principles/keep-unknown-distinct.md\nM\tskills/rat-stack-mode/principles/tests-detect-broken-behavior.md\nM\tskills/rat-stack-mode/principles/version-content-artifacts.md\n\u001e65e9465f38092e24486392f22c08f45d61230c20\t2026-10-06\t1791258458\tfba26d803d96b3435f5ad22a959dae74792e268e\tfeat: add local production deploy driver (#16)\n\nM\tAGENTS.md\nA\tskills/ship/SKILL.md\nA\tskills/ship/references/canary.md\nA\tskills/ship/references/catalog-maintenance.md\nA\tskills/ship/references/ci-stage.md\nA\tskills/ship/references/deploy-key.md\nA\tskills/ship/references/deploy-runner.md\nA\tskills/ship/references/flags.md\nA\tskills/ship/references/gradual-rollout.md\nA\tskills/ship/references/post-deploy-checks.md\nA\tskills/ship/references/project.md\nA\tskills/ship/references/rollback.md\n\u001efba26d803d96b3435f5ad22a959dae74792e268e\t2026-10-06\t1791250865\t54d356037c994f89698760a4727be71d0005a087\tdocs: explain Effect codebase structure by domain (#13)\n\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nA\t.brain/resources/lore/structure-effect-by-domain.svx\n\u001e54d356037c994f89698760a4727be71d0005a087\t2026-10-04\t1791143833\t2cd84f9ba72a8576f6c542f36d7f450b2da7dbe1\tdocs: route rat-stack tasks through principles and playbooks (#12)\n\nM\tAGENTS.md\nA\tskills/add-a-store/SKILL.md\nA\tskills/rat-stack-mode/LICENSE-pstack\nA\tskills/rat-stack-mode/SKILL.md\nA\tskills/rat-stack-mode/principles/ask-one-material-question.md\nA\tskills/rat-stack-mode/principles/bound-every-read.md\nA\tskills/rat-stack-mode/principles/check-the-actual-artifact.md\nA\tskills/rat-stack-mode/principles/design-serves-function.md\nA\tskills/rat-stack-mode/principles/encode-lessons-in-structure.md\nA\tskills/rat-stack-mode/principles/find-the-cause-first.md\nA\tskills/rat-stack-mode/principles/gates-guard-invariants.md\nA\tskills/rat-stack-mode/principles/judge-through-the-person.md\nA\tskills/rat-stack-mode/principles/keep-boundary-words-honest.md\nA\tskills/rat-stack-mode/principles/keep-execution-receipts.md\nA\tskills/rat-stack-mode/principles/keep-the-stack-floor.md\nA\tskills/rat-stack-mode/principles/keep-unknown-distinct.md\nA\tskills/rat-stack-mode/principles/look-it-up-first.md\nA\tskills/rat-stack-mode/principles/make-operations-idempotent.md\nA\tskills/rat-stack-mode/principles/make-review-views-complete.md\nA\tskills/rat-stack-mode/principles/measure-real-limits.md\nA\tskills/rat-stack-mode/principles/name-the-system-of-record.md\nA\tskills/rat-stack-mode/principles/no-dual-writes.md\nA\tskills/rat-stack-mode/principles/one-contract-many-projections.md\nA\tskills/rat-stack-mode/principles/one-writer-per-partition.md\nA\tskills/rat-stack-mode/principles/optimise-the-whole-loop.md\nA\tskills/rat-stack-mode/principles/prove-move-delete.md\nA\tskills/rat-stack-mode/principles/prove-the-recipient-path.md\nA\tskills/rat-stack-mode/principles/scope-private-data.md\nA\tskills/rat-stack-mode/principles/separate-writers-verify-readers.md\nA\tskills/rat-stack-mode/principles/store-source-facts.md\nA\tskills/rat-stack-mode/principles/subtract-before-you-add.md\nA\tskills/rat-stack-mode/principles/tests-detect-broken-behavior.md\nA\tskills/rat-stack-mode/principles/use-plain-language.md\nA\tskills/rat-stack-mode/principles/use-real-provider-guarantees.md\nA\tskills/rat-stack-mode/principles/validate-before-durable-write.md\nA\tskills/rat-stack-mode/principles/version-content-artifacts.md\nA\tskills/rat-stack-mode/references/eval.md\n\u001e2cd84f9ba72a8576f6c542f36d7f450b2da7dbe1\t2026-10-04\t1791085212\tc7d11aa396dad097ecb41a3f316cc905f6037063\tdocs: end each uncomplect braid in a verified fence (#11)\n\nM\tskills/uncomplect/SKILL.md\n\u001eed63ba3cf4a34ecfe901975a6d88f96209ba23b6\t2026-10-03\t1791058760\taabd6a608859de636a3692e965e87a10e7a74375\ttest: generate lifecycle models and inspection outcomes (#4)\n\nM\tskills/add-a-lifecycle-machine/SKILL.md\nA\tskills/add-a-lifecycle-machine/templates/lifecycle.model.test.md\n\u001e47de2d2cb3f62a1cf2501f721e52d579ce313139\t2026-10-02\t1790968454\td8ee1d14a1b9ea794a1e3cfc3a1f804d660367ce\tdocs(analytics): list city in the stored geography\n\nM\t.brain/areas/analytics.svx\n\u001ed8ee1d14a1b9ea794a1e3cfc3a1f804d660367ce\t2026-10-02\t1790968286\tdd4baec114ffff34932a0d1cfb6aee0bba118b24\tfeat(events): store city in event geography\n\nM\t.brain/areas/analytics.svx\n\u001edd4baec114ffff34932a0d1cfb6aee0bba118b24\t2026-10-02\t1790966194\tc591f4c7cb46631d89acfd9b8260db34548340d2\tdocs(lore): describe shipped snippets and refresh teaching pins\n\nM\t.brain/resources/lore/code-snippets.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\n\u001ec591f4c7cb46631d89acfd9b8260db34548340d2\t2026-10-02\t1790966147\t43d71c89ef1f70118b68c5e80582368856ba7ad8\tdocs(skills): teach wiki authoring with shipped pinned snippets\n\nA\tskills/write-a-wiki-page/SKILL.md\n\u001e126546fd7535afa7a1aecbdac6a2f968cffc0172\t2026-10-02\t1790965001\ta0224c2fb651a3dda189dc0d6020030241d559c0\tdocs(skills): trace the stack through pinned source\n\nM\tskills/learn-rat-stack/SKILL.md\n\u001ea0224c2fb651a3dda189dc0d6020030241d559c0\t2026-10-02\t1790964404\t5c0f78e03d69ff9ea00f6b95d02cc36a3de91a0b\tfix(content): canonicalize Brain resource URLs\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/the-fence.svx\nM\t.brain/resources/same-version-repos.svx\n\u001e5c0f78e03d69ff9ea00f6b95d02cc36a3de91a0b\t2026-10-02\t1790963608\t7a6302ac6b30893d795cbdb4c4f0d3aa18e99c68\tdocs(lore): shorten five high-warning pages without changing claims\n\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/matt-pocock-skills.svx\nM\t.brain/resources/lore/property-based-testing.svx\n\u001e7a6302ac6b30893d795cbdb4c4f0d3aa18e99c68\t2026-10-02\t1790963608\te7e58c8a0f29af57bd2460735bd7feeb7752d87c\tdocs: link concrete architecture and capability mentions\n\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/property-based-testing.svx\nM\t.brain/resources/same-version-repos.svx\n\u001ee7e58c8a0f29af57bd2460735bd7feeb7752d87c\t2026-10-02\t1790963608\ta646f7ffd00273d85fbe1d905d9cdb194fdc0f60\tdocs(peers): refresh 28 snapshots and study scoped XState tooling\n\nM\t.brain/resources/same-version-repos.svx\n\u001ee7a2c6ed89dd62a084362f5e03425e495168b7dc\t2026-10-02\t1790961417\t12486e219a86ca3fb82153876768ba254f76eb66\tfix(capability): honor member HTTP statuses on default routes\n\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\n\u001ee1cfe97554c229832f0abb89dc6105243f826b35\t2026-10-02\t1790960884\t12486e219a86ca3fb82153876768ba254f76eb66\tfeat: quote pinned Git code at the svx build boundary\n\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ebdb002f3b55738071f9c4752c1ce280caf7f734e\t2026-10-02\t1790957933\t6b975d4eea566cbd851ce4720a879d0b2ba5aa6e\tfix: keep the sandbox within its parent lifetime\n\nM\tREADME.md\n\u001eb2ba8ce7075fac64c5be8131d468fa5012b3ea8a\t2026-10-02\t1790957885\tec3149e417c01ead2bc67553b9a3c5dfca7f4009\tfeat(events): capture coarse request geography from request.cf\n\nM\t.brain/areas/analytics.svx\n\u001ef01629ae7b791f11bbc00fc375ada042208d97e2\t2026-10-02\t1790957562\t267c0997f449a98fc56389d744d57cfd34dc6e1c\tchore(xstate): pair alpha.63 with alpha.6 and pin its source tag\n\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/gardener/SKILL.md\n\u001e6c9fc0d20bd7f5fbecfd48c3682acf5a7166006b\t2026-10-02\t1790956466\t267c0997f449a98fc56389d744d57cfd34dc6e1c\tfix(infra): disable automatic request metadata logs on every Worker\n\nM\t.brain/areas/analytics.svx\n\u001e6ad1ffb4790b087df73dca2d4e6bba7414843c66\t2026-10-02\t1790956193\t1f550f1560a1be573e53cf357eb5aa52bde7efa6\tfeat: seal applicant names and X profiles with interest cards\n\nM\t.brain/areas/interest.svx\n\u001e0d38b2e82b7ab972462efa4c6e6598d1eea0a5d3\t2026-10-02\t1790955882\t0c945abccdc35f3027db4804ef38a54512ef71bc\tbuild: reject stale dependencies and validate lockfiles before gates\n\nM\tskills/gardener/SKILL.md\n\u001e34d8149f869eed760b203f530695b9914b377a49\t2026-10-02\t1790953261\tfed5d7a8fb933f2bc201ec34530b70ce06c19006\tdocs: split code snippet brief paragraphs\n\nM\t.brain/resources/lore/code-snippets.svx\n\u001e744e5baf40a9462822b5940c1c1564aae78be269\t2026-10-02\t1790952694\tc765224d6017292afe9004e02d03d1065f5bfdeb\tstyle(lore): use short prose and useful visuals\n\nM\t.brain/areas/agent-front-door.svx\nM\t.brain/resources/lore/how-we-do-it-with-effect.svx\nM\t.brain/resources/lore/mcp-is-another-surface.svx\nM\t.brain/resources/lore/mdsvex-left-unified.svx\nM\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nM\t.brain/resources/lore/one-schema-three-surfaces.svx\nM\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nM\t.brain/resources/lore/schemas-define-the-boundary.svx\nM\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nM\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\n\u001ec765224d6017292afe9004e02d03d1065f5bfdeb\t2026-10-02\t1790952671\t6534381cbac513b99c895cd9f6772bf04400e6d7\tdocs(wiki): define low-prose writing and warn on long prose\n\nM\tAGENTS.md\n\u001eae1a6cd3bc198197a66a2073cd723f53e4b90185\t2026-10-02\t1790952408\t6534381cbac513b99c895cd9f6772bf04400e6d7\tdocs(gardener): follow stable Effect and current release tags\n\nM\tVISION.md\nM\tskills/gardener/SKILL.md\n\u001efa9ef439f3d0ff3023eb6912f82fe11f03fb87bf\t2026-10-02\t1790952290\t6534381cbac513b99c895cd9f6772bf04400e6d7\tdocs: define pinned code snippets and their design principles\n\nA\t.brain/resources/lore/accumulate-independent-errors.svx\nA\t.brain/resources/lore/build-time-work-stays-out-of-requests.svx\nA\t.brain/resources/lore/code-snippets.svx\nA\t.brain/resources/lore/engine-neutral-tokens-keep-adapters-replaceable.svx\nA\t.brain/resources/lore/errors-are-part-of-the-interface.svx\nA\t.brain/resources/lore/one-snippet-model-two-renderers.svx\nA\t.brain/resources/lore/pinned-sources-can-report-drift.svx\nA\t.brain/resources/lore/tokenize-before-slicing.svx\n\u001e4d2806fed376a076fd87ed1a02c3cd3b66f738ca\t2026-10-02\t1790951116\t2307f395a14027589cab7c25281cea01de3d9840\tcontent(lore): explain schema surfaces and the agent front door\n\nM\t.brain/areas/agent-front-door.svx\nA\t.brain/resources/lore/how-we-do-it-with-effect.svx\nA\t.brain/resources/lore/mcp-is-another-surface.svx\nA\t.brain/resources/lore/mdsvex-left-unified.svx\nA\t.brain/resources/lore/one-program-can-replace-several-tool-calls.svx\nA\t.brain/resources/lore/one-schema-three-surfaces.svx\nA\t.brain/resources/lore/openapi-describes-the-refusal-too.svx\nA\t.brain/resources/lore/schemas-define-the-boundary.svx\nA\t.brain/resources/lore/there-is-no-isr-on-cloudflare.svx\nA\t.brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\n\u001e8135db866fd494b1cdd3e12a959a583fd336eded\t2026-10-02\t1790950995\t445b1a20b51a5492f8e586daeb9306e8011b7673\tfeat(intake): read sealed applications on the private operator surface\n\nA\t.brain/resources/intake-application-reader.svx\n\u001e402e218c84467bf04646b23e74ce79a8c77e989c\t2026-10-02\t1790946516\td06474941565a14b4f7bb0e11946d2fbc5fcde1d\tchore: migrate to Effect 4 stable with published adapters\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ea72e282e70c801a0fb358c631324704d156a47ad\t2026-10-01\t1790899138\tc5c401806a17c3c0544f8ea6805e709986588b24\tfeat(workshop): apply through an agent with a page ticket\n\nM\t.brain/areas/interest.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\tVISION.md\n\u001ed87c0c05f21a76d1c28d4da030504220061ec649\t2026-10-01\t1790892665\tf30ed7f133348bff02eb29d3403d972c4c4dc365\tdocs(lore): describe live agent-assisted interest intake\n\nM\t.brain/resources/lore/hateoas.svx\n\u001ef30ed7f133348bff02eb29d3403d972c4c4dc365\t2026-10-01\t1790892396\tff05a7e30e065a8aec7c5879102d65139b9cc642\tdocs: agent applications are live on /systems/interest and in VISION\n\nM\t.brain/areas/interest.svx\nM\tVISION.md\n\u001e2bab4795443512147b8c812dad532b9a46c311a8\t2026-10-01\t1790885207\t33f6f8d3fd9a0becfa46efbba33c4545447c88f9\tdocs(peers): discover public XState alpha consumers beyond Alchemy\n\nM\t.brain/resources/peers.svx\nM\tskills/find-peers/SKILL.md\n\u001e1a537c39e5c494fe90f52a6e0c5bb80fe9355f7c\t2026-10-01\t1790884706\t67bae2b51e0e7240e879d63e62c242f2a4632082\tstyle(mischief): hot pink is the one accent; chrome-then-title vertical rhythm\n\nM\tAGENTS.md\n\u001e53236a431b8c7c14ca147467ea124a1b5389c9f3\t2026-10-01\t1790882982\t3ef180dc137d6fc5045eda71ab9b011ed9310b39\tfeat(content): detect unlinked glossary mentions from the AST\n\nM\tskills/gardener/SKILL.md\n\u001e4bdc6129610ee306c942787160522788cd04ed3c\t2026-10-01\t1790882935\tdf81f2931c7255118b8901fc3a67a03d501b5cf6\tdocs(lore): connect architecture principles to running systems\n\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\n\u001edf81f2931c7255118b8901fc3a67a03d501b5cf6\t2026-10-01\t1790882935\t2a753262c6bcbef59bc3306a8a350ca2c0980dc3\tdocs(lore): count the three learning-loop skills accurately\n\nM\t.brain/resources/lore/lauren-tan-skills.svx\n\u001e2a753262c6bcbef59bc3306a8a350ca2c0980dc3\t2026-10-01\t1790882935\t9f03c37365cf534483bf96dc8636806df8faacd6\tdocs(lore): clarify analytics capture and response guarantees\n\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/property-based-testing.svx\n\u001e9f03c37365cf534483bf96dc8636806df8faacd6\t2026-10-01\t1790882935\t3bd14e0db22b8210842e99624c0ae0fdb2a6a60a\tdocs(research): separate dated Effect observations from current guidance\n\nM\t.brain/resources/effect-4-reference-projects.svx\n\u001eaa3d73ede4311c64c6104b912203280367cb027a\t2026-10-01\t1790882572\td40a03e54273e9fe7a5972e819723ef1723a9db1\tdocs: record delivery ownership and safe removal dependencies\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ed40a03e54273e9fe7a5972e819723ef1723a9db1\t2026-10-01\t1790882572\t4ba6b05df4f6e98478ae833993337e9f3a91ec28\tdocs(systems): map devtools and the hosted agent front door\n\nA\t.brain/areas/agent-front-door.svx\nA\t.brain/areas/devtools.svx\n\u001e4ba6b05df4f6e98478ae833993337e9f3a91ec28\t2026-10-01\t1790882572\td69897cff657cfe07e4fee6fb9c3c3d00d564c1e\tdocs(systems): document interest consent and confirmation\n\nA\t.brain/areas/interest.svx\n\u001e682c0384758237cb66cc59cbfd0f68ebb51b28ca\t2026-10-01\t1790882572\t6e6c8ff2fc3c6de287f4943f66a942294107648b\tdocs(systems): scope capabilities and document provider isolation\n\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/fence.svx\n\u001e6e6c8ff2fc3c6de287f4943f66a942294107648b\t2026-10-01\t1790882572\t936c212ea3e4af6dfb600d6b2c2d0a78868019d3\tdocs(analytics): distinguish response preservation and cookie behavior\n\nM\t.brain/areas/analytics.svx\n\u001e936c212ea3e4af6dfb600d6b2c2d0a78868019d3\t2026-10-01\t1790882572\t1a14994311c0f2ebb589ad8d393338bf242fbe30\tdocs(skills): align Alchemy examples with the declared stack\n\nM\tskills/learn-alchemy/SKILL.md\n\u001e1a14994311c0f2ebb589ad8d393338bf242fbe30\t2026-10-01\t1790882572\tb7eb87af6ab62b3f801c402e24187101c3c0f282\tdocs(skills): explain the lifecycle diagnostic boundary\n\nM\tskills/add-a-lifecycle-machine/SKILL.md\n\u001eb7eb87af6ab62b3f801c402e24187101c3c0f282\t2026-10-01\t1790882572\t8803984808731c21fddcbfd933072ca09b4c1fb8\tdocs: label schema projection research as dated history\n\nM\t.brain/resources/schema-projections-and-code-mode.svx\n\u001e8803984808731c21fddcbfd933072ca09b4c1fb8\t2026-10-01\t1790882572\tfb5075507ec1e9e9cfb97e89aa579fb0f2f78a28\tdocs(skills): trace contracts and distinguish browser RPC\n\nM\tskills/learn-rat-stack/SKILL.md\n\u001efb5075507ec1e9e9cfb97e89aa579fb0f2f78a28\t2026-10-01\t1790882572\te5fd2ca204f972161ace0c819bc8f62b1d08ad57\tdocs(skills): preserve dependencies in keep-or-cut recipes\n\nM\tskills/keep-or-cut/SKILL.md\n\u001e32ca5e3648d1591db1927eed0321ac5cf266ab2e\t2026-10-01\t1790880607\t5c308e7df2ebbda1f7ed74da0425efd01c19ca9a\tfix(content): center content-sized tables and avoid ambiguous term links\n\nM\t.brain/areas/analytics.svx\n\u001e5103cc41a2063498b63ac2093fc27f81de9c7654\t2026-10-01\t1790880131\tbd14681a5b3989acf8e60b259c578a09b90bdc16\tfeat: render ranked peers from versioned source receipts\n\nM\t.brain/resources/peers.svx\nM\tAGENTS.md\nM\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\n\u001e2f7a4ce3dbebbb329538832325eb3e80bf90a7fa\t2026-10-01\t1790880085\tbd14681a5b3989acf8e60b259c578a09b90bdc16\tfeat(mischief): generated glossary and agent-first reference navigation\n\nA\t.brain/resources/lore/double-opt-in.svx\n\u001ebd14681a5b3989acf8e60b259c578a09b90bdc16\t2026-10-01\t1790879846\t5e9f9f574e7e83e609513e674a8297cfbcb620d9\tdocs(vision): align with current work (ports and adapters, agent next actions, running systems, signup)\n\nM\tVISION.md\n\u001e4d3fe68666eaa5c7aca6f4c9b8dce8841b8a9773\t2026-10-01\t1790879510\t55d6800360430442ba5feea088a5991d23a0355d\tfeat(content): source-grounded bibliography on lore and systems\n\nM\t.brain/areas/analytics.svx\nM\t.brain/areas/auth.svx\nM\t.brain/areas/capabilities.svx\nM\t.brain/areas/database.svx\nM\t.brain/areas/fence.svx\nM\t.brain/resources/lore/0xsero-dhh-omarchy-the-agent-os.svx\nM\t.brain/resources/lore/a-clean-playground.svx\nM\t.brain/resources/lore/agent-source-first-workflow.svx\nM\t.brain/resources/lore/agents-explore-tests-remember.svx\nM\t.brain/resources/lore/ai-engineer-vibe-engineering-effect-apps-michael-arnaldi.svx\nM\t.brain/resources/lore/aiewf-2026-everything-we-knew-about-software-has-changed-theo-browne.svx\nM\t.brain/resources/lore/ambient-cloud.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/anti-money.svx\nM\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/capture-first.svx\nM\t.brain/resources/lore/cartridges.svx\nM\t.brain/resources/lore/cascadiajs-2026-its-time-to-rethink-everything-theo-browne.svx\nM\t.brain/resources/lore/cause-and-effect-10-software-engineering-age-of-ai-de-goes.svx\nM\t.brain/resources/lore/chris-tate.svx\nM\t.brain/resources/lore/cityjs-effect-production-grade-typescript-michael-arnaldi.svx\nM\t.brain/resources/lore/cloud-as-a-library.svx\nM\t.brain/resources/lore/context-and-requirements.svx\nM\t.brain/resources/lore/david-khourshid.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy-next-gen-iac.svx\nM\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy.svx\nM\t.brain/resources/lore/distilled.svx\nM\t.brain/resources/lore/effect-basics.svx\nM\t.brain/resources/lore/effect-days-2024-origin-story-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-days-2025-building-effect-4-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-design-lineage.svx\nM\t.brain/resources/lore/effect-meetup-sf-2023-why-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/effect-office-hours-26-community-projects-alchemy.svx\nM\t.brain/resources/lore/effect-office-hours-27-alchemy-infrastructure-as-effects.svx\nM\t.brain/resources/lore/error-model.svx\nM\t.brain/resources/lore/floor-and-ceiling.svx\nM\t.brain/resources/lore/happy-path-116-infrastructure-as-effects-sam-goodwin.svx\nM\t.brain/resources/lore/happy-path-81-typescript-and-effects-michael-arnaldi.svx\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nM\t.brain/resources/lore/lauren-tan-skills.svx\nM\t.brain/resources/lore/lauren-tan.svx\nM\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nM\t.brain/resources/lore/matt-pocock-skills.svx\nM\t.brain/resources/lore/michael-arnaldi.svx\nM\t.brain/resources/lore/model-based-testing.svx\nM\t.brain/resources/lore/no-comments.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nM\t.brain/resources/lore/plan-model.svx\nM\t.brain/resources/lore/poteto-lauren-tan-2500-prs-dune.svx\nM\t.brain/resources/lore/production-grade-typescript.svx\nM\t.brain/resources/lore/property-based-testing.svx\nM\t.brain/resources/lore/sam-goodwin.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\t.brain/resources/lore/the-fence.svx\nM\t.brain/resources/lore/theo-browne.svx\nM\t.brain/resources/lore/theo-please-stop-using-stupid-models.svx\nM\t.brain/resources/lore/think-wider.svx\nM\t.brain/resources/lore/visakan-veerasamy.svx\nM\t.brain/resources/lore/why-javascript-is-broken-effect-michael-arnaldi.svx\nM\t.brain/resources/lore/ziverge-de-goes-arnaldi-typescript-for-scala-devs.svx\n\u001ef059385bfef160aed7a5094fa733ec26f3a68f10\t2026-10-01\t1790878662\t97a8c1fb0c388aacec206fb565dc84dc9c641fed\tdocs(lore): ground cartridges in public-domain hardware photo\n\nM\t.brain/resources/lore/cartridges.svx\n\u001e7f044cf0243ff5118f83263b2a4a106691995705\t2026-10-01\t1790878057\t1209465b3924054d3ab7704e363a4ceec535687e\tdocs(lore): agents explore and tests remember\n\nA\t.brain/resources/lore/agents-explore-tests-remember.svx\n\u001ec1a2f819ffbb539bb8dfbb35f250246f395761b9\t2026-10-01\t1790877592\t2d29c14fdf83dc975ecd95e812d44f882dea7f7d\tdocs(lore): record built guidance and fixed adapter boundaries\n\nM\t.brain/resources/lore/hateoas.svx\nM\t.brain/resources/lore/hexagonal-architecture.svx\n\u001e2d29c14fdf83dc975ecd95e812d44f882dea7f7d\t2026-10-01\t1790877429\tb54fe09223d65ddb245e70e735d228e7c6863374\tdocs(lore): explain hypermedia and ports-and-adapters principles\n\nA\t.brain/resources/lore/hateoas.svx\nA\t.brain/resources/lore/hexagonal-architecture.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\n\u001e7fda574ce2533844b5ef962225b6d9bb14ba0f3d\t2026-10-01\t1790876684\t194c4b18688b7b4b3f0713e220648ff94b045f25\tcontent(systems): capabilities, fence, database, and auth pages\n\nA\t.brain/areas/auth.svx\nA\t.brain/areas/capabilities.svx\nA\t.brain/areas/database.svx\nA\t.brain/areas/fence.svx\n\u001e194c4b18688b7b4b3f0713e220648ff94b045f25\t2026-10-01\t1790876234\t222edd833ccc19f41da236f6556a5a09dace1582\tfeat(mischief): /systems pages, one per system rat-stack ships, starting with analytics\n\nA\t.brain/areas/analytics.svx\nM\tAGENTS.md\n\u001e43fdf3ce0931c14a2b7cd46c792b37c6dd0973cb\t2026-10-01\t1790875748\t8bb2e759a9405b1d4c0d7e840ad48507fe756a6a\tfix(events): make Basin analytics deployable and stop dropping every event\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e3056e37284ed7b74b92d5e9d8b7645a0c0b0abed\t2026-10-01\t1790871203\taf441dc2e81f6f779a57976a3fe6d9b322c18611\tdocs(lore): add Matt Pocock's and Lauren Tan's skills entries and point the harness rows at them\n\nA\t.brain/resources/lore/lauren-tan-skills.svx\nA\t.brain/resources/lore/matt-pocock-skills.svx\n\u001eaf441dc2e81f6f779a57976a3fe6d9b322c18611\t2026-10-01\t1790869859\t254b3432f8239ee242e9e073bd851d549a443837\tdocs: favor property and model tests over example tests\n\nM\tAGENTS.md\n\u001e254b3432f8239ee242e9e073bd851d549a443837\t2026-10-01\t1790869600\td2f420492f57c9177bbc0336b1a8f29f8d8e27a2\tfix(events): put Basin analytics behind EVENTS_ENABLED, default off\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ed2f420492f57c9177bbc0336b1a8f29f8d8e27a2\t2026-10-01\t1790867772\ta702cef9cf41df38dd417c6407faa0213891c582\tfeat(events): capture-first request analytics on Cloudflare Basin\n\nA\t.brain/resources/lore/capture-first.svx\nA\t.brain/resources/lore/david-khourshid.svx\nA\t.brain/resources/lore/model-based-testing.svx\nA\t.brain/resources/lore/property-based-testing.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e1927a368f31481d3f771d80a4e758c1ee5939d85\t2026-09-25\t1790375438\tf1c84e2650d9bfc6c633aa2c4a737aaeb140c05f\tfeat: weave public lore across the site\n\nA\t.brain/resources/lore/0xsero-dhh-omarchy-the-agent-os.svx\nM\t.brain/resources/lore/a-clean-playground.svx\nA\t.brain/resources/lore/agent-source-first-workflow.svx\nA\t.brain/resources/lore/ai-engineer-vibe-engineering-effect-apps-michael-arnaldi.svx\nA\t.brain/resources/lore/aiewf-2026-everything-we-knew-about-software-has-changed-theo-browne.svx\nA\t.brain/resources/lore/ambient-cloud.svx\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nA\t.brain/resources/lore/anti-money.svx\nA\t.brain/resources/lore/bindings.svx\nM\t.brain/resources/lore/cartridges.svx\nA\t.brain/resources/lore/cascadiajs-2026-its-time-to-rethink-everything-theo-browne.svx\nA\t.brain/resources/lore/cause-and-effect-10-software-engineering-age-of-ai-de-goes.svx\nA\t.brain/resources/lore/chris-tate.svx\nA\t.brain/resources/lore/cityjs-effect-production-grade-typescript-michael-arnaldi.svx\nA\t.brain/resources/lore/cloud-as-a-library.svx\nA\t.brain/resources/lore/context-and-requirements.svx\nA\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy-next-gen-iac.svx\nA\t.brain/resources/lore/devtools-fm-sam-goodwin-alchemy.svx\nA\t.brain/resources/lore/distilled.svx\nA\t.brain/resources/lore/effect-basics.svx\nA\t.brain/resources/lore/effect-days-2024-origin-story-michael-arnaldi.svx\nA\t.brain/resources/lore/effect-days-2025-building-effect-4-michael-arnaldi.svx\nA\t.brain/resources/lore/effect-design-lineage.svx\nA\t.brain/resources/lore/effect-meetup-sf-2023-why-effect-michael-arnaldi.svx\nA\t.brain/resources/lore/effect-office-hours-26-community-projects-alchemy.svx\nA\t.brain/resources/lore/effect-office-hours-27-alchemy-infrastructure-as-effects.svx\nA\t.brain/resources/lore/error-model.svx\nA\t.brain/resources/lore/floor-and-ceiling.svx\nA\t.brain/resources/lore/happy-path-116-infrastructure-as-effects-sam-goodwin.svx\nA\t.brain/resources/lore/happy-path-81-typescript-and-effects-michael-arnaldi.svx\nA\t.brain/resources/lore/infrastructure-as-effects.svx\nM\t.brain/resources/lore/init-runs-twice.svx\nA\t.brain/resources/lore/lauren-tan.svx\nA\t.brain/resources/lore/layer-constructor-pattern.svx\nM\t.brain/resources/lore/lifecycles-are-machines.svx\nA\t.brain/resources/lore/michael-arnaldi.svx\nM\t.brain/resources/lore/no-comments.svx\nM\t.brain/resources/lore/one-capability-every-surface.svx\nA\t.brain/resources/lore/plan-model.svx\nA\t.brain/resources/lore/poteto-lauren-tan-2500-prs-dune.svx\nA\t.brain/resources/lore/production-grade-typescript.svx\nA\t.brain/resources/lore/sam-goodwin.svx\nM\t.brain/resources/lore/tests-that-earn-their-place.svx\nM\t.brain/resources/lore/the-fence.svx\nA\t.brain/resources/lore/theo-browne.svx\nA\t.brain/resources/lore/theo-please-stop-using-stupid-models.svx\nA\t.brain/resources/lore/think-wider.svx\nA\t.brain/resources/lore/visakan-veerasamy.svx\nA\t.brain/resources/lore/why-javascript-is-broken-effect-michael-arnaldi.svx\nA\t.brain/resources/lore/ziverge-de-goes-arnaldi-typescript-for-scala-devs.svx\n\u001eaa4fd74b37a972315314df53bf5c99e77bd8aee6\t2026-09-25\t1790367240\t186608907693abc17c1953a99931969b96eb11dd\tdocs(brain): name no private project in the served lint-limits note\n\nM\t.brain/resources/lint-rule-limits.svx\n\u001e6ff67ec587a307d133aaa6fa73f2c735b3263cf3\t2026-09-25\t1790366804\t23bd13359528317389edd7cbe9d7a01c914223e4\tfeat: add ratstack site easter eggs and debt ledger\n\nM\t.brain/resources/same-version-repos.svx\nM\tAGENTS.md\nM\tskills/add-a-capability/SKILL.md\n\u001e0b82d26c6bacaa1d1d9bcc0219ede4d3807634a5\t2026-09-25\t1790355543\tb6cdb3f51086022bdd47f933da3ac8a16ca8982d\tdocs: tagline, An Effect stack so pure (aspirational) Kit Langton will blush.\n\nM\tREADME.md\nM\tVISION.md\n\u001ec70a58532593721c742a0beaf2633d6871fe85d9\t2026-09-24\t1790307908\tfa744f9b03f110dc3d67f44ef8e84e8e974c4eaa\tdocs: tagline says stack, not app\n\nM\tREADME.md\nM\tVISION.md\n\u001ee01809febf81b38819fcd16385b10d36b5898c04\t2026-09-24\t1790306346\ta5d130be33ba15d8e390666f80b6818bebbf9dcc\tdocs: tagline gains (aspirationally)\n\nM\tREADME.md\nM\tVISION.md\n\u001e13f0f2a22308cc04037b32cbc798b7b928859a74\t2026-09-24\t1790305029\t8fe46b817c07e14434bd2388b24944ccff5e9230\tdocs: tagline, An Effect app so pure Kit Langton will blush.\n\nM\tREADME.md\nM\tVISION.md\n\u001ea5a1b80d1fc23f4d90afd1e3c4a00460cde0be66\t2026-09-24\t1790304476\t83cc2f1430af67672b99ee8d3d0295ded12d69f6\tdocs(vision): the core why is the best Effect + Alchemy application we can build\n\nM\tREADME.md\nM\tVISION.md\n\u001efa058b1aafd5bd58419fc22fb19a88c2a3609ea8\t2026-09-24\t1790302235\t8d1662cfcae8ada7d5da27e0741153e06704110a\tdocs(lore): code mode verdict splits template and hosted site; init test names its failure\n\nM\t.brain/resources/lore/an-mcp-your-users-want.svx\nM\t.brain/resources/lore/init-runs-twice.svx\n\u001e0aa4e74900a8b2e7e0d9058bf6b1291b787f488a\t2026-09-24\t1790301891\t3e948e2b329a3637d695399d8ce66b9fac2995a4\tAdd lore wiki to ratstack.sh\n\nA\t.brain/resources/lore/a-clean-playground.svx\nA\t.brain/resources/lore/an-mcp-your-users-want.svx\nA\t.brain/resources/lore/cartridges.svx\nA\t.brain/resources/lore/init-runs-twice.svx\nA\t.brain/resources/lore/lifecycles-are-machines.svx\nA\t.brain/resources/lore/no-comments.svx\nA\t.brain/resources/lore/one-capability-every-surface.svx\nA\t.brain/resources/lore/tests-that-earn-their-place.svx\nA\t.brain/resources/lore/the-fence.svx\n\u001ea33288bfb0398726f4ea7983ce5b1216a94b9557\t2026-09-24\t1790261815\t782f8906ba0a9c565c4f19b585ba7a5352280452\tfeat(capability): add ambient call watch\n\nM\tAGENTS.md\nM\tskills/keep-or-cut/SKILL.md\n\u001ebcd1c1334a997b1a63072e759c8230be4f1f56bb\t2026-09-24\t1790243025\te1c379ea6a95eeafe4425c95c4e14efa09ebf2ca\tfix(lint): no-comments keeps TypeScript @ts-* directives\n\nM\tAGENTS.md\n\u001ebfa08cebbc3b2c838165aa0b2ebf1c12a33b3a3d\t2026-09-24\t1790233796\t8da815d0b1a4a6affcf8dbf4b939f1c6d6628787\tfix: close static lint rule bypasses\n\nA\t.brain/resources/lint-rule-limits.svx\n\u001e26fb6aad44d26a88914bc13754ac9b6e39ab9ceb\t2026-09-23\t1790222906\t89af1a65854dfafe87779b617883f91475e524cb\tfix: project native schema constraints\n\nM\tAGENTS.md\n\u001ebc930c6f0a869978c2aec2c7d25e274be4637584\t2026-09-23\t1790216761\t26860eca0a55102988cb96249ed4daae2b0f6284\tdocs(agents): tautological, change-detector, and gapless regression tests considered harmful\n\nM\tAGENTS.md\n\u001ecb3cd51b72bc941a40257b3c7463a60d508fb1be\t2026-09-23\t1790201424\t5115230fe8ae1f908617f7396b1efbc5068cf6ab\tdocs: close out the rat devtools plan\n\nM\tAGENTS.md\n\u001e4b939bd476bb819f1c76badee6773827c0a06ecc\t2026-09-23\t1790201056\t709f5e2c71580d7da3a1df576431a3f57ba3e032\tfeat(dev): run the web app through portless at rat-stack.localhost\n\nM\tAGENTS.md\n\u001e709f5e2c71580d7da3a1df576431a3f57ba3e032\t2026-09-23\t1790200953\t91a6dccf0a6a2dbf63b6e2aa739d99c319da3967\tdocs(agents): apps/infra changes and planned deploys no longer need owner sign-off\n\nM\tAGENTS.md\n\u001ea171276ce061b31b055173d95b2b5f2d4d4b6e71\t2026-09-23\t1790191856\t23940da00fb5a7f72f8e4f3290453529249d7a17\tchore: stop linking .agent-sources/effect; pi-effect reads the pinned mirror in place\n\nM\tAGENTS.md\nM\tREADME.md\n\u001eb1c1f27ae4a58c8c1b2ad42de9dfa35cc9c4c2de\t2026-09-23\t1790190757\tb32cabebd1f33009c78a216cc29aca9952edf1bd\tfeat(web): run the 🐀 devtools and overlay under vite dev\n\nM\tAGENTS.md\nM\tskills/keep-or-cut/SKILL.md\n\u001e037500a05e7c091eb2c4d21b0ad40232fa54a7a9\t2026-09-23\t1790190028\ta68fb4bd019245fd181f2c0f406b9c5dd2f0cc1e\tfix(web): make vite dev work by serving /rpc in process\n\nM\tAGENTS.md\n\u001e3c9d280b15bbd5ec40a43b4d4fc6faf9e2b2f707\t2026-09-23\t1790189380\t7d671757fde1de88169c32ca5ca50612f7b436b5\tfeat(lint): keep devtools and test people out of production\n\nM\tAGENTS.md\n\u001e806048aa69c6ab64bdc3428443bfb04f4cbebd67\t2026-09-23\t1790189196\t0f3a258ab516e0a939f126c6c49dbeecfd3a6d5b\tdocs: document runAs and test people\n\nM\tAGENTS.md\n\u001ed05f076e33d1a993cd94a095e10342300817e983\t2026-09-23\t1790187832\taac73327d378ce29bc54295ee93bc4165094ce1e\tdocs: document machine devtools and queue the client slices\n\nM\tAGENTS.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\n\u001e81dc9cb22403fc2eafb5f70887c4764c643ab846\t2026-09-23\t1790186161\tbf8df46bb84353602cdb8ecc352114ac0c2ab59b\tfeat(lint): translate five Foldkit rules to rat-stack\n\nM\tAGENTS.md\n\u001ebf8df46bb84353602cdb8ecc352114ac0c2ab59b\t2026-09-23\t1790185927\t77f0d1444386cf58b3dda39bbc0d3199bd2a8942\tfeat(devtools): add the rat devtools cartridge\n\nM\tAGENTS.md\nM\tskills/keep-or-cut/SKILL.md\n\u001e9a7bea5214a84c49bad23966bdcca7c4ca2b9c3d\t2026-09-23\t1790183445\t3c87b68978321d960e94f9b6816b7e46c72882d4\trefactor: split capability contracts from handlers\n\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/add-a-capability/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\n\u001e2d3fca623ed61ef8eb5b5624db6dd50813b39dab\t2026-09-23\t1790182677\t197b45ff518a5d1543dffb5892db8e8e90fc850a\ttest: fail when documented versions drift from the manifests\n\nM\t.brain/resources/peers.svx\nM\t.brain/resources/same-version-repos.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tskills/gardener/SKILL.md\n\u001e5cce86de2b460246553f4f7bb39858b3394d4ac1\t2026-09-23\t1790182519\t1c2a7384a2500ed9be172d266746f3f3c2c051e8\tdocs: record Effect and Alchemy peer patterns\n\nM\t.brain/resources/effect-4-reference-projects.svx\nA\t.brain/resources/same-version-repos.svx\n\u001e2f3cfd60fe1dff94325c7c99595e331729f9ba17\t2026-09-23\t1790180912\t374942c661d138bdd3f79e4e7c0cffe0302b2ce5\tdocs: list to-rpc as a projection boundary and point the gardener rule at its skills\n\nM\tAGENTS.md\n\u001e6f10f5c4267a7236394581c89ffdf0fc72a168f5\t2026-09-23\t1790180762\t82937e6b46752a493f280bdcd31bb17b0b3287bc\tfeat: enforce rat-stack architecture boundaries\n\nM\tAGENTS.md\n\u001ee84ba3126247d246109a63ba23f9bba4aea3099c\t2026-09-23\t1790180751\tac9f103196b5242671d8b387f049b7859cbaa6dd\tdocs: add uncomplect skill tailored to rat-stack nouns, cartridge test, and fence\n\nA\tskills/uncomplect/SKILL.md\n\u001e426f860ea0496c9b278f988735059b74a7cc2abf\t2026-09-23\t1790180462\t1c2a7384a2500ed9be172d266746f3f3c2c051e8\tfeat: find-peers skill and script for repos on our prerelease lines\n\nA\t.brain/resources/peers.svx\nA\tskills/find-peers/SKILL.md\nM\tskills/gardener/SKILL.md\n\u001e0d99cb87b0fc62e87fa4da54f8a1368ffabdf9a4\t2026-09-23\t1790179458\t156059f9a48d9858bf1f58307f269136b90d09a6\tdocs: add gardener skill for bumps, same-version snooping, and lint-first cleanup\n\nA\tskills/gardener/SKILL.md\n\u001e52c721b89b88bffb771414478d0905e910a2eafa\t2026-09-23\t1790173135\t8d1d7abb39468816ea5e37f6d99cfffd33d3c7b7\tfeat: ban comments in code, after Dune\n\nM\tAGENTS.md\n\u001e19bc13695690d12f809d43f8fff7d27ac602ccb5\t2026-09-23\t1790171833\t2309728aa61f34a40e07c9c7f6a502c0ee20099e\tchore: enforce every anti-slop rule\n\nM\tAGENTS.md\n\u001e2309728aa61f34a40e07c9c7f6a502c0ee20099e\t2026-09-23\t1790171828\t34f61a3006bff3663a37bfb4761e38275d705ef9\trefactor(mischief): typed hast, parsed boundaries, honest factory names\n\nM\tskills/learn-alchemy/SKILL.md\n\u001e85ebb30113fa56388142f39ec12c2ab0be6be207\t2026-09-22\t1790108070\t38e1bb71b430d46b9440e36cbef7d7cc85896b27\tdocs: drop the README image that broke on ratstack.sh\n\nM\tREADME.md\n\u001e68d96d3cdcb1f2fb4edf43b88d16df7a65a25ce0\t2026-09-22\t1790104607\t2a6c665357e569abc402af7df4e50ffdbc370ca4\tfeat: the rat emoji is the logo, favicon, and touch icon\n\nM\tREADME.md\n\u001eb78dfb16f3f369cda2adf4bc9263d16478065f7f\t2026-09-22\t1790103870\t67986a22f8ed31708443f36dda3bffefb84ec85e\tdocs: cite the CascadiaJS source for cheap experimentation\n\nM\tVISION.md\n\u001ecc20223d97b3571519233d43945ce93c7d34c295\t2026-09-22\t1790103775\t9c6b3207db10e3e3ea04d098b1fa7ca3eb3429fb\tdocs: vision is pieces, trust, floor, and range\n\nM\tVISION.md\n\u001e91a75ce2fc8407320d14ba84cc87047e69efde63\t2026-09-22\t1790101800\tb781833b00d25f76680b466ef389fed440daf195\tfix: document the 429; derive the serve test from the registry\n\nM\tskills/add-a-capability/SKILL.md\n\u001ec09ed118f38936d30721e26c1ff640296c001090\t2026-09-22\t1790101421\t4751d3ca619902f8b168d5743daaf09af8ab8ad5\tdocs: format once after renaming the workspace\n\nM\tREADME.md\n\u001e16b586bfd4714505da79f2af881719555dc88931\t2026-09-22\t1790100369\tb24e5bcf6ec25442d308844484e4ecf9d1955ac6\tdocs: make it yours, promise proofs, and a plainer vision\n\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\n\u001e638543479700f06b1c3769e0b7bd625a538912d0\t2026-09-22\t1790099024\t06880c3d6d846fc6c398c9c9d5b27f305bb0293e\tfeat: learn-alchemy skill\n\nA\tskills/learn-alchemy/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\n\u001eb98565f6dcc60607746fb404cb9d8170b9a2132d\t2026-09-22\t1790089811\t3ebba88cd92293d6406b48014bf26c52712738c6\tfeat: teach and cache the stack\n\nM\tskills/add-a-capability/SKILL.md\nM\tskills/add-a-lifecycle-machine/SKILL.md\nM\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\n\u001eff17799dd6e25532d4baa0a4089567df74d1f90c\t2026-09-21\t1790038199\t75084a2bb50b86db4da1264d6e711b872fbffa41\tmischief: search, read, execute, the skills catalogue, and agent discovery\n\nA\tskills/add-a-capability/SKILL.md\nA\tskills/add-a-lifecycle-machine/SKILL.md\nA\tskills/keep-or-cut/SKILL.md\nM\tskills/learn-rat-stack/SKILL.md\n\u001e9417a990d494cd3e9fa63731d2e3b9c23ec218ad\t2026-09-21\t1790022797\t8dba49eb7f7a38a8a9887de3b5fbf731f1551aba\tmischief: local-only Effect Worker prototype for ratstack.sh\n\nA\tskills/learn-rat-stack/SKILL.md\n\u001e7464743e12c7e1fcadab8497d1f95bbb2ceabec4\t2026-09-21\t1790020152\tf5f91f1c5efe7d19332af6c8eb36b0e3149bc63a\tbrand and harvest: the Rat Stack mark, OG image step, agent-ready checks closed\n\nM\tREADME.md\n\u001e03fde9bd017824c87c0570355bec2ddbd1e26ade\t2026-09-20\t1789921499\td4354c4516749e5ef295a5abc80068c1f2ae2360\tchore: dependency sweep; lint joins the turbo gate\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ed4354c4516749e5ef295a5abc80068c1f2ae2360\t2026-09-20\t1789921214\tda4d5f6770522c354a8eebfd8bbd46d53d816d6d\tchore: @xstate/effect from the npm registry, tarball retired\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001eda4d5f6770522c354a8eebfd8bbd46d53d816d6d\t2026-09-18\t1789789741\te90e35da7c33ae774959dd69948a0d68a48fe832\tdocs: template acceptance, rat-stack's own AGENTS.md answers, keep-or-cut\n\nM\t.brain/resources/schema-projections-and-code-mode.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001ee90e35da7c33ae774959dd69948a0d68a48fe832\t2026-09-18\t1789788936\tb08930683c8ef253ad84a0c39c0ef8086260b55c\tfeat(capability): code mode, the fourth projection\n\nM\t.brain/resources/schema-projections-and-code-mode.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001eb08930683c8ef253ad84a0c39c0ef8086260b55c\t2026-09-18\t1789787982\t71b899cfd3966fd6b903fd7d554d3486b3dcfe47\tfeat: inspectFile as one capability on four commands\n\nM\t.brain/resources/schema-projections-and-code-mode.svx\nM\tAGENTS.md\nM\tREADME.md\n\u001e94f656a3e5b870665aff5994c508ebb7efd94f9b\t2026-09-18\t1789786412\tcef2b78999e3ed93cc397d0da191873779bc1a56\tdocs(brain): one Schema, many surfaces (CLI, REST/OpenAPI, MCP, code mode)\n\nA\t.brain/resources/schema-projections-and-code-mode.svx\n\u001ecef2b78999e3ed93cc397d0da191873779bc1a56\t2026-09-18\t1789785854\t6c5dc6145b85e9a3abad16cdf9778fec021d9ca7\tchore: rename joel-stack to rat-stack\n\nM\t.brain/resources/effect-4-reference-projects.svx\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\n\u001e29964aa0d436c18635efe095d81c434e4fc72583\t2026-09-18\t1789784952\tde030598b22620cd452ab6ff393cff342bcf856b\tdocs(brain): record the second Effect 4 slice and its gotchas\n\nM\t.brain/resources/effect-4-reference-projects.svx\n\u001ede030598b22620cd452ab6ff393cff342bcf856b\t2026-09-18\t1789784950\t862db3b70736460f451219ffd0930fcb3b38385e\tfeat: close the Effect 4 reference gaps (language service, service shape, effect vitest, mirrors)\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e862db3b70736460f451219ffd0930fcb3b38385e\t2026-09-18\t1789784233\t25eb0c9099f5acce2aa5504ec4df7619fa627e8d\tdocs(brain): link filed xstate issue #5725\n\nM\t.brain/resources/effect-4-reference-projects.svx\n\u001e25eb0c9099f5acce2aa5504ec4df7619fa627e8d\t2026-09-18\t1789783282\t6a6178e9d7e2612a2a786a5507262c5c6b10c4cd\tdocs(brain): record prepared @xstate/effect upstream contribution\n\nM\t.brain/resources/effect-4-reference-projects.svx\n\u001e6a6178e9d7e2612a2a786a5507262c5c6b10c4cd\t2026-09-18\t1789782704\t92f60e0c7ec069a0dc9cbcdfabe2ee84b8b1ac98\tdocs(brain): Effect 4 reference project study and @xstate/effect findings\n\nA\t.brain/resources/effect-4-reference-projects.svx\n\u001e92f60e0c7ec069a0dc9cbcdfabe2ee84b8b1ac98\t2026-09-18\t1789782702\te4d02e6195ab9e3ceaa79a975b5dcf742e933830\tfeat(cli): run stats through an @xstate/effect machine\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ee4d02e6195ab9e3ceaa79a975b5dcf742e933830\t2026-09-17\t1789698236\t6c1229835647808707d7d397034f11f04d024024\tchore: rename ts-cli-template to joel-stack\n\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\n\u001e6c1229835647808707d7d397034f11f04d024024\t2026-09-17\t1789697703\t218386e71f0707db3e08fa54204c9bc3687d5e6e\tfeat(infra): bake Alchemy in as apps/infra, one Effect Stack per project\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e218386e71f0707db3e08fa54204c9bc3687d5e6e\t2026-09-17\t1789697521\taab2bced16ce7e6f2a3d27e6ee6b3bae7714071b\tchore(deps): move XState to 6.0.0-alpha.58\n\nM\tAGENTS.md\nM\tREADME.md\n\u001eddeb33a7a024053aa64d91cc7cc8ee4862bcc0ab\t2026-09-17\t1789697246\t14a08e58fb07824ad0b2be98991c0fdd5f32b78f\tchore(deps): bump the pinned stack: Effect rc.115, Vitest 5, Oxlint 1.83, XState 5.33.2\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ebc2baaa8f90dbdc7238138a118268b31333d3461\t2026-09-17\t1789694601\t14a08e58fb07824ad0b2be98991c0fdd5f32b78f\tAdd varlock: checked-in .env.schema, env:check script, varlock load in pnpm check\n\nM\tAGENTS.md\nM\tREADME.md\n\u001e14a08e58fb07824ad0b2be98991c0fdd5f32b78f\t2026-08-29\t1788053945\t3c3c52928658e6f91871a99376a33a17e63876d1\tmonorepo rework + Effect 4.0.0-rc.112 + vendored alchemy\n\nM\tAGENTS.md\nM\tREADME.md\nM\tVISION.md\n\u001e3c3c52928658e6f91871a99376a33a17e63876d1\t2026-07-22\t1784737843\t80bcef7fe14b3b63f7ef63854eaac2f401d37b20\tchore: update Effect v4 to beta.99\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ea6c6dc34bb4da71d43000a13af556b6426c7e2fb\t2026-07-16\t1784225438\tf12746c1f466a4c040eb042bf1f68f14a871b7f5\tLive .pi surface: project.ts extension, APPEND_SYSTEM.md, typed pi API dep\n\nM\tAGENTS.md\nM\tREADME.md\n\u001ef12746c1f466a4c040eb042bf1f68f14a871b7f5\t2026-07-16\t1784223913\t584c338cd8bfe7014a1aba06ef5cc8115ee9f914\tAdd full agentic surface\n\nA\tAGENTS.md\nM\tREADME.md\nA\tVISION.md\n\u001e584c338cd8bfe7014a1aba06ef5cc8115ee9f914\t2026-07-16\t1784222529\t\tPrototype strict Effect v4 CLI template\n\nA\tREADME.md\n", + "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/agent-front-door.svx\"]": "2026-11-26\t96b6e0ba67be4cd707c069c2ac8f9d76612fbd74\n", + "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/all-stars.svx\"]": "2026-11-26\t96b6e0ba67be4cd707c069c2ac8f9d76612fbd74\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/analytics.svx\"]": "2026-11-09\ta0eae50e89321a9f5835a1478d97591a448f1f4f\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/auth.svx\"]": "2026-11-13\t1a2906bab0c511f7c1c61aea4ee1925c53cb82c8\n", - "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/capabilities.svx\"]": "2026-11-08\tc11e2936c0fe50773adc6d090e15cf82f3b04287\n", + "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/capabilities.svx\"]": "2026-11-26\t96b6e0ba67be4cd707c069c2ac8f9d76612fbd74\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/catalog.svx\"]": "2026-11-19\taf460b2787fb45913fcf67683aca53660becc0b5\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/database.svx\"]": "2026-11-08\tc11e2936c0fe50773adc6d090e15cf82f3b04287\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/devtools.svx\"]": "2026-10-07\tf77853d42e2561d5c2c37e0f6ba46c5a2e6a2bf2\n", @@ -271,7 +271,7 @@ "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/skills.svx\"]": "2026-11-24\t24c30d391713797b5c39e4056fc050258aa37eef\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/tube.svx\"]": "2026-11-15\ted9a8798c74529f88b051f6c6b39f97cc93143d7\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/turbo-cache.svx\"]": "2026-11-15\tc9b43377e76024c89c2ed6b3bf5e23c7ce86c271\n", - "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/web.svx\"]": "2026-11-23\t97fe891ff0e13ee1be211a749560858308957798\n", + "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/web.svx\"]": "2026-11-26\t96b6e0ba67be4cd707c069c2ac8f9d76612fbd74\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/webmcp.svx\"]": "2026-11-25\tad2a90024763646577228fac816e4ff928418fa7\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/areas/workshop-help.svx\"]": "2026-11-15\t769b6bae69e2e6e58f1c009366227e7f268690ae\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/bombadil-ui-property-tests.svx\"]": "2026-11-15\t66d2eb04b5ba9cdc433cf1dd1058954b2389f951\n", @@ -279,7 +279,7 @@ "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/learn-mode.svx\"]": "2026-10-10\t237eb0c5c0a4cfc874a7a85c7eb98841262aa5a1\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lint-rule-limits.svx\"]": "2026-10-24\tc525d23587790e57a6a482231f4278b44d1678fc\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/0xsero-dhh-omarchy-the-agent-os.svx\"]": "2026-10-07\t0c4cafba1b7d989150b0f63f14f180ec6f480683\n", - "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/a-browser-send-follows-one-path.svx\"]": "2026-11-08\tb8f4ccfee151b162d038c79d5a349df7f4a039e2\n", + "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/a-browser-send-follows-one-path.svx\"]": "2026-11-26\t96b6e0ba67be4cd707c069c2ac8f9d76612fbd74\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/a-clean-playground.svx\"]": "2026-10-07\te73c9d988d14d96d402bd2a9be6dd6cb9710a5f9\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/accumulate-independent-errors.svx\"]": "2026-11-14\t7ebff5fa1be9c76c030252e4f4fac340c65dc9ac\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/admission-controls-new-work.svx\"]": "2026-11-15\tbe327a37d50ace2fe975d7ee13adb8f1ab611c21\n", @@ -297,7 +297,7 @@ "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/build-time-work-stays-out-of-requests.svx\"]": "2026-11-13\t1a2906bab0c511f7c1c61aea4ee1925c53cb82c8\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/bulkheads-isolate-capacity.svx\"]": "2026-10-23\t58dc623195d25281ff94d964a4bccd032765ab54\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/cache-completed-values.svx\"]": "2026-10-08\tad718e1322b2a26dd423f12013ca85f86baaa903\n", - "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/cafe-stack.svx\"]": "2026-10-24\tc525d23587790e57a6a482231f4278b44d1678fc\n", + "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/cafe-stack.svx\"]": "2026-11-26\t01ac090377c5c8d1d609659909ce9048ff469540\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/capture-first.svx\"]": "2026-10-24\tc525d23587790e57a6a482231f4278b44d1678fc\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/cartridges.svx\"]": "2026-11-09\t41dd0fea7dd5645402db4b8650298505002ce34c\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/cascadiajs-2026-its-time-to-rethink-everything-theo-browne.svx\"]": "2026-10-07\te73c9d988d14d96d402bd2a9be6dd6cb9710a5f9\n", @@ -382,7 +382,7 @@ "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/retry-load-needs-a-budget.svx\"]": "2026-10-23\t58dc623195d25281ff94d964a4bccd032765ab54\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/retry-needs-idempotency.svx\"]": "2026-10-23\t58dc623195d25281ff94d964a4bccd032765ab54\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/run-effect-at-the-boundary.svx\"]": "2026-10-24\tc525d23587790e57a6a482231f4278b44d1678fc\n", - "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/sam-goodwin.svx\"]": "2026-10-09\t42ab7e2707ae66d7d8a4486d59c3a9cd9591d973\n", + "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/sam-goodwin.svx\"]": "2026-11-26\t96b6e0ba67be4cd707c069c2ac8f9d76612fbd74\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/schema-changes-need-a-transition.svx\"]": "2026-10-23\t58dc623195d25281ff94d964a4bccd032765ab54\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/schemas-define-the-boundary.svx\"]": "2026-10-18\te5c30770efa517b5587ad3b10d3b89235dbcbd1e\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/scopes-own-resources.svx\"]": "2026-10-24\tabefe399d4e32a22202eae765242a35f3b6e04a7\n", @@ -410,7 +410,7 @@ "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/tokenize-before-slicing.svx\"]": "2026-10-07\tf1a00f2b74b864413ada72042a56a26e87353976\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/trace-meaningful-operations.svx\"]": "2026-10-24\tc525d23587790e57a6a482231f4278b44d1678fc\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/two-lines-of-curl-is-a-front-door.svx\"]": "2026-10-24\tc525d23587790e57a6a482231f4278b44d1678fc\n", - "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/ui-behaviour-is-a-scene.svx\"]": "2026-11-02\td13054d22dfeb17af10d85e849e8b8e17f049a83\n", + "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/ui-behaviour-is-a-scene.svx\"]": "2026-11-26\t96b6e0ba67be4cd707c069c2ac8f9d76612fbd74\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/visakan-veerasamy.svx\"]": "2026-10-07\tf1a00f2b74b864413ada72042a56a26e87353976\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/why-javascript-is-broken-effect-michael-arnaldi.svx\"]": "2026-10-07\tf1a00f2b74b864413ada72042a56a26e87353976\n", "[\"rat-stack\",\"log\",\"-n\",\"1\",\"--date=short\",\"--format=%ad%x09%H\",\"--\",\".brain/resources/lore/workers-answer-requests-durable-objects-own-named-state.svx\"]": "2026-11-08\tfa39fa0919b6498e797807f2e6d74bfc5bb96625\n", @@ -624,7 +624,7 @@ "[\"rat-stack\",\"show\",\"HEAD:packages/code-snippets/src/pipeline.ts\"]": "import { Effect, Schema } from \"effect\";\n\nimport {\n CodeBuildFailed,\n CodeHighlightFailed,\n CodeHighlightOutsideRanges,\n CodeLineCapExceeded,\n CodeMissingCommit,\n CodeMissingPath,\n CodeRangeOutOfBounds,\n CodeSourceUnavailable,\n CodeUnknownRepo,\n UnknownLanguage,\n formatCodeError,\n} from \"./errors.ts\";\nimport type { CodeError } from \"./errors.ts\";\nimport {\n CodeRequest,\n codeIdentity,\n codeLineCap,\n errorContext,\n sourceLines,\n} from \"./model.ts\";\nimport type { CodeFence, Range, SnippetLine } from \"./model.ts\";\nimport { Drift, Highlighter, SourceRepository, sourceLink } from \"./ports.ts\";\nimport type { Diagnostics } from \"./ports.ts\";\nimport { parseCodeRequest } from \"./scanner.ts\";\nimport { CodeSnippet } from \"./stages/code-snippet.ts\";\nimport { HighlightedFile } from \"./stages/highlighted-file.ts\";\nimport { ResolvedCode } from \"./stages/resolved-code.ts\";\n\nexport const codeContentKey = (\n request: CodeRequest,\n source: string,\n fingerprint: string\n) =>\n JSON.stringify([\n request.repo,\n request.commit,\n request.path,\n request.reference ? \"\" : source,\n request.ranges,\n request.highlights,\n request.language,\n request.title,\n fingerprint,\n ]);\n\nexport interface FenceJob {\n readonly node: CodeFence;\n readonly sourcePath: string;\n}\n\nexport const shownLineNumbers = (ranges: readonly Range[]) =>\n ranges.flatMap((range) =>\n Array.from(\n { length: range.end - range.start + 1 },\n (_, index) => range.start + index\n )\n );\n\nconst sourceFailure = (\n request: CodeRequest,\n kind: \"repo\" | \"commit\" | \"path\" | \"unavailable\"\n) => {\n if (kind === \"repo\") {\n return new CodeUnknownRepo(\n errorContext(\n request,\n \"Use an id from the configured repository registry.\"\n )\n );\n }\n\n if (kind === \"commit\") {\n return new CodeMissingCommit(\n errorContext(\n request,\n `Commit ${request.commit} isn't in ${request.repo}'s local objects. Run pnpm sources:fetch (template children: once, after creating the repo).`\n )\n );\n }\n\n if (kind === \"path\") {\n return new CodeMissingPath(\n errorContext(\n request,\n \"File is not a blob at this commit; correct path or at.\"\n )\n );\n }\n\n return new CodeSourceUnavailable(\n errorContext(\n request,\n \"Git objects are unavailable; run pnpm sources:fetch or use a full clone containing the pinned history.\"\n )\n );\n};\n\nconst resolveCode = Effect.fn(\"resolveCode\")(function* resolveCode(\n request: CodeRequest\n) {\n const mirror = yield* SourceRepository;\n\n const source = request.reference\n ? yield* mirror\n .resolve(request.repo, request.commit, request.path)\n .pipe(Effect.mapError((error) => sourceFailure(request, error.kind)))\n : request.body;\n\n const actualLength = sourceLines(source).length;\n\n const ranges = request.reference\n ? request.ranges\n : [{ end: actualLength, start: 1 }];\n\n for (const range of ranges) {\n if (range.end > actualLength || range.start > actualLength) {\n return yield* new CodeRangeOutOfBounds(\n errorContext(\n request,\n `File has ${actualLength} lines; range ${range.start}-${range.end} ends past it. Choose lines within the file.`,\n actualLength\n )\n );\n }\n }\n\n const visibleCount = ranges.reduce(\n (count, range) => count + range.end - range.start + 1,\n 0\n );\n\n if (request.configured && visibleCount > codeLineCap) {\n return yield* new CodeLineCapExceeded(\n errorContext(\n request,\n `${visibleCount} visible lines exceeds the ${codeLineCap}-line cap; choose a shorter excerpt.`,\n actualLength\n )\n );\n }\n\n const visible = shownLineNumbers(ranges);\n const visibleSet = new Set(visible);\n\n for (const range of request.highlights) {\n for (let line = range.start; line <= range.end; line += 1) {\n if (!visibleSet.has(line)) {\n return yield* new CodeHighlightOutsideRanges(\n errorContext(\n request,\n `Highlighted line ${line} is not shown; highlight only visible lines.`,\n actualLength\n )\n );\n }\n }\n }\n\n return new ResolvedCode({\n actualLength,\n request: new CodeRequest({\n body: request.body,\n commit: request.commit,\n configured: request.configured,\n highlights: request.highlights,\n language: request.language,\n line: request.line,\n path: request.path,\n rangeText: request.rangeText,\n ranges,\n reference: request.reference,\n repo: request.repo,\n sourcePath: request.sourcePath,\n title: request.title,\n }),\n source,\n });\n});\n\nexport const decorateCode = Effect.fn(\"decorateCode\")(function* decorateCode(\n file: HighlightedFile,\n url?: string\n) {\n const { request, source } = file.resolved;\n const original = sourceLines(source);\n const visible = shownLineNumbers(request.ranges);\n const highlighted = new Set(shownLineNumbers(request.highlights));\n const lines: (typeof SnippetLine.Type)[] = [];\n let previous = 0;\n\n for (const number of visible) {\n const text = original[number - 1];\n const tokens = file.tokens[number - 1];\n\n if (\n text === undefined ||\n tokens === undefined ||\n tokens.map((token) => token.text).join(\"\") !== text\n ) {\n return yield* new CodeHighlightFailed(\n errorContext(\n request,\n `Highlighter did not preserve source line ${number}; check the engine adapter token output.`,\n file.resolved.actualLength\n )\n );\n }\n\n lines.push({\n gapBefore: previous === 0 ? 0 : number - previous - 1,\n highlighted: highlighted.has(number),\n number,\n text,\n tokens,\n });\n previous = number;\n }\n\n return new CodeSnippet({ lines, request, url: url ?? \"\" });\n});\n\nexport const renderCode = Effect.fn(\"renderCode\")(function* renderCode(\n request: CodeRequest\n) {\n const highlighter = yield* Highlighter;\n const drift = yield* Drift;\n const resolved = yield* resolveCode(request);\n\n const canonicalLanguage =\n highlighter.aliases()[request.language] ?? request.language;\n\n if (!highlighter.languages().includes(canonicalLanguage)) {\n return yield* new UnknownLanguage(\n errorContext(\n request,\n `Unknown language ${request.language}; use an active-engine language or explicit text.`,\n resolved.actualLength\n )\n );\n }\n\n const repository = yield* SourceRepository;\n\n const tokens = yield* highlighter\n .tokens(\n resolved.source,\n canonicalLanguage,\n request.reference\n ? JSON.stringify([request.repo, request.commit, request.path])\n : resolved.source\n )\n .pipe(\n Effect.mapError((error) =>\n error.kind === \"language\"\n ? new UnknownLanguage(\n errorContext(\n request,\n `Unknown language ${request.language}; use an active-engine language or explicit text.`,\n resolved.actualLength\n )\n )\n : new CodeHighlightFailed(\n errorContext(\n request,\n \"Highlighter could not tokenize this file; check the language and source encoding.\",\n resolved.actualLength\n )\n )\n )\n );\n\n const file = yield* Schema.decodeEffect(HighlightedFile)({\n resolved,\n tokens,\n }).pipe(\n Effect.mapError(\n (cause) =>\n new CodeHighlightFailed({\n ...errorContext(\n request,\n \"Highlighter returned invalid tokens; check the active engine version.\",\n resolved.actualLength\n ),\n cause,\n })\n )\n );\n\n return {\n diagnostics: yield* drift.check(request, resolved.source),\n snippet: yield* decorateCode(\n file,\n sourceLink(\n repository.repositories.find((entry) => entry.id === request.repo),\n file.resolved.request\n )\n ),\n };\n});\n\nexport const prepareCode = Effect.fn(\"prepareCode\")(function* prepareCode(\n jobs: readonly FenceJob[]\n) {\n const snippets = new Map();\n const renderCache = new Map();\n const diagnostics: Diagnostics[] = [];\n yield* Effect.validate(jobs, ({ node, sourcePath }) =>\n Effect.gen(function* validateFence() {\n const request = yield* parseCodeRequest(node, sourcePath);\n const highlighter = yield* Highlighter;\n\n const canonicalLanguage =\n highlighter.aliases()[request.language] ?? request.language;\n\n if (!request.configured) {\n if (!highlighter.languages().includes(canonicalLanguage)) {\n return yield* new UnknownLanguage(\n errorContext(\n request,\n `Unknown language ${request.language}; use an active-engine language or explicit text.`\n )\n );\n }\n\n yield* highlighter\n .tokens(request.body, canonicalLanguage, request.body)\n .pipe(\n Effect.mapError(\n (cause) =>\n new CodeHighlightFailed({\n ...errorContext(\n request,\n \"Highlighter could not load this grammar; check the pinned engine version.\"\n ),\n cause,\n })\n )\n );\n\n return null;\n }\n\n const { snippet, diagnostics: warnings } = yield* renderCode(request);\n\n const key = codeContentKey(\n snippet.request,\n request.body,\n highlighter.fingerprint\n );\n\n const cached = renderCache.get(key) ?? snippet;\n renderCache.set(key, cached);\n snippets.set(codeIdentity(node), cached);\n diagnostics.push(...warnings);\n\n return null;\n })\n ).pipe(\n Effect.mapError(\n (errors: readonly CodeError[]) =>\n new CodeBuildFailed({\n failures: errors,\n messages: errors.map(formatCodeError),\n })\n )\n );\n\n return { diagnostics, snippets };\n});\n", "[\"rat-stack\",\"show\",\"HEAD:packages/code-snippets/src/scanner.ts\"]": "import { Effect, Schema } from \"effect\";\n\nimport {\n CodeBodyWithReference,\n CodeDuplicateKey,\n CodeInvalidProps,\n CodeInvalidRanges,\n CodeMalformedMeta,\n CodeUnknownKey,\n} from \"./errors.ts\";\nimport {\n CodeRequest,\n RangeSchema,\n extensions,\n normalizeCodeLanguage,\n} from \"./model.ts\";\nimport type { CodeFence, Range } from \"./model.ts\";\n\ntype ErrorContext = Omit<\n ConstructorParameters[0],\n \"_tag\"\n>;\n\ntype ContextFor = (fix: string) => ErrorContext;\n\nconst whitespace = (char: string) =>\n char === \" \" || char === \"\\t\" || char === \"\\n\" || char === \"\\r\";\n\nconst digits = (value: string) => {\n for (let index = 0; index < value.length; index += 1) {\n const char = value.charAt(index);\n\n if (char < \"0\" || char > \"9\") {\n return false;\n }\n }\n\n return value !== \"\";\n};\n\nconst allowedKeys = new Set([\n \"repo\",\n \"path\",\n \"at\",\n \"lines\",\n \"title\",\n \"nocheck\",\n]);\n\nconst quotedString = Schema.fromJsonString(Schema.String);\n\nconst scanValue = Effect.fn(\"scanValue\")(function* scanValue(\n meta: string,\n start: number,\n key: string,\n context: ContextFor\n) {\n let end = start;\n\n if (meta.charAt(start) !== '\"') {\n while (end < meta.length && !whitespace(meta.charAt(end))) {\n end += 1;\n }\n\n return { end, value: meta.slice(start, end) };\n }\n\n end += 1;\n let escaped = false;\n\n while (end < meta.length) {\n const char = meta.charAt(end);\n\n if (!escaped && char === '\"') {\n const value = yield* Schema.decodeEffect(quotedString)(\n meta.slice(start, end + 1)\n ).pipe(\n Effect.mapError(\n (cause) =>\n new CodeMalformedMeta({\n ...context(`Use a valid quoted ${key} string.`),\n cause,\n })\n )\n );\n\n return { end: end + 1, value };\n }\n\n escaped = !escaped && char === \"\\\\\";\n end += 1;\n }\n\n return yield* new CodeMalformedMeta(\n context(`Close the quoted ${key} value.`)\n );\n});\n\nconst scanPair = Effect.fn(\"scanPair\")(function* scanPair(\n meta: string,\n start: number,\n fields: Readonly>,\n context: ContextFor\n) {\n let cursor = start;\n\n while (\n cursor < meta.length &&\n !whitespace(meta.charAt(cursor)) &&\n meta.charAt(cursor) !== \"=\"\n ) {\n cursor += 1;\n }\n\n const key = meta.slice(start, cursor);\n\n if (meta.charAt(cursor) !== \"=\") {\n return yield* new CodeMalformedMeta(\n context('Write metadata as key=value or key=\"quoted value\".')\n );\n }\n\n if (!allowedKeys.has(key)) {\n return yield* new CodeUnknownKey(\n context(\n `Unknown key ${key}; use repo, path, at, lines, title or nocheck.`\n )\n );\n }\n\n if (Object.hasOwn(fields, key)) {\n return yield* new CodeDuplicateKey(context(`Remove duplicate ${key}.`));\n }\n\n const { end, value } = yield* scanValue(meta, cursor + 1, key, context);\n\n if (value === \"\" || (end < meta.length && !whitespace(meta.charAt(end)))) {\n return yield* new CodeMalformedMeta(\n context(\n `Give ${key} a value and separate metadata items with whitespace.`\n )\n );\n }\n\n return { end, key, value };\n});\n\nconst parseRanges = Effect.fn(\"parseRanges\")(function* parseRanges(\n value: string,\n label: string,\n context: ContextFor\n): Effect.fn.Return {\n if (value === \"\") {\n return [];\n }\n\n const ranges: Range[] = [];\n\n for (const part of value.split(\",\")) {\n const pair = part.split(\"-\");\n const start = Number(pair[0]);\n const end = Number(pair[1] ?? pair[0]);\n\n const parsed = yield* Schema.decodeEffect(RangeSchema)({ end, start }).pipe(\n Effect.mapError(\n (cause) =>\n new CodeInvalidRanges({\n ...context(\n `Use positive line numbers or ranges for ${label}, such as 3,5-7.`\n ),\n cause,\n })\n )\n );\n\n if (\n pair.length > 2 ||\n !pair.every(digits) ||\n end < start ||\n (ranges.at(-1)?.end ?? 0) >= start\n ) {\n return yield* new CodeInvalidRanges(\n context(`Order ${label} without overlaps, such as 3,5-7.`)\n );\n }\n\n ranges.push(parsed);\n }\n\n return ranges;\n});\n\nconst validCommit = (value: string) => {\n for (let index = 0; index < value.length; index += 1) {\n const char = value.charAt(index);\n\n if (!(char >= \"0\" && char <= \"9\") && !(char >= \"a\" && char <= \"f\")) {\n return false;\n }\n }\n\n return value.length === 40;\n};\n\nconst validPath = (value: string) =>\n !value.startsWith(\"/\") &&\n !value.includes(\":\") &&\n !value\n .split(\"/\")\n .some((part) => part === \"..\" || part === \"\" || part === \".\");\n\nconst validateReference = Effect.fn(\"validateReference\")(\n function* validateReference(\n fields: Readonly>,\n body: string,\n context: ContextFor\n ) {\n if (fields.path === undefined) {\n if ([\"repo\", \"at\", \"lines\"].some((key) => fields[key] !== undefined)) {\n return yield* new CodeInvalidProps(\n context(\"Add path for a pinned reference, or remove repo/at/lines.\")\n );\n }\n\n return false;\n }\n\n if (fields.nocheck !== undefined) {\n return yield* new CodeInvalidProps(\n context(\n \"Remove nocheck; a pinned reference compiles in the file it quotes.\"\n )\n );\n }\n\n if (body.trim() !== \"\") {\n return yield* new CodeBodyWithReference(\n context(\n \"Remove the fence body; path references read their content from Git.\"\n )\n );\n }\n\n if (!validCommit(fields.at ?? \"\")) {\n return yield* new CodeInvalidProps(\n context(\"Pin at to a full 40-character lowercase commit SHA.\")\n );\n }\n\n if (!validPath(fields.path)) {\n return yield* new CodeInvalidProps(\n context(\n \"Use a repository-relative file path without traversal or colons.\"\n )\n );\n }\n\n return true;\n }\n);\n\nconst scannedRequest = Effect.fn(\"scannedRequest\")(function* scannedRequest(\n node: CodeFence,\n sourcePath: string,\n fields: Readonly>,\n highlightText: string | undefined,\n configured: boolean,\n language: string,\n context: ContextFor\n) {\n const reference = yield* validateReference(fields, node.value, context);\n const ranges = yield* parseRanges(fields.lines ?? \"\", \"lines\", context);\n\n if (reference && ranges.length === 0) {\n return yield* new CodeInvalidRanges(\n context(\"Set lines to the excerpt, such as lines=3-7.\")\n );\n }\n\n if (highlightText === \"\") {\n return yield* new CodeMalformedMeta(\n context(\"Put line numbers inside the highlight set, such as {3,5-7}.\")\n );\n }\n\n const highlights = yield* parseRanges(\n highlightText ?? \"\",\n \"highlights\",\n context\n ).pipe(Effect.mapError((error) => new CodeMalformedMeta(context(error.fix))));\n\n const selectedLanguage =\n language === \"\"\n ? (extensions.get(fields.path?.split(\".\").at(-1) ?? \"\") ?? \"markdown\")\n : normalizeCodeLanguage(language);\n\n return yield* Schema.decodeEffect(CodeRequest)({\n body: node.value,\n commit: fields.at ?? \"\",\n configured,\n highlights,\n language: selectedLanguage,\n line: node.line,\n noCheck: fields.nocheck,\n path: fields.path ?? \"\",\n rangeText: fields.lines ?? \"all\",\n ranges,\n reference,\n repo: fields.repo ?? \"rat-stack\",\n sourcePath,\n title: fields.title ?? fields.path?.split(\"/\").at(-1) ?? \"Code\",\n }).pipe(\n Effect.mapError(\n (cause) =>\n new CodeInvalidProps({\n ...context(\"Use the documented fence metadata grammar.\"),\n cause,\n })\n )\n );\n});\n\nexport const parseCodeRequest = Effect.fn(\"parseCodeRequest\")(\n function* parseCodeRequest(node: CodeFence, sourcePath: string) {\n const rawLanguage = node.lang ?? \"\";\n\n const hasLanguage =\n rawLanguage !== \"\" &&\n !rawLanguage.includes(\"=\") &&\n !rawLanguage.startsWith(\"{\");\n\n const meta = [hasLanguage ? \"\" : rawLanguage, node.meta ?? \"\"]\n .filter((part) => part !== \"\")\n .join(\" \");\n\n const fields: Record = {};\n let highlightText: string | undefined;\n let cursor = 0;\n\n const context: ContextFor = (fix) => ({\n actualLength: null,\n commit: fields.at ?? \"\",\n fix,\n line: node.line,\n path: fields.path ?? \"\",\n ranges: fields.lines ?? \"all\",\n repo: fields.repo ?? \"rat-stack\",\n sourcePath,\n });\n\n while (cursor < meta.length) {\n if (whitespace(meta.charAt(cursor))) {\n cursor += 1;\n continue;\n }\n\n if (meta.charAt(cursor) === \"{\") {\n if (highlightText !== undefined) {\n return yield* new CodeDuplicateKey(\n context(\"Use one {line,ranges} highlight set.\")\n );\n }\n\n const end = meta.indexOf(\"}\", cursor + 1);\n\n if (end === -1) {\n return yield* new CodeMalformedMeta(\n context(\"Close the highlight set with }.\")\n );\n }\n\n highlightText = meta.slice(cursor + 1, end);\n cursor = end + 1;\n\n if (cursor < meta.length && !whitespace(meta.charAt(cursor))) {\n return yield* new CodeMalformedMeta(\n context(\"Separate metadata items with whitespace.\")\n );\n }\n } else {\n const item = yield* scanPair(meta, cursor, fields, context);\n fields[item.key] = item.value;\n cursor = item.end;\n }\n }\n\n return yield* scannedRequest(\n node,\n sourcePath,\n fields,\n highlightText,\n highlightText !== undefined ||\n Object.keys(fields).some((key) => key !== \"nocheck\"),\n hasLanguage ? rawLanguage : \"\",\n context\n );\n }\n);\n\nexport const printCodeRequest = (request: CodeRequest): CodeFence => {\n const lines =\n request.rangeText === \"all\"\n ? \"\"\n : `lines=${JSON.stringify(request.rangeText)} `;\n\n const fields = request.reference\n ? `repo=${JSON.stringify(request.repo)} path=${JSON.stringify(request.path)} at=${request.commit} ${lines}`\n : \"\";\n\n const highlights =\n request.highlights.length === 0\n ? \"\"\n : `{${request.highlights.map((range) => (range.start === range.end ? String(range.start) : `${range.start}-${range.end}`)).join(\",\")}} `;\n\n const noCheck =\n request.noCheck === undefined\n ? []\n : [`nocheck=${JSON.stringify(request.noCheck)}`];\n\n const meta = [\n ...(request.configured\n ? [`${fields}${highlights}title=${JSON.stringify(request.title)}`]\n : []),\n ...noCheck,\n ].join(\" \");\n\n return {\n lang: request.language,\n line: request.line,\n meta: meta === \"\" ? null : meta,\n value: request.body,\n };\n};\n\nexport const isConfiguredFence = (node: CodeFence) =>\n Effect.runSync(\n parseCodeRequest(node, \"\").pipe(\n Effect.map((request) => request.configured),\n Effect.orElseSucceed(() => true)\n )\n );\n", "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/app-config.ts\"]": "import { Config } from \"effect\";\n\nimport { ConfigService } from \"./config-service.js\";\n\nexport class AppConfig extends ConfigService.Service()(\n \"@rat-stack/core/AppConfig\",\n {\n appEnv: Config.Literals(\n [\"development\", \"test\", \"production\"],\n \"APP_ENV\"\n ).pipe(Config.withDefault(\"development\")),\n }\n) {}\n", - "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/contracts.ts\"]": "import { defineContract } from \"@rat-stack/capability/contract\";\nimport { Schema } from \"effect\";\n\nimport { AssetReadError } from \"./asset-read-error.js\";\nimport {\n CafeNewsList,\n CafeNewsQuery,\n CafePeopleForList,\n CafePeopleForQuery,\n CafePeopleList,\n CafePeopleMatches,\n CafePeopleQuery,\n CafePeopleSearchQuery,\n CafeProfile,\n CafeProjectList,\n CafeProjectQuery,\n} from \"./cafe.js\";\nimport { NoPath } from \"./no-path.js\";\nimport { FileStatsError, FileStatsSchema } from \"./stats.js\";\nimport { UnknownPage } from \"./unknown-page.js\";\nimport { UnknownPerson } from \"./unknown-person.js\";\nimport { UnknownPrompt } from \"./unknown-prompt.js\";\n\nexport {\n getFlagContract,\n listFlagsContract,\n flipFeatureFlagContract,\n recordFlagEvidenceContract,\n readFlagLedgerContract,\n} from \"./flag-contracts.js\";\n\nexport { UnknownPrompt } from \"./unknown-prompt.js\";\n\nexport { UnknownPerson } from \"./unknown-person.js\";\n\nexport { AssetReadError } from \"./asset-read-error.js\";\n\nexport {\n CAFE_AGE_DAYS_PER_POINT,\n CAFE_AUTHOR_MINIMUM,\n CAFE_DEFAULT_EDITORIAL,\n CAFE_DEFAULT_SUBSTANCE,\n CAFE_DIVERSITY_PENALTY,\n CAFE_EDITORIAL_MAX,\n CAFE_MIDRANK_SHARE,\n CAFE_NEUTRAL_PERCENTILE,\n CAFE_PEER_LIMIT,\n CAFE_PEER_POINTS,\n CAFE_POPULARITY_POINTS,\n CAFE_TOPIC_PENALTY,\n AvatarPath,\n CafeAuthor,\n CafeData,\n CafeEngagement,\n CafeEvidence,\n CafeFact,\n CafeHandle,\n CafeHandleKind,\n CafeInterest,\n CafeLetter,\n CafeNewsItem,\n CafeNewsKind,\n CafeNewsList,\n CafeNewsQuery,\n CafeNewsSort,\n CafePackageFact,\n CafePeopleForList,\n CafePeopleForQuery,\n CafePeopleList,\n CafePeopleMatches,\n CafePeopleQuery,\n CafePeopleSearchQuery,\n CafePerson,\n CafePersonEntry,\n CafePersonKind,\n CafePersonRepo,\n CafePersonSummary,\n CafeProfile,\n CafeProject,\n CafeProjectList,\n CafeProjectQuery,\n CafeProjectSort,\n CafeReply,\n CafeStackEvidence,\n CafeStory,\n CafeThread,\n CafeTopic,\n CafeTopicFact,\n CafeVideo,\n GithubLogin,\n HttpsUrl,\n IsoDate,\n OneLine,\n PackageName,\n PersonId,\n RankedCafeNewsItem,\n RepoName,\n ReplyText,\n XHandle,\n XStatusUrl,\n cafeDomain,\n cafeLetterInitial,\n cafeLetters,\n cafeRankedAt,\n cafeSubstancePoints,\n filterCafeProjects,\n githubProfileUrl,\n rankCafeNews,\n selectCafeNews,\n selectCafeProjects,\n sortCafeNewsNewest,\n sortCafeProjects,\n verifiedLetters,\n xProfileUrl,\n} from \"./cafe.js\";\n\nexport type {\n CafeDataValue,\n CafeEngagementValue,\n CafeLetterValue,\n CafeNewsItemValue,\n CafeNewsKindValue,\n CafePersonValue,\n CafeProfileValue,\n CafeProjectValue,\n IsoDateValue,\n RankedCafeNewsItemValue,\n} from \"./cafe.js\";\n\nexport {\n CardSchema,\n ConceptProgressSchema,\n LearnContextSchema,\n LearnDepthSchema,\n LearnEventSchema,\n LearnPreferencesSchema,\n ProgressSchema,\n} from \"./learn-model.js\";\n\nexport {\n learnCardContract,\n learnDeckContract,\n learnNextContract,\n learnPreferencesContract,\n learnRecordContract,\n learnSetPreferencesContract,\n} from \"./learn-contracts.js\";\n\nexport {\n learnFeedbackContract,\n learnFeedbackPollContract,\n learnFeedbackStartContract,\n} from \"./learn-feedback.js\";\n\nexport { NoPath } from \"./no-path.js\";\n\nexport { UnknownPage } from \"./unknown-page.js\";\n\nconst ContentKind = Schema.Literals([\"law\", \"skill\", \"lore\", \"prompt\"]);\n\nexport const SearchMatch = Schema.Struct({\n description: Schema.String,\n digest: Schema.String,\n excerpt: Schema.String,\n id: Schema.String,\n kind: ContentKind,\n routePath: Schema.String,\n score: Schema.Finite,\n title: Schema.String,\n});\n\nexport const SearchOutput = Schema.Struct({\n matches: Schema.Array(SearchMatch),\n total: Schema.Finite,\n});\n\nexport const ReadOutput = Schema.Struct({\n description: Schema.String,\n digest: Schema.String,\n id: Schema.String,\n kind: ContentKind,\n routePath: Schema.String,\n sourcePath: Schema.String,\n text: Schema.String,\n title: Schema.String,\n});\n\nexport class ResourceNotFound extends Schema.TaggedError<\n ResourceNotFound,\n { readonly brand: unique symbol }\n>()(\"ResourceNotFound\", {\n id: Schema.String,\n message: Schema.String,\n}) {}\n\nexport const LoreGroup = Schema.Literals([\n \"idea\",\n \"concept\",\n \"source\",\n \"person\",\n \"system\",\n]);\n\nexport const LorePageReference = Schema.Struct({\n group: Schema.String,\n id: Schema.String,\n title: Schema.String,\n url: Schema.String,\n});\n\nexport const LoreNode = Schema.Struct({\n description: Schema.String,\n group: LoreGroup,\n id: Schema.String,\n slug: Schema.String,\n terms: Schema.Array(Schema.String),\n title: Schema.String,\n url: Schema.String,\n});\n\nexport const LoreEdgeKind = Schema.Literals([\"link\", \"citation\", \"mention\"]);\n\nexport const LoreEdge = Schema.Struct({\n excerpt: Schema.optional(Schema.String),\n from: LorePageReference,\n kind: LoreEdgeKind,\n to: LorePageReference,\n});\n\nexport const BacklinksOutput = Schema.Struct({\n backlinks: Schema.Array(\n Schema.Struct({\n kind: LoreEdgeKind,\n page: LorePageReference,\n })\n ),\n});\n\nexport const NeighborsOutput = Schema.Struct({\n neighbors: Schema.Array(\n Schema.Struct({\n distance: Schema.Finite,\n node: LoreNode,\n })\n ),\n});\n\nexport const MentionsOutput = Schema.Struct({\n mentions: Schema.Array(\n Schema.Struct({\n excerpt: Schema.String,\n page: LorePageReference,\n })\n ),\n});\n\nexport const LorePathOutput = Schema.Struct({\n edges: Schema.Array(LoreEdge),\n nodes: Schema.Array(LoreNode),\n});\n\nexport const backlinksContract = defineContract(\"backlinks\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"List pages that link to or mention one lore page\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({ slug: Schema.String }),\n output: BacklinksOutput,\n});\n\nexport const neighborsContract = defineContract(\"neighbors\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List lore pages within one or two incoming or outgoing graph hops\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({\n depth: Schema.Literals([1, 2]),\n slug: Schema.String,\n }),\n output: NeighborsOutput,\n});\n\nexport const mentionsContract = defineContract(\"mentions\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Find unlinked mentions of one lore page and show their excerpts\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({ slug: Schema.String }),\n output: MentionsOutput,\n});\n\nexport const pathContract = defineContract(\"path\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Find the shortest undirected chain between two lore pages\",\n failure: Schema.Union([UnknownPage, NoPath, AssetReadError]),\n input: Schema.Struct({ from: Schema.String, to: Schema.String }),\n output: LorePathOutput,\n});\n\nexport const inspectFileContract = defineContract(\"inspectFile\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Count bytes, characters, words, and lines in a file\",\n failure: FileStatsError,\n input: Schema.Struct({\n path: Schema.String.annotate({ description: \"File to inspect\" }),\n }),\n output: FileStatsSchema,\n});\n\nexport const PromptSlug = Schema.String.check(\n Schema.isPattern(/^[a-z0-9]+(?:-[a-z0-9]+)*$/u)\n);\n\nexport const PromptSummary = Schema.Struct({\n credit: Schema.String,\n description: Schema.String.check(Schema.isPattern(/\\S/u)),\n slug: PromptSlug,\n title: Schema.String.check(Schema.isPattern(/\\S/u)),\n});\n\nexport const Prompt = Schema.Struct({\n ...PromptSummary.fields,\n body: Schema.String.check(Schema.isPattern(/\\S/u)),\n});\n\nexport const listPromptsContract = defineContract(\"listPrompts\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"List copyable rat-stack agent prompts\",\n failure: AssetReadError,\n input: Schema.Struct({}),\n output: Schema.Struct({ prompts: Schema.Array(PromptSummary) }),\n});\n\nexport const getPromptContract = defineContract(\"getPrompt\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Read one complete rat-stack agent prompt by slug\",\n failure: Schema.Union([UnknownPrompt, AssetReadError]),\n input: Schema.Struct({ slug: PromptSlug }),\n output: Prompt,\n});\n\nexport const listCafeNewsContract = defineContract(\"listCafeNews\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List reviewed CAFE stack news: Cloudflare, Alchemy, Foldkit and Effect releases, posts, videos, launches and X threads. Sort by interest rank or newest, and filter by kind. Each reviewed entry includes its reason for appearing.\",\n failure: AssetReadError,\n input: CafeNewsQuery,\n output: CafeNewsList,\n});\n\nexport const listCafeProjectsContract = defineContract(\"listCafeProjects\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List reviewed projects built on the CAFE stack, with per-letter stack evidence. Filter to projects that use every given letter and sort by last update or stars.\",\n failure: AssetReadError,\n input: CafeProjectQuery,\n output: CafeProjectList,\n});\n\nexport const listPeopleContract = defineContract(\"listPeople\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List CAFE all stars: people and channels with public CAFE work, with stable ids for readPerson.\",\n failure: AssetReadError,\n input: CafePeopleQuery,\n output: CafePeopleList,\n});\n\nexport const listChannelsContract = defineContract(\"listChannels\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List CAFE all-star channels: YouTube channels, GitHub orgs and blogs.\",\n failure: AssetReadError,\n input: Schema.Struct({ limit: CafePeopleQuery.fields.limit }),\n output: CafePeopleList,\n});\n\nexport const readPersonContract = defineContract(\"readPerson\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Read one CAFE all-star profile by id. Every fact has a source URL and a verified date; newsRows are newest first.\",\n failure: Schema.Union([UnknownPerson, AssetReadError]),\n input: Schema.Struct({ id: Schema.String }),\n output: CafeProfile,\n});\n\nexport const searchPeopleContract = defineContract(\"searchPeople\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Search CAFE all stars by name, handle, topic, package, repo, bio or video words.\",\n failure: AssetReadError,\n input: CafePeopleSearchQuery,\n output: CafePeopleMatches,\n});\n\nexport const peopleForContract = defineContract(\"peopleFor\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n 'Find CAFE all stars whose topics or packages cover every term, such as [\"foldkit\", \"d1\"], with sourced evidence.',\n failure: AssetReadError,\n input: CafePeopleForQuery,\n output: CafePeopleForList,\n});\n\nexport const searchContract = defineContract(\"search\", {\n annotations: { idempotent: true, readOnly: true, title: \"Search Rat Stack\" },\n description:\n \"Search rat-stack repository law and skills. Returns stable resource ids for read.\",\n failure: AssetReadError,\n input: Schema.Struct({\n limit: Schema.optional(Schema.Finite),\n query: Schema.String,\n }),\n output: SearchOutput,\n});\n\nexport const readContract = defineContract(\"read\", {\n annotations: {\n idempotent: true,\n readOnly: true,\n title: \"Read a Rat Stack document\",\n },\n description:\n \"Read one exact rat-stack law or skill document by the resource id returned from search.\",\n failure: Schema.Union([ResourceNotFound, AssetReadError]),\n input: Schema.Struct({ id: Schema.String }),\n output: ReadOutput,\n});\n", + "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/contracts.ts\"]": "import { defineContract } from \"@rat-stack/capability/contract\";\nimport { Schema } from \"effect\";\n\nimport { AssetReadError } from \"./asset-read-error.js\";\nimport {\n CafeNewsList,\n CafeNewsQuery,\n CafePeopleForList,\n CafePeopleForQuery,\n CafePeopleList,\n CafePeopleMatches,\n CafePeopleQuery,\n CafePeopleSearchQuery,\n CafeProfile,\n CafeProjectList,\n CafeProjectQuery,\n} from \"./cafe.js\";\nimport { NoPath } from \"./no-path.js\";\nimport { FileStatsError, FileStatsSchema } from \"./stats.js\";\nimport { UnknownPage } from \"./unknown-page.js\";\nimport { UnknownPerson } from \"./unknown-person.js\";\nimport { UnknownPrompt } from \"./unknown-prompt.js\";\n\nexport {\n getFlagContract,\n listFlagsContract,\n flipFeatureFlagContract,\n recordFlagEvidenceContract,\n readFlagLedgerContract,\n} from \"./flag-contracts.js\";\n\nexport { UnknownPrompt } from \"./unknown-prompt.js\";\n\nexport { UnknownPerson } from \"./unknown-person.js\";\n\nexport { AssetReadError } from \"./asset-read-error.js\";\n\nexport {\n CAFE_AGE_DAYS_PER_POINT,\n CAFE_AUTHOR_MINIMUM,\n CAFE_DEFAULT_EDITORIAL,\n CAFE_DEFAULT_SUBSTANCE,\n CAFE_DIVERSITY_PENALTY,\n CAFE_EDITORIAL_MAX,\n CAFE_MIDRANK_SHARE,\n CAFE_NEUTRAL_PERCENTILE,\n CAFE_PEER_LIMIT,\n CAFE_PEER_POINTS,\n CAFE_POPULARITY_POINTS,\n CAFE_TOPIC_PENALTY,\n AvatarPath,\n CafeAuthor,\n CafeData,\n CafeEngagement,\n CafeEvidence,\n CafeFact,\n CafeHandle,\n CafeHandleKind,\n CafeInterest,\n CafeLetter,\n CafeNewsItem,\n CafeNewsKind,\n CafeNewsList,\n CafeNewsQuery,\n CafeNewsSort,\n CafePackageFact,\n CafePeopleForList,\n CafePeopleForQuery,\n CafePeopleList,\n CafePeopleMatches,\n CafePeopleQuery,\n CafePeopleSearchQuery,\n CafePerson,\n CafePersonEntry,\n CafePersonKind,\n CafePersonRepo,\n CafePersonSummary,\n CafeProfile,\n CafeProject,\n CafeProjectList,\n CafeProjectQuery,\n CafeProjectSort,\n CafeReply,\n CafeStackEvidence,\n CafeStory,\n CafeThread,\n CafeTopic,\n CafeTopicFact,\n CafeVideo,\n GithubLogin,\n HttpsUrl,\n IsoDate,\n OneLine,\n PackageName,\n PersonId,\n RankedCafeNewsItem,\n RepoName,\n ReplyText,\n XHandle,\n XStatusUrl,\n cafeDomain,\n cafeLetterInitial,\n cafeLetters,\n cafeRankedAt,\n cafeSubstancePoints,\n filterCafeProjects,\n githubProfileUrl,\n rankCafeNews,\n selectCafeNews,\n selectCafeProjects,\n sortCafeNewsNewest,\n sortCafeProjects,\n verifiedLetters,\n xProfileUrl,\n} from \"./cafe.js\";\n\nexport type {\n CafeDataValue,\n CafeEngagementValue,\n CafeLetterValue,\n CafeNewsItemValue,\n CafeNewsKindValue,\n CafePersonValue,\n CafeProfileValue,\n CafeProjectValue,\n IsoDateValue,\n RankedCafeNewsItemValue,\n} from \"./cafe.js\";\n\nexport {\n CardSchema,\n ConceptProgressSchema,\n LearnContextSchema,\n LearnDepthSchema,\n LearnEventSchema,\n LearnPreferencesSchema,\n ProgressSchema,\n} from \"./learn-model.js\";\n\nexport {\n learnCardContract,\n learnDeckContract,\n learnNextContract,\n learnPreferencesContract,\n learnRecordContract,\n learnSetPreferencesContract,\n} from \"./learn-contracts.js\";\n\nexport {\n learnFeedbackContract,\n learnFeedbackPollContract,\n learnFeedbackStartContract,\n} from \"./learn-feedback.js\";\n\nexport { NoPath } from \"./no-path.js\";\n\nexport { UnknownPage } from \"./unknown-page.js\";\n\nconst ContentKind = Schema.Literals([\"law\", \"skill\", \"lore\", \"prompt\"]);\n\nexport const SearchMatch = Schema.Struct({\n description: Schema.String,\n digest: Schema.String,\n excerpt: Schema.String,\n id: Schema.String,\n kind: ContentKind,\n routePath: Schema.String,\n score: Schema.Finite,\n title: Schema.String,\n});\n\nexport const SearchOutput = Schema.Struct({\n matches: Schema.Array(SearchMatch),\n total: Schema.Finite,\n});\n\nexport const ReadOutput = Schema.Struct({\n description: Schema.String,\n digest: Schema.String,\n id: Schema.String,\n kind: ContentKind,\n routePath: Schema.String,\n sourcePath: Schema.String,\n text: Schema.String,\n title: Schema.String,\n});\n\nexport class ResourceNotFound extends Schema.TaggedError<\n ResourceNotFound,\n { readonly brand: unique symbol }\n>()(\"ResourceNotFound\", {\n id: Schema.String,\n message: Schema.String,\n}) {}\n\nexport const LoreGroup = Schema.Literals([\n \"idea\",\n \"concept\",\n \"source\",\n \"person\",\n \"system\",\n]);\n\nexport const LorePageReference = Schema.Struct({\n group: Schema.String,\n id: Schema.String,\n title: Schema.String,\n url: Schema.String,\n});\n\nexport const LoreNode = Schema.Struct({\n description: Schema.String,\n group: LoreGroup,\n id: Schema.String,\n slug: Schema.String,\n terms: Schema.Array(Schema.String),\n title: Schema.String,\n url: Schema.String,\n});\n\nexport const LoreEdgeKind = Schema.Literals([\"link\", \"citation\", \"mention\"]);\n\nexport const LoreEdge = Schema.Struct({\n excerpt: Schema.optional(Schema.String),\n from: LorePageReference,\n kind: LoreEdgeKind,\n to: LorePageReference,\n});\n\nexport const BacklinksOutput = Schema.Struct({\n backlinks: Schema.Array(\n Schema.Struct({\n kind: LoreEdgeKind,\n page: LorePageReference,\n })\n ),\n});\n\nexport const NeighborsOutput = Schema.Struct({\n neighbors: Schema.Array(\n Schema.Struct({\n distance: Schema.Finite,\n node: LoreNode,\n })\n ),\n});\n\nexport const MentionsOutput = Schema.Struct({\n mentions: Schema.Array(\n Schema.Struct({\n excerpt: Schema.String,\n page: LorePageReference,\n })\n ),\n});\n\nexport const LorePathOutput = Schema.Struct({\n edges: Schema.Array(LoreEdge),\n nodes: Schema.Array(LoreNode),\n});\n\nexport const backlinksContract = defineContract(\"backlinks\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"List pages that link to or mention one lore page\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({ slug: Schema.String }),\n output: BacklinksOutput,\n});\n\nexport const neighborsContract = defineContract(\"neighbors\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List lore pages within one or two incoming or outgoing graph hops\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({\n depth: Schema.Literals([1, 2]),\n slug: Schema.String,\n }),\n output: NeighborsOutput,\n});\n\nexport const mentionsContract = defineContract(\"mentions\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Find unlinked mentions of one lore page and show their excerpts\",\n failure: Schema.Union([UnknownPage, AssetReadError]),\n input: Schema.Struct({ slug: Schema.String }),\n output: MentionsOutput,\n});\n\nexport const pathContract = defineContract(\"path\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Find the shortest undirected chain between two lore pages\",\n failure: Schema.Union([UnknownPage, NoPath, AssetReadError]),\n input: Schema.Struct({ from: Schema.String, to: Schema.String }),\n output: LorePathOutput,\n});\n\nexport const inspectFileContract = defineContract(\"inspectFile\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Count bytes, characters, words, and lines in a file\",\n failure: FileStatsError,\n input: Schema.Struct({\n path: Schema.String.annotate({ description: \"File to inspect\" }),\n }),\n output: FileStatsSchema,\n});\n\nexport const PromptSlug = Schema.String.check(\n Schema.isPattern(/^[a-z0-9]+(?:-[a-z0-9]+)*$/u)\n);\n\nexport const PromptSummary = Schema.Struct({\n credit: Schema.String,\n description: Schema.String.check(Schema.isPattern(/\\S/u)),\n slug: PromptSlug,\n title: Schema.String.check(Schema.isPattern(/\\S/u)),\n});\n\nexport const Prompt = Schema.Struct({\n ...PromptSummary.fields,\n body: Schema.String.check(Schema.isPattern(/\\S/u)),\n});\n\nexport const listPromptsContract = defineContract(\"listPrompts\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"List copyable rat-stack agent prompts\",\n failure: AssetReadError,\n input: Schema.Struct({}),\n output: Schema.Struct({ prompts: Schema.Array(PromptSummary) }),\n});\n\nexport const getPromptContract = defineContract(\"getPrompt\", {\n annotations: { idempotent: true, readOnly: true },\n description: \"Read one complete rat-stack agent prompt by slug\",\n failure: Schema.Union([UnknownPrompt, AssetReadError]),\n input: Schema.Struct({ slug: PromptSlug }),\n output: Prompt,\n});\n\nexport const listCafeNewsContract = defineContract(\"listCafeNews\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List Ratstack news: Cloudflare, Alchemy, Foldkit and Effect releases, posts, videos, launches and X threads. Sort by interest rank or newest, and filter by kind. Each reviewed entry includes its reason for appearing.\",\n failure: AssetReadError,\n input: CafeNewsQuery,\n output: CafeNewsList,\n});\n\nexport const listCafeProjectsContract = defineContract(\"listCafeProjects\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List reviewed projects built with Cloudflare, Alchemy, Foldkit and Effect, with per-letter stack evidence. Filter to projects that use every given letter and sort by last update or stars.\",\n failure: AssetReadError,\n input: CafeProjectQuery,\n output: CafeProjectList,\n});\n\nexport const listPeopleContract = defineContract(\"listPeople\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List Ratstack all stars: people and channels with public work with Cloudflare, Alchemy, Foldkit or Effect, with stable ids for readPerson.\",\n failure: AssetReadError,\n input: CafePeopleQuery,\n output: CafePeopleList,\n});\n\nexport const listChannelsContract = defineContract(\"listChannels\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"List Ratstack all-star channels: YouTube channels, GitHub orgs and blogs.\",\n failure: AssetReadError,\n input: Schema.Struct({ limit: CafePeopleQuery.fields.limit }),\n output: CafePeopleList,\n});\n\nexport const readPersonContract = defineContract(\"readPerson\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Read one Ratstack all-star profile by id. Every fact has a source URL and a verified date; newsRows are newest first.\",\n failure: Schema.Union([UnknownPerson, AssetReadError]),\n input: Schema.Struct({ id: Schema.String }),\n output: CafeProfile,\n});\n\nexport const searchPeopleContract = defineContract(\"searchPeople\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n \"Search Ratstack all stars by name, handle, topic, package, repo, bio or video words.\",\n failure: AssetReadError,\n input: CafePeopleSearchQuery,\n output: CafePeopleMatches,\n});\n\nexport const peopleForContract = defineContract(\"peopleFor\", {\n annotations: { idempotent: true, readOnly: true },\n description:\n 'Find Ratstack all stars whose topics or packages cover every term, such as [\"foldkit\", \"d1\"], with sourced evidence.',\n failure: AssetReadError,\n input: CafePeopleForQuery,\n output: CafePeopleForList,\n});\n\nexport const searchContract = defineContract(\"search\", {\n annotations: { idempotent: true, readOnly: true, title: \"Search Rat Stack\" },\n description:\n \"Search rat-stack repository law and skills. Returns stable resource ids for read.\",\n failure: AssetReadError,\n input: Schema.Struct({\n limit: Schema.optional(Schema.Finite),\n query: Schema.String,\n }),\n output: SearchOutput,\n});\n\nexport const readContract = defineContract(\"read\", {\n annotations: {\n idempotent: true,\n readOnly: true,\n title: \"Read a Rat Stack document\",\n },\n description:\n \"Read one exact rat-stack law or skill document by the resource id returned from search.\",\n failure: Schema.Union([ResourceNotFound, AssetReadError]),\n input: Schema.Struct({ id: Schema.String }),\n output: ReadOutput,\n});\n", "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/events-off.ts\"]": "import { Effect } from \"effect\";\n\nimport type { RawEvent } from \"./event-sink.js\";\nimport type {\n EventsOptions,\n RequestCaptureSettings,\n} from \"./request-capture.js\";\n\nexport const events = (_options: EventsOptions) => Effect.undefined;\n\nexport const memoryEvents = (_salt: string) =>\n Effect.succeed({\n capture:\n (_settings: RequestCaptureSettings) =>\n (app: Effect.Effect) =>\n app,\n recorded: Effect.succeed([]),\n });\n", "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/file-inspector.ts\"]": "import { Context, Effect, FileSystem, Layer } from \"effect\";\n\nimport { FileStatsError, summarizeBytes } from \"./stats.js\";\nimport type { FileStats } from \"./stats.js\";\n\nexport class FileInspector extends Context.Service<\n FileInspector,\n {\n readonly inspect: (\n path: string\n ) => Effect.Effect;\n }\n>()(\"@rat-stack/core/FileInspector\", {\n make: Effect.gen(function* makeFileInspector() {\n const fileSystem = yield* FileSystem.FileSystem;\n\n const inspect = Effect.fn(\"FileInspector.inspect\")(function* inspect(\n path: string\n ) {\n const content = yield* fileSystem\n .readFile(path)\n .pipe(\n Effect.mapError(\n (error) => new FileStatsError({ path, reason: error.message })\n )\n );\n\n return summarizeBytes(path, content);\n });\n\n return { inspect } as const;\n }),\n}) {\n static readonly layer = Layer.effect(this, this.make);\n}\n", "[\"rat-stack\",\"show\",\"HEAD:packages/core/src/flag-journal.ts\"]": "import { Clock, Context, Effect, Layer, Ref, Schema } from \"effect\";\n\nimport { ListFlagChangesInput } from \"./flag-change.js\";\nimport type { FlagChange, FlagChangesPage } from \"./flag-change.js\";\nimport { FlagStorageError } from \"./flag-storage-error.js\";\n\nexport const validateFlagChangeQuery = (\n input: typeof ListFlagChangesInput.Type\n) =>\n Schema.decodeEffect(ListFlagChangesInput)(input).pipe(\n Effect.mapError(\n (cause) =>\n new FlagStorageError({\n cause,\n fallback: null,\n flag: \"\",\n operation: \"listChanges\",\n repair:\n \"Supply a journal page limit from 1 to 100 and an optional cursor.\",\n })\n )\n );\n\nexport class FlagJournal extends Context.Service<\n FlagJournal,\n {\n readonly record: (\n change: FlagChange\n ) => Effect.Effect;\n readonly list: (\n input: typeof ListFlagChangesInput.Type\n ) => Effect.Effect;\n }\n>()(\"@rat-stack/core/FlagJournal\") {\n static memory = Layer.effect(\n FlagJournal,\n Effect.gen(function* makeFlagJournal() {\n const entries = yield* Ref.make([]);\n\n return FlagJournal.of({\n list: Effect.fn(\"FlagJournal.list\")(function* list(input) {\n const query = yield* validateFlagChangeQuery(input);\n const now = yield* Clock.currentTimeMillis;\n const current = yield* Ref.get(entries);\n\n const latest = new Map(\n current.map((entry) => [entry.attemptId, entry])\n );\n\n const ordered = [...latest.values()].toSorted((left, right) =>\n left.attemptId.localeCompare(right.attemptId)\n );\n\n const { cursor: after } = query;\n\n const remaining =\n after === undefined\n ? ordered\n : ordered.filter((entry) => entry.attemptId > after);\n\n const page = remaining.slice(0, query.limit);\n\n const cursor =\n remaining.length > page.length ? page.at(-1)?.attemptId : undefined;\n\n return {\n changes: page.map((entry) => ({\n ...entry,\n ageMillis: Math.max(0, now - entry.recordedAt),\n })),\n cursor,\n };\n }),\n record: (change) =>\n Ref.update(entries, (current) => [...current, change]),\n });\n })\n );\n}\n",