Skip to content

feat(env): add crab env encrypt command#68

Open
MrFlounder wants to merge 1 commit intomainfrom
feat/env-encrypt-command
Open

feat(env): add crab env encrypt command#68
MrFlounder wants to merge 1 commit intomainfrom
feat/env-encrypt-command

Conversation

@MrFlounder
Copy link
Contributor

Summary

  • Extract encryption logic from env_snapshot into a standalone env_encrypt function
  • Add crab env encrypt <staging-dir> command so users can retry encryption if the password verification fails, without re-running the full snapshot agent
  • Add validation (checks staging dir exists and contains recipe.md)

Test plan

  • Run crab env snapshot, intentionally fail password verify, then retry with crab env encrypt <staging-dir>
  • Run crab env encrypt with invalid path — should error
  • Run crab env encrypt on dir without recipe.md — should error
  • Verify crab env help shows the new command

🤖 Generated with Claude Code

…yption

Extract encryption logic from env_snapshot into a standalone env_encrypt
function so users can retry encryption if the password verify fails,
without re-running the full snapshot agent.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant