Skip to content

feat: add repo-memory to all agentic workflows for cross-run editorial context#939

Merged
pethers merged 11 commits intomainfrom
copilot/implement-mcp-functionality
Apr 4, 2026
Merged

feat: add repo-memory to all agentic workflows for cross-run editorial context#939
pethers merged 11 commits intomainfrom
copilot/implement-mcp-functionality

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 4, 2026

  • Analyze current domain allowlists across all 10 news workflows and skills files
  • Add euparliamentmonitor.com + www.euparliamentmonitor.com to network allowlists in all 10 news workflow .md files
  • Add euparliamentmonitor.com + www.euparliamentmonitor.com to safe-outputs allowed-domains in all 10 news workflow .md files
  • Update .github/skills/gh-aw-firewall.md with euparliamentmonitor.com documentation
  • Update .github/skills/github-agentic-workflows.md examples with euparliamentmonitor.com
  • Update analysis/methodologies/ai-driven-analysis-guide.md Hack23 ecosystem cross-reference table
  • Verify consistency across all files (10 workflows × 4 refs each, skills + analysis guide updated)
  • Fix "max 50KB total" → "max 50KB per file" wording in all 10 workflows (review feedback)
  • Recompile all 10 .lock.yml files via gh aw compile with shared concurrency group patch
  • Fix repo-memory path from /tmp/gh-aw/repo-memory-default/ to /tmp/gh-aw/repo-memory/default/ in all 10 workflows
  • Add scope clarification: news/-only rule applies to main workspace, repo-memory writes are explicitly allowed

…rial context

Instead of adding generic MCP servers (server-memory, sequential-thinking),
this uses gh-aw's built-in repo-memory tool which is superior:
- Persistent across runs (git-backed, unlimited retention)
- Shared branch allows all workflows to read each other's context
- Tracks generated articles to avoid duplicates
- Maintains editorial continuity across runs

Agent-Logs-Url: https://github.com/Hack23/euparliamentmonitor/sessions/b711fddd-f5b1-47ae-8e25-c9ebf97f19be

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
@github-actions github-actions bot added documentation Documentation updates infrastructure CI/CD and build infrastructure github_actions GitHub Actions updates workflows GitHub workflows labels Apr 4, 2026
@pethers pethers marked this pull request as ready for review April 4, 2026 12:04
@pethers pethers requested a review from Copilot April 4, 2026 12:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds gh-aw repo-memory support to the news-generation agentic workflow sources to preserve editorial/translation context across workflow runs (via a shared memory/news-generation branch).

Changes:

  • Added tools.repo-memory configuration to all 10 news-*.md gh-aw workflows (shared branch memory/news-generation with .md/.json allowlist and size limits).
  • Added a “Repo Memory — Cross-Run Editorial Context” instruction section to each workflow prompt describing read-at-start and write-at-end patterns.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 20 comments.

Show a summary per file
File Description
.github/workflows/news-breaking.md Adds repo-memory tool config and breaking-news memory read/write instructions.
.github/workflows/news-weekly-review.md Adds repo-memory tool config and weekly editorial continuity instructions.
.github/workflows/news-week-ahead.md Adds repo-memory tool config and cross-run planning context instructions.
.github/workflows/news-monthly-review.md Adds repo-memory tool config and monthly editorial continuity instructions.
.github/workflows/news-month-ahead.md Adds repo-memory tool config and cross-run strategic outlook context instructions.
.github/workflows/news-committee-reports.md Adds repo-memory tool config and cross-run committee coverage context instructions.
.github/workflows/news-propositions.md Adds repo-memory tool config and cross-run legislative procedure coverage context instructions.
.github/workflows/news-motions.md Adds repo-memory tool config and cross-run plenary/votes coverage context instructions.
.github/workflows/news-article-generator.md Adds repo-memory tool config and shared editorial context instructions for manual generation workflow.
.github/workflows/news-translate.md Adds repo-memory tool config and translation-progress log instructions.

