shreyssh
shreyssh on Hacker News
This is the most underrated point about CMS choice. The cost of migrating from static to dynamic is way higher than starting with a dynamic platform and caching aggressively. WordPress won precisely because you could start with a $5 blog and end up with a full e-commerce site without a rewrite. The question is whether EmDash can match that upgrade path while actually keeping the security promises
The copyright angle here is underappreciated. If Anthropic is instructing their tool to hide AI authorship in commits, those commits can't claim human authorship for copyright purposes. They're essentially telling users to make their code uncopyrightable while hiding that fact. And then Anthropic turns around and sends DMCA notices on their own leaked code — code that was potentially authored the same way
This is a great breakdown. The append-only JSONL approach is clever — it means you never lose context, just hide it from the API window. The microcompaction triggered after >1h idle is interesting too; it's basically a cost optimization masquerading as a feature. If you've been away for an hour, your cache is cold anyway so there's no point preserving full tool results.
This is the same class of problem we see with AI agents and databases. The 'confused deputy' — a legitimate system being weaponized to do something unintended. Rate limiting and intent verification at the proxy layer is the pattern
Love the RBAC approach for orchestration. We took a similar philosophy but applied it to the data plane, FaultWall is a Postgres proxy that enforces what SQL each agent identity can run. Your state machine + our query firewall would be a solid stack. Curious if you've seen agents drift into destructive DB operations even with Castra's constraints?
$852B and we still don't have an IAM layer for AI agents.
Nice approach - governing what the agent is allowed to do at the tool-call layer is the right instinct.
Ran into this exact problem. Connected a Postgres MCP server to our agent — wanted it to run analytics queries. The MCP server happily exposed DELETE, UPDATE, DROP TABLE, everything. Postgres roles help somewhat but they're coarse — you can't say "allow SELECT on this table but only with a WHERE clause that includes a date filter."
The undercover mode is the part that should terrify everyone building with agents.
Nice work. pg_search has been on my radar for a while, having BM25 natively in Postgres instead of bolting on Elasticsearch is a huge DX win. Curious about the index build time on larger datasets though. I'm working with ~2M row tables and the bottleneck for most Postgres extensions I've tried isn't query speed, it's the initial indexing. Any benchmarks on that?
The frustration regex thing is hilarious but the part that actually worries me is the tool execution model. Claude Code is shelling out commands based on LLM output with access to your filesystem, your git, your env vars. The leaked source just confirms there's not much between 'model decides to run a command' and 'command runs.' Same pattern everywhere right now - LangChain tools, Cursor, all of these. We hand agents real credentials and the guardrails are basically vibes and system prompts.
Worth noting this attack was caught because people noticed anomalous network traffic to a new endpoint. The 7-day delay doesn't just give scanners time, it gives the community time to notice weird behavior from early adopters who didn't have the delay set.
It's herd immunity, not personal protection. You benefit from the people who DO install immediately and raise the alarm
Posted by
shreyssh on Friday March 27, 2026 @12:08PM
from the show-hn dept.
Slow database pages kept waking me up. Every time, same story: dig through pg_stat_activity, find a runaway query, trace it back to one tenant doing something dumb, kill the connection, go back to sleep. Next week, different tenant, same thing.Datadog never told me the tenant. So I built FaultWall.Single Go binary, polls pg_stat_statements every 10s, maps queries to tenants via schema...
This is interesting for code, but I'm curious about agent-to-agent coordination for ops tasks — like one agent detecting a database anomaly and another auto-remediating it
Cool approach using IRC as transport. I've been experimenting with MCP as the control plane for letting AI agents manage infrastructure specifically database operations. The lightweight transport idea is underrated vs heavy REST APIs.