@@ -10,9 +10,19 @@ privilege, predictable recovery, and backward compatibility ahead of convenience
1010 private repository names, proprietary source, or real backup data in an issue or pull request.
1111- Keep pull requests focused. Large behavior changes should describe migration and restore impact.
1212
13+ ## Deployment documentation
14+
15+ The README is the primary ** Coolify + Docker Compose + GitHub App + Spaces** installation guide.
16+ Keep ` compose.yaml ` , ` .env.example ` , ` docs/COOLIFY.md ` , and ` docs/MONITORING.md ` aligned when
17+ changing environment variables or defaults. Keep CLI/systemd/PAT alternatives in ` docs/CLI.md ` .
18+ Container logs must use stdout/stderr; monitoring failure must not interrupt backup persistence,
19+ and secret Push URLs must never appear in logs. Test actual backup status and missing-heartbeat
20+ behavior rather than unconditionally reporting a running process as successful.
21+
1322## Development setup
1423
15- Python 3.11 or newer, Git, and Git LFS are required. Docker is required for container changes.
24+ Python 3.11 or newer, Git, and Git LFS are required. Docker is required for container changes. The production target is Ubuntu 24.04+ x86_64;
25+ Compose, container CI, and release builds explicitly target ` linux/amd64 ` .
1626
1727``` bash
1828git clone https://github.com/drhdev/github-backup.git
@@ -51,6 +61,20 @@ Add tests for changed behavior. Tests must not use a real token or contact a liv
5161When a live integration check is necessary, document the isolated test account, permissions, and
5262cleanup procedure without disclosing secrets.
5363
64+ ## Container and Scorecard CI
65+
66+ Both Docker stages pin the same official Python 3.13 Bookworm image digest. When refreshing
67+ that pin, inspect ` apt ` and ` libapt-pkg6.0 ` on the AMD64 deployment target before building: Bookworm
68+ must contain version 2.6.2 or newer for CVE-2026 -109518. Keep the CI/release Trivy High/Critical
69+ gates enabled; a base digest pin does not by itself mean its OS packages are current.
70+
71+ Scorecard analysis and GitHub SARIF upload are mandatory. Signed publication to the public
72+ Scorecard service runs afterward, best effort, with one retry. A Sigstore/Rekor outage can
73+ leave public results stale, but cannot bypass analysis or prevent the already-required
74+ code-scanning upload. Inspect the publishing steps and rerun the workflow after an outage
75+ if the public result needs refreshing. Do not treat successful workflow status as proof that
76+ optional public publication succeeded. The job keeps only Scorecard-approved action steps.
77+
5478## Commit and pull-request format
5579
5680Use [ Conventional Commits] ( https://www.conventionalcommits.org/en/v1.0.0/ ) because commits merged
0 commit comments