1 From 452a631eb3eb5722598e46250e524bb10651e266 Mon Sep 17 00:00:00 20012 From: hu13-test <[email protected]>3 Date: Wed, 28 Oct 2026 11:03:45 +00004 Subject: [PATCH] README: drop duplicate ASCII logos and source-path hint5 (#119)6 7 ---8 .../issue.md | 21 ++++++++++++9 .forge/wiki/README | 32 -------------------10 src/build.rs | 8 ++---11 tests/brand.rs | 17 ++++++++++12 4 files changed, 40 insertions(+), 38 deletions(-)13 create mode 100644 .forge/issues/7dc376d4-2375-49cf-bec1-4101a7482bb1/issue.md14 15 diff --git a/.forge/issues/7dc376d4-2375-49cf-bec1-4101a7482bb1/issue.md b/.forge/issues/7dc376d4-2375-49cf-bec1-4101a7482bb1/issue.md16 new file mode 10064417 index 0000000..b84842c18 --- /dev/null19 +++ b/.forge/issues/7dc376d4-2375-49cf-bec1-4101a7482bb1/issue.md20 @@ -0,0 +1,21 @@21 +---22 +id: 7dc376d4-2375-49cf-bec1-4101a7482bb123 +title: 'README: drop duplicate ASCII logos and source-path hint'24 +state: open25 +labels:26 +- kind:docs27 +assignees: []28 +milestone: null29 +created: 2026-10-28T11:01:39.915226445Z30 +updated: null31 +---32 +## Problem33 +34 +The rendered README starts with an ASCII-art hu13 wordmark and repeats the same block under a `## Clone it` heading. The Clone section has no other content. The code tab also prints a `from .forge/wiki/README` location hint above the README, which adds noise for readers.35 +36 +## Fix37 +38 +- Remove both ASCII-art logo blocks from `.forge/wiki/README`.39 +- Remove the now-empty `## Clone it` section; clone/download lives in the header block above.40 +- Remove the README source-path line from the code tab.41 +- Update the regression test that asserted the path line, and assert it is absent.42 diff --git a/.forge/wiki/README b/.forge/wiki/README43 index cc3af94..57a72f6 10064444 --- a/.forge/wiki/README45 +++ b/.forge/wiki/README46 @@ -1,20 +1,5 @@47 # hu1348 49 -```50 - ███ ███ ███ ███ █████ ▄███▄ 51 - ██▓ ░ ▓██ ██▓ ░ ▓██ ▄▄ ▒▓█ ▄▄▀ █▓░ ░▓█ ▀52 - ▓▓░ ▒ ░▓▓ ▓▓░ ▒ ░▓▓ ▒▒ ░▒▓ ▒▒ ▓▓░▌▄▐░▓▓ 53 - ▓▒░ ▀ ░▒▓ ▓▒░ ▀ ░▒▓ ▀▀ ░░▒ ▀▀ ▓▒░ ▀ ░▒▓ 54 - ░░░ ▀ ░░░ ░░▒ ░ ░░░ ░░ ░░░ ░░▄▄▄▄ ▀ ░░░ 55 - ░░▒▀▀▀▒░░ ░▒▓ ▒ ▒░░ ▒▒ ▒░░ ▒▒▓▓▓▓ ░░░░▒ 56 - ░▒▒ ▓ ▒▒░ ▒▓▓ ▓ ▓▒░ ▓▓ ▒▒░ ▓▓▀▀▀▀ ▄ ▒▒▓ 57 - ▒▒▓ ▒ ▓▒▒ ▓▓█ █ ▓▓▒ ██ ▓▒▒ ██ ▓▓▓ ▓ ██▓ 58 - ▓▓█ ▄ █▓▓ ▓█▓ ▄ ▓█▓ ▄▄ █▓▓ ▄▄ █▓▓ ▄ ▓██ 59 - ▓██ ▒ ██▓ ███ ▒ ▓██ ▒▒ ██▓ ▒▒ ██▓ ▀ ███ 60 - ███ ▀ ███ ███▄ ▄███ ▀▀ ███ ▀▀▄ ███ ███ ▄61 - ███ ███ ▀███████▀ ███████ ▀███▀ 62 -```63 -64 *hu13 (pronounced "hub") — one repo, one hub. A tiny read-only window65 into a single repo, plus two text-only mailboxes for suggestions.*66 67 @@ -62,23 +47,6 @@ Machine-readable everything: `/api/*.json`, `/feed.atom`, raw files,68 examples lives at `/agents.html`. Issues should carry your user's full69 detail; PRs should be prompts, not patches.70 71 -## Clone it72 -73 -```74 - ███ ███ ███ ███ █████ ▄███▄ 75 - ██▓ ░ ▓██ ██▓ ░ ▓██ ▄▄ ▒▓█ ▄▄▀ █▓░ ░▓█ ▀76 - ▓▓░ ▒ ░▓▓ ▓▓░ ▒ ░▓▓ ▒▒ ░▒▓ ▒▒ ▓▓░▌▄▐░▓▓ 77 - ▓▒░ ▀ ░▒▓ ▓▒░ ▀ ░▒▓ ▀▀ ░░▒ ▀▀ ▓▒░ ▀ ░▒▓ 78 - ░░░ ▀ ░░░ ░░▒ ░ ░░░ ░░ ░░░ ░░▄▄▄▄ ▀ ░░░ 79 - ░░▒▀▀▀▒░░ ░▒▓ ▒ ▒░░ ▒▒ ▒░░ ▒▒▓▓▓▓ ░░░░▒ 80 - ░▒▒ ▓ ▒▒░ ▒▓▓ ▓ ▓▒░ ▓▓ ▒▒░ ▓▓▀▀▀▀ ▄ ▒▒▓ 81 - ▒▒▓ ▒ ▓▒▒ ▓▓█ █ ▓▓▒ ██ ▓▒▒ ██ ▓▓▓ ▓ ██▓ 82 - ▓▓█ ▄ █▓▓ ▓█▓ ▄ ▓█▓ ▄▄ █▓▓ ▄▄ █▓▓ ▄ ▓██ 83 - ▓██ ▒ ██▓ ███ ▒ ▓██ ▒▒ ██▓ ▒▒ ██▓ ▀ ███ 84 - ███ ▀ ███ ███▄ ▄███ ▀▀ ███ ▀▀▄ ███ ███ ▄85 - ███ ███ ▀███████▀ ███████ ▀███▀ 86 -```87 -88 ## Built with89 90 hu13 is a single Rust binary with almost no dependencies, one91 diff --git a/src/build.rs b/src/build.rs92 index ad80815..0604e87 10064493 --- a/src/build.rs94 +++ b/src/build.rs95 @@ -1953,10 +1953,6 @@ pub fn run_build(repo: &Path, out: &Path, opts: &BuildOptions) -> Result<BuildSu96 body.push_str("</section>\n<section class=\"code-readme\"><h2>README</h2>\n");97 match &readme {98 Some((path, blob)) => {99 - body.push_str(&format!(100 - "<p class=\"muted\">from <code>{}</code></p>\n",101 - esc(path)102 - ));103 if is_markdown(path) || path.to_lowercase().contains("readme") {104 let (base, wiki) = if let Some(rest) = path.strip_prefix(".forge/wiki/") {105 (rest.rsplit_once('/').map(|(d, _)| d).unwrap_or(""), true)106 @@ -2389,8 +2385,8 @@ mod tests {107 let index = std::fs::read_to_string(out.join("index.html")).expect("index");108 assert!(index.contains("Wiki extless"), "code tab shows wiki README");109 assert!(110 - index.contains("from <code>.forge/wiki/README</code>"),111 - "code tab names source"112 + !index.contains("from <code>") && !index.contains(".forge/wiki/README</code>"),113 + "code tab does not name the README path"114 );115 }116 117 diff --git a/tests/brand.rs b/tests/brand.rs118 index 77ceea2..c4c12a9 100644119 --- a/tests/brand.rs120 +++ b/tests/brand.rs121 @@ -143,3 +143,20 @@ fn logo_has_no_baked_background() {122 "logo keeps its 3:1 aspect (was squeezed into 48x48)"123 );124 }125 +126 +#[test]127 +fn repository_readme_has_no_ascii_logo_or_clone_duplicate() {128 + let readme = std::fs::read_to_string(129 + PathBuf::from(env!("CARGO_MANIFEST_DIR")).join(".forge/wiki/README"),130 + )131 + .unwrap();132 + assert!(133 + !readme.contains("███") && !readme.contains("▓▓"),134 + "README carries no ASCII-art logo"135 + );136 + assert!(137 + !readme.contains("## Clone it"),138 + "clone/download lives in the code header, not a duplicate section"139 + );140 + assert!(readme.contains("## Built with"), "README keeps its ending");141 +}142 -- 143 2.56.0144