Files
TheTree_mock/docs/plans/original-completion-2026-10-02/execution/p04-01/order-audit.json
T

183 lines
8.1 KiB
JSON

{
"revision": "repair22",
"status": "source preparation; NOT RUN; no final acceptance",
"task_id": "P04-01",
"current_table": true,
"scope": {
"conditions": 15,
"additional_EV_obligation": true,
"domains": 7,
"safety_outcomes": [
"no stopped charging",
"no double midnight settlement",
"no orphan reservations"
],
"packages": 30,
"deliveries": 88,
"original_credit": "13/88 unchanged; P04 receives zero credit",
"CurrentAlphaScope": "unchanged",
"main_9b": "frozen; nothing integrated"
},
"domains": [
{
"domain": "閉店",
"normative_rule": "D-034: direct closure releases waiting requests and continues started service. Approved dependency closure holds progress/payment and preserves reservation/service ID until one completion.",
"current_source": [
"Runtime._advance_facilities",
"Runtime._advance_guest_queues",
"Runtime._release_closed_business_queues",
"FacilityService._prepare_service_for_tick"
],
"evidence": "C dependency/formal and S2a paused-midnight are existing raw candidates. S3 B1 is combined dependency/closure diagnostic only; no power_stop or priority credit.",
"approved_authority": [
"D-034",
"D05-P04-DEPENDENCY"
],
"pending_D05": [
"Strict power-vs-closure/dependency priority remains unknown; B1 does not approve it."
]
},
{
"domain": "停電",
"normative_rule": "BASELINE:183 mana depletion stops facilities. A legitimately power-stopped service must not progress/charge; retain reservation identity and complete once after recovery. This does not approve a simultaneous-cause priority.",
"current_source": [
"Runtime._advance_mana",
"ManaNetworkService.advance_one_minute",
"ManaNetworkService._evaluate_component",
"mana_power_projection.apply",
"FacilityService._prepare_service_for_tick"
],
"evidence": "S1 existing raw covers reserved staff/EV safety, not a paid service. S4 ONLY supplies power_stop; pending Root execution, no raw/credit yet. S3 B1 excluded.",
"approved_authority": [
"BASELINE:183",
"P04-01 safety acceptance"
],
"pending_D05": [
"Strict power-vs-closure priority and unspecified EV/cost ordering remain pending."
]
},
{
"domain": "破壊",
"normative_rule": "No charge while legitimately failed/stopped and no orphan reservation. Distinguish command destruction before facility processing from late INCIDENTS event destruction after completion; observation is not normative priority approval.",
"current_source": [
"Runtime._process_tick_commands",
"Runtime._advance_defense",
"FacilityService._prepare_service_for_tick",
"FacilityService._fail_service"
],
"evidence": "S3 B4a completion then destruction and B4b next-tick failure/release are existing raw candidates; C remains frozen.",
"approved_authority": [
"P04-01 safety acceptance",
"BASELINE:183 (existing fixed registry; no new destruction priority authority)"
],
"pending_D05": [
"Any mandatory destruction-vs-completion priority beyond approved sources requires owner decision; current code alone is not authority."
]
},
{
"domain": "退出",
"normative_rule": "Leave/abandon releases the owned reservation once; no orphan or duplicate charge. Preserve D-034. Completion, queue release and later normal despawn are distinct observations.",
"current_source": [
"Runtime._execute_leave_facility_queue",
"Runtime._leave_guest_queue_boundary",
"Runtime._advance_guest_queues",
"Runtime._advance_guest_ai_decisions"
],
"evidence": "S3 B2a/B2b/B3 raw completion/leave/patience; B1 normal departure history diagnostic. S4 has no departure trigger at outage/hold.",
"approved_authority": [
"D-034",
"P04-01 safety acceptance"
],
"pending_D05": [
"Unspecified simultaneous exit/cost priority remains pending; no inferred priority from labels."
]
},
{
"domain": "課金",
"normative_rule": "No stopped charge; one sale per completed service and idempotent resend. Reservation consumption, actual sale and payment key must join by service ID and original priceSnapshot.",
"current_source": [
"FacilityService._complete_service",
"Runtime._complete_service_transaction",
"Runtime._apply_service_transaction",
"EconomyService.post"
],
"evidence": "C dependency/recovery, S2a paid midnight and resend, S3 diagnostic completions are existing raw. S4 isolated stop/one recovery sale pending Root.",
"approved_authority": [
"P04-01 safety acceptance",
"D05-P04-DEPENDENCY",
"D05-P04-SHIFT-1800"
],
"pending_D05": [
"Other cost timing/attribution is not supplied or approved here."
]
},
{
"domain": "シフト交代",
"normative_rule": "Approved [17:59,18:00) work belongs to day staff: complete/pay once at18:00 then switch; night work starts [18:00,18:01).",
"current_source": [
"Runtime._advance_facilities",
"Runtime._advance_staff_ai",
"StaffService.advance_one_minute",
"Runtime._sync_facility_staffing"
],
"evidence": "C actual-native first1080 sale with dynamic PID/transaction joins; S2b no-night1081 and overtime. Paid-midnight filenames do not substitute for C shift completion.",
"approved_authority": [
"BASELINE:64",
"BASELINE:67",
"D05-P04-SHIFT-1800"
],
"pending_D05": [
"Approved shift interval is not reopened; any additional simultaneous-cause priority remains pending."
]
},
{
"domain": "00:00決算",
"normative_rule": "A01 approved ownership-prorated upkeep at midnight is retained. One daily close/payroll/upkeep, no duplicate replay/reload; distinguish prior [0,1440) accounting and sale at1440.",
"current_source": [
"Runtime._advance_facility_upkeep",
"Runtime._advance_operations_time",
"OperationsCoordinator._process_minute_boundaries",
"OperationsCoordinator._process_daily_close"
],
"evidence": "C paused-midnight/formal and S2a full raw nonzero payroll/upkeep/service/typed restore are existing candidates. S1/S2b/S3 cannot substitute settlement proof; S4 adds none.",
"approved_authority": [
"BASELINE:71",
"BASELINE:72",
"A01",
"D05-P04-DEPENDENCY"
],
"pending_D05": [
"Unspecified cost/day attribution remains pending; do not reopen A01."
]
}
],
"source_facts": "REPAIR22_SOURCE_FACTS.json",
"authority": "D05_OWNER_APPROVAL.json approves dependency and shift only; original BASELINE/D-034/A01 retain their scope",
"historical_superseded": [
"REPAIR17_STATUS.md",
"REPAIR18_STATUS.md",
"REPAIR19_CORRIGENDUM.md",
"REPAIR19_STATUS.md",
"REPAIR20_CORRIGENDUM.md",
"REPAIR20_STATUS.md",
"REPAIR21_STATUS.md"
],
"history_policy": "REPAIR17-21 retained byte-for-byte as historical; this table and REPAIR22_STATUS.md supersede current-status/collection claims.",
"evidence_policy": "Existing complete C/S1/S2a/S2b/S3 raw and full R17 relocated sources are accessible in own B. Old manifest production paths are provenance lookup keys only; never follow them. All current semantic verifiers/tests NOT RUN by worker.",
"pending": [
"S4 four-phase Root collection",
"eight local suites and normal registered validation",
"current checker/QA/source applicability and index/cross-gate binding",
"support53cb rebind through registered task",
"independent review and normal integration",
"nativeWindows obligations individually pending"
],
"priority_candidates_if_required": [
"Approve dependency-first reason when both dependency and power fail, retaining stop/hold/no-charge safety.",
"Approve power-first reason when both fail, with separate approved implementation task if code must change."
],
"collection_plan": "s4/S4_ROOT_RUN.md",
"formal_acceptance": false,
"original_unit_complete": false
}