Skip to content

Make Cracktro agent-readable with slide summaries and compiled metadata - #78114

Merged
pelikhan merged 3 commits into
mainfrom
copilot/update-cracktro-skill
Nov 15, 2026
Merged

pelikhan merged 3 commits into
mainfrom
copilot/update-cracktro-skill

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Give agents a complete deck outline and direct slide links without executing the presentation. Keep executive summaries synchronized with slide content through the Cracktro skill.

  • Canonical outline: Add concise summaries for all 68 slides, including band headers, to the existing Markdown slide list.
  • Page metadata: Inject ordered titles, summaries, positions, and #N URLs into head JSON-LD during Astro compilation; serve matching metadata in development.
  • Maintenance contract: Require summary updates alongside slide changes. Share list parsing across generation and regression coverage, rejecting malformed or missing entries.
  • Preservation: Leave handwritten HTML and existing social metadata unchanged; escape slide text safely.

@pelikhan pelikhan changed the title Make Cracktro agent-friendly with slide summaries and compiled metadata Make Cracktro agent-readable with slide summaries and compiled metadata Nov 15, 2026
@pelikhan
pelikhan marked this pull request as ready for review November 15, 2026 17:38
Copilot AI adaptive review requested due to automatic review settings November 15, 2026 17:38
@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ⊞ 7.2K · ◷

@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt56 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.5K · ◷

@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~7 AIC · ⌖ ~2 AIC · ⊞ 6.6K · ◷

@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by Ponytail Reviewer for #78114 · codex · routed: gpt61 medium · ~5 AIC · ⌖ ~1 AIC · ⊞ 185 · ◷

@github-actions github-actions Bot 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.

Reviewed the changed lines and related Cracktro metadata integration, parser, and tests. I found no actionable correctness, performance, or maintainability issues. The delegated first-pass specialist was unavailable because its file-read permission was rejected; this review is based on my independent static analysis. No tests were run per the static-review constraints.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.5K
Comment /review to run again

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (review-history)
{"id":"ldg-d81aba02-2f11-4366-93bc-b741beed4227","parents":[],"payload":{"id":"ldg-e646b5bb-f2b7-419f-b26c-64180ceb6a8b","operation":"append","value":{"finding_count":0,"head_sha":"d59875e886d35eddd67de06c16a3aebb97fcfdd0","outcome":"no_findings"}},"sha":"sha256:e92e693dbb9785b87ad588e8cac35fcb17b1ecede86532131f6a58ac4b1b5630","timestamp":"2026-11-15T17:44:40.627Z","type":"ledger_append","version":1}
History

@github-actions

Copy link
Copy Markdown
Contributor

Visual regression check: partial, comparison unavailable

Captured the built docs landing page (/gh-aw/) at three viewports inside the sandbox. Visual comparison did not run because no baseline is provisioned for this workflow, so no page is marked unchanged.

Results

Page Viewport Capture Comparison
/gh-aw/ Mobile 375x812 captured unavailable
/gh-aw/ Tablet 768x1024 captured unavailable
/gh-aw/ Desktop 1440x900 captured unavailable

Accessibility

Targeted checks on the accessibility snapshot found no clear issues: a single h1, heading levels that looked sequential, and images with alt text. Four links that appeared unnamed were false positives, since each contains visible text. This is not an exhaustive compliance audit. Contrast, focus order, and keyboard behavior were not checked.

Console and setup notes
  • Console: 0 errors, 4 warnings, all WebGL GPU stall messages from ReadPixels (performance messages, not errors).
  • Preview readiness: confirmed by the Astro ready log and a successful page load. The scripted curl readiness poll was denied by tool policy, so it did not run.
  • Cleanup: browser closed and preview server stopped. Removing the .playwright-cli session directory was denied by tool policy, so it remains in the workspace.

Next actions

  • Provision an authorized baseline to enable real visual comparison.
  • Extend the check to more docs pages if they are in scope.

Generated by 👁️ Visual Regression Checker for #78114 · copilot · routed: haiku55 xhigh · ~3 AIC · ⌖ ~1 AIC · ⊞ 3.1K · ◷

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.

🟡 Changes recommended

The parser silently drops malformed final slide rows, and the docs workflow omits the new summary input from its path filters, allowing incomplete output and unvalidated edits.

2 open issues
What changed in this PR

Makes the Cracktro presentation readable by agents without running the deck, using the canonical slide list to generate page metadata.

Changes:

  • Adds public, one-sentence summaries for all 68 slides.
  • Injects ordered slide metadata and direct #N links during builds and development.
  • Shares parsing across generation and tests, and documents summary maintenance requirements.
File Description
docs/​tests/​talk.spec.ts Adds parser, metadata, escaping, and slide-link coverage.
docs/​src/​lib/​cracktro/​slides.js Parses the slide list and safely injects JSON-LD.
docs/​src/​lib/​cracktro/​integration.js Adds metadata to built and development pages.
docs/​README.md Documents the canonical outline and generated metadata.
docs/​astro.config.mjs Registers the Cracktro metadata integration.
.github/​skills/​cracktro/​slides.md Adds summaries and defines the table format.
.github/​skills/​cracktro/​SKILL.md Updates navigation, maintenance, and verification guidance.

Review effort: Balanced (dynamic)


import { readFileSync } from "node:fs";

export const SLIDES_FILE = new URL("../../../../.github/skills/cracktro/slides.md", import.meta.url);

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.

