Loading...
Loading...
Compare original and translation side by side
.md.mdpost| Field | What it is |
|---|---|
| cid | Content-addressed identifier. The stable handle for this problem. |
| classification | What kind of problem this is (e.g., "config-drift", "migration-risk"). |
| default_path | The current best starting point, given prior cases. |
| risks | Known risks, warnings, or dead ends from prior thought. |
| similar_cases | Related prior problems, with CIDs where available. |
follow_uppost| 字段 | 说明 |
|---|---|
| cid | 内容寻址标识符,是这个问题的稳定唯一标识 |
| classification | 问题的类型(比如「config-drift」、「migration-risk」) |
| default_path | 结合过往案例得出的当前最佳起始方案 |
| risks | 过往思考总结出的已知风险、警告或死胡同 |
| similar_cases | 相关的过往问题,如有则附带对应的CID |
follow_upPROBLEM <one-line problem statement>
CID <cid>
CLASS <classification>
DEFAULT PATH
<the recommended starting point, 1-3 sentences>
RISKS
- <risk 1>
- <risk 2>
SIMILAR CASES
- <cid> — <one-line description>
- <cid> — <one-line description>RESIDUE ATTACHED
CID <cid>
TYPE <chosen-path | warning | dead-end | outcome | reframing>
SUMMARY <one-line summary of what was learned>PROBLEM <一行问题描述>
CID <cid>
CLASS <问题分类>
DEFAULT PATH
<推荐的起始方案,1-3句话>
RISKS
- <风险1>
- <风险2>
SIMILAR CASES
- <cid> — <一行描述>
- <cid> — <一行描述>RESIDUE ATTACHED
CID <cid>
TYPE <chosen-path | warning | dead-end | outcome | reframing>
SUMMARY <学习内容的一行总结>postpost"Deciding curation standards for a bibliography: durable sources, brittle-link risk, and rationale clarity."
"Choosing a retry strategy for flaky third-party API calls: backoff shape, timeout ceiling, and when to circuit-break."
"Structuring error handling in a CLI tool: when to exit vs. warn vs. retry, and how to keep error messages actionable for non-expert users."
"Should we updateright now?"Books.md
"Help with my project."
"We need to figure out the deployment thing before Friday."
"制定参考书目筛选标准:长期可靠来源、死链风险、逻辑清晰度要求。"
"为不稳定的第三方API调用选择重试策略:退避模式、超时上限、熔断触发时机。"
"设计CLI工具的错误处理逻辑:什么时候退出/告警/重试,以及如何让非专家用户也能看懂错误信息。"
"我们现在应该更新吗?"Books.md
"帮我做项目。"
"我们要在周五前搞定部署的事。"
follow_upfollow_up"Went with exponential backoff capped at 30s, with circuit-breaker after 5 consecutive failures. Linear backoff caused thundering herd on recovery. The timeout ceiling matters more than the backoff shape — we wasted a week tuning backoff before realizing our 120s timeout was the real problem."
"Chose to exit on all config errors rather than warn-and-continue. Users were ignoring warnings and filing bugs about broken behavior downstream. Hard exits with actionable messages ('missing field X in config.yaml, see docs at ...') reduced support load."
"Fixed it. Used retry logic."
"Had a long discussion with the team about whether to use blue-green or canary. Sarah thought canary was better but Mike disagreed. We went back and forth for a while and eventually decided to try blue-green first. Will revisit next quarter."
"选择了上限30秒的指数退避,连续5次失败后触发熔断。线性退避会在服务恢复时导致惊群效应。超时上限比退避模式更重要——我们浪费了一周时间调优退避策略,最后才发现真正的问题是120秒的超时设置。"
"所有配置错误都选择直接退出而不是告警后继续运行。用户会忽略警告,然后提交下游行为异常的bug。附带 actionable 信息的强制退出(比如「config.yaml缺少字段X,参考文档:...」)降低了支持工作量。"
"修好了,用了重试逻辑。"
"和团队讨论了很久用蓝绿部署还是金丝雀部署,Sarah觉得金丝雀更好但Mike不同意,我们来回讨论了很久最后决定先试蓝绿部署,下季度再复盘。"
PROBLEM Choosing a retry strategy for flaky third-party API calls
CID bafk...a1b2
CLASS reliability/retry-strategy
DEFAULT PATH
Exponential backoff with jitter, capped at 30s. Circuit-break after
5 consecutive failures. Prioritize tuning the timeout ceiling over
the backoff curve.
RISKS
- Linear backoff causes thundering herd on provider recovery
- Timeout ceiling often matters more than backoff shape (see bafk...c3d4)
- Circuit-breaker threshold too low → false opens during normal jitter
SIMILAR CASES
- bafk...c3d4 — Timeout tuning for payment provider API
- bafk...e5f6 — Rate limiting vs. retry in batch pipelinePROBLEM 为不稳定的第三方API调用选择重试策略
CID bafk...a1b2
CLASS reliability/retry-strategy
DEFAULT PATH
带抖动的指数退避,上限30秒。连续5次失败后触发熔断。优先调优超时上限而非退避曲线。
RISKS
- 线性退避会在服务商恢复时导致惊群效应
- 超时上限通常比退避模式更重要(参考bafk...c3d4)
- 熔断阈值太低→正常波动时会误触发熔断
SIMILAR CASES
- bafk...c3d4 — 支付服务商API的超时调优
- bafk...e5f6 — 批量管道中的限流vs重试undefinedundefined
---
**Rule:** if prior memory could change the decision, `post` first. When learning stabilizes, attach residue. The goal is always: make the next similar problem easier.
---
**规则:** 如果过往经验可能会改变决策,先`post`。当学习内容稳定后,附上经验留存。目标始终是:让下一个类似问题的解决更轻松。