Skip to content

docs(#566): document video embed convention for resource entries - #567

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/566-document-video-embed-convention
Open

fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/566-document-video-embed-convention

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Summary

Adds an AGENTS.md file at the repo root documenting the resources
page's embedded-video convention: entries in
website/content/resources/_index.md that link to a video must embed
the player inline via the {{< rawhtml >}} shortcode with an
<iframe> when the hosting platform exposes an embed URL (YouTube
/embed/, Google Drive /preview). Article-only entries and media
with no embeddable player are exempt.

Motivation

On #548 the initial commit for the Red Hat Summit 2026 demo did not
embed a video player. The review agent flagged the missing embed at
low severity — softening it because a prior article-only entry also
lacked an embed — and a human maintainer then had to change-request
the addition. The convention is already followed everywhere else on
the resources page (five YouTube iframes, one Google Drive preview,
one FOSDEM <video> tag) but was not written down. Recording it in
AGENTS.md gives the review agent an anchor to raise a missing
embed to at least medium severity in future PRs, and tells human
contributors what to include on first push.

Notes

  • AGENTS.md does not exist in the repository today, so this PR
    creates it. Only the website content convention is included — no
    unrelated agent guidance was added.
  • No source content was restructured. The existing article-only
    resource entry is left as-is; the fallback clause in the rule
    explicitly covers it.
  • Docs-only change; verification is behavioral and runs against
    future video-resource PRs per the acceptance criteria in the
    issue.

Closes #566

Post-script verification

  • Branch is not main/master (agent/566-document-video-embed-convention)
  • Secret scan passed (gitleaks — e34320da46a2afbb6f7b1cee2afcb7954944498a..HEAD)
  • PR body secret scan passed (gitleaks — no-git)

Add AGENTS.md at the repo root with a "Website content conventions"
section stating that resource entries in
website/content/resources/_index.md which link to a video must embed
the player inline via the {{< rawhtml >}} shortcode with an <iframe>
when the hosting platform exposes an embed URL (YouTube /embed/,
Google Drive /preview). Article-only entries and media with no
embeddable player are exempt.

The convention already holds for the existing entries in _index.md
(five YouTube iframe embeds, one Google Drive preview, one FOSDEM
<video> tag) but was not written down anywhere the review agent
could cite, leading to a soft "low" finding on PR #548 that a human
reviewer then upgraded to a change request. Recording the rule here
gives future review runs a firm anchor.

Closes #566
@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from a team as a code owner September 14, 2026 07:04
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Triggers review agent dispatch label Sep 14, 2026
@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 094ddc6a-9e29-4980-ab94-13913760db7c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@fullsend-ai-review

fullsend-ai-review Bot commented Sep 14, 2026

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 7:05 AM UTC · Completed 7:16 AM UTC

Commit: cd01138 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-7 · Effort: high · Cost: $5.48

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview is available at https://2b69a1e6.enterprise-contract.pages.dev

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Sep 14, 2026
@fullsend-ai-review

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Tiny docs-only addition by a bot with matching issue scope; edits one protected path (AGENTS.md itself), which elevates Tier 1 above a pure typo-fix baseline and yields a weighted composite of ~1.5, rounding to moderate.

@fullsend-ai-review

Copy link
Copy Markdown

Review

Findings

Medium

  • [docs-currency] AGENTS.md:6 — The new rule prescribes exactly one embed shape ({{< rawhtml >}} + <iframe> when the hosting platform exposes an embed URL) with a fallback that only covers "media with no embeddable player." However, website/content/resources/_index.md lines 66–75 (the FOSDEM entry "From Passive Data to Active Defense") embeds the video with an HTML5 <video> element and <source> tags pointing at direct .webm/.mp4 files, because FOSDEM publishes downloadable video files rather than an iframe embed URL. Under the new rule this entry falls into an undocumented gap — it is neither iframe-embeddable nor "media with no embeddable player." An agent following AGENTS.md literally could either try to force an iframe (which FOSDEM does not offer) or drop the inline player entirely.
    Remediation: Extend the rule to cover the <video>-with-<source> pattern, e.g., "use <iframe> inside {{< rawhtml >}} when the platform exposes an embed URL; use a <video> element with <source> children when only direct media files (e.g., FOSDEM .webm/.mp4) are available; entries linking to articles or to media with no playable source may omit the embed."

  • [protected-path] AGENTS.md — This PR creates AGENTS.md, which is listed in REVIEW_PROTECTED_PATHS for this repository. The PR links to issue Document the resources page's embedded-video convention in AGENTS.md #566 and the description explains the rationale (documenting an existing website convention so future review runs have a firm anchor), so sufficient context is present. Human approval is always required for protected-path changes, regardless of context.


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR

@fullsend-ai-review fullsend-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

See the review comment for full details.

Comment thread AGENTS.md
Repository conventions for AI coding agents and human contributors.

## Website content conventions

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[medium] docs-currency

AGENTS.md prescribes exactly one embed shape: {{< rawhtml >}} + <iframe> when the hosting platform exposes an embed URL, with a fallback that only covers 'media with no embeddable player.' However, website/content/resources/_index.md lines 66-75 (the FOSDEM entry 'From Passive Data to Active Defense') embeds the video with an HTML5 <video> element and <source> tags pointing at direct .webm/.mp4 files, because FOSDEM publishes downloadable video files rather than an iframe embed URL. Under the new rule this entry falls into an undocumented gap: it is neither an iframe-embeddable player nor 'media with no embeddable player'. An agent following AGENTS.md literally would either try to convert it to an iframe (which FOSDEM doesn't offer) or drop the inline embed.

Suggested fix: Extend the rule to cover the <video>-with-<source> pattern, e.g., 'use <iframe> inside {{< rawhtml >}} when the platform exposes an embed URL; use a <video> element with <source> children when only direct media files (e.g., FOSDEM .webm/.mp4) are available; entries linking to articles or to media with no playable source may omit the embed.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Triggers review agent dispatch risk/moderate PR risk: moderate size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document the resources page's embedded-video convention in AGENTS.md

0 participants