Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 21, 2025

Compiled .lock.yml files now include an ASCII art logo and the full markdown prompt in the header comments for improved documentation and review visibility.

Changes

  • Created pkg/workflow/assets/logo.txt - ASCII art rendering of "Agentic Workflows" (compact version for smaller footprint)
  • Modified pkg/workflow/compiler_yaml.go - Embedded logo via //go:embed, injected at top of lock files along with original markdown content after mermaid graph
  • Updated integration tests - Modified heredoc_interpolation_test.go, secure_markdown_rendering_test.go, and template_expression_integration_test.go to validate GitHub expressions appear in comment headers but not in prompt heredoc sections

Example Output

#
#    ___                    _   _      
#   / _ \                  | | (_)     
#  | |_| | __ _  ___ _ __ | |_ _  ___ 
#  |  _  |/ _` |/ _ \ '_ \| __| |/ __|
#  | | | | (_| |  __/ | | | |_| | (__ 
#  \_| |_/\__, |\___|_| |_|\__|_|\___|
#          __/ |                      
#  _    _ |___/  __ _                 
# | |  | |      / _| |                
# | |  | | ___ | |_| | _____      ____
# | |/\| |/ _ \|  _| |/ _ \ \ /\ / / ___|
# \  /\  / (_) | | | | (_) \ V  V /\__ \
#  \/  \/ \___/|_| |_|\___/ \_/\_/ |___/
#
# This file was automatically generated by gh-aw. DO NOT EDIT.
# ...
#
# Original Prompt:
# ```markdown
# You are an AI-focused issue triage bot...
# [Full markdown content]
# ```
#
# Pinned GitHub Actions:
#   - actions/checkout@v5 (93cb6efe...)
# ...

Reviewers can now see complete workflow context without opening the source .md file.

The logo is kept compact (48 characters wide) to maintain readability while providing clear visual branding.

Original prompt

Update the compiler to inject an ascii rendering of the agentic workflows logo in the initial comment.

  • generate ascii rendering of logo to text file
  • embed text file in compiler
  • inject in header comment in lock file

Also

  • inject original prompt context (markdown body) in comment for easy review

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits November 21, 2025 16:41
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update compiler to inject ASCII rendering of workflows logo Add ASCII logo and original prompt to compiled workflow headers Nov 21, 2025
Copilot AI requested a review from pelikhan November 21, 2025 16:49
@pelikhan
Copy link
Contributor

@copilot render "Agentic Workflows" only to keep the logo small

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 21, 2025

@copilot render "Agentic Workflows" only to keep the logo small

Updated in commit 74a1c65. The logo now renders only "Agentic Workflows", reducing width from 76 to 48 characters while maintaining the same 14-line height.

Visual comparison:

Before (76 chars wide):

#    _____ _ _   _   _       _       ___                    _   _      
#   / ____(_) | | | | |     | |     / _ \                  | | (_)     
#  | |  __ _| |_| |_| |_   _| |__  | |_| | __ _  ___ _ __ | |_ _  ___ 

After (48 chars wide):

#    ___                    _   _      
#   / _ \                  | | (_)     
#  | |_| | __ _  ___ _ __ | |_ _  ___ 

@pelikhan pelikhan marked this pull request as ready for review November 21, 2025 17:04
Copilot AI review requested due to automatic review settings November 21, 2025 17:04
@pelikhan pelikhan merged commit 13e72b5 into main Nov 21, 2025
105 of 106 checks passed
@pelikhan pelikhan deleted the copilot/update-compiler-ascii-logo branch November 21, 2025 17: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.

2 participants