[object Object]

← back to Designer Wallcoverings

auto-save: 2026-07-31T08:55:43 (3 files) — DW-Agents/.gitignore DW-Agents/vendor-command-center/server.js DW-Agents/vendor-command-center/ecosystem.local.config.cjs

03599d6534d5f15e8e28137cc8bb62cf6b7cc2d1 · 2026-07-31 08:56:02 -0700 · Steve Abrams

Files touched

Diff

commit 03599d6534d5f15e8e28137cc8bb62cf6b7cc2d1
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Fri Jul 31 08:56:02 2026 -0700

    auto-save: 2026-07-31T08:55:43 (3 files) — DW-Agents/.gitignore DW-Agents/vendor-command-center/server.js DW-Agents/vendor-command-center/ecosystem.local.config.cjs
---
 DW-Agents/.gitignore                                 |  1 +
 .../vendor-command-center/ecosystem.local.config.cjs | 20 ++++++++++++++++++++
 DW-Agents/vendor-command-center/server.js            |  3 +++
 3 files changed, 24 insertions(+)

diff --git a/DW-Agents/.gitignore b/DW-Agents/.gitignore
index 9fab5ab6..507e500b 100644
--- a/DW-Agents/.gitignore
+++ b/DW-Agents/.gitignore
@@ -51,3 +51,4 @@ temp/
 .pm2/
 .next/
 *.bak
+*.bak-*
diff --git a/DW-Agents/vendor-command-center/ecosystem.local.config.cjs b/DW-Agents/vendor-command-center/ecosystem.local.config.cjs
new file mode 100644
index 00000000..92eec74e
--- /dev/null
+++ b/DW-Agents/vendor-command-center/ecosystem.local.config.cjs
@@ -0,0 +1,20 @@
+// Mac2-LOCAL pm2 config for VCC (Victor, :9660).
+// ecosystem.config.cjs targets the Kamatera instance (/root/DW-Agents/...) — do not merge.
+// Secrets are sourced at runtime by run-local.sh from secrets-manager/.env, so
+// nothing secret lives here; env changes still need `pm2 restart --update-env`
+// or delete+start (pm2 caches env across plain restarts).
+module.exports = {
+  apps: [
+    {
+      name: 'vendor-command-center',
+      script: './run-local.sh',
+      interpreter: '/bin/zsh',
+      cwd: '/Users/macstudio3/Projects/Designer-Wallcoverings/DW-Agents/vendor-command-center',
+      max_memory_restart: '600M',
+      autorestart: true,
+      out_file: '/tmp/vcc-local.log',
+      error_file: '/tmp/vcc-local.err.log',
+      time: true,
+    },
+  ],
+};
diff --git a/DW-Agents/vendor-command-center/server.js b/DW-Agents/vendor-command-center/server.js
index 8bfe2a61..0936de03 100644
--- a/DW-Agents/vendor-command-center/server.js
+++ b/DW-Agents/vendor-command-center/server.js
@@ -177,6 +177,9 @@ app.get('/health', async (req, res) => {
   }
 });
 
+// Fleet-convention liveness probe (auth-gated services must serve unauthenticated /healthz -> 200)
+app.get('/healthz', (req, res) => res.status(200).send('ok'));
+
 // Apply auth to all other routes
 app.use(requireAuth);
 

← e9216bb4 auto-save: 2026-07-31T06:24:28 (2 files) — shopify/collectio  ·  back to Designer Wallcoverings  ·  auto-save: 2026-07-31T09:26:15 (3 files) — DW-Agents/vendor- 11adafb9 →