Skip to content

[luv-320] docs: swap README hero gif to readme-arch-hq#321

Merged
NiveditJain merged 9 commits intomainfrom
luv-320
May 9, 2026
Merged

[luv-320] docs: swap README hero gif to readme-arch-hq#321
NiveditJain merged 9 commits intomainfrom
luv-320

Conversation

@NiveditJain
Copy link
Copy Markdown
Member

@NiveditJain NiveditJain commented May 8, 2026

Summary

  • Rewrite the English README.md with a new layout: CDN-hosted wordmark logo, shields.io badges (npm / CI / Slack / Docs / License — weekly-downloads badge dropped per review), the translation strip pulled back up to the header (mirrors the old layout), the existing 7-CLI logo grid kept verbatim with its install hint + beta caveat, a tighter What it stops table leaning on the git policies (block-push-master / block-force-push / block-work-on-main / block-rm-rf / sanitize-api-keys), a new License section calling out the MIT + Commons Clause split, and a documentation index linking to docs.befailproof.ai.
  • Hero asset is the new readme-arch-hq.gif (10.4 MB, checked into the repo root). The old failproofai-hq.gif (19 MB) is removed.
  • 14 translated docs/i18n/README.*.md files have their <img src="…"> swapped to the new filename in this branch as well; the structural rewrite is left to the next translate-docs workflow run on main.
  • CHANGELOG.md ## Unreleased### Docs entry covers everything above and references [luv-320] docs: swap README hero gif to readme-arch-hq #321.

Test plan

  • grep -rn 'failproofai-hq.gif' . → only CHANGELOG.md (historical mention) references the old filename; no live image references remain.
  • package.json version is 0.0.10-beta.8; the changelog entry sits under ## Unreleased, matching project convention (Unreleased accumulates entries until a release is cut).
  • After merge, view the rendered README on github.com/exospherehost/failproofai to confirm: badges render, CDN logo loads, hero gif loads, translation strip renders inline, all 7 CLI logos load (light + dark variants via <picture>), all docs.befailproof.ai/... links resolve.
  • After the next translate-docs run on main, confirm the i18n READMEs have been regenerated against the new English structure.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Restructured the README into a compact overview with a new centered header, trimmed top-level sections, and condensed contributor/license/docs links.
    • Replaced the primary hero/architecture GIF in the main README and all translated READMEs while preserving alt text and sizing.
    • Updated CHANGELOG to reflect the README rewrite and GIF swap.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 8, 2026

Review Change Stack

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • readme-arch-hq.gif is excluded by !**/*.gif

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 48e9b4ae-0927-44cb-9aea-0f1042b4cab7

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
📝 Walkthrough

Walkthrough

The README header is reworked and the centered hero GIF is replaced from failproofai-hq.gif to readme-arch-hq.gif. The CHANGELOG Unreleased → Docs entry documents the asset swap. All translated README files update their hero GIF reference to the new filename.

Changes

README & i18n asset swap

Layer / File(s) Summary
README content and sections
README.md
Rewrites header and top-level sections: centered logo/badges/tagline, Install, What it stops, Your own policies (code example + decisions), Session visibility, Documentation links, and footer/translations.
README hero image reference
README.md
Replaces hero GIF failproofai-hq.gifreadme-arch-hq.gif in the centered header block, alt text and width preserved.
CHANGELOG documentation
CHANGELOG.md
Adds an Unreleased → Docs bullet recording the README hero GIF replacement and updated translations (PR #321).
Localized README hero updates
docs/i18n/README.*.md
Updates the centered hero GIF src from failproofai-hq.gif to readme-arch-hq.gif across all translated README files, preserving alt text and sizing.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐰 A GIF so new, a README bright,
The header hops into the light,
Translations follow step by step,
CHANGELOG notes the tidy rep,
A rabbit cheers—new hero sight!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description provides detailed context covering all major changes: README rewrite with new layout, hero asset replacement, translation file updates, and CHANGELOG entry. However, it does not follow the required template structure with the Description/Type of Change/Checklist sections. Restructure the description to match the template format: add a concise 'Description' section at the top, categorize this as 'Documentation' under Type of Change, and complete the verification checklist (lint, typescript, tests, build).
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: swapping the README hero GIF from the old filename to the new readme-arch-hq.gif. It is concise, specific, and directly reflects the primary changeset focus.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

nk-ag and others added 5 commits May 8, 2026 16:17
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Mirror the English README's swap from `failproofai-hq.gif` to
`readme-arch-hq.gif` so every locale renders the new architecture
GIF instead of the missing legacy filename. Alt text in each
language is preserved unchanged.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…q.gif

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
README.md (1)

19-19: 🏗️ Heavy lift

Consider further optimizing the GIF file size.

While the new asset is ~45% smaller than the original (10.4 MB vs 19 MB), a 10.4 MB GIF will still impact README load times, especially for users on slower connections or mobile devices.

Consider:

  • Further GIF optimization (frame reduction, color palette optimization)
  • Converting to WebM/MP4 format (typically 80-90% smaller than GIF)
  • Hosting the asset on a CDN (similar to the logo at line 3) with lazy loading
  • Creating a poster image placeholder

The logo already uses CloudFront CDN hosting; the same approach could work for the hero asset.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` at line 19, Replace the large GIF referenced by the img tag
src="readme-arch-hq.gif" in README.md with a lighter-weight delivery: either
further optimize the GIF (frame reduction, palette reduction) or convert to a
WebM/MP4 video and replace the img usage with a video or picture element; host
the resulting asset on the same CDN used for the logo and update the src to the
CDN URL; add lazy loading (loading="lazy" for images or preload="none"/autoplay
muted loop playsinline for videos) and include a small poster/placeholder image
to avoid heavy initial load and improve perceived performance.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@README.md`:
- Line 19: Replace the large GIF referenced by the img tag
src="readme-arch-hq.gif" in README.md with a lighter-weight delivery: either
further optimize the GIF (frame reduction, palette reduction) or convert to a
WebM/MP4 video and replace the img usage with a video or picture element; host
the resulting asset on the same CDN used for the logo and update the src to the
CDN URL; add lazy loading (loading="lazy" for images or preload="none"/autoplay
muted loop playsinline for videos) and include a small poster/placeholder image
to avoid heavy initial load and improve perceived performance.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5be078d8-7946-4e75-9813-31b2445de39b

📥 Commits

Reviewing files that changed from the base of the PR and between ebf5c3e and 3fc3056.

⛔ Files ignored due to path filters (1)
  • failproofai-hq.gif is excluded by !**/*.gif
