homelab

Delivery pipeline

From an issue to a running container.

A change starts as a Linear issue or a prompt from my phone. Claude writes it in an Orbital session. GitHub Actions and five security gates check it, and the image is scanned before it ships. Arcane rolls it out at home and Vigil watches it come back up. I review and merge; the rest runs on its own.

The lifecycle

Who does each step

Each lane is a person or a system. I write the issue and merge the pull request. Everything else is started by the step before it, and when something fails it loops back.

How a change ships Swimlanes for me, Orbital, GitHub and the homelab. I write a labelled Linear issue; an Orbital rule starts a Claude Code session, which opens a pull request. GitHub Actions CI, Socket, Semgrep, DryRun and GitGuardian check it; findings go back to the session. I review and merge. Actions builds the image, Trivy scans it and it is pushed to GHCR. Arcane deploys it on the HP server and Vigil watches it; if it fails I get an alert, which becomes a new issue. Plan Code Verify Review Build Release Deploy Operate Meplan · merge Orbitalon the HP server GitHubActions · apps HomelabArcane · Vigil Issuewith a label Rule firesstarts a session Claude Codeopens a PR PR checksCI and 4 gates Reviewsquash, merge Build, scanBuildx · Trivy GHCR:latest + tag DeployArcane recreates WatchVigil checks it Alertonly if it fails pull request findings all green merge to main new image down or unhealthy the alert becomes a new issue runs on its own only when something fails a lane is who, or what, does the step

The pipeline

Six stages, two of them mine

Stages marked me are mine; everything else is triggered by the stage before it.

  1. 1 · Plan me

    An issue, labelled

    I write the issue and add the label. An Orbital rule watches Linear: a new issue with the right label starts a session on the right repo, on Linear's branch name, with the issue as the first message.

    polls Linear every minute
  2. 2 · Write

    Claude Code in a container

    The session runs in its own container on the HP server with a scoped GitHub token. It commits, pushes and opens a pull request, then comments the link on the issue.

    gh pr create
  3. 3 · Check

    CI and security gates

    Type checks, tests and a build run in Actions. Socket vets new packages, Semgrep and DryRun look for flaws in the code, and GitGuardian looks for secrets. Orbital can add a /security-review session.

    pnpm check · test · build
  4. 4 · Merge me

    I read it and merge

    Nothing reaches main without a person. Agents push branches and open pull requests; merging stays with me.

    squash and merge
  5. 5 · Release

    Scanned, multi-arch image to GHCR

    A push to main builds amd64 and arm64 images with Buildx and pushes them to GitHub's container registry as :latest and a version tag. Trivy scans images and dependencies for known vulnerabilities.

    ghcr.io/vitafortis/<app>
  6. 6 · Deploy and watch

    Arcane rolls it out, Vigil checks

    Arcane pulls the new image and recreates the stack on the HP server. Vigil keys containers by name, so the new one keeps its history, and it alerts if the container doesn't come back healthy.

    one alert if it fails

Security gates

Five tools, each looking for something different

Each one catches a different kind of problem. They run as GitHub Apps on the repos and report back as checks on the pull request, next to CI.

Socket

every PR · main

Supply chain

Vets every new or updated dependency for malware, typosquats, install scripts and risky permissions, and alerts on the pull request. A project report on main tracks the whole tree.

All vitafortis repos

Semgrep

every PR

Static analysis

Scans the code for insecure patterns with security rules, such as injection, unsafe deserialization and weak crypto, and flags new findings on the lines the pull request changed.

Armistice-Group reposvitafortis next

DryRun Security

every PR

AI code review

Reads each pull request in context and runs separate analyzers for cross-site scripting, SQL injection, SSRF, IDOR, mass assignment and secrets.

vitafortis and Armistice-Group repos

GitGuardian

every PR

Secrets

Catches API keys, tokens and private keys in commits before they're merged, with checks on each pull request.

Armistice-Group repos

Trivy

images · deps

Vulnerabilities

Scans container images and dependencies for known CVEs and misconfigurations, so a vulnerable base image or package shows up before it's deployed.

Armistice-Group reposvitafortis next

Semgrep and Trivy are connected to the Armistice-Group organization today and are being added to the vitafortis repos.

GitHub Actions

The workflows in each repo

Every app uses the same three workflows, with a few extras where the app needs them.

WorkflowRuns onWhat it doesWhere
CIEvery pull request and push to mainFrozen-lockfile install on Node 24, then check, test and build; builds the Dockerfile without pushingVigil, Orbital, Lanthorn, Coffer, Saga, Wharf, Debrief, Atrium
ImagePush to main, v* tagsQEMU and Buildx build amd64 and arm64, then push to GHCR with :latest, :main and version tagsThe same apps, plus this site. Lanthorn, Saga and Atrium build on a self-hosted x64 runner.
Self-hosted runnerAtrium pull requests from its own branchesSame-repo pull requests run CI on the self-hosted runner. Pull requests from forks go to GitHub-hosted runners, so outside code never runs at home.Atrium
PagesPush to mainBuilds the docs site from site/ and publishes it to GitHub PagesVigil, Orbital, Coffer, Debrief
RecorderPush to mainBuilds and signs the Debrief Recorder for macOS and Windows, and publishes the manifest its auto-updater readsDebrief
UI smoke testPull requestsStarts the app and checks the UI loads in a browserTraffic Viewer
NoneHelm installs from its own hub with a one-line script, so there's no image to buildHelm

Inside the apps

What runs on a schedule

The apps keep themselves current, so nothing needs a cron job on the host.

Vigil

Re-reads Pangolin and Arcane on each connection's sync interval, checks every monitor on its own interval, and pings the heartbeat every minute.

Orbital

Polls Linear every minute, renews GitHub App and AWS role keys inside running sessions, and stops idle sessions after the hours you set.

Lanthorn

Hourly size history, scheduled dumps to the NAS, alert checks, and a schema snapshot every 6 hours when something changed.

Wharf

Syncs every registry's tags every 30 minutes, fetching only manifests it hasn't seen.

Saga

Removes expired items every 5 minutes and snapshots everything to the NAS every 24 hours by default.

Debrief

Syncs calendars, matches new recordings to events, and summarizes them as soon as they're matched.

Traffic Viewer

Pulls new Pangolin log events, checks alert rules, and drops events older than the retention window.

Atrium

Asks Pangolin for the current list of services, so a new resource shows up as a tile on its own.

What's missing

Gaps in the pipeline

Actions pinned by tag, not by commit

Third-party actions run as @v4. A compromised tag would run in the release workflow with permission to push images. Pin them by SHA.

No dependency bot

Base images and dev dependencies are updated by hand. Renovate or Dependabot would open those PRs, and CI would check them.

Images aren't signed

There's no cosign signature or SBOM, so Arcane can't verify an image came from these workflows before running it.

Deploys aren't gated on health

Arcane rolls forward and Vigil reports a bad deploy, but nothing rolls back on its own.

Screenshots are made by hand

A workflow that re-shoots each app's docs from demo data would keep them current, and would make sure no real addresses or names ever end up in them.

Helm has no CI

It's Python with no build, but it still has no automated tests on pull requests.