railiance-infra/.claude/rules/stack-and-commands.md
tegwick 73a30f0a44 Repo hygiene: fill stack-and-commands, normalize workplan statuses
- Fill .claude/rules/stack-and-commands.md (was an empty TODO template)
- Normalize workplan frontmatter statuses to canonical vocabulary
  (completed/done -> finished) per ADR-001

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 00:21:48 +02:00

22 lines
880 B
Markdown

## Stack
- **Language:** Terraform (HCL), cloud-init, Ansible, Bash
- **Key deps:** Hetzner/HostEurope provisioning, SOPS + age for secrets, repo-local git hooks (`.githooks`)
## Dev Commands
```bash
make help # list all targets
make hooks # configure repo-local git hooks (secrets guard)
make check-secrets # fail if anything in secrets/ is not SOPS-encrypted
make sops-edit # edit global secrets with SOPS
make sops-encrypt FILE=secrets/foo.yaml
make tf-fmt # terraform fmt
make tf-init && make tf-plan # plan (needs decrypted HCLOUD_TOKEN)
make tf-apply # provision — production-touching
make tf-destroy # tear down — destructive, operator only
```
`tf-apply`/`tf-destroy` change production infrastructure — operator approval
required. No unit test suite; validation is `tf-plan` + the server test suite
workplans.