The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
fix: remove stale port 5173 references from board mutation guard
Dotta633885b57af9
diff --git a/AGENTS.md b/AGENTS.mdindex fcdb37ed53..e4b5b51454 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -40,7 +40,7 @@ pnpm devThis starts:- API: `http://localhost:3100`-- UI: `http://localhost:5173`+- UI: `http://localhost:3100` (served by API server in dev middleware mode)Quick checks:@@ -140,4 +140,3 @@ A change is done when all are true:2. Typecheck, tests, and build pass3. Contracts are synced across db/shared/server/ui4. Docs updated when behavior or commands change-diff --git a/README.md b/README.mdindex d4be3aaeef..b527ad1ff0 100644--- a/README.md+++ b/README.md@@ -218,7 +218,6 @@ By default, agents run on scheduled heartbeats and event-based triggers (task as```bashpnpm dev # Full dev (API + UI)pnpm dev:server # Server only-pnpm dev:ui # UI onlypnpm build # Build allpnpm typecheck # Type checkingpnpm test:run # Run testsdiff --git a/server/src/__tests__/board-mutation-guard.test.ts b/server/src/__tests__/board-mutation-guard.test.tsindex 1ef1d4952a..626f8717dc 100644--- a/server/src/__tests__/board-mutation-guard.test.ts+++ b/server/src/__tests__/board-mutation-guard.test.ts@@ -46,7 +46,7 @@ describe("boardMutationGuard", () => {const app = createApp("board");const res = await request(app).post("/mutate")- .set("Origin", "http://localhost:5173")+ .set("Origin", "http://localhost:3100").send({ ok: true });expect(res.status).toBe(204);});@@ -55,7 +55,7 @@ describe("boardMutationGuard", () => {const app = createApp("board");const res = await request(app).post("/mutate")- .set("Referer", "http://localhost:5173/issues/abc")+ .set("Referer", "http://localhost:3100/issues/abc").send({ ok: true });expect(res.status).toBe(204);});diff --git a/server/src/middleware/board-mutation-guard.ts b/server/src/middleware/board-mutation-guard.tsindex e77cb8d443..031fdfe326 100644--- a/server/src/middleware/board-mutation-guard.ts+++ b/server/src/middleware/board-mutation-guard.ts@@ -2,8 +2,6 @@ import type { Request, RequestHandler } from "express";const SAFE_METHODS = new Set(["GET", "HEAD", "OPTIONS"]);const DEFAULT_DEV_ORIGINS = [- "http://localhost:5173",- "http://127.0.0.1:5173","http://localhost:3100","http://127.0.0.1:3100",];