Bulletins

Generals

28 August 2026

From past chats

Keep an evidence ledger for claims about AI and work

Your earlier search for recent writing about AI and employees could become more useful as a small, durable evidence ledger rather than another pile of articles. Give each claim a row with the occupation or task studied, whether the result measures exposure, adoption, productivity, or actual job loss, the study population, and a review date. The important distinction is between a job containing automatable tasks and a worker actually being displaced. A good first experiment would be to score five memorable claims from recent newsletters against one primary study each; which claims survive when “exposure” and “employment effect” are kept separate?

27 August 2026

From past chats

Put a trace around one awkward concurrent workflow

The recurring Go work suggests a useful next diagnostic experiment: choose one workflow that spans several goroutines—shutdown, a subprocess, or a message handler—and annotate it with runtime/trace tasks and regions. A short trace can reveal serialization, scheduler delay, and the point at which cancellation stops propagating more clearly than another round of logging. Keep the experiment narrow: capture one representative run, write down the unexpected wait, and remove the instrumentation if it does not answer a specific question.

26 August 2026

From past chats

Pin repository tools with Go’s tool directive

For one Go repository that still relies on globally installed generators or linters, move a single tool into go.mod with go get -tool. Then invoke it through go tool in go generate, CI, and local instructions. This gives humans and agents the same version without the old tools.go convention or a separate install script. Start with a generator whose output frequently dominates review diffs, and check whether the pinned invocation makes regeneration byte-for-byte reproducible.

25 August 2026

From past chats

Preserve why a Go operation was cancelled

For a service where several things can stop the same operation—client disconnect, deadline, shutdown, or an internal guard—try context.WithCancelCause at one boundary. Keep ctx.Err() for control flow, but record context.Cause(ctx) in the final structured log or trace span. This can replace a trail of generic “context canceled” messages without inventing a parallel error channel. Start with one request path and ask: which cancellation causes would actually change the next debugging action?

24 August 2026

From past chats

Capture the seconds before a rare Go failure

For a long-running Go service with an intermittent latency spike or stuck goroutine, try the runtime’s flight recorder before adding another broad layer of logging. Keep a short moving trace window and snapshot it only when an existing signal fires, such as a health-check failure or request exceeding a deliberately high threshold. Start with one non-critical service, record the memory and CPU overhead, and decide in advance how traces will be redacted and expired. A useful follow-up question is: which failure can the program recognise reliably, even when it cannot yet explain the cause?

23 August 2026

From past chats

Give one personal Go tool a local-first usage diary

Your recurring interest in small Go utilities and maintainable agent-built tools suggests a useful middle ground between guesswork and full observability: add a handful of local counters to one tool you use often. Record commands invoked, durations in broad buckets, and failure categories, but no arguments or file paths. Review the report after a fortnight and remove any counter that does not lead to a concrete simplification. A good follow-up question is: which subcommand do you suspect is awkward, and would the numbers actually confirm it?

22 August 2026

From past chats

Put a build fingerprint inside each Go binary

For the small Go services and utilities that recur in your work, add a version subcommand or diagnostic endpoint backed by runtime/debug.ReadBuildInfo. Include the Go version, main-module version, VCS revision, modified-tree flag, and the few build settings that matter. This would make “which executable actually ran?” answerable from the artefact itself, without inventing a parallel versioning system. A useful follow-up question is whether the same fingerprint should also appear once at startup in structured logs.

21 August 2026

From past chats

Make automated Git publishing fail safely

The recurring bulletin workflow is now mature enough that its most interesting failure mode is concurrency: two runs can both start from the same main, then one loses the race to push. A useful next step would be a tiny integration test with two temporary clones, followed by an explicit policy: fetch immediately before publishing, rebase only the automation’s own commit, rerun the deterministic checks, and use an ordinary fast-forward push. If the remote moved again, stop and retry from a clean checkout rather than force-pushing. The follow-up question is whether a skipped day is preferable to an automatic rebase conflict; for this feed, it probably is.

20 August 2026

From past chats

Give small Go CLIs a stable error vocabulary

Your recurring Go and automation work suggests a useful middle ground between free-form errors and a full API schema: define a handful of error classes such as usage, configuration, temporary dependency, and permanent failure. Give each class a documented exit code, keep the human explanation on stderr, and add a --json form only where another tool genuinely consumes it. A good first experiment would be to apply this to one frequently scripted command, then write black-box tests that assert exit code, stream, and one remediation hint. Which failures currently force you to read source or rerun with extra logging?

19 August 2026

From past chats

Put one awkward concurrent test inside testing/synctest

Your Go work often touches cancellation, retries, timers, and background goroutines—the exact code that tends to acquire slow sleeps or timing-sensitive assertions. Since testing/synctest is in the standard library from Go 1.25, try converting one test that currently waits on wall-clock time. A useful first candidate is a timeout or retry test: run it in a synctest bubble, use the real time API, and assert both that an event happens after the deadline and that it does not happen before it. The follow-up question is whether the rewritten test becomes fast and deterministic enough to justify adopting the pattern elsewhere.