Follow the house shell conventions

Constants UPPER_SNAKE, mutable locals PascalCase, braced expansions
throughout, per Development/Coding conventions in the vault.
This commit is contained in:
fisher
2026-08-23 08:57:15 +00:00
parent 952de1ea8e
commit fc40facfc5
6 changed files with 131 additions and 108 deletions
+6
View File
@@ -55,3 +55,9 @@ Short notes on things that were not obvious. Prune stale ones.
holding `DD_ROLLBACK_IMAGE`, `DD_ROLLBACK_REVISION`, `DD_ROLLBACK_CAPTURED_AT`.
`cd-deploy` writes the same format in the same place, so an operator following
the manual note can recover from an automated deploy.
- **Shell naming follows the vault's `Development/Coding conventions`:**
constants `UPPER_SNAKE`, mutable locals `PascalCase`, every expansion braced
(`"${Name}"`). When bulk-renaming with a regex, exclude comments and message
strings — an earlier pass turned "cd-status" into "cd-Status" and
"revision label" into "Revision label" inside user-facing text.