rrt/fixtures/runtime/packed-event-selective-import-overlay-fixture.json

91 lines
2.3 KiB
JSON

{
"format_version": 1,
"fixture_id": "packed-event-selective-import-overlay-fixture",
"source": {
"kind": "captured-runtime",
"description": "Fixture backed by an overlay import document so save-derived packed events execute against captured company context."
},
"state_input_path": "packed-event-selective-import-overlay.json",
"commands": [
{
"kind": "service_trigger_kind",
"trigger_kind": 7
}
],
"expected_summary": {
"calendar": {
"year": 1835,
"month_slot": 1,
"phase_slot": 2,
"tick_slot": 4
},
"calendar_projection_source": "base-snapshot-preserved",
"calendar_projection_is_placeholder": false,
"world_flag_count": 13,
"company_count": 1,
"packed_event_collection_present": true,
"packed_event_record_count": 2,
"packed_event_decoded_record_count": 2,
"packed_event_imported_runtime_record_count": 2,
"packed_event_parity_only_record_count": 1,
"packed_event_unsupported_record_count": 0,
"packed_event_blocked_missing_company_context_count": 0,
"event_runtime_record_count": 3,
"special_condition_count": 1,
"enabled_special_condition_count": 1,
"total_event_record_service_count": 3,
"total_trigger_dispatch_count": 2,
"dirty_rerun_count": 1,
"total_company_cash": 150
},
"expected_state_fragment": {
"world_flags": {
"base.only": true,
"from_packed_root": true
},
"metadata": {
"base.note": "preserve base runtime context",
"save_slice.import_projection": "overlay-runtime-restore-v1"
},
"companies": [
{
"company_id": 42,
"current_cash": 150,
"debt": 10
}
],
"special_conditions": {
"Imported Follow-On": 1
},
"packed_event_collection": {
"live_entry_ids": [7, 9],
"records": [
{
"decode_status": "executable",
"import_outcome": "imported"
},
{
"decode_status": "parity_only",
"import_outcome": "imported"
}
]
},
"event_runtime_records": [
{
"record_id": 7,
"service_count": 1
},
{
"record_id": 9,
"service_count": 1
},
{
"record_id": 99,
"service_count": 1
}
],
"service_state": {
"dirty_rerun_count": 1
}
}
}