Skip to content
back-to-home

— threads · loomwork

Sunday dispatches

A weekly thread about building real things on the side, with a day job. Anti-hype. Single idea. 5–10 minutes. 16 threads, all readable here.

Book one

Building Foundry

16 threads · still being written

Prologue

0105 min

What I learned shipping the first agent

One week of running the first agent, and three things it taught me. The plain findings store outperformed its own design — it absorbed use cases I never planned for. The morning-only briefing cadence has to go; the rhythm should follow the user, not the clock. And read-only safety created more friction than I expected — the value shows up when an agent proposes an action for approval, not when it just surfaces information.

read-thread

Part two · the build

0126 min

How I handle credentials in an agent platform

Credential storage built on "assume the breach." Tokens never touch logs or error messages; the database copy stays encrypted with AES-256-GCM, the key held separately in the app environment, and the auth tag rejects any tampering. Plaintext exists only server-side at the moment of use, then it's discarded. The security isn't novel cryptography — it's the separation between where the ciphertext lives and where the key lives, plus read-only defaults and a deliberate opt-in for write access.

read-thread
0137 min

Giving agents write access without losing control

The moment an agent can write, its own input becomes an attacker. Four independent gates stand between a proposal and a real action: the agent only proposes and never executes, a separate write-scoped key, a server-only kill switch the browser can't see, and every PR and diff it reads wrapped as untrusted input. Plus the approval bug my reviewer caught — two fast taps double-posting a comment — fixed by making the pending→approved flip a single atomic update. Least privilege, human in the loop, defense in depth, staged rollout, pointed at an AI.

read-thread