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

[workshop-sync] workshop/side-quest-20-01-memory-patterns.md: invalid `ttl` field and inaccurate repo-memory storage description

クローズ 初心者向け
#4,686 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
86/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, markdown
領域
documentation

調査の方向性

workshop/side-quest-20-01-memory-patterns.md から始め、ttl、repo-memory、権限に関する記述を、リンク先の cache-memory と repo-memory の参照と比較してください。権限に関する注意書きについては、ガイダンスを変更する前に、該当するコンパイル済みロックファイルと生成された push ジョブを特定してください。キャッシュの削除およびブランチベースのストレージを含め、3つの主張がすべてドキュメント化された動作と一致 rejectionsした時点で、ページは完成です。

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

説明

documentation

Workshop file reviewed

workshop/side-quest-20-01-memory-patterns.md (reviewed against gh-aw v0.92.0 docs)

Problems

  1. ttl is not a cache-memory field. The frontmatter example and field table use:

    ttl: 7d — How long to keep cached data without a refresh... Common values: 1d, 7d, 30d.

    The cache-memory reference documents only key and retention-days (1-90). retention-days controls uploaded artifact retention only and does not extend cache lifetime. GitHub Actions evicts unused cache entries after 7 days regardless.

  2. repo-memory is not "a file committed to your repository". The page says:

    repo-memory backs a memory slot with a JSON file committed directly to your repository. The agent reads the file at the start of each run and commits an updated version at the end.

    The repo-memory reference says it stores files on a dedicated Git branch (default memory/default, mounted at /tmp/gh-aw/repo-memory-default/). The compiler auto-commits and pushes after the run. Files can be any allowed type, not just one JSON file. The table row "A file committed to your repository" and the "survives a repository clone" scenario should be reviewed for the same reason, since a branch needs to be fetched.

  3. The contents: write claim is not supported by the docs. The [!IMPORTANT] callout says repo-memory requires contents: write in the workflow's permissions. The reference doesn't state this, because the compiler generates the push job. Please verify against a compiled lock file and fix or remove the callout.

Suggested fix

  • Replace ttl: 7d with retention-days: 7 (or remove it), and rewrite the field-table row to describe artifact retention only. Say that cache lifetime is governed by Actions eviction (about 7 days unused).
  • Describe repo-memory as Git-branch storage (memory/default) with unlimited retention.
  • Re-verify and correct the permission callout.

Other files in this run

side-quest-21-01-sub-agent-syntax.md and side-quest-22-01-failure-modes.md had no blocking issues. Optional improvement for 21-01: mention the explicit ## end agent: \name`` marker.

Generated by 🔍 Workshop Sync Check · copilot · auto · 25.6 AIC · ⌖ 0.554 AIC · ⊞ 9.2K · ◷

  • expires on Oct 18, 2026, 1:33 PM UTC
主要言語
JavaScript
スター
55
フォーク
36
平均マージ
2日 18時間
マージ済み PR(30日)
14

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

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

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

似ている issue

JavaScript の issue をもっと見る

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

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