Strengthen backup and secret handling contracts

This commit is contained in:
Mikhail Chusavitin
2026-03-07 22:03:49 +03:00
parent f55bd84668
commit d2e11b8bdd
4 changed files with 88 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
# Contract: Go Code Style and Project Conventions
Version: 1.0
Version: 1.1
## Logging
@@ -64,6 +64,7 @@ Never reverse steps 2 and 5. Never start serving before migrations complete.
- Never hardcode ports, DSNs, or file paths in application code.
- Provide a `config.example.yaml` committed to the repo.
- The actual `config.yaml` is gitignored.
- Secret handling and pre-commit/pre-push leak checks must follow the `secret-management` contract.
## Template / UI Rendering