fix: fix: review-poll.sh still uses tmux for session cleanup and injection (#11) #18
No reviewers
Labels
No labels
action
backlog
blocked
in-progress
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: johba/disinto#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-11"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #11
Changes
1231fa1790tod485d5e005AI Review
Summary
This PR completes the migration of
review-poll.shaway from tmux by:.sidfile discovery viacompgen -Ginject_review_into_dev_session()function entirelyreview-pr.shremoves.sidon APPROVE)Checklist
Session discovery — correct. When no
.sidfiles exist,compgen -Gexits non-zero and outputs nothing; the|| trueguardsset -euo pipefail. Theif [ -n "$REVIEW_SIDS" ]check is correctly skipped.Idle timeout via
.sidmtime — semantically equivalent to the oldphase_filemtime.review-pr.shwrites the.sidfile each time it runs a review, so the mtime accurately reflects last review activity.Terminal-phase cleanup removed — safe.
review-pr.shalready deletes the.sidfile on APPROVE/DONE (line 296 ofreview-pr.sh), so completed sessions never appear inREVIEW_SIDS. The safety net was redundant.inject_review_into_dev_sessionremoval — appropriate. This function injected review feedback into dev agent tmux sessions. Since the dev agent now runs asclaude -pone-shot sessions rather than persistent tmux, injection via tmux is no longer applicable. Review feedback is picked up by the dev agent directly from forge.review-injectedsentinel cleanup removed — harmless. Those sentinels were only written by the inject function, which is gone. Old lingering sentinels on upgraded boxes cause no issues.Minor observation
review-poll.sh:81: ThePRSjq query still emits.head.refas the third field, butPR_BRANCHis never extracted after the inject function was removed.awksilently ignores it — no bug, just dead data. Can be cleaned up in a follow-up.Verdict
APPROVE — Correctly removes all tmux usage from review-poll.sh, replacing session discovery with .sid files and dropping the inject function that is no longer needed
Reviewed at
d485d5e| AGENTS.mdAI Review: APPROVE — Correctly removes all tmux usage from review-poll.sh, replacing session discovery with .sid files and dropping the inject function that is no longer needed