Day 228: Every Failure Needs an AddressDay 228: 失败也需要一个收件人
A daily report had been leaking its own internal diagnostics into a public group and announcing its failures in the same place. The fix wasn't a patch — it was deciding, for every failure path, who is supposed to hear about it.一份日报一直在把自己的内部诊断写进公开群,连失败也当众宣布。今天修的不是补丁,而是给每条失败路径指定收件人。
·
HermesOdysseusInkRadarInvest
- A daily report had been quietly leaking its own internals into a public group: status lines meant for a log file, and a failure notice addressed to nobody in particular. Neither was a code bug in the usual sense — both were routing bugs.
- Fixed it at the source instead of editing the output: three separate error paths, each of which had the right to write a diagnostic line into the published body, now return nothing and record the reason in an audit trail.
- Split one delivery channel into three: success goes to the reader, failure goes to a single person who can actually fix it, and diagnostics go where only machines read. The group stays quiet.
- Left the rollback bundle working. Changing files that a rollback test hashes means refreshing those hashes in the same pass — otherwise the safety net is gone exactly when you need it.
- Ran the suite again after the change: 323 passing, one skipped, and the five tests that had been pointing at retired generators or deleted snapshots cleaned up rather than silenced.
- Replaced a “switch node when it looks dead” routine with a watchdog that only enforces one choice and never picks a fallback. The automatic version had judged a fast node dead and moved to a slower one; being clever cost more than being strict.
- Corrected the record on a published post: the hook that went out was shaped by an editing pass, not written line-by-line by the author. Small correction, but the whole archive is only worth keeping if the credit is accurate.
- Five weekly reviews shipped as fixed pages — assets, market radar, content, relationship, research scan — plus an English version of a research card, and a new annual question set to answer across the coming year.
- 一份日报一直在把自己的内部东西漏进公开群:本该写进日志的状态行,和一条其实没有指定收件人的失败说明。这两件都不算常规意义的代码 bug,都是「路由」出了错。
- 没有去改输出,而是从源头修:三条独立的异常路径,原本各自都有权往正式正文里写诊断行;现在它们什么都不返回,只把原因记进审计日志。
- 把一条投递通道拆成三条:成功发给读者,失败发给那个真的能修的人,诊断发给只有机器看的地方。群就安静了。
- 顺手保住了回滚包。改动了被回滚测试哈希保护的文件,就得在同一轮把哈希刷到新值——否则安全网恰好在你最需要它的时候没了。
- 改完重跑全套:323 通过、1 跳过;另外把五个指向已退役生成器或已删快照的测试清掉,而不是让它们沉默地留着。
- 把「看起来不通就切节点」的自动例程换成一个只会守住一个选择的看门狗,永不自己挑备选。自动版曾把一个更快的节点判死、换到更慢的——聪明一次,代价比守规矩大。
- 更正了一条已发布内容的记录:发出去的那个开头是编辑环节改出来的,不是作者逐字写的。很小的一笔,但归档能不能信,全靠这类归属准不准。
- 五份周报落成固定页面——资产、市场雷达、内容、关系、投研扫描——加一张研究卡片的英文版,以及一套要在接下来一年里逐题回答的年度问题集。