@mark1russell7/guidebook-preparedness 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,13 +13,13 @@ The core and the plans add-on name no topic. This package is the first topic.
13
13
  | Name | What it is |
14
14
  | --- | --- |
15
15
  | `SOURCES` | The 70 sources. The 63 sources of the steps are 55 pages of US federal agencies in the US public domain, 3 pages of the UK Government under the Open Government Licence v3.0, 3 pages of the Finnish 72 hours guidance and 2 pages of the Swedish civil defence agency. A step is a summary of its sources, not a quote. The 5 sources of the bundles are 4 open wikis and the Stack Exchange network, under CC BY-SA 4.0. The 2 sources of the media rates are reports of Backblaze. |
16
- | `CASE_STEPS` | The steps of the 12 cases and of the 13 more cases |
16
+ | `CASE_STEPS` | The steps of the 12 cases and of the 14 more cases |
17
17
  | `CUT_STEPS` | The steps of the 6 cuts |
18
18
  | `STEPS` | All the steps |
19
19
  | `GAPS` | The marked gaps: each key and phase with no step on purpose, with the reason |
20
- | `RULES` | The 35 trigger rules of the decision chart. Each rule cites its sources and sends the reader to the steps of a key. |
20
+ | `RULES` | The 36 trigger rules of the decision chart. Each rule cites its sources and sends the reader to the steps of a key. |
21
21
  | `CASES` | The codes of the 12 cases |
22
- | `MORE_CASES` | The codes of 13 more cases, with the same gates |
22
+ | `MORE_CASES` | The codes of 14 more cases, with the same gates |
23
23
  | `CUTS` | The ids of the cuts |
24
24
  | `NEEDS` | The need codes that the steps protect |
25
25
  | `TOPICS` | The 40 topics, as a graph of prerequisites |
@@ -50,7 +50,7 @@ The code `health.medical-emergency` is new in the taxonomy. A household starts t
50
50
 
51
51
  An evacuation is a set of steps of the hurricane, the flood and the wildfire, not a case. The power outage and the water outage use the steps of their cuts.
52
52
 
53
- The 9 more cases are `cbrne.hazardous-materials`, `cbrne.radiological`, `civic.ai-collapse`, `health.outbreak.pandemic`, `infra.supply-chain.food`, `infra.power.grid-collapse`, `cyber.infrastructure-attack`, `civic.economy.collapse`, `security.civil-unrest`, `cbrne.nuclear-detonation`, `security.nuclear-war`, `cbrne.emp` and `geo.space-weather.geomagnetic-storm`. The case `civic.ai-collapse` is a collapse that AI causes. It includes a loss of jobs and income, fraud with cloned voices and false images, and attacks on accounts and homes. Its steps go from `ready` to `P5`.
53
+ The 9 more cases are `cbrne.hazardous-materials`, `cbrne.radiological`, `civic.ai-collapse`, `health.outbreak.pandemic`, `infra.supply-chain.food`, `infra.power.grid-collapse`, `cyber.infrastructure-attack`, `civic.economy.collapse`, `security.civil-unrest`, `cbrne.nuclear-detonation`, `security.nuclear-war`, `cbrne.emp`, `geo.space-weather.geomagnetic-storm` and `security.armed-conflict`. The case `civic.ai-collapse` is a collapse that AI causes. It includes a loss of jobs and income, fraud with cloned voices and false images, and attacks on accounts and homes. Its steps go from `ready` to `P5`.
54
54
 
55
55
  The 6 cuts are the services that an event stops:
56
56
 
