Skip to content
MTG-ThomasPublic

About

MANX — the tailless-cat rescue kit. Boots ready (motd included), then works: one action surface (CLI / whiptail / Bubble Tea TUI / agent harness), gate-guarded destructive verbs, identical audit rows in every view, keyless-signed releases, Cove restore sidecar lanes. AGPL-3.0-or-later.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

MANX (rescue toolkit)

One action surface, three views: whiptail menu, manx <action> CLI, agent harness over the wire. Sponsored by our ops org for offline Windows surgery on real DCs at 2 a.m.

What this is

manx is a rescue toolkit - the bifrost-workspace-side companion for the Fleetwide spec shipped at docs/rescue/MANX-SPEC.md. It gives every rescue capability (collect, img-in/out/verify, mount-ro, hive-inspect/edit, bootstrap-drivers, net-up, mesh-up, channel-up, bringup-windows-vm, snapshot/rollback, status) ONE implementation, and a single-name shell surface (manx <action>), a whiptail-shaped menu wrapper (rescue-menu.sh on the ISO side), and a Bubble Tea TUI binary (manx-tui) as the target interactive interface.

What it is NOT

  • Not a Tailscale replacement or a substitute. The mesh default is Defined Networking + Nebula with a tailcat (static userspace WireGuard over DERP) fallback; see the spec.
  • Not a driver-carrying ISO. The container image is self-bootstrapping: it detects unknown hardware at boot (detect-hw.sh), then fetches drivers at runtime (bootstrap-drivers.sh via distro packages / Dell DSU), falling back to PXE.
  • Not a portable registry of "known-good" backups. It is a rescue tool; actual AD/data restore remains Cove/Managed-Nebula-managed and lives outside this repo.

ci

Verifying a release

Every release ships SHA256SUMS plus a keyless (OIDC) cosign bundle SHA256SUMS.sigstore.json, signed by the sign-release GitHub Actions lane:

sha256sum -c SHA256SUMS
cosign verify-blob --bundle SHA256SUMS.sigstore.json \
  --certificate-identity-regexp '^https://github.com/MTG-Thomas/manx/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  SHA256SUMS

Vendor restore kit

The Cove/N-able restore binaries MANX orchestrates (per spec §10.2b) are documented with links, versions and SHA256s in docs/VENDOR-RESTORE-KIT.md. Vendor-licensed binaries are fetched and hash-checked at rescue/build time — never committed.

Layout (codex-swarm parity)

cmd/manx/         CLI entry: `manx <action>` (the action surface)
cmd/manx-tui/     Bubble Tea TUI (target UI; degrades to `whiptail`, or plain `dialog`)
internal/         actions (implementation), audit (rows per verb), state (shared w/ menu)
manx-iso/          the ISO overlay: `bin/` scripts + `rescue-menu.sh`
docs/              SECURE-BOOT.md, BENCH-CHECKLIST.md, etc.

Build

make check  # gofmt + go vet + go test
make build  # compile bin/manx and bin/manx-tui (GOOS/GOARCH aware)

Targets are Makefile-driven; CI runs make check. Bench/vet/go-scan gates are the same shape as MTG-Thomas/codex-swarm.

Next docs worth reading before you work on this repo:

License

AGPL-3.0-or-later (see LICENSE). Any agent harness or rescue node reachable over a network falls under AGPL's network-use clause; that is why it is not MIT. See also SECURITY.md before packaging a release artifact.


Derived from the 2026-10-02 WARRENDC incident response, and normalized after the codex-swarm repo-maturity model.

About

MANX — the tailless-cat rescue kit. Boots ready (motd included), then works: one action surface (CLI / whiptail / Bubble Tea TUI / agent harness), gate-guarded destructive verbs, identical audit rows in every view, keyless-signed releases, Cove restore sidecar lanes. AGPL-3.0-or-later.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages