feat(host): add reset command to remove claws and users#19
Open
feat(host): add reset command to remove claws and users#19
Conversation
Implements #15: Host Reset Command - Add `clm host reset <host>` command with: - --yes/-y: Skip confirmation prompt - --dry-run/-n: Preview targets without executing - --untrack: Remove host from tracking after reset - Core functionality: - enumerate_targets(): Discovers users (uid >= 1000, excluding xclm), *claw*.service services, and clawrium paths - execute_reset(): Runs ansible playbook to clean up host - Updates host record to clear claws array after reset - Files added: - src/clawrium/core/reset.py: Core reset module - src/clawrium/platform/playbooks/reset.yaml: Ansible playbook - tests/test_reset.py: 17 unit tests Closes #15
- Remove hardcoded model directives from opencode commands - Add writing guide comments to spec template - Simplify template with focus on data model first - Fix plan command reference in output - Remove redundant quality checklist (now in template)
- Add 3-phase workflow: capture, iterate, decide - Iterate through all Socratic sections before completion - Show progress checklist after each update - Offer choice at end: spec, GitHub issue, or continue refining - Add idea for PR review slash command (260323-prv)
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.
Implements #15: Host Reset Command
Add
clm host reset <host>command with:Core functionality:
Files added:
Closes #15