Repository navigation
π competitor report: stop the publication gate rejecting Discord formatting (2026-11-09 report missing) - #17705
Conversation
β¦formatting The 2026-11-09 scheduled run (actions/runs/42622204563) failed in the safe_outputs grounding step with 'Discord and GitHub reports differ'. The validator added in #16251 required byte-equal bodies, while the prompt asks the agent to format the Discord post differently (bold headings, the project table as a fenced code block, <url> links, no Sources details). Normalise those differences before comparing prose, and check the Discord table by project names and notes instead. Signed-off-by: Andrew Anderson <andy@clubanderson.com>
|
/lgtm |
|
/approve |
|
@clubanderson: you cannot LGTM your own PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: clubanderson The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Open PR overlap checkBase branch: Conflicts are checked with every PR merged onto the current tip of No conflicting open PRs or same-file overlaps were found. |
|
merged by Hive trusted-author auto-merge: author @clubanderson holds role owner and GitHub permission admin on repo; CI green at ea9b321. |
|
Thank you for your contribution! Your PR has been merged. We'd love to hear how your experience was: share feedback |
Problem
The Discord "Hive weekly competitor report - 2026-11-09" never appeared. The scheduled run https://github.com/hivecommons/hive/actions/runs/42622204563 ran, the agent produced a full report, but the
safe_outputsjob failed at Validate source grounding before any report publication:so
post_to_discordwas skipped (the add_comment to #14613 was also withheld).Root cause
#16251 (merged 2026-11-02 20:39Z, after the 11-02 run at 13:04Z) added
competitor_report.py validate, which required the Discord message to be byte-identical to the GitHub visible report. The prompt inweekly-competitor-report.mdtells the agent the opposite: bold headings instead of###, the "Who does what" table as a fenced code block (Discord has no Markdown tables),<url>links, and no "Sources and queries"<details>on Discord. The agent followed the prompt; the gate rejected it. 11-09 was the first scheduled run with the gate, so it was guaranteed to fail.Fix
check_discord_matches()normalises the Discord-only formatting the prompt asks for (headings β bold,<url>/ Markdown links β bare URL, drop<details>), then requires the prose outside the "Who does what" section to match after whitespace collapsing.agent_output.jsonartifact through the new check: passes. Fixture updated (GitHub###+ Markdown table, Discord bold + fenced block + Owners note) and three regression tests added (allowed formatting differences; prose drift rejected; dropped project / dropped note rejected).docs/weekly-competitor-report.mdupdated to describe the gate.No change to the
.mdprompt or.lock.yml, so no recompile needed.Follow-up
After merge, a
workflow_dispatchcatch-up run will post this week's report.Refs #14613