You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(refiner): stabilize docs, Playwright config, and test adjustments
Minor tweaks to enterprise-release-gates.md, operator-testing.md, README,
playwright.config.ts port/timeout settings, index.ts export alignment,
and test fixture updates for dashboard.spec.ts, index.test.ts, and
register-global.test.ts.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/operator-testing.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ This is the latest known-good baseline at the time this guide was updated:
17
17
| Local test count | 51 test files, 382 tests |
18
18
| Coverage | 100% statements, branches, functions, and lines |
19
19
| Local runtime health |`/api/health` returned `runtime.status: online`|
20
+
| Operator dashboard port |`3000` (`http://127.0.0.1:3000`) |
20
21
| Local semantic provider |`http://localhost:11434`, models `gemma3:12b` and `gemma3`|
21
22
22
23
Treat this table as evidence, not a permanent guarantee. When any product behavior changes, rerun the gate and update this baseline.
@@ -94,6 +95,12 @@ Expected result:
94
95
- Package dry-run passes.
95
96
-`acceptance:package-runtime` installs the packed tarball into a temporary global prefix and serves `/api/health`.
96
97
98
+
Port policy:
99
+
100
+
- Operator dashboard/runtime: fixed to `3000`.
101
+
- Dashboard E2E: fixed to `3999` by default through `PROMPT_REFINER_E2E_PORT` so browser tests do not collide with an operator runtime.
102
+
- Package runtime smoke: intentionally uses an ephemeral random port to avoid CI and local conflicts. The `<port>` printed by that test is not the operator dashboard port and should not be copied into setup instructions.
103
+
97
104
If this command fails, do not bypass it. Fix the failing behavior or document an explicit, reviewed exception in this file and in `docs/enterprise-release-gates.md`.
Package runtime smoke passed: installed universal-refiner-8.0.0 and served /api/health on <port>.
200
208
```
201
209
202
-
This catches missing production dependencies that are hidden by the local workspace.
210
+
This catches missing production dependencies that are hidden by the local workspace. The `<port>` value is intentionally ephemeral for test isolation; the operator dashboard remains fixed at `http://127.0.0.1:3000`.
Copy file name to clipboardExpand all lines: universal-refiner/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,16 @@ model or MCP sampling fallback.
9
9
```powershell
10
10
# From the universal-refiner directory
11
11
npm run build
12
+
$env:PROMPT_REFINER_BACKGROUND = 'true'
13
+
$env:PROMPT_REFINER_DASHBOARD_PORT = '3000'
12
14
node dist/src/index.js
13
15
```
14
16
15
17
The server registers as an MCP stdio transport. Global registration is managed by
16
18
`scripts/operations/register-global.ps1`.
17
19
20
+
The operator dashboard is fixed at `http://127.0.0.1:3000`. Use `PROMPT_REFINER_DASHBOARD_PORT` only when intentionally testing an alternate local port; the generic `PORT` variable remains a compatibility fallback.
21
+
18
22
## Local Model Configuration
19
23
20
24
`refine_prompt` routes semantic refinement through `LocalOpenAiProvider` first (tier-0),
0 commit comments