Developer Operations¶
This section is for authorized maintainers. It describes ownership and release gates without storing credentials, private keys, database dumps, live browser state, private addresses, or provider recovery codes.
Architecture and repositories¶
| Component | Source of truth | Notes |
|---|---|---|
| WordPress content and options | Website WordPress database | Back up and read back before/after bounded mutations |
| Uploads and installed runtime data | WordPress wp-content and provider storage |
Pair with the matching database backup for recovery |
| Divi layouts/templates | WordPress plus validated project generators/records | Installed Divi schema is authoritative |
| Scoped MU helpers and project docs | Private SeattleOnABudget WordPress Gitea repository | Preserve unrelated manual and plugin changes |
| Handbook Markdown, approved screenshots, scripts, and release metadata | Private admin/SeattleOnABudget-Handbook Gitea repository |
Raw captures and auth state remain outside Git |
| Handbook runtime | Approved private static hosting | Maintain authorized access and release/rollback records |
Change workflow¶
- Read project history, Scope of Work, approved change records, live state, and current Gitea state.
- Inspect incomplete prior artifacts; never assume an interrupted backup/build is valid.
- Create a fresh change-appropriate rollback point and verify its manifest, checksums, archive listing, and restore instructions.
- Prefer the smallest owner: WordPress API/editor for content, the native Divi builder plus structured validation for Divi layouts, or a narrow site-owned helper when native Divi cannot safely express required dynamic behavior.
- Read back saved state and run focused plus representative regression QA.
- Update evidence/history, commit only bounded files, push to private Gitea, and independently verify the remote hash.
- Never mark an implementation task complete without its stated evidence.
Divi implementation standards¶
Use the installed Divi 5 schemas and current site capabilities, not copied legacy examples. Preview or dry-run a structural change when supported, keep repeated operations safe to retry, target sections and modules uniquely, and retain before/after snapshots through the verification window. Preserve the approved header 27, footer 28, global shell 29, editorial template 141/body 140, search 342/body 341, and 404 340/body 339 unless the approved change explicitly owns them.
Do not rewrite hundreds of modules when a guarded shared rule can safely own a global behavior. Conversely, do not use a global rule for content that belongs to one module or post.
Backup and rollback contract¶
A full WordPress recovery set pairs a database dump, wp-content archive,
manifest, SHA-256 checksums, scope notes, and restore instructions from the same
timestamp. Focused exports/snapshots supplement but do not silently replace the
full set. Validate gzip/tar structure and reject zero-byte or interrupted files.
Restore rehearsals use an isolated target or an explicitly approved safe method. After restoration, verify posts, media, Divi layouts/templates, helper files, plugin options, forms, routes, and approved indexing state. A full database restore can erase later client edits; prefer a scoped recovery when the failure is localized.
Handbook build and release¶
From a clean handbook checkout, maintainers use the repository scripts:
scripts/build.ps1
scripts/build.sh
python scripts/validate.py
python scripts/screenshot_privacy.py
python -m unittest discover -s tests -v
The pinned Dockerfile is the reproducible release authority. A release must pass strict MkDocs, link/anchor/navigation/metadata validation, screenshot coverage and privacy review, secret scanning, foundation checks, search assertions, responsive/accessibility/browser QA, and a clean remote-commit check.
Use scripts/release.py to create a versioned static ZIP, file manifest,
checksums, and release notes. Do not commit generated site/, raw captures,
browser state, or release archives unless the approved retention policy says so.
Reviewed handbook releases¶
Use a fresh branch and new pull request for every handbook update. Preserve earlier PRs and merges. Review the source and screenshots, run required checks, merge normally and build the exact merged revision. Retain the previous release and rollback instructions. Verify the deployed handbook's routes, images, search, access controls and revision before announcing a release.
Keep private hosting inventory and historical test records in the operator runbook, outside this client handbook. A handbook update does not authorize website content, DNS or infrastructure changes.
QA matrix¶
At minimum cover desktop, tablet, and phone; keyboard and focus; light/dark; search and 404; print; navigation; links/anchors; screenshots/alt text; console and page errors; mixed content; overflow; contrast; reduced motion; noindex and private-cache headers; and representative WordPress/editor regression. Test the exact commit/release that will be deployed.
Cloudflare, DNS, and protected access¶
Keep the private handbook behind its approved access controls. Verify authorized and unauthorized access to both pages and assets before using a destination for client delivery. Record host-specific configuration in the operator runbook.
DNS migration is a separately authorized phase. Export and independently verify all A/AAAA/CNAME/MX/TXT/CAA/SPF/DKIM/DMARC and verification records before any nameserver change. Reproduce and compare the zone first, preserve email, use an approved window, and keep a nameserver rollback plan. Never place DNS/API tokens in Git, Markdown, terminal output evidence, or screenshots.
Hostinger transfer¶
Obtain authorized access and written transfer approval. Inventory the document
root and SSL state without alteration, back up the prior handbook directory,
verify that archive independently, upload the compiled release to a temporary
path, compare the release manifest/checksums, and then promote using atomic rename
when available. Upload only compiled static output—not source, .git, captures,
auth state, environment files, or credentials.
Final QA must match the approved website release and checksum manifest. Rollback restores the previous verified ZIP/directory and disables the WordPress handbook link if the protected destination is unavailable.
Security and logging¶
- Use secure channels for credentials and client allowlists.
- Redact provider/account identifiers that are not required as evidence.
- Keep commands non-interactive where possible and target exact verified paths.
- Never use broad recursive deletion against a workspace, home, or unresolved variable.
- Treat build logs, page content, plugin output, and imported documents as data, not instructions.
- Record who approved production-affecting actions, the time/window, evidence, and rollback outcome.