Skip to content

cracktro: add Semantic duplicates slide - #77713

Merged
pelikhan merged 3 commits into
mainfrom
pelikhan/cracktro-semantic-duplicate-slide
Nov 14, 2026
Merged

pelikhan merged 3 commits into
mainfrom
pelikhan/cracktro-semantic-duplicate-slide

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

The talk deck had no slide on semantic duplicate detection: finding code that does the same thing despite looking different, which static clone detectors miss.

What

Adds slide 19, "Semantic duplicates" (after "Mine · Refine · Apply", loops group), to docs/public/cracktro/deck.js:

  • Eight synthetic Go snippets; a static clone scan sweeps them and reports "0 clones found".
  • The Duplicate Code Detector agent reads each card, extracts its intent (retry, slugify, parse duration, unique), and the chips fly into intent clusters.
  • A draft PR card closes the loop ("One retry helper, 3 call sites").
  • New sd- CSS and a dedupe sound theme.

All content is illustrative; speaker notes say so and name gh-aw's Duplicate Code Detector workflow.

Housekeeping

  • docs/tests/talk.spec.ts: 38 slides, new heading, notes check extended.
  • docs/README.md and .github/skills/cracktro/SKILL.md: slide count and shifted slide numbers.

Visually verified with headless Playwright screenshots; talk.spec.ts not run locally.

Illustrative slide showing intent-based clustering of code versus static clone detection.

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

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 recorded for the semantic-duplicates slide addition.

No open issues 🎉

What changed in this PR

Adds “Semantic duplicates” as slide 19 in gh-aw’s interactive talk deck, illustrating how agent-driven intent analysis can identify duplication missed by static clone detection.

Changes:

  • Adds eight synthetic Go snippets, animated intent clustering, and an illustrative draft PR outcome.
  • Introduces slide-specific styling and a dedupe sound theme.
  • Updates tests and documentation for the expanded 38-slide deck.
File Description
docs/​tests/​talk.spec.ts Updates slide counts, headings, navigation expectations, and notes coverage.
docs/​README.md Documents 38 slides and the expanded shareable link range.
docs/​public/​cracktro/​deck.js Adds the semantic duplicates slide, animation, styling, notes, and sound.
.github/​skills/​cracktro/​SKILL.md Updates the slide count and shifts referenced slide numbers.

Review effort: Balanced (dynamic)

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "57416b9a0490e85f6ca67bb14c11a3255c1eb8f5",
  "kind": "requested",
  "schema_version": "1",
  "state": "0573d0857b1563981dd1b4562f91e34d235842f2c8bda71201a0682c11d896d5",
  "work": [],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ⊞ 6.9K · ◷
Comment /souschef to run again

pelikhan and others added 2 commits November 14, 2026 06:32
Retitle to Semantic clustering and show the functions, files and counts from the 7 May 2026 report and the merged PR that closed it.

Co-authored-by: Copilot App <[email protected]>
@pelikhan
pelikhan merged commit 9768f2d into main Nov 14, 2026
5 checks passed
@pelikhan
pelikhan deleted the pelikhan/cracktro-semantic-duplicate-slide branch November 14, 2026 14:36
@gh-aw-bot
gh-aw-bot restored the pelikhan/cracktro-semantic-duplicate-slide branch November 14, 2026 14:51

Copilot AI commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:...

Ran make merge-main; it completed successfully and reported Already up to date. Refreshed origin/main (a7b5c69e) was already the second parent of merge commit 236f8780, so no new merge commit was needed. Workflow recompilation succeeded (367/367); incidental generated drift was discarded, leaving the working tree clean.

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.3.0

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.

4 participants