Skip to content

Open an issue summarising Lauren's changes after each sync - #3

Merged
garyj merged 3 commits into
mainfrom
feat/lauren-digest
Oct 16, 2026
Merged

garyj merged 3 commits into
mainfrom
feat/lauren-digest

Conversation

@garyj

@garyj garyj commented Oct 16, 2026

Copy link
Copy Markdown
Owner

garyj wants to see what Lauren changes in pstack without reading every cursor/plugins PR. This adds a digest that runs whenever a sync brings in new Cursor commits.

  • A digest job in sync.yml lists the merged cursor/plugins PRs that touched pstack/ in the synced range, sends their titles, descriptions and changed files to claude-sonnet-5-5 with the prompt in .github/scripts/digest-prompt.md, and opens an issue in this repo so GitHub emails the owner. Version-bump PRs are left out.
  • The range needs no stored state. Michael's upstream commits name the Cursor commit they mirror, so the job reads the fork's upstream before and after the sync. upstream now moves after the push, so a failed merge keeps the range for the next run.
  • Dispatching the workflow with from and to skips the sync and summarises that range.
  • Issues are now on for this fork, and the workflow has issues: write. It reads ANTHROPIC_API_KEY from the repo secrets.

Checks run:

  • A dispatch from this branch for e43c7ee to e5136d8 (0.15.9 to 0.15.25) opened pstack 0.15.9 → 0.15.25: what Lauren changed #2, covering 30 PRs, in 2m24s. I read it against the PR descriptions and found no invented claims.
  • The scheduled path (sync, then digest) hasn't run yet. There have been no new Cursor commits since the last sync.
  • autoreview (Codex) came back clean on the first commit. The two later commits pin setup-uv to v10.2.0, because v10 doesn't exist as a tag, and turn its cache off.

Generated by claude-opus-5-5 using the Claude Code harness.
Git author: Gary Jarrel [LC] <lara@jarrel.io>

garyj added 3 commits October 16, 2026 13:58
When a sync brings in new Cursor commits, a digest job lists the merged
cursor/plugins PRs that touched pstack in that range, asks Claude Sonnet
5.5 to summarise them, and opens an issue so GitHub emails the owner.

Michael's upstream commits name the Cursor commit they mirror, so the
range comes from the fork's upstream before and after the sync, with no
stored state. Setting upstream now runs after the push, so a failed merge
leaves the range in place for the next run. Dispatching with from and to
skips the sync and summarises that range.
Copilot AI balanced review requested due to automatic review settings October 16, 2026 03:02
@garyj
garyj merged commit d467523 into main Oct 16, 2026
@garyj
garyj deleted the feat/lauren-digest branch October 16, 2026 03:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Range discovery, failed-publication recovery, and empty-result handling need correction for reliable scheduled digests.

3 open findings
What changed in this PR

Adds issue-based digests so the fork’s owner can follow upstream pstack changes without reading each PR.

Changes:

  • Generates summaries from merged PR metadata, excluding version bumps.
  • Runs digests after syncs or for manually supplied commit ranges.
  • Defines summary content and attribution rules.
File Description
.github/​workflows/​sync.yml Captures sync boundaries and publishes digest issues.
.github/​scripts/​digest.py Collects PR metadata and generates digest output.
.github/​scripts/​digest-prompt.md Defines summary structure, factual limits, and author attribution.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +71 to +72
git push --force origin refs/remotes/michael/upstream:refs/heads/upstream
echo "moved=true" >> "$GITHUB_OUTPUT"
Comment thread .github/scripts/digest.py
Comment on lines +34 to +35
for commit in gh(f'repos/{REPO}/commits?path=pstack&sha={new}&per_page=100'):
if commit['sha'].startswith(old):
Comment thread .github/scripts/digest.py
Comment on lines +86 to +87
if not prs:
sys.exit(f'No merged pstack PRs between {old} and {new}')
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.

2 participants