wrknv
2025-08-09
Initial extraction of wrknv workspace environment tool from TofuSoup
522 files · 75,898+ · 15,573-
Package extraction and rename from wrkenv to wrknv
4 files changed
__init__.pyNew package root with version and public API exportspyproject.tomlFull project metadata, dependencies, CLI entry points, ruff/mypy confighub_cli.pyHub CLI with click-based command routingnested_commands.pyNested command loading for modular CLI architecture
- Extracted workspace environment management from TofuSoup monorepo into standalone wrknv package with full CLI, config, container, workspace, and task subsystems
instantiate
architectural
2 files
__init__.pypyproject.toml
- Renamed all references from wrkenv to wrknv throughout the codebase, updating imports, entry points, and module paths
decouple
architectural
2 files
__init__.pyhub_cli.py
CLI command suite
8 files changed
check.pyEnvironment check command for validating tool installationsconfig.pyConfiguration management commands (init, show, validate)container.pyContainer lifecycle commands (build, run, exec, logs)doctor.pyDiagnostic doctor command for environment health checksgitignore.pyGitignore generation and management commandsrun.pyTask runner command for executing wrknv.toml taskssecurity.pySecurity scanning commands (gitleaks, trufflehog)workspace.pyWorkspace orchestration commands
- Added 15+ CLI subcommands covering config, container, doctor, gitignore, lock, profile, run, secrets, security, setup, terraform, tools, and workspace operations
instantiate
behavioral
4 files
check.pyconfig.pycontainer.pyrun.py
Tool manager hierarchy
5 files changed
base.pyAbstract base manager with version resolution and binary managementbase.pyTerraform/OpenTofu base manager with version detection and installgo.pyGo toolchain manageruv.pyUV Python package manager integrationbase.pySecrets management base (Vault/IBM)
- Established pluggable tool manager hierarchy supporting terraform, tofu, go, uv, bao, and subrosa (Vault/IBM) with shared base for version resolution, download, and binary management
instantiate
architectural
3 files
base.pybase.pygo.py
Task system and workspace orchestration
4 files changed
registry.pyTask registry for wrknv.toml task definitionsexecutor.pyTask executor with subprocess management and streamingorchestrator.pyMulti-project workspace orchestrationdiscovery.pyWorkspace project discovery and dependency resolution
- Added TOML-based task runner with nested task support, composite tasks, environment variable injection, and parallel execution capabilities
instantiate
architectural
3 files
registry.pyexecutor.pyschema.py
Comprehensive test suite
1 file changed
conftest.pyShared test fixtures and configuration
CI/CD workflows and documentation
4 files changed
ci.ymlCI workflow with test, lint, type check, and coveragesecurity.ymlSecurity scanning workflow with gitleaks and trufflehogindex.mdMkDocs documentation site rootmkdocs.ymlMkDocs configuration with material theme