Comment on lines 51 to +55
tools:
repo-memory:
branch-name: memory/news-generation
description: "Cross-run editorial memory for EU Parliament news generation"
file-glob: ["memory/news-generation/*.md", "memory/news-generation/*.json"]
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

These frontmatter changes won’t affect the actual GitHub Actions run until the corresponding .lock.yml is recompiled and committed (the repo executes the compiled lock workflow). Consider recompiling the gh-aw lock files as part of this PR (or triggering the compile workflow) so repo-memory is actually enabled on merge.

Copilot uses AI. Check for mistakes.
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
```

**At workflow END** — update memory (keep concise, max 50KB total):
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The text “max 50KB total” is misleading given the repo-memory config limits are per-file/per-patch (and allow multiple files). Suggest rewording to clarify the limit being per file (or align the tool limits if you truly want a total cap).

Suggested change
**At workflow END** — update memory (keep concise, max 50KB total):
**At workflow END** — update memory (keep concise, max 50KB per file):

Copilot uses AI. Check for mistakes.
Comment on lines 51 to +55
tools:
repo-memory:
branch-name: memory/news-generation
description: "Cross-run editorial memory for EU Parliament news generation"
file-glob: ["memory/news-generation/*.md", "memory/news-generation/*.json"]
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

These frontmatter changes won’t affect the actual GitHub Actions run until the corresponding .lock.yml is recompiled and committed (the repo executes the compiled lock workflow). Consider recompiling the gh-aw lock files as part of this PR (or triggering the compile workflow) so repo-memory is actually enabled on merge.

Copilot uses AI. Check for mistakes.
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
```

**At workflow END** — update memory (keep concise, max 50KB total):
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The text “max 50KB total” is misleading given the repo-memory config limits are per-file/per-patch (and allow multiple files). Suggest rewording to clarify the limit being per file (or align the tool limits if you truly want a total cap).

Suggested change
**At workflow END** — update memory (keep concise, max 50KB total):
**At workflow END** — update memory (keep concise; max 50KB per file):

Copilot uses AI. Check for mistakes.
Comment on lines 48 to +52
tools:
repo-memory:
branch-name: memory/news-generation
description: "Cross-run editorial memory for EU Parliament news generation"
file-glob: ["memory/news-generation/*.md", "memory/news-generation/*.json"]
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

These frontmatter changes won’t affect the actual GitHub Actions run until the corresponding .lock.yml is recompiled and committed (the repo executes the compiled lock workflow). Consider recompiling the gh-aw lock files as part of this PR (or triggering the compile workflow) so repo-memory is actually enabled on merge.

Copilot uses AI. Check for mistakes.
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
```

**At workflow END** — update memory (keep concise, max 50KB total):
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The text “max 50KB total” is misleading given the repo-memory config limits are per-file/per-patch (and allow multiple files). Suggest rewording to clarify the limit being per file (or align the tool limits if you truly want a total cap).

Suggested change
**At workflow END** — update memory (keep concise, max 50KB total):
**At workflow END** — update memory (keep concise; aim to keep each memory file under 50KB):

Copilot uses AI. Check for mistakes.
Comment on lines 59 to +63
tools:
repo-memory:
branch-name: memory/news-generation
description: "Cross-run editorial memory for EU Parliament news generation"
file-glob: ["memory/news-generation/*.md", "memory/news-generation/*.json"]
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

These frontmatter changes won’t affect the actual GitHub Actions run until the corresponding .lock.yml is recompiled and committed (the repo executes the compiled lock workflow). Consider recompiling the gh-aw lock files as part of this PR (or triggering the compile workflow) so repo-memory is actually enabled on merge.

Copilot uses AI. Check for mistakes.
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
```

**At workflow END** — update memory (keep concise, max 50KB total):
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The text “max 50KB total” is misleading given the repo-memory config limits are per-file/per-patch (and allow multiple files). Suggest rewording to clarify the limit being per file (or align the tool limits if you truly want a total cap).

Suggested change
**At workflow END** — update memory (keep concise, max 50KB total):
**At workflow END** — update memory (keep concise, max 50KB per file):