package/build/index.d.ts CHANGED
@@ -53,7 +53,7 @@ export declare const CASES: readonly ["met.winter.storm", "met.tropical.hurrican
53
53
  * The cases past v1. Their steps have the same gates as the steps of `CASES`.
54
54
  * The code `civic.ai-collapse` is new. The hazard catalog of `stack-hazards` gives its cuts.
55
55
  */
56
- export declare const MORE_CASES: readonly ["cbrne.hazardous-materials", "cbrne.radiological", "civic.ai-collapse", "health.outbreak.pandemic", "infra.supply-chain.food", "infra.power.grid-collapse", "cyber.infrastructure-attack", "civic.economy.collapse", "security.civil-unrest", "cbrne.nuclear-detonation", "security.nuclear-war", "cbrne.emp", "geo.space-weather.geomagnetic-storm"];
56
+ export declare const MORE_CASES: readonly ["cbrne.hazardous-materials", "cbrne.radiological", "civic.ai-collapse", "health.outbreak.pandemic", "infra.supply-chain.food", "infra.power.grid-collapse", "cyber.infrastructure-attack", "civic.economy.collapse", "security.civil-unrest", "cbrne.nuclear-detonation", "security.nuclear-war", "cbrne.emp", "geo.space-weather.geomagnetic-storm", "security.armed-conflict"];
57
57
  /** The cuts of the content. A cut is a service that an event stops. These ids are a proposal until the stack model names them. */
58
58
  export declare const CUTS: readonly ["energy.grid", "water.main", "road.local", "telecom.network", "gas.main", "store.pharmacy"];
59
59
  /** The need codes that the steps protect. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/topics.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBCyClB,qBAAqB;;qBAqdrB,oBAAoB;;qBA8EpB,gBAAgB;;qBC5kBhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCHhB;;qBAyDA,iBAAiB;;qBCvDjB;;;;;;qBAOA;;qBAKA,kBAAkB;;qBCblB,sBAAsB;;qBAkBtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;qBAM3F,sBAAsB;;;;;qBCftB;;;;;qBAmBA;;qBAGA;;qBAGA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/topics.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBCyClB,qBAAqB;;qBAkgBrB,oBAAoB;;qBA8EpB,gBAAgB;;qBCznBhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCHhB;;qBAyDA,iBAAiB;;qBCvDjB;;;;;;qBAOA;;qBAKA,kBAAkB;;qBCblB,sBAAsB;;qBAkBtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;qBAM3F,sBAAsB;;;;;qBCftB;;;;;qBAmBA;;qBAGA;;qBAGA"}
package/build/index.js CHANGED
@@ -2906,6 +2906,271 @@ const CASE_STEPS = [
2906
2906
  ["uk-nrr-2025", "swpc-scales"]
2907
2907
  ],
2908
2908
  ...RECOVERY
2909
+ ]),
2910
+ ...stepsOf("security.armed-conflict", [
2911
+ [
2912
+ "ready",
2913
+ "one-week",
2914
+ "Prepare to manage at home on your own for at least 1 week.",
2915
+ ["se-brochure-en"],
2916
+ [DRINK, FOOD]
2917
+ ],
2918
+ [
2919
+ "ready",
2920
+ "water",
2921
+ "Store at least 3 liters of water for each person for each day, in a dark and cool place.",
2922
+ ["se-brochure-en"],
2923
+ [DRINK]
2924
+ ],
2925
+ [
2926
+ "ready",
2927
+ "medicine",
2928
+ "If you need prescription medicines, keep a supply for 1 month at home.",
2929
+ ["se-brochure-en"],
2930
+ [MEDICINE]
2931
+ ],
2932
+ [
2933
+ "ready",
2934
+ "cash",
2935
+ "Keep some cash at home in different notes, and other ways to pay.",
2936
+ ["se-brochure-en"]
2937
+ ],
2938
+ [
2939
+ "ready",
2940
+ "radio",
2941
+ "Keep a radio that works on batteries, solar power or a hand crank. Keep extra batteries.",
2942
+ ["se-brochure-en"]
2943
+ ],
2944
+ [
2945
+ "ready",
2946
+ "signals",
2947
+ "Learn the warning signals of your area, including the air raid warning and the all clear signal.",
2948
+ ["se-brochure-en"]
2949
+ ],
2950
+ [
2951
+ "ready",
2952
+ "shelters",
2953
+ "Find civil defence shelters or other protective places near your home, school and workplace.",
2954
+ ["se-shelters", "se-brochure-en"]
2955
+ ],
2956
+ [
2957
+ "ready",
2958
+ "first-aid",
2959
+ "Do a course in emergency CPR, and learn how to stop severe bleeding.",
2960
+ ["se-brochure-en"]
2961
+ ],
2962
+ [
2963
+ "warned",
2964
+ "alarm-radio",
2965
+ "At an emergency alarm, go indoors and listen to the official emergency radio station.",
2966
+ ["se-brochure-en"]
2967
+ ],
2968
+ [
2969
+ "warned",
2970
+ "posting",
2971
+ "If you have a wartime posting, go to it immediately. If not, go to work as usual.",
2972
+ ["se-brochure-en"]
2973
+ ],
2974
+ [
2975
+ "warned",
2976
+ "evac-list",
2977
+ "Make a list of the items that you must take if you evacuate quickly.",
2978
+ ["se-brochure-en"]
2979
+ ],
2980
+ [
2981
+ "warned",
2982
+ "special-help",
2983
+ "If a person needs special help, plan their transport to a shelter with family, neighbours or carers.",
2984
+ ["se-brochure-en"]
2985
+ ],
2986
+ [
2987
+ "warned",
2988
+ "pets",
2989
+ "Keep food, water and medicines for your pets for at least 1 week.",
2990
+ ["se-brochure-en"]
2991
+ ],
2992
+ [
2993
+ "P0",
2994
+ "air-raid",
2995
+ "At an air raid warning, take cover at once in the nearest shelter, cellar or other protective place.",
2996
+ ["se-brochure-en"]
2997
+ ],
2998
+ [
2999
+ "P0",
3000
+ "no-windows",
3001
+ "If no shelter is near, stay indoors in a room without windows.",
3002
+ ["se-brochure-en"]
3003
+ ],
3004
+ [
3005
+ "P0",
3006
+ "lie-down",
3007
+ "If you are outside with no time to take cover, lie down on the ground, in a pit or ditch.",
3008
+ ["se-brochure-en"]
3009
+ ],
3010
+ [
3011
+ "P0",
3012
+ "run-hide",
3013
+ "In an armed attack near you, get far away. If you cannot, lock yourself in a room.",
3014
+ ["se-brochure-en"]
3015
+ ],
3016
+ [
3017
+ "P0",
3018
+ "silent",
3019
+ "When you hide, put your phone on silent. Call the emergency number to report what happened.",
3020
+ ["se-brochure-en"]
3021
+ ],
3022
+ [
3023
+ "P0",
3024
+ "no-call",
3025
+ "Do not call a person who is in danger. The call can show where the person hides.",
3026
+ ["se-brochure-en"]
3027
+ ],
3028
+ [
3029
+ "P1",
3030
+ "bleeding",
3031
+ "To stop severe bleeding, push hard on the wound with a cloth. Keep the pressure until paramedics arrive.",
3032
+ ["se-brochure-en"]
3033
+ ],
3034
+ [
3035
+ "P1",
3036
+ "all-clear",
3037
+ "After the all clear signal, help people who are injured or trapped.",
3038
+ ["se-brochure-en"]
3039
+ ],
3040
+ [
3041
+ "P1",
3042
+ "calls",
3043
+ "Call only to ask for help, so that the network does not overload.",
3044
+ ["se-brochure-en"]
3045
+ ],
3046
+ [
3047
+ "P1",
3048
+ "officials",
3049
+ "Obey the instructions of the police, the rescue services and the officials.",
3050
+ ["se-brochure-en"]
3051
+ ],
3052
+ [
3053
+ "P1",
3054
+ "rumours",
3055
+ "Do not spread rumours or information that nobody has verified.",
3056
+ ["se-brochure-en"]
3057
+ ],
3058
+ [
3059
+ "P1",
3060
+ "verify",
3061
+ "Be careful with content that causes a strong reaction. Check serious news with official sources.",
3062
+ ["se-brochure-en"]
3063
+ ],
3064
+ [
3065
+ "P2",
3066
+ "shelter-days",
3067
+ "Be ready to stay in a shelter for a few days. If there is time, take food, warm clothes and toiletries.",
3068
+ ["se-brochure-en"]
3069
+ ],
3070
+ [
3071
+ "P2",
3072
+ "evacuate",
3073
+ "If officials order an evacuation, follow the instructions that they give on the radio.",
3074
+ ["se-brochure-en"]
3075
+ ],
3076
+ [
3077
+ "P2",
3078
+ "evac-bag",
3079
+ "For an evacuation, take food and water for a few days, ID, cash, medicines, warm clothes and a map.",
3080
+ ["se-brochure-en"],
3081
+ [
3082
+ DRINK,
3083
+ FOOD,
3084
+ MEDICINE
3085
+ ]
3086
+ ],
3087
+ [
3088
+ "P2",
3089
+ "cold",
3090
+ "If the power stops in winter, stay together in one room. Hang blankets over the windows.",
3091
+ ["se-brochure-en"]
3092
+ ],
3093
+ [
3094
+ "P2",
3095
+ "heater",
3096
+ "With a gas or paraffin heater, open a window for air. Turn off the heater before you sleep.",
3097
+ ["se-brochure-en"]
3098
+ ],
3099
+ [
3100
+ "P2",
3101
+ "toilet",
3102
+ "If the toilet does not flush, put a plastic bag in the bowl. Cover the waste with sawdust or litter.",
3103
+ ["se-brochure-en"]
3104
+ ],
3105
+ [
3106
+ "P2",
3107
+ "pets-left",
3108
+ "If you must leave a pet at home, leave extra food and water for it.",
3109
+ ["se-brochure-en"]
3110
+ ],
3111
+ [
3112
+ "P3",
3113
+ "share",
3114
+ "Share supplies with your neighbours where you can. In a war, all people must help each other.",
3115
+ ["se-brochure-en"]
3116
+ ],
3117
+ [
3118
+ "P3",
3119
+ "boil",
3120
+ "If you are not sure that water is safe, boil it until it bubbles strongly.",
3121
+ ["se-brochure-en"],
3122
+ [DRINK]
3123
+ ],
3124
+ [
3125
+ "P3",
3126
+ "grow",
3127
+ "Grow food in a garden, on a balcony or on a windowsill. Use the fruits and berries near you.",
3128
+ ["se-brochure-en"],
3129
+ [FOOD]
3130
+ ],
3131
+ [
3132
+ "P3",
3133
+ "worry",
3134
+ "Talk about your worries with family, friends or neighbours. Limit the news that you read.",
3135
+ ["se-brochure-en"]
3136
+ ],
3137
+ [
3138
+ "P3",
3139
+ "children",
3140
+ "Explain the situation to children with only verified information. Be honest when you do not know.",
3141
+ ["se-brochure-en"]
3142
+ ],
3143
+ [
3144
+ "P3",
3145
+ "updates",
3146
+ "Install security updates immediately, and make backups of important information.",
3147
+ ["se-brochure-en"]
3148
+ ],
3149
+ [
3150
+ "P4",
3151
+ "anxiety",
3152
+ "If you have severe anxiety, get help from a health professional.",
3153
+ ["se-brochure-en"]
3154
+ ],
3155
+ [
3156
+ "P4",
3157
+ "help-prepare",
3158
+ "Help other people to prepare. This can give you a sense of purpose.",
3159
+ ["se-brochure-en"]
3160
+ ],
3161
+ [
3162
+ "P4",
3163
+ "volunteer",
3164
+ "Join a voluntary defence organisation, or give blood if you can.",
3165
+ ["se-brochure-en"]
3166
+ ],
3167
+ [
3168
+ "P5",
3169
+ "join-recovery",
3170
+ "Take part in the recovery plans of your community. Recovery can take years.",
3171
+ ["uk-nrr-2025"]
3172
+ ],
3173
+ ...RECOVERY
2909
3174
  ])
2910
3175
  ];
2911
3176
  /** The steps of the cuts. A cut is a service that an event stops. A plan of a case adds the steps of its cuts. */
@@ -3799,6 +4064,19 @@ const RULES = [
3799
4064
  when: "An air raid warning sounds.",
3800
4065
  then: "Take cover at once in the nearest shelter, cellar or room without windows."
3801
4066
  },
4067
+ {
4068
+ id: "reflex.armed-attack",
4069
+ kind: "reflex",
4070
+ rank: 5,
4071
+ on: ["security.armed-conflict"],
4072
+ target: {
4073
+ on: "security.armed-conflict",
4074
+ phases: NOW
4075
+ },
4076
+ sources: ["se-brochure-en"],
4077
+ when: "There is shooting or an armed attack near you.",
4078
+ then: "Get far away. If you cannot, lock yourself in a room, and put your phone on silent."
4079
+ },
3802
4080
  {
3803
4081
  id: "reflex.chemical",
3804
4082
  kind: "reflex",
@@ -4532,7 +4810,8 @@ const MORE_CASES = [
4532
4810
  "cbrne.nuclear-detonation",
4533
4811
  "security.nuclear-war",
4534
4812
  "cbrne.emp",
4535
- "geo.space-weather.geomagnetic-storm"
4813
+ "geo.space-weather.geomagnetic-storm",
4814
+ "security.armed-conflict"
4536
4815
  ];
4537
4816
  /** The cuts of the content. A cut is a service that an event stops. These ids are a proposal until the stack model names them. */
4538
4817
  const CUTS = [