Skip to content

chore: drop committed PR-infographic assets from the repo - #48261

Merged
benbarclay merged 1 commit into
mainfrom
chore/drop-committed-pr-infographics
Jun 18, 2026
Merged

chore: drop committed PR-infographic assets from the repo#48261
benbarclay merged 1 commit into
mainfrom
chore/drop-committed-pr-infographics

Conversation

@benbarclay

Copy link
Copy Markdown
Collaborator

Summary

Earlier today we fixed how PR infographics get attached — generate/host the image externally and hotlink it so GitHub camo-proxies it inline, leaving zero binary footprint in the repo. This PR cleans up two infographic PNGs that had been committed into the tree anyway.

The convention is not new: commit 5772e638c"chore: drop in-repo infographic/ directory; keep PR-body URLs only" (#30854) — already established it.

What's removed

Both files are decorative PR-body infographics (not real UI screenshots) and are referenced nowhere in the codebase — confirmed with a full-tree git grep:

File Origin Note
docs/assets/ns504-chat-session-reconnect.png #47674 (bundled with the NS-504 ChatPage.tsx fix) unreferenced
infographic/kanban-db-corruption-defense/infographic.png #30952 re-added a directory #30854 had explicitly retired

Removing the second also clears the stray top-level infographic/ directory.

Safety

  • git grep for every removed path / basename → zero hits outside the files themselves, so no docs, website, or app build references them.
  • The other tracked images left in place (.github/pr-screenshots/…, apps/desktop/pr-assets/session-source-folders.png) are genuine UI screenshots from other contributors — out of scope.
  • These blobs necessarily remain in git history (the commits that introduced them are already on main and bundled with real code, so they can't be dropped without rewriting merged history). This PR removes them from the working tree going forward — the right and only safe option for already-merged assets.

Infographic

drop-committed-pr-infographics

PR infographics are decorative visual hooks for a PR body, not repo
artifacts. The established convention (commit 5772e63, "chore: drop
in-repo infographic/ directory; keep PR-body URLs only", #30854) is to
hotlink an externally-hosted image so GitHub camo-proxies it inline,
leaving zero binary footprint in the tree.

Two such assets had been committed anyway and are referenced nowhere in
the codebase:

- docs/assets/ns504-chat-session-reconnect.png (1024-equiv, NS-504 PR
  infographic, added in #47674 alongside the ChatPage.tsx fix)
- infographic/kanban-db-corruption-defense/infographic.png (re-added a
  directory #30854 had explicitly removed, in #30952)

Both are unreferenced decorative infographics, so removing them has no
effect on docs, website, or app builds. Removing the latter also clears
the stray top-level infographic/ directory that #30854 had retired.

These blobs remain in history (the commits that introduced them are
already on main and bundled with real code, so they can't be dropped);
this just removes them from the working tree going forward.
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: chore/drop-committed-pr-infographics vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 10995 on HEAD, 10995 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 5762 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@benbarclay
benbarclay merged commit eaa0984 into main Jun 18, 2026
34 checks passed
@benbarclay
benbarclay deleted the chore/drop-committed-pr-infographics branch June 18, 2026 06:03
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
…ch#48261)

PR infographics are decorative visual hooks for a PR body, not repo
artifacts. The established convention (commit 5772e63, "chore: drop
in-repo infographic/ directory; keep PR-body URLs only", NousResearch#30854) is to
hotlink an externally-hosted image so GitHub camo-proxies it inline,
leaving zero binary footprint in the tree.

Two such assets had been committed anyway and are referenced nowhere in
the codebase:

- docs/assets/ns504-chat-session-reconnect.png (1024-equiv, NS-504 PR
  infographic, added in NousResearch#47674 alongside the ChatPage.tsx fix)
- infographic/kanban-db-corruption-defense/infographic.png (re-added a
  directory NousResearch#30854 had explicitly removed, in NousResearch#30952)

Both are unreferenced decorative infographics, so removing them has no
effect on docs, website, or app builds. Removing the latter also clears
the stray top-level infographic/ directory that NousResearch#30854 had retired.

These blobs remain in history (the commits that introduced them are
already on main and bundled with real code, so they can't be dropped);
this just removes them from the working tree going forward.
habarmc1223-sudo pushed a commit to habarmc1223-sudo/hermes-agent-fluxmem that referenced this pull request Jul 8, 2026
…ch#48261)

PR infographics are decorative visual hooks for a PR body, not repo
artifacts. The established convention (commit 6c28b7c, "chore: drop
in-repo infographic/ directory; keep PR-body URLs only", NousResearch#30854) is to
hotlink an externally-hosted image so GitHub camo-proxies it inline,
leaving zero binary footprint in the tree.

Two such assets had been committed anyway and are referenced nowhere in
the codebase:

- docs/assets/ns504-chat-session-reconnect.png (1024-equiv, NS-504 PR
  infographic, added in NousResearch#47674 alongside the ChatPage.tsx fix)
- infographic/kanban-db-corruption-defense/infographic.png (re-added a
  directory NousResearch#30854 had explicitly removed, in NousResearch#30952)

Both are unreferenced decorative infographics, so removing them has no
effect on docs, website, or app builds. Removing the latter also clears
the stray top-level infographic/ directory that NousResearch#30854 had retired.

These blobs remain in history (the commits that introduced them are
already on main and bundled with real code, so they can't be dropped);
this just removes them from the working tree going forward.
santhreal pushed a commit to santhreal/hermes-agent that referenced this pull request Jul 13, 2026
…ch#48261)

PR infographics are decorative visual hooks for a PR body, not repo
artifacts. The established convention (commit bac0835, "chore: drop
in-repo infographic/ directory; keep PR-body URLs only", NousResearch#30854) is to
hotlink an externally-hosted image so GitHub camo-proxies it inline,
leaving zero binary footprint in the tree.

Two such assets had been committed anyway and are referenced nowhere in
the codebase:

- docs/assets/ns504-chat-session-reconnect.png (1024-equiv, NS-504 PR
  infographic, added in NousResearch#47674 alongside the ChatPage.tsx fix)
- infographic/kanban-db-corruption-defense/infographic.png (re-added a
  directory NousResearch#30854 had explicitly removed, in NousResearch#30952)

Both are unreferenced decorative infographics, so removing them has no
effect on docs, website, or app builds. Removing the latter also clears
the stray top-level infographic/ directory that NousResearch#30854 had retired.

These blobs remain in history (the commits that introduced them are
already on main and bundled with real code, so they can't be dropped);
this just removes them from the working tree going forward.
Gravezzz pushed a commit to Gravezzz/hermes-agent that referenced this pull request Jul 21, 2026
…ch#48261)

PR infographics are decorative visual hooks for a PR body, not repo
artifacts. The established convention (commit 5772e63, "chore: drop
in-repo infographic/ directory; keep PR-body URLs only", NousResearch#30854) is to
hotlink an externally-hosted image so GitHub camo-proxies it inline,
leaving zero binary footprint in the tree.

Two such assets had been committed anyway and are referenced nowhere in
the codebase:

- docs/assets/ns504-chat-session-reconnect.png (1024-equiv, NS-504 PR
  infographic, added in NousResearch#47674 alongside the ChatPage.tsx fix)
- infographic/kanban-db-corruption-defense/infographic.png (re-added a
  directory NousResearch#30854 had explicitly removed, in NousResearch#30952)

Both are unreferenced decorative infographics, so removing them has no
effect on docs, website, or app builds. Removing the latter also clears
the stray top-level infographic/ directory that NousResearch#30854 had retired.

These blobs remain in history (the commits that introduced them are
already on main and bundled with real code, so they can't be dropped);
this just removes them from the working tree going forward.
teknium1 added a commit that referenced this pull request Jul 26, 2026
PR infographics belong in the PR description, referenced from the
image-provider URL. The binary never enters git history.

This rule has been established twice and leaked twice. #48261 removed the
first batch. #54564 removed a second batch and added `infographic/` to
.gitignore — but .gitignore only stops an accidental `git add`. It does
nothing against `git add -f`, and nothing for a directory that does not
literally match the pattern. In the four weeks after that rule landed,
nine more PNGs were force-added, and an `infograficos/` directory
(#70552's loophole, never actually closed) slipped a tenth past the
pattern entirely.

Removes 11 tracked images (~14MB) with `git rm --cached`, so local copies
survive. Adds an infographic-check CI job that matches on the IMAGE rather
than on one directory spelling, so a localized or typo'd path cannot
sidestep it, and extends the .gitignore pattern list as the first line of
defence.

Verified the guard both ways against synthetic repos: it fires on
`git add -f` into `infographic/`, on the `infograficos/` spelling, and on
nested `docs/pr/infographics/*.jpg`; it does not fire on legitimate
product imagery under `docs/assets/` or `website/`, nor on non-image
files.
leewenjie pushed a commit to leewenjie/hermes-agent that referenced this pull request Aug 7, 2026
…ch#48261)

PR infographics are decorative visual hooks for a PR body, not repo
artifacts. The established convention (commit 5772e63, "chore: drop
in-repo infographic/ directory; keep PR-body URLs only", NousResearch#30854) is to
hotlink an externally-hosted image so GitHub camo-proxies it inline,
leaving zero binary footprint in the tree.

Two such assets had been committed anyway and are referenced nowhere in
the codebase:

- docs/assets/ns504-chat-session-reconnect.png (1024-equiv, NS-504 PR
  infographic, added in NousResearch#47674 alongside the ChatPage.tsx fix)
- infographic/kanban-db-corruption-defense/infographic.png (re-added a
  directory NousResearch#30854 had explicitly removed, in NousResearch#30952)

Both are unreferenced decorative infographics, so removing them has no
effect on docs, website, or app builds. Removing the latter also clears
the stray top-level infographic/ directory that NousResearch#30854 had retired.

These blobs remain in history (the commits that introduced them are
already on main and bundled with real code, so they can't be dropped);
this just removes them from the working tree going forward.
randlee pushed a commit to randlee/hermes-agent that referenced this pull request Aug 11, 2026
PR infographics belong in the PR description, referenced from the
image-provider URL. The binary never enters git history.

This rule has been established twice and leaked twice. NousResearch#48261 removed the
first batch. NousResearch#54564 removed a second batch and added `infographic/` to
.gitignore — but .gitignore only stops an accidental `git add`. It does
nothing against `git add -f`, and nothing for a directory that does not
literally match the pattern. In the four weeks after that rule landed,
nine more PNGs were force-added, and an `infograficos/` directory
(NousResearch#70552's loophole, never actually closed) slipped a tenth past the
pattern entirely.

Removes 11 tracked images (~14MB) with `git rm --cached`, so local copies
survive. Adds an infographic-check CI job that matches on the IMAGE rather
than on one directory spelling, so a localized or typo'd path cannot
sidestep it, and extends the .gitignore pattern list as the first line of
defence.

Verified the guard both ways against synthetic repos: it fires on
`git add -f` into `infographic/`, on the `infograficos/` spelling, and on
nested `docs/pr/infographics/*.jpg`; it does not fire on legitimate
product imagery under `docs/assets/` or `website/`, nor on non-image
files.
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.

1 participant