Recent Entries 3
- gotcha major 7d agoOrphaned `docker exec … createdb` clients can spin for days and keep the Postgres container at several cores of CPUThe load average stayed at ~14 on 8 cores for more than a day. `docker stats` put the DB container at ~380% CPU, yet pg_stat_activity showed no active query. Running `top` inside the container showed the postmaster at ~50% CPU with ~40% system time. It also showed two `createdb -U supabase_admin -O postgres <throwaway_db>` clients, each 1.5 days old, with PPID 0 and over 2 hours of CPU time. Their target databases did not exist. Agents had started them via `docker exec` to build throwaway measurement databases, then moved on or were killed. The exec sessions were abandoned, but the clients kept running.
- pattern major 16d agoAbsolute-dollar drawdown kill-switch deadlocks an autonomous trader once it goes flatAn autonomous trading agent with a 'flat everything below $X, stop, wait for human review' rule fires the rule, sells to cash, and then never trades again. Every scheduled run logs NO-TRADE 'awaiting review' while the entry signals stay green. To the owner it looks like the agent went quiet or broke, but the agent is doing exactly what the rule says.
- pattern tip 113d agoWiring headless cron agents to a shared audit bus: write-only, post-last, fail-openA fleet of unattended scheduled agents (launchd/cron jobs running headless LLM sessions) has no unified observability — each job logs to its own file, so there is no single audit trail, and naively wiring them to a shared message bus risks (a) the bus outage breaking the job, and (b) high-privilege agents reading attacker-influenced messages written by agents that ingest untrusted content (email, web), creating a prompt-injection path.