Copilot uses AI. Check for mistakes.
Comment on lines 70 to +74
tools:
repo-memory:
branch-name: memory/news-generation
description: "Cross-run editorial memory for EU Parliament news generation"
file-glob: ["memory/news-generation/*.md", "memory/news-generation/*.json"]
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

These frontmatter changes won’t affect the actual GitHub Actions run until the corresponding .lock.yml is recompiled and committed (the repo executes the compiled lock workflow). Consider recompiling the gh-aw lock files as part of this PR (or triggering the compile workflow) so repo-memory is actually enabled on merge.

Copilot uses AI. Check for mistakes.
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/translation-log.json 2>/dev/null || echo '[]'
```

**At workflow END** — update memory (keep concise, max 50KB total):
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The text “max 50KB total” is misleading given the repo-memory config limits are per-file/per-patch (and allow multiple files). Suggest rewording to clarify the limit being per file (or align the tool limits if you truly want a total cap).

Suggested change
**At workflow END** — update memory (keep concise, max 50KB total):
**At workflow END** — update memory (keep concise, max 50KB per memory file):

Copilot uses AI. Check for mistakes.
…c workflows

Both servers were installed in copilot-setup-steps.yml and configured in
copilot-mcp.json but never declared in workflow frontmatter, making them
unavailable at runtime in compiled .lock.yml files.

Changes:
- Added memory + sequential-thinking to mcp-servers: in all 10 news-*.md files
- Enhanced prompt sections with usage guidance for all three memory/reasoning tools:
  - Repo Memory (persistent, cross-run, git-backed)
  - Memory MCP (session-scoped knowledge graph for batch processing)
  - Sequential Thinking (structured reasoning chains for complex analysis)

Agent-Logs-Url: https://github.com/Hack23/euparliamentmonitor/sessions/ac0d2494-d445-40da-bda2-3d44152d0902

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
…per gh-aw best practices

- Remove overly broad *.com, *.org, *.io wildcards from 8 workflow network
  allowlists (violates AWF firewall best practice of "avoid wildcards")
- Add title-prefix "[news] " to create-pull-request safe-output in all 10 workflows
- Add max: 1 to add-comment safe-output in all 10 workflows
- Update github-agentic-workflows.md skill with current frontmatter patterns,
  network security best practices, and enhanced safe-output constraint docs
- Update gh-aw-firewall.md skill with ecosystem identifier guidance

Agent-Logs-Url: https://github.com/Hack23/euparliamentmonitor/sessions/1d534c35-cd01-43f8-84b5-e1f76700a0d8

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI and others added 2 commits April 4, 2026 12:49
…I analysis guides

- Add hack23.com, www.hack23.com, riksdagsmonitor.com, www.riksdagsmonitor.com
  to network allowlists and safe-outputs allowed-domains in all 10 workflows
- Enhance news-translate.md with per-language EP terminology standards table,
  translation quality dimensions (5-point scoring), and detailed language-specific
  requirements for Nordic, EU Core, RTL, and CJK language groups
- Add multi-language quality standards section to ai-driven-analysis-guide.md
  with translation fidelity rules, EP terminology table, and Hack23 ecosystem
  cross-reference documentation
- Enhance political-style-guide.md with translation-friendly writing rules
  (short sentences, explicit subjects, cultural neutrality) and translation
  quality checklist for all 13 target languages
- Update gh-aw-firewall.md and github-agentic-workflows.md skills with
  Hack23 ecosystem domain documentation and examples

Agent-Logs-Url: https://github.com/Hack23/euparliamentmonitor/sessions/9b564e9b-5cb3-4601-a179-d77f8ec3faa5

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
…uts across all workflows and docs

Agent-Logs-Url: https://github.com/Hack23/euparliamentmonitor/sessions/3b48463e-a5e2-4d6e-a334-c6d7df6668c9

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 9 comments.

Comment on lines 30 to 34
network:
allowed:
- node
- github.com
- api.github.com
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

These frontmatter changes (tightened network allowlist, added repo-memory + MCP servers, updated safe-outputs constraints) won’t take effect until the corresponding .lock.yml is regenerated and committed. Right now the tracked news-weekly-review.lock.yml still contains broad *.com/*.org/*.io allowlists, so merging this without recompiling leaves the executed workflow with the old (less secure) firewall config.

Copilot uses AI. Check for mistakes.
Comment on lines 30 to 34
network:
allowed:
- node
- github.com
- api.github.com
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

These frontmatter changes won’t affect the workflow that actually runs in GitHub Actions until news-week-ahead.lock.yml is regenerated (via gh aw compile) and committed. The current lock file still carries the old broad *.com/*.org/*.io allowlists, so the firewall tightening in this PR isn’t applied yet.

Copilot uses AI. Check for mistakes.
@@ -53,9 +53,12 @@ network:
- api.github.com
- data.europarl.europa.eu
- "*.europa.eu"
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

This workflow’s .md frontmatter updates (repo-memory, MCP servers, allowlists, safe-outputs constraints) require a recompile to update news-translate.lock.yml. As-is, the lock file still includes the previous broad *.com/*.org/*.io firewall entries, so the executed workflow remains over-permissive.

Suggested change
- "*.europa.eu"

Copilot uses AI. Check for mistakes.
@@ -35,9 +35,12 @@ network:
- data.europarl.europa.eu
- api.worldbank.org
- "*.europa.eu"
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Please regenerate and commit news-propositions.lock.yml as part of this PR. Without recompilation, GitHub Actions will keep running the existing lock workflow which still contains the old broad *.com/*.org/*.io allowlist entries (and won’t include repo-memory / new MCP servers).

Suggested change
- "*.europa.eu"
- europarl.europa.eu
- www.europarl.europa.eu

Copilot uses AI. Check for mistakes.
@@ -34,9 +34,12 @@ network:
- api.github.com
- data.europarl.europa.eu
- "*.europa.eu"
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

These security/behavior changes in the markdown source won’t apply to the running workflow until news-motions.lock.yml is regenerated and committed. The current lock file still includes broad *.com/*.org/*.io allowlists, so merging this without recompiling leaves the executed workflow configuration unchanged.

Suggested change
- "*.europa.eu"

Copilot uses AI. Check for mistakes.
@@ -35,9 +35,12 @@ network:
- data.europarl.europa.eu
- api.worldbank.org
- "*.europa.eu"
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Please recompile and commit news-monthly-review.lock.yml so the tightened allowlist, repo-memory, and safe-outputs constraints are actually used by GitHub Actions. The existing lock file still contains broad *.com/*.org/*.io allowlists, so the firewall hardening in this PR isn’t applied yet.

Suggested change
- "*.europa.eu"

Copilot uses AI. Check for mistakes.
@@ -35,9 +35,12 @@ network:
- data.europarl.europa.eu
- api.worldbank.org
- "*.europa.eu"
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

This .md update needs a gh aw compile (and committing the result) to update news-month-ahead.lock.yml. Until then, the executed lock workflow still contains broad *.com/*.org/*.io allowlists and won’t include the new repo-memory / MCP server configuration.

Suggested change
- "*.europa.eu"

Copilot uses AI. Check for mistakes.
@@ -34,9 +34,12 @@ network:
- api.github.com
- data.europarl.europa.eu
- "*.europa.eu"
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Please regenerate and commit news-committee-reports.lock.yml as part of this PR. Otherwise GitHub Actions will keep running the existing lock workflow which still includes broad *.com/*.org/*.io allowlists (and will not pick up repo-memory / updated safe-outputs constraints).

Suggested change
- "*.europa.eu"

Copilot uses AI. Check for mistakes.
Comment on lines +40 to +45
- hack23.com
- www.hack23.com
- riksdagsmonitor.com
- www.riksdagsmonitor.com
- euparliamentmonitor.com
- www.euparliamentmonitor.com
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

This workflow’s .md frontmatter changes require updating news-article-generator.lock.yml via gh aw compile. The current lock file still contains broad *.com/*.org/*.io allowlists, so merging this without committing the regenerated lock file leaves the executed workflow over-permissive and missing repo-memory/sequential-thinking.

Suggested change
- hack23.com
- www.hack23.com
- riksdagsmonitor.com
- www.riksdagsmonitor.com
- euparliamentmonitor.com
- www.euparliamentmonitor.com

Copilot uses AI. Check for mistakes.
@pethers
Copy link
Copy Markdown
Member

pethers commented Apr 4, 2026

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 4, 2026

@copilot apply changes based on the comments in this thread

Applied the review feedback in commit e45bb1b: changed "max 50KB total" → "max 50KB per file" across all 10 workflow .md files to accurately reflect the per-file limit in repo-memory config.

Regarding the .lock.yml recompilation comments: these .md source changes require a gh aw compile post-merge to regenerate the lock files. This is tracked as a post-merge task in the PR description since gh aw compile needs to run against the merged main branch.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.

Comment on lines 34 to +42
- api.github.com
- data.europarl.europa.eu
- "*.europa.eu"
- hack23.com
- www.hack23.com
- riksdagsmonitor.com
- www.riksdagsmonitor.com
- euparliamentmonitor.com
- www.euparliamentmonitor.com
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

These updates are only in the gh-aw markdown source. The compiled workflow that actually runs in GitHub Actions is news-breaking.lock.yml, and it still has the old firewall allowlist (no hack23.com / euparliamentmonitor.com) and no repo-memory tool config. Please run gh aw compile for the updated .md workflows and commit the regenerated *.lock.yml files in this PR; otherwise the new allowlists + repo-memory won’t take effect (and links may still be blocked by AWF).

Copilot uses AI. Check for mistakes.
@pethers
Copy link
Copy Markdown
Member

pethers commented Apr 4, 2026

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 4, 2026

@copilot apply changes based on the comments in this thread

Ran gh aw compile and committed all 10 regenerated .lock.yml files in 9078e47. The lock files now include the tightened network allowlists (no more broad *.com/*.org/*.io wildcards), repo-memory tool config, MCP servers, and updated safe-outputs constraints. Also applied the shared concurrency group patch for the 4 news workflows that use it.

@github-actions github-actions bot added the config Configuration changes label Apr 4, 2026
@pethers pethers requested a review from Copilot April 4, 2026 15:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 25 out of 25 changed files in this pull request and generated 10 comments.

Comment on lines +134 to +139
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.

**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Repo-memory path in the instructions doesn't match the actual directory used by the compiled workflow (lock file uses /tmp/gh-aw/repo-memory/default). With the current /tmp/gh-aw/repo-memory-default/ path, the START cat commands will always miss prior context. Update the path references in this section to the correct repo-memory directory.

Suggested change
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory/default`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'

