@mark1russell7/guidebook-preparedness 0.1.2 → 0.1.4
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 +6 -5
- package/build/index.d.ts +4 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1077 -2
- package/build/index.js.map +1 -1
- package/package.json +2 -2
- package/src/data/coverage.ts +6 -0
- package/src/data/gaps.ts +10 -0
- package/src/data/rules.ts +57 -0
- package/src/data/sources.ts +7 -0
- package/src/data/steps.ts +102 -0
- package/src/index.ts +2 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@mark1russell7/guidebook-preparedness",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.4",
|
|
5
5
|
"description": "The preparedness content of the guidebook: cited sources, the steps and marked gaps of 12 cases and 6 cuts, 40 topics in 12 areas, and the catalog of offline bundles.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"guidebook",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@mark1russell7/guidebook": "0.1.1",
|
|
59
59
|
"@mark1russell7/guidebook-library": "0.1.1",
|
|
60
|
-
"@mark1russell7/guidebook-plans": "0.1.
|
|
60
|
+
"@mark1russell7/guidebook-plans": "0.1.2",
|
|
61
61
|
"@mark1russell7/guidebook-topics": "0.1.1"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
package/src/data/coverage.ts
CHANGED
|
@@ -23,6 +23,12 @@ export const OPEN_CELLS: readonly string[] = [
|
|
|
23
23
|
"health.medical-emergency/P2",
|
|
24
24
|
"health.medical-emergency/P3",
|
|
25
25
|
"cbrne.hazardous-materials/P3",
|
|
26
|
+
"infra.supply-chain.food/P0",
|
|
27
|
+
"infra.supply-chain.food/P1",
|
|
28
|
+
"infra.power.grid-collapse/P0",
|
|
29
|
+
"civic.economy.collapse/P0",
|
|
30
|
+
"civic.economy.collapse/P1",
|
|
31
|
+
"security.civil-unrest/P3",
|
|
26
32
|
"energy.grid/P4",
|
|
27
33
|
"energy.grid/P5",
|
|
28
34
|
"water.main/P4",
|
package/src/data/gaps.ts
CHANGED
|
@@ -19,6 +19,16 @@ export const GAPS: readonly Gap[] = [
|
|
|
19
19
|
{ on: "cbrne.hazardous-materials", phase: "P3", why: "The source gives no step past the decontamination and the medical check." },
|
|
20
20
|
{ on: "health.outbreak", phase: "P0", why: "An outbreak grows over days, not minutes. The steps of the warning continue." },
|
|
21
21
|
{ on: "health.outbreak", phase: "P1", why: "An outbreak grows over days, not hours. The steps of the warning continue." },
|
|
22
|
+
{ on: "infra.supply-chain.food", phase: "P0", why: "A food shortage grows over days, not minutes. The steps of the ready phase are the protection." },
|
|
23
|
+
{ on: "infra.supply-chain.food", phase: "P1", why: "A food shortage grows over days, not hours. The steps of the ready phase are the protection." },
|
|
24
|
+
{ on: "infra.power.grid-collapse", phase: "warned", why: OF_GRID },
|
|
25
|
+
{ on: "infra.power.grid-collapse", phase: "P0", why: OF_GRID },
|
|
26
|
+
{ on: "cyber.infrastructure-attack", phase: "warned", why: "A cyberattack comes with no public warning. The steps of the ready phase are the protection." },
|
|
27
|
+
{ on: "civic.economy.collapse", phase: "warned", why: "The sources give no separate step for a warning. The steps of the ready phase apply." },
|
|
28
|
+
{ on: "civic.economy.collapse", phase: "P0", why: "A financial collapse grows over days, not minutes. The steps of the ready phase are the protection." },
|
|
29
|
+
{ on: "civic.economy.collapse", phase: "P1", why: "A financial collapse grows over days, not hours. The steps of the ready phase are the protection." },
|
|
30
|
+
{ on: "security.civil-unrest", phase: "warned", why: "No official household page read gives a step for a warning of unrest." },
|
|
31
|
+
{ on: "security.civil-unrest", phase: "P3", why: "No official household page read gives a step for unrest that continues for weeks." },
|
|
22
32
|
{ on: "energy.grid", phase: "warned", why: "A power cut often comes with no warning. The warning steps of the case and of the network apply." },
|
|
23
33
|
{ on: "energy.grid", phase: "P4", why: NO_LONG_STEP },
|
|
24
34
|
{ on: "energy.grid", phase: "P5", why: NO_LONG_STEP },
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// The trigger rules of the decision chart. Each rule cites the pages that tell its trigger and its action.
|
|
2
|
+
// The places of a household are input data, so the rule of the kind `place` names no place.
|
|
3
|
+
|
|
4
|
+
import type { Rule } from "@mark1russell7/guidebook-plans";
|
|
5
|
+
|
|
6
|
+
const NOW = ["P0"] as const;
|
|
7
|
+
const FIRST_DAYS = ["P0", "P1", "P2", "P3"] as const;
|
|
8
|
+
|
|
9
|
+
/** The trigger rules of the decision chart, by kind and rank. */
|
|
10
|
+
export const RULES: readonly Rule[] = [
|
|
11
|
+
// Where am I?
|
|
12
|
+
{ id: "place.where", kind: "place", rank: 1, on: [], sources: ["ready-shelter", "uk-ready"], when: "You can be at home, at work or at another place of your plan.", then: "Use the plan of the place where you are: its contacts, its shelter room and its meeting place." },
|
|
13
|
+
|
|
14
|
+
// Is there an immediate danger? Each rule goes to the first steps of a case.
|
|
15
|
+
{ id: "reflex.fire", kind: "reflex", rank: 1, on: ["fire.structure"], target: { on: "fire.structure", phases: NOW }, sources: ["ready-fire"], when: "There is smoke or fire in the building.", then: "Get out, stay out and call 911." },
|
|
16
|
+
{ id: "reflex.gas", kind: "reflex", rank: 2, on: ["gas.main"], target: { on: "gas.main", phases: NOW }, sources: ["ready-safety"], when: "You smell gas or hear a hiss.", then: "Open a window, and get all persons out quickly." },
|
|
17
|
+
{ id: "reflex.medical", kind: "reflex", rank: 3, on: ["health.medical-emergency"], target: { on: "health.medical-emergency", phases: NOW }, sources: ["cdc-heart", "cdc-stroke"], when: "A person has the signs of a heart attack or a stroke.", then: "Call 911 immediately." },
|
|
18
|
+
{ id: "reflex.attack", kind: "reflex", rank: 4, on: ["civic.ai-collapse"], target: { on: "civic.ai-collapse", phases: NOW }, sources: ["fi-72h-shelter"], when: "Officials warn of a drone threat or an attack, or a general warning sounds.", then: "Go into the nearest building, and obey the instructions of the officials." },
|
|
19
|
+
{ id: "reflex.radiation", kind: "reflex", rank: 5, on: ["cbrne.radiological"], target: { on: "cbrne.radiological", phases: ["warned", "P0"] }, sources: ["ready-radiation"], when: "Officials warn of a radiation emergency or a nuclear detonation.", then: "Get inside, stay inside and stay tuned." },
|
|
20
|
+
{ id: "reflex.chemical", kind: "reflex", rank: 6, on: ["cbrne.hazardous-materials"], target: { on: "cbrne.hazardous-materials", phases: NOW }, sources: ["ready-hazmat"], when: "Officials warn of a chemical release near you.", then: "Obey the officials: shelter in place, or leave." },
|
|
21
|
+
{ id: "reflex.tornado", kind: "reflex", rank: 7, on: ["met.tornado"], target: { on: "met.tornado", phases: ["warned", "P0"] }, sources: ["ready-tornadoes"], when: "A tornado warning comes.", then: "Go to your safe shelter immediately, away from windows, doors and outside walls." },
|
|
22
|
+
{ id: "reflex.earthquake", kind: "reflex", rank: 8, on: ["geo.earthquake"], target: { on: "geo.earthquake", phases: NOW }, sources: ["ready-earthquakes"], when: "The ground shakes.", then: "Drop to your hands and knees, cover your head and neck, and hold on." },
|
|
23
|
+
{ id: "reflex.flood", kind: "reflex", rank: 9, on: ["met.flood"], target: { on: "met.flood", phases: NOW }, sources: ["ready-floods"], when: "Flood water rises near you.", then: "Go to a safe shelter. Do not walk, swim or drive through flood water." },
|
|
24
|
+
{ id: "reflex.wildfire", kind: "reflex", rank: 10, on: ["fire.wildfire"], target: { on: "fire.wildfire", phases: NOW }, sources: ["ready-wildfires"], when: "Officials tell of a wildfire near you.", then: "Obey the evacuation orders immediately." },
|
|
25
|
+
{ id: "reflex.call", kind: "reflex", rank: 11, on: ["civic.ai-collapse"], target: { on: "civic.ai-collapse", phases: NOW }, sources: ["ftc-voice", "ic3-genai"], when: "A call or a message from family asks for money now.", then: "Hang up. Call the person back at a number that you know." },
|
|
26
|
+
|
|
27
|
+
// What is cut? Each rule goes to the module of a cut.
|
|
28
|
+
{ id: "module.power", kind: "module", rank: 1, on: ["energy.grid"], target: { on: "energy.grid", phases: FIRST_DAYS }, sources: ["ready-power"], when: "There is no power from the grid.", then: "Use the module: no power from the grid." },
|
|
29
|
+
{ id: "module.water", kind: "module", rank: 2, on: ["water.main"], target: { on: "water.main", phases: FIRST_DAYS }, sources: ["ready-water"], when: "There is no safe water from the main.", then: "Use the module: no water from the main." },
|
|
30
|
+
{ id: "module.phone", kind: "module", rank: 3, on: ["telecom.network"], target: { on: "telecom.network", phases: FIRST_DAYS }, sources: ["ready-alerts"], when: "The phone or the internet does not operate.", then: "Use the module: no phone or internet." },
|
|
31
|
+
{ id: "module.gas", kind: "module", rank: 4, on: ["gas.main"], target: { on: "gas.main", phases: FIRST_DAYS }, sources: ["ready-safety"], when: "There is no gas from the main.", then: "Use the module: no gas from the main." },
|
|
32
|
+
{ id: "module.roads", kind: "module", rank: 5, on: ["road.local"], target: { on: "road.local", phases: FIRST_DAYS }, sources: ["ready-evacuation"], when: "The local roads are closed.", then: "Use the module: closed local roads." },
|
|
33
|
+
{ id: "module.pharmacy", kind: "module", rank: 6, on: ["store.pharmacy"], target: { on: "store.pharmacy", phases: ["ready", "warned", "P2", "P3"] }, sources: ["fda-drugs"], when: "The pharmacy is closed.", then: "Use the module: closed pharmacy." },
|
|
34
|
+
{ id: "module.food", kind: "module", rank: 7, on: ["infra.supply-chain.food"], target: { on: "infra.supply-chain.food", phases: FIRST_DAYS }, sources: ["ready-food", "ready-power"], when: "The shops have no food.", then: "Use your stored food, and the plan of a food supply failure." },
|
|
35
|
+
{ id: "module.money", kind: "module", rank: 8, on: ["civic.economy.collapse"], target: { on: "civic.economy.collapse", phases: FIRST_DAYS }, sources: ["ready-financial", "dol-ui"], when: "Cards, banks or your income stop.", then: "Use your cash, and the plan of a financial collapse." },
|
|
36
|
+
|
|
37
|
+
// When do I stay?
|
|
38
|
+
{ id: "stay.order", kind: "stay", rank: 1, on: [], target: { on: "cbrne.radiological", phases: ["warned", "P0"] }, sources: ["ready-shelter", "uk-hazards"], when: "Officials tell you to shelter in place, or to go in, stay in and tune in.", then: "Stay inside. Close the doors, the windows and the vents, and listen to the radio." },
|
|
39
|
+
{ id: "stay.air", kind: "stay", rank: 2, on: [], target: { on: "cbrne.hazardous-materials", phases: ["P1"] }, sources: ["ready-shelter"], when: "The air outside has much debris, or officials say that it is badly contaminated.", then: "Go to an inner room with few windows, and seal it." },
|
|
40
|
+
{ id: "stay.safe", kind: "stay", rank: 3, on: [], target: { on: "energy.grid", phases: FIRST_DAYS }, sources: ["uk-hazards", "ready-shelter"], when: "The officials give no order to leave, and the building has no obvious risk.", then: "Stay where you are, and use your supplies." },
|
|
41
|
+
|
|
42
|
+
// When do I go?
|
|
43
|
+
{ id: "go.order", kind: "go", rank: 1, on: [], target: { on: "met.tropical.hurricane", phases: NOW }, sources: ["uk-hazards", "ready-evacuation"], when: "Officials tell you to leave.", then: "Leave immediately. A delay can put your life at risk." },
|
|
44
|
+
{ id: "go.risk", kind: "go", rank: 2, on: [], target: { on: "fire.structure", phases: NOW }, sources: ["uk-hazards"], when: "The building has an obvious risk: fire, gas or damage.", then: "Get out, and go to a safe place." },
|
|
45
|
+
{ id: "go.early", kind: "go", rank: 3, on: [], target: { on: "met.tropical.hurricane", phases: ["warned"] }, sources: ["ready-evacuation"], when: "A storm comes, and an evacuation seems likely.", then: "Leave early, so that the weather does not trap you." },
|
|
46
|
+
|
|
47
|
+
// When do I go to a fallback place?
|
|
48
|
+
{ id: "fallback.heat-cold", kind: "fallback", rank: 1, on: ["energy.grid"], target: { on: "energy.grid", phases: ["P2"] }, sources: ["ready-power"], when: "There is no power, and the heat or the cold is extreme.", then: "Go to a community place with power. Ask the officials which places are open." },
|
|
49
|
+
{ id: "fallback.home", kind: "fallback", rank: 2, on: [], target: { on: "met.tropical.hurricane", phases: ["ready"] }, sources: ["ready-evacuation", "ready-shelter"], when: "You cannot stay at home or go back to it.", then: "Go to a fallback place of your plan. To find an open shelter, text SHELTER and your ZIP code to 43362." },
|
|
50
|
+
|
|
51
|
+
// When do I change to the long plan?
|
|
52
|
+
{ id: "long.fridge", kind: "long-plan", rank: 1, on: ["energy.grid", "food.energy"], target: { on: "energy.grid", phases: ["P2"] }, sources: ["ready-power", "ready-food"], when: "The power is off for more than 4 hours.", then: "Use the steps of P2. Discard food that was above 40 °F for 2 hours." },
|
|
53
|
+
{ id: "long.medicine", kind: "long-plan", rank: 2, on: ["energy.grid", "health.medicine"], target: { on: "energy.grid", phases: ["P2", "P3"] }, sources: ["ready-power"], when: "The power is off for more than 1 day, and a medicine needs a refrigerator.", then: "Speak to your doctor or pharmacist immediately to get a new supply." },
|
|
54
|
+
{ id: "long.days", kind: "long-plan", rank: 3, on: [], target: { on: "energy.grid", phases: ["P3"] }, sources: ["uk-ready"], when: "A cut continues past 3 days.", then: "Use the steps of P3 of each cut, and of the case." },
|
|
55
|
+
{ id: "long.income", kind: "long-plan", rank: 4, on: ["civic.economy.collapse"], target: { on: "civic.economy.collapse", phases: ["P2", "P3"] }, sources: ["dol-ui"], when: "You lose your job or your income.", then: "File an unemployment claim immediately, and use the plan of a financial collapse." },
|
|
56
|
+
{ id: "long.pandemic", kind: "long-plan", rank: 5, on: ["health.outbreak.pandemic"], target: { on: "health.outbreak.pandemic", phases: ["warned", "P1", "P2"] }, sources: ["ready-pandemic"], when: "Officials say that a pandemic spreads in your community.", then: "Stay at home as much as possible, and use the plan of a pandemic." },
|
|
57
|
+
];
|
package/src/data/sources.ts
CHANGED
|
@@ -52,6 +52,13 @@ export const SOURCES: readonly Source[] = [
|
|
|
52
52
|
{ id: "fi-72h-shelter", title: "Sheltering indoors", url: "https://72tuntia.fi/en/sheltering-indoors/", license: "all-rights-reserved", checked: "2026-11-22", by: "SPEK, 72 hours" },
|
|
53
53
|
{ id: "fi-72h-info", title: "Communication in a disruption and reliable information", url: "https://72tuntia.fi/en/communication-in-a-disruption-and-reliable-information/", license: "all-rights-reserved", checked: "2026-11-22", by: "SPEK, 72 hours" },
|
|
54
54
|
{ id: "fi-72h-cyber", title: "Cybersecurity", url: "https://72tuntia.fi/en/cybersecurity/", license: "all-rights-reserved", checked: "2026-11-22", by: "SPEK, 72 hours" },
|
|
55
|
+
{ ...federal("ready-shelter", "Ready.gov", "Shelter", "https://www.ready.gov/shelter"), checked: "2026-11-22" },
|
|
56
|
+
{ ...federal("ready-food", "Ready.gov", "Food", "https://www.ready.gov/food"), checked: "2026-11-22" },
|
|
57
|
+
{ ...federal("cdc-resp", "CDC", "Preventing Respiratory Illnesses", "https://www.cdc.gov/respiratory-viruses/prevention/index.html"), checked: "2026-11-22" },
|
|
58
|
+
{ ...federal("fdic-insurance", "FDIC", "Understanding Deposit Insurance", "https://www.fdic.gov/resources/deposit-insurance/understanding-deposit-insurance"), checked: "2026-11-22" },
|
|
59
|
+
// The Be Ready pages of the UK Government. The site gives the Open Government Licence v3.0.
|
|
60
|
+
{ id: "uk-hazards", title: "Be informed about hazards", url: "https://beready.campaign.gov.uk/be-informed-about-hazards/", license: "ogl-uk-3.0", checked: "2026-11-22", by: "UK Government, Be Ready" },
|
|
61
|
+
{ id: "uk-ready", title: "Be ready for emergencies", url: "https://beready.campaign.gov.uk/be-ready-for-emergencies/", license: "ogl-uk-3.0", checked: "2026-11-22", by: "UK Government, Be Ready" },
|
|
55
62
|
{ ...federal("snap-apply", "USDA Food and Nutrition Service", "SNAP: Applicant and Participant", "https://www.fns.usda.gov/snap/applicant-recipient"), checked: "2026-11-22" },
|
|
56
63
|
// The data dump of Stack Exchange, Inc. on archive.org gives CC BY-SA 4.0 for all user content of the network.
|
|
57
64
|
// A use shows the network as the source, links each question, and shows and links the name of each author.
|
package/src/data/steps.ts
CHANGED
|
@@ -297,6 +297,108 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
297
297
|
["P5", "rebuild", "When you have income again, put money back in your emergency savings account.", ["ready-financial"]],
|
|
298
298
|
...RECOVERY,
|
|
299
299
|
]),
|
|
300
|
+
// The long cases of G12. Each step tells what the cause changes. The steps of the cuts apply also.
|
|
301
|
+
...stepsOf("health.outbreak.pandemic", [
|
|
302
|
+
["ready", "supplies", "Get supplies for several weeks at home: cleaning supplies, food that keeps, medicines and water.", ["ready-pandemic"], [DRINK, FOOD, MEDICINE]],
|
|
303
|
+
["ready", "slowly", "Buy the supplies slowly, so that each person can buy what they need.", ["ready-pandemic"]],
|
|
304
|
+
["ready", "closures", "Prepare for closed schools and workplaces. Learn how to work and study from home.", ["ready-pandemic"]],
|
|
305
|
+
["ready", "insurance", "Learn what your health insurance covers, also care by telephone or video.", ["ready-pandemic"]],
|
|
306
|
+
["ready", "documents", "Make digital copies of important documents with a password, and keep them in a safe place.", ["ready-pandemic"]],
|
|
307
|
+
["ready", "vaccines", "Get the vaccines that your doctor recommends.", ["ready-pandemic", "cdc-resp"]],
|
|
308
|
+
["warned", "hands", "Wash your hands often with soap and water for at least 20 seconds.", ["ready-pandemic"]],
|
|
309
|
+
["warned", "home", "Stay at home as much as possible.", ["ready-pandemic"]],
|
|
310
|
+
["warned", "mask", "Wear a mask in public places.", ["ready-pandemic"]],
|
|
311
|
+
["warned", "distance", "Keep at least 6 feet from persons who are not of your household.", ["ready-pandemic"]],
|
|
312
|
+
["warned", "surfaces", "Clean and disinfect the surfaces that people touch often.", ["ready-pandemic", "cdc-resp"]],
|
|
313
|
+
["P0", "emergency", "If a person has a medical emergency, call 911. Wear a mask until help arrives.", ["ready-pandemic"]],
|
|
314
|
+
["P1", "exposed", "If you think that you were exposed, call your doctor. Obey the quarantine instructions, and watch your symptoms.", ["ready-pandemic"]],
|
|
315
|
+
["P1", "sick", "If you are sick, stay at home and away from other persons, except to get medical care.", ["ready-pandemic", "cdc-resp"]],
|
|
316
|
+
["P2", "risk", "If you have risk factors for severe illness, get health care quickly. Treatment can lower the risk.", ["cdc-resp"], [MEDICINE]],
|
|
317
|
+
["P2", "true-info", "Share only correct information about the disease. Bad information about treatments can cause harm.", ["ready-pandemic"]],
|
|
318
|
+
["P2", "scams", "Look out for scams and fraud.", ["ready-pandemic"]],
|
|
319
|
+
["P3", "stress", "It is normal to feel anxious. Speak to your friends and family by video and telephone.", ["ready-pandemic"]],
|
|
320
|
+
["P3", "guidance", "Obey the latest guidance of the CDC and of your state and local health departments.", ["ready-pandemic"]],
|
|
321
|
+
["P4", "continue", "Continue the protective actions: stay at home when you are sick, and cover coughs and sneezes.", ["ready-pandemic"]],
|
|
322
|
+
["P5", "plan", "Examine your family emergency plan, and change it.", ["ready-pandemic"]],
|
|
323
|
+
["P5", "lessons", "Speak with your community about the lessons of the pandemic. Use them to prepare for the next one.", ["ready-pandemic"]],
|
|
324
|
+
...RECOVERY,
|
|
325
|
+
]),
|
|
326
|
+
...stepsOf("infra.supply-chain.food", [
|
|
327
|
+
["ready", "store", "Store food that needs no refrigerator and no cooking, for at least 3 days.", ["ready-food", "uk-ready"], [FOOD]],
|
|
328
|
+
["ready", "usual", "Buy food that you usually eat.", ["uk-ready"], [FOOD]],
|
|
329
|
+
["ready", "gradual", "Build up the supply slowly. Add 1 or 2 items at each regular shop.", ["uk-ready"], [FOOD]],
|
|
330
|
+
["ready", "dates", "Each 6 months, examine the dates, and replace the old items.", ["uk-ready"], [FOOD]],
|
|
331
|
+
["ready", "opener", "Keep canned food and a can opener that needs no power.", ["ready-food"], [FOOD]],
|
|
332
|
+
["ready", "household", "Include the needs of your household: baby formula, medical supplies and pet food.", ["uk-ready"], [FOOD, MEDICINE]],
|
|
333
|
+
["ready", "neighbours", "Speak with your neighbours about what you can share in an outage. Exchange contact details.", ["uk-ready"]],
|
|
334
|
+
["warned", "slowly", "Buy supplies slowly, so that each person can buy what they need.", ["ready-pandemic"]],
|
|
335
|
+
["P2", "cans", "Do not eat food from cans that are swollen, dented or corroded.", ["ready-food"], [FOOD]],
|
|
336
|
+
["P2", "smell", "Do not eat food that looks or smells unusual, also when the can looks normal.", ["ready-food"], [FOOD]],
|
|
337
|
+
["P2", "cold-cans", "You can eat canned food from the can with no heat.", ["ready-food"], [FOOD]],
|
|
338
|
+
["P2", "outdoor-stove", "Use camp stoves and charcoal grills only outdoors.", ["ready-food"]],
|
|
339
|
+
["P2", "formula", "Use ready-to-feed baby formula. If you must mix formula, use bottled or boiled water.", ["ready-food"], [FOOD]],
|
|
340
|
+
["P3", "garbage", "Do not let garbage collect inside. It is a risk of fire and of disease.", ["ready-food"]],
|
|
341
|
+
...RECOVERY,
|
|
342
|
+
]),
|
|
343
|
+
...stepsOf("infra.power.grid-collapse", [
|
|
344
|
+
["ready", "cash", "Keep cash in coins and small notes. Card payments and cash machines can stop.", ["uk-ready", "ready-power"]],
|
|
345
|
+
["ready", "warm", "Keep blankets, sleeping bags and warm clothes. A house gets cold quickly with no heat.", ["uk-ready"]],
|
|
346
|
+
["ready", "radio", "Keep an FM radio with batteries or a crank. Write down the frequencies of your news stations.", ["uk-ready"]],
|
|
347
|
+
["ready", "paper", "Write important phone numbers on paper, and keep them in a place that is easy to find.", ["uk-ready"]],
|
|
348
|
+
["ready", "fuel", "Keep the fuel tank of the car at least half full. Gas stations cannot pump with no power.", ["ready-evacuation"]],
|
|
349
|
+
["ready", "visit", "Agree with a person who lives alone that you will visit them when the phones stop.", ["uk-ready"]],
|
|
350
|
+
["P1", "officials", "Ask the local officials which heating and cooling places are open near you.", ["ready-power"]],
|
|
351
|
+
["P2", "pharmacist", "Speak to your doctor or pharmacist immediately to get new refrigerated medicine.", ["ready-power"], [MEDICINE]],
|
|
352
|
+
["P3", "closed", "Plan for closed shops, gas stations, cash machines and banks. Use your cash and stored supplies.", ["ready-power"], [FOOD]],
|
|
353
|
+
...RECOVERY,
|
|
354
|
+
]),
|
|
355
|
+
...stepsOf("cyber.infrastructure-attack", [
|
|
356
|
+
["ready", "updates", "Keep the software of your computers and phones current.", ["ready-cyber"]],
|
|
357
|
+
["ready", "passwords", "Use strong passwords, a password manager and two methods of verification.", ["ready-cyber"]],
|
|
358
|
+
["ready", "backups", "Make backups of your files regularly, on an encrypted device.", ["ready-cyber"]],
|
|
359
|
+
["ready", "cash", "Keep a small amount of cash at home. Cards and cash machines can stop.", ["ready-financial", "uk-ready"]],
|
|
360
|
+
["ready", "radio", "Keep an FM radio with batteries or a crank, for news when the networks stop.", ["uk-ready"]],
|
|
361
|
+
["P0", "disconnect", "If a device does not operate correctly, disconnect it from the internet.", ["ready-cyber"]],
|
|
362
|
+
["P0", "no-click", "Do not click links in messages from persons that you do not know.", ["ready-cyber"]],
|
|
363
|
+
["P1", "passwords-now", "If you see strange activity on an account, change all your internet passwords immediately.", ["ready-cyber"]],
|
|
364
|
+
["P1", "tell", "Tell your work, your school and the other system owners what happened.", ["ready-cyber"]],
|
|
365
|
+
["P1", "official", "Get your information from official sources: local officials, government agencies and emergency services.", ["uk-hazards"]],
|
|
366
|
+
["P2", "scan", "Do a security scan of each device. If you find a problem, do a full system restore.", ["ready-cyber"]],
|
|
367
|
+
["P2", "owe", "Do not trust a call or a text that says you owe money to the government.", ["ready-cyber"]],
|
|
368
|
+
["P3", "charges", "Examine your card and bank statements for charges that you do not know.", ["ready-cyber"]],
|
|
369
|
+
["P3", "credit", "Examine your credit reports for accounts or loans that you did not open.", ["ready-cyber"]],
|
|
370
|
+
...RECOVERY,
|
|
371
|
+
]),
|
|
372
|
+
...stepsOf("civic.economy.collapse", [
|
|
373
|
+
["ready", "insured", "Keep your deposits in a bank that the FDIC insures. Use the FDIC BankFind tool to check.", ["fdic-insurance"]],
|
|
374
|
+
["ready", "limit", "Learn the limit of deposit insurance: $250,000 for each depositor, bank and ownership category.", ["fdic-insurance"]],
|
|
375
|
+
["ready", "not-covered", "Deposit insurance does not cover investments, also investments that you buy at an insured bank.", ["fdic-insurance"]],
|
|
376
|
+
["ready", "cash", "Keep a small amount of cash in small bills at home. Cards and cash machines can stop.", ["ready-financial"]],
|
|
377
|
+
["ready", "savings", "Put money in an emergency savings account that you can use in any crisis.", ["ready-financial"]],
|
|
378
|
+
["ready", "records", "Keep copies of your identity, insurance, income and medical records in a safe place.", ["ready-financial"]],
|
|
379
|
+
["P2", "claim", "If you lose your job, file a claim with the unemployment program of your state immediately.", ["dol-ui"]],
|
|
380
|
+
["P2", "loan", "If you cannot pay a loan on time, speak to your bank before you miss a payment.", ["ready-financial"]],
|
|
381
|
+
["P2", "offers", "Do not trust calls that offer work from home, debt consolidation or student loan plans.", ["ready-cyber"]],
|
|
382
|
+
["P3", "first-payment", "The first unemployment payment usually comes 2 to 3 weeks after the claim. Plan your cash for that time.", ["dol-ui"]],
|
|
383
|
+
["P3", "benefits", "Apply for government unemployment, health care and food benefits to add to your income.", ["ready-financial"], [FOOD, MEDICINE]],
|
|
384
|
+
["P3", "snap", "To get SNAP food benefits, speak to your local SNAP office.", ["snap-apply"], [FOOD]],
|
|
385
|
+
["P4", "direct-deposit", "Get your benefits by direct deposit, so that a stop of the mail does not stop them.", ["ready-financial"]],
|
|
386
|
+
["P5", "rebuild", "When you have income again, put money back in your emergency savings account.", ["ready-financial"]],
|
|
387
|
+
...RECOVERY,
|
|
388
|
+
]),
|
|
389
|
+
...stepsOf("security.civil-unrest", [
|
|
390
|
+
["ready", "meeting", "Agree on a meeting place with your family, for when you cannot go home or call.", ["uk-ready"]],
|
|
391
|
+
["ready", "paper", "Write important phone numbers on paper, and keep them in a place that is easy to find.", ["uk-ready"]],
|
|
392
|
+
["ready", "places", "Choose several places to go in different directions, for example the home of a friend.", ["ready-evacuation"]],
|
|
393
|
+
["P0", "danger", "If a person is in immediate danger, call the emergency number: 911 in the US.", ["uk-hazards"]],
|
|
394
|
+
["P0", "away", "Do not go near the place of an emergency. It puts you in danger and stops the emergency services.", ["uk-hazards"]],
|
|
395
|
+
["P0", "go-in", "Go in, stay in and tune in to the local radio, unless the building has an obvious risk.", ["uk-hazards"]],
|
|
396
|
+
["P0", "lock", "Lock the doors, and close the windows.", ["ready-shelter"]],
|
|
397
|
+
["P1", "official", "Get information from official sources. Information on the internet can be wrong.", ["uk-hazards"]],
|
|
398
|
+
["P1", "leave", "If the officials tell you to leave, do not wait. A delay can put your life at risk.", ["uk-hazards"]],
|
|
399
|
+
["P2", "neighbours", "If it is safe, check on your neighbours, and give them the important information.", ["uk-hazards"]],
|
|
400
|
+
...RECOVERY,
|
|
401
|
+
]),
|
|
300
402
|
];
|
|
301
403
|
|
|
302
404
|
/** 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. */
|
package/src/index.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { CHECKED, SOURCES } from "./data/sources.ts";
|
|
|
5
5
|
export { CASE_STEPS, CUT_STEPS, STEPS } from "./data/steps.ts";
|
|
6
6
|
export { GAPS } from "./data/gaps.ts";
|
|
7
7
|
export { OPEN_CELLS } from "./data/coverage.ts";
|
|
8
|
+
export { RULES } from "./data/rules.ts";
|
|
8
9
|
export { AREAS, TOPICS } from "./data/topics.ts";
|
|
9
10
|
export { BUNDLES, BUNDLES_CHECKED, BUNDLE_LEVELS } from "./data/bundles.ts";
|
|
10
11
|
export { MEDIA_UNITS, MEDIUM_GAPS, MEDIUM_LOSSES } from "./data/media.ts";
|
|
@@ -32,7 +33,7 @@ export const CASES = [
|
|
|
32
33
|
* The cases past v1. Their steps have the same gates as the steps of `CASES`.
|
|
33
34
|
* The code `civic.ai-collapse` is new. The hazard catalog of `stack-hazards` gives its cuts.
|
|
34
35
|
*/
|
|
35
|
-
export const MORE_CASES = ["cbrne.hazardous-materials", "cbrne.radiological", "civic.ai-collapse"] as const;
|
|
36
|
+
export const MORE_CASES = ["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"] as const;
|
|
36
37
|
|
|
37
38
|
/** 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. */
|
|
38
39
|
export const CUTS = ["energy.grid", "water.main", "road.local", "telecom.network", "gas.main", "store.pharmacy"] as const;
|