chore(portless): upgrade local dev URLs

This commit is contained in:
Tommaso Casaburi
2026-04-28 14:25:16 +07:00
parent 8ba1761d07
commit 34b60c7d53
23 changed files with 92 additions and 88 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ model_reasoning_effort = "medium"
sandbox_mode = "read-only"
developer_instructions = """
Verify only the route, user flow, and acceptance criteria the parent agent gives you.
Use playwright-cli against the already-running local app at http://5chan.localhost:1355 unless the parent agent gives a different URL. Never start, restart, or stop the dev server.
Use playwright-cli against the already-running local app at https://5chan.localhost unless the parent agent gives a different URL. Never start, restart, or stop the dev server.
Default to a fresh isolated playwright-cli browser session. If verification depends on auth, cookies, extensions, open tabs, or other existing browser state and the parent agent did not specify session mode, stop and ask whether to use a fresh browser or the contributor's current browser session.
Never attach to a live personal browser session without explicit permission. If current-session reuse is requested, use the supported attach path only when available; otherwise report the limitation instead of silently switching modes.
Run the requested verification flow in all three main browser engines: chrome/Blink, firefox/Gecko, and webkit/Safari. Use separate named playwright-cli sessions per engine unless the parent agent explicitly requires a different attach mode.
+3 -3
View File
@@ -9,7 +9,7 @@ Use this skill to jump from a concrete DOM node in the running 5chan app to the
## Prerequisites
- Dev server running at `http://5chan.localhost:1355`
- Dev server running at `https://5chan.localhost`
- `playwright-cli` installed
- Use the local dev app, not production. The element-source helpers are only exposed in dev mode.
@@ -33,8 +33,8 @@ The result includes:
## Session setup
```bash
playwright-cli -s=inspect open http://5chan.localhost:1355
playwright-cli -s=inspect goto http://5chan.localhost:1355/all
playwright-cli -s=inspect open https://5chan.localhost
playwright-cli -s=inspect goto https://5chan.localhost/all
playwright-cli -s=inspect eval "window.__ELEMENT_SOURCE__?.ready ?? false"
playwright-cli -s=inspect snapshot
```
+2 -2
View File
@@ -9,7 +9,7 @@ Two-layer profiling: browser-level symptoms (Web Vitals, long tasks, scroll jank
## Prerequisites
- Dev server running at http://5chan.localhost:1355 (`yarn start` via Portless)
- Dev server running at https://5chan.localhost (`yarn start` via Portless)
- `playwright-cli` installed (`npm install -g @playwright/cli@latest`)
**IMPORTANT:** The orchestrator (you) is responsible for ensuring exactly ONE dev server is running. Profiler subagents must NEVER start a dev server themselves.
@@ -31,7 +31,7 @@ Before spawning any profiler subagents, verify exactly one dev server is availab
```bash
# Check if the dev server is reachable
curl -sf http://5chan.localhost:1355 -o /dev/null && echo "OK" || echo "NOT RUNNING"
curl -sf https://5chan.localhost -o /dev/null && echo "OK" || echo "NOT RUNNING"
```
- If **OK**: proceed to Step 1.