Upstream/server
jvanvik 9104480463 Add POST /me/join and a join card: accounts survive a world reset
Found while resetting the live test world: joinWorld's comment promised POST /worlds/:id/join but no route existed, so after reset-world (accounts kept) nobody could found a POP again. Added POST /me/join (default: first running world; 409 if already joined), a join card on the POP screen, en/nb strings, API.md + openapi. Client no longer polls /movements while it has no operator (that 404ed).

Tested: npm test 209/209 (new test/me-join.test.js incl. response contract), openapi check, npm run e2e (new check: account without a POP sees the join card and founds one). NOT tested: joining a second/other world (only the default-world path in the browser), nb text of the card visually.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q2MJaQ5LXAHzGnTDgceT14
2026-10-11 22:43:15 +02:00
..
commands Add POST /me/join and a join card: accounts survive a world reset 2026-10-11 22:43:15 +02:00
events Phase 3: trade/end-game client, bot simulator, first balance pass 2026-10-11 20:24:41 +02:00
migrations Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
military Fix review findings: proto smuggling, trade-leg recall, escrow cap, static headers, rate limits, rankings DoS 2026-10-11 19:06:51 +02:00
routes Add POST /me/join and a join card: accounts survive a world reset 2026-10-11 22:43:15 +02:00
alliances.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
auth.js Stage 0-2 server spine: db, scheduler, REST, auth, economy, map 2026-10-11 18:07:42 +02:00
clock.js Stage 0-2 server spine: db, scheduler, REST, auth, economy, map 2026-10-11 18:07:42 +02:00
db.js Stage 0-2 server spine: db, scheduler, REST, auth, economy, map 2026-10-11 18:07:42 +02:00
diplomacy.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
endgame.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
endgameQueries.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
errors.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
finalRanking.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
http.js Fix review findings: proto smuggling, trade-leg recall, escrow cap, static headers, rate limits, rankings DoS 2026-10-11 19:06:51 +02:00
index.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
net.js Stage 0-2 server spine: db, scheduler, REST, auth, economy, map 2026-10-11 18:07:42 +02:00
push.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
pushHooks.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
queries.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
scheduler.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
sharedReports.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
socialQueries.js Fix review findings: proto smuggling, trade-leg recall, escrow cap, static headers, rate limits, rankings DoS 2026-10-11 19:06:51 +02:00
state.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
static.js Fix review findings: proto smuggling, trade-leg recall, escrow cap, static headers, rate limits, rankings DoS 2026-10-11 19:06:51 +02:00
text.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
trade.js Fix review findings: proto smuggling, trade-leg recall, escrow cap, static headers, rate limits, rankings DoS 2026-10-11 19:06:51 +02:00
tradeQueries.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
validate.js Fix review findings: proto smuggling, trade-leg recall, escrow cap, static headers, rate limits, rankings DoS 2026-10-11 19:06:51 +02:00
world.js Stage 0-2 server spine: db, scheduler, REST, auth, economy, map 2026-10-11 18:07:42 +02:00