Commit Graph
74 Commits
Author SHA1 Message Date
Hide_D e9d8961386 fix: 턴 실패 사유를 실행 장수의 개인 기록에 남김
개인턴과 수뇌턴 공통 로그 생성 경로에서 generalId를 필수로 전달해 PostgreSQL 영속화 단계의 누락을 막는다. 비교 도구의 소유자 추론을 제거하고 단위, PostgreSQL, Chromium 회귀 검증을 추가한다.
2026-08-20 16:23:40 +00:00
Hide_D 81279e76b5 feat: 응답 가능한 서신과 턴 시간 호환 이관
등용장과 이민족 선택 응답을 turn daemon transaction으로 연결하고 Ref의 통일 이후 상태 전이와 수신자별 메시지 저장 규칙을 보존한다.\n\n유산 턴 시간 변경을 nextTurnTimeBase 기반 결정적 계산으로 바로잡고 API, 엔진, Chromium 회귀를 추가한다.
2026-08-19 18:03:56 +00:00
Hide_D 53eb0f6ff4 fix: NPC 유저 수뇌 자동 임명을 이관
Ref의 분기월 자동 임명 조건과 NPC 군주 소속도 기준, 활동 및 페널티, 유저 수뇌 상한을 반영한다. 비군주 NPC의 레거시 후보 우선순위와 권한 및 chief_set 저장 경로를 회귀 테스트로 고정한다.
2026-08-17 01:21:57 +00:00
Hide_D ddcb0cebeb merge: 최신 main을 NPC 천통 계측 브랜치에 통합 2026-08-15 19:36:56 +00:00
Hide_D 20c04283fb perf(game-engine): 대규모 NPC 천통 시간을 계측
시나리오 2601의 880명·94도시를 DB와 Redis 없이 자동 실행하고 커맨드, 수뇌 여부, 연월별 시간을 JSON으로 기록한다.
2026-08-15 19:36:38 +00:00
Hide_D bf2f18aec9 feat: 장수 계략 명령 전체를 Ref 호환 이관
화계에 묶여 있던 공통 확률·난수·비용·성장 처리를 계략 기반 명령으로 분리한다.

