Conversation
Detect the date implementation at load time and translate BSD-style invocations to GNU when needed, so the snippet generator works on machines where GNU coreutils shadows the macOS system date (and on Linux). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Query issues the author opened, closed, and commented on for the week and render them alongside the authored/reviewed PR sections. GitHub search has no closed-by qualifier, so closed issues are approximated via assignee + state:closed. Make the generator test hermetic: inject a fake gh via a new GH_BIN seam and serve canned fixtures, removing the live API calls that tripped GitHub's search rate limit. Also add retry/backoff to search_issues for real runs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Make the four activity sections symmetric with the new issue headings: '### Authored' becomes '### PRs Authored' and '### Reviewed' becomes '### PRs Reviewed'. Also add jq unit cases for the reviewed-PR and three issue renderers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Define the Glydways/Open-Source split in terms of any activity (PR or issue) in the org, and tell the model to draw on issues opened, closed, and commented on when writing bullets. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two changes on this branch:
date: invalid option -- 'j'failure.lib/date.shwas hardcoded for BSDdate, which breaks when GNU coreutils shadows the systemdateon PATH (and on Linux). It now detects thedateflavor at load time and translates the BSD-style calls to GNU when needed — both paths verified.assignee+state:closed.Also reworked the generator test to be hermetic: it injects a fake
ghthrough a newGH_BINseam and serves canned fixtures, so it no longer hits the live GitHub API (the extra issue searches pushed it past GitHub's ~30/min search rate limit). Added retry/backoff tosearch_issuesfor real weekly runs too.Full suite passes (24/24), buildifier fmt+lint clean.
🤖 Generated with Claude Code