[workshop-sync] workshop/20-persistent-memory.md: cache-memory frontmatter uses non-existent `ttl:` field instead of `retention-days:`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 92/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- yaml
调研方向
打开 workshop/20-persistent-memory.md,并将其中的 cache-memory 示例与 gh-aw 的 memory.md 参考或已发布的 cache-memory 参考进行比较。将无效的 ttl: 7d 示例和表格行替换为 retention-days: 以及整数描述,然后验证此步骤中的其他内容没有变化。
由索引模型根据 Issue 内容生成。
描述
Workshop file reviewed
workshop/20-persistent-memory.md
Problem
The step teaches an incorrect cache-memory frontmatter field. It shows:
tools: cache-memory: key: daily-status-seen-issues ttl: 7d
and documents it in a table:
|
ttl: 7d| How long to keep cached data without a refresh. After 7 days of no runs the cache expires and the agent starts fresh. |
There is no ttl: field in the cache-memory schema, and gh-aw does not accept duration strings like 7d.
Current correct syntax
Per the gh-aw memory.md reference (and the published cache-memory reference), the field is retention-days:, an integer number of days (default 7, extendable up to 90):
tools:
cache-memory:
key: daily-status-seen-issues
retention-days: 30
Suggested fix
- Replace
ttl: 7dwithretention-days: 30(or a chosen integer) in the frontmatter example. - Update the field-reference table row to describe
retention-days:(integer, default 7, max 90) instead ofttl: 7d. - No other content in this step needs to change — the surrounding explanation of cache-memory's purpose and the read/write task-brief guidance remain accurate.
Generated by 🔍 Workshop Sync Check · copilot · auto · 100.4 AIC · ⌖ 5.62 AIC · ⊞ 8.2K · ◷
- expires on Sep 29, 2026, 9:02 AM UTC
- 主要语言
- JavaScript
- 星标
- 49
- 派生
- 20
- 平均合并
- 9 小时 44 分钟
- 30 天内合并 PR
- 25
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
githubnext/gh-aw-workshop 的其他 Issue
-
documentation
难度 1/5 1 小时以内 新手友好度 92/100
githubnext/gh-aw-workshop#3968 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 84/100
githubnext/gh-aw-workshop#3969 ·
维护者通常 1 天内回复
-
agentic-workflows documentation workflow-editor
难度 2/5 1-3 小时 新手友好度 78/100
githubnext/gh-aw-workshop#3966 ·
维护者通常 1 天内回复
-
feedback simulation workshop
难度 2/5 1-3 小时 新手友好度 82/100
githubnext/gh-aw-workshop#3964 ·
维护者通常 1 天内回复
-
documentation guidelines
难度 1/5 1 小时以内 新手友好度 95/100
githubnext/gh-aw-workshop#3959 ·
维护者通常 1 天内回复
查看 githubnext/gh-aw-workshop 的全部 Issue
相似的 Issue
-
feature task
难度 2/5 1-3 小时 新手友好度 72/100
RealDevSquad/website-www#1178 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
netlify-labs/nax#56 · 2 条评论 · 1 个 reaction ·
-
accessibility bug revealjs
难度 2/5 1-3 小时 新手友好度 84/100
quarto-dev/quarto-cli#14961 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
PnX-SI/GeoNature#4435 · 2 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
openlayers/openlayers#17648 ·
维护者通常 1 天内回复