Skip to content

fix(discussion-task-miner): write memory files flat to match repo-memory-standard glob#43912

Closed
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/discussion-task-miner-fix-repo-memory-persistence
Closed

fix(discussion-task-miner): write memory files flat to match repo-memory-standard glob#43912
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/discussion-task-miner-fix-repo-memory-persistence

Conversation

Copilot AI commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

discussion-task-miner wrote its dedup state into a subdirectory (memory/discussion-task-miner/*.json), but shared/repo-memory-standard.md configures file-glob: ["*.json", "*.md", ...] — root-anchored patterns that can't cross /. push_repo_memory silently skipped every file, so the workflow ran with empty history on every execution and created duplicate issues.

Changes

  • .github/workflows/discussion-task-miner.md — flatten all five agent-prompt memory paths:

    Before After
    memory/discussion-task-miner/processed-discussions.json memory/processed-discussions.json
    memory/discussion-task-miner/extracted-tasks.json memory/extracted-tasks.json
    memory/discussion-task-miner/latest-run.md memory/latest-run.md

    Also eliminates the implicit mkdir requirement (subdirectory creation was blocked by the bash allowlist), making writes doubly reliable.

  • .github/workflows/discussion-task-miner.lock.yml — recompiled.

The frontmatter branch-name: memory/discussion-task-miner (the git storage branch) is unchanged.

…y-standard glob

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix repo-memory persistence issue in discussion-task-miner fix(discussion-task-miner): write memory files flat to match repo-memory-standard glob Jul 7, 2026
Copilot AI requested a review from pelikhan July 7, 2026 02:49
@pelikhan pelikhan closed this Jul 7, 2026
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.

discussion-task-miner: repo-memory never persists — Step 1/6 write to a subdirectory excluded by the default file-glob

2 participants