@mark1russell7/guidebook-preparedness 0.3.1 → 0.4.0

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/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.3.1",
4
+ "version": "0.4.0",
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",
package/src/data/chart.ts CHANGED
@@ -9,8 +9,9 @@ const ALL: readonly Phase[] = ["ready", "warned", "P0", "P1", "P2", "P3", "P4",
9
9
  /**
10
10
  * The tabs of the printed plan, in the sequence of the binder. Each tab is for one need or one subject.
11
11
  * Each state of society is a section in each tab. The page budgets come from the print.
12
+ * The long-term tab has the steps of the cuts by need, not the steps of each case.
12
13
  */
13
- export function tabsOf(cases: readonly string[]): readonly Tab[] {
14
+ export function tabsOf(cases: readonly string[], cuts: readonly string[]): readonly Tab[] {
14
15
  return [
15
16
  { id: "start", title: "Start: the master chart", keys: [], phases: [], pages: 2 },
16
17
  { id: "first-72h", title: "The first 72 hours", keys: cases, phases: ["P0", "P1", "P2"], pages: 4 },
@@ -21,8 +22,8 @@ export function tabsOf(cases: readonly string[]): readonly Tab[] {
21
22
  { id: "health", title: "Health and medicine", keys: ["care.local", "health.medicine", "health.medical-emergency"], phases: ALL, pages: 8 },
22
23
  { id: "food", title: "Food", keys: ["food.retail", "food.energy"], phases: ALL, pages: 6 },
23
24
  { id: "security", title: "The safety of the people", keys: ["security.civil-unrest", "security.armed-conflict"], phases: ALL, pages: 6 },
24
- { id: "group", title: "Contact, the group and trade", keys: ["phone.network", "network.access", "cash.retail"], phases: ALL, pages: 6 },
25
- { id: "long-term", title: "The long term: 5 weeks to 5 years", keys: cases, phases: ["P3", "P4", "P5"], pages: 10 },
25
+ { id: "group", title: "Contact, the group and trade", keys: ["phone.network", "network.access", "cash.retail", "society.services"], phases: ALL, pages: 6 },
26
+ { id: "long-term", title: "The long term: 5 weeks to 5 years", keys: cuts, phases: ["P3", "P4", "P5"], pages: 10 },
26
27
  { id: "hazards", title: "The hazards, case by case", keys: cases, phases: ALL, pages: 24 },
27
28
  { id: "appendices", title: "The appendices", keys: [], phases: [], pages: 40 },
28
29
  ];
@@ -52,7 +53,7 @@ export const MASTER: readonly ChartNode[] = [
52
53
  answers: [{ label: "Yes", next: "to-hazards" }, { label: "No", next: "place" }],
53
54
  },
54
55
  {
55
- id: "place", kind: "question", text: "Is your place safe to stay in: no fire, gas, flood water, damage or bad air?", sources: [],
56
+ id: "place", kind: "question", text: "Is your place safe to stay in: no fire, gas, flood water, damage, bad air, violence or an illness that spreads?", sources: [],
56
57
  reasoning: "Your place holds your supplies, so stay when it is safe. Go when the place itself is the danger.",
57
58
  answers: [{ label: "Yes", next: "to-stay" }, { label: "No", next: "to-go" }],
58
59
  },
@@ -62,7 +63,7 @@ export const MASTER: readonly ChartNode[] = [
62
63
  answers: [
63
64
  { label: "Yes", next: "need", society: "works" },
64
65
  { label: "In part", next: "need", society: "partly" },
65
- { label: "No", next: "to-long", society: "none" },
66
+ { label: "No: no help comes for 24 hours when you call, and the shops stay closed", next: "to-long", society: "none" },
66
67
  ],
67
68
  },
68
69
  {
@@ -28,42 +28,17 @@ export const OPEN_CELLS: readonly string[] = [
28
28
  "infra.power.grid-collapse/P0",
29
29
  "civic.economy.collapse/P0",
30
30
  "civic.economy.collapse/P1",
31
- "security.civil-unrest/P3",
32
31
  "cbrne.emp/P2",
33
32
  "cbrne.emp/P3",
34
33
  "geo.space-weather.geomagnetic-storm/P0",
35
- "power.grid/P4",
36
- "power.grid/P5",
37
- "water.main/P4",
38
- "water.main/P5",
39
34
  "road.local/P0",
40
- "road.local/P4",
41
- "road.local/P5",
42
35
  "phone.network/P0",
43
- "phone.network/P3",
44
- "phone.network/P4",
45
- "phone.network/P5",
46
36
  "network.access/P0",
47
37
  "network.access/P2",
48
- "network.access/P3",
49
- "network.access/P4",
50
- "network.access/P5",
51
- "gas.main/P3",
52
- "gas.main/P4",
53
- "gas.main/P5",
54
38
  "care.local/P0",
55
39
  "care.local/P1",
56
- "care.local/P5",
57
40
  "sewer.main/P0",
58
- "sewer.main/P4",
59
- "sewer.main/P5",
60
41
  "fuel.retail/P0",
61
- "fuel.retail/P3",
62
- "fuel.retail/P4",
63
- "fuel.retail/P5",
64
42
  "food.retail/P0",
65
- "food.retail/P5",
66
43
  "cash.retail/P0",
67
- "cash.retail/P5",
68
- "home.dwelling/P5",
69
44
  ];
package/src/data/gaps.ts CHANGED
@@ -29,33 +29,16 @@ export const GAPS: readonly Gap[] = [
29
29
  { on: "civic.economy.collapse", phase: "P0", why: "A financial collapse grows over days, not minutes. The steps of the ready phase are the protection." },
30
30
  { on: "civic.economy.collapse", phase: "P1", why: "A financial collapse grows over days, not hours. The steps of the ready phase are the protection." },
31
31
  { on: "security.civil-unrest", phase: "warned", why: "No official household page read gives a step for a warning of unrest." },
32
- { on: "security.civil-unrest", phase: "P3", why: "No official household page read gives a step for unrest that continues for weeks." },
33
32
  { on: "power.grid", phase: "warned", why: "A power cut often comes with no warning. The warning steps of the case and of the network apply." },
34
- { on: "power.grid", phase: "P4", why: NO_LONG_STEP },
35
- { on: "power.grid", phase: "P5", why: NO_LONG_STEP },
36
33
  { on: "water.main", phase: "warned", why: "A break of a water main comes with no warning. The stored water of the ready phase is the protection." },
37
- { on: "water.main", phase: "P4", why: NO_LONG_STEP },
38
- { on: "water.main", phase: "P5", why: NO_LONG_STEP },
39
34
  { on: "road.local", phase: "P0", why: "A closed road does not change the first minutes at home. The steps of the case apply." },
40
- { on: "road.local", phase: "P4", why: NO_LONG_STEP },
41
- { on: "road.local", phase: "P5", why: NO_LONG_STEP },
42
35
  { on: "phone.network", phase: "P0", why: "A cut of the network does not change the first minutes. The steps of the case apply." },
43
- { on: "phone.network", phase: "P3", why: NO_LONG_STEP },
44
- { on: "phone.network", phase: "P4", why: NO_LONG_STEP },
45
- { on: "phone.network", phase: "P5", why: NO_LONG_STEP },
46
36
  { on: "network.access", phase: "warned", why: "A loss of the internet access often comes with no warning. The steps of `ready` are the protection." },
47
37
  { on: "network.access", phase: "P0", why: "A loss of the internet access does not change the first minutes. The steps of the case apply." },
48
38
  { on: "network.access", phase: "P2", why: NO_LONG_STEP },
49
- { on: "network.access", phase: "P3", why: NO_LONG_STEP },
50
- { on: "network.access", phase: "P4", why: NO_LONG_STEP },
51
- { on: "network.access", phase: "P5", why: NO_LONG_STEP },
52
39
  { on: "gas.main", phase: "warned", why: "A gas leak gives no warning before you smell it or hear it." },
53
- { on: "gas.main", phase: "P3", why: NO_LONG_STEP },
54
- { on: "gas.main", phase: "P4", why: NO_LONG_STEP },
55
- { on: "gas.main", phase: "P5", why: NO_LONG_STEP },
56
40
  { on: "care.local", phase: "P0", why: "A closed pharmacy does not change the first minutes. The steps of the case apply." },
57
41
  { on: "care.local", phase: "P1", why: "A closed pharmacy does not change the first hours. The medicines of the ready phase are the protection." },
58
- { on: "care.local", phase: "P5", why: NO_LONG_STEP },
59
42
  { on: "infra.power.outage", phase: "ready", why: OF_GRID },
60
43
  { on: "infra.power.outage", phase: "warned", why: OF_GRID },
61
44
  { on: "infra.power.outage", phase: "P0", why: OF_GRID },
@@ -78,18 +61,11 @@ export const GAPS: readonly Gap[] = [
78
61
  { on: "geo.space-weather.geomagnetic-storm", phase: "P0", why: "A storm builds over hours. The sources give no step for its first 5 minutes." },
79
62
  { on: "sewer.main", phase: "warned", why: "The sources give no household step for a warning that the public sewer will stop." },
80
63
  { on: "sewer.main", phase: "P0", why: "The sources give no step for the first minutes. The toilet steps start in P1." },
81
- { on: "sewer.main", phase: "P4", why: "The sources give no different step for months without a sewer. The P1 to P3 steps continue." },
82
- { on: "sewer.main", phase: "P5", why: "The sources give no household step for years without a public sewer." },
83
64
  { on: "fuel.retail", phase: "P0", why: "The sources give no step for the first minutes after the fuel stations close." },
84
- { on: "fuel.retail", phase: "P3", why: "The sources give no different step for weeks without fuel. The P1 and P2 steps continue." },
85
- { on: "fuel.retail", phase: "P4", why: "The sources give no household step for months without fuel from stations." },
86
- { on: "fuel.retail", phase: "P5", why: "The sources give no household step for years without fuel from stations." },
87
65
  { on: "food.retail", phase: "warned", why: "The step to buy slowly in infra.supply-chain.food covers a warning. The sources give no other step." },
88
66
  { on: "food.retail", phase: "P0", why: "The sources give no step for the first minutes after the shops close." },
89
- { on: "food.retail", phase: "P5", why: "The restock steps of RECOVERY and the 6-month date check of infra.supply-chain.food cover this phase." },
90
67
  { on: "cash.retail", phase: "warned", why: "The sources give no household step for a warning that banks or cards will stop." },
91
68
  { on: "cash.retail", phase: "P0", why: "The sources give no step for the first minutes after cards and cash machines stop." },
92
- { on: "cash.retail", phase: "P5", why: "The savings steps of other cuts cover this phase. The sources give no other step." },
93
69
  { on: "home.dwelling", phase: "warned", why: "The steps before the damage are in the cuts for each hazard and for evacuation." },
94
- { on: "home.dwelling", phase: "P5", why: "The sources give no household step for years after the damage, other than the ready steps." },
70
+ { on: "society.services", phase: "warned", why: "A warning does not tell if the services of society stop. The steps of `ready` are the protection." },
95
71
  ];
@@ -118,4 +118,17 @@ export const SOURCES: readonly Source[] = [
118
118
  { id: "uk-power-cuts", title: "Power cuts", url: "https://beready.campaign.gov.uk/be-informed-about-hazards/power-cuts/", license: "ogl-uk-3.0", checked: "2026-11-22", by: "UK Government (Prepare)" },
119
119
  { id: "govuk-after-flood", title: "What to do after a flood", url: "https://www.gov.uk/after-flood", license: "ogl-uk-3.0", checked: "2026-11-22", by: "GOV.UK" },
120
120
  { id: "ukhsa-flood-health", title: "Flooding and health: advice for the public", url: "https://www.gov.uk/government/publications/flooding-and-health-public-advice/flooding-and-health-advice-for-the-public", license: "ogl-uk-3.0", checked: "2026-11-22", by: "UK Health Security Agency" },
121
+ { id: "cdc-hwts", title: "Household Water Treatment", url: "https://www.cdc.gov/global-water-sanitation-hygiene/about/about-household-water-treatment.html", license: "us-public-domain", checked: "2026-11-22", by: "CDC (Global WASH)" },
122
+ { id: "nps-lnt", title: "Leave No Trace Seven Principles", url: "https://www.nps.gov/articles/leave-no-trace-seven-principles.htm", license: "us-public-domain", checked: "2026-11-22", by: "National Park Service" },
123
+ { id: "army-fm21-10", title: "FM 21-10, Field Hygiene and Sanitation (2000)", url: "https://ia601500.us.archive.org/28/items/MManuals/Fm21-10UsArmyFieldHygeineSanitation.pdf", license: "us-public-domain", checked: "2026-11-22", by: "Department of the Army" },
124
+ { id: "who-ors", title: "Cholera: information for the general public on oral rehydration solution", url: "https://applications.emro.who.int/docs/WHOEMCSR594E-eng.pdf", license: "all-rights-reserved", checked: "2026-11-22", by: "WHO Regional Office for the Eastern Mediterranean" },
125
+ { id: "dga-calories", title: "Dietary Guidelines for Americans, 2020-2025, Appendix 2: Estimated Calorie Needs", url: "https://www.dietaryguidelines.gov/sites/default/files/2020-12/Dietary_Guidelines_for_Americans_2020-2025.pdf", license: "us-public-domain", checked: "2026-11-22", by: "USDA and HHS" },
126
+ { id: "cdc-home-canned", title: "Home-Canned Foods", url: "https://www.cdc.gov/botulism/prevention/home-canned-foods.html", license: "us-public-domain", checked: "2026-11-22", by: "CDC" },
127
+ { id: "epa-burnwise", title: "Best Wood-Burning Practices", url: "https://www.epa.gov/burnwise/best-wood-burning-practices", license: "us-public-domain", checked: "2026-11-22", by: "US EPA (Burn Wise)" },
128
+ { id: "fema-cdp-710", title: "The 7:10 Rule of Thumb (course AWR-923-W)", url: "https://cdp.dhs.gov/shared/se/courses/default/AWR-923-W%2005122021%201.2-20210512144644/groups/394.html", license: "us-public-domain", checked: "2026-11-22", by: "FEMA Center for Domestic Preparedness" },
129
+ { id: "usda-ah234", title: "Protection of Food and Agriculture Against Nuclear Attack, Agriculture Handbook 234 (1962)", url: "https://www.govinfo.gov/content/pkg/GOVPUB-A-PURL-gpo21249/pdf/GOVPUB-A-PURL-gpo21249.pdf", license: "us-public-domain", checked: "2026-11-22", by: "USDA Agricultural Research Service" },
130
+ { id: "cdc-wound", title: "Emergency Wound Care After a Natural Disaster", url: "https://www.cdc.gov/disasters/hurricanes/pdf/woundcare.pdf", license: "us-public-domain", checked: "2026-11-22", by: "CDC" },
131
+ { id: "fsis-shelf", title: "Shelf-Stable Food Safety", url: "https://www.govinfo.gov/content/pkg/GOVPUB-A110-PURL-gpo38739/pdf/GOVPUB-A110-PURL-gpo38739.pdf", license: "us-public-domain", checked: "2026-11-22", by: "USDA Food Safety and Inspection Service" },
132
+ { id: "fcc-part95", title: "Fact sheet: Part 95 Personal Radio Service reform (2017)", url: "https://docs.fcc.gov/public/attachments/DOC-344617A1.pdf", license: "us-public-domain", checked: "2026-11-22", by: "Federal Communications Commission" },
133
+ { id: "csu-seeds", title: "Storing Vegetable and Flower Seeds, Fact Sheet 7.221", url: "https://extension.colostate.edu/resource/storing-vegetable-and-flower-seeds/", license: "all-rights-reserved", checked: "2026-11-22", by: "Colorado State University Extension" },
121
134
  ];