Skip to content

[Engine] runtime-owned reset contract 확장#132

Merged
learncold merged 2 commits into
mainfrom
codex/issue-96-runtime-reset-contract
Apr 16, 2026
Merged

[Engine] runtime-owned reset contract 확장#132
learncold merged 2 commits into
mainfrom
codex/issue-96-runtime-reset-contract

Conversation

@learncold
Copy link
Copy Markdown
Owner

@learncold learncold commented Apr 16, 2026

Summary

  • DeterministicRng를 추가하고 EngineRuntimeinitialize()/stop() 경계에서 base seed 기준으로 다시 reseed하도록 정리했습니다.
  • EngineStepContext.derivedSeed를 실제 run/fixed-step 조합에서 파생한 값으로 채워 restart 이후에도 같은 입력이면 같은 seed stream이 재구성되도록 했습니다.
  • runtime 재시작 재현성과 RNG 자체 동작을 검증하는 테스트, 그리고 관련 UML 설명을 보강했습니다.

Related Issue

Area

  • Engine
  • Domain
  • Application
  • Docs
  • Build
  • Analysis
  • Chore

Architecture Check

  • I kept the dependency direction application -> domain -> engine.
  • I did not add Qt UI code to src/domain.
  • I did not add domain or application dependencies to src/engine.
  • I used src/ as the include root.

Verification

  • cmake --preset windows-debug
  • cmake --build --preset build-debug
  • ctest --preset test-debug
  • Not run (reason below)

Qt app 전체 preset 대신, CI와 같은 engine/domain/test 경로를 no-app preset으로 검증했습니다.
cmake --build --preset build-no-app-debug
ctest --preset test-no-app-debug

Risks / Follow-up

@learncold learncold marked this pull request as ready for review April 16, 2026 06:41
@learncold learncold force-pushed the codex/issue-96-runtime-reset-contract branch from 6ea1a52 to 40ffe02 Compare April 16, 2026 06:53
@learncold learncold merged commit 9fa89d7 into main Apr 16, 2026
2 checks passed
@learncold learncold deleted the codex/issue-96-runtime-reset-contract branch April 16, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task-stop/reinitialize 경계의 runtime-owned state reset contract 확장

1 participant