Copilot uses AI. Check for mistakes.
Comment on lines +134 to +139
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.

**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Repo-memory path in the instructions doesn't match the actual directory used by the compiled workflow (lock file uses /tmp/gh-aw/repo-memory/default). With the current /tmp/gh-aw/repo-memory-default/ path, the START cat commands will always miss prior context. Update the path references in this section to the correct repo-memory directory.

Suggested change
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory/default`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'

Copilot uses AI. Check for mistakes.
Comment on lines +134 to +139
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.

**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Repo-memory path in the instructions doesn't match the actual directory used by the compiled workflow (lock file uses /tmp/gh-aw/repo-memory/default). With the current /tmp/gh-aw/repo-memory-default/ path, the START cat commands will always miss prior context. Update the path references in this section to the correct repo-memory directory.

Suggested change
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory/default`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'

Copilot uses AI. Check for mistakes.
Comment on lines +134 to +139
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.

**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Repo-memory path in the instructions doesn't match the actual directory used by the compiled workflow (lock file uses /tmp/gh-aw/repo-memory/default). With the current /tmp/gh-aw/repo-memory-default/ path, the START cat commands will always miss prior context. Update the path references in this section to the correct repo-memory directory.

Suggested change
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory/default`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'

Copilot uses AI. Check for mistakes.
Comment on lines +134 to +139
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.

**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Repo-memory path in the instructions doesn't match the actual directory used by the compiled workflow (lock file uses /tmp/gh-aw/repo-memory/default). With the current /tmp/gh-aw/repo-memory-default/ path, the START cat commands will always miss prior context. Update the path references in this section to the correct repo-memory directory.

Suggested change
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory/default`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'

Copilot uses AI. Check for mistakes.
Comment on lines +140 to +145
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.

**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Repo-memory path in the instructions doesn't match the actual directory used by the compiled workflow (lock file uses /tmp/gh-aw/repo-memory/default). With the current /tmp/gh-aw/repo-memory-default/ path, the START cat commands will always miss prior context. Update the path references in this section to the correct repo-memory directory.

Suggested change
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory/default`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'

Copilot uses AI. Check for mistakes.
Comment on lines +140 to +145
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.

**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Repo-memory path in the instructions doesn't match the actual directory used by the compiled workflow (lock file uses /tmp/gh-aw/repo-memory/default). With the current /tmp/gh-aw/repo-memory-default/ path, the START cat commands will always miss prior context. Update the path references in this section to the correct repo-memory directory.

Suggested change
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory/default/`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'

Copilot uses AI. Check for mistakes.
Comment on lines +140 to +145
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.

**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Repo-memory path in the instructions doesn't match the actual directory used by the compiled workflow (lock file uses /tmp/gh-aw/repo-memory/default). With the current /tmp/gh-aw/repo-memory-default/ path, the START cat commands will always miss prior context. Update the path references in this section to the correct repo-memory directory.

Suggested change
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory/default`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'

Copilot uses AI. Check for mistakes.
Comment on lines +142 to +147
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.

**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Repo-memory path in the instructions doesn't match the actual directory used by the compiled workflow (lock file uses /tmp/gh-aw/repo-memory/default). With the current /tmp/gh-aw/repo-memory-default/ path, the START cat commands will always miss prior context. Update the path references in this section to the correct repo-memory directory.

Suggested change
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory/default`. Use it to maintain editorial context across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/article-log.json 2>/dev/null || echo '[]'
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'

