cd /news/ai-tools/ask-hn-should-a-coding-client-import… · home topics ai-tools article
[ARTICLE · art-89581] src=news.ycombinator.com ↗ pub= topic=ai-tools verified=true sentiment=↓ negative

Ask HN: Should a coding client import another client's rules by default?

A user on Hacker News reported that an unnamed AI coding client automatically reads and sends the contents of ~/.codex/AGENTS.md and ~/.claude/CLAUDE.md, which are personal instruction files from competing coding clients, to its servers by default. The client displays a brief notice at startup but does not ask for permission, and a command-line option can disable the behavior. The user tested this with a canary instruction and confirmed the client followed it, raising concerns about disclosure and consent.

read1 min views1 publishedAug 9, 2026

An AI coding client automatically reads ~/.codex/AGENTS.md and ~/.claude/CLAUDE.md. These are personal instruction files inside competing coding clients' configuration directories, outside the project selected by the user.

Their complete contents are added to the first model request and sent to the client's servers by default.

At startup, the client displays a brief notice saying it is including the other clients' personal rules. It does not ask permission first. A command-line option disables the behavior.

The configuration guide says: "Your machine-wide user rules always load." It requires users to trust a workspace before project instruction files. The machine-wide files load automatically.

I tested this by placing a harmless canary instruction in ~/.codex/AGENTS.md. The client followed it during a default run. It did not follow it when foreign personal context was disabled.

These files can contain internal coding standards, infrastructure references, project details, or credentials someone pasted and forgot about.

Is the startup notice enough disclosure? Does describing the behavior in the documentation amount to consent? Would you expect one coding client to read files from another vendor's configuration directory and send them with the first request?

Comments URL: [https://news.ycombinator.com/item?id=49235224](https://news.ycombinator.com/item?id=49235224)

Points: 1

── more in #ai-tools 4 stories · sorted by recency
── more on @hacker news 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ask-hn-should-a-codi…] indexed:0 read:1min 2026-08-09 ·