feat: add automated deployment workspace - #7
Draft
ShahabSL wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
twoman://profiletextWhy
The existing deployment flow works but requires users to coordinate cPanel deployment, hidden-server installation, verification, rollback, and profile extraction manually. This change exposes the existing control plane through the desktop application so users provide credentials and access details while Twoman performs and reports the deployment stages.
Compatibility and operational impact
SSHPASSrather than process arguments, and persisted deployment state remains root-readable onlyScreenshots
Desktop advanced deployment
Mobile deployment workspace
Validation
Validated from an isolated worktree containing only commit
d5b95d7:python -m unittest discover -s tests: 63 passedcd helper-agent && go test ./...: passedcd client-cli && go test ./...: passedbash tests/run_e2e_go_node_http.sh: passedbash tests/run_client_cli_e2e.sh: passednpm ci && npm audit && npm run build: production build passed, 0 vulnerabilitiesnpm run smoke:deploy: passed across 1440x1000 and 390x844 viewports; verifies Client remains the initial workspace, coach persistence/replay, Automatic/Advanced modes, remote SSH fields, profile output, monitoring, and rollbackcargo fmt --check && cargo test: 9 passed; 2 live credential-dependent tests ignoredbash -nand ShellCheck for installer/rollback scripts: passedDeployment and rollback considerations
The application requires WSL for automated deployment on Windows. It detects unavailable WSL, sudo requirements, and missing Linux dependencies before starting. Rollback can independently remove public-host files and hidden services or retain state for investigation.
Not tested