refactor: scope haskytech-seed to dev only, remove staging #7

Merged
john merged 1 commit from feat/seed-dev-only into dev 2026-07-26 16:05:33 +00:00
Owner

Summary

Scopes haskytech-seed to dev environments only. Staging credentials are now managed via Bitwarden and the /wire-passwords skill.

Changes

  • cli.py: --env choices reduced to ['dev'] only
  • config.py: Removed _read_staging_password(), ~/secrets/ legacy path, and dotenv import. Added explicit error on non-dev env.

Credential Architecture

Environment Source of truth Tool
Dev haskytech-seed (canonical password) haskytech-seed → DB, /wire-passwords → BW sync
Staging Bitwarden (human-managed) /wire-passwords → DB seed

Tests

All 18 existing tests pass. No staging-specific tests existed.

## Summary Scopes haskytech-seed to dev environments only. Staging credentials are now managed via Bitwarden and the /wire-passwords skill. ## Changes - **cli.py**: --env choices reduced to ['dev'] only - **config.py**: Removed _read_staging_password(), ~/secrets/ legacy path, and dotenv import. Added explicit error on non-dev env. ## Credential Architecture | Environment | Source of truth | Tool | |---|---|---| | Dev | haskytech-seed (canonical password) | haskytech-seed → DB, /wire-passwords → BW sync | | Staging | Bitwarden (human-managed) | /wire-passwords → DB seed | ## Tests All 18 existing tests pass. No staging-specific tests existed.
refactor: scope haskytech-seed to dev only, remove staging
All checks were successful
CI / Detect Changes (pull_request) Successful in 5s
CI / Unit Tests (pull_request) Successful in 11s
CI / Lint & Format (pull_request) Successful in 11s
4ad4c05eab
haskytech-seed is the source of truth for dev credentials. Staging
credentials are managed separately via Bitwarden and /wire-passwords.

- Remove staging from --env choices (dev only)
- Remove _read_staging_password() and ~/secrets/ legacy path
- Remove python-dotenv import from config (still used in detect)
- Add explicit error if env != dev
- Simplify get_users_for_env to single dev path
john force-pushed feat/seed-dev-only from 4ad4c05eab
All checks were successful
CI / Detect Changes (pull_request) Successful in 5s
CI / Unit Tests (pull_request) Successful in 11s
CI / Lint & Format (pull_request) Successful in 11s
to 4d26cbc702
All checks were successful
CI / Detect Changes (pull_request) Successful in 4s
CI / Lint & Format (pull_request) Successful in 11s
CI / Unit Tests (pull_request) Successful in 11s
2026-05-29 23:36:58 +00:00
Compare
john force-pushed feat/seed-dev-only from 4d26cbc702
All checks were successful
CI / Detect Changes (pull_request) Successful in 4s
CI / Lint & Format (pull_request) Successful in 11s
CI / Unit Tests (pull_request) Successful in 11s
to 56d4a15fba
All checks were successful
CI / Detect Changes (pull_request) Successful in 4s
CI / Lint & Format (pull_request) Successful in 8s
CI / Unit Tests (pull_request) Successful in 11s
2026-05-29 23:41:42 +00:00
Compare
john merged commit 4749293a6e into dev 2026-07-26 16:05:33 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
haskytech/haskytech-modules-py!7
No description provided.