#!/usr/bin/env bash
set -euo pipefail
gh api "repos/gbharg/exult-agent/pulls/67/comments/3431586937/replies" -f body="Addressed in f22241c (option 1): moved the approval_text check below the dry_run branch and the dry-run response now returns the expected approval_text, consistent with the sibling write tools. Also dropped approval_text from the required schema so dry_run can be used to discover it." >/dev/null
echo "replied"
gh api graphql -f query='mutation($id:ID!){resolveReviewThread(input:{threadId:$id}){thread{isResolved}}}' -f id="PRRT_kwDOR5bkYM6KXIct" >/dev/null
echo "resolved"