Copilot uses AI. Check for mistakes.
Comment on lines +162 to +166
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to track translation progress across runs.

**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/translation-log.json 2>/dev/null || echo '[]'
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

Repo-memory path in the instructions doesn't match the actual directory used by the compiled workflow (lock file uses /tmp/gh-aw/repo-memory/default). With the current /tmp/gh-aw/repo-memory-default/ path, the START cat command will always miss prior context. Update the path references in this section to the correct repo-memory directory.

Suggested change
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory-default/`. Use it to track translation progress across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory-default/memory/news-generation/translation-log.json 2>/dev/null || echo '[]'
This workflow has access to **persistent repo memory** at `/tmp/gh-aw/repo-memory/default`. Use it to track translation progress across runs.
**At workflow START** — read prior context:
```bash
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/translation-log.json 2>/dev/null || echo '[]'

Copilot uses AI. Check for mistakes.
@pethers
Copy link
Copy Markdown
Member

pethers commented Apr 4, 2026

@copilot apply changes based on the comments in this thread

… /tmp/gh-aw/repo-memory/default/ in all 10 workflows

Agent-Logs-Url: https://github.com/Hack23/euparliamentmonitor/sessions/521e808c-c96f-4ee9-92fd-c8d56875caa3

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 4, 2026

@copilot apply changes based on the comments in this thread

Fixed in 6772f04: corrected the repo-memory path from /tmp/gh-aw/repo-memory-default/ to /tmp/gh-aw/repo-memory/default/ across all 10 workflow .md files to match the actual checkout directory used by the compiled lock files.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 25 out of 25 changed files in this pull request and generated 10 comments.

Comment on lines +142 to +145
**At workflow END** — update memory (keep concise, max 50KB per file):
1. **`article-log.json`** — Append today's generated article metadata (date, type, slug, headline, key topics). Keep last 30 entries.
2. **`editorial-context.md`** — Brief summary of today's key findings, ongoing stories to track, and topics already covered this week.

Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The workflow scope restriction says the agent must only create files under news/, but this new section asks the agent to update repo-memory files at the end of the run. Please clarify that the news/-only rule applies to the main workspace, and that writing under /tmp/gh-aw/repo-memory/default/memory/news-generation/ (repo-memory branch) is explicitly allowed.

