104 lines
6.8 KiB
JSON
104 lines
6.8 KiB
JSON
{
|
|
"id": "P04-01",
|
|
"title": "同時発生の更新規約",
|
|
"work": "閉店、停電、破壊、退出、課金、シフト交代、00:00決算の順序を明記する。",
|
|
"acceptance": "順序境界で停止中課金、二重決算、予約の孤立がない。",
|
|
"counting_scope": "Existing original P04-01 among30packages/88deliveries; audit is not new deliverable or completion",
|
|
"original_authority": "docs/traceability/original/BASELINE.txt",
|
|
"original_package": {
|
|
"work": "一分更新、00:00決算、時間帯・天候更新、施設稼働判定、客選択の適用順を仕様化。新機能は分離サービスで実装しRuntimeから接続。全体の一括書換えはしない。",
|
|
"acceptance": "同一Tickでの閉店/停電/退出/課金順が決定的。コマンド再送で二重課金・二重生成しない。",
|
|
"depends_on": [
|
|
"P03"
|
|
],
|
|
"decisions": [
|
|
"D05"
|
|
]
|
|
},
|
|
"D05": {
|
|
"id": "D05",
|
|
"title": "同時発生と安全処理",
|
|
"details": "EV/搬送停止、費用時点、日跨ぎ順序の未確定部分。承認済み維持費時点を再確認しない。",
|
|
"needed_at": "更新規約の凍結",
|
|
"independent_work": "原状保持と重複防止、具体的な境界事例を作る。",
|
|
"kind": "implementation_contract"
|
|
},
|
|
"domains": [
|
|
"閉店",
|
|
"停電",
|
|
"破壊",
|
|
"退出",
|
|
"課金",
|
|
"シフト交代",
|
|
"00:00決算"
|
|
],
|
|
"required_outcomes": [
|
|
"All7 domain order rules traced to current source, original and approved changes; original unknown rules explicitly pending.",
|
|
"No charging while legitimately stopped, no double midnight settlement, no orphan reservations proved by applicable exact-version boundary evidence.",
|
|
"Source/config/input/environment applicability checked before reuse. Tests alone do not establish original acceptance.",
|
|
"Required current verification and formal independent review/integration; nativeWindows only conditions individually pending if required."
|
|
],
|
|
"initial_phase": "Bounded current-source and existing-evidence audit only. Product logic/Clock/values are not to be changed in this dispatch. This is preparation within original unit, not formal completion.",
|
|
"input_paths": [
|
|
"docs/plans/original-completion-2026-10-02/execution/p04-01-input-r01/input.json",
|
|
"docs/plans/original-completion-2026-10-02/execution/p04-01-input-r01/historical-audit.json",
|
|
"docs/plans/original-completion-2026-10-02/execution/p04-01-input-r01/historical-source-map.json",
|
|
"docs/plans/original-completion-2026-10-02/execution/p04-01-input-r01/ORDER_CONTRACT_DRAFT.md"
|
|
],
|
|
"current_source_pins": {
|
|
"autoload/simulation_runtime.gd": "d52a995ae715542bbc550f68d35889540658275d12e04ae0b21ac276f5843f39",
|
|
"scripts/facility/facility_service.gd": "ceb4a3e9224587423f273cdb2b56e6843ab176ac1fc4fe79dd498b5ed5c33b77",
|
|
"scripts/economy/economy_service.gd": "95aedd0a0421c93e8fa39f0f76fa890cd0a46905d9a25c88c8b17c4d6d47728e",
|
|
"scripts/guest/guest_service.gd": "56880410e9a00816f9a95d30821982955532de8dd976980934e12016a9f2b21e",
|
|
"scripts/staff/staff_service.gd": "355ad5c3c9f85dc4d4ffc3bc4293e36f81078c403d1662512a735b2c8d815fb3",
|
|
"scripts/mana/mana_network_service.gd": "96f195cf2a28b0966d12cd7c6fab86d13eae97c8342d07d70f52e598fbf49af9"
|
|
},
|
|
"historical_differences": [
|
|
{
|
|
"path": "autoload/simulation_runtime.gd",
|
|
"old_sha256": "2d7e2cea5424585e9aa4302ab66d1fc4dbaefe743ce4328fccc1efa2f19b82e4",
|
|
"current_sha256": "d52a995ae715542bbc550f68d35889540658275d12e04ae0b21ac276f5843f39"
|
|
},
|
|
{
|
|
"path": "scenes/main/main.gd",
|
|
"old_sha256": "a7ae44c680eb9b70a117ddc8c6cbf0ca290b8e8d485eac41b4122698fde2a620",
|
|
"current_sha256": "a3d7d7ddd08a8df1f987806e60accf51792d728cf71c06e6b822f5a31d8ed3e3"
|
|
},
|
|
{
|
|
"path": "scenes/main/world_preview.gd",
|
|
"old_sha256": "3df29be32d3a016d8fb9dc1ee2bd32e2360ac8fad9810293f6be9b58d26046e0",
|
|
"current_sha256": "75d5b0bd23204f5a485540512e44b89e1d2a4596b368f70177a238ba078ff42d"
|
|
},
|
|
{
|
|
"path": "scripts/core/performance_budget.gd",
|
|
"old_sha256": "79d18e8f0dcc3932801cd02ea8a8ba037af02ef57665387cba8dbe3b3e9af917",
|
|
"current_sha256": "0e2278f88d29919a0634fc1b527328a0d0c12d87e2cd612f3eee1526aabdb073"
|
|
},
|
|
{
|
|
"path": "scripts/world/path_service.gd",
|
|
"old_sha256": "2e68653e4898387cb5a76402813a10595bd5ca7d5fb841c7ed8c55af77d7a918",
|
|
"current_sha256": "447135729a1106639a6eee6754af3195c8a8b458ca26980ae91fa39d80dcfbd4"
|
|
},
|
|
{
|
|
"path": "tests/s1/test_path_service.gd",
|
|
"old_sha256": "0f48bb44c27e32f08477b9aed61a0db5c8808219490928f734c3570a07efb251",
|
|
"current_sha256": "17d9fd42b35004376bf96e435f53d6bce41e79258ec7f6daf3ab04ae5d8c3e1d"
|
|
},
|
|
{
|
|
"path": "tests/ui/test_pixel_tower.gd",
|
|
"old_sha256": "93bdbb195f2ceec07dbe052e0d0a3017d84b56f1e8ec46b87be8d98105ec0f88",
|
|
"current_sha256": "f149f4b5507247dadf623e777e90b9bdb81f54324b406a8f55adaf89b649866a"
|
|
}
|
|
],
|
|
"instructions": [
|
|
"Read local input copies and current source; these files are present in this worktree, do not read former external worktree paths. Original artifact paths are provenance only unless root supplies verified raw material.",
|
|
"Write docs/plans/original-completion-2026-10-02/execution/p04-01/order-audit.json and ORDER_AUDIT.md: each domain current functions/phase ordering, original/approved/pending authority, applicable old evidence and concrete missing evidence. Keep known original completion questions and all7domains, no extra countedunits.",
|
|
"D05 stays pending. A01 already approved midnight ownership-based upkeep is not re-asked. Distinguish actual code behavior from approved design. Never invent service completion/cost/EV rules.",
|
|
"Recompute oldmap/current hashes with exact localcopy. Existing7differences may affect boundary paths; analyze simulation_runtime diff using Git and actual called functions. No broad route/performance overhaul.",
|
|
"Create tools/check_p04_order_evidence.py --verify-only: BUILD_OUTPUT_DIR/p04-evidence/index.json required. Verify required7domains, immutable source pins, raw proof hashes and applicability. Missing original requirement evidence, undefined mandatory rule, stale source, unexecuted proof must fail; no selfreported pass or pass based solely testcount. Review may be pending for machine stage but full required original evidence must already exist. Initial audit may honestly remain submitted and machine gate unavailable pending evidence.",
|
|
"No engine/all-regression runs; no package/code/state/policy/cap changes; no tests disabled. Output finite minimal validation plan using known differences and existing applicable proofs.",
|
|
"Finish by submitting actual created files and remaining gaps. Do not mark original unit complete. Root performs necessary validation/OS proof/independent review later."
|
|
],
|
|
"game_source_write_authorized": false
|
|
}
|