Repository navigation
v0.2.0-alpha
Pre-release
Pre-release
Warning
Rookery is currently alpha software. Always place Rookery behind TLS when exposing it beyond localhost, back up ROOKERY_DATA_DIR before upgrading, and start write-path testing with disposable units.
Highlights
Real-time UI, PWA & Companion App Readiness
- Real-time WebSocket broadcasts (
/api/ws): Streamsunits.changed,resources.changed, andnodes.changedenvelopes so open tabs and companion clients refresh immediately on mutations and failure transitions. - Installable PWA: Added
manifest.webmanifest, app icons (192x192,512x512, Apple touch icon), and a static-only service worker (sw.js, never caching/api/*or/metrics). - QR-code companion pairing: Minting a Bearer API token in Settings → Tokens shows a one-time client-side SVG QR code and
rookery://pairURI alongside the raw token. - Zero-backend WASM Quadlet converter (
cmd/quadlet-wasm):make wasmbuilds Rookery's pure-Gointernal/convertpackage todist/quadlet-convert.wasm+dist/wasm_exec.jsfor embedding on static websites. - OpenAPI 3.1 spec: Published
docs/openapi.yamldocumenting the REST and WebSocket API surface.
Multi-Host, Agent & Operations
- Per-host
rookery-agentconnector (-agents alias=url,-agent-token): Full read/write parity across system and rootless user scopes — units, lifecycle, logs, unit files, live stats, resources, host metrics, and GPUs. Pairs withrookery-agent v0.4.0androokery-agent-api v0.8.0. - Typed resource pages & node-scoped fleet control: Dedicated Containers, Pods, Networks, Volumes, and Images pages with live Podman store inspection, unused-image pruning, and a global node picker.
- Host-side Quadlet validation & safe apply: Validates on the target host (local, SSH, or agent) with inline CodeMirror diagnostics, fresh-disk diff/rebase before saving, and atomic
write → daemon-reload → restartflows. - Lifecycle contract hardening & host metrics: Consistent enable/disable semantics across local, SSH, and agent scopes plus CPU, memory, disk, and network throughput telemetry on the dashboard.
Security Hardening & Dependency Updates
- Per-instance random 32-byte
share_hmacsecret stored inrookery.db(server_secrets, schema v8). - Hardened OIDC SSO: S256 PKCE, cookie-bound state (Login CSRF protection), strict
email_verified: true, JWKS refresh filtering, EC/RSA key validation, and-trust-proxy-headersgating onX-Forwarded-*. - Immediate session revocation on user delete/demote/password reset/onboarding, per-IP auth rate limiting, stdlib
crypto/pbkdf2,http.CrossOriginProtectionCSRF checks, baseline HTTP security headers, andhttp.Servertimeouts + graceful shutdown. - Eliminated SSH option injection, CLI flag injection, Podman API path traversal, rootful user-scope symlink traversal (
os.OpenRoot,0600unit writes), registryWWW-AuthenticateSSRF/credential leaks, and backup/restore SQL column injection & gzip-bomb OOM (atomicVACUUM INTOsnapshots + column allowlists). - Updated Go toolchain and dependencies (
go 1.26,modernc.org/sqlite v1.63.0,rookery-agent-api v0.8.0) and resolved all 8 npm security advisories (npm audit: 0 vulnerabilities).
Key Fixes
- Viewer accounts can sign out cleanly (
POST /api/logout), andGET /metricsenforces first-login onboarding. - Agent-backed bulk actions route to the agent cleanly; unsupported agent update paths return
400instead of panicking. - Fail-closed frontend auth with offline retry, class-based React Error Boundary, CSV formula escaping on audit exports, hex node color validation,
?share=URL stripping, deduplicated Context polling, and stable log SSE streams. - Fixed local GPU leakage and node mislabeling on remote/agent-backed nodes.
Container Images & Companion Releases
podman pull ghcr.io/rookerylabs/rookery:0.2.0-alpha
podman pull ghcr.io/rookerylabs/rookery-agent:0.4.0
- Rookery Agent:
rookerylabs/rookery-agent@v0.4.0(adds TLS 1.3 / mTLS, safe127.0.0.1:7666default, symlink-safe user-scope I/O, Podman socketSO_PEERCREDverification, privilege drops, and audit logging) - Rookery Agent API:
rookerylabs/rookery-agent-api@v0.8.0
Full Changelog: v0.1.0-alpha...v0.2.0-alpha