Repository navigation
docs(blog): add giving an AI agent its own Linux user post - #777
steffenmaechtel wants to merge 1 commit into
Conversation
Short Summary (TL;DR): Adds a community blog post by Steffen Maechtel on running a coding agent (opencode) as its own Linux user on a WSL2 machine: dedicated user without Windows interop, DDEV re-executed as the agent user through a sudoers helper, a rootless Docker daemon owned by the agent, and the working tree shared through a group. The daily workflow stays the same; the agent loses access to SSH keys, /mnt/c, and any root-equivalent socket. ## The Issue - New content, no issue. ## How This PR Solves The Issue Four new files: the post (src/content/blog/giving-an-ai-agent-its-own-linux-user.md), a new author entry (src/content/authors/steffen-maechtel.md) with avatar (public/img/avatar/steffen.jpg), and a hand-written SVG feature image (public/img/blog/2026/11/giving-an-ai-agent-its-own-linux-user.svg). ## Manual Testing Instructions Open the PR preview at REPLACE_ME and compare with https://ddev.com/blog/: the /blog/ listing (card with feature image, DevOps category, Nov 9 date), the post page (the napkin ASCII diagram renders in its code block, the author box shows Steffen Maechtel with avatar), and /blog/author/steffen-maechtel/. ## Automated Testing Overview No new code. prettier --check, textlint, and npm run build pass locally; astro-link-validator found no broken links; the three external links (opencode.ai, docs.ddev.com docker-installation, github.com/steffenmaechtel/opencode-permissions-kit) return 200. ## Release/Deployment Notes pubDate is 2026-11-09 and must match the merge day: the site has no scheduling, pubDate only sorts posts, so a future-dated post is visible immediately after merge. It will be adjusted if the merge moves. 🤖 Developed with assistance from [OpenCode](https://opencode.ai)
|
🌐 Fork Preview for PR #777 https://pr-777.ddev-com-fork-previews.pages.dev This preview updates automatically when you push changes to your fork. |
|
I asked Claude about AI security concerns on my Linux (I had forgotten about this PR), and it answered:
And then I remembered this PR 🙂. I think this approach makes sense from a DDEV user's perspective, and the article itself should have cross-links to #778 (once one of them is merged) - an alternative approach for isolation. I haven't reviewed it yet. |
Short Summary
Adds a new community blog post by Steffen Maechtel on running a coding agent (opencode) as its own Linux user on a WSL2 machine. Related to: ddev/ddev#9031 (comment)
Rendered at https://pr-777.ddev-com-fork-previews.pages.dev/blog/giving-an-ai-agent-its-own-linux-user/
Infos
The text was translated entirely using AI. The source text and information were written in German. The AI has generated its own phrases based on the information. Some of my colleagues have checked it, and we have made changes in a few places.
Four new files: the post (src/content/blog/giving-an-ai-agent-its-own-linux-user.md), a new author entry (src/content/authors/steffen-maechtel.md) with avatar (public/img/avatar/steffen.jpg), and a hand-written(AI) SVG feature image (public/img/blog/2026/11/giving-an-ai-agent-its-own-linux-user.svg).
Tests
prettier --checkandtextlintare greenRelease/Deployment Notes
pubDate is set to 2026-11-09, need to be adjusted