Version 1.0 · Adopted 2026-10-25 · Owner: Security Officer · Review: yearly
Every change to production code, configuration or infrastructure goes through a reviewed change, an automated check, a recorded deploy with a rollback copy, and a post-deploy verification. A daily integrity check compares the code running on gend.me with the recorded deploys and alerts us to anything changed without a record.
Change types
| Type | Approval | Path |
|---|---|---|
| Standard (plugin, theme, app code) | Review by someone other than the author; the owner reviews AI-authored changes | Pull request → automated checks → deploy script |
| Infrastructure | Owner approval | Versioned manifest → applied from the reviewed file |
| Secret | Owner | Rotation script; value never printed or committed |
| Emergency | Security Officer, approval may follow | Fix with a rollback copy, then a pull request within 24 hours and an incident record |
| Release (desktop, mobile, plugin feed) | Owner | Signed release through CI only |
Deploy rules
- Compare the live file with the version the change was built from. If it differs, stop and merge instead of overwriting.
- Upload as a temporary file, check its syntax on the server, and keep a copy of the live file.
- Swap atomically; never copy over a live file.
- Verify: checksums match, key pages respond, no errors in the log.
- Record the deploy (what, when, who approved, rollback) in the deploy register. AI agents record their deploys the same way.
Integrity monitoring
Every day gend.me fingerprints all of its code files and compares them with the previous day. Any change not covered by a recorded deploy is logged as an alert and emailed to the Security Officer, who either records the missing deploy or opens an incident.
Rollback
Every deploy keeps the previous files. Database changes need a backup taken immediately before the change.
Records
Pull requests, automated check results, the deploy register and integrity alerts are kept for at least 3 years.
