[delight] UX Analysis 2026-05-30: poem-bot comment & design-decision-gate failure message #35944
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Delight. A newer discussion is available at Discussion #36132. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
User Experience Analysis Report — 2026-05-30
Executive Summary
Today's analysis reviewed 2 documentation files, 2 workflow message configurations, and 1 validation test file across gh-aw's user-facing surface.
Overall Quality: Mostly Professional with targeted improvement opportunities.
Key Finding: The
poem-bot.mdworkflow has a misplaced comment that creates a visually confusing YAML structure — readers must mentally reparse the file to understand which config block the comment applies to. A one-line fix eliminates the confusion entirely.Quality Highlights ✅
Highlight 1: GHE Debugging Guide
docs/src/content/docs/troubleshooting/debug-ghe.md> [!TIP] The one thing you must do differently from github.com is set api-target...Highlight 2: Dispatch Workflow Error Messages
pkg/workflow/dispatch_workflow_validation.go(validated by test)Improvement Opportunities 💡
High Priority
Opportunity 1: Misplaced Comment in poem-bot Messages Section — Single File Fix
.github/workflows/poem-bot.md# Deny all network accesssandwiched between the lastimports:list item andnetwork: {}, making the YAML visually ambiguous:- shared/otlp.md(the imports entry below it) but actually describesnetwork: {}(the key that follows). A reader must trace indentation carefully to understand the structure.shared/otlp.mdas a "network access" import or placingnetwork: {}incorrectly in their own workflows.network: {}:Medium Priority
Opportunity 2: Ambiguous
run-failureMessage in design-decision-gate.github/workflows/design-decision-gate.md{status}placeholder also produces slightly redundant output (the ❌ already signals failure), and the phrasing is asymmetric withrun-success.Files Reviewed
Documentation
docs/src/content/docs/troubleshooting/debug-ghe.md— Rating: ✅ Professionaldocs/src/content/docs/blog/2026-04-20-weekly-update.md— Rating: ✅ ProfessionalWorkflow Messages
.github/workflows/poem-bot.md— Rating:.github/workflows/design-decision-gate.md— Rating:Validation Code
pkg/workflow/dispatch_workflow_validation_test.go— Rating: ✅ Professional🎯 Actionable Tasks
Here are 2 targeted improvement tasks, each affecting a single file:
Task 1: Fix Misplaced Comment in poem-bot.md
File to Modify:
.github/workflows/poem-bot.mdCurrent Experience
The imports and network sections are visually conflated by a comment placed between the last import entry and the
networkkey:Quality Issue
Design Principle: Clarity and Precision
Comments in YAML workflows serve as inline documentation for contributors and operators. When a comment appears between list items and the next key, it visually annotates the wrong element, breaking the reader's mental model. Enterprise workflow authors routinely copy-paste frontmatter patterns — a misplaced comment propagates confusion.
Proposed Improvement
Move
- shared/otlp.mdabove the comment so the comment precedesnetwork: {}:Before:
After:
Why This Matters
poem-bot.mdis a reference workflow used as a template exampleSuccess Criteria
.github/workflows/poem-bot.mdonly- shared/otlp.mdappears as last item in the imports list before the comment# Deny all network accesscomment is the immediate line beforenetwork: {}Scope Constraint
.github/workflows/poem-bot.mdTask 2: Clarify run-failure Message in design-decision-gate.md
File to Modify:
.github/workflows/design-decision-gate.mdCurrent Experience
The
run-failurestatus message uses the word "during" and an asymmetric structure compared torun-success:Quality Issue
Design Principle: Professional Communication
"During" implies the event is still in progress. Enterprise PR reviewers scanning a timeline see this message as their go/no-go signal. The current wording may cause a reader to interpret the check as still running rather than having failed. Additionally, the asymmetry with
run-successreduces the scannable predictability of the message pair.Proposed Improvement
Replace "during" with an em-dash construction that clearly frames the outcome as complete:
Before:
After:
Why This Matters
Success Criteria
.github/workflows/design-decision-gate.mdonlyrun-failuremessage no longer uses the word "during"Scope Constraint
.github/workflows/design-decision-gate.mdMetrics
References: §26687029627
Beta Was this translation helpful? Give feedback.
All reactions