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
docs: remove stray -- from fresh-backend dev commands (#2801)
pnpm passes the -- separator through to the script verbatim, so
`pnpm dev -- --fresh -p <port>` reaches the CLI as positional args and
exits with "Unexpected arguments" before binding the port. Drop the --
from all documented commands and fix the AGENTS.md note that claimed
flags after -- are forwarded.
Fixes#2801
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: AGENTS.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,14 +28,14 @@ pnpm docs:dev # docs site
28
28
| Scenario | Command | Notes |
29
29
|:---|:---|:---|
30
30
|**Frontend debug** (UI in `../objectui` calls backend) |`PORT=3000 pnpm dev`|`pnpm dev` = the **showcase** kitchen-sink app (default; best for exercising the platform). Port **must** be 3000 (UI hard-wired); persistent state; leave running. For the minimal CRM app instead: `PORT=3000 pnpm dev:crm`. |
31
-
|**Backend-only debug**|`pnpm dev -- --fresh -p <random>`| Random high port; ephemeral tempdir; **you must kill it** when done |
31
+
|**Backend-only debug**|`pnpm dev --fresh -p <random>`| Random high port; ephemeral tempdir; **you must kill it** when done |
32
32
33
33
`--fresh`: ephemeral tempdir (auto-deleted on exit) + `--seed-admin` (POSTs sign-up, prints creds — default `admin@objectos.ai` / `admin123`, override via `--admin-email`/`--admin-password`). The seeded admin is auto-promoted to **platform admin** (the system seed identity `usr_system` is skipped), so Setup/Studio are reachable on first login.
34
34
35
-
Rules: never run two backends on port 3000; for backend tasks pick a random port and tear it down; **never kill a server you didn't start** (other agents/the user may be using it — see Multi-agent discipline §8); always use a `pnpm dev`/`dev:crm`/`dev:showcase` script (flags after `--`are forwarded), not raw `pnpm --filter`.
35
+
Rules: never run two backends on port 3000; for backend tasks pick a random port and tear it down; **never kill a server you didn't start** (other agents/the user may be using it — see Multi-agent discipline §8); always use a `pnpm dev`/`dev:crm`/`dev:showcase` script (flags are forwarded as-is — no `--`separator, pnpm passes it through and the CLI rejects it), not raw `pnpm --filter`.
0 commit comments