Skip to content

cracktro: per-slide random agent marks in brand colours - #78643

Merged
pelikhan merged 3 commits into
mainfrom
pelikhan/cracktro-random-agent-icons
Nov 17, 2026
Merged

pelikhan merged 3 commits into
mainfrom
pelikhan/cracktro-random-agent-icons

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

The cracktro deck draws every agentic-workflow node with the Copilot mark, which suggests gh-aw only works with Copilot. This PR gives each slide a randomly chosen agent mark so the deck shows the range of supported engines.

Approach

  • Agent marks: adds claude, codex, pi and agy (Antigravity) to the deck's OCTI icon table. Pi and Antigravity come from docs/src/components/landing/HowItWorksEngineLogos.ts, rescaled to the 24-unit grid the slide ico() helpers expect.
  • Deterministic pick: a seeded PRNG (pickAgent()) chooses one agent from codex/claude/copilot/pi/agy per slide when the deck loads. Each slide block sets const AG = pickAgent(); and every workflow-agent node on that slide uses AG, so the mark is the same within a slide. Repo Assist on Event-driven Hand-offs gets its own pick (AG_RA).
  • Brand colours: AGENT_BRAND sets the disc and mark colours for each agent: Claude orange #D97757, Antigravity blue #3186FF, Copilot purple (unchanged), and inverted black-and-white discs for Codex and Pi because their brands are monochrome. The helpers agDisc / agFg / agAvatar apply these colours to SVG discs, HTML avatars and bare marks.

What still shows Copilot

  • Nodes for the Copilot coding agent itself, for example nodes labelled "Copilot" and PR author badges.
  • Engine lists and data tables, which already list several engines.
  • Copilot is also one of the five agents in the random pool, so some slides still show it.

Review notes

  • Picks happen in source order, so adding or removing a pick before a slide changes the agent on every later slide. That is fine because the goal is variety, not a fixed agent per slide.
  • No slide messages changed, so slides.md is unchanged.
  • Checked in a local preview: all 85 slides render with no JS errors, and each disc shows its agent's colours. Screenshots could not be captured in this environment (the browser canvas timed out), so @pelikhan, please attach before/after screenshots of one or two flow slides (for example Event-driven Hand-offs and Budget steering).
  • The Playwright tests (docs/tests/talk.spec.ts) were not run locally because node_modules is not installed.

…rkflow nodes

Workflow agent nodes draw a seeded per-slide pick from codex/claude/copilot/pi/agy;
nodes for the Copilot coding agent keep the Copilot mark. Discs use each agent's
brand colours (Claude orange, Antigravity blue, Copilot purple, monochrome Codex/Pi).

Co-authored-by: Copilot App <[email protected]>
@pelikhan
pelikhan marked this pull request as ready for review November 17, 2026 05:37
Copilot AI adaptive review requested due to automatic review settings November 17, 2026 05:37

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.

🟢 Approval recommended

No active review issues are reported for the agent-branding presentation update.

No open issues 🎉

What changed in this PR

Updates the cracktro presentation to show a wider range of gh-aw engines rather than using Copilot marks for all workflow-agent nodes.

Changes:

  • Adds Claude, Codex, Pi and Antigravity marks with shared brand-colour helpers.
  • Uses seeded per-slide agent selection to provide repeatable visual variety.
  • Preserves Copilot marks for explicitly Copilot-labelled nodes and leaves slide messages unchanged.
File Description
docs/​public/​cracktro/​deck.js Adds agent marks, deterministic selection and colour helpers, then applies them across workflow diagrams and avatars.

Review effort: Balanced (adaptive)

@pelikhan

Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts on this branch.

pelikhan and others added 2 commits November 17, 2026 06:01
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…dom-agent-icons

# Conflicts:
#	docs/public/cracktro/deck.js

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copilot AI commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts on this branch.

Resolved in merge commit 1eb35d8be3, preserving agent branding alongside main’s slide removals and wording updates. Final repository validation, JavaScript syntax, and secret checks passed. CodeQL timed out; Playwright was not run because docs dependencies are missing.

@pelikhan
pelikhan merged commit d6f2493 into main Nov 17, 2026
5 checks passed
@pelikhan
pelikhan deleted the pelikhan/cracktro-random-agent-icons branch November 17, 2026 06:08
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.3.1

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