A production-ready, containerized toolchain for building, packaging, signing, and testing Windows applications on Linux.
WBAB is designed for deterministic automation, providing a unified CLI that ensures the same environment is used across developer machines, CI/CD pipelines, and AI agents.
- Containerized Build: Cross-compile Win32/Win64 apps using a stable toolchain (
wbab build). - Integrated Linting: Run project-specific static analysis within the toolchain (
wbab lint). - Unit Testing: Execute unit tests (including Windows binaries via Wine) (
wbab test). - Standardized Packaging: Create NSIS installers in a controlled environment (
wbab package). - Secure Signing: Integrated support for self-signed dev certs and production PKI (
wbab sign). - Headless Smoke Testing: Run installers in WineBot (Docker-based Wine) and verify contents automatically (
wbab smoke). - Idempotent Daemon: A core engine that handles retries and prevents redundant operations (
wbabd). - Network Discovery: Zero-configuration local network discovery using mDNS (
wbab discover). - Agent-Ready: Structured JSON planning (
wbab plan) and audit logs for AI-driven development. - Dev Container: Full-featured VS Code development environment with all tools pre-installed.
Ensure you have Docker and the GitHub CLI installed.
git clone https://github.com/SemperSupra/WineBotAppBuilder.git
cd WineBotAppBuilder/workspace
./scripts/bootstrap-submodule.sh# Initialize a new policy-compliant project
./tools/wbab init "My Awesome App" /path/to/my-project# Run operations through the daemon (with auto-discovery)
./tools/wbab build samples/validation-app
./tools/wbab package samples/validation-app- Non-Root Runtime: All toolchain containers run as restricted user
wbab(UID 1000). - SQLite Storage: All operation state and audit logs use SQLite for persistence and atomicity.
- Remote RCE Guard: The core engine directly constructs
docker runcommands; host-side scripts are not used for execution in production. - Workspace Isolation: Built-in cleanup of
out/anddist/directories ensures no stale artifacts pollute new builds.
- User Guide: Comprehensive guide on creating and testing your own apps.
- Contracts: Definition of stable CLI verbs and environment variables.
- Daemon Security: Security architecture and deployment profiles.
- AGENTS.md: The primary playbook for AI agents (context windows, commit policies).
- CONTEXT_BUNDLE.md: Technical deep-dive for establishing agent context.
- Formal Model: Guidance on the TLA+ idempotency specifications.
- Pull-First: By default, WBAB pulls official images from
ghcr.io/sempersupra. Local builds of the toolchain are disabled unlessWBAB_ALLOW_LOCAL_BUILD=1is set. - Atomic Commits: One commit per implementation change is strictly enforced for traceability.
For historical bring-up notes, see docs/BRINGUP.md.