Cache Strategy Problem: Copilot Session Insights
Severity: 🟠 High
Workflow: Copilot Session Insights
Analysis Date: 2026-08-28
Issue Type: Cache miss
Problem Description
The prompt requires the workflow to initialize /tmp/gh-aw/cache-memory/session-analysis/history.json and related files when they are missing, then use them to compute a historical baseline. No session-analysis/ cache directory exists after the observed runs, so the workflow is not materializing the history it depends on.
Evidence
- Miss streak: 2 consecutive analyzed days
- Miss rate (14d): 100%
- Last cache hit: never
- Observed runs: 2
- Rebuild excess tokens (14d): 4,614
- Log signals: Prompt defines
/tmp/gh-aw/cache-memory/session-analysis/ with history.json and says If cache files don't exist, create them, but no such cache directory exists in persistent cache memory after the runs.
Recommended Fix
- Create the
session-analysis/ directory and seed files as an explicit required step before analysis begins.
- Verify the files still exist before cache commit/upload so missing history becomes a run failure, not a silent miss.
- Log whether the historical baseline came from cache or from first-run initialization to make future audits trivial.
Expected Impact
If fixed, the workflow should accumulate real cross-run history instead of recomputing its baseline with no durable memory.
Detected by the Daily Cache Strategy Analyzer
Generated by 📊 Daily Cache Strategy Analyzer · codex · gpt54 · 164.1 AIC · ⌖ 7.9 AIC · ⊞ 13.2K · ◷
Cache Strategy Problem: Copilot Session Insights
Severity: 🟠 High
Workflow:
Copilot Session InsightsAnalysis Date: 2026-08-28
Issue Type: Cache miss
Problem Description
The prompt requires the workflow to initialize
/tmp/gh-aw/cache-memory/session-analysis/history.jsonand related files when they are missing, then use them to compute a historical baseline. Nosession-analysis/cache directory exists after the observed runs, so the workflow is not materializing the history it depends on.Evidence
/tmp/gh-aw/cache-memory/session-analysis/withhistory.jsonand saysIf cache files don't exist, create them, but no such cache directory exists in persistent cache memory after the runs.Recommended Fix
session-analysis/directory and seed files as an explicit required step before analysis begins.Expected Impact
If fixed, the workflow should accumulate real cross-run history instead of recomputing its baseline with no durable memory.
Detected by the Daily Cache Strategy Analyzer