Skip to content

Fix cache-memory path in repository-quality-improver workflow#355

Merged
pelikhan merged 3 commits into
mainfrom
copilot/fix-cache-memory-path-persistence
Jun 26, 2026
Merged

Fix cache-memory path in repository-quality-improver workflow#355
pelikhan merged 3 commits into
mainfrom
copilot/fix-cache-memory-path-persistence

Conversation

Copilot AI commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

gh-aw's cache-memory mechanism only persists top-level directories (e.g. cache-memory-foo/); nested subdirectories like cache-memory/focus-areas/ are silently dropped between runs, breaking the focus-area diversity algorithm that depends on reading prior run history.

Changes

  • workflows/repository-quality-improver.md: Replace all four occurrences of /tmp/gh-aw/cache-memory/focus-areas/ with /tmp/gh-aw/cache-memory-focus-areas/
    • Cache Location bullet in Current Context
    • Phase 0.1 prose description
    • Phase 0.1 if/cat bash snippet
    • Phase 3 mkdir -p bash snippet
-  **Cache Location**: `/tmp/gh-aw/cache-memory/focus-areas/`
+  **Cache Location**: `/tmp/gh-aw/cache-memory-focus-areas/`

-if [ -f /tmp/gh-aw/cache-memory/focus-areas/history.json ]; then
-  cat /tmp/gh-aw/cache-memory/focus-areas/history.json
+if [ -f /tmp/gh-aw/cache-memory-focus-areas/history.json ]; then
+  cat /tmp/gh-aw/cache-memory-focus-areas/history.json
 fi

-mkdir -p /tmp/gh-aw/cache-memory/focus-areas/
+mkdir -p /tmp/gh-aw/cache-memory-focus-areas/

Co-authored-by: dsyme <7204669+dsyme@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix focus-area history persistence in repository-quality-improver Fix cache-memory path in repository-quality-improver workflow Jun 24, 2026
Copilot finished work on behalf of dsyme June 24, 2026 18:48
Copilot AI requested a review from dsyme June 24, 2026 18:48
@pelikhan pelikhan marked this pull request as ready for review June 26, 2026 05:32
@pelikhan pelikhan merged commit 81c7fc3 into main Jun 26, 2026
1 check passed
@pelikhan pelikhan deleted the copilot/fix-cache-memory-path-persistence branch June 26, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants