Skip to content

Require explicit terminal safe-output in Daily Agent of the Day Blog Writer#36854

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/debug-workflow-failure
Draft

Require explicit terminal safe-output in Daily Agent of the Day Blog Writer#36854
Copilot wants to merge 2 commits into
mainfrom
copilot/debug-workflow-failure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 4, 2026

The Daily Agent of the Day Blog Writer run could complete with success while emitting no safe outputs, which triggers failure reporting despite no job-level errors. The workflow prompt had a no-action guideline, but it did not enforce a terminal safe-output decision in blocked/incomplete paths.

  • Prompt contract hardening

    • Added a new Mandatory safe-output completion section to .github/workflows/daily-agent-of-the-day-blog-writer.md.
    • Requires the agent to finish with exactly one terminal safe-output:
      • create_pull_request when content is produced and ready for PR.
      • noop when analysis is complete and no action is needed.
      • report_incomplete when execution is blocked by infra/tooling constraints (e.g., permission-denied, unavailable MCP/tool access).
    • Explicitly prohibits ending with plain text and no safe-output call.
  • Compiled workflow update

    • Regenerated .github/workflows/daily-agent-of-the-day-blog-writer.lock.yml so runtime behavior reflects the prompt change.
### 8) Mandatory safe-output completion

You **MUST** finish by calling exactly one safe-output tool:

- `create_pull_request` when you created the blog post and are ready to open the PR.
- `noop` when no action is needed after valid analysis.
- `report_incomplete` when blocked by infrastructure/tooling failures.

Never end with plain text only and no safe-output call.

Copilot AI linked an issue Jun 4, 2026 that may be closed by this pull request
… writer

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix daily agent of the day workflow failure Require explicit terminal safe-output in Daily Agent of the Day Blog Writer Jun 4, 2026
Copilot AI requested a review from pelikhan June 4, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Daily Agent of the Day Blog Writer failed

2 participants