以下人物、公司与数字均为教学假设,不代表经核实的真实个人或调研结论。
林叙近 6 个月有 2 次连续两周情绪低落,每次持续 12–14 天,没有就医;体检在 18 个月前,运动每周 1 次,睡眠 6.8 小时。周牧睡眠 6.2 小时,近 3 个月运动 0 次,每周主业 45 小时加副业 16 小时;他的卷一评审得分是 18/30,三案例最低。陈屿睡眠 7.3 小时,运动 3 次/周,每年体检,最近一次在 8 个月前;他的卷一得分是 26/30,三案例最高。
三个人的差距不是某一天拉开的,而是一串信号长期没有被处理。崩溃前兆不是「今天心情不好」,而是「功能下降、持续时间变长、恢复手段失效」三件事同时出现。这一节给出一张每周能填完的自查表,以及一张从信号到动作的映射。
先分清压力、疲劳与崩溃前兆
压力是外部负荷,疲劳是负荷后的正常反应,崩溃前兆是恢复机制开始失效。三者可以用同一组数字观察,但判断标准不同。
| 状态 | 典型表现 | 案例读数 | 该做什么 |
|---|---|---|---|
| 压力 | 工时高、任务多,但睡眠和情绪还在 | B 每周 61 小时,睡眠 6.2 小时 | 减负荷、设边界 |
| 疲劳 | 睡一觉或休一天能恢复 | A 运动 1 次/周,体检 18 个月前 | 补恢复、补体检 |
| 崩溃前兆 | 持续两周以上,休息也回不来 | A 2 次连续两周情绪低落,每次 12–14 天 | 启动外部介入 |
A 的 12–14 天正好压在「两周」这条线上。一次 12 天的低落可能还是疲劳;第二次 14 天、且没有就医,就不能再按疲劳处理。B 的 6.2 小时睡眠,加上近 3 个月 0 次运动,属于慢性透支;C 的 7.3 小时睡眠、3 次运动、每年体检,是三个人里恢复资源最完整的。
这里说的「崩溃前兆」是一个操作口径,不是临床诊断。它只回答一个问题:现在的信号,靠自己和身边的人能不能处理;如果不能,应该在多久内找专业支持。
身体、情绪、工作、隔离四个域
自查表分成四个域,每个域 0–10 分,总分 0–40。分数越高,信号越强。四个域分别回答:身体还撑不撑得住、情绪是否持续走低、工作是否已经失真、身边是否有人能接住。
| 域 | 指标与分值 | A 林叙 | B 周牧 | C 陈屿 |
|---|---|---|---|---|
| 身体 | 睡眠 <6.5 记 4,<7 记 2;运动 0 记 3,1 记 1;体检未记录记 1,>24 个月记 2,>12 个月记 1 | 4 | 8 | 0 |
| 情绪 | 低落次数未记录记 1,≥2 次记 4,1 次记 2;最长 ≥14 天记 4,≥7 天记 2 | 8 | 1 | 1 |
| 工作 | 周工时 ≥60 记 4,≥50 记 2;深度工作占比 <40% 记 4,<55% 记 2 | 0 | 8 | 0 |
| 隔离 | 支持者未记录记 1,0 人记 4,1 人记 2;联系频率未记录记 1,<1 次/月记 3,<4 次/月记 1 | 0 | 2 | 2 |
| 合计 | 0–40 | 12 | 19 | 3 |
A 的身体 4 分来自睡眠 6.8 小时(2 分)、运动 1 次(1 分)、体检 18 个月(1 分);情绪 8 分来自 2 次低落(4 分)和 14 天持续(4 分)。B 的身体 8 分来自 6.2 小时睡眠(4 分)、0 次运动(3 分)、体检未记录(1 分);工作 8 分来自 61 小时(4 分)和深度工作占比 14 ÷ 61 = 23.0%(4 分)。C 的身体和工作都是 0 分,只有情绪与隔离各 1 分,因为案例没有记录这两项。
未记录项按「不确定」加 1 分,不按 0 分处理。这是自查表最重要的规则:没有记录不等于正常。B 的体检、情绪、支持数据都缺失,如果全部按 0 处理,B 的总分会从 19 掉到 15,直接从 orange 变成 yellow,风险被系统性低估。
加速项:财务、保险与集中度
四个域测的是个人状态,加速项测的是「一旦状态变差,缓冲有多薄」。加速项不进入 0–40 总分,而是单独计数,再把最终级别往上抬。
| 加速项 | 触发条件 | A 林叙 | B 周牧 | C 陈屿 |
|---|---|---|---|---|
| runway | <6 个月记 2,<12 个月记 1 | 1(10.9859 个月) | 1(6.9536 个月) | 0(17.0854 个月) |
| 收入中断险 | 没有记 1 | 1 | 1 | 0 |
| 重疾险 | 没有记 1 | 1 | 1 | 0 |
| 收入集中度 | Top1 ≥30% 记 1 | 0(8.6%) | 0(6.4%) | 1(34.0%) |
| 合计 | 0–5 | 3 | 3 | 1 |
加速项 1–2 个对应 yellow,3–4 个对应 orange,5 个对应 red;最终级别取「四域级别」和「加速项级别」中更重的那个。
四域级别按总分切:0–7 green,8–17 yellow,18–27 orange,28–40 red。代入三案例:
- A:四域 12 分是 yellow;加速项 3 个是 orange;最终 orange。
- B:四域 19 分是 orange;加速项 3 个是 orange;最终 orange。
- C:四域 3 分是 green;加速项 1 个是 yellow;最终 yellow。
A 的最终级别被加速项抬高,是最容易被误判的一种情况:个人状态看起来只是 yellow,但没有收入中断险、没有重疾险、runway 不到 12 个月,任何一次疾病或意外都会把 11.0 个月的跑道打穿。C 的最终级别也被抬高,但原因相反:个人状态是 green,风险在收入集中度,34.0% 的总收入来自一个咨询大客户。
把自查写成代码
下面的模型把四个域和加速项分开计算。域分数回答「现在的状态」,加速项回答「状态的缓冲」,最后取两者中更重的级别。所有未记录项都用 null 表示,模型会给不确定分并打标记,不会静默当成 0。
// file: src/self/04-2-collapse-signals.ts
// tier: L2
// verify: node --test test/self/04-2-collapse-signals.test.ts
// 崩溃前兆自查:身体、情绪、工作、隔离四个域,加财务与保险加速项。
import { type Cents } from "../money.ts";
import { type Bps, divide } from "../rate.ts";
import { type Result, fail, ok } from "../result.ts";
export type SignalInput = {
cash: Cents;
burn: Cents;
sleepHours: number;
exercisePerWeek: number;
monthsSinceCheckup: number | null;
lowMoodEpisodes: number | null; // 近 6 个月连续两周情绪低落次数
longestLowMoodDays: number | null; // 最长一次持续天数
totalHours: number;
deepHours: number;
supportPeople: number | null;
supportPerMonth: number | null;
hasIncomeInsurance: boolean;
hasCriticalIllness: boolean;
top1Share: Bps;
};
export type DomainScore = { score: number; max: number };
export type Level = "green" | "yellow" | "orange" | "red";
export type SignalReading = {
runwayMonths: number;
body: DomainScore;
mood: DomainScore;
work: DomainScore;
isolation: DomainScore;
signalScore: number;
signalLevel: Level;
accelerants: number;
finalLevel: Level;
flags: string[];
};
function clamp(value: number, max: number): number {
return Math.max(0, Math.min(max, Math.round(value)));
}
function bodyScore(input: SignalInput): number {
let score = 0;
if (input.sleepHours < 6.5) score += 4;
else if (input.sleepHours < 7) score += 2;
if (input.exercisePerWeek === 0) score += 3;
else if (input.exercisePerWeek === 1) score += 1;
if (input.monthsSinceCheckup === null) score += 1;
else if (input.monthsSinceCheckup > 24) score += 2;
else if (input.monthsSinceCheckup > 12) score += 1;
return clamp(score, 10);
}
function moodScore(input: SignalInput): number {
let score = 0;
if (input.lowMoodEpisodes === null) score += 1;
else if (input.lowMoodEpisodes >= 2) score += 4;
else if (input.lowMoodEpisodes === 1) score += 2;
if (input.longestLowMoodDays !== null && input.longestLowMoodDays >= 14) {
score += 4;
} else if (
input.longestLowMoodDays !== null &&
input.longestLowMoodDays >= 7
) {
score += 2;
}
return clamp(score, 10);
}
function workScore(input: SignalInput): number {
const deepShare = divide(input.deepHours, input.totalHours);
let score = 0;
if (input.totalHours >= 60) score += 4;
else if (input.totalHours >= 50) score += 2;
if (deepShare < 4_000) score += 4;
else if (deepShare < 5_500) score += 2;
return clamp(score, 10);
}
function isolationScore(input: SignalInput): number {
let score = 0;
if (input.supportPeople === null) score += 1;
else if (input.supportPeople === 0) score += 4;
else if (input.supportPeople === 1) score += 2;
if (input.supportPerMonth === null) score += 1;
else if (input.supportPerMonth < 1) score += 3;
else if (input.supportPerMonth < 4) score += 1;
return clamp(score, 10);
}
function levelOf(score: number): Level {
if (score >= 28) return "red";
if (score >= 18) return "orange";
if (score >= 8) return "yellow";
return "green";
}
const LEVEL_RANK: Record<Level, number> = {
green: 0,
yellow: 1,
orange: 2,
red: 3,
};
function worse(a: Level, b: Level): Level {
return LEVEL_RANK[a] >= LEVEL_RANK[b] ? a : b;
}
function accelerantLevel(count: number): Level {
if (count >= 5) return "red";
if (count >= 3) return "orange";
if (count >= 1) return "yellow";
return "green";
}
export function checkCollapseSignals(input: SignalInput): Result<SignalReading> {
if (input.cash < 0 || input.burn <= 0) {
return fail("cash must be non-negative and burn positive");
}
if (input.sleepHours <= 0 || input.sleepHours > 24) {
return fail("sleepHours out of range");
}
if (input.exercisePerWeek < 0) return fail("exercise must be non-negative");
if (input.monthsSinceCheckup !== null && input.monthsSinceCheckup < 0) {
return fail("monthsSinceCheckup must be non-negative or null");
}
if (input.lowMoodEpisodes !== null && input.lowMoodEpisodes < 0) {
return fail("lowMoodEpisodes must be non-negative or null");
}
if (input.longestLowMoodDays !== null && input.longestLowMoodDays < 0) {
return fail("longestLowMoodDays must be non-negative or null");
}
if (input.totalHours <= 0) return fail("totalHours must be positive");
if (input.deepHours < 0 || input.deepHours > input.totalHours) {
return fail("deepHours out of range");
}
if (input.supportPeople !== null && input.supportPeople < 0) {
return fail("supportPeople must be non-negative or null");
}
if (input.supportPerMonth !== null && input.supportPerMonth < 0) {
return fail("supportPerMonth must be non-negative or null");
}
if (input.top1Share < 0 || input.top1Share > 10_000) {
return fail("top1Share out of range");
}
const runwayMonths = input.cash / input.burn;
const body = bodyScore(input);
const mood = moodScore(input);
const work = workScore(input);
const isolation = isolationScore(input);
const signalScore = body + mood + work + isolation;
const signalLevel = levelOf(signalScore);
let accelerants = 0;
const flags: string[] = [];
if (input.sleepHours < 6.5) flags.push("sleep-below-6.5h");
else if (input.sleepHours < 7) flags.push("sleep-below-7h");
if (input.exercisePerWeek === 0) flags.push("no-exercise");
if (input.monthsSinceCheckup === null) flags.push("checkup-unrecorded");
else if (input.monthsSinceCheckup > 12) flags.push("checkup-overdue");
if (input.lowMoodEpisodes === null) flags.push("mood-unrecorded");
else if (input.lowMoodEpisodes >= 2) flags.push("mood-recurring");
if (input.longestLowMoodDays !== null && input.longestLowMoodDays >= 14) {
flags.push("low-mood-14d");
}
if (input.totalHours >= 60) flags.push("hours-60-plus");
const deepShare = divide(input.deepHours, input.totalHours);
if (deepShare < 4_000) flags.push("deep-share-below-40pct");
if (input.supportPeople === null) flags.push("support-unrecorded");
else if (input.supportPeople === 0) flags.push("support-zero");
if (input.supportPerMonth === null) flags.push("support-frequency-unrecorded");
if (runwayMonths < 6) {
accelerants += 2;
flags.push("runway-below-6m");
} else if (runwayMonths < 12) {
accelerants += 1;
flags.push("runway-below-12m");
}
if (!input.hasIncomeInsurance) {
accelerants += 1;
flags.push("no-income-insurance");
}
if (!input.hasCriticalIllness) {
accelerants += 1;
flags.push("no-critical-illness");
}
if (input.top1Share >= 3_000) {
accelerants += 1;
flags.push("top1-above-30pct");
}
return ok({
runwayMonths,
body: { score: body, max: 10 },
mood: { score: mood, max: 10 },
work: { score: work, max: 10 },
isolation: { score: isolation, max: 10 },
signalScore,
signalLevel,
accelerants,
finalLevel: worse(signalLevel, accelerantLevel(accelerants)),
flags,
});
}
三个案例的输出如下:
| 指标 | A 林叙 | B 周牧 | C 陈屿 |
|---|---|---|---|
| 身体 | 4 | 8 | 0 |
| 情绪 | 8 | 1 | 1 |
| 工作 | 0 | 8 | 0 |
| 隔离 | 0 | 2 | 2 |
| 四域总分 | 12 | 19 | 3 |
| 四域级别 | yellow | orange | green |
| 加速项 | 3 | 3 | 1 |
| 最终级别 | orange | orange | yellow |
级别对应的动作不需要复杂:
| 级别 | 响应时限 | 最小动作 |
|---|---|---|
| green | 30 天 | 每月一次自查,每季度复算 runway 与集中度 |
| yellow | 7 天 | 安排一次支持性对话,30 天内完成体检,连续记录一周信号 |
| orange | 72 小时 | 预约一次专业支持,今天告诉一个具体的人,冻结不可逆决策 14 天 |
| red | 当天 | 联系专业人员或当地急救/精神卫生服务,交接关键运营,如存在安全风险不要独处 |
自查表每周填一次,五分钟够了。填的时候只做三件事:把本周的睡眠、运动、工时、支持联系写下来;把和上周相比变化最大的两项圈出来;如果连续两周落在 yellow 或本周落在 orange,就执行对应动作,不再等「下周看看」。
小结
- 压力、疲劳、崩溃前兆是三件事:压力是负荷,疲劳能恢复,崩溃前兆是恢复机制失效。
- 四个域分别是身体、情绪、工作、隔离,每个域 0–10 分,总分 0–40;A、B、C 分别是 12、19、3 分。
- 未记录项按不确定加 1 分,不按 0 分处理;B 的体检、情绪、支持数据缺失,不能当成正常。
- 加速项包括 runway、收入中断险、重疾险和收入集中度;A、B、C 分别是 3、3、1 个。
- 最终级别取四域级别和加速项级别中更重的那个;A 从 yellow 抬到 orange,C 从 green 抬到 yellow。
- 级别对应明确时限:green 30 天、yellow 7 天、orange 72 小时、red 当天。
- 自查表是操作工具,不是临床诊断;出现自伤念头或无法保证基本安全时,直接走紧急响应。
阅读导航:上一节:4.1 独立开发特有的三种压力源 · 下一节:4.3 求助时机与支持系统 。
常见错误与边界
- 把一次情绪低落当崩溃前兆。 单次低落可能只是疲劳;A 的问题是 2 次、每次 12–14 天,且没有就医,持续性和重复性才是信号。
- 只查工作,不查身体。 B 的工作域 8 分、身体域也 8 分;如果只看工时,会漏掉 6.2 小时睡眠和 0 次运动。
- 把未记录项当正常。 B 的体检、情绪、支持数据都缺失;按 0 处理会把总分从 19 压到 15,风险被低估。
- 只看四域总分,不看加速项。 A 的四域只有 12 分,但加速项 3 个;只看个人状态会错过保险和 runway 的缺口。
- 用自查表替代专业诊断。 这张表只做信号分级,不做病因判断;持续两周以上的低落、失眠或功能下降,应该由专业人员评估。
- 把 red 当成「再撑一下」。 red 的响应时限是当天;如果出现自伤念头或无法保证基本安全,应立即联系当地急救或精神卫生服务,而不是继续做自查。
这一节把压力信号变成了四级响应。下一节回答另一个问题:当你决定要求助时,应该找谁、在什么时限内找、以及支持系统需要多少预算和维护频率。
继续阅读
探索更多技术文章
浏览归档,发现更多关于系统设计、工具链和工程实践的内容。