diff --git a/.gitea/workflows/scripts/publish.sh b/.gitea/workflows/scripts/publish.sh index 05cfd31..5ce5f52 100755 --- a/.gitea/workflows/scripts/publish.sh +++ b/.gitea/workflows/scripts/publish.sh @@ -107,7 +107,7 @@ if [ "$MODE" != "pr" ]; then PRN=$(resolve_pr) if grep -qiE '^[[:space:]]*APPROVE[[:space:]]*$' /tmp/agent_out.md; then post_to "$ISSN" "$(printf 'βœ… Reviewed PR #%s β€” looks good.\n\n%s%s' "${PRN:-?}" "$reply" "$activity")" - trig "$ISSN" "@pm β€” @qa approved PR #${PRN:-?} (issue #$ISSN). Over to you." + trig "$ISSN" "@pm β€” I have reviewed and approved PR #${PRN:-?} (issue #$ISSN). Over to you." elif grep -qiE '^[[:space:]]*BOUNCE:[[:space:]]*@(junior|senior|lead)' /tmp/agent_out.md; then dev=$(grep -oiE 'BOUNCE:[[:space:]]*@(junior|senior|lead)' /tmp/agent_out.md | head -1 | grep -oiE '(junior|senior|lead)' | tr '[:upper:]' '[:lower:]') [ -z "$dev" ] && [ -n "$PRN" ] && dev=$(curl -sS "${hdr[@]}" "$API/pulls/$PRN" | jq -r '.user.login // "junior"') @@ -120,7 +120,7 @@ if [ "$MODE" != "pr" ]; then post_to "$ISSN" "πŸ›‘ Still not right after 3 fix attempts on PR #${PRN:-?} β€” handing to @ffaerber (details on the PR)." else n=$((prior + 1)) - trig "$dest" "@${dev:-junior} please address @qa's review above and update PR #${PRN:-?} (fix attempt $n/3)." + trig "$dest" "@${dev:-junior} please address my review above and update PR #${PRN:-?} (fix attempt $n/3)." fi elif grep -qiE '^[[:space:]]*HALT([_ ]AUTOPILOT)?[[:space:]]*$' /tmp/agent_out.md; then [ "$AUTOPILOT" = "true" ] && del_autopilot_label "$ISSN" @@ -216,7 +216,7 @@ if [ "$MODE" != "pr" ]; then echo "DELEGATE:@qa but no open PR yet for issue #$ISSN β€” not firing" fi else - trig "$ISSN" "@$target please proceed with issue #$ISSN per the plan above (delegated by $NAME)." + trig "$ISSN" "@$target please proceed with issue #$ISSN per my plan above." fi else echo "no DELEGATE marker β€” not delegating (agent is asking or finished)" @@ -297,6 +297,6 @@ else # on the PR thread. The qa↔dev loop is direct β€” it does NOT go back through @pm each round. prpost "$prnum" "$(printf 'Pushed an update to PR #%s.%s' "$prnum" "$activity")" case "$NAME" in - junior|senior|lead) trig "$prnum" "@qa please re-verify PR #$prnum β€” the dev has pushed an update." ;; + junior|senior|lead) trig "$prnum" "@qa please re-verify PR #$prnum β€” I have pushed an update." ;; esac fi