Category: Home Lab

  • The Fleet: Small Nodes, Patched Nightly, No Heroics

    The Fleet: Small Nodes, Patched Nightly, No Heroics

    The fleet is thirteen hosts: a few machines in the house and a set of small cloud servers. No single box is impressive. That is the design. Small nodes, each doing a bounded job, are easier to patch, easier to replace, and far less exciting when one of them has a bad night.

    🌙 PatchingNightly and automated, one critical host at a time
    🩺 Health gatesChecks after every host, failures in the morning report
    🐢 Phased rolloutsRespected; the fleet waits with everyone else
    🛟 RollbackBackup or snapshot before any significant change

    🚚 Patching is a conveyor belt, not an event

    Every night, an automated run works through the fleet and applies operating system updates. It goes one critical host at a time, never in parallel where it matters. After each host updates, the run checks that the machine came back properly: services responding, nothing stuck, and if the update needs a reboot, the reboot happens inside the window and gets verified the same way. A host that fails its health check does not get a shrug. The run stops being quiet and I hear about it in the morning report, with logs.

    The fleet also respects phased rollouts from the operating system vendor. When the vendor holds a package back for a few days to catch early problems, the fleet waits with everyone else. Being a week behind on a low-risk package is fine. Being the person who found the bug for everyone else is a volunteer job I did not sign up for.

    🛟 Rollback discipline

    Updates are expected to be boring, and boring requires an exit. Before anything significant changes, there is a backup or a snapshot and a written note about how to get back. For the website stack, the weekly container check literally keeps the previous image around so a bad update can be reversed in minutes. The rule across the fleet is simple: never start a change you cannot undo while half awake, because half awake is exactly when you will be undoing it.

    🧱 Why not one big box

    Consolidation is tempting. One large server is cheaper to buy and simpler to draw on a whiteboard. But one big box is also one big failure, one big patching event, and one very long evening when it goes wrong. Small nodes fail small. I can rebuild a node from its declaration and its backups, and sleep on the rest. The fleet also lets me put workloads where they belong: public things in the cloud, private things in the house, heavy things near the storage.

    📚 The honest lesson

    The fleet taught me that reliability is mostly scheduling and paperwork. The glamorous failure, the dramatic outage, almost never happens. What happens is drift: one host quietly two versions behind, one exception nobody wrote down, one check that stopped checking. The nightly rhythm exists to hunt drift while it is still small. Thirteen hosts stay manageable not because any of them are special, but because none of them are allowed to become special.

    🔗 Resources

  • TickMark: A Markdown Editor Run Like a Production Service

    TickMark: A Markdown Editor Run Like a Production Service

    TickMark is a fast, native markdown viewer and editor for macOS, and the first product I have put a price tag on: it ships on the App Store under my own company, NeuralSec Advisory. The free app is a complete reader. Any markdown file renders the way it should, Mermaid diagrams, KaTeX math, and syntax-highlighted code included, in a scroll-linked live preview. The Pro tier unlocks the editor, a TextKit 2 writing surface built for keystroke latency, plus Git integration, export, and an AI assistant. It started as the markdown tool I wanted on my own machine. Then it shipped publicly, on the App Store, for people I have never met, which changes how you build something.

    ✅ PurposeMarkdown viewing and editing, rendered live
    👤 AudienceAnyone who writes in markdown
    🍏 PlatformmacOS, native (TextKit 2), on the App Store
    🎁 ModelFree viewer; Pro unlocks editing, Git, and export
    🏭 OperationsSmall versioned releases, maintained docs site
    🌐 Sitetupacalypse187.github.io/tickmark
    💻 Code🔒 Private repository

    🏭 Built like it matters, because strangers run it

    The interesting decision was not building it. It was shipping it. A tool on your own machine only has to work on your machine, on your day, with your documents. A product has to survive other people’s machines and other people’s files, pass App Store review, and do it all again on the next release. So TickMark gets the production treatment in the ways that matter for an app: small versioned releases instead of big-bang rewrites, a documentation site written like someone will read it at 11 PM, and a free tier that is genuinely complete, because the free tier is the demo.

    That sounds like overkill for a side project, and honestly, it is. It is also the point. A small product run with production discipline is a training ground with real stakes and a tiny blast radius. The habits are the same ones that keep the fleet healthy, staged changes, a written record of what shipped, a rollback you have actually thought about, practiced where a mistake costs an annoyed evening instead of a very bad day.

    🔁 How it evolves

    Features arrive the way they do in real products: when the friction shows up in actual use, not when a roadmap says so. The free and Pro split is the prioritization discipline. Viewing stays the free core, done properly, and the power features, editing, Git, export, the AI assistant, are what Pro pays for. Releases stay small, because App Store review makes big releases expensive and small releases are the kind you can undo. And the interface stays ruthlessly simple: every screen answers one question, and if a feature needs an explanation, it gets redesigned instead of documented. The docs exist for depth, not as an apology.

    📚 The honest lesson

    TickMark taught me the difference between building software and operating software. Building it took a fraction of the total hours. Operating it, patching, adjusting, answering for it, keeping it fast and trustworthy month after month, is the real project, and it never finishes. That is true of every system in this series, but a product makes it impossible to ignore: the support inbox is a person, not a ticket queue, and there is nobody to hand it to. You are the vendor now. Ship accordingly.

    🔗 Resources

  • AI Agents With Production Access

    AI Agents With Production Access

    An AI agent helps operate this website. It drafts articles, runs update checks, and does routine maintenance through the same WordPress the humans use. People hear that and ask about the model. Wrong question. The model is the least interesting part of the arrangement. What makes it safe enough to do is everything around the model: the account it uses, the tools it can touch, and the rules that hold even when it asks nicely to break them.

    🤖 Worked exampleThis website’s AI-assisted maintenance
    🔑 UserScoped, editor-level, never admin
    📝 CreationForced to draft, whatever is requested
    🚫 ExcludedUsers, settings, plugins, any shell

    🔑 Least privilege, in writing

    The agent connects through a dedicated WordPress user created for it alone. Editor level, not administrator. That single choice deletes whole categories of accident and malice from the possibility space: it cannot install or remove plugins, cannot manage users, cannot touch site settings, cannot edit the theme. Its tool connection narrows things further, to content work only. Reading, creating, and editing posts and pages, working with media. The connection was inventoried tool by tool when it was built, the way you would inventory a key ring before handing it to anyone: this key, this door, no others.

    📝 Drafts only, by construction

    The most important guardrail is not a policy the agent is asked to follow. It is a setting on the site that forces anything the agent creates to be saved as a draft, regardless of what it requests. Nothing it creates can arrive published. That distinction, enforcement versus instruction, is the whole ballgame. Instructions are suggestions that hold until the day they matter most. Enforcement holds on the bad day too. Everything the agent writes queues up for a human read, and the publish button stays a deliberate human click. This entire article series arrived exactly that way: machine-typed, human-approved, or it would still be sitting in drafts.

    💾 Backups before changes, verification after

    The standing rules for the agent are the standing rules for me, because they were never really about who is typing. Back up before a change, so the change can be undone. Verify after, with evidence, not vibes: the page answers, the health checks pass, the thing claimed is the thing observed. Keep credentials in the one place credentials live, and never in the content, the chat, or the code. None of this is AI-specific wisdom. It is operations discipline, and the agent simply inherits it, the way a junior operator would, except the agent never gets tired, senior, and casual about the checklist.

    📚 Why the leash matters more than the model

    Models will keep changing, and each new one will be smarter in the demos. The guardrails do not care. A scoped account, a draft-only pipe, a backup habit, and a human on the publish button make the worst realistic day a deleted draft and a short incident note, instead of a defaced site and a long one. Trust, in operations, is not a feeling about the operator. It is a property of the system the operator works inside. Build the system so that trust is cheap to grant, and you can hand real work to fast hands, human or otherwise, and sleep fine.

    🔗 Resources