Upstream/test
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
..
admin-cli.test.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
bot-run.test.js Early-level build discount (B4) and start stock 1000 (B5) 2026-10-11 22:38:37 +02:00
bot-server-fixes.test.js Phase 3: trade/end-game client, bot simulator, first balance pass 2026-10-11 20:24:41 +02:00
client-alerts.test.js Phase 3: trade/end-game client, bot simulator, first balance pass 2026-10-11 20:24:41 +02:00
client-api.test.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
client-i18n.test.js Phase 3: trade/end-game client, bot simulator, first balance pass 2026-10-11 20:24:41 +02:00
client-mil.test.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
client-social.test.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
client-world.test.js Phase 3: trade/end-game client, bot simulator, first balance pass 2026-10-11 20:24:41 +02:00
client-ws.test.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
endgame-flow.test.js Phase 3: trade/end-game client, bot simulator, first balance pass 2026-10-11 20:24:41 +02:00
endgame-gaps.test.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
endgame-rules.test.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
helpers.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
me-join.test.js Add POST /me/join and a join card: accounts survive a world reset 2026-10-11 22:43:15 +02:00
military-api.test.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
military-expansion.test.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
military-flow.test.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
military-helpers.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
military-moves.test.js Phase 3: trade/end-game client, bot simulator, first balance pass 2026-10-11 20:24:41 +02:00
military-power.test.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
military-rules.test.js Phase 3: trade/end-game client, bot simulator, first balance pass 2026-10-11 20:24:41 +02:00
push-game.test.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
push-helpers.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
push-ws.test.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
report-share-cleanup.test.js Phase 3: trade/end-game client, bot simulator, first balance pass 2026-10-11 20:24:41 +02:00
review-fixes.test.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
social-alliances.test.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
social-diplomacy.test.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
social-messages.test.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
social-rankings.test.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
social-rules.test.js Stage 3-5 server (military, expansion, social), web client for stages 1-2, ops/deploy 2026-10-11 18:32:36 +02:00
spine-core.test.js Early-level build discount (B4) and start stock 1000 (B5) 2026-10-11 22:38:37 +02:00
trade-api.test.js Phase 2: client military/social screens, WebSocket push, trade + endgame, review findings pending 2026-10-11 19:05:03 +02:00
trade-flow.test.js Phase 3: trade/end-game client, bot simulator, first balance pass 2026-10-11 20:24:41 +02:00