📒 Files selected for processing (16)
  • CHANGELOG.md
  • README.md
  • docs/i18n/README.ar.md
  • docs/i18n/README.de.md
  • docs/i18n/README.es.md
  • docs/i18n/README.fr.md
  • docs/i18n/README.he.md
  • docs/i18n/README.hi.md
  • docs/i18n/README.it.md
  • docs/i18n/README.ja.md
  • docs/i18n/README.ko.md
  • docs/i18n/README.pt-br.md
  • docs/i18n/README.ru.md
  • docs/i18n/README.tr.md
  • docs/i18n/README.vi.md
  • docs/i18n/README.zh.md
✅ Files skipped from review due to trivial changes (14)
  • docs/i18n/README.he.md
  • docs/i18n/README.tr.md
  • docs/i18n/README.de.md
  • docs/i18n/README.zh.md
  • docs/i18n/README.fr.md
  • docs/i18n/README.ko.md
  • docs/i18n/README.vi.md
  • docs/i18n/README.es.md
  • docs/i18n/README.ru.md
  • docs/i18n/README.hi.md
  • docs/i18n/README.ar.md
  • docs/i18n/README.pt-br.md
  • docs/i18n/README.it.md
  • docs/i18n/README.ja.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • CHANGELOG.md

nk-ag and others added 3 commits May 8, 2026 18:37
…cense, tighter policy table

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
README.md (1)

3-3: Consider hosting the logo in the repository for better reliability.

The logo is currently hosted on a CloudFront CDN and is accessible. However, using a CDN for critical documentation assets like the main README logo introduces a dependency on external infrastructure. For better resilience, consider storing logo-wordmark.png directly in the repository (e.g., assets/logo-wordmark.png) and referencing it locally instead.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` at line 3, Replace the external CloudFront image reference in
README (the <img
src="https://d2wq11aau0arks.cloudfront.net/failproof/logo-wordmark.png" ...>
tag) by adding the file logo-wordmark.png into the repository (suggested path
assets/logo-wordmark.png) and update the README img src to point to that local
path; commit the new image file and the updated README so the logo loads from
the repository rather than the CDN.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@README.md`:
- Line 3: Replace the external CloudFront image reference in README (the <img
src="https://d2wq11aau0arks.cloudfront.net/failproof/logo-wordmark.png" ...>
tag) by adding the file logo-wordmark.png into the repository (suggested path
assets/logo-wordmark.png) and update the README img src to point to that local
path; commit the new image file and the updated README so the logo loads from
the repository rather than the CDN.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 10f272dd-5074-4bc1-975c-b41cb926b291

📥 Commits

Reviewing files that changed from the base of the PR and between 3fc3056 and 94cce14.

📒 Files selected for processing (2)
  • CHANGELOG.md
  • README.md
✅ Files skipped from review due to trivial changes (1)
  • CHANGELOG.md

@NiveditJain NiveditJain merged commit 2c488f0 into main May 9, 2026
9 checks passed
NiveditJain added a commit that referenced this pull request May 9, 2026
…s when an auto-PR is open (#325)

Previously the consolidate step exited early if any "[auto] update
translations" PR was open and the cache-save step ran first, so
translations queued during a busy push window were marked done in
cache but never landed in any branch. Empirically verified against
the README rewrite in #321: the per-language `Translate` jobs
successfully translated all 14 i18n READMEs (visible in run
25588145237 logs as `translated (3258+3048 tokens)` lines), but the
consolidate job logged `Translation PR already open. Skipping.` and
PR #324 only contained 14 dashboard.mdx files — the 14 README
translations were stuck on the pre-redesign 358-line layout while
the English README dropped to 171 lines.

Fix: when an auto-PR is open, snapshot the freshly-generated docs/
tree + merged cache via tar before any branch ops, fetch and
force-checkout the existing PR's branch, then untar on top so the
newest English source always wins. PR creation only fires when no
existing PR matched.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
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.

2 participants