Added .github/skills/cracktro/slides.md to both docs workflow path filters. Committed in 3afc21c.

}
if (!slides.length) fail(headerIndex, "slide table has no rows");
for (; index < lines.length; index++) {
if (isRow(lines[index])) fail(index, "table row outside the slide table (one table only, no blank lines inside it)");

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.

The parser now rejects nonblank malformed content after the table and reports its source line; added the missing-leading-pipe regression case. Committed in 3afc21c.

@github-actions github-actions Bot 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.

Skills-Based Review 🧠

Applied /tdd (the parser and injector are test-driven, with good malformed-row and escape coverage) and reviewed the design against /codebase-design. Requesting changes on two parser and metadata defects.

📋 Key Themes & Highlights

Key Themes

  • Band-header label leaks into public JSON-LD: 8 hasPart descriptions start with Band header (...): (confirmed by running injectSlideMetadata on the PR head). See the inline comment on slides.js.
  • Case-sensitive duplicate check: Human agent processes and Human Agent Processes both pass.
  • Unverified in this review: Playwright tests were not run (no docs/node_modules). The docs CI build should confirm that .github/skills/cracktro/slides.md is present at build time.
  • Judgement call, not blocking: several summaries describe recurring activity ("A daily ...", "each day"). SKILL.md forbids aging counts or dates, so confirm whether "daily" is meant to be allowed.

Positive Highlights

  • ✅ Strict parser errors carry source:line context.
  • ✅ The JSON-LD url check and <, >, &, U+2028/2029 escaping are well covered.
  • ✅ Idempotent injection is tested, and the hasPart-free source is asserted.
  • ✅ The maintainer contract in SKILL.md and README is updated consistently.

@copilot please address the review comments above.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~7 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again

Comment thread docs/src/lib/cracktro/slides.js Outdated
"@type": "CreativeWork",
position: i + 1,
name: slide.heading,
description: slide.summary,

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.

[/tdd] Band-header rows leak their internal label into public JSON-LD. description: slide.summary passes Band header (Human agent processes): ... through unchanged, so 8 hasPart descriptions carry the prefix (confirmed by running injectSlideMetadata on the PR head).

💡 Suggested fix

Strip the prefix in slideParts, for example slide.summary.replace(/^Band header \([^)]*\):\s*/, ""), then add a test that no hasPart description starts with Band header (. The existing slides.md metadata block in talk.spec.ts is the natural place for it.

@copilot please address this.

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.

Band-header prefixes are now removed from public JSON-LD descriptions, with coverage asserting no description retains the prefix. Committed in 3afc21c.

Comment thread docs/src/lib/cracktro/slides.js Outdated
if (!heading) fail(index, "empty Heading");
if (!NOTES.has(notes)) fail(index, `unknown Notes value "${notes}" (expected empty or "illustrative")`);
if (!summary) fail(index, `empty Summary for "${heading}"`);
if (headings.has(heading)) fail(index, `duplicate Heading "${heading}" (first on line ${headings.get(heading)})`);

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.

[/tdd] The duplicate-Heading check is case-sensitive, so Human agent processes (band header, slides.md line 32) and Human Agent Processes (slide, line 33) both pass. Readers and the JSON-LD name values treat these as duplicates.

💡 Suggested fix

Key headings on heading.toLowerCase(), and add a talk.spec.ts case with two headings that differ only by case, asserting the duplicate Heading error. Also decide whether band headers should share the slide-heading namespace at all.

@copilot please address this.

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.

Heading uniqueness is case-insensitive across the shared namespace. I renamed the rendered slide title to “Event-driven Hand-offs” so the outline remains exact and has no collision with its band header. Committed in 3afc21c.

@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.
  2. Review (docs/src/lib/cracktro/slides.js:6): address unresolved feedback - Review comment
  3. Review (docs/src/lib/cracktro/slides.js:61): address unresolved feedback - Review comment
  4. Review (docs/src/lib/cracktro/slides.js:84): address unresolved feedback - Review comment
  5. Review (docs/src/lib/cracktro/slides.js:53): address unresolved feedback - Review comment

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

Structured data
{
  "completed_task": 0,
  "head": "d59875e886d35eddd67de06c16a3aebb97fcfdd0",
  "kind": "requested",
  "schema_version": "1",
  "state": "a7dda3dc719e4b1358f383e340066c81058392f13d6b344b0d7dfd33c2fefec9",
  "work": [
    "4e0efb90cf8dccecf9a6b849a197e5e3e7e4ca0a7180f29bf0c381aaa6d9afa6",
    "632de0fab042bc99263afbffade84e9961660227ee272372e6b44e79b107311a",
    "812f5f1ebe096868f1b780863231c8b8be9bbd81b8b273ee681ac612dbdfbfc6",
    "87b0612a56b6dd47c517e1586bd06cc4edfe7cd6cd15d19a8e1c89f1489aa348"
  ],
  "workflow": "pr-sous-chef"
}

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

gh-aw-bot and others added 2 commits November 15, 2026 18:09
const [heading, notes, summary] = cells;
if (!heading) fail(index, "empty Heading");
if (!NOTES.has(notes)) fail(index, `unknown Notes value "${notes}" (expected empty or "illustrative")`);
if (!summary) fail(index, `empty Summary for "${heading}"`);
@pelikhan
pelikhan merged commit eaa6663 into main Nov 15, 2026
71 of 72 checks passed
@pelikhan
pelikhan deleted the copilot/update-cracktro-skill branch November 15, 2026 19:49
@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.

5 participants