Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Bootstraps a fresh Ubuntu VPS into a complete multi-agent AI development environment in 30 minutes: coding agents, session management, safety tools, and coordination infrastructure
Jump to setup instructionsFetched from the repository for this visit.
🌐 agent-flywheel.com — Interactive setup wizard for beginners
From zero to fully-configured agentic coding VPS in 30 minutes. A complete bootstrapping system that transforms a fresh Ubuntu or Arch-based machine into a professional AI-powered development environment.
|
The Vision Beginner with laptop → Wizard → VPS → Agents coding for you |
{ acfs_installer="$(curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/install.sh")" || acfs_installer="$(curl -fsSL "https://cdn.jsdelivr.net/gh/Dicklesworthstone/agentic_coding_flywheel_setup@main/install.sh")"; } && printf '%s\n' "$acfs_installer" | bash -s -- --yes --mode vibe
[!NOTE]
raw.githubusercontent.comis listed first deliberately. jsDelivr caches a mutable@mainreference, so it can serve an installer that is hours or days behind the repository. When that happens the stale installer's bootstrap extraction list does not match the current checksum ledger and the install fails withINTEGRITY: <file> missing— a failure that looks like a repository defect but is purely a CDN cache artifact. Keeping the authoritative source primary and the CDN as fallback preserves the resilience without that failure mode. Please do not reorder these. Each download is buffered before execution so a failed request cannot concatenate a partial installer with the fallback response.
The installer is idempotent—if interrupted, simply re-run it. Resume revisits installation phases and uses component checks to repair incomplete installations.
Using a cloud agent instead of a VPS? The cloud agent guide has tested Claude Code / Codex setups and researched recipes for other Linux agents. See cloud environments.
Production environments: For stable, reproducible installs, pin to a tagged release or specific commit:
# Preferred: use a tagged release (e.g., v0.11.6) curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/v0.11.6/install.sh" | bash -s -- --yes --mode vibe --ref v0.11.6 # Alternative: pin to a specific commit SHA curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/abc1234/install.sh" | bash -s -- --yes --mode vibe --ref abc1234Tagged releases are tested and stable. Passing
--refensures all fetched scripts use the same version.
ACFS is a complete system for bootstrapping agentic coding environments:
Why you'd care:
curl | bash command installs 30+ tools, configures everything, and sets up three AI coding agentsWhat you get:
Coding agents: 7 modules — 3 installed by default (Antigravity CLI, Claude Code, Codex CLI); 3 optional (Grok CLI, oh-my-pi, OpenCode); 1 legacy, off by default (Gemini CLI). Full roster in Compatible AI Coding Agents.
graph LR
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#e8f5e9', 'lineColor': '#90a4ae'}}}%%
subgraph user ["User's Machine"]
LAPTOP["Laptop"]
BROWSER["Browser"]
end
subgraph wizard ["Wizard Website"]
STEPS["13-Step Guide"]
end
subgraph vps ["Fresh VPS"]
UBUNTU["Ubuntu 22.04 / 24.04 LTS"]
INSTALLER["install.sh"]
CONFIGURED["Configured VPS"]
end
subgraph agents ["AI Agents"]
CLAUDE["Claude Code"]
CODEX["Codex CLI"]
AGY["Antigravity CLI"]
end
LAPTOP --> BROWSER
BROWSER --> STEPS
STEPS -->|SSH| UBUNTU
UBUNTU --> INSTALLER
INSTALLER --> CONFIGURED
CONFIGURED --> CLAUDE
CONFIGURED --> CODEX
CONFIGURED --> AGY
classDef user fill:#e3f2fd,stroke:#90caf9,stroke-width:2px
classDef wizard fill:#fff8e1,stroke:#ffcc80,stroke-width:2px
classDef vps fill:#f3e5f5,stroke:#ce93d8,stroke-width:2px
classDef agent fill:#e8f5e9,stroke:#a5d6a7,stroke-width:2px
class LAPTOP,BROWSER user
class STEPS wizard
class UBUNTU,INSTALLER,CONFIGURED vps
class CLAUDE,CODEX,AGY agent
ACFS includes a step-by-step wizard website at agent-flywheel.com that guides complete beginners through:
ACFS is a one-liner that transforms any fresh Ubuntu or Arch-based machine into a fully-configured development environment with modern tooling and three AI coding agents ready to go.
ACFS provides a reproducible, idempotent setup that ensures every team member's VPS environment is identical—eliminating "works on my machine" for agentic workflows.
ACFS centers its tool inventory and generated module metadata on the manifest.
Generated installer libraries and doctor checks derive from it, while
install.sh and several orchestration libraries retain explicit authored
handoffs. Drift checks cover the seam between those two layers.
flowchart TB
%% User and website
subgraph U["User (local machine)"]
Browser["Browser"]
Terminal["Terminal / SSH client"]
end
subgraph W["Wizard Website (Next.js 16) — apps/web"]
Wizard["Wizard UI (/wizard/*)"]
InstallRoute["GET /install (302 redirect to raw install.sh)"]
WebState["State: URL params + localStorage"]
end
%% Repo sources
subgraph R["Repo (source)"]
Manifest["acfs.manifest.yaml<br/>Modules + install + verify + deps"]
Generator["packages/manifest<br/>Parser (Zod) + generate.ts"]
Generated["scripts/generated/*<br/>source-only libraries/harness + doctor/index/checksum data"]
Installer["install.sh (production one-liner)"]
Lib["scripts/lib/*<br/>security / doctor / update / services-setup"]
Configs["acfs/*<br/>zshrc + tmux.conf + onboard lessons"]
Checksums["checksums.yaml<br/>sha256 for upstream installers"]
Tests["tests/vm/test_install_ubuntu.sh<br/>Docker integration test"]
end
%% Target VPS
subgraph V["Target VPS (Ubuntu LTS, existing release preserved)"]
Run["Run install.sh"]
Verify["Verified upstream installers<br/>(security.sh + checksums.yaml)"]
AcfsHome["~/.acfs/<br/>configs + scripts + state.json"]
Commands["Commands<br/>acfs doctor / acfs update / acfs services / acfs services-setup / onboard"]
Tools["Installed tools<br/>bun/uv/rust/go + tmux/rg/gh + vault + ..."]
Agents["Agent CLIs<br/>claude / codex / agy"]
Stack["Stack tools<br/>ntm / mcp_agent_mail / ubs / bv / cass / cm / caam / slb / dcg / ru"]
end
%% Website guidance flow
Browser --> Wizard
Wizard --> WebState
Wizard --> InstallRoute
InstallRoute -->|redirects to| Installer
%% How users fetch/run the installer
Terminal -->|curl / bash| Installer
Terminal -->|SSH| Run
%% Manifest-driven generation
Manifest --> Generator --> Generated
Generated -->|install.sh sources category libraries<br/>and dispatches private module functions| Installer
%% Installer composition
Lib --> Installer
Configs --> Installer
Checksums --> Installer
Tests -->|validates| Installer
%% VPS install results
Installer --> Run
Run --> Verify
Verify --> Tools
Verify --> Agents
Verify --> Stack
Run --> AcfsHome --> Commands
┌─────────────────────────────────────────────────────────────────────────────┐
│ SOURCE OF TRUTH │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ acfs.manifest.yaml │ │
│ │ Tool Definitions • Install Commands • Verification Logic │ │
│ └─────────────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘
│
┌─────────────────┴─────────────────┐
▼ ▼
┌───────────────────────────────────┐ ┌───────────────────────────────────┐
│ CODE GENERATION │ │ WIZARD WEBSITE │
│ ┌─────────────────────────────┐ │ │ ┌─────────────────────────────┐ │
│ │ TypeScript Parser (Zod) │ │ │ │ apps/web/ (Next.js 16) │ │
│ │ generate.ts │ │ │ │ agent-flywheel.com │ │
│ └─────────────────────────────┘ │ │ └─────────────────────────────┘ │
└───────────────────────────────────┘ └───────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────────────────┐
│ GENERATED OUTPUTS (REFERENCE) │
│ scripts/generated/: 13 source-only category libraries + install_all │
│ harness + doctor checks + manifest index + schema-1 checksum ledger │
└───────────────────────────────────────────────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────────────────┐
│ INSTALLER │
│ install.sh + scripts/lib/*.sh + checksums.yaml (SHA256 verification) │
│ (category libraries are sourced; install.sh owns production dispatch) │
└───────────────────────────────────────────────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────────────────┐
│ TARGET VPS │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ 30+ Tools │ │ zsh + p10k │ │ AI Agents │ │ ~/.acfs/ │ │
│ │ Installed │ │ Shell Config │ │ Claude/Codex │ │ Configurations│ │
│ └──────────────┘ └──────────────┘ └──────────────┘ └──────────────┘ │
└───────────────────────────────────────────────────────────────────────────┘
Single Source of Truth: The manifest file (acfs.manifest.yaml) defines every tool—its name, description, install commands, and verification logic. When you add or edit a tool in the manifest, the generator automatically updates the generated scripts and manifest-derived checks. The production one-liner installer (install.sh) is still hand-written today, so behavior changes may also require updating install.sh until full migration.
TypeScript + Zod Validation: The manifest parser uses Zod schemas to validate the YAML at parse time. Typos, missing fields, and structural errors are caught immediately during generation—not at runtime on a user's VPS when the installer fails halfway through.
Generated Scripts: Rather than hand-maintaining one installer script per manifest category and keeping them synchronized, the generator produces them from the manifest. This means:
| Component | Path | Technology | Purpose |
|---|---|---|---|
| Manifest | acfs.manifest.yaml | YAML | Single source of truth for all tools |
| Generator | packages/manifest/src/generate.ts | TypeScript/Bun | Produces installer scripts from manifest |
| Website | apps/web/ | Next.js 16 + Tailwind 4 | Step-by-step wizard for beginners |
| Installer | install.sh | Bash | One-liner bootstrap script |
| Lib Scripts | scripts/lib/ | Bash | Modular installer functions |
| Generated Scripts | scripts/generated/ | Bash/data | Source-only category libraries and harness, doctor checks, manifest metadata, and the schema-1 internal checksum ledger |
| Configs | acfs/ | Shell/Tmux configs | Files deployed to ~/.acfs/ |
| Onboarding | acfs/onboard/ | Bash + Markdown | Interactive tutorial system |
| Checksums | checksums.yaml | YAML | SHA256 hashes for upstream installers |
acfs.manifest.yaml is the canonical inventory for generated ACFS modules. It
defines their installation and verification metadata; authored orchestration
remains responsible for bootstrap, lifecycle, and registered non-generated
handoffs.
version: 2
name: agentic_coding_flywheel_setup
id: acfs
defaults:
user: ubuntu
workspace_root: /data/projects
mode: vibe
modules:
- id: base.system
description: Base packages and sane defaults
category: base
run_as: root
optional: false
enabled_by_default: true
generated: true
phase: 1
install:
- apt-get update -y
- apt-get install -y curl git ca-certificates unzip tar xz-utils jq build-essential
verify:
- curl --version
- git --version
- jq --version
Each module specifies:
The TypeScript generator (packages/manifest/src/generate.ts) reads the manifest and produces:
Category Libraries (scripts/generated/install_base.sh, install_agents.sh, etc.)
Doctor Checks (scripts/generated/doctor_checks.sh)
|| in shell commands)Generated Harness (scripts/generated/install_all.sh)
Runtime Data (scripts/generated/manifest_index.sh, internal_checksums.sh)
Note: Production
install.shis the only supported installation entry point. It sources the category libraries and dispatches their private functions through its phase runner; it does not callinstall_all.sh.
To regenerate after manifest changes:
cd packages/manifest
bun run generate # Generate scripts
bun run generate:dry # Preview without writing
Shell can parse YAML with yq, but TypeScript + Zod offers:
The generator centralizes the substantially larger Bash output in one reviewed TypeScript implementation. Exact line and file counts are intentionally derived from the current manifest rather than frozen in this document.
ACFS downloads and executes installer scripts from the internet. This is inherently risky—a compromised upstream could inject malicious code. The security verification system mitigates this risk.
The checksums.yaml file contains SHA256 hashes for all upstream installer scripts:
# checksums.yaml
installers:
rust:
url: "https://raw.githubusercontent.com/rust-lang/rustup/1.29.3/rustup-init.sh"
sha256: "d890e2fe..."
uv:
url: "https://astral.sh/uv/0.13.9/install.sh"
sha256: "ccc88811..."
The security library (scripts/lib/security.sh) provides:
HTTPS Enforcement: All installer URLs must use HTTPS. Non-HTTPS URLs fail immediately.
Checksum Verification: Before executing a downloaded script, the system:
Verification Modes:
./scripts/lib/security.sh --print # List all upstream URLs
./scripts/lib/security.sh --verify # Verify all against saved checksums
./scripts/lib/security.sh --update-checksums # Generate new checksums.yaml
./scripts/lib/security.sh --checksum URL # Calculate SHA256 of any URL
The uv installer also requires a working sha256sum from coreutils in its
clean target-user environment. Immediately before executing uv's verified
installer, ACFS checks the verifier with a known SHA256 result using the same
system PATH and account. A missing, failing, or incorrect verifier stops the
installation before uv can download release archives, and asks you to repair
or install coreutils. This applies to both
the legacy and generated installers and preserves the installer's stdin.
Third-party installers are fetched from URLs whose bytes never change: a
release tag (uv, rustup, nvm, Atuin) or a commit (Bun, Oh My Zsh, zoxide,
OpenCode, omp). The vendors' own URLs (bun.sh/install, sh.rustup.rs,
install.ohmyz.sh, astral.sh/uv/install.sh, .../releases/latest/...) serve
new bytes whenever upstream edits the script, and between July and November
2026 every such edit failed its pin closed and stopped fresh installs until
someone reviewed it (uv's pin alone changed 27 times). Antigravity, Claude Code
and Grok publish no immutable installer URL, so their pins still need a review
when upstream changes them. To move to a newer version, change the tag or
commit in KNOWN_INSTALLERS in scripts/lib/security.sh, then regenerate and
review checksums.yaml as shown below; tests/unit/lib/test_security.bats
fails if a third-party entry goes back to a moving URL. Installed systems
still get new releases through each tool's own updater (uv self update,
rustup update, bun upgrade, ...) during acfs update.
A checksum mismatch can mean:
The verification report distinguishes these cases:
To update after verifying a legitimate upstream change:
# Write to a candidate file first: redirecting straight onto checksums.yaml
# truncates it before the script runs, so a single fetch error would leave
# it empty and every verified installer would fail closed.
./scripts/lib/security.sh --update-checksums > /tmp/acfs-checksums.candidate.yaml
diff -u checksums.yaml /tmp/acfs-checksums.candidate.yaml # Review what changed
cp /tmp/acfs-checksums.candidate.yaml checksums.yaml
git commit -m "chore: update upstream checksums"
The curl | bash pattern is controversial but practical. ACFS makes it safer by:
This is defense in depth—HTTPS protects transport, checksums protect content.
Omarchy (and Arch Linux generally) is supported by the same one-liner — no separate command required. The installer auto-detects your distribution and adapts:
pacman.starship.toml, ACFS leaves it alone rather than overwriting it.--only / --skip: a filtered run executes the manifest modules directly rather than the pacman-aware default path. The modules that can only install with apt (base.system, shell.zsh, cli.modern, lang.go, network.tailscale, tools.vault, db.postgres18) stop before changing anything and print the pacman command to run instead. db.postgres18 instead points to an unfiltered run: its check only recognizes the Ubuntu packages, and the default Arch path installs and initializes PostgreSQL with pacman.Everything else — language runtimes, AI agents, and the flywheel tool stack — installs identically to Ubuntu.
The public cloud agent setup guide selects the right recipe for your provider. Claude Code and ChatGPT / Codex have hosted test evidence; Amp Orbs, Devin and Grok Bot have documentation-based recipes awaiting hosted acceptance. Meta Muse needs shell/runtime and persistence checks before an installation recipe can be accepted. The installer retains its original filename and supports claude, codex and provider-neutral generic modes.
Prefer to hand the setup to a browser agent? Use Copy full instructions near the top of the guide, or share its complete ChatGPT / Codex Markdown brief. The Markdown is the exact copy-button content, including scripts, screenshot references and verification steps. Choose agent=claude, codex, amp, devin, grok, muse or generic; omitting agent defaults to Claude. The guide's Open Markdown link follows your selected provider.
Claude Code on the web runs cloud sessions on a disposable Ubuntu 24.04 VM. ACFS uses scripts/claude-code-web-setup.sh to install prebuilt agent-facing tools during setup, without provisioning users, upgrading the OS or starting background services. The cloud guide walks through it with copy buttons.
Set it up: in claude.ai/code open the environment menu, choose Add cloud environment (or edit one), set Network access to Full (recommended), and paste this as the Setup script:
#!/bin/bash
(
acfs_cloud_setup="$(curl -q -fsSL --proto '=https' --proto-redir '=https' --connect-timeout 5 --max-time 20 -A 'acfs (+https://github.com/Dicklesworthstone/agentic_coding_flywheel_setup)' -H 'Accept-Encoding: identity' https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/scripts/claude-code-web-setup.sh)" || { printf '%s\n' 'ACFS cloud bootstrap download failed; tools were not installed. Check network access and retry.' >&2; exit 0; }
printf '%s\n' "$acfs_cloud_setup" | bash
)
The bootstrap downloads completely before it runs, with a 20-second transfer limit. If that download fails, Claude reports the failure and still starts the session. Full access enables the public binary mirror. Custom and restricted-mode behavior are described below. Pasting the whole script into the field works too.
| Tool | Command | In a cloud session |
|---|---|---|
| BeadsRust | br | Issue tracking in the repo's .beads/ |
| Beads Viewer | bv | bv --robot-* triage from a prebuilt release |
| MCP Agent Mail | am, mcp-agent-mail | Registers am serve-stdio with Claude Code, so no daemon has to survive the snapshot |
| Ultimate Bug Scanner | ubs | Scanner with bundled modules/helpers; no hooks installed |
| Coding Agent Session Search | cass | Search this VM's agent history |
| CASS Memory System | cm | Procedural memory |
| Meta Skill | ms | Skill search and management |
| ast-grep | ast-grep | Structural search and UBS dependency |
| Jeffrey's Skills | jsm | Skill manager for jeffreys-skills.md |
| JeffreysPrompts | jfp | Prompt library CLI |
How it behaves:
cloud-mirror.json before extraction. A mismatch skips the tool. All tools, including JSM, are hash-pinned.~/.acfs/cloud/setup.log, and in the guide below.~/.claude/CLAUDE.md (or $CLAUDE_CONFIG_DIR/CLAUDE.md), which cloud sessions load as user instructions, so Claude knows which flywheel tools exist and how to call them. Content outside the block is preserved. If existing managed markers are incomplete, setup leaves the file untouched and logs the retained replacement guide's location.ACFS_CLOUD_ROOT, new Claude Agent Mail MCP registrations keep their archive in that writable root, preserving an explicit STORAGE_ROOT or XDG_DATA_HOME. The generated CLI recipes and rerun command retain the same setup-selected archive when a later task no longer has those environment overrides; relative setup paths are resolved from the setup directory. Explicit task-time STORAGE_ROOT values still win. Setup does not copy DATABASE_URL credentials into the registration or guide. Re-runs repair the exact old ACFS entry that launched mcp-agent-mail without arguments, retaining a private config backup. Existing registrations retain their storage configuration; use the guide's CLI recipe if a retained registration points at an unwritable location.Left out on purpose: everything in install.sh that provisions a long-lived machine (users, zsh theming, the Ubuntu upgrade, systemd services, Tailscale, PostgreSQL, Vault, cloud CLIs), plus ntm (no interactive terminal to drive), dcg (it installs a user-level Claude Code hook, and cloud sessions only run hooks from the repository's .claude/settings.json), rch (needs SSH build workers), and caam, ru, slb.
Options, set inline so the setup script itself sees them (for example curl -fsSL … | ACFS_CLOUD_TOOLS="br bv am ubs ast-grep" bash). Selecting UBS automatically includes ast-grep so its structural checks are available without a first-scan download:
| Variable | Default | Effect |
|---|---|---|
ACFS_CLOUD_TOOLS | br bv am ubs cass cm ms ast-grep jsm jfp | Which tools to install; ubs also selects ast-grep |
ACFS_CLOUD_TIMEOUT | 180 | Deadline for each tool's job (download, install and version checks) in seconds; 1–180 |
ACFS_CLOUD_REQUIRED | 0 | 1 requires a usable result for every selected tool and publication of the tool guide. The Codex and generic recipes enable this for snapshot setup. Logs and working tools survive a partial failure. Claude uses best-effort setup by default. |
ACFS_CLOUD_REINSTALL | 0 | 1 reinstalls tools that are already on PATH (to update inside a running session) |
ACFS_CLOUD_AGENT | claude | codex writes a Codex instruction guide and skips Claude MCP registration |
ACFS_CLOUD_ROOT | $HOME | Writable absolute data root for binaries/logs; Codex's custom-root guide lives there too |
ACFS_CLOUD_SKILL_DIR | Unset | Optional absolute Codex repository skill directory; existing skills are retained |
ACFS_REF | main | ACFS ref that supplies cloud-mirror.json |
When choosing a custom ACFS_CLOUD_ROOT in generic mode, replace the $HOME paths in the task instructions with that root. Its guide and log are <root>/.acfs/cloud/AGENTS.md and <root>/.acfs/cloud/setup.log. The generated guide supplies the exact PATH and data commands, including Agent Mail's command-local storage setting.
Once the setup script is available, reruns reuse working tools without downloading the manifest or bundles. If a tool is missing, fails its version check, or ACFS_CLOUD_REINSTALL=1 is set, parallel install jobs share one manifest download within their existing deadlines. Download failures remain visible and never trigger source builds.
Public prebuilt mirror: every default tool, including ast-grep, JSM and JFP, comes from https://downloads.agent-flywheel.com/acfs-cloud/v1. No login, GitHub token or repository ownership is needed. Select Full network access, or Custom allowing raw.githubusercontent.com and downloads.agent-flywheel.com. Bundles are pinned by SHA256 in cloud-mirror.json, use content-addressed URLs, and are checked before extraction and executable verification. Setup never runs upstream installers or builds from source.
Trusted/degraded mode: when the mirror cannot be reached, setup tries the exact public artifact pinned in the same manifest. JSM uses a vendor-verified copy on public GitHub, with its original checksum and upstream URL retained. UBS uses a complete public copy of the mirror bundle, including its release-pinned modules and helpers, so scans need no module downloads after setup. The environment's GitHub proxy may block these downloads too, so Trusted does not guarantee all tools. Existing working tools remain available, failures explain the Full/Custom setting in the summary, and session startup continues.
The bundles target Linux x86_64. Each executable must successfully return its version before installation. JFP uses the baseline x64 release asset, verified on both Ivy Bridge without AVX2 and EPYC with AVX2. The publisher requires that asset and refuses to substitute a modern-only build.
Maintainer refresh: python3 scripts/cloud-mirror-publish.py --stage /path/on/large-disk/acfs-cloud --output /path/to/new-candidate.json --publish discovers latest releases with authenticated gh, verifies release checksums and pinned Minisign signatures where published, bundles Linux x86_64 executables, uploads with authenticated Wrangler, and verifies each public download. It requires Python 3.10+, gh, minisign, and wrangler; these credentials are needed only by the maintainer. Review the candidate, smoke-test on Ubuntu 24.04, and commit it as cloud-mirror.json. Repeated runs reuse downloaded artifacts and skip matching remote bundles. Staging is retained for inspection. A failed tool aborts manifest publication; it cannot silently disappear from the install set.
Use --tools br bv to refresh a subset while retaining every other entry from the committed manifest. Partial refreshes require its existing base URL. Refreshing JSM also publishes its verified vendor archive to the public cloud-binaries-v1 prerelease. Assets include the source checksum in their names, are never replaced, and must pass both GitHub's digest check and anonymous download verification before the candidate manifest is written. This carrier does not change ACFS's normal latest release. When mirroring to another R2 bucket/domain, --base-url supplies the public prefix and --bucket supplies the destination bucket; the URL path becomes the object prefix.
The same public bundles work in a Linux x86_64 Codex cloud environment. In Work in → Cloud, create or edit an environment and put this in its Install script:
#!/bin/bash
(
set -o pipefail
acfs_cloud_root="$(git rev-parse --show-toplevel)" || exit 1
acfs_cloud_setup="$(curl -q -fsSL --proto '=https' --proto-redir '=https' --connect-timeout 5 --max-time 20 -A 'acfs (+https://github.com/Dicklesworthstone/agentic_coding_flywheel_setup)' -H 'Accept-Encoding: identity' https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/scripts/claude-code-web-setup.sh)" || { printf '%s\n' 'ACFS cloud bootstrap download failed; tools were not installed. Check network access and retry.' >&2; exit 1; }
acfs_cloud_exclude="$(git rev-parse --git-path info/exclude)" || exit 1
mkdir -p "$(dirname "$acfs_cloud_exclude")" || exit 1
printf '\n/.acfs-cloud/\n/.agents/skills/acfs-cloud-tools/\n' >> "$acfs_cloud_exclude" || exit 1
printf '%s\n' "$acfs_cloud_setup" | ACFS_CLOUD_REQUIRED=1 ACFS_CLOUD_SKILL_DIR="$acfs_cloud_root/.agents/skills/acfs-cloud-tools" ACFS_CLOUD_AGENT=codex ACFS_CLOUD_ROOT="$acfs_cloud_root/.acfs-cloud" bash
) || exit 1
Enable internet access and add raw.githubusercontent.com and downloads.agent-flywheel.com to Additional allowed domains. These public downloads need no secrets or ownership of the tool repositories. The recipe installs into the writable repository workspace because hosted home/config paths can be read-only, and excludes its data directory through local Git metadata. It preserves HOME and CODEX_HOME. Review <repo>/.acfs-cloud/.acfs/cloud/setup.log, then Publish the prepared environment. After changing its setup, Republish for new tasks. See OpenAI's current cloud environment guide.
Save these instructions in the environment's Start skill and include them at the start of each new task. Our hosted checks reused all eleven executables but did not automatically load the saved Start skill or generated repository skill; explicitly loading the guide and setting PATH works:
Find the repository root with git rev-parse --show-toplevel.
Read <repo>/.acfs-cloud/.codex/AGENTS.md for the installed flywheel tools and <repo>/.acfs-cloud/.acfs/cloud/setup.log for failures.
In each task shell, run acfs_cloud_root="$(git rev-parse --show-toplevel)/.acfs-cloud"; export PATH="$acfs_cloud_root/.local/bin:$PATH" before using the tools.
Follow the guide's CASS_DATA_DIR, CASS_MEMORY_HOME and JFP_HOME exports in each task shell so search data, memory and prompt caches use the writable workspace; preserve existing overrides and keep any XDG_DATA_HOME/XDG_CONFIG_HOME writable.
Before using Agent Mail with a read-only HOME, follow the guide's command-scoped STORAGE_ROOT recipe; reuse existing configuration and preserve DATABASE_URL.
Before using JSM with a read-only HOME, follow the guide's command-scoped XDG recipe; reuse existing configuration and check skill installation targets separately.
Keep JSM_DISABLE_SELF_UPDATE=1 in each task shell so ordinary JSM commands retain the manifest-pinned executable; use verified cloud setup for tool refreshes.
Before using MS, follow the guide's local initialization and indexing steps in a writable project; reuse existing .ms/MS_ROOT/MS_CONFIG state.
Check br --version, bv --version, ubs --version and jsm --version before starting work.
Use br ready --json and bv --robot-triage; never open their interactive TUIs.
Codex mode preserves existing instructions outside its managed block. Without a custom root it uses $CODEX_HOME/AGENTS.md or ~/.codex/AGENTS.md; a nonempty AGENTS.override.md takes precedence, so setup warns. The workspace recipe also creates .agents/skills/acfs-cloud-tools/SKILL.md in Codex's documented repository skill location; an existing skill at that path is preserved. Reading that skill loads the separate guide and configures PATH. Automatic hosted catalog discovery failed in our checks: a fresh task still omitted it after removing its Git exclusion, so changing exclusions is not a proven fix. Use the explicit startup instructions above. See OpenAI's instruction discovery rules. Agent Mail is available as a CLI; this setup does not configure or claim hosted MCP support. Local Codex MCP configuration and ChatGPT's remote MCP connections are different surfaces; see OpenAI's MCP guide.
Repository owners who want Codex to discover a reference to the cloud tools through project instructions can run this command once in their target Git checkout. It appends a portable, conditional reference to the root AGENTS.md, or to AGENTS.override.md when that file takes precedence.
#!/bin/bash
(
set -o pipefail
acfs_cloud_setup="$(curl -q -fsSL --proto '=https' --proto-redir '=https' --connect-timeout 5 --max-time 20 -A 'acfs (+https://github.com/Dicklesworthstone/agentic_coding_flywheel_setup)' -H 'Accept-Encoding: identity' https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/scripts/claude-code-web-setup.sh)" || { printf '%s\n' 'ACFS cloud bootstrap download failed; tools were not installed. Check network access and retry.' >&2; exit 1; }
printf '%s\n' "$acfs_cloud_setup" | bash -s -- --install-codex-guidance
)
Review and commit the instruction file to share it with fresh checkouts. The command keeps existing instructions and can be run again. It reports a conflict for edited ACFS guidance, unsafe links, ignored files or a file that would exceed Codex's default 32 KiB instruction budget. In a fresh task, verify which project instructions loaded and check the tools with the guide.
If your UI instead has Setup script and Maintenance script, it uses the legacy environment workflow. Put the install command in Setup script; avoid reinstalling in Maintenance script on every cached resume. Configure task-phase internet separately if tools need online access after setup.
Verification boundary: both installer modes are tested on Ubuntu 24.04, including real public downloads. On 2026-10-08, a fresh Claude-hosted Full session pinned to 4a0e6bfa792ce73ad4c69847755ecd64384288c2 installed all ten tools in 12 seconds; all eleven versions passed, the guide loaded automatically, and Agent Mail's stdio MCP health check passed. On 2026-10-09, a cold default-Trusted Claude session pinned to 31c8180860f9ed461d9843d6ed298939a5b3ea74 installed all ten tools through public fallbacks in 53 seconds; all eleven versions, automatic instructions and actual Agent Mail MCP health passed. That run's first UBS helper download failed TLS; its release-hash-verified recovery was tested separately. The later complete UBS fallback removes that lazy module download, but has not been rerun in that hosted session. Codex hosted installation took 6 seconds at 140a845d; fresh published tasks reused all eleven executables, including after the repository-skill update at 4bdbf5a7. A task that explicitly loaded the guide configured PATH and passed all eleven probes. Automatic Codex skill loading remains open. These times describe the pinned earlier recipes, not a fresh hosted acceptance of later changes. Default Claude setup reports individual failures and exits zero; successful session startup alone does not prove every tool installed. Default UBS exit 0 can include warnings; inspect its report or use --ci --fail-on-warning for a warning-strict check.
The provider-neutral template writes $HOME/.acfs/cloud/AGENTS.md and does not change agent configuration or register MCP servers:
#!/bin/bash
(
set -o pipefail
acfs_cloud_setup="$(curl -q -fsSL --proto '=https' --proto-redir '=https' --connect-timeout 5 --max-time 20 -A 'acfs (+https://github.com/Dicklesworthstone/agentic_coding_flywheel_setup)' -H 'Accept-Encoding: identity' https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/scripts/claude-code-web-setup.sh)" || { printf '%s\n' 'ACFS cloud bootstrap download failed; tools were not installed. Check network access and retry.' >&2; exit 1; }
printf '%s\n' "$acfs_cloud_setup" | ACFS_CLOUD_REQUIRED=1 ACFS_CLOUD_AGENT=generic bash
) || exit 1
Include these instructions in each task:
Read $HOME/.acfs/cloud/AGENTS.md and $HOME/.acfs/cloud/setup.log before starting work.
In each task shell, run export PATH="$HOME/.local/bin:$PATH".
If using a custom writable data root, follow the guide's CASS_DATA_DIR, CASS_MEMORY_HOME and JFP_HOME exports in each task shell; preserve existing overrides and keep any XDG_DATA_HOME/XDG_CONFIG_HOME writable.
Before using Agent Mail with a read-only HOME, follow the guide's command-scoped STORAGE_ROOT recipe; reuse existing configuration and preserve DATABASE_URL.
Before using JSM with a read-only HOME, follow the guide's command-scoped XDG recipe; reuse existing configuration and check skill installation targets separately.
Keep JSM_DISABLE_SELF_UPDATE=1 in each task shell so ordinary JSM commands retain the manifest-pinned executable; use verified cloud setup for tool refreshes.
Before using MS, follow the guide's local initialization and indexing steps in a writable project; reuse existing .ms/MS_ROOT/MS_CONFIG state.
Check br --version, bv --version, ubs --version and jsm --version; report missing tools from the setup log.
Use the existing repository tracker with br ready --json and bv --robot-triage. Never open their interactive TUIs.
Agent Mail is available as a CLI. This setup does not configure this agent's MCP servers.
Requirements: Linux x86_64 with compatible runtime libraries, Bash, Python 3, curl, tar and GNU timeout, plus a writable data root. Ubuntu 24.04 has full install checks. On 25 October 2026, all eleven current executables also passed offline version checks in a clean Debian 12 x86_64 container with glibc 2.36; this is executable startup evidence, not a Debian installation or hosted-provider test. If you set ACFS_CLOUD_ROOT, use that root instead of $HOME in these instructions. Inspect the setup log and each version command to confirm the installed tools work.
For a custom data root, follow the generated guide's CASS_DATA_DIR and CASS_MEMORY_HOME exports so search data and memory also use the writable workspace, and its JFP_HOME export for prompt caching. These preserve existing overrides and an explicit XDG_DATA_HOME; configured state directories must be writable. JFP also honors XDG_CONFIG_HOME, which takes precedence and must be writable. Provider HOME and configuration are preserved.
Keep JSM pinned: the generated task-shell command exports JSM_DISABLE_SELF_UPDATE=1, and its JSM command examples apply the same opt-out. Otherwise even an ordinary command such as jsm config show can automatically replace the verified binary with a newer vendor release. Saved JSM preferences stay unchanged. For an intentional refresh or to restore the reviewed binary after an automatic update, run the verified cloud setup with ACFS_CLOUD_REINSTALL=1; ordinary reruns reuse working binaries. Existing repository skills are preserved, so use the updated generated guide if a saved skill predates this setting. Avoid jsm update in the pinned environment.
Agent Mail without MCP: the generated guide includes a CLI session recipe using am macros start-session, captures the returned agent name, and reads messages with am robot inbox --include-bodies --json. It also shows how to reserve a specific edit path and release only that reservation. Custom-root recipes apply the same command-scoped storage defaults while preserving DATABASE_URL. These operations need no background service; agents must share the same mailbox to coordinate across tasks. Separate provider VMs do not share local mail automatically.
MS needs project state before it can search skills. In a writable project, run ms init --robot once, then ms index <skill-directory> --robot and ms search "query" --robot. Replace <skill-directory> with the directory containing your skills, such as .agents/skills. Reuse existing .ms, MS_ROOT or MS_CONFIG state; with configured overrides, skip this initialization recipe. Avoid --global on a read-only HOME and --force when preserving existing state. Setup only installs MS; it leaves project initialization and skill indexing to the task that needs them.
.agents/setup, or use the project's Pre-setup Script. Do not install dependencies in .agents/resume. Amp documents Debian 12; the current binaries pass the clean Debian 12 version checks above, while Amp-hosted installation, instruction loading and snapshot persistence remain unverified. Setup does not need personal GitHub credentials.run step to initialize or maintenance and task instructions to knowledge. Verify a fresh snapshot. PATH exports do not persist between blueprint steps unless written to $ENVRC; explicit task-shell exports avoid assuming persistence.The installer is the heart of ACFS—a modular Bash script that transforms a fresh Ubuntu or Arch-based machine into a fully-configured development environment.
Full vibe mode (recommended for throwaway VPS):
{ acfs_installer="$(curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/install.sh")" || acfs_installer="$(curl -fsSL "https://cdn.jsdelivr.net/gh/Dicklesworthstone/agentic_coding_flywheel_setup@main/install.sh")"; } && printf '%s\n' "$acfs_installer" | bash -s -- --yes --mode vibe
Interactive mode (asks for confirmation):
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/install.sh" | bash
Safe mode (no passwordless sudo, agent confirmations enabled):
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/install.sh" | bash -s -- --mode safe
| Mode | Passwordless Sudo | Agent Flags | Best For |
|---|---|---|---|
| vibe | Yes | --dangerously-skip-permissions | Throwaway VPS, maximum velocity |
| safe | No | Standard confirmations | Production-like environments |
graph TD
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#e8f5e9', 'lineColor': '#90a4ae'}}}%%
A["Phase 1: User Setup<br/><small>Create ubuntu user, migrate SSH keys, sudo</small>"]
B["Phase 2: Filesystem<br/><small>/data/projects, ~/.acfs layout</small>"]
C["Phase 3: Shell Setup<br/><small>zsh, oh-my-zsh, powerlevel10k</small>"]
D["Phase 4: CLI Tools<br/><small>ripgrep, fzf, lazygit, Tailscale, etc.</small>"]
E["Phase 5: Language Runtimes<br/><small>bun, uv, rust, go, nvm</small>"]
F["Phase 6: AI Agents<br/><small>claude, codex, agy</small>"]
G["Phase 7: Cloud & Database<br/><small>PostgreSQL, vault, wrangler, supabase, vercel</small>"]
H["Phase 8: Flywheel Stack<br/><small>ntm, agent mail, br, bv, ubs, dcg, ru, etc.</small>"]
I["Phase 9: Finalize<br/><small>Deploy acfs.zshrc, tmux.conf, agent guide</small>"]
J["Post-install smoke test<br/><small>critical checks; then run acfs doctor</small>"]
A --> B --> C --> D --> E --> F --> G --> H --> I --> J
classDef phase fill:#e8f5e9,stroke:#81c784,stroke-width:2px,color:#2e7d32
class A,B,C,D,E,F,G,H,I,J phase
| Property | Description |
|---|---|
| Idempotent | Safe to re-run; skips already-installed tools |
| Checkpointed | Phases resume automatically from ~/.acfs/state.json |
| Pre-flight validated | Run scripts/preflight.sh to catch issues before install |
| Logged | Colored output with progress indicators |
| Modular | Each category is a separate sourceable script |
The installer provisions a few keys in ~/.claude/settings.json, always merging non-destructively (a value you have already set is never overridden):
| Key | Value | Mode | Why |
|---|---|---|---|
cleanupPeriodDays | 99999 | all modes | Claude Code silently deletes session transcripts older than this (default 30 days) from ~/.claude/projects — with no warning or log line. That default destroys history before cass can index it, so ACFS sets an explicit high value; lower it yourself if you actually want pruning. |
skipDangerousModePermissionPrompt | true | vibe only | Avoids interactive workspace-trust prompts for coding agents. |
The installer tracks progress in ~/.acfs/state.json. Re-run the same command
with --resume after fixing a failed dependency, privilege problem, or interrupted
installation. Completed phases are checked against the selected modules' live
verification results before they can be skipped. Incomplete phases retry their
component checks, so working components are kept and missing or broken ones are
repaired. This also recovers older installations whose completion records were
written despite a failed step; do not delete the state file to recover them.
Required step failures remain recorded until a successful retry or verified
recovery resolves them. Optional failures remain visible without blocking an
otherwise successful installation; an optional module explicitly requested with
--only must succeed. Final success requires the selected essential components
to pass verification, including for targeted installations.
To force a fresh reinstall of all tools:
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/install.sh" | bash -s -- --yes --mode vibe --force-reinstall
Before running the full installer, validate your system:
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/scripts/preflight.sh" | bash
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/scripts/preflight.sh" | bash -s -- --json
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/scripts/preflight.sh" | bash -s -- --format toon
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/scripts/preflight.sh" | bash -s -- --network=skip
This checks:
checksums.yaml availability for verified upstream installersNetwork checks performed:
| Check | What it verifies | Fix if failing |
|---|---|---|
| DNS resolution | Can resolve github.com, raw.githubusercontent.com | Check provider DNS settings; inspect resolvectl status or /etc/resolv.conf |
| GitHub HTTPS | Can reach github.com:443 | Check firewall, proxy, or VPN settings |
| Verified installer URLs | Critical upstream installer endpoints from checksums.yaml plus ACFS raw content | May need to retry; transient failures OK; checksum verification still stays enabled |
| APT mirrors | Default Ubuntu mirror reachable | Check /etc/apt/sources.list or try different mirror |
| Offline/cache mode | --network=skip skips live URL checks while still reporting local checksum availability | Re-run with --network=check when online before a release or difficult install |
For checksum-refresh review, compare a generated candidate without changing checksums.yaml:
candidate="/tmp/acfs-checksums.$$.candidate.yaml"
./scripts/lib/security.sh --update-checksums > "$candidate"
./scripts/preflight.sh --checksum-candidate "$candidate"
Common preflight failures:
| Error | Cause | Solution |
|---|---|---|
| "Cannot resolve github.com" | DNS misconfigured | Check provider DNS settings or reboot; do not overwrite managed resolver files |
| "Cannot reach github.com" | Firewall blocking HTTPS | Allow outbound port 443 |
| "timeout contacting github.com" | Network, proxy, or provider route is slow | Retry with --network=check; if it persists after install bootstrap, run acfs support-bundle |
| "APT mirror slow or unreachable" | Regional mirror down | Edit /etc/apt/sources.list to use archive.ubuntu.com |
| "checksum candidate differs" | Upstream verified installer content changed | Review the diff; do not install from unverified fallback sources |
| "APT is locked by another process" | Another apt process running (usually unattended-upgrades on a fresh VPS) | Wait for it to finish; reboot and resume if it remains stuck |
| "Need at least 20GB free" | Less than 20GB free disk (a hard failure; low RAM only warns) | Clean up with sudo apt autoremove or expand disk |
The installer uses semantic colors for progress visibility:
[1/8] Installing essential packages... # Blue: progress steps
Installing zsh, git, curl... # Gray: details
⚠️ May take a few minutes # Yellow: warnings
✖ Failed to install package # Red: errors
✔ Shell setup complete # Green: success
A no-flags install keeps supported Ubuntu 22.04 and 24.04 LTS hosts on their current release. Non-root users with sudo and Ubuntu 24.04 Docker/WSL environments can install ACFS without opting into an OS upgrade.
Pass --target-ubuntu=26.04 to explicitly request an upgrade to Ubuntu 26.04 LTS. An OS upgrade requires a root-run installer on a host that can reboot; it is separate from installing or updating the ACFS tools.
How it works:
do-release-upgrade operations--yes or -y. Otherwise, the next SSH login shows how to continue with the saved module selections.To finish an interactive install, reconnect over SSH and run the saved recovery script from your terminal.
sudo /bin/bash -p /var/lib/acfs/upgrade_resume.sh --continue-install
Expected timeline:
To explicitly request the 26.04 LTS upgrade:
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/install.sh" | bash -s -- --yes --mode vibe --target-ubuntu=26.04
To suppress an explicit upgrade request:
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/agentic_coding_flywheel_setup/main/install.sh" | bash -s -- --yes --mode vibe --target-ubuntu=26.04 --skip-ubuntu-upgrade
--skip-ubuntu-upgrade wins regardless of flag order. Neither this flag nor an ordinary no-target install bypasses an active system upgrade checkpoint: normal installation remains blocked until the unfinished upgrade is resolved. Inspect the checkpoint and resume logs before retrying; keep the recovery state intact.
Monitoring upgrade progress:
# Check current status
/var/lib/acfs/check_status.sh
# View upgrade logs
journalctl -u acfs-upgrade-resume -f
# View detailed logs
tail -f /var/log/acfs/upgrade_resume.log
Important notes:
After installation, keeping tools current is handled by acfs-update. It provides a unified interface for updating all installed components.
acfs-update # Update apt, runtimes, shell, agents, cloud CLIs, and stack tools
acfs-update --agents-only # Only update coding agents
acfs-update --runtime-only # Only update runtimes (node/nvm, bun, rust, uv, go)
acfs-update --dry-run # Preview changes without making them
acfs-update --yes --quiet --no-self-update
# Automated mode that avoids changing the ACFS tree itself
acfs-update --bootstrap-self-update
# Explicitly convert a non-git or incomplete install into a git checkout
--bootstrap-self-update replaces ACFS repository files with origin/main. Copy local files elsewhere or commit local edits before opting in. Routine updates leave non-git and incomplete Git installs untouched.
The control-plane boundary: with --no-self-update (the shipped nightly
timer's default), automated runs update your stack tools but never ACFS itself --
neither the git checkout nor the deployed runtime copies under ~/.acfs
(bin/acfs, bin/acfs-update, scripts/lib/*.sh). The control plane therefore
needs its own periodic refresh: run acfs-update without --no-self-update from
time to time, or git pull --rebase the checkout and then run
acfs-update --shell-only to redeploy the runtime copies. acfs doctor warns
(updates.runtime_skew) when the checkout and the deployed runtime disagree, so
a stack kept current by the nightly cannot silently outrun a stale dispatcher.
Temp space: if TMPDIR (default /tmp) refuses a test write, because it is
full or over a per-user tmpfs quota, acfs-update moves the run to the first of
ACFS_UPDATE_TMPDIR, /data/tmp, /var/tmp and ~/.cache/acfs/tmp that
accepts one. Verified installers are staged in a system directory instead of
TMPDIR: /tmp, or /var/tmp when /tmp refuses the write.
| Category | Tools | Method |
|---|---|---|
| System | apt packages | apt update && apt upgrade |
| Shell | OMZ, P10K, plugins | git pull on each repo |
| Shell | Atuin, Zoxide | Re-run upstream installers |
| Runtime | Node.js / nvm | Update the default Node release; refresh older nvm through its verified installer |
| Runtime | Bun | bun upgrade |
| Runtime | Rust | rustup update stable |
| Runtime | uv (Python) | uv self update |
| Runtime | Go | Targeted apt package update; --force repairs a missing selected installation |
| Agents | Claude Code | Re-runs the checksum-verified native installer (claude update by hand) |
| Agents | Codex | bun install -g @latest |
| Agents | Antigravity | agy update (or verified installer with --force) |
| Agents | oh-my-pi (omp) | omp update (or verified installer with --force) |
| Agents | Grok CLI | Re-run verified installer (GROK_BIN_DIR pinned to ACFS bin dir) |
| Cloud | Wrangler, Vercel | bun install -g @latest |
| Cloud | Supabase | GitHub release tarball (sha256 checksums) |
| Stack | ntm, slb, ubs, dcg, ru, etc. | Re-run upstream installers |
Node updates follow the existing nvm default: node tracks the latest release,
lts/* tracks LTS, and exact version pins stay pinned. Custom aliases and the
default are preserved, and nvm is asked to migrate global packages from the previous
default when its Node and npm executables are available. A missing default is initialized
to node. Older nvm versions advance to the checksum-approved installer version;
newer versions are retained. acfs hold nvm pauses both nvm and Node maintenance.
--force can repair a missing selected installation without adding an omitted
module. Defaults of system or none leave Node outside nvm maintenance.
Go maintenance checks which installed package owns the selected executable.
--runtime-only can refresh apt metadata and update that Go package without a
full system upgrade; --no-apt disables Go package changes, including forced
repair. --force can restore a missing selected Go installation on apt systems
and requires successful verification afterward. Manual and goenv installations
are preserved and verified. On Arch, Go stays under system package maintenance;
runtime-only updates verify it without attempting a partial pacman upgrade.
All Go version checks run as the installation user with automatic toolchain
switching disabled. An ACFS Go hold skips the dedicated runtime step; use the
distribution's package holds for full system upgrades.
AADC remains off by default. Select it explicitly to install the reviewed v0.2.0 binary release without downloading or compiling a Rust toolchain:
curl -fsSL https://agent-flywheel.com/install | bash -s -- --yes --only utils.aadc
aadc diagram.txt # Print the corrected diagram
aadc -i diagram.txt # Correct the file in place
ACFS verifies both the pinned installer and the platform's release archive.
Linux and macOS x86-64/ARM64 artifacts are pinned; unsupported platforms,
missing downloads, and checksum mismatches stop the installation without
falling back to source compilation. An explicit --only utils.aadc request
reports an installation failure if AADC cannot be installed and verified.
Fresh installations use ~/.local/bin/aadc. Stack updates maintain AADC only
when it belongs to the saved module selection; acfs update --stack --force
also repairs a missing selected installation, and acfs hold aadc pauses it.
Existing ACFS installations in ~/.cargo/bin are updated in place so the
previous working binary can be restored if release verification fails.
Category Selection:
--apt-only Only update system packages
--agents-only Only update coding agents
--cloud-only Only update cloud CLIs
--shell-only Only update shell tools (OMZ, P10K, plugins, Atuin, Zoxide)
--runtime-only Only update runtimes (node/nvm, bun, rust, uv, go)
--stack Include Agent Flywheel stack tools (enabled by default)
Skip Categories:
--no-apt Skip apt updates
--no-agents Skip agent updates
--no-cloud Skip cloud CLI updates
--no-shell Skip shell tool updates
--no-runtime Skip runtime updates (node/nvm, bun, rust, uv, go)
Behavior:
--force Install missing tools (not just update existing)
--dry-run Preview changes without making them
--yes, -y Non-interactive mode (skip prompts)
--quiet, -q Minimal output (only errors and summary)
--verbose, -v Show detailed command output
--abort-on-failure Stop on first failure (default: continue)
When a single tool ships a regression, hold just that tool instead of pausing the whole nightly. Every hold records an owner, a reason, and an optional expiry, so a hold is a visible decision rather than silent version drift:
acfs hold br --version 0.4.1 --reason "0.5.2 cannot read existing beads DBs" --expiry 2026-09-15
acfs holds # list holds (also surfaced by `acfs doctor` and every update summary)
acfs unhold br # release the hold
Component updates honor holds for verified installers, native self-updaters,
package installs, and shell Git updates, including --force and --dry-run.
The log names the owner, reason, and expiry; the summary counts each held tool
once. Expired holds warn and are ignored. Holds live in ~/.acfs/holds.yaml.
Use the installer key (for example bun, uv, codex, antigravity, omp,
opencode, or atuin), the Cargo package name (ast-grep, du-dust,
tealdeer), or the shell component (omz, p10k, zsh-autosuggestions).
A Bun hold pauses Bun's own upgrade while allowing selected tools such as Codex
to update through the installed Bun. A gh hold pauses extension updates.
ACFS holds do not replace distribution package holds during full system upgrades.
Verified installers run within UPDATE_CMD_TIMEOUT (default: 1800 seconds).
At the deadline, ACFS kills the installer's process group before checking the
installed tool or attempting recovery. Zero or malformed durations, or a missing
trusted timeout executable, prevent installer execution. This deadline applies
to the installer process group; it does not contain a process that deliberately
starts a separate session.
Before a verified installer replaces a tool binary, ACFS attempts to retain the
previous binary at <binary>.prev. An existing command symlink is resolved to
its payload, and recovery preserves the command link. Backup creation and
restoration run as the target account. Backups are staged, checked, and renamed
atomically; a failed copy preserves an existing backup, and symlink or nonregular
backup destinations are refused. After the install, a smoke check probes the fresh
binary with a per-tool argument (update_tool_smoke_probe in
scripts/lib/update.sh: fsfs version, mdwb --help, pfr --help) or, for
tools without an entry, the chain --version → --help → version. Every
probe is headless-safe and runs with stdin detached under a 20 s ceiling.
Verdicts:
POST-INSTALL VERIFICATION UNAVAILABLE; no rollback, no backoff.~/.local/state/acfs/update-rollback.state so nightly runs back off instead
of reinstalling the same broken release every night.This is recovery of one executable, not a transaction for the tool's entire installation. A changed command link, damaged wrapper dependency, or package data may require manual repair. Failed or unverified recovery remains an update failure; a successful recovery also preserves the installer's original failure.
acfs doctor reports rolled back tools; acfs-update --force retries
immediately. A backoff also ends as soon as the tool's pinned installer
changes or its GitHub repo publishes a new release, because neither has
failed yet.
acfs-update exit codes distinguish partial from total failure: 0 all
succeeded, 1 total failure (nothing updated), 2 partial failure (some tools
updated, some failed).
Update logs are automatically saved to ~/.acfs/logs/updates/ with timestamps:
# View most recent log
cat ~/.acfs/logs/updates/$(ls -1t ~/.acfs/logs/updates | head -1)
# Follow a running update
tail -f ~/.acfs/logs/updates/$(ls -1t ~/.acfs/logs/updates | head -1)
The installer transforms a fresh VPS. The update command maintains an existing installation. Separating them allows:
--no-stack--yes --quietAfter installation, the acfs command provides a unified interface for managing your environment. Each subcommand is designed to be fast, informative, and scriptable.
acfs info # Lightning-fast system overview
acfs cheatsheet # Discover installed aliases
acfs dashboard generate # Generate HTML status page
acfs doctor # Health checks
acfs newproj # Create a new project (TUI or CLI)
acfs agents update # Regenerate the flywheel agent guide (ACFS-owned)
acfs agents install --help # Explicitly deploy the guide (never overwrites)
acfs update # Update all tools
acfs holds # List per-tool version holds (acfs hold/unhold to manage)
acfs services status # Check Agent Mail, CM, and CASS daemons
acfs services-setup # Configure agent credentials
acfs continue # View upgrade progress after reboot
acfs installer-cache build # Cache checksum-pinned installer entrypoints
acfs installer-cache build — Verified Installer Entrypoint CacheBuild a portable acfs-installer-cache/ directory containing the
checksum-pinned upstream installer scripts selected from acfs.manifest.yaml.
On Ubuntu, pass either that directory or its parent to a later installation:
acfs installer-cache build --output /mnt/acfs-cache
./install.sh --yes --verified-installer-cache /mnt/acfs-cache
Explicit cache selection is fail-closed: if a required cached entrypoint is
missing, stale, malformed, for another Ubuntu/architecture target, or does not
match the current manifest and checksums.yaml, ACFS refuses it instead of
fetching that entrypoint live.
This is not a complete offline installer. The cached entrypoint scripts still
need network access for release archives, package registries, Git repositories,
APT packages, and other transitive payloads. The initial ACFS bootstrap is also
separate; use --bootstrap-archive for that layer. The roadmap below retains
full pre-downloaded package bundles as future work.
acfs newproj — New Project WizardCreate a new project directory with ACFS defaults (git init, optional br/beads, Claude settings, AGENTS.md). The interactive wizard is recommended for beginners. Its file creation requires Python 3. It rejects symlink destinations and parent directories, and creates files exclusively so existing or concurrently created files are preserved. New directories and files are capped at 0755 and 0644; a stricter caller umask still applies. A failed write leaves the partial file in place for inspection; it does not roll back the project. While the wizard remains open, Retry is bound to the original directory, not just its name. If that directory is moved or replaced, restore it to retry, or choose another directory; the replacement cannot inherit completed steps from the old project.
Interactive wizard (recommended):
acfs newproj --interactive
acfs newproj -i
acfs newproj -i myapp # Prefill project name
The wizard guides you through:
Wizard diagnostics use private session files (mode 0600) and create new log
directories with mode 0700, without changing your shell's umask or existing
directory permissions. Repeated sessions get distinct files. Edited AGENTS.md
contents remain in the project; state logs record only their length.
Welcome Screen:
╔═══════════════════════════════════════════════════════╗
║ ║
║ █████╗ ██████╗ ███████╗ ███████╗ ║
║ ██╔══██╗██╔════╝ ██╔════╝ ██╔════╝ ║
║ ███████║██║ █████╗ ███████╗ ║
║ ██╔══██║██║ ██╔══╝ ╚════██║ ║
║ ██║ ██║╚██████╗ ██║ ███████║ ║
║ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝ ║
║ ║
║ Agentic Coding Flywheel Setup ║
║ ║
╚═══════════════════════════════════════════════════════╝
This wizard will help you set up a new project with:
✓ Project directory structure
✓ Git repository initialization
✓ AGENTS.md for AI coding assistants
✓ Beads issue tracking (optional)
✓ Claude Code settings (optional)
Confirmation Screen:
──────────────────── Review & Confirm ────────────────────
Step 7 of 9
Please review your selections before creating the project.
Project Summary
──────────────────────────────────────────────────────────
Name: myapp
Location: /home/user/projects/myapp
Tech: Node.js, TypeScript
Features
──────────────────────────────────────────────────────────
✓ Beads tracking
✓ Claude Code settings
✓ AGENTS.md
✓ UBS ignore
Files to Create
──────────────────────────────────────────────────────────
myapp/
├── .git/
├── AGENTS.md
├── .beads/
│ └── beads.db
├── .claude/
│ └── settings.local.json
├── .ubsignore
├── README.md
└── .gitignore
Options:
[Enter/c] Create project
[e] Edit selections (go back)
[q/Esc] Cancel
CLI mode (automation):
acfs newproj myapp
acfs newproj myapp /custom/path
acfs newproj myapp --no-br
CLI mode's initial commit includes only the files it creates and known shareable Beads configuration files. It respects Git ignore rules, keeps Claude's local settings private, and leaves unrelated staged and untracked work out of the commit. If creation fails, the partial project stays on disk for inspection.
Reviewed bootstrap (plan first, then apply; needs Python 3 and runs no agents):
acfs newproj --guided # choose, review, save and create in the terminal
acfs newproj --plan myapp --preset first-project --stack python | tee myapp-plan.json
acfs newproj --plan myapp /custom/path --with git,readme,gitignore,agents
acfs newproj --apply myapp-plan.json --yes # create exactly what the plan lists
acfs newproj --apply myapp-plan.json --yes --resume # continue an interrupted apply
--plan, --apply or --guided must come first; otherwise the arguments are read as CLI mode.--plan prints the plan as JSON and creates nothing. Features are always explicit: --preset first-project
(git, readme, gitignore, agents, starter, ci, prompt) or --with a comma-separated list of those plus
beads and agent-mail. --stack is python (the default) or typescript; --beads adds local Beads
initialization. The directory defaults to $ACFS_PROJECTS_DIR/<name> (/data/projects/<name>).--agent-mail URL also registers the project with that Agent Mail service and configures project-local
Claude MCP; --agent-mail-token-env NAME reads the token from that variable without storing it, and
--agent-mail-clients claude,codex,agy,gemini chooses which clients to configure. Antigravity uses
workspace MCP configuration; authenticated connections read the token at runtime through a
project-local Python transport, without embedding credentials in configuration or publishing them.--apply regenerates the plan and refuses one that was edited or that this ACFS version would generate
differently. It never overwrites existing files.ru registrationTo create a GitHub repository and publish the initial project, include both an explicit visibility
and an exact OWNER/REPO destination in the reviewed plan. Replace OWNER with your GitHub account or
organization. Add --ru if you also want repo_updater to manage the new repository:
acfs newproj --plan myapp --preset first-project --stack python \
--github=private --github-repo OWNER/myapp --ru > myapp-plan.json
# Inspect the complete plan, including the files that will be published.
cat myapp-plan.json
acfs newproj --apply myapp-plan.json --yes
Use --github=public only when you intend to make those files public. Omitting --github preserves
local-only creation; configuration variables never enable publication or registration implicitly.
--github-repo is required with --github, and --ru requires GitHub publication. The selected preset
or --with list must include git. These options belong to the reviewed --plan workflow; the older
positional CLI and --interactive TUI remain local-only. acfs newproj --guided offers the same choices
with none as the GitHub default and a separate opt-in for ru.
Planning remains offline and creates nothing. The plan records repository visibility and destination,
the initial commit and push to main, the exact publication file list, and any ru configuration/state
directories that will be written. Applying with --yes, or choosing create after guided review,
authorizes those specific operations. It does not authorize later agent pushes; the generated
AGENTS.md keeps its explicit-permission requirement.
Before applying, install gh and authenticate for GitHub with permission to create the requested
repository (for example, gh auth login --hostname github.com). Install ru as well if you selected
--ru. Apply checks required tools, authentication, and an existing repository name before creating
the local project. An organization policy or a name claimed after preflight can still reject creation;
the error is reported and the local project is retained.
Only the plan's publication files enter the initial commit. Private recovery state, Agent Mail
connection settings, Beads runtime metadata, and unrelated files in the directory are excluded.
Publication never force-pushes. --ru registers the repository in the matching private/public list;
it does not run ru sync or change ru's projects directory or clone layout. In particular, a custom
new-project path is not a new ru path mapping: later syncs follow your existing ru configuration.
The plan captures the configuration and state directories from RU_CONFIG_DIR/RU_STATE_DIR, or their
XDG/home defaults, so a changed environment cannot silently redirect registration at apply time.
If a later step fails, keep the saved plan and project:
acfs newproj --apply myapp-plan.json --yes --resume
The failure report identifies completed steps, whether the repository was created, and whether initial
publication is confirmed or still unconfirmed. A push failure keeps the new repository available for
retry; a registration failure keeps the published repository and retries ru registration. Resume reuses the recorded initial commit
and checks the repository identity, visibility, local files, Git configuration, remote, and HEAD
before continuing. It refuses changed or unrelated work instead of overwriting it. No repository or
project files are deleted as rollback.
If creation may have succeeded but its immutable GitHub repository ID was not durably saved, automatic resume stops for manual review. It will not adopt a repository merely because the name matches. Inspect the reported GitHub destination and complete any remaining operations explicitly in that case. This workflow creates new repositories on GitHub.com; it does not attach existing repositories or configure GitHub Enterprise hosts.
Notes:
acfs agents — Flywheel Agent GuideACFS generates a machine-wide agent guide (installed tools with live versions, workflows, safety rules). The guide lives only in ACFS-owned storage, and ACFS refreshes it there on install/update:
~/.acfs/docs/flywheel-agent-guide.md # canonical, freely regenerated by ACFS
~/.acfs/docs/AGENTS.workspace.md # workspace AGENTS.md template (canonical copy)
ACFS never automatically writes /AGENTS.md, ~/.codex/AGENTS.md, or a project's AGENTS.md — those files can contain user-authored rules and belong to you. (/data/projects/AGENTS.md is seeded once on a fresh install only when absent, and is never overwritten afterward.) Deploying the guide into a real instruction surface is an explicit step:
acfs agents update # regenerate the canonical guide
acfs agents path # print the canonical path
acfs agents install --codex-global # deploy to ~/.codex/AGENTS.md (Codex global scope)
acfs agents install --project DIR # deploy to DIR/AGENTS.md (project scope)
acfs agents install --workspace # deploy to /data/projects/AGENTS.md
acfs agents install --root # deploy to /AGENTS.md (legacy; not auto-discovered)
acfs agents install --to PATH # deploy anywhere else
Deployment creates the destination only when it is absent, including when another process creates it during deployment. If the destination already exists with different content, the deploy refuses, leaves your file untouched, and writes a merge candidate next to it (<dest>.acfs-new) so you can diff and merge manually. An existing different candidate is preserved and a unique suffixed candidate is reported. Redeploying identical content is an idempotent no-op.
acfs agents update --output PATH uses the same create-only rules. Only the canonical guide in ACFS-owned storage is automatically replaced. Publication requires Python 3, rejects symlink destinations and parent directories, and stages complete content beside the destination before publishing it. Interrupted staging files are retained for inspection.
Discovery scopes worth knowing: Codex reads global guidance from ~/.codex/AGENTS.md and project guidance from the project root down to the working directory; filesystem-root /AGENTS.md is not automatically read by any major harness, which is exactly why ACFS no longer writes it.
Tool detection always runs in the target user's context (including under sudo, resolved via SUDO_USER with ~/.local/bin, ~/go/bin, etc. on PATH), so user-local tools are reported accurately.
acfs info — System OverviewQuickly displays installation and onboarding state without verification or live probes by default.
acfs info # Terminal output (default)
acfs info --json # JSON output for scripting
acfs info --html # Self-contained HTML page
acfs info --minimal # Just essentials (IP, key commands)
acfs info --live # Include live coordination probes; can take longer
Example output:
╔══════════════════════════════════════════════════════════════╗
║ ACFS System Info ║
╠══════════════════════════════════════════════════════════════╣
║ Host: vps-12345.contabo.net ║
║ IP: 192.168.1.100 ║
║ User: ubuntu ║
║ Uptime: 3 days, 4 hours ║
║ ║
║ Quick Commands: ║
║ cc → Claude Code (dangerous mode) ║
║ cod → Codex CLI (dangerous mode) ║
║ agy → Antigravity CLI (Gemini 4 Neon XHigh) ║
║ ntm → Named Tmux Manager ║
╚══════════════════════════════════════════════════════════════╝
Design Philosophy:
--live probes the optional coordination tools, which may update their own local state. Dashboard generation requests this mode explicitly to populate its operations panelacfs cheatsheet — Alias DiscoveryParses ~/.acfs/zsh/acfs.zshrc to show all installed aliases and commands.
acfs cheatsheet # List all aliases
acfs cheatsheet git # Filter by category or search term
acfs cheatsheet --category Agents
acfs cheatsheet --search docker
acfs cheatsheet --json # JSON output for tooling
Example output:
╔═══════════════════════════════════════════════════════════════╗
║ ACFS Cheatsheet ║
╠═══════════════════════════════════════════════════════════════╣
║ Agents ║
║ cc → claude --dangerously-skip-permissions ║
║ cod → codex --dangerously-bypass-approvals-and-sandbox ║
║ agy → agy --model 'Gemini 4 Neon (XHigh)' ║
║ ║
║ Git ║
║ gs → git status ║
║ gp → git push ║
║ gl → git pull ║
║ gco → git checkout ║
║ ║
║ Modern CLI ║
║ ls → lsd --inode --long --all ║
║ cat → bat ║
║ grep → rg ║
║ lg → lazygit ║
╚═══════════════════════════════════════════════════════════════╝
acfs dashboard — HTML Status PageGenerates a self-contained HTML dashboard and optionally serves it.
acfs dashboard generate # Generate ~/.acfs/dashboard/index.html
acfs dashboard generate --force # Force regeneration
acfs dashboard serve # Serve on localhost:8080
acfs dashboard serve --port 3000 # Custom port
acfs dashboard serve --public # Bind to 0.0.0.0
The default server accepts local connections. To view it from your laptop, use
the SSH tunnel command printed at startup, then open http://localhost:8080.
--public and a non-loopback --host expose the dashboard without authentication
to anyone who can reach the port, including its hostnames and install state.
Use an SSH tunnel on untrusted networks. The server publishes only index.html;
temporary files, timestamps, other files, and directory listings are not served.
The page and its parent directories must be real paths; linked paths are refused.
Python 3 is required for generation and HTTP serving; you can also open an existing HTML page directly.
Generation refuses linked or non-regular output files, including hardlinked freshness
timestamps. It stages the complete page and timestamp in a private .staging directory
before replacing them. Failed staging files are retained there for diagnosis; the error
prints their location. Rendering has a 60-second limit. A valid recent page is reused
without rewriting either file.
The dashboard provides:
acfs services — Background Daemon ManagementStart, stop, restart, inspect, or follow logs for the local coordination daemons:
acfs services start
acfs services status
acfs services logs agent-mail
acfs services restart cass # restart one service; the others keep running
acfs services drift # is the live process on the installed binary?
acfs services stop
Agent Mail keeps its ACFS-reserved 127.0.0.1:8765 endpoint and reuses the native
user service when one is already healthy. CM runs on 127.0.0.1:8766, and CM plus
the CASS watch indexer run in the acfs-svc tmux session. start and status
return nonzero if any daemon fails its runtime readiness check.
Lifecycle contract (the tmux tradeoff chosen in #196, made explicit per #360):
acfs services start
yourself after install (and after every reboot).start is a one-shot launcher, not a foreground supervisor: it brings the
daemons up, reports readiness, and exits.acfs-svc tmux session,
which does not survive a reboot and does not restart crashed processes -- after
a reboot or crash, rerun acfs services start.cm context / cm reflect
from the CLI; those read the store directly.acfs services status reporting it "not
running" is not necessarily a fault.Converging a partly-down group (#383): when the acfs-svc session already
exists, start repairs it instead of reporting and exiting. It relaunches only
the services that are not running -- a pane whose process is alive is never
touched, which matters when the tmux server also hosts long-lived agent panes.
acfs services repair is the same operation under its own name.
Preflight before teardown (#382): restart resolves and validates every
binary it will need before it stops anything. Validation is the post-install
smoke check from #378 -- the binary must exist, be executable, and answer a
probe; a broken verdict (timeout, wrong architecture, missing loader, crash)
aborts the restart with no service-state change, while an unsupported verdict
(the CLI rejects --version/--help/version as unknown arguments) is
accepted. Managed binaries are resolved from the ACFS install directories as
well as PATH, so a noninteractive SSH shell without ~/.local/bin on PATH
no longer takes the group down. restart also accepts service names
(acfs services restart cass) to restart one service without interrupting the
others.
Running-binary drift (#381): updating a tool replaces the file on disk, but
a service keeps executing the inode it started with -- cass --version then
reports the new release while the live watcher still runs the old code. ACFS
compares what each service executes (/proc/<pid>/exe, which is not the same
thing as what PATH resolves) against the installed binary, and warns with both
paths and hashes from acfs services status, acfs doctor, and the end of
acfs update. By default nothing is restarted automatically: the warning names
the exact per-service restart command so you can pick a quiescent moment. To
have acfs update restart chosen services when, and only when, this check finds
them stale, list them in ACFS_UPDATE_RESTART_SERVICES (comma- or
space-separated, e.g. cm or cm,cass; #464). Each restart is confirmed with
the same check and reported; a listed name that is not a managed service is
reported and ignored. To limit it to the nightly run, set it in a drop-in:
systemctl --user edit acfs-nightly-update.service
# [Service]
# Environment=ACFS_UPDATE_RESTART_SERVICES=cm
acfs services drift runs the check on demand (--robot for one
service|state|detail line per service). The comparison needs procfs, so it
reports unknown on platforms without one.
This lifecycle command is distinct from acfs services-setup, which configures
credentials and integrations rather than background processes.
acfs services-setup — Credential ConfigurationInteractive wizard for configuring AI agent credentials and cloud service logins.
acfs services-setup # Run full setup wizard
Guides you through:
agy launcher, preserving the ACFS model and permission policy. Sign-in remains interactive and is skipped by --yes.gh auth loginAlso offers to install DCG (Destructive Command Guard), a pre-execution hook for Claude Code and other agent CLIs that blocks destructive commands like rm -rf /.
acfs continue — Upgrade ProgressAfter an Ubuntu upgrade reboot, view installation progress:
acfs continue # Show current upgrade status
Displays:
In addition to the terminal-based onboarding, ACFS provides a comprehensive web-based Learning Hub at agent-flywheel.com/learn.
The Learning Hub provides interactive lessons with progress tracking:
| # | Lesson | Duration | Topics |
|---|---|---|---|
| 0 | Welcome & Overview | 5 min | What's installed, mental model |
| 1 | Linux Navigation | 8 min | Filesystem structure, essential commands |
| 2 | SSH & Persistence | 6 min | Secure connections, staying connected |
| 3 | tmux Basics | 7 min | Sessions, windows, panes, survival |
| 4 | Git Essentials | 10 min | Version control, dangerous operations |
| 5 | GitHub CLI | 8 min | Issues, PRs, releases via gh |
| 6 | Agent Commands | 10 min | Claude, Codex, Antigravity usage |
| 7 | NTM Command Center | 8 min | Session orchestration |
| 8 | NTM Prompt Palette | 6 min | Quick command access |
| 9 | The Flywheel Loop | 10 min | How all 10 tools work together |
These are the core lessons; the hub ships 65 lessons in total (the core track plus per-tool deep dives such as UBS, Agent Mail, CASS, Beads, SLB, RCH and the case studies below), all defined in apps/web/lib/lessons.ts.
Features:
The Command Reference documents every installed tool:
| Category | Commands |
|---|---|
| Agents | cc, cod, agy |
| Search | rg, fd, sg, fzf |
| Git | lg, gh, git-lfs |
| System | z, bat, lsd, atuin, tmux |
| Stack | ntm, am, br, bv, cass, cm, ubs, dcg, ru, rch, slb, caam |
| Languages | bun, uv, cargo, go |
| Cloud | wrangler, supabase, vercel, vault |
The Glossary defines 100+ technical terms with:
Example entry:
RAM (Random Access Memory)
├── Short: Fast temporary storage your computer uses while working
├── Long: RAM is your computer's short-term memory...
├── Analogy: Like your desk space while working
├── Why: More RAM = run more programs simultaneously
└── Related: vCPU, VPS, NVMe
The Flywheel page visualizes tool interactions:
Plan (Beads) ──> Coordinate (Agent Mail) ──> Execute (NTM + Agents)
^ │
│ v
└──── Remember (CASS Memory) <──── Scan (UBS) ┘
Workflow Scenarios:
| Scenario | Description | Timeframe |
|---|---|---|
| Daily Parallel Progress | Keep several projects moving at once, even without the mental bandwidth for all of them | 3+ hours of autonomous work |
| Agents Reviewing Agents | Agents review each other's work before it becomes a problem | Continuous improvement loop |
| 5,500 Lines to 347 Beads | Turn a massive planning document into a dependency-tracked task graph | ~1 day for a complex feature |
| Fresh Eyes Code Review | Agents re-investigate code from a fresh perspective to find what humans miss | Continuous |
| Multi-Repo Morning Sync | Start the day with every repo synced and agents spawned across the fleet | < 10 minutes to full productivity |
| Bulk Commit Sweep | ru commit-sweep turns dirty worktrees into logical conventional commits (plan first, --execute to apply) | 30 min – 2 hours depending on repo count |
| Resource-Protected Agent Swarm | Run heavy agents without the workstation freezing (SRPS keeps priorities in check) | Hours of unattended work |
The scenarios are defined in apps/web/lib/flywheel.ts; the page renders whatever that file contains.
The TL;DR page is the searchable catalog of installed tools (the old /tools page was folded into it and now redirects there):
/ to focus) filters tools by name, CLI command, or descriptionacfs.manifest.yaml — manifest tools without a hand-curated entry are auto-appended so the page can never silently omit a toolThis page helps users discover tools they may not know about and understand how each fits into the agentic coding workflow.
The wizard website includes specialized components for guiding beginners:
ConnectionCheck Component: A prominent visual that helps users verify they're connected to their VPS before running commands:
CommandCard Component: CLI instruction cards with:
Jargon Component (Responsive Technical Terms):
A tooltip system (apps/web/components/jargon.tsx) that adapts to the pointer type:
Desktop behavior:
Mobile behavior:
apps/web/components/ui/bottom-sheet.tsx, framer-motion) with the full definitionVisual features:
Content structure per term:
{
term: "VPS",
short: "Virtual Private Server - a remote computer you rent",
long: "A VPS is your own slice of a powerful computer...",
analogy: "Think of it like renting an apartment in a building",
whyWeUseIt: "You get root access, dedicated resources...",
relatedTerms: ["SSH", "Ubuntu", "RAM"]
}
Confetti Celebration: On lesson completion:
prefers-reduced-motion settingStepper Component: Multi-step progress indicator:
The Learning Hub includes specialized lessons for each tool in the Agent Flywheel stack:
| Lesson | Topics |
|---|---|
| UBS (Bug Scanner) | Scan workflow, severity levels, CI integration |
| Agent Mail | Registration, messaging, file reservations |
| CASS (Session Search) | Indexing, searching, cross-agent queries |
| CASS Memory (cm) | Rule extraction, playbook management |
| Beads | Issue tracking, graph metrics, priorities |
| SLB (Safety) | Two-person rule, dangerous command approval |
| Prompt Engineering | Effective prompts, context management |
| Real-World Case Study | End-to-end feature development walkthrough |
Each lesson includes:
After installation, users can learn the ACFS workflow through an interactive terminal-based tutorial. The onboarding TUI discovers lesson markdown files dynamically from acfs/onboard/lessons, so the curriculum can grow as new tools and workflows are added without changing the launcher.
onboard # Launch interactive menu
onboard status # Show completion status
onboard --list # Alias for status
onboard 3 # Jump to lesson 3
onboard reset # Reset progress and start fresh
onboard --reset # Alias for reset
Run onboard --help to see the currently discovered lesson list. The curriculum currently spans Linux basics, SSH, tmux, agent login, NTM, the flywheel workflow, updating, Beads, RCH, and other ACFS tools. Because lessons are discovered by filename, adding a new NN_name.md file automatically extends the tutorial.
Progress is saved in ~/.acfs/onboard_progress.json:
{
"completed": [0, 1, 2],
"current": 3,
"started_at": "2024-12-20T10:30:00-05:00"
}
The TUI shows completion status for each lesson and suggests the next one to take. Users can jump to any lesson or re-take completed ones.
If Charmbracelet Gum is installed, the onboarding system uses it for enhanced terminal UI—selection menus, styled prompts, and better formatting. Without Gum, it falls back to simple numbered menus that work everywhere.
ACFS installs a comprehensive suite of 30+ tools organized into categories:
| Tool | Command | Description |
|---|---|---|
| zsh | zsh | Modern shell |
| oh-my-zsh | - | zsh plugin framework |
| powerlevel10k | - | Fast, customizable prompt |
| lsd | ls (aliased) | Modern ls with icons |
| atuin | Ctrl+R, atuin search | Searchable shell history database (initialized by the ACFS zshrc; agent-issued commands are kept out of it) |
| fzf | fzf | Fuzzy finder |
| zoxide | z | Smarter cd |
| direnv | - | Directory-specific env vars |
| Tool | Command | Description |
|---|---|---|
| bun | bun | Fast JS/TS runtime + package manager |
| uv | uv | Fast Python package manager |
| Rust | cargo | Rust toolchain |
| Go | go | Go toolchain |
| Tool | Command | Description |
|---|---|---|
| tmux | tmux | Terminal multiplexer |
| ripgrep | rg | Fast recursive grep |
| ast-grep | sg | Structural code search |
| lazygit | lg (aliased) | Git TUI |
| GitHub CLI | gh | GitHub auth, issues, PRs |
| Git LFS | git-lfs | Large file support for Git |
| bat | cat (aliased) | Cat with syntax highlighting |
| neovim | nvim | Modern vim |
| jq | jq | JSON processor |
| rsync | rsync | Fast file sync/copy |
| lsof | lsof | Debug open files/ports |
| dnsutils | dig | DNS debugging |
| netcat | nc | Network debugging |
| strace | strace | Syscall tracing |
| minisign | minisign | Release signature verification (required by the Agent Mail and CAAM installers) |
| Tool | Command | Description |
|---|---|---|
| Tailscale | tailscale | Zero-config mesh VPN |
Tailscale Integration:
Tailscale provides secure, encrypted networking between your devices without complex firewall configuration:
# Authenticate and join your tailnet
tailscale up
# Check connection status
tailscale status
# Get your Tailscale IP
tailscale ip
# SSH over Tailscale (bypasses firewalls)
ssh ubuntu@your-vps.tailnet-name.ts.net
Benefits for agentic workflows:
tailscale ssh for key-free authenticationACFS ships 7 coding-agent modules; 3 of them install by default.
| Agent | CLI | ACFS aliases | Install | Module | Sign in | Docs |
|---|---|---|---|---|---|---|
| Antigravity CLI (Google) | agy | agy, gmi | Default | agents.antigravity | agy | docs |
| Claude Code (Anthropic) | claude | cc | Default | agents.claude | claude auth login | docs |
| Codex CLI (OpenAI) | codex | cod | Default | agents.codex | codex login --device-auth | docs |
| Grok CLI (xAI) | grok | — | Optional | agents.grok | grok login | docs |
| oh-my-pi | omp | — | Optional | agents.omp | omp auth-broker login <provider> | docs |
| OpenCode | opencode | — | Optional | agents.opencode | opencode auth login | docs |
| Gemini CLI (Google) | gemini | — | Legacy | agents.gemini | gemini | docs |
Turn any of them on or off at install time with the Module column above: --only <module> installs that agent plus its dependencies, --skip <module> leaves it out — for example --only agents.grok or --skip agents.codex. --list-modules prints every module id and --print-plan shows what a given selection would run.
What each one is for:
Vibe Mode Aliases:
# Claude Code with max memory (background tasks enabled by default)
alias cc='NODE_OPTIONS="--max-old-space-size=32768" claude --dangerously-skip-permissions'
# Codex with bypass and dangerous filesystem access
alias cod='codex --dangerously-bypass-approvals-and-sandbox --search -m gpt-6.2-sol -c model_reasoning_effort=xhigh -c model_reasoning_summary_format=experimental'
# Antigravity CLI, operator model preferences and ACFS permissions/DCG
alias agy='$HOME/.local/bin/agy-locked'
alias gmi='$HOME/.local/bin/agy-locked'
Antigravity model preferences:
agy keeps the default Gemini 4 Neon (XHigh) model. To choose a different
default, save your preferences in ~/.config/acfs/agy.json:
{
"model": "Gemini 4 Neon (High)",
"effort": "high"
}
The launcher reads this file on every invocation and when acfs update or the
nightly updater primes settings. Updates replace the managed launcher but leave
this preference file intact. Both agy and gmi, including managed NTM launches,
use the same preferences and retain ACFS's saved safe/vibe permission policy and
DCG hook repair. Doctor verifies the resolved preferences instead of requiring
the original model pin.
For a temporary override, use environment variables:
ACFS_AGY_MODEL='Gemini 4 Neon (High)' agy -p 'Explain this project'
ACFS_AGY_EFFORT=medium agy -p 'Summarize the changes'
agy --acfs-print-config
For Neon, low, medium, high, and xhigh select the actual model tier;
the launcher does not pass the unsupported separate --effort flag to Neon.
--acfs-print-config reports the resolved model and effort without changing
settings or starting an agent. Invalid preferences fail before a launch or
settings write.
Caller --model/-m and --effort arguments remain locked by default. Add
"allowCallerModel": true to the JSON object to enable per-session choices;
the launcher restores the configured defaults after that session exits.
Precedence is built-in defaults, then the preference file, then opted-in caller
arguments, then ACFS_AGY_MODEL/ACFS_AGY_EFFORT. The strict
agy_model_guard.sh helpers explicitly retain their XHigh requirement.
When XDG_CONFIG_HOME is set, preferences live at
$XDG_CONFIG_HOME/acfs/agy.json. Use the same absolute configuration root in the
nightly service environment, or keep the file in the default ~/.config/acfs
location so both interactive and scheduled updates find it. Updates that switch
accounts use the target account's preferences and discard the invoking account's
model environment overrides.
Installation & Updates: Claude Code should be installed and updated using its native mechanisms:
claude.ai/install.sh), checksum-verified via checksums.yaml (installs to ~/.local/bin/claude)acfs update --agents-only (re-runs the checksum-verified native installer) or claude update (built-in)This ensures proper authentication handling and avoids issues with alternative package manager builds. ACFS updates Codex with Bun global package updates, Antigravity with its native agy update path, oh-my-pi with its native omp update path, and Grok CLI by re-running its checksum-verified installer.
| Tool | Command | Description |
|---|---|---|
| PostgreSQL 18 | psql | Database |
| HashiCorp Vault | vault | Secrets management |
| Wrangler | wrangler | Cloudflare CLI |
| Supabase CLI | supabase | Supabase management |
| Vercel CLI | vercel | Vercel deployment |
Vault is installed by default (skip with --skip-vault). ACFS installs the Vault CLI so you have a real secrets tool available early; it does not automatically configure a Vault server for you.
Supabase networking note: some Supabase projects expose the direct Postgres host over IPv6-only (often on free tiers). If your VPS/network is IPv4-only, use the Supabase pooler connection string instead (or upgrade/configure networking for direct IPv4).
The core suite of tools for professional agentic workflows:
| # | Tool | Command | Description |
|---|---|---|---|
| 1 | Named Tmux Manager | ntm | Agent cockpit—spawn, orchestrate, monitor tmux sessions |
| 2 | MCP Agent Mail | am | Agent coordination via mail-like messaging (Rust rewrite) |
| 3 | BeadsRust | br | Dependency-aware issue tracker for agents (Rust implementation) |
| 4 | Beads Viewer | bv | Task management TUI with graph analysis |
| 5 | Coding Agent Session Search | cass | Unified agent history search (CASS) |
| 6 | CASS Memory System | cm | Procedural memory for agents |
| 7 | Ultimate Bug Scanner | ubs | Bug scanning with guardrails |
| 8 | Destructive Command Guard | dcg | Pre-execution hook (Claude Code, Codex, and more) blocking dangerous git/fs commands |
| 9 | Repo Updater | ru | Multi-repo sync + AI-driven commit automation |
| 10 | Remote Compilation Helper | rch | Transparent build offloading to faster machines |
| 11 | Coding Agent Account Manager | caam | Agent auth switching |
| 12 | Simultaneous Launch Button | slb | Two-person rule for dangerous commands |
Additional productivity tools installed alongside the stack:
| Tool | Command | Description |
|---|---|---|
| Get Image from Internet Link | giil | Download images from iCloud, Dropbox, Google Photos for visual debugging |
| Chat Shared Conversation to File | csctf | Convert AI share links (ChatGPT, Gemini, Claude) to Markdown/HTML |
acfs doctor performs comprehensive health checks on your installation:
$ acfs doctor
╔══════════════════════════════════════════════════════════════╗
║ ACFS Health Check ║
╠══════════════════════════════════════════════════════════════╣
║ Identity ║
║ ✔ Running as ubuntu user ║
║ ✔ Passwordless sudo enabled ║
║ ║
║ Workspace ║
║ ✔ /data/projects exists ║
║ ║
║ Shell ║
║ ✔ zsh installed ║
║ ✔ oh-my-zsh installed ║
║ ✔ powerlevel10k installed ║
║ ✔ acfs.zshrc sourced ║
║ ║
║ Core Tools ║
║ ✔ bun 1.2.16 ║
║ ✔ uv 0.5.14 ║
║ ✔ cargo 1.84.0 ║
║ ✔ go 1.23.4 ║
║ ✔ ripgrep 14.1.0 ║
║ ✔ ast-grep 0.30.1 ║
║ ║
║ Agents ║
║ ✔ claude 1.0.24 ║
║ ✔ codex 0.1.2504252326 ║
║ ✔ agy 1.0.12 ║
║ ║
║ Cloud ║
║ ✔ vault 1.18.3 ║
║ ✔ wrangler 4.16.0 ║
║ ✔ supabase 2.23.4 ║
║ ✔ vercel 41.7.6 ║
║ ║
║ Agent Flywheel Stack ║
║ ✔ ntm 0.3.2 ║
║ ✔ slb 0.2.1 ║
║ ✔ ubs 0.1.8 ║
║ ✔ bv 0.9.4 ║
║ ✔ cass 0.4.2 ║
║ ✔ cm 0.1.3 ║
║ ✔ caam 0.2.0 ║
║ ✔ dcg 0.1.0 ║
║ ✔ ru 1.2.0 ║
║ ⚠ mcp_agent_mail (not running) ║
║ ║
║ Utilities ║
║ ✔ giil 3.0.0 ║
║ ✔ csctf 1.0.0 ║
╠══════════════════════════════════════════════════════════════╣
║ Overall: 35/36 checks passed ║
╚══════════════════════════════════════════════════════════════╝
Doctor checks are generated from the manifest (scripts/generated/doctor_checks.sh) to keep verification logic close to acfs.manifest.yaml. The acfs doctor command automatically sources these generated checks to verify all manifest-defined tools.
How it works:
doctor_checks.sh with verify commands for each moduleacfs doctor sources this file and runs each verification checkExample output with fix suggestion:
✗ tools.lazygit - Lazygit terminal UI not found
Fix: curl -fsSL https://agent-flywheel.com/install | bash -s -- --yes --force-reinstall --only tools.lazygit
This architecture ensures doctor checks stay in sync with the installer—if a tool is in the manifest, it will be verified.
acfs doctor # Interactive colorful output
acfs doctor --json # Machine-readable JSON output
acfs doctor --quiet # Exit code only (0=healthy, 1=issues)
acfs doctor --deep # Run functional tests (auth, connections)
acfs doctor --fix # Apply safe fixes for failed checks
acfs doctor --dry-run # Preview fixes without applying
acfs doctor --no-cache # Skip cache, run all checks fresh
--deep)The --deep flag runs functional tests beyond binary existence:
| Category | Checks |
|---|---|
| Agent Auth | Claude config, Codex OAuth, Antigravity credentials |
| Database | PostgreSQL connection, ubuntu role exists |
| Cloud CLIs | gh auth status, wrangler whoami, Supabase/Vercel tokens |
| Vault | VAULT_ADDR configured |
Deep checks use 15-second timeouts to avoid hanging on network issues. Successful results are cached for 5 minutes to speed up repeated runs.
Example output:
Deep Checks
✔ Claude auth configured
✔ PostgreSQL connection working
⚠ Codex not authenticated (run: codex login)
✔ GitHub CLI authenticated
8/9 functional tests passed in 3.2s
--fix)The --fix flag automatically applies safe, deterministic fixes for common issues:
acfs doctor --fix # Apply safe fixes
acfs doctor --fix --dry-run # Preview fixes without applying
acfs doctor --fix --yes --only path,config --dry-run # Preview selected categories
acfs doctor --fix --only stack.ntm --json # Repair one exact check
--only accepts comma-separated categories or exact check IDs from acfs doctor --json. A bare category such as path selects its checks; a dotted ID such as
stack.ntm selects only that exact check. Repeat --only to combine selections.
All diagnostics still run, and every selector must match a check before any
repair is applied. A misspelled or unavailable check rejects the entire selection
with exit code 2; use --deep when selecting deep checks. Passing, intentionally
skipped, and timed-out checks are valid selections that do not trigger repairs.
Warnings still require --yes.
JSON fix runs include a fixes object with the selectors, selection validity,
planned/applied/filtered/manual/failed counts, and session finalization status.
The checks and summary fields retain the original diagnostic findings,
including unrelated failures. Applied repairs do not turn those findings into
unverified passes: run acfs doctor again to check the resulting state.
These fixes are applied when --fix is used. Failed checks are fixed right away; warning-level checks (which most of these are) additionally need --yes, so the usual invocation is acfs doctor --fix --yes:
| Fix ID | Description | Undo Strategy |
|---|---|---|
fix.path.ordering | Prepend ACFS directories to PATH in .zshrc | Restore backup |
fix.config.copy | Copy missing ~/.acfs config files | Remove copied file |
fix.dcg.hook | Install DCG pre-tool-use hook | Run dcg uninstall |
fix.symlink.create | Create missing tool symlinks | Remove symlink |
fix.plugin.clone | Clone missing zsh plugins | Remove cloned directory |
fix.acfs.sourcing | Add ACFS sourcing to .zshrc | Restore backup |
~/.local/share/acfs/doctor.logDRY-RUN: acfs doctor --fix
Would apply the following fixes:
[fix.path.ordering]
Action: Prepend PATH directories to ~/.zshrc
File: ~/.zshrc
Backup: Yes (SHA256 verified)
[fix.acfs.sourcing]
Action: Add ACFS sourcing to .zshrc
File: ~/.zshrc
Backup: Yes (SHA256 verified)
Fixes that require manual action:
[shell.ohmyzsh]
Status: FAIL
Suggestion: curl -fsSL https://install.ohmyz.sh/ | bash
Summary: 2 auto-fixes, 0 prompted, 1 manual
Some operations are never auto-fixed and instead provide suggestions:
apt install ...)All changes made by --fix can be undone:
acfs undo --list # List all changes
acfs undo chg_0001 # Undo specific change
acfs undo --all # Undo all changes from the most recent fix session
acfs undo --everything # Undo every recorded change across all sessions
Undo restores the whole-file backup taken just before the fix ran. Any edits you
made to that file after the fix are reverted too, so copy them aside before undoing a
fix to a file you have since changed. Tool installs performed by --fix record no
automatic rollback; remove an unwanted tool manually.
The wizard guides beginners through a 13-step journey from "I have a laptop" to "AI agents are coding for me":
┌─────────────────────────────────────────────────────────────────────────────┐
│ ACFS Wizard [Step 3/13] │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌────────────────────────────────────────────────────────────────────────┐ │
│ │ STEP 3: Generate SSH Key │ │
│ │ ────────────────────────────────────────────────────────────────── │ │
│ │ │ │
│ │ Run this command in your terminal: │ │
│ │ │ │
│ │ ┌─────────────────────────────────────────────────────────────────┐ │ │
│ │ │ ssh-keygen -t ed25519 -C "your-email@example.com" [📋] │ │ │
│ │ └─────────────────────────────────────────────────────────────────┘ │ │
│ │ │ │
│ │ ☐ I ran this command │ │
│ │ │ │
│ │ [← Previous] [Next Step →] │ │
│ └────────────────────────────────────────────────────────────────────────┘ │
│ │
│ Progress: ●●●○○○○○○○○○○ │
└─────────────────────────────────────────────────────────────────────────────┘
| Step | Title | What Happens |
|---|---|---|
| 1 | Choose Your OS | Select Mac, Windows, or Linux (auto-detected) |
| 2 | Install Terminal | Get a proper terminal application set up |
| 3 | Generate SSH Key | Create an ed25519 key for VPS access |
| 4 | Rent a VPS | Choose a VPS provider and plan |
| 5 | Create VPS Instance | Launch your VPS and confirm SSH access |
| 6 | SSH Into Your VPS | First connection with troubleshooting tips |
| 7 | Set Up Accounts | Create accounts for the services you'll use |
| 8 | Pre-Flight Check | Verify your VPS is ready before installing |
| 9 | Run Installer | The curl | bash one-liner |
| 10 | Reconnect as Ubuntu | Post-install reconnection |
| 11 | Verify Key Connection | Reconnect using your SSH key and confirm it works |
| 12 | Status Check | Run acfs doctor to verify |
| 13 | Launch Onboarding | Start the interactive tutorial |
The Learning Hub suggests up to three useful next steps from the lessons completed in your browser and your selected stack. Each suggestion explains its reason. The next guided lesson respects sequential access; tool references are always available. The goal selector can prioritize installation recovery or coordination with multiple agents. These choices and the recommendations do not prove that tools are installed or authenticated.
With a valid saved wizard target, the existing local doctor JSON reader appears on the hub. Use the recovery goal to reach setup guidance if no target is saved. Findings or coverage gaps prioritize a diagnostic action. Only an in-memory boolean reaches the recommender; report contents, private identifiers and raw fix commands are never persisted or sent to analytics. Clearing/replacing the report, changing installation context or leaving the page clears that signal. Recommendations do not run commands, mark lessons complete, change your stack selection or unlock gated lessons. Unknown selections prompt review; new users and completed courses retain useful reference links without requiring a backend.
Step 9 can download a local handoff runbook in JSON or Markdown. The runbook is meant for the user and support loop when an SSH session drops, an install is interrupted, or the user needs to remember the exact command they ran.
Schema: acfs.handoff-runbook.v1
| Field | Purpose |
|---|---|
wizardSelections | Local OS, install mode, source ref, and normalized target user |
targetHost | Redacted host kind and target-host assumptions |
ssh | Expected SSH key paths and redacted reconnect command templates |
install | Exact installer command generated from the shared command builder |
recoveryCommands | Copy/paste-safe reconnect, retry, doctor, and support-bundle commands |
support | Deterministic acfs support-bundle reference and review artifacts |
privacy | Explicit redaction policy for host data and exact-command inclusion |
Host addresses are not written into the runbook. The installer command stays exact so a user can paste it back into the VPS session, and the artifact points to support-report.md and manifest.json for support-bundle review.
Next.js 16 (App Router)
├── React 19
├── Tailwind CSS 4 (OKLCH colors)
├── shadcn/ui components
├── Radix UI primitives
└── Lucide icons
No backend required. All state is stored in:
agent-flywheel-user-os, agent-flywheel-vps-ip, agent-flywheel-wizard-completed-steps)The wizard uses TanStack Query for state management with optimistic updates and cross-tab synchronization:
Architecture:
// Query-based state with localStorage persistence
const { data: steps } = useQuery({
queryKey: ['wizardSteps', 'completed'],
queryFn: getCompletedSteps, // Reads from localStorage
staleTime: 0, // Always check for updates
gcTime: Infinity, // Never garbage collect
});
Optimistic Updates with Rollback:
const mutation = useMutation({
mutationFn: async (stepId) => {
const newSteps = addCompletedStep(currentSteps, stepId);
setCompletedSteps(newSteps); // Persist to localStorage
return newSteps;
},
onMutate: (stepId) => {
// Optimistically update cache immediately
const previousSteps = queryClient.getQueryData(queryKey);
queryClient.setQueryData(queryKey, addCompletedStep(baseSteps, stepId));
return { previousSteps }; // For rollback
},
onError: (_err, _stepId, context) => {
// Rollback on failure
queryClient.setQueryData(queryKey, context.previousSteps);
},
});
Cross-Tab Synchronization: The wizard maintains sync across browser tabs via two mechanisms:
// Same-tab: custom event dispatch
window.dispatchEvent(new CustomEvent('acfs:wizard:completed-steps-changed', {
detail: { steps }
}));
// Cross-tab: storage event listener
window.addEventListener('storage', (event) => {
if (event.key === COMPLETED_STEPS_KEY) {
queryClient.setQueryData(queryKey, getCompletedSteps());
}
});
Safe localStorage Utilities: All localStorage access is wrapped in safe utilities that handle SSR, private browsing, and quota exceeded errors:
// Safe read (returns null on any error)
export function safeGetJSON<T>(key: string): T | null;
// Safe write (returns boolean success)
export function safeSetJSON(key: string, value: unknown): boolean;
// URL preservation for state fallback
export function withCurrentSearch(path: string): string;
This architecture ensures the wizard progress survives browser refreshes, works across tabs, and degrades gracefully when localStorage is unavailable.
ACFS deploys optimized configuration files to ~/.acfs/ on the target VPS.
~/.acfs/zsh/acfs.zshrcA comprehensive zsh configuration that's sourced by ~/.zshrc:
Prompt resource limits on swarm hosts:
ACFS defaults GITSTATUS_NUM_THREADS to 2 worker threads before loading
Powerlevel10k. This bounds each new prompt daemon's worker pool on hosts with
many tmux panes. A normal interactive terminal retains its Git prompt; each
pane can still have its own daemon. An explicit nonempty value is preserved:
# In ~/.zshrc, before sourcing the ACFS configuration:
GITSTATUS_NUM_THREADS=4
source "$HOME/.acfs/zsh/acfs.zshrc"
Prompt themes are initialized only for interactive terminal sessions with TTY
input and output. Command-mode shells such as zsh -lic 'command', including
those running in a PTY, skip Powerlevel10k and the fallback Starship prompt.
The agent markers CODEX_REMOTE_PAYLOAD, SIFS_AGENT, and AGENT_ENV also
suppress theme initialization when nonempty. The existing VS Code plain
prompt is selected before any heavy theme starts. Paths, aliases, and ACFS
commands remain available in these shells.
The thread setting applies when a daemon starts. Open a new shell or tmux pane after updating; ACFS does not terminate existing prompt daemons. A user theme loaded separately before ACFS remains under that user's control.
Oh-My-Zsh Plugins (14 total):
| Plugin | Category | What It Provides |
|---|---|---|
git | VCS | 150+ git aliases (gs, gp, gl, gco, gcm, etc.) |
sudo | Shell | Double-tap Esc to prefix previous command with sudo |
colored-man-pages | Shell | Colorized man pages for better readability |
command-not-found | Shell | Suggests packages when command not found |
docker | Containers | Docker command completion and aliases |
docker-compose | Containers | docker-compose completion and aliases |
python | Lang | Python aliases (pyfind, pyclean, pygrep) |
pip | Lang | pip completion and cache management |
tmux | Terminal | tmux aliases (ta, tad, ts, tl, tkss) |
tmuxinator | Terminal | tmuxinator project completion |
systemd | System | systemctl aliases (sc-status, sc-start, sc-stop) |
rsync | Tools | rsync completion and common flag aliases |
zsh-autosuggestions | UX | Fish-like autosuggestions from history |
zsh-syntax-highlighting | UX | Real-time command syntax highlighting |
Note:
zsh-autosuggestionsandzsh-syntax-highlightingare custom plugins installed from GitHub. They must be listed last for optimal performance.
Path Configuration:
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
export PATH="$HOME/go/bin:$PATH"
export PATH="$HOME/.bun/bin:$PATH"
Atuin is still installed, but ACFS keeps it behind the guarded ~/.local/bin/atuin
shim instead of putting ~/.atuin/bin at the front of interactive shell PATH.
Modern CLI Aliases:
alias ls='lsd --inode --long --all'
alias ll='lsd -l'
alias tree='lsd --tree'
alias cat='bat'
alias rgrep='rg' # rg is NOT aliased over grep (incompatible flags)
alias fdfind='fd' # fd is NOT aliased over find (incompatible syntax)
alias vim='nvim'
alias lg='lazygit'
Tool Integrations:
# Zoxide (smarter cd)
eval "$(zoxide init zsh)"
# direnv (directory env vars)
eval "$(direnv hook zsh)"
# fzf (fuzzy finder): key bindings stay off (Ctrl+R belongs to atuin)
export DISABLE_FZF_KEY_BINDINGS=1
# Atuin (shell history), initialized after fzf so its Ctrl+R wins.
# Set ACFS_NO_ATUIN_INIT=1 to opt out.
eval "$(atuin init zsh)"
Shell Keybindings (Quality of Life):
| Keybind | Action | Notes |
|---|---|---|
Ctrl+→ | Forward word | Navigate by word |
Ctrl+← | Backward word | Navigate by word |
Alt+→ | Forward word | Alternative binding |
Alt+← | Backward word | Alternative binding |
Ctrl+Backspace | Delete word backward | Fast deletion |
Ctrl+Delete | Delete word forward | Fast deletion |
Home | Beginning of line | Works in all terminals |
End | End of line | Works in all terminals |
Ctrl+R | Atuin history search | Falls back to the shell's own search if atuin is opted out |
Atuin History Bindings:
ACFS initializes Atuin in ~/.acfs/zsh/acfs.zshrc (after fzf, so Atuin's Ctrl+R
wins). To keep coding-agent commands from flooding the Atuin database, the guarded
~/.local/bin/atuin shim turns atuin hook into a no-op and drops the
history start/history end calls that agents' shells would otherwise send. Set
ACFS_NO_ATUIN_INIT=1 before the file is sourced to keep Atuin uninitialized, or
ACFS_ATUIN_INIT_FLAGS to pass extra flags.
~/.acfs/tmux/tmux.confA tmux configuration specifically optimized for NTM and multi-agent workflows:
Key Bindings:
Prefix: Ctrl+a (not Ctrl+b - more ergonomic)
Split horizontal: | (preserves working directory)
Split vertical: - (preserves working directory)
Navigate panes: h/j/k/l (vim-style)
Resize panes: H/J/K/L (repeatable with -r flag)
Reload config: r
New window: c (preserves working directory)
Copy Mode (vim-style):
Enter copy mode: prefix + [
Begin selection: v
Rectangle selection: r
Copy and exit: y
Agent Workflow Optimizations:
| Setting | Value | Purpose |
|---|---|---|
history-limit | 50,000 | Extended scrollback for long agent sessions |
escape-time | 10ms | Faster key response (reduced from default 500ms) |
focus-events | on | Enables vim/neovim autoread in agent windows |
detach-on-destroy | off | NTM compatibility—don't detach when session ends |
monitor-activity | on | Track agent window activity |
visual-activity | off | Silent monitoring (no bell) |
Catppuccin-Inspired Theme:
# Status bar (top position, less intrusive)
status-style: bg=#1e1e2e, fg=#cdd6f4
# Session indicator (blue accent)
status-left: #[fg=#89b4fa,bold] #S
# Active window highlight (pink accent)
window-status-current-format: #[fg=#f5c2e7,bold] #I:#W
# Pane borders
pane-border-style: fg=#313244
pane-active-border-style: fg=#89b4fa # Blue highlight
Local Overrides:
The config sources ~/.tmux.conf.local if it exists, allowing personal customizations without modifying ACFS defaults.
The installer is organized into modular Bash libraries in scripts/lib/:
logging.shColored console output utilities:
log_step "1/8" "Installing packages..." # Blue step indicator
log_detail "Installing zsh..." # Gray indented detail
log_success "Complete" # Green checkmark
log_warn "May take a while" # Yellow warning
log_error "Failed" # Red error
log_fatal "Cannot continue" # Red error + exit 1
security.shHTTPS enforcement and checksum verification:
enforce_https "$url" # Fail if not HTTPS
verify_checksum "$url" "$sha256" "$name" # Verify before execute
fetch_and_run "$url" "$sha256" "$name" # Verify + execute in one
os_detect.shOS detection and validation:
detect_os() # Sets OS_ID, OS_VERSION, OS_CODENAME
validate_os() # Checks supported Ubuntu or Arch-family releases
is_fresh_vps() # Heuristic detection of fresh VPS
get_arch() # Returns amd64/arm64
is_wsl() # Detects WSL
is_docker() # Detects Docker container
user.shUser account normalization:
ensure_user() # Creates ubuntu user if missing
enable_passwordless_sudo() # Adds NOPASSWD to sudoers
migrate_ssh_keys() # Copies keys from root to ubuntu
normalize_user() # Full normalization sequence
update.shComponent update logic with version tracking and logging:
update_apt() # apt update/upgrade with lock detection
update_bun() # bun upgrade with version tracking
update_agents() # Claude, Codex, Antigravity, omp, Grok (version before/after)
update_cloud() # Wrangler, Supabase, Vercel (Supabase uses verified release tarball)
update_rust() # rustup update stable
update_uv() # uv self update
update_go() # Go toolchain update
update_shell() # OMZ, P10K, plugins, Atuin, Zoxide
update_stack() # Agent Flywheel stack tools
# Features:
# - Automatic logging to ~/.acfs/logs/updates/
# - Version tracking (before/after for each tool)
# - APT lock detection and warning
# - Reboot-required detection for kernel updates
# - Dry-run mode with --dry-run flag
gum_ui.shEnhanced terminal UI using Charmbracelet Gum:
print_banner() # ASCII art ACFS banner
gum_step/gum_detail # Styled output
gum_success/warn/error # Colored messages
gum_spin # Spinner for long operations
gum_confirm # Yes/No prompt
gum_choose # Selection menu
Falls back to basic echo if Gum is not installed.
error_tracking.shSophisticated error collection and reporting:
track_error "phase" "step" "error_message"
track_warning "phase" "step" "warning_message"
get_error_report # Generate structured error report
get_error_count # Count of tracked errors
has_errors # Boolean check for any errors
Features:
state.shState machine management for installation progress (v3 schema):
state_init # Initialize state file
state_get_phase # Current phase
state_set_phase "phase_name" # Set current phase
state_mark_complete "phase_name" # Mark phase complete
state_has_completed "phase_name" # Check if phase done
state_save # Persist to disk (atomic)
state_load # Load from disk
The state file (~/.acfs/state.json) uses atomic writes to prevent corruption.
contract.shRuntime contract validation for generated scripts:
acfs_require_contract "module:${module_id}" # Assert module environment is ready
acfs_check_contract # Non-fatal contract check
Validates that required environment variables and functions exist before execution:
TARGET_USER, TARGET_HOME, MODEACFS_BOOTSTRAP_DIR, ACFS_LIB_DIRlog_detail, log_success, etc.smoke_test.shStandalone post-install verification. The installer itself runs its own inline
run_smoke_test (8 critical checks, defined in install.sh) at the end of an
install; scripts/lib/smoke_test.sh is the larger, separately tested version
of the same checks and is not invoked by the installer:
run_smoke_test # Execute all smoke tests
Critical Checks (must pass):
Non-Critical Checks (warnings only):
Example output:
[Smoke Test]
✅ Running as ubuntu user
✅ Passwordless sudo enabled
✅ Zsh is default shell
✅ bun --version works
⚠️ Codex not authenticated (run: codex login)
✅ 8/9 checks passed
session.shAgent session export functionality for sharing and replay:
acfs session list --json --limit 10
acfs session export ~/.codex/sessions/.../session.jsonl --output session.json
# Export one exact archived conversation, including a remote or missing file.
# Use source_path, source_id and conversation_id from CASS session discovery.
acfs session export /remote/shared-store.json \
--source-id workstation --conversation-id 42 --agent antigravity \
--output archived-session.json
# Discover and export from the same explicitly selected archive.
acfs session recent --workspace /data/projects/my-project \
--cass-db /data/archive/agent_search.db --cass-data-dir /data/archive
acfs session import archived-session.json --dry-run
Canonical archive export uses CASS's transcript service and requires both
--source-id and --conversation-id. It reads the indexed conversation even
when the original provider file is unavailable, and disambiguates conversations
that share one source file. --cass-db and --cass-data-dir select the archive;
otherwise ACFS resolves the CASS defaults. recent preserves those coordinates
from discovery through export.
Exports sanitize secrets before publishing JSON or Markdown. Canonical JSON
includes all message roles in canonical_transcript, plus the user/assistant
projection in sanitized_transcript for import. Archive provenance records the
selected source, database and page count. Pages are separate archive reads, so
the export does not claim an immutable snapshot across pages. Invalid or
incomplete pages fail the export and preserve an existing output file.
Implements the Session Export Schema for cross-agent sharing:
interface SessionExport {
schema_version: 1;
exported_at: string; // ISO8601
session_id: string;
agent: string; // Provider label, or "unknown" if unavailable
model?: string;
summary: string;
duration_minutes?: number;
stats: {
turns: number;
canonical_messages?: number;
files_created?: number;
files_modified?: number;
commands_run?: number;
};
outcomes?: Array<{
type: "file_created" | "file_modified" | "command_run";
path?: string;
description: string;
}>;
key_prompts?: string[]; // Notable prompts for learning
sanitized_transcript: Array<{
role: "user" | "assistant";
content: string;
timestamp?: string;
}>;
canonical_transcript?: Array<{
message_id: number;
message_index: number;
role: string; // Includes system and tool messages
content: string;
}>;
}
tailscale.shZero-config VPN setup for secure remote access:
install_tailscale # Install via official APT repo
verify_tailscale # Check installation
tailscale_status # Get connection status
Tailscale provides:
After installation, run tailscale up to authenticate and join your tailnet.
ubuntu_upgrade.shMulti-reboot Ubuntu version upgrade automation, invoked only when an upgrade is explicitly requested:
start_ubuntu_upgrade # Begin upgrade chain
check_upgrade_status # Current upgrade state
resume_upgrade_after_reboot # Continue after reboot
Handles the complex multi-step Ubuntu upgrade process:
do-release-upgrade operationsACFS includes integration with MCP Agent Mail for multi-agent coordination:
ACFS runs Agent Mail as a user service bound to 127.0.0.1:8765 and health-checks it there.
cm serve (CASS Memory's MCP HTTP server) defaults to the same address, so on an ACFS machine
start it on another port (cm serve --port 8766, or MCP_HTTP_PORT=8766 cm serve); otherwise
whichever process starts second fails to bind and MCP clients can end up talking to the wrong
server. If Agent Mail cannot start, the installer reports which process is holding the port.
1. Register Identity:
# In your agent, call:
mcp.ensure_project(project_key="/data/projects/my-project")
mcp.register_agent(project_key=..., program="claude-code", model="opus-5.5")
2. Reserve Files Before Editing:
mcp.file_reservation_paths(
project_key=...,
agent_name="BlueLake",
paths=["src/**"],
ttl_seconds=3600,
exclusive=true
)
3. Communicate:
mcp.send_message(
project_key=...,
sender_name="BlueLake",
to=["GreenCastle"],
subject="Review needed",
body_md="Please review the auth changes..."
)
When speed matters more than fine-grained control:
mcp.macro_start_session(...) # Ensure project + register + fetch inbox
mcp.macro_prepare_thread(...) # Align with existing thread
mcp.macro_file_reservation_cycle(...) # Reserve + work + release
mcp.macro_contact_handshake(...) # Request contact permissions
dcg is a high-performance pre-execution hook for Claude Code, Codex CLI, and other agent CLIs that blocks dangerous git and filesystem commands before they execute. Built in Rust for sub-millisecond latency, it provides mechanical enforcement of safety rules that instructions alone cannot guarantee.
On December 17, 2025, an AI agent ran git checkout -- on files containing hours of uncommitted work from a parallel coding session. The files were recovered via git fsck --lost-found, but the incident made one thing clear: instructions in AGENTS.md don't prevent execution. dcg provides mechanical enforcement.
| Category | Commands |
|---|---|
| Git Reset | git reset --hard, git reset --merge |
| File Discard | git checkout -- <files>, git restore <files> |
| Force Push | git push --force / -f (allows --force-with-lease) |
| Clean | git clean -f (allows -n dry-run) |
| Branch Delete | git branch -D (allows -d) |
| Stash Loss | git stash drop, git stash clear |
| Filesystem | rm -rf |
Safe variants are allowlisted:
git checkout -b <branch> — Creates branch, doesn't touch filesgit restore --staged — Only unstages, doesn't discardgit clean -n — Dry-run previewacfs update --stack-only
Add to ~/.claude/settings.json:
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [{"type": "command", "command": "dcg"}]
}
]
}
}
dcg uses a modular pack system for extensibility. Enable additional packs in ~/.config/dcg/config.toml:
[packs]
enabled = [
"database.postgresql",
"containers.docker",
"kubernetes",
]
Available packs: database.*, containers.*, kubernetes.*, cloud.*, infrastructure.*, system.*, package_managers.
ru is a production-grade CLI tool for synchronizing collections of GitHub repositories and automating commit workflows across dirty repos with AI assistance.
--execute to apply){ curl -fsSL "https://cdn.jsdelivr.net/gh/Dicklesworthstone/repo_updater@main/install.sh" || curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/repo_updater/main/install.sh"; } | bash
Initialize configuration:
# Initialize configuration
ru init --example
# Sync all repositories
ru sync
# Check status without changes
ru status
The commit-sweep command groups the changes in your dirty worktrees into
logical conventional commits:
# Preview the commit plan (dry run is the default)
ru commit-sweep
# Execute the planned commits
ru commit-sweep --execute
# Keep manually staged files as their own group; limit to matching repos
ru commit-sweep --respect-staging --repos='*_rust' --execute
Two-Step Workflow:
--execute, makes those commits with deterministic git commands (never pushes)# ~/.config/ru/config
PROJECTS_DIR=/data/projects
LAYOUT=flat # flat|owner-repo|full
UPDATE_STRATEGY=ff-only # ff-only|rebase|merge
PARALLEL=4
Repo list format (~/.config/ru/repos.d/public.txt):
owner/repo
owner/repo@develop # Pin to branch
owner/repo as custom-name # Custom directory name
giil downloads full-resolution images from cloud photo shares to your terminal. Essential for remote debugging workflows where you need to analyze screenshots in SSH sessions.
| Platform | Method | Speed |
|---|---|---|
| iCloud | 4-tier capture strategy | 5-15s |
| Dropbox | Direct curl download | 1-2s |
| Google Photos | Network interception | 5-15s |
| Google Drive | Multi-tier with auth detection | 5-15s |
# Basic download
giil "https://share.icloud.com/photos/02cD9okNHvVd-uuDnPCH3ZEEA"
# Output: /current/dir/icloud_20240115_143245.jpg
# Download to specific directory
giil "..." --output ~/Downloads
# Get JSON metadata
giil "..." --json
# Download all photos from album
giil "..." --all --output ~/album
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/giil/main/install.sh?v=3.0.0" | bash
giil fetches the image locallycsctf converts public AI conversation share links into clean, searchable Markdown and HTML transcripts. Perfect for archiving AI conversations, building knowledge bases, and sharing with teams.
| Provider | URL Pattern |
|---|---|
| ChatGPT | chatgpt.com/share/* |
| Gemini | gemini.google.com/share/* |
| Grok | grok.com/share/* |
| Claude | claude.ai/share/* |
# Basic conversion
csctf https://chatgpt.com/share/69343092-91ac-800b-996c-7552461b9b70
# Creates: <slug>.md and <slug>.html
# Markdown only
csctf "..." --md-only
# Publish to GitHub Pages
csctf "..." --publish-to-gh-pages --yes
# JSON metadata output
csctf "..." --json
curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/chat_shared_conversation_to_file/main/install.sh | bash
<slug>_YYYYMMDD.md for reliable archivalACFS does not use GitHub Actions: every workflow under .github/workflows/ is disabled, and the checks below run locally or on the maintainer's own machines (scripts/release-doctor.sh, scripts/checksum-monitor-local.sh on a systemd timer, the Docker and QEMU factory harnesses, and dsr for releases). The workflow descriptions that follow document what each disabled workflow used to do and what replaced it.
installer.yml)# Runs on every push and PR
jobs:
shellcheck:
- Lints all bash scripts with ShellCheck
integration:
- Matrix tests across Ubuntu 24.04, 25.04, 25.10
- Runs full installation in Docker
- Verifies all tools installed correctly
- Runs acfs doctor to confirm health
factory-e2e:
- Runs the literal public curl|bash installer on QEMU/KVM or a fresh real Ubuntu host
- Requires systemd, SSH, and a disposable factory VM/VPS semantics
- Verifies ubuntu user creation, SSH key merge, user services, tool health, and idempotency
Docker catches shell and package regressions early. The factory E2E is the authoritative release gate for the real beginner VPS path because it exercises systemd, SSH, login/user-service behavior, and provider image defaults that containers cannot model. A Docker pass is not sufficient release proof by itself.
scripts/release-doctor.sh)Run the local release gate before tagging or publishing a release candidate:
bash scripts/release-doctor.sh --full --network=check
bash scripts/release-doctor.sh --json --full --network=check > release-doctor.json
For a fast local readiness check while developing:
bash scripts/release-doctor.sh --json
The release doctor composes the maintainer checks that are easy to forget:
shellcheck install.sh scripts/**/*.shscripts/check-manifest-drift.sh --json --quiet--network=checktype-check, lint, and production build when apps/web changed or --full is setThe checksum candidate check uses the canonical updater output. If the generated body differs from checksums.yaml, review the diff before release; if only the timestamp header differs, leave checksums.yaml unchanged. The default --network=skip keeps routine runs offline, and --web=auto runs website checks only when web files changed unless --full or --web=always is provided.
scripts/stack-provenance-report.sh)Use the stack provenance report when reviewing Agent Flywheel stack tool freshness before release:
bash scripts/stack-provenance-report.sh --json
bash scripts/stack-provenance-report.sh --network=check --json
Offline mode reports local manifest/checksum consistency for stack tools. Network mode also checks GitHub latest release metadata and generates a checksum candidate without writing checksums.yaml. Changed stack installer hashes fail the report, unrelated checksum diffs are called out separately, and rch release changes are flagged as mandatory checksum-refresh review items.
Network mode also records, per tool, which Linux architectures the latest release ships a build for (architecture.linux). A release with an x86_64 Linux build but no aarch64 one is a warning, because ARM64 installs then compile from source or fail. As of 2026-10-09, rch is the only such stack tool (upstream issue remote_compilation_helper#96).
scripts/agent-readiness-audit.sh)Run the local agent readiness audit before launching a swarm on a freshly installed VPS (the installer ships it; from a checkout, bash scripts/agent-readiness-audit.sh is equivalent):
acfs agent-readiness
acfs agent-readiness --json
acfs agent-readiness --rehearse --profile claude:work --profile codex:main # plan only
acfs agent-readiness --rehearse --profile claude:work --profile codex:main --run # run local CAAM status/--version checks
Rehearsal uses isolated profiles from caam profile ls, never activates, logs in or rotates accounts, and only proves local startup, not live authentication (see acfs agent-readiness --rehearse --help for the opt-in live check).
The audit checks Claude Code, Codex CLI, Antigravity CLI, and caam without printing token values or auth file contents. It reports CLI presence, version availability, parseable auth/config files, CAAM default profile consistency, and stale CAAM defaults that point at missing profiles.
Useful options:
acfs agent-readiness --no-version # Skip CLI --version probes
acfs agent-readiness --home /home/ubuntu --path "$PATH"
Treat failures as launch blockers. Warnings usually mean the CLI is installed but needs a user sign-in or CAAM default profile selection.
website.yml)# Builds and deploys the Next.js wizard
jobs:
build:
- Type-check TypeScript
- Run ESLint
- Build production bundle
deploy:
- Deploy to Vercel (production)
scripts/checksum-monitor-local.sh)ACFS checks upstream installer changes from a local systemd timer (every 15 minutes, in a dedicated clone on a maintainer box). The retired GitHub Actions monitor is kept for reference; it is not the publication path.
scripts/checksum-monitor-local.sh # the monitor
scripts/templates/acfs-checksum-monitor.* # timer + service templates
How It Works:
main checkout matching both remote compatibility refs. Installs manifest dependencies with --frozen-lockfile --ignore-scripts and checks generated artifacts with scripts/check-manifest-drift.sh --json. Existing drift stops the run and must be repaired separately.checksums.yaml. Any fetch error, skipped entry, malformed report, or repository change stops publication.authorize:<digest> or an eligible external subset using the command below. Digests bind tool names, URLs, expected pins and observed hashes; unrelated commits and trusted changes do not invalidate them. The authorization file must be owner-only, regular, single-link, and non-symlink. A missing, malformed, stale, or unsafe record grants no additional authority.result=deferred state=DEFERRED, including after an approved subset publishes, and leaves the deferred review open. An accepted run with no pending review records HEALTHY. Authorization is consumed only after accepted external publication.An original URL under https://raw.githubusercontent.com/Dicklesworthstone/
does not by itself establish where the observed installer came from. Automatic
selection also requires a complete, digest-bound response-header observation
showing one direct HTTP 200 response, with only supported informational responses
before it. URLs containing curl's literal glob characters ({}, []) require
review because expansion can change the requested path before a response arrives.
Any redirect, including a redirect within the same owner, requires human review.
Intact but ambiguous or incomplete header traces also require review. Multiple
HTTP 200 blocks are ambiguous, including a trace that resembles a proxy CONNECT
exchange: the retained evidence does not independently identify proxy responses.
The monitor does not infer a trusted destination from a Location value or a
status reason phrase.
The provenance check reads a bounded private snapshot of the retained headers and binds those exact bytes to the existing evidence index. Missing, unsafe, altered, or unreadable evidence stops the run. It cannot become an ordinary pending-review case. Snapshots and original observations remain private and retained; review messages expose fixed reason codes and tool names rather than raw header values.
For a configured trusted-owner URL deferred by these checks, review the retained bytes and transport evidence, then use the complete aggregate authorization digest if approval is warranted. The existing subset command deliberately rejects trusted-owner URLs and cannot authorize these entries. An eligible ordinary external subset can still publish while redirected or ambiguous trusted-owner entries remain pinned. Deferred observations never gain authority merely because their content hashes are reproducible.
Git cleanliness alone is insufficient: configured clean or smudge filters can make a worktree appear clean while its raw bytes differ from the committed objects. The monitor therefore binds every declared publication path to its raw Git blob ID, independent SHA256 and executable mode. The initial checkout must match the raw fetched base tree before verification. After generation, the candidate snapshot is captured before generated-artifact validation and must remain unchanged afterward.
Before committing, the actual index tree must contain exactly those bound files and preserve every path outside the declared publication set. The new commit must contain that exact tree and have the observed base as its single parent. These checks read raw Git objects with replacement refs disabled and repeat after blocking authority and remote probes, immediately before push, and before accepting remote readback. Filters, mode changes, index changes or different commit contents cannot silently substitute bytes that did not pass validation.
Private publication-snapshot-<run>.*.tsv records remain in monitor state for
investigation; their SHA256 and validated tree ID are recorded in the local
log and publication commit. A binding mismatch stops publication and preserves the
checkout, snapshots and other evidence for review.
Before launching the monitor, the installed service checks tracked and staged
cleanliness and fetches canonical main using the explicit repository URL.
Local HEAD must be an ancestor of the fetched commit before the existing
hook-disabled, fast-forward-only merge. A second check requires HEAD to equal
the fetched commit exactly after the merge; either failed commit lookup stops
execution. These checks run through fixed system executables without calling
a helper from the rejected checkout.
The ancestry check matters because git merge --ff-only alone succeeds when a
clean local checkout is already ahead of canonical main. Exact and behind
histories remain usable; local-ahead, divergent, and tracked-dirty histories
stop before the monitor starts, preserving their checkout and evidence.
The service template is installed separately from the monitor checkout. Updating this repository does not replace an existing user unit: the operator must install the reviewed template and reload the user service manager to adopt the bootstrap checks. This does not repair an unsafe state directory or bypass the monitor's verification and authorization requirements.
After acquiring the monitor lock, the process accounts for unhandled exits and
catchable termination signals through the same fail-closed streak and alert
path as explicit verification failures. An early exit 0 without an accepted
outcome becomes a failure. Genuine lock contention remains a quiet skip;
failure to open the lock or run the lock command is an error.
The lock is opened without truncation and stays on the same inode while held. The monitor checks its metadata and the opened descriptor before locking and again after acquisition. Unsafe links, special files, ownership or permissions stop the run; the monitor does not replace or remove the lock to recover.
Run logs use a validated append descriptor. The state directory, log directory, log file, and opened descriptor must pass their ownership, type, permissions, link-count, and identity checks before output is written. Command diagnostics reuse the held descriptor instead of reopening the log pathname. An unsafe initial log stops normal execution before verification or publication, while failure reporting and alert delivery can still use the service journal.
State safety failures include a fixed diagnostic marker, for example
[state_refusal=state_directory.group_or_world_writable]. It identifies the
component and failed check without including a host path, numeric user identity,
record contents, or raw utility output. The original refusal remains attached to
the failure even if subsequent counter or log operations also fail. A secondary
counter failure uses its own count_refusal marker.
| Refusal component | What to inspect on the monitor host |
|---|---|
state_directory | The configured state directory's type, owner, and permissions; it is shared by lock, counter, and notification state. |
lock_file | The lock's type, owner, permissions, link count, and whether its pathname still identifies the opened inode. |
log_directory, log_file | Log destination metadata and descriptor identity; rejected output falls back to the journal. |
failure_counter | Counter metadata and bounded-read or replacement failures; accepted-state recording still requires a safe counter. |
github_cooldown, private_cooldown, recovery_pending | Notification-state metadata and persistence; failed delivery bookkeeping remains retryable. |
An io_failure or metadata_unavailable identifies the operation class, not its
underlying cause. Unknown statuses remain state_record.unclassified; they are
not converted into an invented ownership, permission, or link diagnosis. Preserve
the rejected records before investigating or repairing the host configuration.
Failure accounting does not depend on successfully writing the normal log. If that log is unavailable, the terminal failure record falls back to standard error for the service journal, and notification attempts use a fallback output sink. The original nonzero exit or signal status remains nonzero. Interrupted runs retain their partial checkout, authorization records, download evidence, and publication journal for investigation; exit handling does not roll back, retry publication, or grant authority.
An accepted publication is recorded before best-effort recovery notification delivery. Interruption during that delivery preserves the pending notice without turning the already accepted outcome into a new checksum outage.
In-process handling cannot account for SIGKILL, host loss, or a service
bootstrap failure before the monitor starts. Check the service journal for
those cases; a failure-streak counter alone is not proof that every scheduled
execution completed:
journalctl --user --unit acfs-checksum-monitor.service \
--since '1 hour ago' --output short-iso --no-pager
Run the diagnostic command on the monitor host as the monitor account. Select
the UTC run identifier from its alert or logs/run-YYYYMMDDTHHMMSSZ.log filename;
an issue comment's posting time is not necessarily the run's start time.
The default state directory is ~/.local/state/acfs-monitor, with
ACFS_MONITOR_STATE selecting an existing alternate directory.
# Replace this example with the run identifier from the host's log or alert.
run_id='20261108T110101Z'
bash "$HOME/acfs-monitor/scripts/checksum-monitor-local.sh" --diagnose "$run_id"
This offline command requires the system Python 3 interpreter. It prints JSON with the locally recorded outcome, verification partition counts, installer names, report hashes, and the selected run's artifact availability. It also handles runs that stopped before verification or left an incomplete report. Missing, unsafe, malformed, or ambiguous artifacts remain explicit; the command does not select an arbitrary report when multiple reports match the run.
Default output omits free-form log and error text and installer URLs. To obtain the exact retained error descriptions for private investigation, explicitly add:
bash "$HOME/acfs-monitor/scripts/checksum-monitor-local.sh" \
--diagnose "$run_id" --include-private-details
Private details can contain credentials or other sensitive upstream diagnostics. Review them locally before sharing. Neither mode reads installer bodies, HTTP headers, or raw fetch-stderr sidecars, contacts a service, fetches Git refs, runs verification, executes an installer, or changes the clone, authorization records, failure counters, logs, or retained evidence. Unknown arguments are rejected before the monitor starts. Running the script with no arguments still runs the normal monitor.
The JSON is diagnostic only. Exit 0 means inspection completed, including
an explicit finding that an artifact is missing, invalid, or ambiguous. Exit
2 means invalid arguments, unavailable state, an unsafe or changed input, or
an inspection limit prevented completion. Its locally recorded outcome is
historical, not a fresh health check. A report hash agreeing with the same host's log is a
local consistency observation, not independent evidence of integrity or upstream
trust, and the command grants no publication authority.
For a state failure with one valid primary marker, the default JSON includes
log.state_refusal with its component and reason, and classifies the failure
as state_storage. Legacy lock, log, and counter failure messages receive the
same broad category without inventing a more specific refusal. Unknown,
malformed, or duplicate primary markers produce invalid_state_refusal warnings
instead of a guessed cause. Notification warnings cannot replace the primary
failure, and these fields do not establish the host's current health.
| Recorded finding | Next investigation |
|---|---|
| Clone, dependency, remote-ref, or generated-artifact failure before verification | Compare the recorded failure with the host configuration and the exact repository base. Repair the host when its configuration drifted; repair the repository when the pinned source itself fails its contract. |
| Verification errors or skipped entries | Inspect the private per-installer descriptions and preserve the original partial report and download directory. A failed fetch or hash calculation does not establish an upstream checksum change. |
| Checksum mismatches | Review the original bytes and upstream provenance through the complete evidence workflow below. A mismatch alone does not establish a compromise or authorize a new pin. |
| Invalid report, changed local binding, or missing evidence | Preserve the remaining records and investigate the discrepancy; do not regenerate evidence or substitute a fresh download to clear the failure. |
| No terminal outcome | The run may have been interrupted or still be active. Inspect its service journal and later runs before claiming recovery. |
Failed verification can stop before an evidence index is created. The diagnostic command can inspect that failure; the strict evidence verifier and exporter below still require complete, error-free observations and independent anchors.
When a state-directory refusal prevents normal logging or historical diagnosis, inspect the current filesystem metadata as the monitor's service account:
bash "$HOME/acfs-monitor/scripts/checksum-monitor-local.sh" --check-state
Use the reviewed monitor version that implements this option. Older versions
that predate diagnostic argument handling must not be invoked with unfamiliar
options: they may start a normal monitor run. ACFS_MONITOR_STATE selects an
existing alternate state directory, as it does for normal monitoring.
The command checks a fixed set of entries: the state and log directories, lock,
failure counter, both notification cooldown records, and pending recovery
record. It does not create missing entries, open record contents, enumerate
historical runs, acquire a lock, test writes, change permissions, contact a
service, or execute verification or publication. Its work does not grow with
the amount of retained evidence. Missing optional records remain absent.
For example, a state directory with mode 0775 reports:
{
"result": "refused",
"checks": {
"state_directory": {
"status": "refused",
"reason": "group_or_world_writable",
"metadata": {"type": "directory", "mode": "0775", "owner_matches": true, "links": 2}
},
"lock_file": {"status": "blocked", "blocked_by": "state_directory"}
}
}
This is an abbreviated example. A blocked child has not been inspected;
its parent failure does not establish a fault in that child. If the state
directory is missing, the result is incomplete, with its children blocked.
The schema is acfs.checksum-monitor-state-inspection.v1. Every response is
diagnostic only, grants no publication authority, and leaves current health
unknown. Exit 0 means a structured inspection result was produced, including
refused and incomplete results. Exit 2 means invalid arguments, a required
capability is unavailable, an inspection limit was reached, or metadata changed
during inspection. no_refusal_observed means only that the checked metadata
did not exhibit a refusal; it proves neither that a later open/write will work
nor that monitoring has recovered or retained contents are authentic.
The inspector uses native filesystem metadata and the monitor's distinct mode
policies: lock files require owner read/write access; ordinary counter and
cooldown records require owner read access; pending recovery requires exact
0600. It preserves the production directory policy, including special bits
that do not themselves grant group/other write access. It does not run the
host's stat, id, or other utilities and cannot diagnose their failures.
Path components are held through no-follow directory descriptors and checked
again before returning. An unsafe ancestor stops traversal and is reported
separately as checks.state_path with scope: "diagnostic_traversal"; this is
an inspection restriction, not a claimed production failure. Ancestors must
belong to root or the inspecting account and must not be group/world writable,
except for root-owned sticky shared directories such as /tmp. That exception
never applies to the monitor's state directory itself.
Default output includes file type, octal mode, link count, and whether ownership matches. For local investigation, explicit private output also includes paths, UID/GID, device/inode, and metadata timestamps:
bash "$HOME/acfs-monitor/scripts/checksum-monitor-local.sh" \
--check-state --include-private-details
For state_directory.group_or_world_writable, confirm the service account and
configured directory, preserve its metadata and existing records, and review
its ownership, group access, and ACLs before removing unintended write access
on the host. Keep the directory inode and retained evidence intact; do not
replace state, recursively rewrite permissions, reset failure counts, or remove
the lock. Correcting permissions does not establish that previously writable
verification or authorization records are trustworthy. Their existing evidence
and authorization checks remain mandatory before publication.
Before reviewing changed installers, obtain the original verification report,
download-evidence index, complete observation directory, and the exact checksum
policy used for that observation from the monitor host. The observation directory
is the acfs-observations.* directory containing one subdirectory per installer.
It includes unchanged installers because the published index covers the complete
observation. Use the report and evidence-index SHA256 values recorded in the
review issue as independent inputs:
bash scripts/lib/security.sh --verify-checksum-evidence \
/private/review/checksums.yaml \
/private/review/verification-report.json \
/private/review/evidence-index.json \
/private/review/acfs-observations.ORIGINAL \
"$REPORT_SHA256_FROM_ISSUE" "$EVIDENCE_INDEX_SHA256_FROM_ISSUE"
This offline command checks the supplied anchors, strict policy/report/index
relationships, complete installer membership, and exact retained body, wire,
header, and metadata bytes. It rejects unsafe files and changed sources before
emitting its JSON result. Retained evidence files must be owned by the invoking
user with mode 0600, and observation directories must have mode 0700. The
policy may be a readable regular file from the original checkout. Python 3,
Bash, and jq must be available in trusted system locations.
integrity_verified: true means that the evidence matches the supplied issue
anchors. trust_decision: "not_assessed" and authorization_granted: false
remain explicit: a human still needs to compare the old and new scripts,
inspect the captured redirects, and establish upstream provenance. The command
does not fetch or execute installers, create authorization, or change pins.
A current public download is not a replacement for missing original evidence. If the original policy is recovered from the issue's recorded repository commit, its exact bytes must still match the policy digest bound into the report and index. Missing evidence or mismatched digests stop verification; do not replace the expected anchors with hashes computed from the supplied files merely to make the check pass. Raw headers can contain cookies and signed URLs, so keep the evidence private when transferring it to a reviewer.
To prepare a portable copy on the monitor host, use the same six inputs followed by a new destination directory:
bash scripts/lib/security.sh --export-checksum-evidence \
/private/review/checksums.yaml \
/private/review/verification-report.json \
/private/review/evidence-index.json \
/private/review/acfs-observations.ORIGINAL \
"$REPORT_SHA256_FROM_ISSUE" "$EVIDENCE_INDEX_SHA256_FROM_ISSUE" \
/private/exports/issue-500
The destination's existing parent must be owned by the invoking user with mode 0700. The command refuses an existing destination or linked path and never overwrites a previous package. It copies the original policy, report, index, and all four indexed files per installer into an observations directory, preserving their exact bytes with 0700 directories and 0600 files. It then revalidates the copied package before reporting success. Unbound fetch-stderr diagnostics are excluded. The informative bundle.json descriptor is written last; an interrupted or failed export can leave a private incomplete directory, and only exit status zero with the successful JSON result confirms completion.
After a private transfer, run the verification command again using the exported checksums.yaml, verification-report.json, evidence-index.json, and observations paths. Obtain its expected report/index hashes independently from the original issue; the package descriptor is not an authority source. Export and verification do not upload the evidence or make a trust decision.
Use the complete saved verification report from the monitor host and its matching checksum policy. For example, to prepare review of Atuin, oh-my-pi, and uv while leaving other external changes deferred:
bash scripts/lib/security.sh --review-checksum-subset \
checksums.yaml /path/to/verification-report.json atuin omp uv
This offline command validates the complete policy/report pair and prints a JSON
review proposal. It does not fetch or execute installers, write authorization,
or change pins. The proposal identifies selected and deferred external tools,
exact selected observations, policy/report hashes, and an authorization_line:
authorize-subset:<digest>:atuin,omp,uv
The subset digest uses the separate acfs.external-checksum-authorization.v2
schema and binds the sorted selected observations. It is not the aggregate
digest printed by an earlier four-tool issue. Selected tools must be distinct
external mismatches in the complete report; unknown, unchanged, trusted-owner,
or stale selections fail rather than being silently removed. A later change to
any selected tuple invalidates the grant. Unselected observations remain outside
its authority.
A human must first inspect the monitor's retained original bodies and headers,
compare the expected and observed versions, and establish upstream provenance.
Reproducible hashes alone do not approve content. Only after that review should
the human place the proposal's exact line, with one terminating LF and no other
bytes, in the monitor's private authorization file. Subset records are limited
to 4,096 bytes and require names in sorted order. The monitor freezes the chosen
record and its permission mode for the run; replacement, revocation, or mode
changes stop acceptance. After verified publication it replaces that record
with used-subset:<digest>:<sorted-tools>:<commit>. Legacy aggregate records
retain their existing format and checks.
The strict policy loader rejects raw . and .. URL path components. Trusted
raw-owner paths must also use literal, unencoded path spelling. Query and
fragment values do not participate in this path rule. The monitor's additional
glob and retained-transport checks above determine eligibility for automatic
selection; a trusted prefix alone is insufficient.
The drift check combines bun run generate:diff with semantic checks across scripts/generated/doctor_checks.sh, apps/web/lib/generated, acfs/onboard/lessons, README snippets, and installer checksum coverage.
The internal ledger is inert data: exactly ACFS_INTERNAL_CHECKSUMS_SCHEMA=1,
one associative checksum map, and its exact entry count. The installer parses
that closed grammar without sourcing the ledger, enforces its checksum-controlled
membership, and verifies regular non-symlink files before sourcing them. This
is an internal consistency boundary, not an independent signature or archive
provenance claim.
First-party changes with eligible direct-response evidence can publish automatically after these checks. Other changes require review before publication. Repeated failures are logged and escalated through deduplicated GitHub issues and optional ACFS_NTFY_TOPIC notifications. Check the deployed timer's logs for its current health; the existence of workflow or timer files does not prove that monitoring is running.
Alerts begin after three consecutive failures and normally repeat after 24 hours for an unchanged reason, with separate cooldowns for GitHub and push delivery. Saved numbers are read as decimal; oversized failure counts saturate at 2,147,483,647. Invalid or future cooldown timestamps cannot silence alerts. An unavailable clock does not advance a delivery record.
Failure counters and notification records are bookkeeping, and grant no publication
authority. Their writes use private temporary files and atomic replacement of
validated state paths. Linked files, special files, foreign-owned records, and
group/world-writable records or a group/world-writable monitor state directory are
rejected without overwriting them. Safe existing 0644 counters and cooldowns remain readable and become 0600
on replacement; pending recovery records retain their stricter 0600 requirement.
Failed replacement preserves the previous record and any staging file for inspection.
This protects ordinary file replacement; it is not a guarantee against power loss.
If a failure count cannot be persisted, the monitor attempts an alert immediately
and explicitly reports that the consecutive count is unavailable. Delivery still
uses independent channel cooldowns. An unsafe or unwritable accepted-run counter
reset prevents a healthy terminal transition. A delivered notification whose
cooldown cannot be saved remains retryable. Cooldown readers validate the complete
record within a 4,096-byte limit; malformed, linked, oversized, or multiline state
cannot suppress delivery. Unsupported or oversized reasons are not truncated into
a deduplication key. Preserve rejected records and inspect their metadata and
targets on the monitor host before repairing the configuration. An unavailable
count does not create a historical recovery streak; confirm recovery from a fresh
accepted run's log, including whether its outcome is HEALTHY or DEFERRED.
production-smoke.yml)Validates deployments on real environments:
# Runs after deployment
jobs:
smoke:
- Fetches install.sh from production URL
- Verifies checksum matches repository
- Validates shell syntax
- Confirms no uncommitted drift
installer-canary.yml)Runs the installer inside fresh Ubuntu containers on a daily schedule. This is a fast regression canary, not the final proof of the factory VPS path.
schedule: "30 7 * * *" # daily
jobs:
canary:
- Run tests/vm/test_install_ubuntu.sh (vibe mode)
- Defaults to Ubuntu 24.04; --all covers the supported LTS releases 22.04, 24.04, and 26.04
- Uses ACFS_CHECKSUMS_REF=main for freshest hashes
installer-factory-e2e.yml)Runs the literal public installer through the authoritative factory harness. The QEMU/KVM backend uses the official Ubuntu cloud image and requires a runner with /dev/kvm; set the repository variable ACFS_FACTORY_RUNNER, the manual runner input, or client_payload.runner to a KVM-capable larger/self-hosted runner. The real-host backend runs against a disposable Ubuntu VPS over SSH and is intended for provider-specific sentinel runs.
schedule: "0 8 * * 0" # weekly QEMU/KVM factory canary when ACFS_FACTORY_RUNNER has /dev/kvm
workflow_dispatch:
inputs:
backend: qemu|real-host
runner: "" # optional override; blank uses ACFS_FACTORY_RUNNER or ubuntu-latest
ref: main
mode: vibe
expect_ubuntu: "25.10"
expect_final_ubuntu: "25.10"
repository_dispatch:
types: [acfs-factory-host-ready]
real-host secrets:
ACFS_FACTORY_SSH_PRIVATE_KEY: private key for real-host backend
ACFS_FACTORY_SSH_TARGET: optional fallback root@fresh-host for real-host backend
Standard GitHub-hosted runners do not provide a contractual nested-virtualization environment. If the QEMU backend runs without /dev/kvm, the workflow fails at the KVM preflight with an environment-specific error before invoking the installer.
Reusable workflow callers may use the QEMU backend without passing SSH secrets. The real-host backend still needs a private key plus either client_payload.ssh_target for dispatch runs or ACFS_FACTORY_SSH_TARGET as a fallback.
If backend=real-host is requested without those SSH credentials, the workflow fails during configuration resolution. It must never report a green canary when no disposable host was tested.
Workflow artifact directories and uploads include only the current GitHub run id and attempt. That keeps repeated scheduled/manual runs from reusing or uploading old QEMU overlay disks on KVM-capable self-hosted runners with persistent workspaces. The QEMU backend writes its generated private SSH key outside the repository checkout, so upload-artifact and future Git commits never package guest login credentials. Factory diagnostics are redacted before local upload, including installer logs and the remote diagnostic archive.
The target host must be freshly provisioned. By default the harness fails if the ubuntu user already exists before install, because the real beginner path must prove ACFS creates that user automatically. The harness also requires acfs doctor --json to report zero failures and zero warnings, then separately verifies Agent Mail liveness/systemd service state and the ACFS nightly user timer.
For current release qualification, provision a fresh Ubuntu 24.04 LTS host and pass --expect-ubuntu 24.04 --expect-final-ubuntu 24.04 to the factory script. This verifies that an ordinary install preserves the host release. The historical workflow inputs above describe the disabled workflow's 25.10 defaults.
The separate upgrade/resume gate must explicitly request the upgrade on a disposable reboot-capable host. The factory harness's --expect-final-ubuntu and --allow-install-reboot options only control verification and reboot tolerance; --target-ubuntu 26.04 is what passes --target-ubuntu=26.04 to the installer, on both the first run and the idempotency rerun. For example, tests/vm/test_factory_install_qemu.sh --ubuntu 24.04 --target-ubuntu 26.04 --allow-install-reboot (the final-release expectation defaults to the target). On 2026-10-09 this passed for 24.04, 22.04 (two hops) and 25.10 (EOL recovery) sources, and for a fresh 26.04 image.
The disabled workflow previously accepted provider-specific real VPS sentinels through an acfs-factory-host-ready dispatch from an external provisioning job. This historical payload included the fresh host address instead of storing a long-lived VPS as ACFS_FACTORY_SSH_TARGET; current release checks run the factory script directly:
{
"event_type": "acfs-factory-host-ready",
"client_payload": {
"backend": "real-host",
"ssh_target": "root@203.0.113.10",
"ref": "main",
"mode": "vibe",
"expect_ubuntu": "25.10",
"expect_final_ubuntu": "25.10"
}
}
test_factory_install_qemu.sh)Runs the same factory-host harness inside a real local VM instead of a Docker container. The wrapper downloads and verifies the official Ubuntu cloud image, boots it with QEMU/KVM and cloud-init, exposes root SSH on a local forwarded port, then delegates to tests/vm/test_factory_install_ubuntu.sh. Generated private SSH keys are kept outside the repository checkout; use --key-dir with a path under /tmp or another non-repo directory when you need a specific local key location for debugging.
sudo apt-get install -y qemu-system-x86 qemu-utils cloud-image-utils openssh-client
./tests/vm/test_factory_install_qemu.sh --ubuntu 24.04 --expect-final-ubuntu 24.04
Use this when Docker passes but you need local proof for systemd, sshd, cloud-init, kernel, filesystem, and login behavior before spending time on a disposable provider VPS.
playwright.yml)Full browser testing of the wizard website:
# Runs on PR to main
browsers:
- Chromium
- Firefox
- WebKit
- Mobile Chrome
- Mobile Safari
tests:
- Wizard flow completion
- Step navigation
- Copy button functionality
- Responsive design
ACFS works on any Ubuntu VPS with SSH access and either root password login or a provider console that lets you become root for the first install. Here are recommended providers optimized for multi-agent workloads.
Why 48-64GB RAM? Each AI coding agent uses ~2GB RAM. To run 10-20+ agents simultaneously, you need 48GB+ RAM. Don't bottleneck a $400+/month AI investment to save $20 on hosting.
After installation, run acfs capacity --profile 25-agents --recommend-ntm on the VPS for a
…(truncated)
GitHub freshness not yet checked. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.