Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[workshop-sync] workshop/20-persistent-memory.md: cache-memory frontmatter uses non-existent `ttl:` field instead of `retention-days:`

オープン 初心者向け
#3,932 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
92/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
yaml
領域
documentation

調査の方向性

workshop/20-persistent-memory.md を開き、その cache-memory の例を gh-aw の memory.md リファレンスまたは公開されている cache-memory リファレンスと比較します。無効な ttl: 7d の例と表の行を retention-days: と整数の説明に置き換え、その後、この手順の他の内容が変更されていないことを確認します。

索引モデルが issue の本文から書いたものです。

説明

documentation

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: 7d with retention-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 of ttl: 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
平均マージ
7時間 12分
マージ済み PR(30日)
26

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

githubnext/gh-aw-workshop のほかの issue

githubnext/gh-aw-workshop の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。