Repository navigation
[docs] docs: unbloat safe outputs reference - #75792
github-actions[bot] wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The documentation misstates completion-status and dependency behavior and removes published anchors, breaking existing deep links.
3 open issues
What changed in this PR
This documentation-only PR condenses gh-aw’s safe-output reference, aiming to reduce repetition while preserving configuration and security guidance.
Changes:
- Removes redundant examples and repeated workflow setup.
- Consolidates dependency, failure-reporting, no-op, project, discussion, and replay guidance.
- Replaces some inline examples with links to dedicated references.
| File | Description |
|---|---|
docs/src/content/docs/reference/safe-outputs.md |
Shortens safe-output documentation by consolidating explanations and removing repeated examples. |
Review effort: Balanced (auto)
| Dependencies apply within one safe-output processing pass (and Claim in queue | ||
| workflows). Custom safe jobs, `call_workflow`, `push_repo_memory`, `upload_asset`, | ||
| `noop`, diagnostics (`report_incomplete`, `report_missing_tool`, | ||
| `report_missing_data`), delegated outputs (`upload_code_coverage`, | ||
| `dispatch_workflow`, `dispatch_repository`), and custom action outputs reject | ||
| `depends-on` because they cannot establish prerequisites. Dependencies do not | ||
| roll back operations that already succeeded. |
| `noop` is enabled by default and reports a completion message such as `{"noop":{"message":"No action needed: analysis complete"}}`. The message appears in the step summary; public completion comments use the categorized outcome. | ||
|
|
||
| **Always include explicit `noop` instructions in your workflow prompts:** | ||
| The `[aw] No-Op Runs` tracker omits agent messages and uses the categorized body. `reported_no_action` means the agent reported no action, not that task completion was independently verified; `incomplete` applies when the run failed, and diagnostic-only conclusions remain unconfirmed. Existing tracker comments are not rewritten. |
| ##### Mixed Include and Exclude | ||
|
|
||
| Combine both syntaxes - categories must match included AND not match excluded: | ||
| Categories can be included, excluded with a `!` prefix, or combined (a failure must match an included category and none of the excluded categories): |
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|

Summary
Condense
docs/src/content/docs/reference/safe-outputs.mdwhile preserving configuration semantics, security requirements, anchors, and essential examples.Changes
Metrics
git diff --checkpassed.References
docs/src/content/docs/reference/safe-outputs.md