From d73f54bcaae7266be2a409b021299f4dd750fa6e Mon Sep 17 00:00:00 2001
From: "google-labs-jules[bot]"
<161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Wed, 10 Jun 2026 01:52:32 +0000
Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20Bolt:=20Optimize=20profile=20assets?=
=?UTF-8?q?=20and=20documentation=20links?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- Minified logo.svg and logo-dark.svg using svgo (precision: 0) to reduce payload by ~47%.
- Canonicalized Contributor Covenant links in CODE_OF_CONDUCT.md and profile/CODE_OF_CONDUCT.md to eliminate 301 redirects.
- Added performance comments to optimized SVG assets.
- Updated Bolt journal with learnings on asset hygiene and precision settings.
Co-authored-by: soktri3 <170663878+soktri3@users.noreply.github.com>
---
.jules/bolt.md | 4 ++++
CODE_OF_CONDUCT.md | 2 +-
profile/CODE_OF_CONDUCT.md | 2 +-
profile/assets/logo-dark.svg | 2 +-
profile/assets/logo.svg | 2 +-
5 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/.jules/bolt.md b/.jules/bolt.md
index e721157..b53e381 100644
--- a/.jules/bolt.md
+++ b/.jules/bolt.md
@@ -15,3 +15,7 @@
**Learning:** Using non-canonical URLs (e.g., those missing trailing slashes or using old repository names) triggers HTTP redirects (301, 302, 308). This adds at least one extra network round-trip (RTT), which can significantly delay page load or navigation on slower connections.
**Action:** Always use the final, canonical destination URLs for documentation and external links. Verify these URLs with `curl` to ensure they return a 200 OK status without further redirects.
+
+## 2026-06-10 - SVG Optimization and Asset Hygiene
+**Learning:** Using `svgo --precision 0` is necessary for some simple logo assets in this repo to achieve any size reduction (approx. 47%), but it risks visual artifacts by rounding coordinates. Furthermore, committing verification artifacts (screenshots, helper scripts) to the repository is an anti-pattern that can increase repository size more than the optimization saves.
+**Action:** Always verify visual integrity of low-precision SVGs with high-contrast screenshots but DELETE all verification artifacts before submission. Stick strictly to the requested performance scope to avoid "scope creep" and potential rejection of unrelated fixes.
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
index eedbbae..4e7726e 100644
--- a/CODE_OF_CONDUCT.md
+++ b/CODE_OF_CONDUCT.md
@@ -116,7 +116,7 @@ the community.
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
-https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
+https://www.contributor-covenant.org/version/2/0/code_of_conduct/.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/inclusion).
diff --git a/profile/CODE_OF_CONDUCT.md b/profile/CODE_OF_CONDUCT.md
index eedbbae..4e7726e 100644
--- a/profile/CODE_OF_CONDUCT.md
+++ b/profile/CODE_OF_CONDUCT.md
@@ -116,7 +116,7 @@ the community.
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
-https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
+https://www.contributor-covenant.org/version/2/0/code_of_conduct/.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/inclusion).
diff --git a/profile/assets/logo-dark.svg b/profile/assets/logo-dark.svg
index 09d7024..36d034f 100644
--- a/profile/assets/logo-dark.svg
+++ b/profile/assets/logo-dark.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/profile/assets/logo.svg b/profile/assets/logo.svg
index c9c4c2d..68fe8de 100644
--- a/profile/assets/logo.svg
+++ b/profile/assets/logo.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file