Copilot uses AI. Check for mistakes.
Comment on lines +142 to +145
**At workflow END** — update memory (keep concise, max 50KB per file):
1. **`article-log.json`** — Append today's generated article metadata (date, type, slug, headline, key topics). Keep last 30 entries.
2. **`editorial-context.md`** — Brief summary of today's key findings, ongoing stories to track, and topics already covered this week.

Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The workflow scope restriction says the agent must only create files under news/, but this new section asks the agent to update repo-memory files at the end of the run. Please clarify that the news/-only rule applies to the main workspace, and that writing under /tmp/gh-aw/repo-memory/default/memory/news-generation/ (repo-memory branch) is explicitly allowed.

Copilot uses AI. Check for mistakes.
Comment on lines +142 to +145
**At workflow END** — update memory (keep concise, max 50KB per file):
1. **`article-log.json`** — Append today's generated article metadata (date, type, slug, headline, key topics). Keep last 30 entries.
2. **`editorial-context.md`** — Brief summary of today's key findings, ongoing stories to track, and topics already covered this week.

Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The workflow scope restriction says the agent must only create files under news/, but this new section asks the agent to update repo-memory files at the end of the run. Please clarify that the news/-only rule applies to the main workspace, and that writing under /tmp/gh-aw/repo-memory/default/memory/news-generation/ (repo-memory branch) is explicitly allowed.

Copilot uses AI. Check for mistakes.
Comment on lines +143 to +145
1. **`article-log.json`** — Append today's generated article metadata (date, type, slug, headline, key topics). Keep last 30 entries.
2. **`editorial-context.md`** — Brief summary of today's key findings, ongoing stories to track, and topics already covered this week.

Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The workflow scope restriction says the agent must only create files under news/, but this new section asks the agent to update repo-memory files at the end of the run. Please clarify that the news/-only rule applies to the main workspace, and that writing under /tmp/gh-aw/repo-memory/default/memory/news-generation/ (repo-memory branch) is explicitly allowed.

Suggested change
1. **`article-log.json`** — Append today's generated article metadata (date, type, slug, headline, key topics). Keep last 30 entries.
2. **`editorial-context.md`** — Brief summary of today's key findings, ongoing stories to track, and topics already covered this week.
**Scope clarification**: The **`news/`-only file creation rule applies only to the main checked-out repository workspace**. It does **not** prohibit updating the separate repo-memory workspace under `/tmp/gh-aw/repo-memory/default/memory/news-generation/`, which is explicitly allowed for the memory files below.
1. **`/tmp/gh-aw/repo-memory/default/memory/news-generation/article-log.json`** — Append today's generated article metadata (date, type, slug, headline, key topics). Keep last 30 entries.
2. **`/tmp/gh-aw/repo-memory/default/memory/news-generation/editorial-context.md`** — Brief summary of today's key findings, ongoing stories to track, and topics already covered this week.

