release 1.2.4: fix unescaped backticks in the compose render heredoc
The unquoted heredoc in render_superbrain_compose turned the comment's backticked 'docker container inspect superbrain' into command substitution; re-rendering while the stack runs injected inspect JSON into the compose file and update.sh's parse guard aborted (2026-11-05, core). Reworded; 1.2.3's /deploy remains defective for updates, use 1.2.4+.
This commit is contained in:
@@ -363,6 +363,15 @@ the Gitea repo secrets `DOCKERHUB_USERNAME`/`DOCKERHUB_TOKEN` are still unset
|
||||
(andrew's account gets 403 on the repo secrets API; an org owner must set
|
||||
them) — until then every release needs a manual Option B push.
|
||||
|
||||
**1.2.3 is defective for updates — use 1.2.4+:** its migrate image's
|
||||
`/deploy/lib-superbrain.sh` carries unescaped backticks inside the unquoted
|
||||
`render_superbrain_compose` heredoc (command substitution). A re-render while
|
||||
the stack is running injects `docker container inspect` JSON into the compose
|
||||
file; update.sh's parse guard aborts (safely, leaving the old compose
|
||||
replaced by the broken render — restore by re-rendering from a fixed lib).
|
||||
Fixed in 1.2.4 by rewording; rule: no backticks or unescaped `$` inside that
|
||||
heredoc, ever.
|
||||
|
||||
### Not applicable
|
||||
|
||||
- `email_superbrain`: since the notification engine (2026-10-26) the app
|
||||
|
||||
Reference in New Issue
Block a user