Skip to content

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

@SilverSupplier

Description

@SilverSupplier

Summary

현재 EngineRuntime::stop()EcsCoreCommandBuffer를 비우고 lifecycle state를 초기화하는 최소 reset 동작을 이미 수행한다. 이 작업은 이후 ResourceStore, DeterministicRng, TriggerPolicy::Interval cadence 상태가 실제 runtime-owned state로 도입된 뒤, stop/reinitialize 경계에서 그 상태들까지 일관되게 reset하는 후속 정리 작업으로 둔다.

Parent Issue

#1

Area

Engine

Target Sprint

Later

Why Needed

반복 실행과 재현성 기준은 engine foundation에서 중요하지만, 아직 reset 대상이 될 runtime-owned state 일부(#21, #22, #95)가 구현되지 않았다. 현 시점에 없는 구조까지 묶어서 고정하면 scope가 과해지므로, 선행 상태 도입 이후 reset coverage를 확정하는 편이 적절하다.

Scope

Out of Scope

  • 현재 이미 구현된 EcsCore / CommandBuffer 초기화 자체의 재구현
  • domain scenario 재구성 로직
  • application UI의 stop/reset workflow

Core Design Criteria

  • reset 범위는 engine-owned state에 한정한다.
  • lifecycle 경계에서 이전 run의 숨은 상태가 남지 않아야 한다.
  • 동일 입력이면 restart 이후에도 같은 결과를 재현할 수 있어야 한다.

Acceptance Criteria

Related Docs

  • docs/architecture/프로젝트 구조.md
  • uml/engine-overview.puml
  • uml/engine-runtime-core.puml

Dependencies / Blockers

Repository Checks

  • I checked for an existing related issue or epic before creating or updating this task.
  • I will keep the issue title aligned with the repository naming convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions