Repository navigation
Make Cracktro agent-readable with slide summaries and compiled metadata - #78114
Conversation
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: 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.
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: 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.
|
There was a problem hiding this comment.
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
Comment MemoryPeek at saved memory (review-history)History |
Visual regression check: partial, comparison unavailableCaptured the built docs landing page ( Results
AccessibilityTargeted 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
Next actions
|
There was a problem hiding this comment.
🟡 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
#Nlinks 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); |
There was a problem hiding this comment.
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)"); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
hasPartdescriptions start withBand header (...):(confirmed by runninginjectSlideMetadataon the PR head). See the inline comment onslides.js. - Case-sensitive duplicate check:
Human agent processesandHuman Agent Processesboth 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.mdis 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:linecontext. - ✅ The JSON-LD
urlcheck 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
| "@type": "CreativeWork", | ||
| position: i + 1, | ||
| name: slide.heading, | ||
| description: slide.summary, |
There was a problem hiding this comment.
[/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.
There was a problem hiding this comment.
Band-header prefixes are now removed from public JSON-LD descriptions, with coverage asserting no description retains the prefix. Committed in 3afc21c.
| 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)})`); |
There was a problem hiding this comment.
[/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.
There was a problem hiding this comment.
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.
|
🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:
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"
}
|
…ro-skill Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
| 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}"`); |
|
🎉 This pull request is included in a new release. Release: |

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.
#NURLs into head JSON-LD during Astro compilation; serve matching metadata in development.