Copilot uses AI. Check for mistakes.
cat /tmp/gh-aw/repo-memory/default/memory/news-generation/editorial-context.md 2>/dev/null || echo 'No prior context'
```

**At workflow END** — update memory (keep concise, max 50KB per file):
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The workflow scope restriction says the agent must only create files under news/, but this new section asks the agent to update repo-memory files at the end of the run. Please clarify that the news/-only rule applies to the main workspace, and that writing under /tmp/gh-aw/repo-memory/default/memory/news-generation/ (repo-memory branch) is explicitly allowed.

Suggested change
**At workflow END** — update memory (keep concise, max 50KB per file):
**At workflow END** — update memory (keep concise, max 50KB per file):
> Clarification: the workflow rule to only create files under `news/` applies to the **main repository workspace**. Writing the repo-memory files under `/tmp/gh-aw/repo-memory/default/memory/news-generation/` is **explicitly allowed** for this workflow and does not count as creating files outside `news/` in the checked-out repository.

Copilot uses AI. Check for mistakes.
Comment on lines +142 to +145
**At workflow END** — update memory (keep concise, max 50KB per file):
1. **`article-log.json`** — Append today's generated article metadata (date, type, slug, headline, key topics). Keep last 30 entries.
2. **`editorial-context.md`** — Brief summary of today's key findings, ongoing stories to track, and topics already covered this week.

Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The workflow scope restriction says the agent must only create files under news/, but this new section asks the agent to update repo-memory files at the end of the run. Please clarify that the news/-only rule applies to the main workspace, and that writing under /tmp/gh-aw/repo-memory/default/memory/news-generation/ (repo-memory branch) is explicitly allowed.

Copilot uses AI. Check for mistakes.
Comment on lines +148 to +151
**At workflow END** — update memory (keep concise, max 50KB per file):
1. **`article-log.json`** — Append today's generated article metadata (date, type, slug, headline, key topics). Keep last 30 entries.
2. **`editorial-context.md`** — Brief summary of today's key findings, ongoing stories to track, and topics already covered this month.

Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The workflow scope restriction says the agent must only create files under news/, but this new section asks the agent to update repo-memory files at the end of the run. Please clarify that the news/-only rule applies to the main workspace, and that writing under /tmp/gh-aw/repo-memory/default/memory/news-generation/ (repo-memory branch) is explicitly allowed.

Copilot uses AI. Check for mistakes.
Comment on lines +148 to +151
**At workflow END** — update memory (keep concise, max 50KB per file):
1. **`article-log.json`** — Append today's generated article metadata (date, type, slug, headline, key topics). Keep last 30 entries.
2. **`editorial-context.md`** — Brief summary of today's key findings, ongoing stories to track, and topics already covered this month.

Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The workflow scope restriction says the agent must only create files under news/, but this new section asks the agent to update repo-memory files at the end of the run. Please clarify that the news/-only rule applies to the main workspace, and that writing under /tmp/gh-aw/repo-memory/default/memory/news-generation/ (repo-memory branch) is explicitly allowed.

Copilot uses AI. Check for mistakes.
Comment on lines +150 to +153
**At workflow END** — update memory (keep concise, max 50KB per file):
1. **`article-log.json`** — Append today's generated article metadata (date, type, slug, headline, key topics). Keep last 30 entries.
2. **`editorial-context.md`** — Brief summary of today's key findings, ongoing stories to track, and topics already covered this week.

Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

The workflow scope restriction says the agent must only create files under news/, but this new section asks the agent to update repo-memory files at the end of the run. Please clarify that the news/-only rule applies to the main workspace, and that writing under /tmp/gh-aw/repo-memory/default/memory/news-generation/ (repo-memory branch) is explicitly allowed.

Copilot uses AI. Check for mistakes.
Comment on lines +169 to +171
**At workflow END** — update memory (keep concise, max 50KB per file):
1. **`translation-log.json`** — Append today's translation metadata (date, source article, target languages, status). Keep last 30 entries.

Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

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

This workflow states it must only create translated files under news/, but this new section also asks the agent to update repo-memory (/tmp/gh-aw/repo-memory/default/memory/news-generation/translation-log.json). Please clarify that writing to repo-memory is allowed even though the main workspace must remain news/-only.

Copilot uses AI. Check for mistakes.
@pethers
Copy link
Copy Markdown
Member

pethers commented Apr 4, 2026

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 4, 2026

@copilot apply changes based on the comments in this thread

Added scope clarification in 311e81a: all 10 workflow .md files now include a blockquote after "At workflow END" clarifying that the news/-only file creation rule applies to the main repository workspace, and writing to /tmp/gh-aw/repo-memory/default/memory/news-generation/ is explicitly allowed. Also recompiled lock files with the concurrency group patch.

@pethers pethers merged commit 7b9d22d into main Apr 4, 2026
14 checks passed
@pethers pethers deleted the copilot/implement-mcp-functionality branch April 4, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration changes documentation Documentation updates github_actions GitHub Actions updates infrastructure CI/CD and build infrastructure workflows GitHub workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants