#64 README: drop duplicate ASCII logos and source-path hint (#119)
Patch
.forge/issues/7dc376d4-2375-49cf-bec1-4101a7482bb1/issue.md+21 −0--- /dev/null+++ b/.forge/issues/7dc376d4-2375-49cf-bec1-4101a7482bb1/issue.md@@ -0,0 +1,21 @@1+---2+id: 7dc376d4-2375-49cf-bec1-4101a7482bb13+title: 'README: drop duplicate ASCII logos and source-path hint'4+state: open5+labels:6+- kind:docs7+assignees: []8+milestone: null9+created: 2026-10-28T11:01:39.915226445Z10+updated: null11+---12+## Problem13+14+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.15+16+## Fix17+18+- Remove both ASCII-art logo blocks from `.forge/wiki/README`.19+- Remove the now-empty `## Clone it` section; clone/download lives in the header block above.20+- Remove the README source-path line from the code tab.21+- Update the regression test that asserted the path line, and assert it is absent.
.forge/wiki/README+0 −32--- a/.forge/wiki/README+++ b/.forge/wiki/README@@ -1,20 +1,5 @@11 # hu1322 3-```4- ███ ███ ███ ███ █████ ▄███▄ 5- ██▓ ░ ▓██ ██▓ ░ ▓██ ▄▄ ▒▓█ ▄▄▀ █▓░ ░▓█ ▀6- ▓▓░ ▒ ░▓▓ ▓▓░ ▒ ░▓▓ ▒▒ ░▒▓ ▒▒ ▓▓░▌▄▐░▓▓ 7- ▓▒░ ▀ ░▒▓ ▓▒░ ▀ ░▒▓ ▀▀ ░░▒ ▀▀ ▓▒░ ▀ ░▒▓ 8- ░░░ ▀ ░░░ ░░▒ ░ ░░░ ░░ ░░░ ░░▄▄▄▄ ▀ ░░░ 9- ░░▒▀▀▀▒░░ ░▒▓ ▒ ▒░░ ▒▒ ▒░░ ▒▒▓▓▓▓ ░░░░▒ 10- ░▒▒ ▓ ▒▒░ ▒▓▓ ▓ ▓▒░ ▓▓ ▒▒░ ▓▓▀▀▀▀ ▄ ▒▒▓ 11- ▒▒▓ ▒ ▓▒▒ ▓▓█ █ ▓▓▒ ██ ▓▒▒ ██ ▓▓▓ ▓ ██▓ 12- ▓▓█ ▄ █▓▓ ▓█▓ ▄ ▓█▓ ▄▄ █▓▓ ▄▄ █▓▓ ▄ ▓██ 13- ▓██ ▒ ██▓ ███ ▒ ▓██ ▒▒ ██▓ ▒▒ ██▓ ▀ ███ 14- ███ ▀ ███ ███▄ ▄███ ▀▀ ███ ▀▀▄ ███ ███ ▄15- ███ ███ ▀███████▀ ███████ ▀███▀ 16-```17-183 *hu13 (pronounced "hub") — one repo, one hub. A tiny read-only window194 into a single repo, plus two text-only mailboxes for suggestions.*205 @@ -62,23 +47,6 @@ Machine-readable everything: `/api/*.json`, `/feed.atom`, raw files,6247 examples lives at `/agents.html`. Issues should carry your user's full6348 detail; PRs should be prompts, not patches.6449 65-## Clone it66-67-```68- ███ ███ ███ ███ █████ ▄███▄ 69- ██▓ ░ ▓██ ██▓ ░ ▓██ ▄▄ ▒▓█ ▄▄▀ █▓░ ░▓█ ▀70- ▓▓░ ▒ ░▓▓ ▓▓░ ▒ ░▓▓ ▒▒ ░▒▓ ▒▒ ▓▓░▌▄▐░▓▓ 71- ▓▒░ ▀ ░▒▓ ▓▒░ ▀ ░▒▓ ▀▀ ░░▒ ▀▀ ▓▒░ ▀ ░▒▓ 72- ░░░ ▀ ░░░ ░░▒ ░ ░░░ ░░ ░░░ ░░▄▄▄▄ ▀ ░░░ 73- ░░▒▀▀▀▒░░ ░▒▓ ▒ ▒░░ ▒▒ ▒░░ ▒▒▓▓▓▓ ░░░░▒ 74- ░▒▒ ▓ ▒▒░ ▒▓▓ ▓ ▓▒░ ▓▓ ▒▒░ ▓▓▀▀▀▀ ▄ ▒▒▓ 75- ▒▒▓ ▒ ▓▒▒ ▓▓█ █ ▓▓▒ ██ ▓▒▒ ██ ▓▓▓ ▓ ██▓ 76- ▓▓█ ▄ █▓▓ ▓█▓ ▄ ▓█▓ ▄▄ █▓▓ ▄▄ █▓▓ ▄ ▓██ 77- ▓██ ▒ ██▓ ███ ▒ ▓██ ▒▒ ██▓ ▒▒ ██▓ ▀ ███ 78- ███ ▀ ███ ███▄ ▄███ ▀▀ ███ ▀▀▄ ███ ███ ▄79- ███ ███ ▀███████▀ ███████ ▀███▀ 80-```81-8250 ## Built with8351 8452 hu13 is a single Rust binary with almost no dependencies, one
src/build.rs+2 −6--- a/src/build.rs+++ b/src/build.rs@@ -1953,10 +1953,6 @@ pub fn run_build(repo: &Path, out: &Path, opts: &BuildOptions) -> Result<BuildSu19531953 body.push_str("</section>\n<section class=\"code-readme\"><h2>README</h2>\n");19541954 match &readme {19551955 Some((path, blob)) => {1956- body.push_str(&format!(1957- "<p class=\"muted\">from <code>{}</code></p>\n",1958- esc(path)1959- ));19601956 if is_markdown(path) || path.to_lowercase().contains("readme") {19611957 let (base, wiki) = if let Some(rest) = path.strip_prefix(".forge/wiki/") {19621958 (rest.rsplit_once('/').map(|(d, _)| d).unwrap_or(""), true)@@ -2389,8 +2385,8 @@ mod tests {23892385 let index = std::fs::read_to_string(out.join("index.html")).expect("index");23902386 assert!(index.contains("Wiki extless"), "code tab shows wiki README");23912387 assert!(2392- index.contains("from <code>.forge/wiki/README</code>"),2393- "code tab names source"2388+ !index.contains("from <code>") && !index.contains(".forge/wiki/README</code>"),2389+ "code tab does not name the README path"23942390 );23952391 }23962392
tests/brand.rs+17 −1--- a/tests/brand.rs+++ b/tests/brand.rs@@ -143,3 +143,20 @@ fn logo_has_no_baked_background() {143143 "logo keeps its 3:1 aspect (was squeezed into 48x48)"144144 );145145 }146+147+#[test]148+fn repository_readme_has_no_ascii_logo_or_clone_duplicate() {149+ let readme = std::fs::read_to_string(150+ PathBuf::from(env!("CARGO_MANIFEST_DIR")).join(".forge/wiki/README"),151+ )152+ .unwrap();153+ assert!(154+ !readme.contains("███") && !readme.contains("▓▓"),155+ "README carries no ASCII-art logo"156+ );157+ assert!(158+ !readme.contains("## Clone it"),159+ "clone/download lives in the code header, not a duplicate section"160+ );161+ assert!(readme.contains("## Built with"), "README keeps its ending");162+}146--
Comments (0)
No comments yet.
Reviews (0)
No reviews yet.