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

README is 300 bytes from its 60 KB budget, so every README addition turns its pull red: move Develop and What works today into docs/ (target 45 KB) #6736

opened this in answer to

Merged 37d 18h ago, live in production

README.md goes from 61,146 to 36,327 bytes, well under the 45 KB target. I ran only the README tests (16 pass) before pushing. A full bun test run timed out at 120 s and moved to the background, so I didn't wait for it.

Notes

opened this

README.md goes from 61,146 to 36,327 bytes, well under the 45 KB target. I ran only the README tests (16 pass) before pushing. A full bun test run timed out at 120 s and moved to the background, so I didn't wait for it. The forge's check runs the whole suite on this push.

  • docs/DEVELOP.md: the whole ## Develop section moved here, heading included, with its text byte-identical.
  • docs/STATUS.md: the whole ## What works today section moved here the same way.
  • README stubs: both sections stay in README as a heading, a two-line summary and a link.
  • Index: ## Where the rest is lists both new files, so the existing "every docs/ link resolves" and "every top-level docs/*.md is linked" tests stay green.
  • 55 KB warning: test/readme-front-door.test.ts has a new test that calls console.warn when README reaches 55 KB. It never fails on size; its only assertion is that README is non-empty.

I split nothing further. ## What works today went to docs/STATUS.md whole, not into the topic docs.

Closes #6735

3 earlier comments
commented

README.md goes from 61,146 to 36,327 bytes, well under the 45 KB target. I ran only the README tests (16 pass) before pushing. A full bun test run timed out at 120 s and moved to the background, so I didn't wait for it. The forge's check runs the whole suite on this push.

  • docs/DEVELOP.md: the whole ## Develop section moved here, heading included, with its text byte-identical.
  • docs/STATUS.md: the whole ## What works today section moved here the same way.
  • README stubs: both sections stay in README as a heading, a two-line summary and a link.
  • Index: ## Where the rest is lists both new files, so the existing "every docs/ link resolves" and "every top-level docs/*.md is linked" tests stay green.
  • 55 KB warning: test/readme-front-door.test.ts has a new test that calls console.warn when README reaches 55 KB. It never fails on size; its only assertion is that README is non-empty.

I split nothing further. ## What works today went to docs/STATUS.md whole, not into the topic docs.

commented

README.md goes from 61,146 to 36,327 bytes, under the 45 KB target. The README tests pass (15). I did not run the full suite.

  • Move: ## Develop is now docs/DEVELOP.md and ## What works today is now docs/STATUS.md. The text moved unchanged.
  • README stubs: each section keeps a two-line summary and a link, and ## Where the rest is lists both files.
  • Review fix, test removed: I deleted the 55 KB warning test, as @juniper asked, because it asserted nothing and could never fail. The existing 60 KB test stays as the only budget. If an early warning is wanted later, it should be a test that fails at 55 KB.
  • Review fix, blank lines: I removed the trailing blank line from both new docs.
  • Not done: I left the stale "Not yet" paragraph in docs/STATUS.md for a follow-up, as the review said.

To try it, run bun test test/readme.

commented

On top of the steward's aea248a, README is now 36,264 bytes, under the 45 KB target. The README tests pass (15); I did not run the full suite.

  • Moved: ## What works today (125 lines) is now docs/STATUS.md, and the text is unchanged. README keeps a heading, a two-line summary and a link, and ## Where the rest is lists the new file.
  • Develop: I left the steward's docs/DEVELOP.md as it was.
  • Branch history: the branch now has the steward's aea248a as its base. Force pushes are refused, so I added a merge commit on top of my earlier commits. That commit changes no files.
  • 55 KB warning left out: @juniper's review on this pull rejected a warning test that can never fail, and the issue asked for a warning rather than a failure. The two don't fit together. If you still want an early signal, the honest version is a test that fails at 55 KB; say so and I'll add it.
  • Not done: the stale "Not yet" paragraph in docs/STATUS.md still needs a follow-up pull.
commented

This message is an automated triage note, and it asks for no code change. The work is already on the branch (a0a7cfef), and I changed nothing and pushed nothing this turn.

The note says the issue waits behind the Later gate because it names no pillar. I can't name one here: that is a person's decision, and the work doesn't depend on it. Which pillar fits is a call for someone with the plan in view. The README budget problem touches the repository's own docs and tests rather than any single feature, so I'd lean toward whichever pillar covers the forge's own upkeep. I'm not going to guess, and I won't edit the issue.

What's on the branch, for the pull description:

  • Move: ## What works today is now docs/STATUS.md, with the text unchanged. README keeps a two-line stub, a link, and a line in ## Where the rest is.
  • README size: 36,264 bytes, down from 48,621 after the steward's docs/DEVELOP.md move, and under the 45 KB target. The README tests pass (15). I did not run the full suite.
  • Left out: the 55 KB warning test. @juniper's review rejected a warning that can never fail, and the issue asks for a warning rather than a failure. If you want an early signal, the honest version is a test that fails at 55 KB. Say so and I'll add it.
  • Still to do: the stale "Not yet" paragraph in docs/STATUS.md needs a follow-up pull.
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs