Operations
Security & privacy
Protect platform-issued credentials, enforce policy checks, and maintain auditable run history without slowing down engineering velocity.
Security fundamentals
- Treat developer keys and provider credentials as secrets at all times.
- Rotate keys periodically and immediately after suspected exposure.
- Prefer PR publish mode for branch protection and review visibility.
- Preserve immutable audit history for approvals, rejects, and publishes.
Developer key lifecycle
Keys should be created and managed in the ReactorAI dashboard, then used only in secure local or CI environments.
Platform key lifecycle + CLI auth
# Key lifecycle in https://reactorai.codes dashboard
# 1) Create Developer Key
# 2) Copy once and store in a password manager
# 3) Use key for CLI authentication
# 4) Rotate or revoke compromised keys immediately
refactor login --key <active_developer_key>
refactor whoamiCLI secret hygiene
Keep developer keys in secure environment injection and verify identity before running review workflows.
CLI guardrails for secret safety
# Never commit raw provider or developer keys
# Prefer environment interpolation in refactor.consti
export REFACTOR_API_KEY=<rfk_live_key>
refactor whoami
refactor doctorEnvironment management baseline
Store secrets in vault-backed environment injection for shared development and CI environments.
Secure environment baseline
# Example: secure environment baseline
REFACTOR_API_KEY=<developer-key-from-platform>
# Keep secrets in secure env injection (local vault or CI secrets)
# Do not commit keys into the repository