Repository navigation
feat: pr-watch scopes --all-open to own PRs, sends only changed lines; YT_BIN for bins (#85) - #89
Merged
Merged
Conversation
…ines, scoped status (#85) register --all-open registers only PRs of the gh login; --author widens, drafts and do-not-merge labels are skipped unless --include-drafts / --include-labelled. The prompt block lists changed lines plus 'N unchanged'; a PR action_required unchanged for 24 h gets one pause suggestion. status shows the current session and repository unless --all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…inate runs bins through it (#85) The coordinator called bins by a versioned cache path and kept it after an update (exit 127). The coordinate preamble prints YT_BIN=<canonical bin dir> and the skill runs bins as "$YT_BIN/ytstack-<name>". SessionStart appends the line on every source only where it fits under the injection guard, so it never costs the Next action excerpt. coordinate's --all-open sentence follows the new own-PR default. coordinate 0.5.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d7c64f3d29
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… pause, login fallback (PR #89 review) - A watch of the last block that closed gets one 'closed (merged)' / 'closed' line and leaves the unchanged count (a merge without a bot finding had no report at all). - The 24 h pause hint comes once per stretch (meta pause-hint:<session>, not reset on SessionStart), not again when only the findings change; NULL changed_at counts as long ago. - --all-open pauses watches of this session the filter now skips; a failed login lookup errors with a pointer to --author, or uses only --author with a warning; labels match 'do not merge' / 'dnm' as words; --author ignores a [bot] suffix; the filter flags need --all-open. - status compares the repository without case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # .ytstack/DECISIONS.md # CHANGELOG.md
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.
What changes
PR watch (issue #85):
register --all-openregisters only open PRs whose author is theghlogin.--author <login>[,<login>]adds authors. Drafts and labels that readdo-not-merge(any case, spaces/underscores, alsodo-not-merge/hold) are skipped unless--include-drafts/--include-labelled. Every skipped PR is named with its reason.register --pr Nis unchanged.- N unchanged. The fingerprint is now kept per line (an old whole-block fingerprint reads as "show everything once").action_requiredfor 24 h with no head or status change gets one line suggestingytstack-pr-watch pause --repo R --pr N. It shows once, when the line crosses 24 h. Paused PRs never get it.statusshows only the current session and theoriginrepo of the working directory, and prints thescopeit used.--session/--repooverride it,--allshows everything.healthis always printed whole, so the coordinate preamble's heartbeat read still works.Bins (issue #85, "bins not on PATH"):
coordinatepreamble printsYT_BIN=<canonical bin dir>. The skill now says to run every bin as"$YT_BIN/ytstack-<name>", with the value set in the same command.coordinategoes to 0.5.1, and its--all-opensentence matches the new default.YT_BIN=<dir>on every source (resume and compaction too), but only when it still fits under the injection guard. This repo's injection is within about 50 characters of the guard when the Next action is long, so the line gives way rather than cost that excerpt.Decisions
DECISIONS 2026-11-15 "PR watch bulk registration takes only your own ready PRs; bins are called through
YT_BIN(issue #85)":--all-openexists for.YT_BINrather than a~/.ytstack/binshim. A shim is an installed file in the user's home and points at whatever version was active last. ytstack does not editPATHor host settings.Verification
python3 bin/ytstack-check:OK (with 9 warning[s]), exit 2 (warnings only; none come from this change)bash tests/run-all.sh: exit 0, 3315 passed, 0 failed across all suites, including pr-watch (60 shell cases plus 93 engine unit tests), skill-preambles 664, session-notices 63 and hooks-readonly 71tests/pr_watch/test_scope.pycovers changed lines, the pause hint and status scope.test_register_all.pycovers the author, draft and label filters.ghis always mocked (github.login), andtest_session_spelling.pynow mocks it too.Closes #85
🤖 Generated with Claude Code