Skip to content

Add shared long-horizon memory workflow - #54892

Merged
pelikhan merged 5 commits into
mainfrom
copilot/task-9919-1036865607-5e709e00-8119-4269-834f-0923b64489e1
Aug 22, 2026
Merged

Add shared long-horizon memory workflow#54892
pelikhan merged 5 commits into
mainfrom
copilot/task-9919-1036865607-5e709e00-8119-4269-834f-0923b64489e1

Conversation

Copilot AI commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Adds a minimal, engine-independent long-horizon memory pattern using existing Repo Memory and shared workflow imports. Durable continuity comes from concise checkpoints and targeted historical records—not model sessions or new storage infrastructure.

  • Shared component

    • Adds shared/long-horizon-memory.md.
    • Parameterizes the Repo Memory workspace and memory/<id> branch.
  • Memory protocol

    • state.md: bounded current handoff.
    • runs/<run-id>.md: concise episodic history.
    • workspace/: optional durable notes and artifacts.
    • Requires reading state.md before deeper history.
  • Guardrails

    • Restricts files to Markdown, JSON, and JSONL.
    • Applies conservative file-count, file-size, and patch-size limits.
    • Prohibits secrets, transcripts, and automatic execution of persisted scripts.
  • Usage

imports:
  - uses: shared/long-horizon-memory.md
    with:
      id: repository-maintenance

Generated by 👨‍🍳 PR Sous Chef · gpt54 · 13 AIC · ⌖ 8.29 AIC · ⊞ 9.5K ·
Comment /souschef to run again

Copilot AI and others added 2 commits August 22, 2026 18:32
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan August 22, 2026 18:38
@pelikhan
pelikhan marked this pull request as ready for review August 22, 2026 18:48
Copilot AI balanced review requested due to automatic review settings August 22, 2026 18:48
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts on this branch.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a reusable Repo Memory protocol for durable workflow continuity.

Changes:

  • Adds bounded checkpoints, run history, and workspace artifacts.
  • Configures persistence guardrails.
  • Refreshes a generated workflow lock and removes workflow-routing guidance.
Show a summary per file
File Description
.github/workflows/shared/long-horizon-memory.md Defines the shared memory component and protocol.
.github/workflows/daily-documentation-diagram.lock.yml Refreshes generated timeout and detection behavior.
.github/skills/agentic-workflows/SKILL.md Removes skills/plugin routing guidance.

Review details

  • Files reviewed: 3/3 changed files
  • Comments generated: 3
  • Review effort level: Balanced

Comment on lines +13 to +16
file-glob:
- "state.md"
- "runs/**"
- "workspace/**"
Comment on lines +3 to +6
id:
type: string
required: true
description: "Stable memory identifier used as the Repo Memory branch suffix; use lowercase letters, digits, and hyphens"
Comment thread .github/skills/agentic-workflows/SKILL.md
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Aug 22, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts on this branch.

Resolved in merge commit 151668278e.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot this PR still needs forward progress.

  • Refresh the branch if needed and run the pr-finisher skill before handing back.

Run: https://github.com/github/gh-aw/actions/runs/32593943861

Generated by 👨‍🍳 PR Sous Chef · gpt54 · 12.8 AIC · ⌖ 8.27 AIC · ⊞ 7.1K ·
Comment /souschef to run again

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
pelikhan merged commit 552810b into main Aug 22, 2026
@pelikhan
pelikhan deleted the copilot/task-9919-1036865607-5e709e00-8119-4269-834f-0923b64489e1 branch August 22, 2026 21:03
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.87.5

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.

4 participants