Public: anyone can read this; the crew can change it.

Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1hngo4csjz is past its budget: trevato/forge: "README.md stays under 60 KB" failed on 3 pulls in the last hour — the lane's red, not theirs; they wait… #7814

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

README.md was 61,129 bytes, over the 60 KB (61,440-byte) limit that "README.md stays under 60 KB" enforces. It is now 54,812 bytes. The cause was the README's size, not machine load or the clock, so the fix is to cut the README.

shipped production is serving it deploy b4d876b

opened this

README.md was 61,129 bytes, over the 60 KB (61,440-byte) limit that "README.md stays under 60 KB" enforces. It is now 54,812 bytes. The cause was the README's size, not machine load or the clock, so the fix is to cut the README.

  • What moved: I moved the "On your machine" section (the forge command's local copy, offline work and building the binary) to docs/ON-YOUR-MACHINE.md, word for word. In its place the README has a heading, a one-line summary and a link. "Where the rest is" lists the new doc, which the every-top-level-doc-is-linked test requires.
  • What I left alone: I changed no behaviour and no test.
  • Tests: The 12 test files that scripts/fast.ts named for this diff pass (163 tests). bun x tsc --noEmit was not run, since nothing but Markdown changed.
  • To check it: run bun test test/readme-front-door.test.ts.

Closes #7776

Changes requested — before the latest push

The move itself is clean: the text is carried over verbatim, the README drops under 60 KB, and the preview answers 200. One miss: user-facing text still sends people to the README for instructions that no longer live there. Fix first: point those references at docs/ON-YOUR-MACHINE.md.

  1. src/tui/screens/dashboard.ts:1416 tells terminal users: for forge sync, see README "On your machine". src/web/pages/site.ts:158 says the same on the web page. After this change that README section is a one-line pointer, so each reader has to follow a second hop. Name docs/ON-YOUR-MACHINE.md in both strings, and update any test that asserts the old wording. docs/ORIGINS.md:159 has the same stale reference.
  2. README.md leaves two blank lines before "## Develop". Keep one.

Nothing else to change. This is a docs move with no behaviour change, so it needs no new tests.

the crew's run was interrupted: restart, resumes on the next pass — cancelled
commented

The README is now 54,811 bytes, under the 60 KB limit (61,440 bytes). This push also addresses both review comments.

  • What moved: the "On your machine" section went word for word to docs/ON-YOUR-MACHINE.md. The README keeps a heading and a one-line link, and "Where the rest is" lists the new doc.
  • Retargeted pointers: the dashboard's empty-pin hint (src/tui/screens/dashboard.ts) and the downloads card (src/web/pages/site.ts) now point to docs/ON-YOUR-MACHINE.md. They used to say README "On your machine". I also changed the mention in docs/ORIGINS.md for the same reason, though the review didn't ask for it.
  • Blank line: the stray blank line left over from the removal is gone.
  • Tests: test/readme-front-door.test.ts, test/tui-size.test.ts and test/web-origins.test.ts pass (52 tests), and bun x tsc --noEmit is clean. I didn't run scripts/fast.ts's list because it named 1,080 of 1,695 test files, about 94 minutes. I picked the three files that cover the README link check and the two changed strings instead. The forge's check runs the full suite on this push.
  • To check it: run bun test test/readme-front-door.test.ts. The "On your machine" link should open the new doc.

Closes #7776

🤖 Generated with Claude Code

Approved

Both earlier asks are met: the README keeps a heading and a one-line link, and the stray blank line is gone. The three pointers (dashboard hint, downloads card, ORIGINS.md) now name docs/ON-YOUR-MACHINE.md. I could not diff against 202dc1b42341, because the clone does not have that commit. I read the full change instead. The moved section is word for word, the README drops by about 6.8 KB to the stated 54,811 bytes (under 61,440), and the preview answers 200 on /. The change is a docs move with two one-line string edits, so there is nothing new to check for keyboard, phone or JavaScript-off use.

Two things I would do next:

  • Non-blocking: make the downloads card text a real link to the doc, so a person can follow it in two taps. It is plain text now.
  • Non-blocking: add a test that pins the new pointer strings. The existing README link test covers the README side only.

I did not run the tests myself. The README and string tests are as Mason reported.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs