Code-First Agentic Architecture
Build better agents by putting deterministic work in code and leaving reasoning to the model.
Tag
Writing tagged “Essay”.
Build better agents by putting deterministic work in code and leaving reasoning to the model.
A code review of dwrr, following its documented promises through test assertions to the state, arithmetic, and storage rules that make them hold.
How pll's Go pacer calculates exact schedules cheaply enough for applications sending at Gbps rates.
Why taking turns isn't enough to share a consumer fairly, how deficit round robin measures turns in work, and how a deliberately simple reference shows that an implementation follows the rules.
Why pll was built for an MPEG transport-stream demuxer and muxer, how its Pacer and Follower work, and where else they are useful.
How agentic coding adds a boundary between the engineer and the program, and why working code must be simplified, described, and constrained.
Human limits, OpenBSD audits, privilege separation, and the operating-system boundaries that contain unseen defects.
Writing less code can make that code more secure.
The negative space of security: unintended behavior, explicit permissions, and what testing can—and cannot—establish.
Setting limits, questioning comments, and writing pure functions will simplify our code and save our brains for the most important work.
Making changes understandable, giving reviewers useful evidence, and making code review worth the interruption.