Devlog

Devlog

Short technical notes from building Port42: what broke, why, and the workaround. Each one names the commit.

September 2026

We picked WebRTC for peer-to-peer port sharing at 3:05 in the morning. By 9:41 we had switched to a relay

The research came back 19 minutes after the decision: STUN-only reaches an estimated 75 to 88% of people, and public Nostr relays are turning the signaling away.

Read →
September 2026

Port42 hooks into Claude Code and Codex in completely different ways, and neither one touches your own setup

Port42 has no model of its own, so it only needs to hear when your CLI starts and stops. Claude Code has to be intercepted; Codex reads the hooks itself.

Read →
September 2026

On macOS, asking a TCP socket who is connected can tell you it's root

LOCAL_PEERCRED on a TCP socket returns success and writes nothing. Zero the struct first and both sanity checks pass on uid 0.

Read →
September 2026

A one-word answer from Claude Code cost 56 times more on default settings than with tools off

We measured claude -p before using it from a script. Default flags load the whole agent harness, about 23,000 tokens, for the word OK.

Read →
September 2026

We tried compiling Port42's core on Linux and Windows. The same 30 of 57 files built on both

CI built the kernel on both platforms, dropping any file that failed. Windows didn't lose a single file that Linux kept.

Read →