feat: harness CLI with bin/ structure, profiles, unified sandbox creation#9
Merged
Conversation
- bin/harness: entry point routing to subcommands (new, connect, deploy, teardown, preflight, providers, test) - bin/scripts/new.sh: unified sandbox creation for local + remote, merges sandbox-podman.sh and sandbox-ocp.sh - bin/scripts/deploy.sh: merged deploy-podman.sh and deploy-ocp.sh with --local/--remote flags - profiles/: renamed from agents/, parse via lib/profile.sh - lib/ moved to bin/scripts/lib/ - test-flow.sh moved to test/ - Deleted: deploy-podman.sh, deploy-ocp.sh, sandbox-podman.sh, sandbox-ocp.sh, deploy-local.sh Tested: bats 29/29, podman 13/13, ocp 13/14 (provider flake) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Single entry point for all harness operations.
bin/harness new --localreplaces the 3-4 script chain.New CLI
Changes
bin/harness: Entry point routing to subcommandsbin/scripts/new.sh: Unified sandbox creation (merges sandbox-podman.sh + sandbox-ocp.sh). Smart flow: deploys gateway + registers providers if needed before creating sandbox.bin/scripts/deploy.sh: Merged deploy-podman.sh + deploy-ocp.sh with--local/--remoteprofiles/: Renamed fromagents/. Parsed bylib/profile.sh(renamed fromlib/agent.sh)bin/scripts/lib/: Moved from rootlib/test/test-flow.sh: Moved from rootDeleted (9 scripts replaced by bin/scripts/)
deploy-podman.sh,deploy-ocp.sh,deploy-local.sh,sandbox-podman.sh,sandbox-ocp.sh,setup-providers.sh,setup-creds.sh,openshell-harness-preflight.sh,teardown.shTest results
🤖 Generated with Claude Code