From 428479103df3045dcd149ce8b56e203ea86ea89a Mon Sep 17 00:00:00 2001 From: ReBotics AI Date: Sat, 1 Aug 2026 19:13:18 -0600 Subject: [PATCH] Ship docs/features in the production image for platform wiki seed. SaaS containers were seeding welcome only because feature markdown never left the build stage. --- deploy/Dockerfile | 3 +++ docs/CONFIGURATION.md | 1 + 2 files changed, 4 insertions(+) diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 1decc05..ab50330 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -33,6 +33,9 @@ COPY --from=build /app/apps/bridge/package.json apps/bridge/ COPY --from=build /app/packages packages/ COPY --from=build /app/apps/bridge/dist apps/bridge/dist COPY --from=build /app/apps/web/dist /usr/share/nginx/html +# Feature markdown for platform wiki seed (welcome-wiki / ensurePlatformWikiPages). +# Without this, SaaS images seed welcome only and skip godmode-overview etc. +COPY --from=build /app/docs/features /app/docs/features # Platform backup cron runs this from the image (or host-mounted until redeploy). COPY scripts/backup /app/scripts/backup COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index c193cef..857d27e 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -179,6 +179,7 @@ Linked Tasks boards poll GitHub on an interval (last-write-wins with manual Sync | Variable | Default | Description | |----------|---------|-------------| +| `GODMODE_FEATURES_DIR` | `{repo}/docs/features` | Directory of feature markdown used to seed platform wiki pages. Production images must ship `/app/docs/features` (see `deploy/Dockerfile`); override only if mounting docs from the host. | | `GODMODE_PLUGIN_PATH` | empty | Optional advanced override: semicolon-separated plugin roots (Windows). Prefer **Marketplace → Local** or Intelligence `install_plugin`. | | `GITHUB_TOKEN` | empty | Clone private GitHub plugin repos from Marketplace | | `GODMODE_PLUGIN_SCAFFOLD_DIR` | `{repo}/plugins` (local) or tenant workspace `plugins/` (hub) | Override target dir for `scaffold_plugin` |