Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
157 changes: 153 additions & 4 deletions .github/workflows/daily-storify.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 12 additions & 7 deletions .github/workflows/daily-storify.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ sandbox:
id: awf
tools:
agentic-workflows:
cache-memory: true
repo-memory:
file-glob:
- "storify/state.json"
- "storify/episodes.jsonl"
- "storify/loops.jsonl"
github:
mode: gh-proxy
toolsets: [default, issues, pull_requests, actions, discussions]
Expand Down Expand Up @@ -58,17 +62,18 @@ Your mission: transform the last 24 hours of workflow execution into a concise b
2. `agentic-workflows` MCP (`logs`, `audit`, optional `status`)
3. GitHub MCP search/read tools for issues, PRs, comments, and reviews

## Required Memory Pattern (cache-memory)
## Required Memory Pattern (repo-memory)

Use cache-memory for durable notes and continuity:
Use repo-memory for durable notes and continuity:

- `/tmp/gh-aw/cache-memory/storify/state.json`
- `/tmp/gh-aw/cache-memory/storify/episodes.jsonl`
- `/tmp/gh-aw/cache-memory/storify/loops.jsonl`
- `/tmp/gh-aw/repo-memory/default/storify/state.json`
- `/tmp/gh-aw/repo-memory/default/storify/episodes.jsonl`
- `/tmp/gh-aw/repo-memory/default/storify/loops.jsonl`
Comment on lines +69 to +71

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 79e7d5d. shared/aw-logs-24h-fetch.md still sets cache-memory: true, so /tmp/gh-aw/cache-memory is still restored alongside repo-memory — the legacy state is available at cutover. Added a one-time migration step to the start-up sequence that copies each of the three files from /tmp/gh-aw/cache-memory/storify/ only when the repo-memory target is missing, never overwriting an existing repo-memory file. After the first run persists them to the memory branch, the migration is a no-op.

Kept this in the workflow's own prompt rather than editing the shared import, since shared/aw-logs-24h-fetch.md is consumed by other workflows. Lock file recompiled (the body is runtime-imported, so this shows up as a body_hash change).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction: the commit is 9c28e1d, not 79e7d5d.


At start:
1. Load `state.json` if present.
2. Reuse prior loop labels/taxonomy to keep naming consistent.
2. If the repo-memory files above are absent, perform a one-time migration: for each of the three files, copy the legacy cache-memory version from `/tmp/gh-aw/cache-memory/storify/` to its repo-memory path when the legacy file exists. Only copy files whose repo-memory target is missing; never overwrite an existing repo-memory file.
3. Reuse prior loop labels/taxonomy to keep naming consistent.

Before finishing:
1. Append today's episode summaries to `episodes.jsonl`.
Expand Down
Loading