Commit Graph
67 Commits
Author SHA1 Message Date
Hide_D 81279e76b5 feat: 응답 가능한 서신과 턴 시간 호환 이관
등용장과 이민족 선택 응답을 turn daemon transaction으로 연결하고 Ref의 통일 이후 상태 전이와 수신자별 메시지 저장 규칙을 보존한다.\n\n유산 턴 시간 변경을 nextTurnTimeBase 기반 결정적 계산으로 바로잡고 API, 엔진, Chromium 회귀를 추가한다.
2026-08-19 18:03:56 +00:00
Hide_D 6f2d6f0379 perf: 프로필 DB 풀과 advisory lock 격리
역할별 PostgreSQL pool 상한과 동일 process 공유 pool을 적용하고 health 지표를 노출한다.\n\n게임 기능 advisory lock을 schema namespace로 통일하고 실제 PostgreSQL 통합 하네스를 보강한다.
2026-08-17 17:30:06 +00:00
Hide_D ca6823d409 feat: 실행 중 게임 옵션 변경을 지원
Gateway 관리 화면에서 현재 기수의 장수 생성 제한, 유저 자동턴, 턴 간격을 내구성 action으로 변경한다.

턴 간격 변경은 논리 tick과 현재 게임 시각을 보존하며 DB와 Redis의 tick 기반 시각을 재투영하고 기존 로그 timestamp는 유지한다.
2026-08-17 16:05:07 +00:00
Hide_D 1a77bb3df1 feat: dashboard source coverage를 안전하게 활성화
엔진의 부대·예약턴·집계 변화와 mailbox writer를 저널에 연결하고 dashboard.global 및 인증 아이콘 source를 dependency vector에 포함한다. post-deploy coverage v1 활성화는 shared head seed와 CAS를 한 transaction으로 수행한다.
2026-08-16 18:51:17 +00:00
Hide_D b41b161e9c feat: 엔진 변화 저널을 상태 커밋과 원자화
최종 read model projection과 저장된 로그를 소유 transaction 안에서 판정하고 revision 및 outbox와 함께 커밋한다. clock 전용 변화와 rollback은 revision을 남기지 않으며 커밋 receipt를 유실 없이 큐잉한다.
2026-08-16 18:18:08 +00:00
Hide_D 48d94e5ff2 feat: Ref 호환 접속 제한과 벌점 초기화 구현
실행 중인 프로필에서만 접속 벌점을 누적하고 제한 임계값과 대상 경로를 Ref 순서에 맞춘다. 자기 턴 명령 성공 시 순간 점수를 같은 flush에서 초기화하며 월간 누적 감쇠는 유지한다. 제한 중 메인 자동 갱신과 실시간 구독을 중지하고 수동 갱신 성공 시 복구한다.
2026-08-15 18:49:41 +00:00
Hide_D 9eabf3003a fix(engine): 대규모 턴 저장 완료 시간 확보 2026-08-15 16:37:01 +00:00
Hide_D b9e45c6e76 fix(parity): preserve legacy monthly turn ordering 2026-08-15 09:40:14 +00:00
Hide_D d1efa425eb fix(realtime): invalidate committed global activity logs 2026-08-12 16:45:48 +00:00
Hide_D e81b2da282 refactor(game): invalidate field-level read-model projections 2026-08-09 16:25:52 +00:00
Hide_D a2683df80f refactor(game): refresh committed read models selectively 2026-08-09 15:46:01 +00:00
Hide_D 6eba8e24c3 fix: skip deleted reserved turn queues during flush 2026-08-05 01:21:16 +00:00
Hide_D a26031dc3f feat: add logical game clock 2026-08-04 02:51:27 +00:00
Hide_D 58b9a230a7 fix: match scenario 2601 monthly seed progression 2026-08-03 18:56:23 +00:00
Hide_D 791f6e1395 fix(game): preserve scenario NPC progression 2026-08-02 08:20:42 +00:00
Hide_D 8a17412fcd fix(dynasty): normalize archived nation records 2026-07-31 15:28:04 +00:00
Hide_D 02515303fd feat(engine): finalize unification archives atomically 2026-07-31 14:10:22 +00:00
Hide_D c6a2a0da93 feat: make general creation daemon-atomic 2026-07-31 00:33:03 +00:00
Hide_D 115218ded8 feat: port scenario 903 select-pool flow 2026-07-30 23:27:59 +00:00
Hide_D 89013272e1 feat: migrate legacy long-lived database records 2026-07-27 01:12:00 +00:00
Hide_D 3cd1ad3b7f fix reserved turn queue concurrency 2026-07-26 18:32:52 +00:00
Hide_D 2d6855f7a2 Merge branch 'main' into feature/general-icon-names 2026-07-26 06:07:18 +00:00
Hide_D 875dc610fb fix: preserve best-general rank data parity 2026-07-26 06:03:21 +00:00
Hide_D 7679e8f5b7 Batch rank persistence for large scenario startup 2026-07-26 05:37:40 +00:00
Hide_D 3aa0163755 feat(engine): migrate monthly nation statistics 2026-07-25 21:57:10 +00:00
Hide_D 5f390a46b9 feat(engine): migrate monthly pre-update boundary 2026-07-25 21:36:34 +00:00
Hide_D 6272ff9882 fix: load and persist legacy inheritance ranks 2026-07-25 21:19:24 +00:00
Hide_D 25e67e15ae Implement nation betting lifecycle 2026-07-25 20:16:11 +00:00
Hide_D 7818b52d04 feat: port monthly invader lifecycle 2026-07-25 19:19:31 +00:00
Hide_D a0f7493f1a feat: raise monthly NPC nations 2026-07-25 18:56:34 +00:00
Hide_D 90d195e721 feat(game-engine): implement CreateManyNPC monthly action 2026-07-25 18:15:52 +00:00
Hide_D 41d70a475c Implement monthly nation level updates 2026-07-25 17:19:44 +00:00
Hide_D f8645a4576 feat: migrate monthly city trade rates 2026-07-25 16:16:10 +00:00
Hide_D 1fef287b6b fix: align reserved turn commands with legacy 2026-07-25 14:16:59 +00:00
Hide_D 36d11acdfa merge: add fenced turn runner and differential harness 2026-07-25 12:14:38 +00:00
Hide_D b5633ae11a Merge main into feature/turn-differential-longrun 2026-07-25 12:10:22 +00:00
Hide_D fbfaf8df81 feat: complete user-facing message and account APIs 2026-07-25 11:39:47 +00:00
Hide_D f7311385ce Merge origin/main into frontend parity worktree 2026-07-25 11:16:03 +00:00
Hide_D 06c7197a1a feat: add legacy-compatible neutral auctions 2026-07-25 11:07:37 +00:00
Hide_D 0151055f94 feat: fence periodic turn daemon execution 2026-07-25 09:22:32 +00:00
Hide_D a8869a77c2 Merge branch 'codex/p0-general-turn-lifecycle'
# Conflicts:
#	app/game-engine/src/turn/databaseHooks.ts
#	app/game-engine/src/turn/inMemoryWorld.ts
#	app/game-engine/src/turn/reservedTurnHandler.ts
#	packages/infra/src/turnEngineDb.ts
2026-07-25 08:48:10 +00:00
Hide_D 45ba960474 feat: complete general turn lifecycle 2026-07-25 08:42:57 +00:00
Hide_D 6889c463fd merge: add monthly event pipeline 2026-07-25 08:24:32 +00:00
Hide_D fb1074c5e8 feat: run persisted monthly events 2026-07-25 08:23:59 +00:00
Hide_D 79257e8559 feat: complete legacy general turn compatibility 2026-07-25 08:15:19 +00:00
Hide_D 35935c9eca Refactor equipped items into persistent instances 2026-07-25 06:46:56 +00:00
Hide_D 85f134fd12 feat: preserve legacy nation turn execution 2026-07-25 06:17:32 +00:00
Hide_D 5040691d7c feat: implement input event system with durable command handling
- Introduced InputEvent model with status tracking (PENDING, PROCESSING, SUCCEEDED, FAILED) and unique request IDs.
- Added DatabaseTurnDaemonTransport for sending commands and handling idempotency.
- Implemented executeInputEvent function to manage input event lifecycle and error handling.
- Created DatabaseTurnDaemonCommandQueue for managing command processing and lease recovery.
- Enhanced turn daemon lifecycle to support atomic command execution and error recovery.
- Added tests for input event atomicity, command queuing, and error handling scenarios.
2026-07-25 05:36:34 +00:00
Hide_D d3277f204a feat: add dynasty management features including list and detail views
- Implemented `OldNation`, `OldGeneral`, and `Emperor` models in Prisma schema.
- Created API routes for fetching dynasty lists and details.
- Developed frontend views for displaying dynasty list and detail information.
- Enhanced in-memory world to track deleted nation snapshots during unification.
- Added functionality to settle dynasty information after unification events.
2026-01-29 19:09:17 +00:00
Hide_D 9fff671c2f feat: add ranking and hall of fame features
- Implemented new routes for Best General and Hall of Fame views in the frontend.
- Created BestGeneralView and HallOfFameView components to display rankings based on game data.
- Added new database models for RankData and HallOfFame to store ranking information.
- Introduced ranking types and hall of fame types in common types for better type safety.
- Developed ranking router to handle fetching of best general and hall of fame data.
- Updated database schema with migrations to include new tables for rank data and hall of fame.
- Enhanced the main view with links to the new ranking features.
2026-01-29 18:18:35 +00:00