Skip to content

Self-improving AI Employees for everyone

docs: finish the port-remap and lazy-daemon audit sweep

trohitgd45b13161633
diff --git a/.github/workflows/predeploy.yml b/.github/workflows/predeploy.yml
index 452d87ad..3c10c49b 100644
--- a/.github/workflows/predeploy.yml
+++ b/.github/workflows/predeploy.yml
@@ -75,7 +75,7 @@ jobs:
pnpm run start &
PID=$!
for i in {1..15}; do
- curl -sf http://localhost:3010/health > /dev/null 2>&1 && break
+ curl -sf http://localhost:5678/health > /dev/null 2>&1 && break
sleep 2
done
kill -0 $PID 2>/dev/null && pnpm run stop || (echo FAILED; exit 1)
diff --git a/CLAUDE.md b/CLAUDE.md
index 39bb593f..197fbcec 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -1832,19 +1832,13 @@ Wave 11: renamed from `routers/whatsapp.py` (was misnamed — never an APIRouter
#### 1. Missing Dependency Injection Wiring
**Problem**: `main.py` was missing `"routers.whatsapp"` in `container.wire()` modules list
**Impact**: Uvicorn reloader child process crashed with exit code 1, triggering SIGTERM
-**Fix**: Added `"routers.whatsapp"` to wiring list in `server/main.py:38`
-```python
-container.wire(modules=[
- "routers.auth",
- "routers.ai",
- "routers.workflow",
- "routers.database",
- "routers.maps",
- "routers.nodejs_compat",
- "routers.whatsapp", # CRITICAL: This was missing
- "routers.android"
-])
-```
+**Fix**: Added `"routers.whatsapp"` to wiring list in `server/main.py`
+
+(Historical snippet — the router set has since changed: `routers.whatsapp` /
+`routers.maps` / `routers.android` moved into plugin folders (Wave 11.I) and
+`routers.nodejs_compat` was deleted (July 2026). The live wire list is in
+`server/main.py`. The lesson stands: every wired module must be listed or the
+reloader child crashes.)
#### 2. Unhandled JSON Parse Errors
**Problem**: `.json()` calls without error handling raised `JSONDecodeError` when Flask returned HTML errors
diff --git a/docs-internal/node-logic-flows/_TEMPLATE.md b/docs-internal/node-logic-flows/_TEMPLATE.md
index 404e7f78..69ebe7a4 100644
--- a/docs-internal/node-logic-flows/_TEMPLATE.md
+++ b/docs-internal/node-logic-flows/_TEMPLATE.md
@@ -85,7 +85,7 @@ flowchart TD
## External Dependencies
- **Credentials**: <provider key looked up via `auth_service.get_api_key('<provider>')`>
-- **Services**: <e.g. WhatsApp RPC at `localhost:9400`, agent-browser CLI>
+- **Services**: <e.g. WhatsApp RPC at `localhost:5681`, agent-browser CLI>
- **Python packages**: <e.g. `httpx`, `xdk`, `apify-client`>
- **Environment variables**: <if any>
diff --git a/docs-internal/node-logic-flows/code_fs_process/javascriptExecutor.md b/docs-internal/node-logic-flows/code_fs_process/javascriptExecutor.md
index 4478d163..b20f7f88 100644
--- a/docs-internal/node-logic-flows/code_fs_process/javascriptExecutor.md
+++ b/docs-internal/node-logic-flows/code_fs_process/javascriptExecutor.md
@@ -13,7 +13,7 @@
Runs user JavaScript through the persistent Node.js executor server (Express +
tsx) that the Python backend spawns on startup. The plugin does **not** spawn
-`node` per call - it POSTs the code to `http://localhost:3020/execute` via the
+`node` per call - it POSTs the code to `http://localhost:5680/execute` via the
shared `get_nodejs_client()` singleton (an async `aiohttp` client). The Node.js
server evaluates the script and returns `{success, output, console_output, ...}`.
@@ -40,7 +40,7 @@ into an `input_data` object, injects the workflow's `workspace_dir`
## Node.js client singleton
`get_nodejs_client()` in [`_nodejs.py`](../../../server/nodes/code/_nodejs.py) lazily
-constructs one `NodeJSClient(base_url="http://localhost:3020", timeout=30)` shared
+constructs one `NodeJSClient(base_url="http://localhost:5680", timeout=30)` shared
across the JS + TS plugins. The defaults are hard-coded in the helper signature
(no per-call kwargs from the plugin).
@@ -91,13 +91,13 @@ flowchart TD
plugin raises `NodeUserError(result["error"] or "JavaScript executor failed")`.
- **Sidecar down**: `aiohttp.ClientConnectorError` is caught and re-raised as a
`NodeUserError` telling the LLM the Node executor is unreachable on
- localhost:3020 and to fall back to `python_executor`.
+ localhost:5680 and to fall back to `python_executor`.
## Side Effects
- **Database writes**: none.
- **Broadcasts**: none from this handler.
-- **External API calls**: `POST http://localhost:3020/execute`
+- **External API calls**: `POST http://localhost:5680/execute`
(configurable via `NODEJS_EXECUTOR_URL`). Body:
`{code, input_data, language: "javascript", timeout}`.
- **File I/O**: none from Python; the Node.js server may read/write user
@@ -110,7 +110,7 @@ flowchart TD
## External Dependencies
- **Credentials**: none.
-- **Services**: Persistent Node.js executor at `http://localhost:3020`.
+- **Services**: Persistent Node.js executor at `http://localhost:5680`.
Must be running - the backend start script boots it alongside uvicorn.
- **Python packages**: `aiohttp`.
- **Environment variables**: `NODEJS_EXECUTOR_URL`,
@@ -123,7 +123,7 @@ flowchart TD
first call at the hard-coded `base_url`/`timeout`. Reset by setting
`services.code._nodejs._client = None` (or `nodes.code._nodejs._client`).
- **Node server down**: connection refused surfaces as
- `error="Cannot connect to host localhost:3020 ssl:default [Connect call
+ `error="Cannot connect to host localhost:5680 ssl:default [Connect call
failed]"` or similar aiohttp message. No automatic retry.
- **`workspace_dir` key collision**: user code cannot read an upstream
`workspace_dir` from `input_data` - the handler always overwrites it.
diff --git a/docs-internal/node-logic-flows/code_fs_process/typescriptExecutor.md b/docs-internal/node-logic-flows/code_fs_process/typescriptExecutor.md
index 79c6c5fb..e03f1dc2 100644
--- a/docs-internal/node-logic-flows/code_fs_process/typescriptExecutor.md
+++ b/docs-internal/node-logic-flows/code_fs_process/typescriptExecutor.md
@@ -40,7 +40,7 @@ by the executor for code-executor node types) and the workflow's
## Node.js client singleton
Shares `get_nodejs_client()` in [`_nodejs.py`](../../../server/nodes/code/_nodejs.py)
-with the JS plugin — one `NodeJSClient(base_url="http://localhost:3020",
+with the JS plugin — one `NodeJSClient(base_url="http://localhost:5680",
timeout=30)` instance, hard-coded defaults.
## Outputs (handles)
@@ -85,7 +85,7 @@ wire-level difference is the POST body's `language` field.
- **Database writes**: none.
- **Broadcasts**: none.
-- **External API calls**: `POST http://localhost:3020/execute` with body
+- **External API calls**: `POST http://localhost:5680/execute` with body
`{code, input_data, language: "typescript", timeout}`.
- **Subprocess**: none directly.
- **Module-level state**: shares the `_nodejs_client` singleton with the JS
@@ -93,7 +93,7 @@ wire-level difference is the POST body's `language` field.
## External Dependencies
-- **Services**: Persistent Node.js executor at `http://localhost:3020`.
+- **Services**: Persistent Node.js executor at `http://localhost:5680`.
The server must have `tsx` available (pinned in `server/nodejs/package.json`).
- **Python packages**: `aiohttp`.
- **Environment variables**: `NODEJS_EXECUTOR_URL`, `NODEJS_EXECUTOR_TIMEOUT`.
diff --git a/docs-internal/node-logic-flows/telegram_social/socialSend.md b/docs-internal/node-logic-flows/telegram_social/socialSend.md
index ee786b82..3d50b607 100644
--- a/docs-internal/node-logic-flows/telegram_social/socialSend.md
+++ b/docs-internal/node-logic-flows/telegram_social/socialSend.md
@@ -144,7 +144,7 @@ flowchart TD
- **External API calls**: delegated to the WhatsApp send handler resolved via
`get_social_send_handler("whatsapp")` (the whatsapp plugin self-registers it
from `nodes/whatsapp/__init__.py`), which hits the WhatsApp RPC service
- (default `http://localhost:9400`).
+ (default `http://localhost:5681`).
- **File I/O**: none from this handler. `mediaSource=file` reads are delegated.
- **Subprocess**: none.
diff --git a/docs-internal/node-logic-flows/whatsapp/whatsappDb.md b/docs-internal/node-logic-flows/whatsapp/whatsappDb.md
index 435cb8b4..f277e80d 100644
--- a/docs-internal/node-logic-flows/whatsapp/whatsappDb.md
+++ b/docs-internal/node-logic-flows/whatsapp/whatsappDb.md
@@ -130,7 +130,7 @@ flowchart TD
## External Dependencies
- **Credentials**: none.
-- **Services**: `whatsapp-rpc` Go service (default `ws://localhost:9400/ws/rpc`).
+- **Services**: `whatsapp-rpc` Go service (default `ws://localhost:5681/ws/rpc`).
- **Python packages**: `asyncio`.
- **Environment variables**: `WHATSAPP_RPC_URL`.
diff --git a/docs-internal/node-logic-flows/whatsapp/whatsappSend.md b/docs-internal/node-logic-flows/whatsapp/whatsappSend.md
index faff3c1e..aae0848a 100644
--- a/docs-internal/node-logic-flows/whatsapp/whatsappSend.md
+++ b/docs-internal/node-logic-flows/whatsapp/whatsappSend.md
@@ -124,16 +124,16 @@ flowchart TD
- **Database writes**: none directly from this handler. (API-usage cost is recorded by the `@Operation` `cost` metadata via `BaseNode.execute()`.)
- **Broadcasts**: none directly - standard node_status transitions come from `BaseNode.execute()`.
-- **External calls**: WebSocket RPC to the Go `whatsapp-rpc` service via [`nodes/whatsapp/_service.py::whatsapp_rpc_call`](../../../server/nodes/whatsapp/_service.py). Default URL `ws://localhost:9400/ws/rpc` (overridable via `WHATSAPP_RPC_URL`). For media URLs, `_service.py` additionally downloads via `httpx`.
+- **External calls**: WebSocket RPC to the Go `whatsapp-rpc` service via [`nodes/whatsapp/_service.py::whatsapp_rpc_call`](../../../server/nodes/whatsapp/_service.py). Default URL `ws://localhost:5681/ws/rpc` (overridable via `WHATSAPP_RPC_URL`). For media URLs, `_service.py` additionally downloads via `httpx`.
- **File I/O**: none in this handler - file uploads are handled in `_service.py`.
- **Subprocess**: none.
## External Dependencies
- **Credentials**: none at the node handler level. Pairing state is owned by the Go service; the handler is credential-free.
-- **Services**: `whatsapp-rpc` (Go) on port 9400 (default). `services.markdown_formatter.to_whatsapp` when `format_markdown` is enabled.
+- **Services**: `whatsapp-rpc` (Go) on port 5681 (default). `services.markdown_formatter.to_whatsapp` when `format_markdown` is enabled.
- **Python packages**: `asyncio`. (`httpx` is used inside `_service.py` for URL media fetches.)
-- **Environment variables**: `WHATSAPP_RPC_URL` (optional, default `ws://localhost:9400/ws/rpc`).
+- **Environment variables**: `WHATSAPP_RPC_URL` (optional, default `ws://localhost:5681/ws/rpc`).
## Edge cases & known limits
diff --git a/docs-internal/node-logic-flows/workflow_triggers/webhookTrigger.md b/docs-internal/node-logic-flows/workflow_triggers/webhookTrigger.md
index f3269271..c584f886 100644
--- a/docs-internal/node-logic-flows/workflow_triggers/webhookTrigger.md
+++ b/docs-internal/node-logic-flows/workflow_triggers/webhookTrigger.md
@@ -29,7 +29,7 @@ via Temporal Signal and spawns a child `MachinaWorkflow` per matching event
| Name | Type | Default | Required | displayOptions.show | Description |
|------|------|---------|----------|---------------------|-------------|
-| `path` | string | `""` | no | - | URL path segment - full URL is `http://host:3010/webhook/{path}`. Must match the incoming request's `path` for the filter to accept it. Empty path = wildcard (matches any). |
+| `path` | string | `""` | no | - | URL path segment - full URL is `http://host:5678/webhook/{path}`. Must match the incoming request's `path` for the filter to accept it. Empty path = wildcard (matches any). |
| `method` | options | `POST` | no | - | Filter for HTTP method at the router layer (not the plugin filter). Values: `GET` / `POST` / `PUT` / `DELETE` / `ALL`. |
| `response_mode` | options | `immediate` | no | - | `immediate` returns 200 OK right away; `responseNode` waits for a downstream `webhookResponse` node (see [`webhookResponse`](./webhookResponse.md)). |
| `authentication` | options | `none` | no | - | `none` or `header`. |
diff --git a/docs-internal/stripe_service.md b/docs-internal/stripe_service.md
index 084c56c3..02302781 100644
--- a/docs-internal/stripe_service.md
+++ b/docs-internal/stripe_service.md
@@ -289,7 +289,7 @@ plus the per-line callback subscription via `ProcessService`'s
| `credential = StripeCredential` | Resolved by the framework before `build_command` is called. |
| `start()` (override) | `await ensure_stripe_cli()` then `super().start()`. Caches the resolved binary path so `build_command` (sync) can pick it up. |
| `build_command(secrets)` | Returns `<shlex.quote'd-binary> listen --forward-to … --print-secret`. The binary path is `shlex.quote`d so it round-trips through `ProcessService`'s POSIX-mode `shlex.split` unchanged. No `--api-key`: CLI reads its own config file. |
-| `has_credential()` (override) | Returns `is_logged_in()` — a filesystem check on `~/.config/stripe/config.toml`. Consulted by `DaemonEventSource.start` (the credential gate) and by `make_status_refresh` on every WS-client connect (auto-reconnect). |
+| `has_credential()` (override) | Returns `is_logged_in()` — a filesystem check on `~/.config/stripe/config.toml`. Consulted by `DaemonEventSource.start` (the credential gate) and by `StripeReceiveNode._check_precondition` at deploy time (the demand-driven start; the status refresh is a passive probe since July 2026). |
| `parse_line(stream, line)` | Invoked once per decoded stdout/stderr line via `ProcessService`'s `line_handler` callback. On `whsec_…` match, persists the secret via `auth_service.store_api_key("stripe_webhook_secret", …)`. The Stripe daemon doesn't emit workflow events itself — they arrive via the webhook receiver. |
### `StripeWebhookSource(WebhookSource)`
@@ -425,8 +425,8 @@ resources work without code changes.
The lifecycle factory `make_lifecycle_handlers(prefix="stripe",
source=…)` auto-generates `stripe_connect/disconnect/reconnect`
-from the source's `start/stop/restart` methods (used internally by
-the auto-reconnect path). The plugin-specific handlers wired into
+from the source's `start/stop/restart` methods (user-initiated
+daemon lifecycle). The plugin-specific handlers wired into
the modal's Connect button are `stripe_login` and `stripe_logout`:
| Type | Handler | Purpose |
@@ -435,7 +435,7 @@ the modal's Connect button are `stripe_login` and `stripe_logout`:
| `stripe_logout` | stops daemon → `stripe logout --all` → `_mark_logged_out()` → `_broadcast_catalogue_updated()` | **Modal Disconnect button** |
| `stripe_status` | returns `{logged_in, running, pid, webhook_secret_captured, connected = running ∧ logged_in}` | Optional read-only poll for diagnostics; the modal flips reactively from the catalogue refetch, not from this handler |
| `stripe_trigger` | passes `["trigger", event]` to `run_cli_command` (after `ensure_stripe_cli`) | Synthetic test event |
-| `stripe_connect/disconnect/reconnect` | `source.start/stop/restart()` from the lifecycle factory | Daemon-only lifecycle; used by the auto-reconnect path on WS-client connect |
+| `stripe_connect/disconnect/reconnect` | `source.start/stop/restart()` from the lifecycle factory | Daemon-only lifecycle, user-initiated |
Background `_complete_login(binary, next_step, pre_mtime)` flow:
@@ -623,16 +623,17 @@ on the TanStack Query client; the catalogue refetches; the modal
sees the new `provider.stored` value and re-renders. **No
stripe-specific code anywhere on the frontend.**
-### 3. `make_status_refresh` (auto-reconnect on WS-client connect)
+### 3. `make_status_refresh` (passive status mirror)
-The plugin still registers `make_status_refresh` so that on every
-WebSocket-client connect:
-
-1. `has_credential()` (= `is_logged_in()`) is consulted. If true and
- the daemon isn't running, `start()` is called — covers the
- "OpenCompany restarted while user was logged in" path.
-2. `source.status()` is mirrored into `broadcaster._status["stripe"]`
- for any consumers that read it directly. (The modal does not.)
+The plugin registers `make_status_refresh` so that on every
+WebSocket-client connect `source.status()` is mirrored into
+`broadcaster._status["stripe"]` for any consumers that read it
+directly. (The modal does not.) Since July 2026 the refresh **never
+starts the daemon** — a stored credential alone is not a reason to
+run `stripe listen`. The demand signals own the starts instead:
+`_complete_login` after a successful login, the user-initiated
+`stripe_connect` command, and `StripeReceiveNode._check_precondition`
+when a workflow with a Stripe trigger deploys.
### Frontend `connected` derivation (single generic line)
@@ -815,7 +816,7 @@ End-to-end smoke (requires Stripe CLI installed and a Stripe account):
Dashboard, click Authorise. Within a few seconds the modal flips
to "Connected" and `stripe_status` broadcasts
`{logged_in: true, running: true, webhook_secret_captured: true}`.
-2. **Daemon auto-start.** After login, confirm:
+2. **Daemon start on login.** After login, confirm:
- `process_service.list_processes("_stripe_global")` shows
`stripe-listen` running.
- Within ~3 s the stderr.log contains `whsec_…`.
diff --git a/docs/diagrams/system-overview.svg b/docs/diagrams/system-overview.svg
index f2708010..3f53835f 100644
--- a/docs/diagrams/system-overview.svg
+++ b/docs/diagrams/system-overview.svg
@@ -32,7 +32,7 @@
<rect class="panel p-cyan" x="230" y="104" width="960" height="110" rx="10"/>
<rect class="box p-cyan" x="500" y="118" width="420" height="82" rx="8"/>
<text class="h2" x="710" y="144" text-anchor="middle">React Flow client</text>
- <text class="sub" x="710" y="163" text-anchor="middle">client/ - Vite dev :3000</text>
+ <text class="sub" x="710" y="163" text-anchor="middle">client/ - Vite dev :5679</text>
<text class="sub" x="710" y="181" text-anchor="middle">React 19 + Tailwind v4 + shadcn/ui + Zustand</text>
<!-- Browser <-> Backend -->
@@ -49,7 +49,7 @@
<!-- ===== Tier: Python backend ===== -->
<text class="tier-label" x="230" y="310">PYTHON BACKEND</text>
<rect class="panel p-purple" x="230" y="318" width="960" height="324" rx="10"/>
- <text class="h1" x="710" y="348" text-anchor="middle">Python backend - FastAPI :3010 (server/)</text>
+ <text class="h1" x="710" y="348" text-anchor="middle">Python backend - FastAPI :5678 (server/)</text>
<rect class="box p-purple" x="250" y="368" width="435" height="70" rx="8"/>
<text class="h2" x="467" y="395" text-anchor="middle">WS + REST dispatch</text>
@@ -81,17 +81,17 @@
<rect class="panel p-orange" x="230" y="726" width="960" height="120" rx="10"/>
<rect class="box p-orange" x="250" y="746" width="215" height="80" rx="8"/>
- <text class="h2" x="357" y="772" text-anchor="middle">Node.js executor :3020</text>
+ <text class="h2" x="357" y="772" text-anchor="middle">Node.js executor :5680</text>
<text class="small" x="357" y="792" text-anchor="middle">Express + tsx</text>
<text class="small" x="357" y="808" text-anchor="middle">JS/TS code nodes</text>
<rect class="box p-orange" x="485" y="746" width="215" height="80" rx="8"/>
- <text class="h2" x="592" y="772" text-anchor="middle">WhatsApp RPC :9400</text>
+ <text class="h2" x="592" y="772" text-anchor="middle">WhatsApp RPC :5681</text>
<text class="small" x="592" y="792" text-anchor="middle">Go whatsmeow binary</text>
<rect class="box p-orange" x="720" y="746" width="215" height="80" rx="8"/>
<text class="h2" x="827" y="772" text-anchor="middle">Temporal server</text>
- <text class="small" x="827" y="792" text-anchor="middle">gRPC :7233 - Web UI :8080</text>
+ <text class="small" x="827" y="792" text-anchor="middle">gRPC :5682 - Web UI :5683</text>
<rect class="box p-orange" x="955" y="746" width="215" height="80" rx="8"/>
<text class="h2" x="1062" y="772" text-anchor="middle">Temporal workers</text>
diff --git a/install.ps1 b/install.ps1
index d56c21e8..7042c362 100644
--- a/install.ps1
+++ b/install.ps1
@@ -209,7 +209,7 @@ function Main {
Write-Host " company start"
Write-Host ""
Write-Host " Open in browser:"
- Write-Host " http://localhost:3000"
+ Write-Host " http://localhost:5678"
Write-Host ""
Write-Host " For development from source, install pnpm:"
Write-Host " npm install -g pnpm"
diff --git a/install.sh b/install.sh
index de462072..a128f6d4 100755
--- a/install.sh
+++ b/install.sh
@@ -315,7 +315,7 @@ main() {
echo " company start"
echo ""
echo " Open in browser:"
- echo " http://localhost:3000"
+ echo " http://localhost:5678"
echo ""
echo " Optional: Enable JS-rendered web scraping:"
echo " playwright install chromium"
diff --git a/package.json b/package.json
index 334ba2c2..b87599eb 100644
--- a/package.json
+++ b/package.json
@@ -73,8 +73,8 @@
"serve": "python -m cli serve",
"start:temporal": "cross-env TEMPORAL_ENABLED=true python -m cli start",
"client:start": "cd client && npm run start",
- "python:start": "cd server && uv run uvicorn main:app --host 127.0.0.1 --port 3010 --log-level warning",
- "python:daemon": "cd server && uv run uvicorn main:app --host 0.0.0.0 --port 3010 --log-level warning",
+ "python:start": "cd server && uv run uvicorn main:app --host 127.0.0.1 --port 5678 --log-level warning",
+ "python:daemon": "cd server && uv run uvicorn main:app --host 0.0.0.0 --port 5678 --log-level warning",
"temporal:start": "temporal api",
"temporal:stop": "temporal stop",
"temporal:status": "temporal status",
diff --git a/server/package.json b/server/package.json
index 1ab8c94b..1e11cdfb 100644
--- a/server/package.json
+++ b/server/package.json
@@ -4,7 +4,7 @@
"version": "0.0.0",
"scripts": {
"start": "python -m uvicorn main:app --host 0.0.0.0 --port ${PORT:-5678}",
- "dev": "python -m uvicorn main:app --host 127.0.0.1 --port ${PORT:-3010} --reload --reload-dir . --reload-exclude \"*.pyc\" --reload-exclude \"__pycache__\" --log-level warning"
+ "dev": "python -m uvicorn main:app --host 127.0.0.1 --port ${PORT:-5678} --reload --reload-dir . --reload-exclude \"*.pyc\" --reload-exclude \"__pycache__\" --log-level warning"
},
"dependencies": {
"@react-three/drei": "^10.7.7",
diff --git a/server/start.sh b/server/start.sh
index aca1152d..46642fcd 100644
--- a/server/start.sh
+++ b/server/start.sh
@@ -5,4 +5,4 @@
cd /app/nodejs && npm start &
# Start Python server (foreground)
-python -m uvicorn main:app --host 0.0.0.0 --port ${PORT:-3010} --log-level warning
+python -m uvicorn main:app --host 0.0.0.0 --port ${PORT:-5678} --log-level warning
diff --git a/server/tests/core_config/test_dev_secret_guard.py b/server/tests/core_config/test_dev_secret_guard.py
index 4c296f74..dbafd8ac 100644
--- a/server/tests/core_config/test_dev_secret_guard.py
+++ b/server/tests/core_config/test_dev_secret_guard.py
@@ -130,7 +130,7 @@ class TestSettingsConstruction:
"cors_origins": ["http://localhost:3001"],
"workflow_db_filename": "workflow.db",
"temporal_enabled": False,
- "temporal_server_address": "localhost:7233",
+ "temporal_server_address": "localhost:5682",
"temporal_namespace": "default",
"temporal_task_queue": "machina-tasks",
"temporal_per_type_dispatch": True,
diff --git a/server/tests/temporal/test_client_readiness.py b/server/tests/temporal/test_client_readiness.py
index c113d897..34977d1c 100644
--- a/server/tests/temporal/test_client_readiness.py
+++ b/server/tests/temporal/test_client_readiness.py
@@ -30,7 +30,7 @@ from services.temporal.client import (
def _make_wrapper(*, attempts: int = 5, delay: float = 0.0, timeout: float = 1.0) -> TemporalClientWrapper:
- w = TemporalClientWrapper("localhost:7233", "default")
+ w = TemporalClientWrapper("localhost:5682", "default")
# Override the MagicMock values the stubbed Settings produced.
w._health_check_attempts = attempts
w._health_check_delay_seconds = delay
diff --git a/server/tests/temporal/test_terminate_sweep.py b/server/tests/temporal/test_terminate_sweep.py
index d9aee405..ee0012c5 100644
--- a/server/tests/temporal/test_terminate_sweep.py
+++ b/server/tests/temporal/test_terminate_sweep.py
@@ -31,7 +31,7 @@ def _agen(items=None, raise_exc=None):
def _make_wrapper(client: MagicMock, *, attempts: int = 4) -> TemporalClientWrapper:
- w = TemporalClientWrapper("localhost:7233", "default")
+ w = TemporalClientWrapper("localhost:5682", "default")
w._client = client
w._sweep_attempts = attempts
w._sweep_backoff_seconds = 0.0