Sanitized single-commit public mirror of recipe-maintainer. - Removed test-ssh/.testenv (live creds); added test-ssh/.testenv.example placeholders. - Removed plans/ and planned-updates/ (deployment-planning docs) so no client/ deployment domains appear in the public repo. - All other secret stores were already gitignored. - docs.coopcloud.tech retained as a submodule (public upstream).
1.3 KiB
description, argument-hint, allowed-tools
| description | argument-hint | allowed-tools | ||||
|---|---|---|---|---|---|---|
| Switch the default test instance (b1cc or t1cc) for all recipe operations | <b1cc|t1cc> |
|
Switch Default Instance
Switch the default test instance used by all recipe skills. This updates default_instance in settings.toml. Domain is computed dynamically via get_test_instance.py, so no global find-and-replace is needed.
The target instance is: $ARGUMENTS
Read and follow the instructions in .claude/commands/includes/logging.md.
Steps
-
Validate the argument —
$ARGUMENTSmust be eitherb1ccort1cc. If it's empty or something else, tell the user the valid options and stop. -
Check the current instance — run:
python3 scripts/switch_default_instance.pyThis shows the current default and available instances. If the current default already matches the requested instance, tell the user and stop (no work needed).
-
Run the switch script:
python3 scripts/switch_default_instance.py $ARGUMENTS -
Verify — run
python3 scripts/get_test_instance.pyand confirm the SERVER uses the new instance's domain suffix. -
Summarise — tell the user which instance is now active and what the test server domain is (
<instance>.commoninternet.net).