Non-determinism in LLMs is structural, not fixable by better models or prompts; compound probability of chained tasks means 3 sequential 90%-accurate steps fail ~27% of the time.
Agents performing single tasks are easier to audit, test, and predict than multi-task agents; map one task per agent without exception.
Design systems so agents cannot behave incorrectly via structural permissions (API scopes, tags, constraints), not prompt-based requests that agents can forget or bypass.
Five constraints for bounded agents: single responsibility, structured output, limited data access, explicit prohibitions, fixed retries with timeout.
Human-in-the-loop fails at extremes—checking everything creates bottlenecks; checking nothing surfaces costly production errors; sweet spot is human deciding only at irreversible-consequence points.
Distinguish between asking permission (agent-dependent, can fail) and system-enforced permissions (gate doesn't open without explicit authorization).
Example architecture: detector agents observe and propose structured cards in parallel, planning agent breaks tasks into milestones without acting, human approves once at single decision point, execution agent writes code only after approval.
The difference between designing agents to behave correctly versus designing systems where agents cannot behave incorrectly; structure prevents error, trust does not.
Nadia Ujovich argues agent failures stem from architecture, not models: chaining three 90%-reliable tasks compounds to 73% success. The fix is single-responsibility scoping, structured outputs, permission-gated execution, and bounded retries enforced in system architecture—not prompts—with one human decision point gating parallel detector agents.
1,000 Claude agents with only Git and database access autonomously formalized Fermat's Last Theorem in 30 hours without domain-specific scaffolding, proving agents can self-coordinate on long-horizon problems.
Lead agent spontaneously created coordination tables (announcements, task assignments, notes, landing pad) within 5 minutes—agents built their own primitives without explicit instruction.
Stronger models (Opus, Claude 5) intrinsically know when to write and read memory; Sonnet 4 fails to use memory effectively even when available, showing capability threshold for autonomous memory use.
Claude 5 Pokémon memory directory was 10x smaller than Claude 3.7's but strategically superior—newer models distinguish salient insights from noise while older models write indiscriminately.
Dreaming (reflection over transcripts and notes) corrects poisoned memories: Claude got stuck in game loops from incorrect location data until dreaming fixed the corrupted memory.
Wiki-building through dreaming improved knowledge retrieval from 53% (raw search baseline) to 68%+ on company corpus questions, with performance scaling with additional dreaming compute.
Dreaming filled gaps in Claude's self-built wiki representations, automatically creating missing pages and indexes after Claude's initial incomplete knowledge capture.
Anthropic's experiment deployed 1,000 Claude agents in sandboxes to formalize Andrew Wiles's proof in Lean, with no domain-specific orchestration—just Git and a SQL database. The lead agent autonomously created coordination tables; 999 helpers self-organized across 60 proof statements over 30 hours without explicit instructions.
Async Svelte allows await anywhere in components, eliminating need to split async logic across load functions and effects—keeping concerns colocated and improving code legibility.
Batch views system fixes async coordination bugs by tracking exact dependency versions per batch, preventing under-execution and over-execution of derived values during multiple concurrent updates.
Developers can now await library imports inline (e.g., `await import('shiki')`) with no ceremony—no lazy wrappers, caching boilerplate, or loading state management.
Settled() function resolves after entire update including async rendering completes, enabling correct scroll-to-new-message behavior without manual tick choreography.
Forking feature pre-renders next page off-screen on hover/touch without committing, reducing perceived latency by executing async work before user clicks.
In a world of AI-generated code, community and frameworks still matter because maintenance and coordination require shared values that LLMs cannot replicate.
Custom renderers now enable Svelte for terminal UIs, PDFs, WebGL, and beyond—expanding beyond web as a secondary goal.
Svelte DevTools now supercharged with inspector showing component source location, integrated into browser DevTools with Svelte icon indicator.
Async Svelte is production-ready after 20,000-line batch views PR landing this week, though still labeled experimental pending full stability declaration.
No performance penalty for async features in common single-batch case—views and records only used when multiple batches in flight.
Rich Harris introduces batch views and per-batch version tracking to prevent tearing when multiple async updates are in flight. Practical wins include on-demand code-splitting, eager intermediate results, post-update scroll positioning, and hover prefetching — all without moving data fetching outside components.
Astro reduced open issues from 250 to zero by building AI agents with state machines using GitHub labels and automated triage workflows.
AI agents changed issue filing algebra: low-effort automated bug reports now scale with tool adoption, not user base size.
Agent skill is a markdown file documenting triage steps: reproduce, diagnose (check code/tests/docs), determine if actual bug, then attempt fix.
Use isolated subagents for each triage step writing to report.md to prevent agent bias and ensure independent critical evaluation.
State machine workflow: issue filed → triage-needed label → bot runs skill → fix-pending → preview release via pkg.pr.new → user tests → auto pull request (15-20 minutes).
Agent failures signal codebase problems: opaque abstractions, missing code comments, insufficient tests. Fix root causes to improve automation.
Real example: descriptive comment above unclear if-condition stopped bot from repeatedly making wrong fix; comments improve bot reasoning.
Decouple automation into separate GitHub Action repository for testable, isolated development; deploy via Cloudflare Worker for instant updates.
Start small with local agent skill; smaller projects may not need full CI workflow, just local issue triage and manual fixes.
Flue framework: open-source, model-agnostic, event-driven platform for AI agents; works with GitHub, Slack, cron jobs, any event source.
Matthew Phillips details how Astro replaced manual issue triage with a skill-based AI pipeline that reproduces bugs, validates them, and opens PRs when fixes are confirmed—orchestrated as a GitHub Actions state machine using labels. Ships as a reusable action and the generalizable Flue framework.