docs: problem-first README, declared observability gap, docs analytics #16

Merged
chrnx merged 5 commits from docs/observability-scope-and-analytics into develop 2026-08-07 19:27:50 +00:00
Owner

Documentation and one build-config line. No source changes, so no version bump.

README

  • Opens with the problem. It led with identity and an install block; the pain that motivates the graph only showed up after a scroll. req.user first, then the idea, then the install.
  • Install pins @beta. latest and beta both point at 26.8.0-beta.0 until a stable ships. The versioning section claimed a plain install would not pick up a beta, which was not true — corrected, with the reason.
  • RequestLimits is documented. Body caps, multipart parts and the request / headers / keep-alive timeouts were already applied with defaults tighter than Node's two minutes. Nothing said so. It is a production argument we had already built and were giving away.
  • Honest scope admits there is no observability layer. No logger, no metrics, no tracing hooks. Points at #10, which tracks it as a single design rather than six issues. This is the gap a team hits in week one of a real evaluation, and it is better coming from us.

Docs site

GoatCounter through Starlight's head option, same site code as the marketing site, so /docs traffic and referrer paths land in one dashboard. No cookies, no personal data, no consent banner, nothing to host.

It answers a question we cannot answer today: do the articles convert into documentation reads?

Checks

npm run docs:build passes locally (23 pages) and the beacon is present in the built HTML. Pre-commit lint and complexity gate passed.

Documentation and one build-config line. No source changes, so no version bump. ### README - **Opens with the problem.** It led with identity and an install block; the pain that motivates the graph only showed up after a scroll. `req.user` first, then the idea, then the install. - **Install pins `@beta`.** `latest` and `beta` both point at `26.8.0-beta.0` until a stable ships. The versioning section claimed a plain install would not pick up a beta, which was not true — corrected, with the reason. - **`RequestLimits` is documented.** Body caps, multipart parts and the request / headers / keep-alive timeouts were already applied with defaults tighter than Node's two minutes. Nothing said so. It is a production argument we had already built and were giving away. - **Honest scope admits there is no observability layer.** No logger, no metrics, no tracing hooks. Points at #10, which tracks it as a single design rather than six issues. This is the gap a team hits in week one of a real evaluation, and it is better coming from us. ### Docs site GoatCounter through Starlight's `head` option, same site code as the marketing site, so `/docs` traffic and referrer paths land in one dashboard. No cookies, no personal data, no consent banner, nothing to host. It answers a question we cannot answer today: **do the articles convert into documentation reads?** ### Checks `npm run docs:build` passes locally (23 pages) and the beacon is present in the built HTML. Pre-commit lint and complexity gate passed.
chrnx added 3 commits 2026-08-07 19:04:00 +00:00
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
The README opened with identity and an install block; the pain that motivates
the graph only appeared after a scroll. Move it up: `req.user` first, then the
idea, then how to install it.

Three fixes while in here:

- The install line now pins `@beta`. `latest` and `beta` both point at the
  newest beta until a stable ships, and the versioning note said the opposite.
- Document `RequestLimits`. Body caps, multipart parts and the request /
  headers / keep-alive timeouts were already applied with defaults tighter
  than Node's, and nothing in the README said so.
- Honest scope now admits there is no observability layer — no logger, no
  metrics, no tracing hooks — and points at the issue tracking it as one
  design. It is the gap a team hits in week one of a real evaluation.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
GoatCounter via Starlight's `head` option, same site code as the marketing
site so /docs traffic lands in one dashboard and referrer paths stay
comparable. No cookies, no personal data, no consent banner, nothing to host.

Answers the one question we cannot answer today: do the articles convert into
documentation reads?

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
chrnx added 1 commit 2026-08-07 19:13:58 +00:00
CHANGELOG.md ships inside the npm package, and its link references pointed at
the internal Gitea host — unreachable for anyone reading the changelog on
npmjs. Point them at the GitHub mirror, and compare Unreleased against `main`,
since `develop` is not mirrored.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
chrnx added 1 commit 2026-08-07 19:27:40 +00:00
chrnx merged commit 08d92f5de7 into develop 2026-08-07 19:27:50 +00:00
Sign in to join this conversation.