Developer, maker, and perpetual project starter. I build web apps and dev tools mostly, things that I think are really useful and should exist and be simple to use. I also like to experiment with AI.
Hi! Your OS able to run Deno or node? Because I have terminal base 3D editor, maybe worth to try it is run under your OS or not? My program also have browser or even VR version
The kernel update that locked you out is the part that made me smile, and fixing it from a tty instead of reinstalling is where the ownership actually changes. Your point about needing to ask the same question several different ways is the real unlock and it rarely gets said, because the story is usually told as "just read the docs." Niri plus Quickshell is a strong combination too, and a scrolling tiling compositor does settle a lot of things that floating window managers never did. Which piece of CLOUDWERX OS feels the most yours now, the bar or the editor?
Thanks for the reply! I would have to say the piece that's most mine would be some of the apps that live inside cloudwerx-os. Noteism has been a passion project for nearly 2 years now, with 3 full rewrites in different languages, it has grown into something I am really proud of, and I use it ALL the time; it's replaced VS Code and Obsidian for me. Some of my favorite things are Keywerx, the cloudwerx keyring and password\2fa\mfa\token\secrets manager. Farside, the RDP/SSH/File manager, and Hangar, my project management suite and agent studio. I have so much I didn't cover in this post it might need a Season 2 soon.
I help Python and backend engineers move beyond writing working code to designing production-ready systems, making architecture decisions, and growing into senior engineering roles.
From running Burning in Hell BBS at 12 to building your own OS is an amazing full circle. The detail I loved most is Ghosthand's allow card, where no answer counts as a no. That's exactly how agent control should work. Also "it never asked me to sign into a Microsoft account to look at a calculator" might be the best line in the whole post. Can't wait for the release and Season 2!
Thank you! Yeah, "no answer = no" feels like common sense for agent control, right? I don't want an agent clicking around my desktop just because I stepped away from the keyboard.
And man, the Microsoft account for a calculator thing... I'm still not over how bad Windows got. Really glad you enjoyed the post, can't wait to share the next batch of stories.
The three-index search design is the part that stuck with me — nearly 14 million names answering in 11 ms is wild. And Littlewick, a little pixel village living behind the terminal, is the most charming detail in the whole post.
Man, Littlewick is the project I have the hardest time explaining to normal people, because "I spent way too much time building a 14,000 line pixel village to sit behind my terminal" sounds unhinged out loud.
Zero regrets though. It's genuinely my favorite thing to just leave running on the desktop. The funny part is how deep the rabbit hole went once I started adding stuff to it.
The animals basically run the town
Originally it was just town pets (dogs and cats named stuff like Biscuit, Waffles, and Noodle), farm animals, ducks on the pond, and a few birds. Then I went completely overboard and built a whole Wildlife system (Wildlife.js) that brings 11 different wild visitors into town depending on the time of day, the season, and the weather:
• Deer step out of the woods at dawn and dusk, and they actually change with the seasons (a doe, a fawn in spring and summer, a buck in autumn, and winter coats). They deliberately stay on quiet meadows away from paths and pastures.
• Stray cats roam the streets, sit, groom themselves, stalk, pounce, and bolt if a villager gets too close. Also, I made a hard rule in the code that a cat never gets up from a nap without doing a 1.4 second stretch first. Same with the town's own cats, and they'll also get an ! bubble and chase butterflies if one drifts by.
• Dogs actually go on walkies with their owners on a visible leash, trot beside them, sit down next to the bench when their owner sits, and if they spot a cat within 34 pixels they bark an ! emote and send the cat sprinting back home.
• Otters swim up and down the river, seen from above, and they properly swim under the bridge and the wooden jetty instead of floating over the planks like Jesus.
• Plus a grey heron fishing the shallows, pigeons in the square, crows on the autumn/winter fields, swans on the pond, swallows, dragonflies, moths around the streetlamps on summer nights, frogs that only come out when the ground is wet, bats circling the clock tower, an owl hooting musical notes, and a hedgehog snuffling through gardens at night.
Oh, and there's a ghost that wanders around at night and scares villagers when it passes them, and occasionally a UFO drops down and tries to beam up one of the cows. You know, standard small town stuff.
The villagers have actual drama
There are 12 town names (Littlewick, Applebrook, Puddleford, Honeycombe, etc.) and the villagers aren't just random sprites wandering in circles. Each one gets 3 personality traits (grumpy, chatty, shy, romantic, nightowl, earlybird, angler, and so on) and a compatibility score when they run into each other. Every fresh town intentionally spawns with old friendships, two people who have noticed each other, and one guaranteed feud.
If two compatible villagers chat enough, they become sweethearts, get married, and the town actually blocks off an empty lot, builds them a brand new house, and moves them in. They have kids who inherit their parents' skin tones, grow up, grow old, and eventually there's a funeral in the churchyard (which has five different kinds of headstones). And there's a pixel-art notice board in town that posts the local gossip, the real temperature in °F or °C, and whatever's happening that day.
The nerdy technical stuff under the hood
Because I couldn't just do anything the simple way:
Every single sprite is generated by Python code. There are 1,329 sprites in the atlas (atlas.png), and not one of them was drawn in Photoshop or Aseprite. Python scripts (apps/fx/pixel/) procedurally draw all the buildings, snowy roofs, Halloween costumes, festive trees, walk cycles, and even the 4-phase rowing stroke for the boats on the river (catch, drive, finish, recovery, with splashes, oar drips, and wakes, while steering around the beached boat pulled up by the jetty).
Four stacked canvases + a sneaky data strip. The QML scene paints the town onto four stacked canvases (ground, water, standing stuff, moving stuff), a half-res light map (640x352), and an unlit UI layer for glow, name tags, and fireworks. To pass live weather state into the GLSL fragment shader (image.glsl), I literally packed 4 rows of weather data as colored pixels at the bottom of the light map texture. The shader reads those pixels to drive slanted rain streaks at 3 depths with ground splash rings, swaying snow that settles on roofs and melts, fog, drifting cloud shadows, and rainbows after the rain.
Pixel-crisp at any display scaling. At 125% or 2x scaling, QML's Canvas wanted to scale the 1280x704 town up and let the shader squish it back down, which turned the 7-pixel notice board font into unreadable mush. So Scene.qml undoes devicePixelRatio before painting so 1 town pixel equals 1 canvas pixel, and the GLSL shader does sub-pixel edge snapping so every town pixel stays a solid block of color on any monitor.
Synced to the real world. You can run it on its own fast-forward town calendar (12 months of 7 days so you see all four seasons and 9 holidays in a few hours), OR sync it to your real clock, real calendar (Christmas lights go up the day after Thanksgiving, Halloween gets costumes, 4th of July gets fireworks), and your actual outside weather pulled live from Open-Meteo via the desktop Weather panel. So when it's pouring rain outside my window at night, Littlewick is getting rained on in the dark too, and the Desktop FX engine pauses the whole thing whenever a maximized window covers the screen so it doesn't cook my laptop battery.
So yeah... it started as "wouldn't a little pixel village wallpaper be cute" and turned into a full-blown tiny ant farm with a GLSL weather engine. Still makes me smile every time I close a terminal and catch a heron fishing or a cow getting abducted.
Open Source Evangelist, Linux User , CachyOS with Jakoolit dotfiles and Kernel 7.0 on Hyprland is my current daily Driver. Host of Linux MintCast PodCast
Owning the entire stack from bootloader to memory allocator eliminates legacy syscall overhead and scheduler jitter, but it also strips away decades of battle-tested driver error handling and power-state recovery when real hardware misbehaves. Silicon never respects clean kernel abstractions.
Ha, I wish I was that brave. I didn't write a kernel or a bootloader. It's CachyOS underneath, so it's the regular Linux kernel with all those decades of battle tested driver weirdness still doing the dirty work. Power states, suspend, wifi, GPU, all of it is untouched.
What I built is everything above that. The compositor setup, the shell, the settings app, the CLI, the theme engine and the rest. If silicon misbehaves, it's still Linus's problem and not mine. I just make it look good while it's crashing.
That said, writing my own allocator sounds like a great way to never see my family again, so maybe next year.
Welcome to DEV! From a DOS BBS at 12 to your own desktop with its own settings app and CLI is quite a journey, and it's great you wrote about the ADD part and how a patient teacher at 2am made the difference. Which part of CLOUDWERX OS did you insist on building by hand, without AI?
The CLI as the stable API for the whole machine is the part that stuck with me. One command surface for themes, snapshots, Tailscale, everything, and cloudwerx doctor checking the install.
A whole desktop you use all day gets tested by real work, from the settings app to the editor. Which piece turned out to be the hardest to keep working?
I would have to say the Settings app itself has so very many sections, moving parts, and it's gone through several total rewrites and redesigns as well. Pretty much all new ideas have to have some part in it, everything from the new shaders I add for transitions to the model downloader for voice recognition. Just keeping all the categories organized can be challenging!
A Settings app that has been through several rewrites and still has to take in nearly every new idea sounds like a lot to keep tidy. With something like the voice model downloader, do you pick its category before building it, or does it find a place once it works?
I typically find a good place for things as I build them out, but due to the vast amount of sections that have been added over all this time, I have done some total redesigns. The most recent one puts things logically laid out in 10 main categories. The previous version had sub-categories, and it just wasn't working.
The three-index search design is the part I kept coming back to. Keeping names, BM25 text search, and meaning search in separate indexes, then fusing them with reciprocal rank fusion, is a neat answer to the usual problem where one ranking mode dominates the others. The 11 ms result over almost 14 million indexed items makes the trade-off concrete, not just theoretical. I also liked that agent-sudo parses the command instead of regexing the string, since wrappers like sh -c, env, and redirections are exactly where a naive check would be fooled. How do you handle index freshness when files change quickly — is the search daemon watching for changes incrementally, or does it rebuild parts of the index on a schedule? And for agent-sudo, how do you decide which commands deserve a rule versus a prompt, when the risk depends so much on context?
Appreciate you actually digging into how it's put together, those are both really good questions.
Index freshness in cloudwerx-searchd
It's actually a hybrid of both, split by where the files live so I don't burn through every inotify watch on the system watching /usr/lib.
Everything in your home folder and your content_roots (basically anywhere you're actually working) gets live inotify watches on every directory. The watcher thread (cw-watch) polls with a 250ms timeout, drains whatever events the kernel queued up in a batch, and updates the in-memory NameIndex right away. New folders get a watch added on the spot, edits update mtime and size, and deletes just flip a F_DEAD flag on the entry so existing IDs don't shift around.
For the content and meaning indexes, rapid bursts are where things would normally melt down (like running cargo build or switching git branches and touching 500 files in half a second). So cw-watch hands those paths to the indexer thread (cw-indexer), which throws them into a HashSet to dedupe repeat hits on the same file and waits for 1.5 seconds of quiet before processing them. There's also a 10 second max cap on that debounce, so if a script is hammering files nonstop, it doesn't starve forever and still flushes every 10 seconds.
A couple other tricks keep it from getting bogged down:
• Every file gets checked against manifest.json (mtime + size) before extraction or embedding, so unchanged files are skipped completely.
• Even if a huge initial sync is running in the background, the indexer checks for live inotify events between every 48-file batch (interleave_live), so a file you just saved jumps the line and becomes searchable immediately.
• Everything outside the live roots (system dirs, etc.) gets refreshed by a scheduled full walk every 20 minutes by default. That full rebuild also fires early if you plug in a drive (/proc/self/mountinfo changes), if inotify overflows during a massive burst (Q_OVERFLOW), or if dead tombstoned entries pile up past 50,000 and 25% of the index.
And if files change while a full name rebuild is running in the background, cw-watch records every path touched during the scan and replays them onto the new index the moment it swaps in atomically. Zero race conditions, no lost edits.
Rules vs. prompts in agent-sudo
Here's the funny part: agent-sudo doesn't actually prompt at all.
That was the whole reason I built it. An interactive prompt kills automation, because an agent running a command in a background shell can't click "yes" or type a password, and sudo -n will just fail. So agent-sudo is strictly a pass/fail gate. Either it passes the checks, runs as root, writes to /var/log/agent-sudo.log and pops a desktop notification, or it gets blocked with exit code 126 and tells you which rule stopped it. (If I actually want a live "Allow / Deny" card on my screen before something happens, that's Ghosthand's job, or I just run normal sudo myself.)
As for how I decide what deserves one of the 10 built-in rules, the line I drew is irreversible machine-wrecking stuff vs. normal admin work that just happens to need root.
Installing a package (pacman -S), restarting a service (systemctl restart), or writing a systemd unit with tee are all privileged, sure, and they can break things if you're careless, but they're normal maintenance. Blocking those would make the tool useless. So the 10 rules only target the things where one typo or empty variable ruins your whole week: rm -rf on / or system dirs, mkfs/wipefs, dd or > onto a block device like /dev/sda, touching /etc/shadow or sudoers, recursive chmod/chown on system roots, fork bombs, reboot/poweroff, that kind of thing.
Where context matters, the parser does a few things so it isn't guessing blindly:
• Path normalization against cwd: Before checking if a target is critical, it resolves ., .., //, symlinks (canonicalize), and globs (/, /etc/). So rm -rf ./dist passes fine, while rm -rf ../../etc from two folders deep gets caught.
• Refusing what it can't verify: There's a rule called unverifiable-delete. If a recursive rm path starts with a shell variable like rm -rf "$DIR/"*, agent-sudo blocks it outright because static analysis can't know if $DIR is empty at runtime.
And because risk really does depend on the machine and what you're letting an agent do, there's /etc/agent-sudo.json (root-owned, fails closed on typos or loose permissions so a broken config never silently loosens anything). In there you can set allow_programs to lock an agent down to just ["pacman", "systemctl"], add deny_programs, or turn off individual rules via disable_rules if you actually want an agent to be able to reboot the box.
Still, I'm pretty upfront in the README that it's a seatbelt, not a security wall. If you don't restrict allow_programs and an agent runs python3 -c as root, no command parser on earth is going to save you from arbitrary code inside an interpreter. For my own setup though, catching the accidental rm -rf or dd before it hits disk has already paid for itself.
❤️❤️❤️
🩷🩷🩷
Hi! Your OS able to run Deno or node? Because I have terminal base 3D editor, maybe worth to try it is run under your OS or not? My program also have browser or even VR version
3Draft: Terminal based 3D editor
This is super neat! Cool project! I will have to give this a try!
The kernel update that locked you out is the part that made me smile, and fixing it from a tty instead of reinstalling is where the ownership actually changes. Your point about needing to ask the same question several different ways is the real unlock and it rarely gets said, because the story is usually told as "just read the docs." Niri plus Quickshell is a strong combination too, and a scrolling tiling compositor does settle a lot of things that floating window managers never did. Which piece of CLOUDWERX OS feels the most yours now, the bar or the editor?
Thanks for the reply! I would have to say the piece that's most mine would be some of the apps that live inside cloudwerx-os. Noteism has been a passion project for nearly 2 years now, with 3 full rewrites in different languages, it has grown into something I am really proud of, and I use it ALL the time; it's replaced VS Code and Obsidian for me. Some of my favorite things are Keywerx, the cloudwerx keyring and password\2fa\mfa\token\secrets manager. Farside, the RDP/SSH/File manager, and Hangar, my project management suite and agent studio. I have so much I didn't cover in this post it might need a Season 2 soon.
From running Burning in Hell BBS at 12 to building your own OS is an amazing full circle. The detail I loved most is Ghosthand's allow card, where no answer counts as a no. That's exactly how agent control should work. Also "it never asked me to sign into a Microsoft account to look at a calculator" might be the best line in the whole post. Can't wait for the release and Season 2!
Thank you! Yeah, "no answer = no" feels like common sense for agent control, right? I don't want an agent clicking around my desktop just because I stepped away from the keyboard.
And man, the Microsoft account for a calculator thing... I'm still not over how bad Windows got. Really glad you enjoyed the post, can't wait to share the next batch of stories.
The three-index search design is the part that stuck with me — nearly 14 million names answering in 11 ms is wild. And Littlewick, a little pixel village living behind the terminal, is the most charming detail in the whole post.
Man, Littlewick is the project I have the hardest time explaining to normal people, because "I spent way too much time building a 14,000 line pixel village to sit behind my terminal" sounds unhinged out loud.
Zero regrets though. It's genuinely my favorite thing to just leave running on the desktop. The funny part is how deep the rabbit hole went once I started adding stuff to it.
The animals basically run the town
Originally it was just town pets (dogs and cats named stuff like Biscuit, Waffles, and Noodle), farm animals, ducks on the pond, and a few birds. Then I went completely overboard and built a whole Wildlife system (Wildlife.js) that brings 11 different wild visitors into town depending on the time of day, the season, and the weather:
• Deer step out of the woods at dawn and dusk, and they actually change with the seasons (a doe, a fawn in spring and summer, a buck in autumn, and winter coats). They deliberately stay on quiet meadows away from paths and pastures.
• Stray cats roam the streets, sit, groom themselves, stalk, pounce, and bolt if a villager gets too close. Also, I made a hard rule in the code that a cat never gets up from a nap without doing a 1.4 second stretch first. Same with the town's own cats, and they'll also get an ! bubble and chase butterflies if one drifts by.
• Dogs actually go on walkies with their owners on a visible leash, trot beside them, sit down next to the bench when their owner sits, and if they spot a cat within 34 pixels they bark an ! emote and send the cat sprinting back home.
• Otters swim up and down the river, seen from above, and they properly swim under the bridge and the wooden jetty instead of floating over the planks like Jesus.
• Plus a grey heron fishing the shallows, pigeons in the square, crows on the autumn/winter fields, swans on the pond, swallows, dragonflies, moths around the streetlamps on summer nights, frogs that only come out when the ground is wet, bats circling the clock tower, an owl hooting musical notes, and a hedgehog snuffling through gardens at night.
Oh, and there's a ghost that wanders around at night and scares villagers when it passes them, and occasionally a UFO drops down and tries to beam up one of the cows. You know, standard small town stuff.
The villagers have actual drama
There are 12 town names (Littlewick, Applebrook, Puddleford, Honeycombe, etc.) and the villagers aren't just random sprites wandering in circles. Each one gets 3 personality traits (grumpy, chatty, shy, romantic, nightowl, earlybird, angler, and so on) and a compatibility score when they run into each other. Every fresh town intentionally spawns with old friendships, two people who have noticed each other, and one guaranteed feud.
If two compatible villagers chat enough, they become sweethearts, get married, and the town actually blocks off an empty lot, builds them a brand new house, and moves them in. They have kids who inherit their parents' skin tones, grow up, grow old, and eventually there's a funeral in the churchyard (which has five different kinds of headstones). And there's a pixel-art notice board in town that posts the local gossip, the real temperature in °F or °C, and whatever's happening that day.
The nerdy technical stuff under the hood
Because I couldn't just do anything the simple way:
So yeah... it started as "wouldn't a little pixel village wallpaper be cute" and turned into a full-blown tiny ant farm with a GLSL weather engine. Still makes me smile every time I close a terminal and catch a heron fishing or a cow getting abducted.
When can we get a ISO?
Owning the entire stack from bootloader to memory allocator eliminates legacy syscall overhead and scheduler jitter, but it also strips away decades of battle-tested driver error handling and power-state recovery when real hardware misbehaves. Silicon never respects clean kernel abstractions.
Ha, I wish I was that brave. I didn't write a kernel or a bootloader. It's CachyOS underneath, so it's the regular Linux kernel with all those decades of battle tested driver weirdness still doing the dirty work. Power states, suspend, wifi, GPU, all of it is untouched.
What I built is everything above that. The compositor setup, the shell, the settings app, the CLI, the theme engine and the rest. If silicon misbehaves, it's still Linus's problem and not mine. I just make it look good while it's crashing.
That said, writing my own allocator sounds like a great way to never see my family again, so maybe next year.
Welcome to DEV! From a DOS BBS at 12 to your own desktop with its own settings app and CLI is quite a journey, and it's great you wrote about the ADD part and how a patient teacher at 2am made the difference. Which part of CLOUDWERX OS did you insist on building by hand, without AI?
The CLI as the stable API for the whole machine is the part that stuck with me. One command surface for themes, snapshots, Tailscale, everything, and cloudwerx doctor checking the install.
A whole desktop you use all day gets tested by real work, from the settings app to the editor. Which piece turned out to be the hardest to keep working?
I would have to say the Settings app itself has so very many sections, moving parts, and it's gone through several total rewrites and redesigns as well. Pretty much all new ideas have to have some part in it, everything from the new shaders I add for transitions to the model downloader for voice recognition. Just keeping all the categories organized can be challenging!
A Settings app that has been through several rewrites and still has to take in nearly every new idea sounds like a lot to keep tidy. With something like the voice model downloader, do you pick its category before building it, or does it find a place once it works?
I typically find a good place for things as I build them out, but due to the vast amount of sections that have been added over all this time, I have done some total redesigns. The most recent one puts things logically laid out in 10 main categories. The previous version had sub-categories, and it just wasn't working.
The three-index search design is the part I kept coming back to. Keeping names, BM25 text search, and meaning search in separate indexes, then fusing them with reciprocal rank fusion, is a neat answer to the usual problem where one ranking mode dominates the others. The 11 ms result over almost 14 million indexed items makes the trade-off concrete, not just theoretical. I also liked that agent-sudo parses the command instead of regexing the string, since wrappers like sh -c, env, and redirections are exactly where a naive check would be fooled. How do you handle index freshness when files change quickly — is the search daemon watching for changes incrementally, or does it rebuild parts of the index on a schedule? And for agent-sudo, how do you decide which commands deserve a rule versus a prompt, when the risk depends so much on context?
Appreciate you actually digging into how it's put together, those are both really good questions.
It's actually a hybrid of both, split by where the files live so I don't burn through every inotify watch on the system watching /usr/lib.
Everything in your home folder and your content_roots (basically anywhere you're actually working) gets live inotify watches on every directory. The watcher thread (cw-watch) polls with a 250ms timeout, drains whatever events the kernel queued up in a batch, and updates the in-memory NameIndex right away. New folders get a watch added on the spot, edits update mtime and size, and deletes just flip a F_DEAD flag on the entry so existing IDs don't shift around.
For the content and meaning indexes, rapid bursts are where things would normally melt down (like running cargo build or switching git branches and touching 500 files in half a second). So cw-watch hands those paths to the indexer thread (cw-indexer), which throws them into a HashSet to dedupe repeat hits on the same file and waits for 1.5 seconds of quiet before processing them. There's also a 10 second max cap on that debounce, so if a script is hammering files nonstop, it doesn't starve forever and still flushes every 10 seconds.
A couple other tricks keep it from getting bogged down:
• Every file gets checked against manifest.json (mtime + size) before extraction or embedding, so unchanged files are skipped completely.
• Even if a huge initial sync is running in the background, the indexer checks for live inotify events between every 48-file batch (interleave_live), so a file you just saved jumps the line and becomes searchable immediately.
• Everything outside the live roots (system dirs, etc.) gets refreshed by a scheduled full walk every 20 minutes by default. That full rebuild also fires early if you plug in a drive (/proc/self/mountinfo changes), if inotify overflows during a massive burst (Q_OVERFLOW), or if dead tombstoned entries pile up past 50,000 and 25% of the index.
And if files change while a full name rebuild is running in the background, cw-watch records every path touched during the scan and replays them onto the new index the moment it swaps in atomically. Zero race conditions, no lost edits.
Here's the funny part: agent-sudo doesn't actually prompt at all.
That was the whole reason I built it. An interactive prompt kills automation, because an agent running a command in a background shell can't click "yes" or type a password, and sudo -n will just fail. So agent-sudo is strictly a pass/fail gate. Either it passes the checks, runs as root, writes to /var/log/agent-sudo.log and pops a desktop notification, or it gets blocked with exit code 126 and tells you which rule stopped it. (If I actually want a live "Allow / Deny" card on my screen before something happens, that's Ghosthand's job, or I just run normal sudo myself.)
As for how I decide what deserves one of the 10 built-in rules, the line I drew is irreversible machine-wrecking stuff vs. normal admin work that just happens to need root.
Installing a package (pacman -S), restarting a service (systemctl restart), or writing a systemd unit with tee are all privileged, sure, and they can break things if you're careless, but they're normal maintenance. Blocking those would make the tool useless. So the 10 rules only target the things where one typo or empty variable ruins your whole week: rm -rf on / or system dirs, mkfs/wipefs, dd or > onto a block device like /dev/sda, touching /etc/shadow or sudoers, recursive chmod/chown on system roots, fork bombs, reboot/poweroff, that kind of thing.
Where context matters, the parser does a few things so it isn't guessing blindly:
• Path normalization against cwd: Before checking if a target is critical, it resolves ., .., //, symlinks (canonicalize), and globs (/, /etc/). So rm -rf ./dist passes fine, while rm -rf ../../etc from two folders deep gets caught.
• Refusing what it can't verify: There's a rule called unverifiable-delete. If a recursive rm path starts with a shell variable like rm -rf "$DIR/"*, agent-sudo blocks it outright because static analysis can't know if $DIR is empty at runtime.
And because risk really does depend on the machine and what you're letting an agent do, there's /etc/agent-sudo.json (root-owned, fails closed on typos or loose permissions so a broken config never silently loosens anything). In there you can set allow_programs to lock an agent down to just ["pacman", "systemctl"], add deny_programs, or turn off individual rules via disable_rules if you actually want an agent to be able to reboot the box.
Still, I'm pretty upfront in the README that it's a seatbelt, not a security wall. If you don't restrict allow_programs and an agent runs python3 -c as root, no command parser on earth is going to save you from arbitrary code inside an interpreter. For my own setup though, catching the accidental rm -rf or dd before it hits disk has already paid for itself.
Such an awesome project man. Keep it up :)
13,973,978 items answering in 11 ms made me rethink my own search habits.
I'm working on getting that under 10ms! Eventually, I hope to get results before I even search for anything 👾