Skip to content

feat: add archivx agentic workflows analyzer with glowmotion animated diagrams - #49816

Merged
pelikhan merged 2 commits into
mainfrom
copilot/update-archivx-agentic-workflows-analyzer
Aug 2, 2026
Merged

feat: add archivx agentic workflows analyzer with glowmotion animated diagrams#49816
pelikhan merged 2 commits into
mainfrom
copilot/update-archivx-agentic-workflows-analyzer

Conversation

Copilot AI commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Adds a new weekly workflow that analyzes the past 7 days of agentic workflow runs and produces a premium animated HTML architecture diagram using the glowmotion skill — self-contained, light/dark switchable, no external dependencies.

New workflow: archivx-agentic-workflows-analyzer

  • Data collection — fetches last 7 days of run logs via agentic-workflows MCP (logs, up to 200 runs); calls noop if fewer than 5 runs found
  • Animated diagram — authors a graph JSON describing the workflow ecosystem (grouped by category: analysis, triage, security, CI, reporting), renders with python3 layout.py in aurora dark theme, verifies with check_diagram.py to 0 violations
  • Artifact — uploads agentic-workflows-archivx.html (30-day retention) as archivx-animated-diagram
  • Discussion — creates a [archivx] weekly discussion with success rate, engine distribution, top failures, and a link to the animated artifact

Skill

Pinned: SylphAI-Inc/skills/skills/glowmotion@0a3dc91bab4ca2be12882540f5812ccbbcf01e40

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title feat: add archivx agentic workflows analyzer with glowmotion skill feat: add archivx agentic workflows analyzer with glowmotion animated diagrams Aug 2, 2026
Copilot AI requested a review from pelikhan August 2, 2026 16:30
@pelikhan

pelikhan commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

@copilot use api logs shared agentic workflows

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

Copilot AI commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

@copilot use api logs shared agentic workflows

Done. Replaced the inline agentic-workflows MCP logs call with the shared pre-fetch pattern:

  • Added a steps: pre-step that runs ./gh-aw logs --start-date -7d --count 200 -o /tmp/gh-aw/aw-mcp/logs before the agent starts
  • Added {{#runtime-import? shared/aw-logs-24h-fetch-prompt.md}} in the prompt body for directory structure context
  • Updated Step 1 to read aw_info.json files from /tmp/gh-aw/aw-mcp/logs/ instead of calling the MCP tool inline

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

✨ Great work, @Copilot! This archivx workflow looks polished and well-documented. You've added a premium feature for visualizing agentic workflow health with animated diagrams, and the implementation is focused and clean.

What stands out:

  • Clear, comprehensive description of what the workflow does
  • Skill is properly pinned with commit hash (glowmotion@0a3dc91...)
  • Both the .md (readable source) and .lock.yml (compiled, production-ready) are included
  • Scope is tight — exactly what's needed, no extra scope creep
  • In draft status, ready for review

The contribution follows the project guidelines well. Once you're ready to move out of draft, this should be good to merge. The weekly schedule, artifact uploads, and discussion creation make this a solid addition to the workflow ecosystem. 👍

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • patchdiff.githubusercontent.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "patchdiff.githubusercontent.com"

See Network Configuration for more information.

Generated by ✅ Contribution Check · auto · 55.1 AIC · ⌖ 4.76 AIC · ⊞ 8.8K ·

@pelikhan
pelikhan marked this pull request as ready for review August 2, 2026 17:38
Copilot AI review requested due to automatic review settings August 2, 2026 17:38
@pelikhan
pelikhan merged commit 3de14a6 into main Aug 2, 2026
@pelikhan
pelikhan deleted the copilot/update-archivx-agentic-workflows-analyzer branch August 2, 2026 17:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a weekly agentic workflow that analyzes recent workflow health and publishes an animated Glowmotion report.

Changes:

  • Collects seven days of workflow run data.
  • Generates and validates an animated HTML diagram.
  • Uploads the artifact and creates a summary discussion.
Show a summary per file
File Description
.github/workflows/archivx-agentic-workflows-analyzer.md Defines the analyzer workflow and reporting prompt.
.github/workflows/archivx-agentic-workflows-analyzer.lock.yml Compiled GitHub Actions workflow.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Suppressed comments (3)

.github/workflows/archivx-agentic-workflows-analyzer.md:68

  • aw_info.json is produced before the run finishes, so it does not contain the final conclusion or parsed token metrics needed for success rate, failures, and average tokens. Use each run’s run_summary.json for final workflow/conclusion/token data and aw_info.json only for engine metadata.
Workflow logs for the past 7 days have been pre-downloaded to `/tmp/gh-aw/aw-mcp/logs/`. Read the `aw_info.json` metadata files to extract:

.github/workflows/archivx-agentic-workflows-analyzer.md:77

  • gh aw logs writes a top-level summary.json alongside the run-* directories, so this command reports five entries when only four runs exist and incorrectly bypasses the fewer-than-five guard. Count processed run summaries instead.
ls /tmp/gh-aw/aw-mcp/logs/ | wc -l

.github/workflows/archivx-agentic-workflows-analyzer.md:82

  • The example still reads only activation metadata, so following it cannot determine which workflows failed or obtain final token metrics. Read the per-run summaries together with aw_info.json.
for d in /tmp/gh-aw/aw-mcp/logs/*/; do
  cat "$d/aw_info.json" 2>/dev/null || true
done
  • Files reviewed: 1/2 changed files
  • Comments generated: 2
  • Review effort level: Balanced


Analyze the past 7 days of agentic workflow runs and generate an animated visual summary using the glowmotion skill. Upload the diagram as an artifact and create a discussion with key insights.

{{#runtime-import? shared/aw-logs-24h-fetch-prompt.md}}

### Animated Diagram

The animated architecture diagram is attached as workflow artifact **archivx-animated-diagram**.
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.84.3

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.

3 participants