선동·탈취·파괴·화계를 기본 프로필과 계략 분류에 등록하고 Ref 실제 실행, 능력치 상승, 모바일 Chromium 검증을 추가한다.
2026-08-15 19:11:14 +00:00
Hide_D b9e45c6e76 fix(parity): preserve legacy monthly turn ordering 2026-08-15 09:40:14 +00:00
Hide_D f4ee51251f fix: preserve nation and recruit AI boundaries 2026-08-05 15:21:45 +00:00
Hide_D 5d6923f11a fix: align scenario 2400 monthly parity 2026-08-05 13:25:39 +00:00
Hide_D 9771034a6f chore: trace reserved turn definition lookup 2026-08-05 02:20:37 +00:00
Hide_D 5fda95b25a chore: trace reserved turn refresh boundaries 2026-08-05 02:15:33 +00:00
Hide_D bbb6de6971 merge: scenario 2400 long-run parity 2026-08-04 18:19:53 +00:00
Hide_D cef6a90452 fix: align scenario 2400 long-run parity 2026-08-04 18:15:32 +00:00
Hide_D c4c4ee6e0f fix: restore legacy gameplay messages and record details 2026-08-04 13:30:51 +00:00
Hide_D 58b9a230a7 fix: match scenario 2601 monthly seed progression 2026-08-03 18:56:23 +00:00
Hide_D d82e493109 feat: execute MyPage immediate actions in daemon 2026-07-31 01:56:16 +00:00
Hide_D 7d3cb50a5b refactor(logic): replace arbitrary action hooks with typed events 2026-07-30 03:31:31 +00:00
Hide_D 0aaf08e311 fix legacy invalid turn argument logs 2026-07-27 10:28:18 +00:00
Hide_D de510da48e fix scenario 911 assignment troop gather 2026-07-27 09:49:35 +00:00
Hide_D 12ac9c5f4d fix inheritance accounting for unowned generals 2026-07-27 09:16:25 +00:00
Hide_D 1af6bed3b5 fix conquest front refresh scope 2026-07-26 22:49:35 +00:00
Hide_D 789b9c8c8f fix war command differential parity 2026-07-26 22:26:09 +00:00
Hide_D 2a8a579b75 fix active action inheritance accounting 2026-07-26 21:49:40 +00:00
Hide_D e90a0ba339 fix general constraint failure log parity 2026-07-26 21:10:36 +00:00
Hide_D 3d5fff3687 fix command-specific failure log parity 2026-07-26 20:59:19 +00:00
Hide_D 7676a3eee3 fix resource transfer failure log parity 2026-07-26 20:47:07 +00:00
Hide_D 3fb75ccf03 fix general founding and rebellion parity 2026-07-26 17:50:56 +00:00
Hide_D 80a2c9502f fix general status transition parity 2026-07-26 17:12:54 +00:00
Hide_D 935f6ebe97 fix nation symbol legacy boundaries 2026-07-26 13:39:05 +00:00
Hide_D da836c319d fix: match random capital move semantics 2026-07-26 08:17:13 +00:00
Hide_D 875dc610fb fix: preserve best-general rank data parity 2026-07-26 06:03:21 +00:00
Hide_D af00b30bdc merge: add general alternative command parity 2026-07-26 04:32:16 +00:00
Hide_D 18b380aaa6 fix(turn): preserve legacy alternative command execution 2026-07-26 04:31:48 +00:00
Hide_D c2a3b5b797 Implement legacy-compatible survey and unique rewards 2026-07-26 04:17:56 +00:00
Hide_D eb58298195 test: cover nation strategy commands 2026-07-26 01:54:32 +00:00
Hide_D a55c190e4e test: expand nation command differential matrix 2026-07-26 01:28:11 +00:00
Hide_D b26b4d42e9 fix: complete general command success differential coverage 2026-07-26 01:05:30 +00:00
Hide_D 5f390a46b9 feat(engine): migrate monthly pre-update boundary 2026-07-25 21:36:34 +00:00
Hide_D 1fef287b6b fix: align reserved turn commands with legacy 2026-07-25 14:16:59 +00:00
Hide_D a83f7a44e3 fix: guard incomplete general lifespans 2026-07-25 08:57:53 +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 79257e8559 feat: complete legacy general turn compatibility 2026-07-25 08:15:19 +00:00
Hide_D 85f134fd12 feat: preserve legacy nation turn execution 2026-07-25 06:17:32 +00:00
Hide_D 952c0d28c6 feat: add new general actions for border return, gifting, disbanding, founding nations, and fierce training
- Implemented '접경귀환' action for returning to a home city within 3 spaces.
- Added '증여' action for transferring resources between generals with constraints.
- Created '해산' action to disband a faction, resetting generals and cities.
- Developed '건국' action for founding a new nation with specified attributes.
- Introduced '맹훈련' action for training generals, enhancing their stats.
- Added tests for the new actions to ensure functionality and constraints are respected.
2026-02-07 06:10:28 +00:00
Hide_D ded90dfb08 feat: 환경 제약 조건 개선 및 테스트 케이스 수정 2026-02-07 05:31:06 +00:00
Hide_D 568084927c feat: integrate unique lottery system into general actions
- Added `tryApplyUniqueLottery` function to various action definitions to apply unique item rewards based on specific actions.
- Enhanced the `uniqueLottery.ts` module to handle unique item acquisition and logging.
- Created unit tests for the unique lottery feature to ensure proper functionality during general commands.
- Updated action definitions to include unique item acquisition for actions such as training, technology research, and item procurement.
2026-02-04 12:03:47 +00:00
Hide_D f199427ff1 refactor: rename RNG method from nextFloat to nextFloat1 for consistency across the codebase 2026-01-24 13:58:12 +00:00
Hide_D 2ea8e11f50 feat: createNoopDaemonTransport 함수 추가 및 토너먼트 상태 처리 개선, 캘린더 핸들러 반환 타입 수정 2026-01-24 11:36:01 +00:00
Hide_D 01f26edbeb feat: 프론트 상태 핸들러 추가 및 예약 턴 핸들러와 통합 2026-01-24 11:05:12 +00:00