corviduo-dev: log Worldtree v0.25.2 config-as-bind-mount landing (#205)

This commit is contained in:
vh
2026-05-24 20:28:46 -07:00
parent 5528769211
commit 532356fcbe
+16
View File
@@ -177,3 +177,19 @@ script is read-only — safe to run any time.
`:latest` tag-drift bug that architect closed with commit
`8ef3801` (health-gated `:latest` advance in the deploy workflow).
Full thread: althing thread `01KRFZ349NSY8FEQDSM6TNEK7M`.
- **2026-05-25 config-as-bind-mount (Worldtree #205, v0.25.2):**
`/app/config/` is now a bind-mounted host dir
(`${WORLDTREE_CONFIG_DIR:-./config}:/app/config` in compose).
Per-instance edits persist across image upgrades — no more
in-container hacks for things like rate-limit defaults or
per-agent profile overrides. Entrypoint shim runs as root,
chowns + seeds the bind dir from `/app/config-defaults/` on
first boot when empty, then drops privileges via `gosu` to the
worldtree user. Idempotent against pre-existing populated dirs.
Default `per_user_tokens_per_hour` raised image-side from 1M to
1B at the same time. Shipped after a v0.25.1 attempt that wedged
on a uid-mismatch in the cp+chown sequence (host bind dir was
root-owned, container user uid 1000 couldn't write); v0.25.2
fixed via root-then-drop pattern. Full thread:
`01KSEBNJBVPZ29M7PD9FJECYQP`.